/* ==========================================================================
   Ceren Kitap — eski bir kitap
   1. Yazı tipleri ve renkler      6. Bölümlerin içeriği
   2. Temel                        7. Kitap modu (JS): çift sayfa, yaprak, ayraçlar
   3. Masa, fiş, ayar              8. Mobil
   4. Düz görünüm (JS'siz)         9. Açılış (intro)
   5. Yazı dili (akış)            10. Hareket azaltma
   ========================================================================== */

/* 1. Yazı tipleri ---------------------------------------------------------- */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-wght-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/eb-garamond-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/eb-garamond-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("../fonts/eb-garamond-latin-ext-wght-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("../fonts/eb-garamond-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--kagit-1: #f3e7c9;
	--kagit-2: #e8d8b0;
	--kagit-kenar: #c9b07a;
	--murekkep: #2b2118;
	--murekkep-soluk: #5b4836;
	--bordo: #6b1f1f;
	--edirne: #9e2a2b;
	--altin: #b08d3c;
	--altin-acik: #dcc07a;
	--deri: #4a1616;
	--masa: #24170f;

	--baslik-yazi: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
	--govde-yazi: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;

	--sutun-bosluk: 48px;
	--ust-bosluk: 0px;
	--ust-h: 64px;

	--doku-kagit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .40 0 0 0 0 .30 0 0 0 0 .16 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23f)' opacity='.2'/%3E%3C/svg%3E");
	--doku-lif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='l'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .3' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .2 0 0 0 .9 -.25'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23l)' opacity='.14'/%3E%3C/svg%3E");
	--doku-ahsap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0025 .07' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .025 0 0 0 0 .01 0 0 0 1.4 -.35'/%3E%3C/filter%3E%3Crect width='900' height='900' filter='url(%23w)'/%3E%3C/svg%3E");
	--doku-deri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23d)' opacity='.38'/%3E%3C/svg%3E");
	--doku-ebru: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='560' viewBox='0 0 400 560' preserveAspectRatio='none'%3E%3Cfilter id='e' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .018' numOctaves='3' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='140'/%3E%3C/filter%3E%3Cg filter='url(%23e)'%3E%3Crect x='-60' y='-60' width='520' height='680' fill='%23e9dcbf'/%3E%3Cpath d='M-60 20h520v46h-520zM-60 170h520v54h-520zM-60 320h520v44h-520zM-60 460h520v60h-520z' fill='%232f4260'/%3E%3Cpath d='M-60 96h520v34h-520zM-60 250h520v32h-520zM-60 390h520v30h-520zM-60 540h520v40h-520z' fill='%239e2a2b'/%3E%3Cpath d='M-60 140h520v12h-520zM-60 296h520v12h-520zM-60 430h520v12h-520z' fill='%23b08d3c'/%3E%3C/g%3E%3C/svg%3E");
}

/* 2. Temel ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	min-height: 100vh;
	color: var(--murekkep);
	font-family: var(--govde-yazi);
	font-size: 1.0625rem;
	line-height: 1.6;
	background-color: var(--masa);
	background-image:
		radial-gradient(ellipse at 50% 40%, rgba(255, 210, 150, .08), transparent 60%),
		var(--doku-ahsap),
		repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px 260px),
		linear-gradient(180deg, #3a2618, #24170f 60%, #1a100a);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a {
	color: var(--bordo);
	text-decoration: underline;
	text-decoration-color: rgba(107, 31, 31, .45);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}
a:hover { color: var(--edirne); text-decoration-color: currentColor; text-decoration-thickness: 1.5px; }

:focus-visible { outline: 2px solid var(--altin); outline-offset: 3px; border-radius: 2px; }
.akis :focus-visible, .sayfa :focus-visible { outline-color: var(--bordo); }

.gorunmez, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.atla {
	position: absolute; left: -9999px; top: 8px; z-index: 2000;
	background: var(--kagit-1); color: var(--murekkep); padding: 8px 14px; border-radius: 4px;
}
.atla:focus { left: 8px; }

.ikon { flex: none; }

/* 3. Masa: üst şerit, katalog fişi, ayar köşesi ---------------------------- */

.ust {
	display: flex; align-items: center; justify-content: center; gap: 18px;
	min-height: var(--ust-h);
	padding: 10px 20px;
	position: relative; z-index: 40;
}
.ust-ad {
	position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
	font: italic 600 1.15rem/1 var(--baslik-yazi);
	color: var(--altin-acik); text-decoration: none; letter-spacing: .02em;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
}
.ust-ad:hover { color: #f0d995; }

/* Katalog fişi: eski kütüphane kartı */
.fis {
	position: relative;
	display: flex; align-items: center; gap: 8px;
	width: min(440px, 100%);
	padding: 7px 10px 9px 12px;
	background:
		linear-gradient(transparent 0 27px, rgba(158, 42, 43, .55) 27px 28px, transparent 28px),
		repeating-linear-gradient(transparent 0 11px, rgba(70, 100, 140, .16) 11px 12px),
		#fbf4df;
	border-radius: 3px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 6px 14px -6px rgba(0, 0, 0, .7), 0 1px 2px rgba(0, 0, 0, .5);
	transform: rotate(-.6deg);
}
.fis::after { /* kart deliği */
	content: ""; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 12px; margin-left: -6px;
	border-radius: 50%; background: var(--masa); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8);
}
.fis-etiket { display: flex; align-items: center; gap: 5px; font: 600 .78rem/1 var(--baslik-yazi); letter-spacing: .14em; text-transform: uppercase; color: var(--edirne); white-space: nowrap; }
.fis-girdi {
	flex: 1; min-width: 0; border: 0; background: transparent;
	font: italic 1.05rem/1.2 var(--govde-yazi); color: var(--murekkep); padding: 4px 2px;
}
.fis-girdi::placeholder { color: #8a7660; }
.fis-girdi:focus { outline: none; }
.fis:focus-within { box-shadow: 0 0 0 2px var(--altin), 0 6px 14px -6px rgba(0, 0, 0, .7); }
.fis-dugme {
	border: 1px solid rgba(107, 31, 31, .6); background: transparent; color: var(--bordo);
	font: 600 .78rem/1 var(--baslik-yazi); letter-spacing: .12em; text-transform: uppercase;
	padding: 6px 9px; border-radius: 2px; cursor: pointer;
}
.js-kitap .fis-dugme { display: none; }
.fis-sonuclar {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0;
	list-style: none; margin: 0; padding: 4px 0;
	transform: rotate(.6deg);
	max-height: min(60vh, 460px); overflow-y: auto;
}
.fis-sonuclar li + li { margin-top: -2px; }
.fis-sonuc {
	display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center;
	padding: 7px 12px; text-decoration: none; color: var(--murekkep);
	background: repeating-linear-gradient(transparent 0 15px, rgba(70, 100, 140, .12) 15px 16px), #fbf4df;
	border-radius: 2px; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .6);
}
.fis-sonuc img, .fis-sonuc .fis-kapak-yok { width: 34px; height: 48px; object-fit: cover; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); background: var(--deri); }
.fis-sonuc strong { display: block; font: 600 1.05rem/1.15 var(--baslik-yazi); }
.fis-sonuc span { font-style: italic; font-size: .9rem; color: var(--murekkep-soluk); }
.fis-sonuc:hover, .fis-sonuc[aria-selected="true"] { background-color: #fff8e4; outline: 2px solid var(--altin); outline-offset: -2px; }
.fis-yok { padding: 10px 14px; background: #fbf4df; font-style: italic; color: var(--murekkep-soluk); border-radius: 2px; }

.bolum-araclari-yuvasi:empty { display: none; }

/* Ayar köşesi */
.ayar-kosesi { position: fixed; left: 16px; bottom: 16px; z-index: 60; }
.ayar-dugme {
	width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
	border: 1px solid rgba(220, 192, 122, .5); background: rgba(36, 23, 15, .85); color: var(--altin-acik);
}
.ayar-dugme:hover { color: #f3dc9a; border-color: var(--altin-acik); }
.ayar-paneli {
	position: absolute; left: 0; bottom: 50px; width: 250px; padding: 12px 14px;
	background: var(--kagit-1) var(--doku-kagit); border-radius: 3px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8);
	font-size: .98rem;
}
.ayar-satiri { display: flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 600; }
.ayar-satiri input { width: 18px; height: 18px; accent-color: var(--bordo); }
.ayar-not { margin: 6px 0 0; font-size: .88rem; color: var(--murekkep-soluk); font-style: italic; }

/* Büyüteç (sertifika / fotoğraf) */
.buyutec {
	position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 4vmin;
	background: rgba(20, 12, 7, .88); cursor: zoom-out;
}
.buyutec[hidden] { display: none; }
.buyutec img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .7); background: #fbf6e9; padding: 10px; }
.buyutec-kapat {
	position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--altin-acik); background: transparent; color: var(--altin-acik); font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* 4. Düz görünüm: JavaScript kapalıyken ya da kitap betiği açılamazsa --------- */

.kitap-alani { padding: 8px 16px 48px; }
.kitap {
	position: relative;
	display: flex; flex-direction: column;
	max-width: 860px; margin: 0 auto;
	background: var(--kagit-1);
	background-image: var(--doku-lif), var(--doku-kagit), linear-gradient(180deg, var(--kagit-1), var(--kagit-2));
	box-shadow: 0 0 0 10px var(--deri), 0 0 0 11px rgba(0, 0, 0, .4), 0 30px 60px -20px rgba(0, 0, 0, .9);
	border-radius: 2px;
}
.kitap-govde { padding: clamp(24px, 6vw, 64px) clamp(18px, 6vw, 72px); }
.kurdele { display: none; }
.alt-serit { display: none; }

.ayraclar { order: -1; padding: 14px clamp(18px, 6vw, 72px) 0; }
.ayraclar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ayrac {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 12px 5px 10px; border-radius: 3px 3px 0 0;
	background: var(--ayrac-renk, var(--bordo)); color: #f6ecd2; text-decoration: none;
	font: 600 1rem/1.2 var(--baslik-yazi); letter-spacing: .02em;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.ayrac:hover { color: #fff; filter: brightness(1.12); }
.ayrac--etkin { box-shadow: inset 0 -3px 0 var(--altin-acik); }
.ayrac .ayrac-kisa { display: none; }

.bolum-araclari { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 26px; }

.js-kitap-bekle:not(.js-kitap) .kitap-alani { visibility: hidden; }
html:not(.js-kitap) .ayar-kosesi { display: none; }

/* 5. Yazı dili: akış ---------------------------------------------------------- */

.akis { font-size: 1.08rem; line-height: 1.58; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; orphans: 2; widows: 2; }
.akis h1, .akis h2, .akis h3 { font-family: var(--baslik-yazi); font-weight: 600; line-height: 1.1; color: var(--murekkep); break-after: avoid; }

.metin p { margin: 0 0 .6em; text-align: justify; text-indent: 1.5em; }
.metin > p:first-child, .metin h2 + p, .metin h3 + p, .metin figure + p, .metin .wp-block-table + p { text-indent: 0; }
.metin-p { text-align: justify; margin: 0 0 .8em; }
.metin strong { font-weight: 650; }
.metin figure { margin: 1em 0; break-inside: avoid; }
.metin figcaption { font-style: italic; font-size: .92rem; color: var(--murekkep-soluk); text-align: center; margin-top: .4em; }
.metin table { border-collapse: collapse; margin: .6em 0; }
.metin td, .metin th { padding: 2px 0; font-style: italic; }
.metin blockquote { margin: 1em 0; padding-left: 1em; border-left: 2px solid var(--altin); font-style: italic; }
.metin ul, .metin ol { padding-left: 1.3em; }
.yazilmadi { font-style: italic; color: var(--murekkep-soluk); text-align: center; text-indent: 0 !important; margin-top: 2em; }

/* Süslü baş harf */
.ilk-harfli > p:first-of-type::first-letter {
	float: left;
	font: 600 4.3em/.78 var(--baslik-yazi);
	color: var(--bordo);
	padding: .08em .1em 0 0;
	text-shadow: 1px 1px 0 rgba(176, 141, 60, .45);
}
.ilk-harfli > p:first-of-type { text-indent: 0; }

/* Bölüm başı */
.bolum-basi { text-align: center; margin: .4em 0 1.4em; break-inside: avoid; }
.bolum-ust { margin: 0 0 .4em; font: italic 500 1rem/1.2 var(--baslik-yazi); letter-spacing: .14em; text-transform: uppercase; color: var(--edirne); text-indent: 0; }
.bolum-baslik { margin: 0; font-size: clamp(2rem, 3.6vw, 2.7rem); letter-spacing: .01em; }
.bolum-alt { margin: .5em 0 0; font-style: italic; color: var(--murekkep-soluk); }
.sus-cizgisi { display: block; width: 180px; height: 14px; margin: .6em auto 0; color: var(--altin); }
.ara-baslik { font-size: 1.55rem; text-align: center; margin: 0 0 .8em; }
.ara-baslik::after { content: "❦"; display: block; font-size: .8rem; color: var(--altin); margin-top: .2em; }
.devam { text-align: right; font-style: italic; margin: .8em 0 0; }

/* Damga düğmeleri (filtre) */
.damga {
	display: inline-block; padding: .22em .75em .26em;
	border: 1.5px solid currentColor; border-radius: 3px;
	color: var(--bordo); text-decoration: none; background: rgba(107, 31, 31, .04);
	font: 600 .9rem/1.2 var(--baslik-yazi); letter-spacing: .08em; text-transform: uppercase;
	box-shadow: inset 0 0 0 2px rgba(243, 231, 201, .9), inset 0 0 0 3px rgba(107, 31, 31, .35);
	transform: rotate(-1deg);
}
.damga:nth-child(even) { transform: rotate(.8deg); }
.damga:hover { background: rgba(107, 31, 31, .1); color: var(--edirne); }
.damga--etkin { background: var(--bordo); color: var(--kagit-1); box-shadow: inset 0 0 0 2px var(--bordo), inset 0 0 0 3px rgba(243, 231, 201, .5); }
.tur-filtresi { display: flex; flex-wrap: wrap; gap: 8px; }
.siralama { display: inline-flex; align-items: center; gap: 8px; font: italic 1rem var(--govde-yazi); color: var(--kagit-1); }
.akis .siralama, .no-js .siralama { color: var(--murekkep); }
.no-js .siralama { display: none; }
.siralama select {
	font: 1rem var(--govde-yazi); color: var(--murekkep);
	background: #fbf4df; border: 1px solid var(--kagit-kenar); border-radius: 2px; padding: 3px 6px;
}

/* 6. Bölümlerin içeriği -------------------------------------------------------- */

/* Kapak görselleri: kendi renkleriyle, kâğıda yapıştırılmış gibi */
.kapak-gorsel {
	display: block; max-width: 100%; height: auto;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .25), 2px 4px 10px -2px rgba(40, 25, 10, .55);
	border-radius: 1px 3px 3px 1px;
}
.kapak-yok {
	display: flex; flex-direction: column; justify-content: space-between;
	aspect-ratio: 2 / 3; width: 100%; padding: 12% 10%;
	background: var(--doku-deri), linear-gradient(90deg, rgba(0, 0, 0, .3) 0 5%, transparent 5%), var(--deri);
	color: var(--altin-acik); text-align: center;
}
.kapak-yok-ad { font: 600 1.1em/1.1 var(--baslik-yazi); }
.kapak-yok-yazar { font-size: .75em; font-style: italic; }

/* Katalog kartı */
.katalog-listesi { display: block; }
.kart {
	display: grid; grid-template-columns: 32% 1fr; gap: 14px; align-items: center;
	margin: 0 0 18px; break-inside: avoid;
}
.kart[hidden] { display: none; }
.kart-kapak { display: flex; justify-content: center; align-items: center; height: 100%; min-height: 0; }
.kart-kapak .kapak-gorsel { max-height: 190px; width: auto; transform: rotate(-.8deg); }
.kart:nth-child(even) .kart-kapak .kapak-gorsel { transform: rotate(.7deg); }
.kart-kapak .kapak-yok { max-width: 120px; font-size: .8rem; }
.kart-ad { margin: 0; font-size: 1.32rem; line-height: 1.1; }
.kart-ad a { color: var(--murekkep); text-decoration: none; }
.kart-ad a:hover { color: var(--edirne); text-decoration: underline; text-decoration-color: rgba(158, 42, 43, .5); }
.kart-yazar { margin: .15em 0 0; font-style: italic; color: var(--murekkep-soluk); font-size: .98rem; }
.kart-alinti {
	margin: .35em 0 0; font-size: .92rem; line-height: 1.4; color: var(--murekkep-soluk); font-style: italic;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.kart-alinti::before { content: "“"; }
.kart-alinti::after { content: "”"; }
.katalog-bos { text-align: center; font-style: italic; color: var(--murekkep-soluk); }
.katalog-giris { margin-bottom: 1em; }

/* Önsöz vitrini */
.vitrin-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.kart--kucuk { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin: 0; }
.kart--kucuk .kart-kapak { height: auto; }
.kart--kucuk .kart-kapak .kapak-gorsel { max-height: 170px; }
.kart--kucuk .kart-ad { font-size: 1.12rem; }
.kart--kucuk .kart-yazar { font-size: .9rem; }

/* Fotoğraflar: sayfaya iliştirilmiş, köşe bantlı */
.fotograf, .akis--metin .metin figure.wp-block-image, .album figure.wp-block-image {
	position: relative; margin: 1.1em auto; padding: 8px 8px 10px; width: fit-content; max-width: 92%;
	background: #fbf6ea; box-shadow: 0 1px 2px rgba(0, 0, 0, .25), 3px 6px 14px -6px rgba(40, 25, 10, .6);
	transform: rotate(-1.2deg);
}
.fotograf img, .akis--metin .metin figure.wp-block-image img, .album figure.wp-block-image img { display: block; }
.fotograf::before, .fotograf::after,
.akis--metin .metin figure.wp-block-image::before, .akis--metin .metin figure.wp-block-image::after,
.album figure.wp-block-image::before, .album figure.wp-block-image::after {
	content: ""; position: absolute; top: 0; width: 54px; height: 18px;
	background: rgba(232, 216, 176, .78); box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}
.fotograf::before, .akis--metin .metin figure.wp-block-image::before, .album figure.wp-block-image::before { left: -8px; transform: rotate(-32deg); transform-origin: 50% 0; }
.fotograf::after, .akis--metin .metin figure.wp-block-image::after, .album figure.wp-block-image::after { right: -8px; transform: rotate(30deg); transform-origin: 50% 0; }
.akis--metin .metin figure.wp-block-image img { filter: sepia(.55) contrast(.95) brightness(.98); }
.akis--metin .metin figure.wp-block-image:nth-of-type(even), .album figure.wp-block-image:nth-of-type(even) { transform: rotate(1.4deg); }
.akis--metin .metin figure figcaption, .album figure figcaption { font-style: italic; }

/* Albüm: WordPress galeri düzenini kâğıt albüme çevir */
.album .wp-block-gallery { display: block !important; margin: 0; }
.album .wp-block-gallery figure.wp-block-image { width: fit-content !important; max-width: 92% !important; margin: 1.2em auto !important; flex: none !important; }
.album .wp-block-gallery.is-cropped figure.wp-block-image img { height: auto !important; object-fit: contain !important; width: auto !important; max-width: 100%; }
.album p { text-indent: 0; }
[data-buyutulebilir] img { cursor: zoom-in; }

/* Belgeler (sertifikalar) */
.belgeler figure.wp-block-image, .belgeler .wp-block-gallery figure {
	position: relative; margin: 1.2em auto; padding: 12px; width: fit-content; max-width: 94%;
	background: #fdf9ee;
	border: 1px solid #cdb98c;
	box-shadow: inset 0 0 0 4px #fdf9ee, inset 0 0 0 5px rgba(176, 141, 60, .55), 0 2px 3px rgba(0, 0, 0, .2), 4px 8px 16px -8px rgba(40, 25, 10, .6);
	transform: rotate(-.7deg);
}
.belgeler figure:nth-of-type(even) { transform: rotate(.6deg); }
.belgeler figure img { display: block; }
.belgeler .wp-block-gallery { display: block !important; }
.belgeler .wp-block-gallery figure { width: fit-content !important; }
.belgeler .wp-block-gallery.is-cropped figure img { height: auto !important; width: auto !important; object-fit: contain !important; }

/* Künye */
.kunye { margin: 1.2em 0 0; width: 100%; font-size: .98rem; }
.kunye-satir { display: flex; gap: 10px; justify-content: space-between; padding: 5px 0; border-bottom: 1px dotted rgba(91, 72, 54, .45); }
.kunye dt { font-variant: small-caps; letter-spacing: .06em; color: var(--murekkep-soluk); }
.kunye dd { margin: 0; text-align: right; font-weight: 600; }
.kunye--kafe { margin-bottom: 1em; }

/* Kitap sayfası */
.kitap-sol { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 1.6em; }
.kitap-kapak { margin: 0; display: flex; justify-content: center; }
.kapak-gorsel--buyuk { max-height: 460px; width: auto; }
.kitap-kapak .kapak-yok { width: 240px; font-size: 1.2rem; }
.kitap-basi { text-align: center; margin-bottom: 1.2em; break-inside: avoid; }
.kitap-ad { font-size: clamp(2rem, 3.4vw, 2.6rem); margin: .1em 0 .1em; }
.kitap-yazar { margin: 0; font: italic 500 1.35rem var(--baslik-yazi); color: var(--murekkep-soluk); }
.kitap-alinti { position: relative; margin: .4em 0 1.2em; padding: .2em .4em 0 2.2em; break-inside: avoid; }
.kitap-alinti::before { content: "“"; position: absolute; left: -.05em; top: -.18em; font: 700 4.4rem/1 var(--baslik-yazi); color: var(--edirne); opacity: .8; }
.kitap-alinti p { margin: 0; font: italic 1.18rem/1.45 var(--govde-yazi); text-align: left; text-indent: 0; }
.tanitim > p:first-child { text-indent: 0; }
.kitap-gezinti { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; margin: 1.6em 0 .6em; padding-top: .8em; border-top: 1px solid rgba(176, 141, 60, .5); font-size: .95rem; break-inside: avoid; }
.kitap-gezinti a { text-decoration: none; }
.kitap-gezinti span { display: block; font-variant: small-caps; letter-spacing: .05em; }
.kitap-gezinti em { display: block; color: var(--murekkep); font-size: .92rem; }
.kg-katalog { grid-column: 2; text-align: center; text-decoration: underline !important; }
.kg-onceki { grid-column: 1; }
.kg-sonraki { grid-column: 3; text-align: right; }
.kitap-not { font-style: italic; font-size: .95rem; color: var(--murekkep-soluk); text-align: center; break-inside: avoid; }

/* İçindekiler ve dizin satırları */
.icindekiler, .icindekiler ol, .dizin { list-style: none; margin: 0; padding: 0; }
.icindekiler a, .dizin--kitap a { display: flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--murekkep); padding: 2px 0; }
.icindekiler .satir > a { font: 600 1.3rem/1.35 var(--baslik-yazi); }
.icindekiler .satir--kitap > a { font: italic 1rem/1.35 var(--govde-yazi); padding-left: 1.4em; }
.satir-ad { flex: 0 1 auto; }
.satir-nokta { flex: 1 1 auto; min-width: 1em; border-bottom: 2px dotted rgba(91, 72, 54, .55); transform: translateY(-.28em); }
.satir-no { flex: none; font-variant-numeric: oldstyle-nums; }
.icindekiler a:hover .satir-ad, .dizin a:hover .satir-ad { color: var(--edirne); text-decoration: underline; }
.dizin li { break-inside: avoid; margin-bottom: .3em; }
.dizin-ad { display: block; font: 600 1.12rem/1.2 var(--baslik-yazi); }
.dizin-kitaplar { display: block; padding-left: 1em; font-style: italic; font-size: .95rem; }
.dizin-harf { margin: .7em 0 .2em; font-size: 1.5rem; color: var(--edirne); break-after: avoid; }
.dizin-bolumu { margin-bottom: 1.2em; }
.kolofon { text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .3em; padding: 2em 1em; }
.kolofon p { margin: 0; text-indent: 0; }
.kolofon-ad { font: 600 1.5rem var(--baslik-yazi); margin-top: .6em !important; }
.kolofon-not { font-style: italic; color: var(--murekkep-soluk); max-width: 24em; margin: .8em 0 !important; }

/* Liste sayfaları (arşiv, arama) */
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 1em; font-family: var(--baslik-yazi); font-size: 1.15rem; }
.pagination .current { color: var(--edirne); font-weight: 700; }

/* 7. Kitap modu (JavaScript açık) --------------------------------------------- */

.js-kitap, .js-kitap body { height: 100%; overflow: hidden; }
.js-kitap body { overscroll-behavior: none; }
.admin-bar { --ust-bosluk: 32px; }
.js-kitap .masa { position: fixed; inset: var(--ust-bosluk) 0 0 0; display: flex; flex-direction: column; }
.js-kitap .ust { flex: none; }
.js-kitap .kitap-alani { flex: 1; min-height: 0; display: grid; place-items: center; padding: 0 0 22px; }

:root {
	--sayfa-h: min(calc(100dvh - var(--ust-bosluk) - var(--ust-h) - 44px), 920px, calc((100vw - 220px) / 1.42));
}
.js-kitap .kitap {
	display: block;
	width: calc(var(--sayfa-h) * 1.42);
	height: var(--sayfa-h);
	max-width: none; margin: 0;
	padding: 14px 16px;
	border-radius: 6px;
	background: var(--doku-deri), radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .08), transparent 60%), var(--deri);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 0 18px rgba(0, 0, 0, .55), 0 2px 0 #1a0b0b, 0 34px 60px -24px rgba(0, 0, 0, .95), 0 10px 22px -8px rgba(0, 0, 0, .7);
}
.js-kitap .kitap-govde { position: relative; height: 100%; padding: 0; }
.js-kitap .kitap-govde > #kitap-sayfasi { display: none; }

/* sayfa yığınları: ilerledikçe sol kalınlaşır, sağ incelir */
.js-kitap .kitap-govde::before, .js-kitap .kitap-govde::after {
	content: ""; position: absolute; top: 3px; bottom: 3px; z-index: 0;
	background: repeating-linear-gradient(90deg, #efe2bf 0 1px, #c9b37f 1px 2px);
	box-shadow: 0 0 2px rgba(0, 0, 0, .4);
	transition: width .4s ease, left .4s ease, right .4s ease;
}
.js-kitap .kitap-govde::before { left: calc(-1 * var(--sol-yigin, 4px)); width: var(--sol-yigin, 4px); border-radius: 3px 0 0 3px; }
.js-kitap .kitap-govde::after { right: calc(-1 * var(--sag-yigin, 12px)); width: var(--sag-yigin, 12px); border-radius: 0 3px 3px 0; }

.sahne { position: absolute; inset: 0; perspective: 2600px; perspective-origin: 50% 45%; z-index: 1; }
.slot { position: absolute; top: 0; bottom: 0; width: 50%; }
.slot--sol { left: 0; }
.slot--sag { left: 50%; }
.yaprak-katmani { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; z-index: 5; }
.golge-katmani { position: absolute; inset: 0; pointer-events: none; z-index: 4; opacity: 0; background: linear-gradient(90deg, transparent 30%, rgba(30, 18, 8, .5) 50%, transparent 70%); }

/* Sayfa */
.sayfa {
	position: absolute; inset: 0; overflow: hidden;
	color: var(--murekkep);
	background-color: var(--kagit-1);
	background-image:
		radial-gradient(ellipse at 50% 50%, transparent 62%, rgba(150, 110, 50, .16) 100%),
		var(--doku-lif), var(--doku-kagit),
		linear-gradient(175deg, var(--kagit-1), var(--kagit-2));
}
.sayfa--sol { border-radius: 3px 0 0 3px; }
.sayfa--sag { border-radius: 0 3px 3px 0; }
.sayfa--sol::after, .sayfa--sag::after { content: ""; position: absolute; top: 0; bottom: 0; width: 13%; pointer-events: none; z-index: 2; }
.sayfa--sol::after { right: 0; background: linear-gradient(90deg, transparent, rgba(60, 40, 15, .07) 55%, rgba(40, 25, 10, .28)); }
.sayfa--sag::after { left: 0; background: linear-gradient(270deg, transparent, rgba(60, 40, 15, .07) 55%, rgba(40, 25, 10, .3)); }

.sayfa-icerik { position: absolute; overflow: hidden; top: 3.3rem; bottom: 3rem; }
.sayfa--sol .sayfa-icerik { left: 2.7rem; right: 3.1rem; }
.sayfa--sag .sayfa-icerik { left: 3.1rem; right: 2.7rem; }
.sayfa--tek .sayfa-icerik { left: 1.15rem; right: 1.15rem; top: 2.6rem; bottom: 2.5rem; }
.sayfa-icerik > .akis { position: absolute; top: 0; left: 0; }

.sayfa-ust, .sayfa-alt { position: absolute; left: 0; right: 0; text-align: center; color: var(--murekkep-soluk); z-index: 1; }
.sayfa-ust { top: 1.25rem; font: italic 500 .95rem/1 var(--baslik-yazi); letter-spacing: .06em; padding: 0 3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sayfa-alt { bottom: 1.05rem; font: 500 .95rem/1 var(--govde-yazi); font-variant-numeric: oldstyle-nums; }
.sayfa-alt::before, .sayfa-alt::after { content: "—"; margin: 0 .5em; color: var(--altin); }
.sayfa--bos .sayfa-alt, .sayfa--bas .sayfa-ust { visibility: hidden; }

/* Köşe kıvrımı: tıklayınca / sürükleyince sonraki-önceki sayfa */
.kose {
	position: absolute; bottom: 0; width: 64px; height: 64px; z-index: 3;
	border: 0; padding: 0; background: transparent; cursor: pointer;
}
.kose--ileri { right: 0; }
.kose--geri { left: 0; }
.kose::before {
	content: ""; position: absolute; bottom: 0; width: 0; height: 0;
	transition: width .18s ease, height .18s ease;
	box-shadow: -3px -3px 6px rgba(40, 25, 10, .25);
}
.kose--ileri::before { right: 0; background: linear-gradient(315deg, var(--masa) 0 50%, #dccb9e 50%, #f6ecd2 100%); border-top-left-radius: 2px; }
.kose--geri::before { left: 0; background: linear-gradient(45deg, var(--masa) 0 50%, #dccb9e 50%, #f6ecd2 100%); box-shadow: 3px -3px 6px rgba(40, 25, 10, .25); border-top-right-radius: 2px; }
.kose:hover::before, .kose:focus-visible::before { width: 34px; height: 34px; }

/* Akış = sütunlara bölünmüş kitap metni */
.js-kitap .akis {
	width: var(--icerik-w); height: var(--icerik-h);
	column-width: var(--icerik-w); column-gap: var(--sutun-bosluk); column-fill: auto;
}
.js-kitap .sutun-sonu { break-after: column; }
.js-kitap .sutun-basi { break-before: column; }
.js-kitap .akis img { max-height: calc(var(--icerik-h) * .8); width: auto; }
.js-kitap .kitap-sol { height: var(--icerik-h); overflow: hidden; margin: 0; }
.js-kitap .kapak-gorsel--buyuk { max-height: calc(var(--icerik-h) * .7); }
.js-kitap .kolofon { height: var(--icerik-h); }
.js-kitap .vitrin, .js-kitap .kafe-bakis { padding-top: .2em; }
.js-kitap .kart--kucuk .kart-kapak .kapak-gorsel { max-height: calc(var(--icerik-h) * .25); }
.js-kitap .kafe-bakis .fotograf img { max-height: calc(var(--icerik-h) * .45); }
.js-kitap .belgeler figure img { max-height: calc(var(--icerik-h) * .4); }
.js-kitap .album figure img { max-height: calc(var(--icerik-h) * .38); }
.js-kitap .akis--metin figure img { max-height: calc(var(--icerik-h) * .45); }

/* Katalog: sayfa başına 4 kart (mobilde 3) */
.js-kitap { --kart-sayisi: 4; --kart-bosluk: 14px; }
.js-kitap .akis--katalog .kart { height: calc((var(--icerik-h) - (var(--kart-sayisi) - 1) * var(--kart-bosluk) - 2px) / var(--kart-sayisi)); margin-bottom: var(--kart-bosluk); }
.js-kitap .akis--katalog .kart-kapak .kapak-gorsel { max-height: 100%; }
.js-kitap .akis--katalog .kart-kapak .kapak-yok { max-height: 100%; width: auto; height: 100%; }
.js-kitap .akis--katalog .bolum-basi { margin-bottom: .8em; }

/* Bölüm araçları (katalog filtresi) kitap modunda üst şeride taşınır */
.fis { z-index: 2; }
.js-kitap .bolum-araclari-yuvasi { position: absolute; left: calc(50% + 236px); top: 50%; transform: translateY(-50%); display: flex; width: max-content; max-width: calc(50vw - 260px); z-index: 1; }
.js-kitap .bolum-araclari { margin: 0; padding: 5px 10px; gap: 6px 12px; flex-wrap: wrap; background: rgba(28, 18, 11, .7); border: 1px solid rgba(220, 192, 122, .2); border-radius: 4px; }
.js-kitap .bolum-araclari .damga { color: var(--altin-acik); background: transparent; box-shadow: none; border-color: rgba(220, 192, 122, .6); font-size: .78rem; }
.js-kitap .bolum-araclari .damga--etkin { background: var(--altin-acik); color: var(--masa); }
.js-kitap .bolum-araclari .siralama { font-size: .92rem; }
.js-kitap .bolum-araclari .siralama select { font-size: .92rem; padding: 1px 4px; }

/* Yaprak (çevrilen sayfa) */
.yaprak { position: absolute; top: 0; bottom: 0; width: 50%; transform-style: preserve-3d; }
.yaprak--sag { left: 50%; }
.yaprak--sol { left: 0; }
.serit { position: absolute; top: 0; bottom: 0; transform-style: preserve-3d; will-change: transform; }
.yaprak--sag .serit { transform-origin: 0 50%; }
.yaprak--sol .serit { transform-origin: 100% 50%; }
.serit-yuz { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.serit-yuz--arka { transform: rotateY(180deg); }
.serit-yuz > .sayfa { right: auto; }
.serit-isik { position: absolute; inset: 0; pointer-events: none; z-index: 5; opacity: 0; }
.yaprak--sag .serit-yuz--on .serit-isik, .yaprak--sol .serit-yuz--arka .serit-isik { background: linear-gradient(90deg, rgba(25, 14, 5, .55), rgba(25, 14, 5, .12)); }
.yaprak--sag .serit-yuz--arka .serit-isik, .yaprak--sol .serit-yuz--on .serit-isik { background: linear-gradient(270deg, rgba(25, 14, 5, .5), rgba(255, 245, 220, .1)); }
.serit-parilti { position: absolute; inset: 0; pointer-events: none; z-index: 6; opacity: 0; background: linear-gradient(90deg, transparent 20%, rgba(255, 250, 235, .55) 50%, transparent 80%); mix-blend-mode: soft-light; }
.sayfa--duz { background-image: var(--doku-lif), var(--doku-kagit), linear-gradient(175deg, var(--kagit-1), var(--kagit-2)); }
.sayfa--duz::before { content: ""; position: absolute; inset: 3.3rem 2.8rem 3rem; background: repeating-linear-gradient(transparent 0 1.25rem, rgba(43, 33, 24, .07) 1.25rem 1.35rem); }

/* Solma (efekt kapalı / hareket azaltma) */
.slot .sayfa.solarak { animation: solarak .18s ease-out both; }
@keyframes solarak { from { opacity: 0; } to { opacity: 1; } }

/* Ayraçlar: kitabın sağ kenarından taşan sekmeler */
.js-kitap .ayraclar { position: absolute; left: 100%; top: 9%; padding: 0; order: initial; z-index: 0; }
.js-kitap .ayraclar ul { flex-direction: column; gap: 7px; flex-wrap: nowrap; }
.js-kitap .ayrac {
	writing-mode: vertical-rl;
	padding: 12px 7px 14px 9px; border-radius: 0 6px 6px 0;
	font-size: .98rem; letter-spacing: .04em;
	box-shadow: inset 6px 0 6px -4px rgba(0, 0, 0, .45), 2px 2px 4px rgba(0, 0, 0, .45);
	transform: translateX(-4px);
	transition: transform .18s ease, filter .18s ease;
	background-image: linear-gradient(90deg, rgba(0, 0, 0, .15), transparent 40%, rgba(255, 255, 255, .08));
	background-color: var(--ayrac-renk, var(--bordo));
}
.js-kitap .ayrac .ikon { width: 16px; height: 16px; margin-bottom: 6px; }
.js-kitap .ayraclar .ayrac-ad { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.js-kitap .ayraclar .ayrac-kisa { display: block; }
.js-kitap .ayrac:hover, .js-kitap .ayrac:focus-visible { transform: translateX(2px); }
.js-kitap .ayrac--etkin { transform: translateX(8px); filter: brightness(1.18) saturate(1.1); box-shadow: inset 6px 0 6px -4px rgba(0, 0, 0, .45), 3px 3px 6px rgba(0, 0, 0, .55), inset -2px 0 0 var(--altin-acik); }

/* Kurdele: İçindekiler'e döner */
.js-kitap .kurdele {
	display: block; position: absolute; z-index: 30;
	top: -26px; left: calc(50% + 30px);
	width: 24px; height: 74px;
	background: linear-gradient(90deg, #5a1414, #8e2224 45%, #6b1a1b);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
	box-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
	transition: height .2s ease;
	filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, .35));
}
.js-kitap .kurdele:hover, .js-kitap .kurdele:focus-visible { height: 88px; }
.kurdele-yazi { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* 8. Mobil ----------------------------------------------------------------- */

@media (max-width: 860px) {
	body { font-size: 1.0625rem; }
	.ust { gap: 10px; padding: 8px 12px 8px 56px; justify-content: flex-start; }
	.ust-ad { display: none; }
	.fis { width: 100%; }
	.no-js .ust, .ust { min-height: 56px; }

	.admin-bar { --ust-bosluk: 46px; }
	.js-kitap { --ust-h: 56px; --kart-sayisi: 3; }
	.js-kitap .kitap-alani { padding: 0; place-items: stretch; }
	.js-kitap .kitap {
		width: 100vw; height: 100%;
		padding: 0; border-radius: 0; box-shadow: none; background: none;
	}
	.js-kitap .kitap-govde::before, .js-kitap .kitap-govde::after { display: none; }
	.js-kitap .slot--sol { display: none; }
	.js-kitap .slot--sag { left: 0; width: 100%; }
	.js-kitap .yaprak--sag, .js-kitap .yaprak--sol { left: 0; width: 100%; }
	.js-kitap .sayfa { border-radius: 0; }
	.js-kitap .sayfa--tek::after { display: none; }
	.js-kitap .golge-katmani { background: linear-gradient(90deg, rgba(30, 18, 8, .5), transparent 45%); }
	.js-kitap .akis { font-size: 1.0625rem; }
	.js-kitap .bolum-baslik { font-size: 2rem; }
	.js-kitap .masa { padding-bottom: 62px; }

	.js-kitap .ayraclar { display: none; }
	.js-kitap .alt-serit {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
		background: rgba(30, 19, 12, .97); border-top: 1px solid rgba(220, 192, 122, .25);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.js-kitap .alt-serit ul { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
	.js-kitap .alt-serit li { flex: 1 0 auto; }
	.js-kitap .alt-serit .ayrac {
		writing-mode: horizontal-tb; flex-direction: column; justify-content: center; gap: 2px;
		min-width: 64px; height: 62px; padding: 6px 8px 5px; border-radius: 0;
		background: transparent; color: #e9dcbf; box-shadow: inset 0 3px 0 var(--ayrac-renk);
		font: 600 .78rem/1.1 var(--baslik-yazi); transform: none;
	}
	.js-kitap .alt-serit .ayrac-ad { display: none; }
	.js-kitap .alt-serit .ayrac-kisa { display: block; }
	.js-kitap .alt-serit .ayrac--etkin { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 4px 0 var(--altin-acik); }

	.js-kitap .kurdele { position: fixed; top: calc(var(--ust-bosluk) - 4px); left: 14px; height: 60px; width: 24px; }
	.js-kitap .kurdele:hover { height: 66px; }
	.js-kitap .bolum-araclari-yuvasi { position: fixed; top: auto; bottom: 70px; left: 8px; right: 8px; transform: none; width: auto; max-width: none; z-index: 45; }
	.js-kitap .bolum-araclari { border-radius: 6px; flex-wrap: nowrap; overflow-x: auto; }
	.js-kitap .tur-filtresi { flex-wrap: nowrap; }
	.js-kitap .ust { padding-right: 52px; }
	.ayar-kosesi { position: fixed; top: calc(var(--ust-bosluk) + 9px); bottom: auto; left: auto; right: 8px; }
	.ayar-dugme { width: 38px; height: 38px; }
	.ayar-paneli { bottom: auto; top: 46px; left: auto; right: 0; }
	.js-kitap .kose { width: 52px; height: 52px; }
	.no-js .ayraclar .ayrac-ad, .kitap .ayraclar .ayrac-ad { font-size: .95rem; }
	.kitap-gezinti { grid-template-columns: 1fr 1fr; }
	.kg-katalog { grid-column: 1 / -1; grid-row: 2; }
	.kg-sonraki { grid-column: 2; }
}

/* 9. Açılış (intro) ---------------------------------------------------------- */

.intro { display: none; }
.intro-oynat .intro {
	display: grid; place-items: center;
	position: fixed; inset: 0; z-index: 1000;
	background: inherit;
	background-color: var(--masa);
	background-image:
		radial-gradient(ellipse at 50% 45%, rgba(255, 200, 130, .14), transparent 55%),
		var(--doku-ahsap),
		repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px 260px),
		linear-gradient(180deg, #3a2618, #24170f 60%, #1a100a);
	transition: opacity .45s ease;
	cursor: pointer;
}
.intro-oynat:not(.intro-bitiyor) .masa { visibility: hidden; }
.intro.yerles { opacity: 0; pointer-events: none; }
.intro-sahne { perspective: 2200px; perspective-origin: 50% 30%; display: grid; place-items: center; gap: 22px; }
.intro-kitap {
	position: relative; width: calc(var(--sayfa-h) * 1.42 - 32px); height: calc(var(--sayfa-h) - 28px);
	transform-style: preserve-3d;
	transform: translateX(-25%) rotateX(16deg) scale(.8);
	transition: transform 1.1s cubic-bezier(.45, .05, .2, 1);
}
.intro.acik .intro-kitap { transform: translateX(0) rotateX(0) scale(1); }
.intro-taban { /* kapalıyken kitabın gölgesi; açılınca iki sayfaya yayılır */
	position: absolute; top: 2%; bottom: -2%; left: 50%; width: 50%;
	box-shadow: 0 40px 50px -20px rgba(0, 0, 0, .95);
	transition: left 1.1s ease, width 1.1s ease;
}
.intro.acik .intro-taban { left: 0; width: 100%; }
.intro-sayfa, .intro-yaprak, .intro-kapak { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-style: preserve-3d; }
.intro-sayfa {
	background-color: var(--kagit-1);
	background-image: var(--doku-lif), var(--doku-kagit), linear-gradient(175deg, var(--kagit-1), var(--kagit-2));
	box-shadow: 6px 0 0 -2px #d9c690, 9px 0 0 -3px #c7b07a, 11px 2px 6px -2px rgba(0, 0, 0, .6);
	border-radius: 0 3px 3px 0;
}
.intro-yaprak { transform-origin: 0 50%; transition: transform .5s cubic-bezier(.4, .1, .25, 1); }
.intro-yaprak--1 { transform: translateZ(2px); }
.intro-yaprak--2 { transform: translateZ(1px); }
.intro.yaprak1 .intro-yaprak--1 { transform: rotateY(-179deg) translateZ(2px); }
.intro.yaprak2 .intro-yaprak--2 { transform: rotateY(-178deg) translateZ(1px); }
.intro-kapak { transform-origin: 0 50%; transform: translateZ(3px); transition: transform 1.3s cubic-bezier(.5, .05, .25, 1); }
.intro.acik .intro-kapak { transform: rotateY(-180deg) translateZ(3px); }
.intro .yuz { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 0 3px 3px 0; overflow: hidden; }
.intro .yuz.arka { transform: rotateY(180deg); border-radius: 3px 0 0 3px; }
.intro-yaprak .yuz { background-color: var(--kagit-1); background-image: var(--doku-lif), var(--doku-kagit), linear-gradient(175deg, var(--kagit-1), var(--kagit-2)); }
.intro-yaprak .yuz.on { box-shadow: inset 12px 0 18px -10px rgba(40, 25, 10, .35); }
.intro-yaprak .yuz.arka { box-shadow: inset -12px 0 18px -10px rgba(40, 25, 10, .35); }
.intro .satirli::before { content: ""; position: absolute; inset: 14% 14%; background: repeating-linear-gradient(transparent 0 1.2rem, rgba(43, 33, 24, .09) 1.2rem 1.3rem); }

.ic-kapak { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12%; }
.ic-kapak p { margin: 0; }
.ic-kapak-ust { font: italic 1rem var(--govde-yazi); color: var(--murekkep-soluk); margin-bottom: 1.2em !important; }
.ic-kapak-ad { font: 600 clamp(1.6rem, 3vw, 2.4rem)/1.12 var(--baslik-yazi); }
.ic-kapak-alt { font: 500 1.1rem var(--baslik-yazi); letter-spacing: .3em; text-transform: uppercase; color: var(--edirne); margin-top: .6em !important; }

/* Deri kapak: altın yaldız, yıpranmış kenarlar */
.deri {
	background:
		radial-gradient(ellipse at 25% 15%, rgba(255, 255, 255, .1), transparent 55%),
		radial-gradient(ellipse at 80% 95%, rgba(0, 0, 0, .35), transparent 60%),
		var(--doku-deri),
		var(--deri);
	box-shadow:
		inset 0 0 0 2px rgba(0, 0, 0, .35),
		inset 0 0 26px 6px rgba(0, 0, 0, .55),
		inset 10px 0 14px -6px rgba(0, 0, 0, .6),
		inset 0 0 3px 1px rgba(220, 192, 122, .12);
	color: var(--altin-acik);
}
.deri::after { /* kenar aşınması */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(circle at 100% 0, rgba(170, 120, 90, .35), transparent 7%),
		radial-gradient(circle at 100% 100%, rgba(170, 120, 90, .35), transparent 8%),
		radial-gradient(circle at 0 100%, rgba(170, 120, 90, .2), transparent 6%);
	mix-blend-mode: screen;
}
.kapak-cerceve { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--altin); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); }
.kapak-yazilari { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18% 16%; }
.kapak-ad, .kapak-alt {
	margin: 0;
	background: linear-gradient(180deg, #f3dc9a 0%, #c9a24c 45%, #8f6a26 55%, #e2c27a 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .7));
}
.kapak-ad { font: 600 clamp(1.7rem, 3.4vw, 2.7rem)/1.1 var(--baslik-yazi); letter-spacing: .02em; }
.kapak-alt { margin-top: 1.4em; font: 500 clamp(1rem, 1.6vw, 1.25rem) var(--baslik-yazi); letter-spacing: .4em; text-transform: uppercase; }
.ebru { background: var(--doku-ebru) center / cover, #e9dcbf; box-shadow: inset -14px 0 20px -10px rgba(0, 0, 0, .45); }

.intro-ipucu { position: absolute; left: 0; right: 0; bottom: 4vh; text-align: center; margin: 0; font: italic 1.05rem var(--govde-yazi); color: rgba(233, 220, 191, .75); animation: nabiz 2.2s ease-in-out infinite; transition: opacity .3s; }
.intro.acik .intro-ipucu { opacity: 0; }
@keyframes nabiz { 50% { opacity: .35; } }
.intro-gec {
	position: fixed; right: 20px; bottom: 20px; z-index: 1001;
	padding: 8px 16px; border-radius: 3px; cursor: pointer;
	border: 1px solid rgba(220, 192, 122, .6); background: rgba(20, 12, 7, .6); color: var(--altin-acik);
	font: 600 .9rem var(--baslik-yazi); letter-spacing: .14em; text-transform: uppercase;
}
.intro-gec:hover { background: rgba(20, 12, 7, .9); }
@media (max-width: 860px) {
	.intro-kitap { width: min(86vw, 420px); height: min(122vw, 600px); transform: rotateX(14deg) scale(.86); }
	.intro.acik .intro-kitap { transform: none; }
	.intro-sayfa, .intro-yaprak, .intro-kapak, .intro-taban { left: 0 !important; width: 100% !important; }
}

/* 10. Hareket azaltma ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
