/* ==========================================================================
   AKTAR DERGİSİ — WEB PORTALI STİL ŞABLONU (styles.css)
   Estetik: Osmanlı Parşömen (#FAF6EE), Koyu Zümrüt Yeşili (#1E3F2B),
            Kehribar/Osmanlı Altını (#B8860B), Mercan Kızılı (#8B1E1E),
            Sepya Mürekkep (#221E1A)
   ========================================================================== */

:root {
  --bg-parchment: #EFE4CE;
  --bg-card: #F8F1E3;
  --bg-card-hover: #EFE3CE;
  --bg-deep: #DFCBB0;
  --wood-walnut-deep: #1E110A;
  --wood-walnut-mid: #321C10;
  --wood-walnut-warm: #4D2B18;
  --wood-oak-plank: #683D22;
  --wood-brass-trim: #D4AF37;
  --wood-grain-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='120' viewBox='0 0 320 120'%3E%3Cg fill='none' stroke='%2359331A' stroke-opacity='0.085' stroke-width='1.1'%3E%3Cpath d='M0 12 Q80 6 160 14 T320 10'/%3E%3Cpath d='M0 28 Q95 35 180 25 T320 30'/%3E%3Cpath d='M0 46 Q65 40 140 49 T320 44'/%3E%3Cpath d='M0 64 Q110 72 210 60 T320 66'/%3E%3Cpath d='M0 84 Q70 78 165 88 T320 82'/%3E%3Cpath d='M0 104 Q120 112 220 98 T320 106'/%3E%3Cellipse cx='240' cy='62' rx='36' ry='8' stroke-opacity='0.06'/%3E%3Cellipse cx='85' cy='26' rx='28' ry='6' stroke-opacity='0.05'/%3E%3C/g%3E%3C/svg%3E");
  --wood-dark-grain-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='140' viewBox='0 0 360 140'%3E%3Cg fill='none' stroke='%23E8C170' stroke-opacity='0.075' stroke-width='1.1'%3E%3Cpath d='M0 14 Q90 6 180 16 T360 12'/%3E%3Cpath d='M0 34 Q110 42 210 30 T360 36'/%3E%3Cpath d='M0 56 Q75 48 165 59 T360 54'/%3E%3Cpath d='M0 78 Q125 88 235 72 T360 80'/%3E%3Cpath d='M0 102 Q85 94 185 106 T360 98'/%3E%3Cpath d='M0 124 Q130 132 245 118 T360 126'/%3E%3Cellipse cx='270' cy='76' rx='44' ry='10' stroke-opacity='0.06'/%3E%3C/g%3E%3C/svg%3E");
  --emerald: #1B3B2B;
  --emerald-light: #28543D;
  --emerald-soft: rgba(27, 59, 43, 0.08);
  --gold: #9A7228;
  --gold-bright: #C59B27;
  --gold-border: rgba(138, 92, 34, 0.34);
  --gold-soft: rgba(154, 114, 40, 0.12);
  --coral: #8B261D;
  --coral-light: #A92929;
  --coral-soft: rgba(139, 38, 29, 0.09);
  --sepia-ink: #1F1B17;
  --sepia-muted: #554638;
  --sepia-subtle: #746251;
  --white-warm: #FCF7EC;
  --shadow-soft: 0 5px 20px rgba(34, 18, 8, 0.10);
  --shadow-elevated: 0 14px 36px rgba(30, 16, 7, 0.20);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-serif: 'Crimson Pro', Georgia, 'Times New Roman', Times, serif;
  --font-sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-parchment);
  background-image:
    var(--wood-grain-pattern),
    radial-gradient(circle at 15% 15%, rgba(164, 104, 42, 0.12) 0%, transparent 48%),
    radial-gradient(circle at 85% 80%, rgba(77, 43, 24, 0.12) 0%, transparent 48%),
    linear-gradient(180deg, #E8D8BE 0%, #F1E5D0 28%, #E7D6BA 72%, #DEC9A8 100%);
  color: var(--sepia-ink);
  font-family: var(--font-serif);
  line-height: 1.65;
  min-height: 100vh;
  padding-bottom: 64px; /* Sabit alt yasal uyarı bandı için boşluk */
}

/* ==========================================================================
   1. CANLI ANADOLU BİYOİKLİMSEL TAKVİM ŞERİDİ (ÜST BANT)
   ========================================================================== */
.bioclimatic-strip {
  background: linear-gradient(90deg, #163020 0%, var(--emerald) 50%, #163020 100%);
  color: var(--bg-parchment);
  border-bottom: 2px solid var(--gold);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  padding: 8px 18px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.bioclimatic-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.bioclimatic-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.bioclimatic-badge {
  background: var(--gold);
  color: #16120E;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bioclimatic-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.strip-link-btn {
  background: rgba(250, 246, 238, 0.14);
  color: var(--bg-parchment);
  border: 1px solid var(--gold-border);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}

.strip-link-btn:hover {
  background: var(--gold);
  color: var(--sepia-ink);
}

/* ==========================================================================
   2. HEADER & 9 SEKMELİ ANA NAVİGASYON BARI (OYMALI CEVİZ KÜTÜPHANE TACI)
   ========================================================================== */
.site-header {
  background-color: var(--wood-walnut-deep);
  background-image:
    var(--wood-dark-grain-pattern),
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.16) 0%, transparent 65%),
    linear-gradient(180deg, #2B170D 0%, #1F1109 55%, #160B06 100%);
  border-top: 2px solid rgba(212, 175, 55, 0.45);
  border-bottom: 4px ridge #C89D3C;
  padding: 22px 20px 0;
  position: relative;
  box-shadow: 0 10px 28px rgba(18, 9, 4, 0.42), inset 0 1px 0 rgba(255, 224, 150, 0.22);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-crest {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--emerald-light) 0%, var(--emerald) 100%);
  border: 2.5px solid #E5C158;
  box-shadow: 0 0 0 3px #24130A, 0 0 16px rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-parchment);
  font-size: 1.85rem;
  flex-shrink: 0;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-overline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #E5C158;
  font-weight: 700;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 700;
  color: #FAF2E1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
  letter-spacing: 0.8px;
  line-height: 1.15;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-domain {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: #F5DC8B;
  background: rgba(27, 59, 43, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.55);
  padding: 2px 9px;
  border-radius: 6px;
}

.brand-motto {
  font-family: var(--font-serif);
  font-style: italic;
  color: #D7C3A3;
  font-size: 0.98rem;
  margin-top: 3px;
}

.header-meta-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.issue-pill {
  background: linear-gradient(180deg, #3A2113 0%, #26150B 100%);
  border: 1.5px solid #C89D3C;
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  box-shadow: inset 0 1px 0 rgba(255, 226, 154, 0.2), 0 4px 12px rgba(0, 0, 0, 0.35);
}

.issue-pill strong {
  color: #F5DC8B;
  display: block;
  font-size: 0.88rem;
}

.issue-pill span {
  color: #DECAA8;
}

/* 9 Sekmeli Ana Navigasyon (Ahşap Kütüphane İndeks Plakaları) */
.main-nav {
  display: flex;
  align-items: stretch;
  gap: 6px;
  overflow-x: auto;
  padding: 12px 0 0;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  appearance: none;
  background-color: #382012;
  background-image:
    var(--wood-dark-grain-pattern),
    linear-gradient(180deg, #4B2B18 0%, #2E190E 100%);
  color: #EFE1C6;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 9px 10px;
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 5px;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 224, 150, 0.22), 0 -2px 8px rgba(0, 0, 0, 0.28);
}

.nav-tab:hover {
  background-image:
    var(--wood-dark-grain-pattern),
    linear-gradient(180deg, #633920 0%, #3E2213 100%);
  color: #FFE89E;
  border-color: #E5C158;
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 235, 175, 0.4), 0 -4px 14px rgba(212, 175, 55, 0.25);
}

.nav-tab.active {
  background-image:
    var(--wood-dark-grain-pattern),
    linear-gradient(180deg, #234F39 0%, #153324 100%);
  color: #FFF6DC;
  border-color: #F2D06B;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 235, 175, 0.45), 0 -4px 16px rgba(212, 175, 55, 0.32);
}

.nav-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #B8860B, #FFE17D, #B8860B);
}

/* ==========================================================================
   3. ANA KONTEYNER VE SEKME PANELLERİ
   ========================================================================== */
.portal-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 20px 44px;
}

.tab-panel {
  display: none;
  animation: fadeInPanel 0.28s ease-out;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ortak Bölüm Başlıkları */
.section-header {
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold-border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.section-overline {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--coral);
  display: block;
  margin-bottom: 4px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--emerald);
  font-weight: 700;
  line-height: 1.25;
}

.section-subtitle {
  color: var(--sepia-muted);
  font-size: 1rem;
  max-width: 820px;
  margin-top: 4px;
}

/* Altın Cetvelli Osmanlı Kartı */
.ottoman-card {
  background: var(--bg-card);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: var(--transition-fast);
}

.ottoman-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-elevated);
}

.ottoman-card::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px solid rgba(184, 134, 11, 0.16);
  border-radius: calc(var(--radius-md) - 3px);
  pointer-events: none;
}

/* Ortak Butonlar */
.btn {
  appearance: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-emerald {
  background: var(--emerald);
  color: var(--bg-parchment);
  border-color: var(--gold);
}

.btn-emerald:hover:not(:disabled) {
  background: var(--emerald-light);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: #1A1510;
  border-color: #8E6505;
}

.btn-gold:hover:not(:disabled) {
  background: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white-warm);
  color: var(--emerald);
  border-color: var(--gold);
}

.btn-outline:hover:not(:disabled) {
  background: var(--emerald);
  color: var(--bg-parchment);
}

.btn-coral {
  background: var(--coral);
  color: var(--bg-parchment);
  border-color: var(--gold);
}

.btn-coral:hover:not(:disabled) {
  background: var(--coral-light);
}

.btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  filter: grayscale(0.35);
}

/* Rozetler (Badges) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid transparent;
}

.badge-emerald {
  background: var(--emerald-soft);
  color: var(--emerald);
  border-color: rgba(30, 63, 43, 0.25);
}

.badge-gold {
  background: var(--gold-soft);
  color: #7D5904;
  border-color: var(--gold-border);
}

.badge-coral {
  background: var(--coral-soft);
  color: var(--coral);
  border-color: rgba(139, 30, 30, 0.28);
}

/* ==========================================================================
   4. SEKME 1 (#home) — SCROLL-HERO, SİNEMATİK PANORAMA, HERO VE 4 İLKE
   ========================================================================== */

/* Remilya/scroll-hero + Gemini Omni 1.1 Flash Özel Lüks Tema Katmanı */
.scroll-hero {
  --scroll-hero-length: 310vh;
  --scroll-hero-veil: 0.72;
  --scroll-hero-content-max: 860px;
  --scroll-hero-bg: #0B1911;
  --scroll-hero-overlay-start: rgba(9, 22, 14, 0.82);
  --scroll-hero-overlay-end: rgba(12, 26, 17, 0.42);
  --scroll-hero-text-color: #FAF6EE;
  --scroll-hero-accent: #D4A017;
  border-bottom: 3px double var(--gold);
}

.scroll-hero.is-hidden-by-tab {
  display: none !important;
}

.scroll-hero__veil {
  background:
    radial-gradient(circle at 50% 42%, rgba(16, 36, 24, 0.25) 0%, rgba(8, 19, 12, 0.82) 88%),
    linear-gradient(180deg, rgba(10, 24, 15, 0.78) 0%, rgba(10, 24, 15, 0.22) 48%, rgba(9, 20, 13, 0.88) 100%);
}

.scroll-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 40, 27, 0.82);
  border: 1.5px solid var(--gold-bright);
  color: #FFE596;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.scroll-hero-display {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.4vw, 3.65rem);
  font-weight: 700;
  color: #FFFDF8;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75);
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}

.scroll-hero-display span {
  color: #F9DF8D;
  font-style: italic;
}

.scroll-hero-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-style: italic;
  color: #F3EAD8;
  max-width: 680px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
  margin-bottom: 22px !important;
}

.scroll-hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn-outline-light {
  background: rgba(250, 246, 238, 0.14);
  color: #FFFDF8;
  border: 1.5px solid var(--gold-bright);
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background: var(--gold-bright);
  color: #16120E;
}

/* Kaydırma Fare İkonu Animasyonu */
.scroll-mouse-indicator {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(249, 223, 141, 0.8);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  opacity: 0.9;
}

.scroll-mouse-wheel {
  width: 4px;
  height: 9px;
  border-radius: 4px;
  background: #F9DF8D;
  animation: scrollWheelPulse 1.6s infinite ease-in-out;
}

@keyframes scrollWheelPulse {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(11px);
    opacity: 0.2;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* 3 Perdeli Canlı Scroll-Storytelling HUD Katmanı */
.scroll-story-hud {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 28px 26px;
  max-width: 1440px;
  margin: 0 auto;
}

.scroll-story-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scroll-telemetry-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 29, 19, 0.82);
  border: 1px solid rgba(212, 160, 23, 0.65);
  color: #F9DF8D;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 13px;
  border-radius: 99px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.telemetry-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
}

.scroll-skip-btn {
  pointer-events: auto;
  background: rgba(13, 29, 19, 0.82);
  color: #FAF6EE;
  border: 1px solid rgba(212, 160, 23, 0.65);
  border-radius: 99px;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.scroll-skip-btn:hover {
  background: var(--gold-bright);
  color: #16120E;
}

.scroll-story-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.scroll-chapter-card {
  pointer-events: auto;
  background: rgba(14, 31, 21, 0.84);
  border: 1.5px solid rgba(212, 160, 23, 0.72);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(250, 246, 238, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  max-width: 540px;
  backdrop-filter: blur(12px);
  color: #FAF6EE;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.scroll-chapter-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.scroll-chapter-step {
  background: var(--gold-bright);
  color: #16120E;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 2px 9px;
  border-radius: 99px;
  text-transform: uppercase;
}

.scroll-chapter-sub {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: #F9DF8D;
  font-weight: 600;
}

.scroll-chapter-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #FFFDF8;
  margin-bottom: 6px;
  line-height: 1.25;
}

.scroll-chapter-desc {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: #E5DEC9;
  line-height: 1.5;
  margin: 0;
}

.scroll-chapter-nav {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 320px;
}

.scroll-chapter-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.chapter-pill {
  background: rgba(14, 31, 21, 0.82);
  border: 1px solid rgba(212, 160, 23, 0.45);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  text-align: left;
  color: #EAE1D0;
  font-family: var(--font-sans);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.chapter-pill strong {
  display: block;
  font-size: 0.76rem;
  color: #FFFDF8;
}

.chapter-pill span {
  display: block;
  font-size: 0.68rem;
  color: #CBBFA8;
  margin-top: 2px;
}

.chapter-pill:hover,
.chapter-pill.active {
  background: rgba(184, 134, 11, 0.28);
  border-color: var(--gold-bright);
  box-shadow: 0 0 14px rgba(212, 160, 23, 0.35);
}

.chapter-pill.active strong {
  color: #FFE596;
}

.scroll-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(250, 246, 238, 0.18);
  border-radius: 99px;
  overflow: hidden;
  border: 1px solid rgba(212, 160, 23, 0.4);
}

.scroll-progress-fill {
  height: 100%;
  width: 2%;
  background: linear-gradient(90deg, var(--gold) 0%, #FFE596 100%);
  border-radius: 99px;
  transition: width 0.08s linear;
}

/* Sinematik Widescreen Panorama Kartları (2x 16:9 Keyframe Vitrini) */
.cinema-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.cinema-showcase-card {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.cinema-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(30, 63, 43, 0.22);
}

.cinema-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #12261A;
  border-bottom: 2px solid var(--gold);
}

.cinema-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cinema-showcase-card:hover .cinema-img-wrap img {
  transform: scale(1.045);
}

.cinema-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 31, 21, 0.86);
  color: #FFE596;
  border: 1px solid var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.9px;
  padding: 4px 11px;
  border-radius: 99px;
  backdrop-filter: blur(6px);
}

.cinema-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cinema-card-body h3 {
  font-size: 1.3rem;
  color: var(--emerald);
  margin-bottom: 8px;
  line-height: 1.28;
}

.cinema-card-body p {
  color: var(--sepia-muted);
  font-size: 0.94rem;
  margin-bottom: 16px;
  flex: 1;
}

.cinema-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-banner {
  background:
    linear-gradient(125deg, rgba(16, 36, 24, 0.93) 0%, rgba(27, 57, 39, 0.86) 55%, rgba(15, 32, 21, 0.94) 100%),
    url("assets/hero/hero_shop_wide.jpg") center / cover no-repeat;
  color: var(--bg-parchment);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-elevated);
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: "🌿";
  position: absolute;
  right: 24px;
  bottom: -10px;
  font-size: 8rem;
  opacity: 0.07;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  background: rgba(184, 134, 11, 0.24);
  border: 1px solid var(--gold);
  color: #F9E090;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.22;
  margin-bottom: 14px;
  color: #FFFDF8;
}

.vision-quote-box {
  background: rgba(250, 246, 238, 0.1);
  border-left: 4px solid var(--gold-bright);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0 22px;
}

.vision-quote-text {
  font-size: 1.12rem;
  font-style: italic;
  color: #FFF7E2;
}

.vision-quote-author {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #E5C878;
  margin-top: 6px;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 8 İstatistik Sayacı */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  background: rgba(250, 246, 238, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.45);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: #F9E090;
  display: block;
  line-height: 1.15;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: #E8E0D0;
  margin-top: 4px;
  display: block;
}

/* 4 Temel İlkemiz */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.principle-card {
  background: var(--bg-card);
  border: 1.5px solid var(--gold-border);
  border-top: 4px solid var(--emerald);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.principle-card:nth-child(2) {
  border-top-color: var(--gold);
}

.principle-card:nth-child(3) {
  border-top-color: var(--coral);
}

.principle-num {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.principle-title {
  font-size: 1.18rem;
  color: var(--emerald);
  margin: 6px 0 10px;
}

.principle-desc {
  font-size: 0.93rem;
  color: var(--sepia-muted);
}

/* Haftanın Öne Çıkanları */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.highlight-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--gold-border);
}

.highlight-card-title {
  font-size: 1.25rem;
  color: var(--emerald);
}

/* ==========================================================================
   5. SEKME 2 (#current-issue) — 3 MODLU WEB-APP DERGİ OKUYUCU & ONAY KUTUSU
   ========================================================================== */
.issue-reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.issue-reader-layout > * {
  min-width: 0;
  max-width: 100%;
}

.flipbook-container {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-elevated);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

/* 3 Modlu Web-App Görünüm Seçici (Segmented Control) */
.reader-mode-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  background: rgba(30, 63, 43, 0.08);
  border: 1.5px solid var(--gold-border);
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 12px;
}

.reader-mode-btn {
  appearance: none;
  background: transparent;
  color: var(--sepia-ink);
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 8px 10px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reader-mode-btn:hover {
  background: rgba(184, 134, 11, 0.14);
}

.reader-mode-btn.active {
  background: var(--emerald);
  color: var(--bg-parchment);
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(30, 63, 43, 0.25);
}

/* Tek Satır Web-App Sayfa Gezinme Çubuğu */
.flipbook-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-border);
  font-family: var(--font-sans);
  min-width: 0;
  max-width: 100%;
}

.page-step-btn {
  padding: 8px 12px;
  font-size: 0.84rem;
  flex-shrink: 0;
}

.page-select-wrap {
  flex: 1;
  min-width: 0;
}

.page-quick-select {
  width: 100%;
  background: var(--white-warm);
  color: var(--emerald);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-icon-btn {
  padding: 8px 11px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* MOD A: A4 Sayfa Sahnesi */
.flipbook-stage {
  background: #1C1814;
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 14px;
  min-width: 0;
  max-width: 100%;
}

.flipbook-page-img {
  max-width: 100%;
  max-height: 780px;
  width: auto;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease;
  background: var(--bg-parchment);
}

.flipbook-page-img.zoomed {
  transform: scale(1.38);
  cursor: zoom-out;
}

/* MOD B: Web-App Akıllı Mobil Okuma Kartları */
.webapp-reader-stage {
  min-width: 0;
  max-width: 100%;
}

.webapp-page-card {
  background: var(--white-warm);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.webapp-page-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--gold-border);
}

.webapp-page-card-title {
  font-size: 1.25rem;
  color: var(--emerald);
  margin-bottom: 12px;
  line-height: 1.3;
}

.webapp-page-hero {
  background: linear-gradient(135deg, #163020 0%, #234932 100%);
  color: var(--bg-parchment);
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 14px;
}

.webapp-page-h1 {
  font-size: 1.35rem;
  color: #FFFDF8;
  margin: 10px 0 6px;
  line-height: 1.25;
}

.webapp-page-lead {
  font-size: 0.92rem;
  color: #EAE1D0;
  margin-bottom: 12px;
}

.webapp-Quick-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
}

.webapp-Quick-pills span {
  background: rgba(250, 246, 238, 0.12);
  border: 1px solid rgba(212, 160, 23, 0.45);
  border-radius: 6px;
  padding: 6px 8px;
  color: #FFE596;
}

.webapp-article-block h4 {
  font-size: 1.12rem;
  color: var(--emerald);
  margin: 10px 0 8px;
}

.webapp-article-block p {
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--sepia-ink);
  margin-bottom: 10px;
}

.webapp-quote-card {
  background: var(--bg-card);
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
}

.webapp-quote-card blockquote {
  font-style: italic;
  font-size: 1.02rem;
  color: var(--emerald);
  margin: 6px 0 4px;
}

.webapp-quote-card cite {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--coral);
}

.webapp-mini-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.webapp-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
}

.webapp-mini-card strong {
  color: var(--emerald);
  display: block;
  margin-bottom: 3px;
}

.webapp-webtoon-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.webapp-webtoon-panel {
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
}

.webapp-webtoon-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  background: #FAF3E3;
  display: block;
}

.webapp-webtoon-caption {
  padding: 10px 12px;
  font-size: 0.88rem;
}

.webapp-webtoon-caption strong {
  color: var(--emerald);
  display: block;
  margin-bottom: 4px;
}

.webtoon-speech {
  background: var(--white-warm);
  border-left: 3px solid var(--coral);
  padding: 6px 10px;
  border-radius: 4px;
  margin-top: 6px;
  font-weight: 600;
}

.webapp-a4-preview-box {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1.5px dashed var(--gold-border);
}

.webapp-a4-preview-header {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--sepia-muted);
  margin-bottom: 8px;
}

.webapp-a4-preview-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1.5px solid var(--gold);
  cursor: zoom-in;
}

/* MOD C: 16 Sayfa Kesintisiz Dikey Akış */
.stream-reader-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.stream-page-item {
  background: var(--white-warm);
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  padding: 10px;
}

.stream-page-label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 8px;
}

.stream-page-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Alt Sayfa Gezinme Çubuğu */
.reader-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--gold-border);
}

.flipbook-thumbs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  min-width: 0;
  max-width: 100%;
}

.thumb-btn {
  background: var(--white-warm);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 6px 4px;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.thumb-btn img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(184, 134, 11, 0.25);
}

.thumb-btn:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
}

.thumb-btn.active {
  background: var(--emerald);
  color: var(--bg-parchment);
  border-color: var(--gold);
  font-weight: 700;
}

/* Zorunlu Tıbbi Sorumluluk Reddi Onay Kutucuğu (Checkbox) */
.legal-consent-box {
  border: 2px solid var(--coral);
  background: var(--white-warm);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
}

.legal-consent-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--coral-soft);
}

.legal-consent-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  color: var(--sepia-ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

.legal-consent-label input[type="checkbox"] {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  accent-color: var(--emerald);
  cursor: pointer;
  flex-shrink: 0;
}

.consent-status-note {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 4px;
  background: var(--coral-soft);
  color: var(--coral);
  font-weight: 600;
}

.consent-status-note.unlocked {
  background: var(--emerald-soft);
  color: var(--emerald);
}

/* ==========================================================================
   6. SEKME 3 (#archive) — GEÇMİŞ SAYILAR & 52 HAFTALIK YAYIN TAKVİMİ
   ========================================================================== */
.filter-toolbar {
  background: var(--bg-card);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  appearance: none;
  background: var(--white-warm);
  color: var(--sepia-ink);
  border: 1px solid var(--gold-border);
  border-radius: 99px;
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.filter-chip.active {
  background: var(--emerald);
  color: var(--bg-parchment);
  border-color: var(--gold);
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 250px;
  max-width: 420px;
}

.search-input {
  width: 100%;
  background: var(--white-warm);
  color: var(--sepia-ink);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 9px 14px 9px 36px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-soft);
}

.search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--sepia-subtle);
  pointer-events: none;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}

.week-card {
  background: var(--bg-card);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: var(--transition-fast);
}

.week-card.is-published {
  border: 2px solid var(--emerald);
  background: linear-gradient(180deg, #F5EFE2 0%, #FFFDF9 100%);
}

.week-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
}

.week-number-tag {
  background: var(--emerald);
  color: var(--bg-parchment);
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
}

/* ==========================================================================
   7. SEKME 4 (#plants) — 888 DİJİTAL HERBARYUM KARTLARI
   ========================================================================== */
.plants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.plant-card {
  background: var(--bg-card);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-fast);
  cursor: pointer;
}

.plant-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-elevated);
}

.plant-img-wrap {
  height: 190px;
  background: linear-gradient(135deg, #E9DFC9 0%, #F7F1E3 100%);
  border-bottom: 1.5px solid var(--gold-border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.plant-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.plant-card:hover .plant-img-wrap img {
  transform: scale(1.05);
}

.plant-img-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  color: var(--emerald);
}

.plant-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plant-name-tr {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1.25;
}

.plant-name-latin {
  font-style: italic;
  color: var(--sepia-muted);
  font-size: 0.92rem;
}

.plant-meta-list {
  list-style: none;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--sepia-ink);
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 4px;
}

.plant-meta-list strong {
  color: var(--emerald);
}

.plant-warning-strip {
  margin-top: auto;
  background: var(--coral-soft);
  border-left: 3px solid var(--coral);
  padding: 7px 10px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--coral);
}

/* ==========================================================================
   8. SEKME 5 (#recipes) — 201 ŞİFA DEMLİĞİ KADİM TERKİP KARTLARI
   ========================================================================== */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 22px;
}

.recipe-card {
  background: var(--bg-card);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

.recipe-plate-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(30, 63, 43, 0.08) 0%, rgba(184, 134, 11, 0.12) 100%);
  border-bottom: 1px solid var(--gold-border);
}

.recipe-plate-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gold);
  object-fit: cover;
  background: var(--white-warm);
  flex-shrink: 0;
}

.recipe-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.gram-harman-box {
  background: var(--white-warm);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.gram-harman-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.gram-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gram-chip {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
}

.gram-chip strong {
  color: var(--coral);
}

.recipe-params-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
}

.recipe-param-cell {
  background: rgba(184, 134, 11, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  padding: 6px 8px;
  text-align: center;
}

.recipe-param-cell span {
  display: block;
  color: var(--sepia-muted);
  font-size: 0.7rem;
}

.recipe-param-cell strong {
  color: var(--emerald);
}

.demligin-teri-box {
  background: rgba(30, 63, 43, 0.07);
  border-left: 3px solid var(--emerald);
  padding: 8px 11px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* ==========================================================================
   9. SEKME 6 (#product-dev) — AR-GE & ÇAY DEMLEME PARAMETRE ASİSTANI
   ========================================================================== */
.extraction-assistant {
  background: linear-gradient(135deg, #F5EFE2 0%, #EDE1CA 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-elevated);
}

.drog-selector-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 16px 0 20px;
}

.drog-option-btn {
  background: var(--white-warm);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sepia-ink);
  text-align: center;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.drog-option-btn:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
}

.drog-option-btn.active {
  background: var(--emerald);
  color: var(--bg-parchment);
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.extraction-result-panel {
  background: var(--white-warm);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 20px;
}

.param-gauge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.param-gauge-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  font-family: var(--font-sans);
}

.param-gauge-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--sepia-muted);
  display: block;
}

.param-gauge-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--emerald);
  margin-top: 4px;
  display: block;
}

.rd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

/* ==========================================================================
   10. SEKME 7 (#articles) — 10 KARELİK ÇİZGİ ROMAN & MAKALELER
   ========================================================================== */
.comic-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.comic-panel-card {
  background: var(--white-warm);
  border: 2px solid var(--sepia-ink);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 4px 0 rgba(34, 30, 26, 0.18);
  transition: var(--transition-fast);
}

.comic-panel-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(184, 134, 11, 0.4);
}

.comic-panel-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  background: #FAF3E3;
  border-bottom: 2px solid var(--sepia-ink);
  overflow: hidden;
}

.comic-panel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.comic-panel-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gold);
  color: #16120E;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid var(--sepia-ink);
}

.comic-narrator-box {
  background: #F7E8C4;
  border-bottom: 1.5px solid var(--sepia-ink);
  padding: 9px 12px;
  font-size: 0.84rem;
  font-style: italic;
  color: var(--sepia-ink);
}

.comic-speech-bubble {
  padding: 12px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: var(--sepia-ink);
  background: var(--white-warm);
  flex: 1;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

/* ==========================================================================
   11. SEKME 8 (#ebooks) — E-KİTAPLAR KÜTÜPHANESİ
   ========================================================================== */
.ebooks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
}

.ebook-card {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 18px;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.ebook-cover {
  background: linear-gradient(150deg, var(--emerald) 0%, #112619 100%);
  border: 2px solid var(--gold);
  border-left: 7px solid #8A6205;
  border-radius: 4px 8px 8px 4px;
  padding: 14px 10px;
  color: var(--bg-parchment);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 4px 6px 14px rgba(0, 0, 0, 0.25);
}

.ebook-cover-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #F9E090;
  line-height: 1.3;
}

/* ==========================================================================
   12. SEKME 9 (#tools) — 4 İNTERAKTİF GÜVENLİK VE LÜGAT ARACI
   ========================================================================== */
.tools-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.metrology-converter-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  align-items: center;
}

.converter-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.converter-result-card {
  background: var(--white-warm);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: var(--font-sans);
}

.converter-result-card strong {
  font-size: 1.25rem;
  color: var(--emerald);
  display: block;
}

/* Veri Tabloları */
.data-table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  background: var(--white-warm);
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.86rem;
}

.portal-table th {
  background: var(--emerald);
  color: var(--bg-parchment);
  text-align: left;
  padding: 11px 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
}

.portal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gold-border);
  vertical-align: top;
}

.portal-table tr:nth-child(even) td {
  background: rgba(243, 236, 224, 0.55);
}

.portal-table tr:hover td {
  background: var(--gold-soft);
}

/* ==========================================================================
   13. DETAYLI MONOGRAF / OKUMA MODALI
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(22, 18, 14, 0.72);
  backdrop-filter: blur(3px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-parchment);
  border: 2.5px solid var(--gold);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.modal-header {
  background: var(--emerald);
  color: var(--bg-parchment);
  padding: 16px 22px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.14);
  color: var(--bg-parchment);
  border: 1px solid var(--gold);
  border-radius: 6px;
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  line-height: 1.7;
}

.modal-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--gold-border);
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--coral);
}

/* ==========================================================================
   14. ALT KÜNYE (5651) VE SABİT YASAL UYARI BANDI
   ========================================================================== */
.site-footer {
  background: #193323;
  color: var(--bg-parchment);
  border-top: 3px double var(--gold);
  padding: 36px 20px 48px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.fixed-legal-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #221E1A;
  color: #F5EFE2;
  border-top: 2px solid var(--gold);
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  z-index: 1500;
  text-align: center;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.25);
}

.fixed-legal-footer strong {
  color: #F9E090;
}

/* ==========================================================================
   15. PREMİUM MOBİL ARAYÜZ & DUYARLI TASARIM SİSTEMİ (@media max-width: 768px)
   Masaüstünde 16:9 Sinematik Scroll-Hero + Geniş Ekran Grid,
   Mobilde (<= 768px) Özel 9:16 Dikey Scroll-Hero + Native Mobil Uygulama Arayüzü
   ========================================================================== */

/* Varsayılan masaüstünde gizli olan mobil uygulama bileşenleri */
.mobile-bottom-nav,
.mobile-menu-trigger,
.mobile-swipe-hint {
  display: none;
}

/* Mobil Kayar Çekmece (Bottom Sheet Drawer) */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 20, 14, 0.78);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.mobile-drawer-backdrop.open {
  display: flex;
}

.mobile-drawer-sheet {
  width: 100%;
  max-width: 540px;
  max-height: 88vh;
  background: var(--bg-parchment);
  border-top: 3px solid var(--gold);
  border-radius: 22px 22px 0 0;
  padding: 12px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  box-shadow: 0 -16px 52px rgba(0, 0, 0, 0.65);
  animation: slideUpSheet 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideUpSheet {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.mobile-drawer-handle {
  width: 48px;
  height: 5px;
  border-radius: 99px;
  background: rgba(184, 134, 11, 0.45);
  margin: 0 auto 12px;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1.5px solid var(--gold-border);
}

.mobile-drawer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.mobile-drawer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: 1.5px solid var(--gold-border);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
}

.mobile-drawer-card:hover,
.mobile-drawer-card:active {
  background: var(--emerald);
  border-color: var(--gold);
  color: var(--bg-parchment);
}

.mobile-drawer-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--emerald);
}

.mobile-drawer-card small {
  display: block;
  font-size: 0.76rem;
  color: var(--sepia-muted);
  margin-top: 2px;
}

.mobile-drawer-card:hover strong,
.mobile-drawer-card:hover small {
  color: var(--bg-parchment);
}

.drawer-card-icon {
  font-size: 1.45rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(184, 134, 11, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--gold-border);
}

/* Mobil Alt Navigasyon Öğeleri */
.mobile-nav-item {
  appearance: none;
  background: transparent;
  border: none;
  color: #D7CBB8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 2px;
  border-radius: 10px;
  font-family: var(--font-sans);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.mobile-nav-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.mobile-nav-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: #FFE596;
  background: rgba(184, 134, 11, 0.22);
}

.mobile-nav-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24%;
  right: 24%;
  height: 2.5px;
  border-radius: 99px;
  background: var(--gold-bright);
}

/* Küresel Yatay Taşma Koruması (Grid 1fr Patlamasını %100 Önler) */
.site-header,
.portal-main,
.site-footer {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.tab-panel,
.hero-grid > *,
.cinema-showcase-grid > *,
.principles-grid > *,
.highlights-grid > *,
.issue-reader-layout > *,
.schedule-grid > *,
.card-grid-3 > *,
.card-grid-2 > *,
.comic-gallery-grid > *,
.metrology-converter-grid > *,
.ottoman-card {
  min-width: 0;
  max-width: 100%;
}

/* Tablet Geçişi (<= 1100px) */
@media (max-width: 1100px) {
  .hero-grid,
  .cinema-showcase-grid,
  .issue-reader-layout,
  .metrology-converter-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .drog-selector-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   NATIVE WEB-APP TELEFON ARAYÜZÜ (@media max-width: 768px)
   360x800 (Galaxy A55 / iPhone) dahil tüm mobil ekranlarda sıfır yatay taşma,
   54px kompakt uygulama üst barı ve 3 modlu Web-App dergi okuyucu
   ========================================================================== */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    -webkit-tap-highlight-color: transparent;
  }

  button,
  a,
  input,
  select,
  .plant-card,
  .recipe-card,
  .wood-book-slot,
  .mobile-nav-item,
  .mobile-drawer-card,
  .filter-chip {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .hide-on-mobile {
    display: none !important;
  }

  /* 1. Mobilde üst biyoiklimsel şeridi gizle (ekran yüksekliğini koru) */
  .bioclimatic-strip {
    display: none;
  }

  /* 2. 56px Tek Satır Ceviz & Altın Native Web-App Üst Barı (.site-header)
     (Önceki açık krem zemin üzerinde beyaz logo çakışması ve dev buton taşması %100 giderildi) */
  .site-header {
    padding: 8px 10px;
    position: sticky;
    top: 0;
    z-index: 1100;
    background-color: #221209;
    background-image:
      var(--wood-dark-grain-pattern),
      linear-gradient(180deg, #2B170C 0%, #180C06 100%);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(212, 175, 55, 0.45);
    border-bottom: 2px solid #D4AF37;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  }

  .header-top-row {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-bottom: 0;
    border-bottom: none;
  }

  .brand-identity {
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .brand-crest {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
    border-width: 1.5px;
  }

  .brand-crest svg {
    width: 20px;
    height: 20px;
  }

  .brand-titles {
    min-width: 0;
    overflow: hidden;
  }

  .brand-overline,
  .brand-domain,
  .brand-motto,
  .issue-pill,
  #replayScrollHeroBtn,
  #tezgahDefteriHeaderBtn,
  .header-meta-box > [data-goto-tab="current-issue"],
  .main-nav {
    display: none !important;
  }

  .brand-logo {
    font-size: 1.06rem;
    color: #FFF6E0;
    line-height: 1.12;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  }

  .brand-titles::after {
    content: "Sayı 01 • Kuşburnu Özel Sayısı";
    font-family: var(--font-sans);
    font-size: 0.64rem;
    font-weight: 700;
    color: #F2D16B;
    display: block;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-meta-box {
    width: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
  }

  #headerMusicToggleBtn {
    padding: 6px 9px !important;
    font-size: 0.72rem !important;
    border-radius: 7px !important;
    white-space: nowrap;
    background: rgba(255, 248, 231, 0.1);
    color: #FFE8A3;
    border: 1px solid rgba(212, 175, 55, 0.6);
    line-height: 1.1;
  }

  #headerMusicToggleBtn.btn-gold {
    background: linear-gradient(180deg, #E5C158 0%, #B3831E 100%);
    color: #1A1008;
    border-color: #FFF4C2;
  }

  .mobile-menu-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
    font-weight: 800;
    border-radius: 7px !important;
    white-space: nowrap;
    line-height: 1.1;
  }

  /* 3. Özel 9:16 Dikey Mobil Scroll-Hero Düzeni */
  .scroll-hero {
    --scroll-hero-length: 265vh;
  }

  .scroll-hero__veil {
    background:
      linear-gradient(
        180deg,
        rgba(8, 20, 13, 0.82) 0%,
        rgba(8, 20, 13, 0.32) 45%,
        rgba(8, 20, 13, 0.92) 100%
      );
  }

  .scroll-hero__content {
    justify-content: flex-start;
    padding: 46px 14px 16px;
  }

  .scroll-hero-kicker {
    font-size: 0.6rem;
    letter-spacing: 0.7px;
    padding: 4px 10px;
    margin-bottom: 8px;
  }

  .scroll-hero-display {
    font-size: clamp(1.45rem, 6.2vw, 1.95rem);
    line-height: 1.16;
    margin-bottom: 8px;
  }

  .scroll-hero-lead {
    font-size: 0.86rem;
    line-height: 1.38;
    margin-bottom: 12px !important;
  }

  .scroll-hero-cta-row {
    gap: 8px;
    margin-bottom: 0;
  }

  .scroll-hero-cta-row .btn {
    padding: 7px 12px;
    font-size: 0.76rem;
  }

  .scroll-mouse-indicator {
    display: none;
  }

  .scroll-story-hud {
    padding: 10px 10px calc(70px + env(safe-area-inset-bottom, 0px));
  }

  .scroll-telemetry-pill,
  .scroll-skip-btn {
    font-size: 0.66rem;
    padding: 4px 10px;
  }

  .scroll-story-bottom {
    gap: 6px;
  }

  .scroll-chapter-card {
    padding: 10px 12px;
    border-radius: 10px;
    max-width: 100%;
    width: 100%;
    background: rgba(11, 26, 17, 0.9);
  }

  .scroll-chapter-step {
    font-size: 0.62rem;
    padding: 2px 7px;
  }

  .scroll-chapter-sub {
    font-size: 0.68rem;
  }

  .scroll-chapter-title {
    font-size: 0.95rem;
    margin-bottom: 3px;
  }

  .scroll-chapter-desc {
    font-size: 0.75rem;
    line-height: 1.36;
  }

  .scroll-chapter-nav {
    min-width: 100%;
    width: 100%;
    gap: 5px;
  }

  .scroll-chapter-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .chapter-pill {
    padding: 5px 6px;
    border-radius: 7px;
  }

  .chapter-pill strong {
    font-size: 0.65rem;
  }

  .chapter-pill span {
    font-size: 0.58rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 4. Web-App Ana İçerik & Dergi Okuyucu (360px Sıfır Siyah Boşluk) */
  .portal-main {
    padding: 12px 10px 28px;
  }

  .section-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .issue-header-subtitle {
    display: none;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .section-subtitle {
    font-size: 0.84rem;
  }

  .hero-banner {
    padding: 18px 14px;
    margin-bottom: 18px;
    border-radius: 12px;
  }

  .hero-title {
    font-size: 1.32rem;
    line-height: 1.22;
  }

  .vision-quote-box {
    padding: 10px 12px;
    margin: 10px 0 14px;
  }

  .vision-quote-text {
    font-size: 0.92rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .stat-card {
    padding: 10px 8px;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .principles-grid,
  .highlights-grid,
  .param-gauge-grid,
  .converter-results-grid,
  .ebook-card,
  .card-grid-3,
  .card-grid-2,
  .comic-gallery-grid,
  .schedule-grid,
  .plants-grid,
  .recipes-grid,
  .rd-grid,
  .articles-grid,
  .ebooks-grid,
  .webapp-Quick-pills,
  .webapp-mini-cards {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
  }

  .cinema-card-body {
    padding: 14px;
  }

  .cinema-card-body h3 {
    font-size: 1.08rem;
  }

  .cinema-card-actions .btn {
    flex: 1;
    font-size: 0.78rem;
    padding: 8px 10px;
  }

  /* 5. Dergi Okuyucu Mobil Web-App Görünümü (360px Tam Genişlik) */
  .flipbook-container {
    padding: 10px;
    border-radius: 12px;
  }

  .reader-mode-bar {
    gap: 4px;
    padding: 4px;
    margin-bottom: 10px;
  }

  .reader-mode-btn {
    padding: 7px 4px;
    font-size: 0.72rem;
  }

  .flipbook-toolbar {
    gap: 5px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    flex-wrap: nowrap;
  }

  .step-btn-label {
    display: none;
  }

  .page-step-btn,
  .page-icon-btn {
    padding: 7px 9px;
    font-size: 0.8rem;
  }

  .page-quick-select {
    font-size: 0.76rem;
    padding: 7px 6px;
  }

  /* Mobilde A4 Sayfa Sahnesindeki Siyah Çerçeveyi Kaldır, Tam Ekran Genişliğinde Göster */
  .flipbook-stage {
    background: transparent;
    border: none;
    padding: 0;
    min-height: auto;
  }

  .flipbook-page-img {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
    border: 1.5px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  }

  .webapp-page-card {
    padding: 14px 12px;
  }

  .webapp-page-card-title {
    font-size: 1.08rem;
  }

  .reader-bottom-bar {
    gap: 6px;
  }

  .reader-bottom-bar .btn {
    flex: 1;
    padding: 8px 6px;
    font-size: 0.74rem;
  }

  .flipbook-thumbs {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .flipbook-thumbs::-webkit-scrollbar {
    display: none;
  }

  .flipbook-thumbs .thumb-btn {
    flex: 0 0 68px;
    scroll-snap-align: start;
  }

  /* Filtre Buton Grupları — Sağdan Kesilmeyi Önleyen Tam Görünür Dengeli Mobil Pill Izgarası */
  .filter-toolbar {
    padding: 10px 12px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .filter-btn-group {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 6px;
    padding-bottom: 0;
    overflow: visible;
  }

  .filter-chip {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    padding: 7px 10px;
    font-size: 0.75rem;
    border-radius: 8px;
  }

  .search-input-wrap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .search-input {
    font-size: 0.85rem;
    padding: 9px 12px 9px 32px;
  }

  /* Mobil Sayfalama (Pagination) Çubuğu — Tek Satırda Ortalanmış, Taşmayan Düzen */
  .pagination-toolbar {
    padding: 10px 12px;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }

  .pagination-summary {
    font-size: 0.76rem;
    line-height: 1.35;
    text-align: center;
    width: 100%;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(184, 134, 11, 0.28);
  }

  .pagination-controls-wrap {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
  }

  .page-size-pills {
    width: 100%;
    justify-content: center;
    gap: 6px;
  }

  .page-nav-pills {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .page-size-btn,
  .page-num-btn {
    padding: 6px 8px;
    font-size: 0.74rem;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobil Tarif ve Bitki Kartı İç Düzeni (360px Ekranlara Özel Ferah Yerleşim) */
  .recipe-plate-header {
    padding: 12px;
    gap: 10px;
    align-items: flex-start;
  }

  .recipe-plate-thumb {
    width: 56px;
    height: 56px;
  }

  .recipe-plate-header h3 {
    font-size: 0.98rem !important;
    line-height: 1.28 !important;
  }

  .recipe-body,
  .plant-card-body {
    padding: 12px;
    gap: 10px;
  }

  .gram-harman-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 0.72rem;
  }

  .recipe-params-grid {
    gap: 6px;
    font-size: 0.72rem;
  }

  .recipe-param-cell {
    padding: 5px 4px;
  }

  .recipe-card-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6px !important;
  }

  .recipe-card-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 8px 6px !important;
    font-size: 0.73rem !important;
    text-align: center;
  }

  /* Yüzen Ses Pill'ini Mobilde Gizle (Üst barda ♫ Başlat ve Menü Çekmecesinde zaten var;
     böylece alt kartların üzerini ASLA kapatmaz!) */
  .audio-console-pill {
    display: none !important;
  }

  .aktar-audio-console {
    left: 10px !important;
    right: 10px !important;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 2600;
  }

  .audio-console-panel {
    width: 100%;
    max-width: 100%;
  }

  /* Mobil Detay Modalı */
  .modal-backdrop {
    padding: 10px;
  }

  .modal-dialog {
    max-height: 90vh;
    border-radius: 14px;
  }

  .modal-header {
    padding: 12px 14px;
  }

  .modal-body {
    padding: 14px;
    font-size: 0.9rem;
  }

  .drog-selector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  /* 6. Veri Tablolarının Mobil Kart Görünümüne Dönüşümü */
  .portal-table thead {
    display: none;
  }

  .portal-table,
  .portal-table tbody,
  .portal-table tr,
  .portal-table td {
    display: block;
    width: 100%;
  }

  .portal-table tr {
    border-bottom: 2px solid var(--gold);
    padding: 12px 14px;
    background: var(--white-warm);
  }

  .portal-table td {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(184, 134, 11, 0.28);
  }

  .portal-table td:last-child {
    border-bottom: none;
  }

  .portal-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--coral);
    margin-bottom: 2px;
  }

  /* 7. Sabit Yasal Uyarıyı Sayfa Altına Al, Alt Bar Olarak Sadece Mobil Dock Kalsın */
  .fixed-legal-footer {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    font-size: 0.72rem;
    padding: 12px 14px;
    line-height: 1.45;
  }

  /* 8. Lüks Cam Efektli Sabit Mobil Alt Uygulama Barı (Bottom App Dock) */
  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 30, 20, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1.5px solid var(--gold);
    z-index: 1700;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
  }
}

/* ==========================================================================
   14. GÖMÜLÜ CHROMIUM PDF GÖRÜNTÜLEYİCİ (PDF.js Vektör Canvas + Chromium UI)
   ========================================================================== */
.cr-pdf-viewer {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  background: #525659;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #323639;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.cr-pdf-viewer:fullscreen {
  border-radius: 0;
  border: none;
  height: 100vh;
}

.cr-pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #323639;
  color: #f1f3f4;
  padding: 8px 12px;
  min-height: 48px;
  border-bottom: 1px solid #202124;
  font-family: var(--font-sans);
  user-select: none;
}

.cr-toolbar-left,
.cr-toolbar-center,
.cr-toolbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cr-doc-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #e8eaed;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}

.cr-icon-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f3f4;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cr-icon-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
  border-color: #8ab4f8;
}

.cr-icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cr-page-counter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: #e8eaed;
}

.cr-page-input {
  width: 42px;
  height: 28px;
  background: #202124;
  color: #ffffff;
  border: 1px solid #5f6368;
  border-radius: 4px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
}

.cr-page-input:focus {
  outline: none;
  border-color: #8ab4f8;
}

.cr-toolbar-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 2px;
}

.cr-zoom-select {
  height: 30px;
  background: #202124;
  color: #f1f3f4;
  border: 1px solid #5f6368;
  border-radius: 5px;
  padding: 0 6px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.cr-zoom-select:focus {
  outline: none;
  border-color: #8ab4f8;
}

/* Hızlı Okuma Yakınlaştırma Çubuğu */
.cr-quick-zoom-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #282b2e;
  padding: 6px 10px;
  border-bottom: 1px solid #202124;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cr-quick-zoom-bar::-webkit-scrollbar {
  display: none;
}

.cr-qz-pill {
  background: #3c4043;
  color: #e8eaed;
  border: 1px solid #5f6368;
  border-radius: 999px;
  padding: 5px 11px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.cr-qz-pill:hover {
  background: #4d5156;
}

.cr-qz-pill.active {
  background: #8ab4f8;
  color: #202124;
  border-color: #8ab4f8;
}

.cr-qz-hint {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #9aa0a6;
  white-space: nowrap;
}

/* Chromium Ana Çalışma Alanı (Sol Çekmece + 2D Kaydırılabilir PDF Sahnesi) */
.cr-pdf-workspace {
  position: relative;
  display: flex;
  width: 100%;
  height: 76vh;
  min-height: 540px;
  max-height: 860px;
  background: #525659;
  overflow: hidden;
}

.cr-pdf-viewer:fullscreen .cr-pdf-workspace {
  height: calc(100vh - 88px);
  max-height: none;
}

.cr-pdf-sidebar {
  width: 148px;
  background: #323639;
  border-right: 1px solid #202124;
  overflow-y: auto;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  transition: margin-left 0.22s ease;
}

.cr-pdf-sidebar.collapsed {
  margin-left: -148px;
}

.cr-side-thumb {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #bdc1c6;
  font-family: var(--font-sans);
  font-size: 0.74rem;
}

.cr-side-thumb-frame {
  width: 96px;
  border: 2.5px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cr-side-thumb.active .cr-side-thumb-frame {
  border-color: #8ab4f8;
  transform: scale(1.03);
}

.cr-side-thumb.active span {
  color: #8ab4f8;
  font-weight: 700;
}

.cr-side-thumb-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Merkez 2 Yönlü Kaydırılabilir & Sürüklenebilir PDF Tuvali */
.cr-pdf-viewport {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #525659;
  padding: 16px 12px 28px;
  cursor: grab;
  position: relative;
}

.cr-pdf-viewport.dragging {
  cursor: grabbing;
  user-select: none;
}

.cr-pdf-pages-host {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 100%;
  width: max-content;
  margin: 0 auto;
}

.cr-pdf-page-card {
  position: relative;
  background: #ffffff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.52);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease;
}

.cr-pdf-canvas {
  display: block;
  background: #ffffff;
}

.cr-pdf-page-badge {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(32, 33, 36, 0.78);
  color: #f1f3f4;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  pointer-events: none;
}

/* Native Tarayıcı PDF Iframe Sahnesi */
.native-pdf-stage {
  width: 100%;
  height: 78vh;
  min-height: 540px;
  background: #323639;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #323639;
}

.native-pdf-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .cr-doc-title,
  .cr-qz-hint {
    display: none;
  }

  .cr-pdf-toolbar {
    padding: 6px 8px;
    gap: 4px;
    min-height: 44px;
  }

  .cr-icon-btn {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    font-size: 0.8rem;
  }

  .cr-page-input {
    width: 34px;
    height: 26px;
    font-size: 0.76rem;
  }

  .cr-zoom-select {
    height: 28px;
    font-size: 0.74rem;
    max-width: 108px;
    padding: 0 4px;
  }

  .cr-pdf-workspace {
    height: 70vh;
    min-height: 460px;
  }

  .cr-pdf-sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    box-shadow: 6px 0 20px rgba(0, 0, 0, 0.55);
  }

  .cr-pdf-viewport {
    padding: 10px 6px 20px;
  }
}

/* ==========================================================================
   15. 3D GERÇEKÇİ SAYFA ÇEVİRMELİ KİTAP / DERGİ (St.PageFlip + Büyüteç)
   ========================================================================== */
.book3d-viewer {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  background: #141c17;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.book3d-viewer:fullscreen {
  border-radius: 0;
  border: none;
  height: 100vh;
}

.book3d-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(90deg, #12261b 0%, #1d3a28 50%, #12261b 100%);
  color: var(--bg-parchment);
  padding: 8px 12px;
  border-bottom: 1px solid rgba(184, 134, 11, 0.45);
  font-family: var(--font-sans);
}

.book3d-nav-group,
.book3d-tools-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.book3d-page-select {
  max-width: 220px;
  background: rgba(0, 0, 0, 0.38);
  border-color: rgba(184, 134, 11, 0.55);
  color: #FAF6EE;
}

.book3d-zoom-Readout {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  min-width: 42px;
  text-align: center;
}

#book3dLoupeBtn.active,
#book3dSoundBtn.active {
  background: var(--gold);
  color: #161412;
  border-color: var(--gold-light);
}

.book3d-quick-bar {
  background: #182a20;
  border-bottom: 1px solid rgba(184, 134, 11, 0.3);
}

.book3d-desk-viewport {
  position: relative;
  width: 100%;
  min-height: 540px;
  background: radial-gradient(circle at center, #253d2f 0%, #121e17 75%, #0b120e 100%);
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px 24px;
  user-select: none;
}

.book3d-viewer:fullscreen .book3d-desk-viewport {
  height: calc(100vh - 92px);
  min-height: 0;
}

.book3d-desk-viewport.zoomed-pan {
  overflow: auto;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: grab;
}

.book3d-desk-viewport.zoomed-pan.dragging {
  cursor: grabbing;
}

.book3d-zoom-stage {
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.2s ease, height 0.2s ease;
}

.stf-book-host {
  position: relative;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(184, 134, 11, 0.35);
  margin: 0 auto;
}

.stf-page-item {
  background: #FAF6EE;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  border: 1px solid rgba(184, 134, 11, 0.35);
}

.stf-page-canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Gerçekçi Kitap Sırtı (Spine) İç Gölgesi ve Köşe Kıvrım İpucu */
.stf-page-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.05) 5%,
    transparent 15%,
    transparent 88%,
    rgba(0, 0, 0, 0.06) 97%,
    rgba(0, 0, 0, 0.16) 100%
  );
}

.stf-corner-curl-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(135deg, transparent 45%, rgba(184, 134, 11, 0.88) 48%, #d8a838 100%);
  width: 34px;
  height: 34px;
  pointer-events: none;
  box-shadow: -3px -3px 8px rgba(0, 0, 0, 0.25);
}

/* Sol & Sağ Yüzer Sayfa Çevirme Kulakçıkları */
.book3d-side-paddle {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 38px;
  height: 68px;
  border-radius: 10px;
  background: rgba(18, 38, 27, 0.82);
  color: #FAF6EE;
  border: 1.5px solid var(--gold);
  font-size: 1.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.book3d-side-paddle:hover {
  background: var(--gold);
  color: #161412;
}

.book3d-side-paddle.left {
  left: 6px;
  margin-right: 6px;
}

.book3d-side-paddle.right {
  right: 6px;
  margin-left: 6px;
}

/* 2.6x Pirinç Çerçeveli Aktar Büyüteci (Magnifier Loupe) */
.book3d-loupe-lens {
  position: fixed;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 4px solid #d4af37;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), inset 0 0 14px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  pointer-events: none;
  z-index: 2500;
  background: #ffffff;
}

.book3d-loupe-lens canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.book3d-loupe-tag {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 38, 27, 0.9);
  color: #f4d160;
  border: 1px solid #d4af37;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .book3d-topbar {
    padding: 6px 8px;
    gap: 4px;
    flex-wrap: wrap;
  }

  .book3d-page-select {
    max-width: 138px;
    font-size: 0.74rem;
  }

  .book3d-desk-viewport {
    min-height: 470px;
    padding: 10px 4px 14px;
  }

  .book3d-side-paddle {
    width: 28px;
    height: 52px;
    font-size: 1.35rem;
    position: absolute;
  }

  .book3d-side-paddle.left {
    left: 4px;
  }

  .book3d-side-paddle.right {
    right: 4px;
  }

  .book3d-loupe-lens {
    width: 195px;
    height: 195px;
  }
}

/* ==========================================================================
   16. 3D KİTAP İÇİNDE CANLI OKUNAKLI HTML KİTAP SAYFALARI (.stf-live-page)
   ========================================================================== */
.stf-live-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(165deg, #FFFDF8 0%, #F7EFE0 55%, #EFE3CE 100%);
  border: 2px solid #C59B27;
  box-shadow: inset 0 0 0 3px rgba(184, 134, 11, 0.16);
  padding: 10px 13px 8px;
  box-sizing: border-box;
  color: #1D1814;
  font-family: var(--font-serif);
  overflow: hidden;
  position: relative;
}

.stf-live-page.is-cover {
  background: linear-gradient(165deg, #132A1D 0%, #1E3F2B 55%, #0F2217 100%);
  color: #FAF6EE;
  border: 3px solid #D4AF37;
  box-shadow: inset 0 0 0 4px rgba(212, 175, 55, 0.28);
}

.stf-live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid rgba(184, 134, 11, 0.45);
  padding-bottom: 5px;
  margin-bottom: 7px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--emerald);
  flex-shrink: 0;
}

.stf-live-page.is-cover .stf-live-header {
  color: #F4D160;
  border-bottom-color: rgba(244, 209, 96, 0.4);
}

.stf-live-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding-right: 4px;
  font-size: 0.93rem;
  line-height: 1.5;
  color: #1D1814;
  scrollbar-width: thin;
}

.stf-book-host.book-font-lg .stf-live-body {
  font-size: 1.05rem;
  line-height: 1.54;
}

.stf-book-host.book-font-xl .stf-live-body {
  font-size: 1.16rem;
  line-height: 1.58;
}

.stf-live-page.is-cover .stf-live-body {
  color: #FAF6EE;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stf-live-body h3 {
  font-size: 1.12rem;
  line-height: 1.26;
  color: #1E3F2B;
  margin: 0 0 6px;
  font-weight: 700;
}

.stf-live-page.is-cover .stf-live-body h3 {
  color: #F4D160;
  font-size: 1.28rem;
  text-align: center;
}

.stf-live-body h4 {
  font-size: 0.98rem;
  line-height: 1.28;
  color: #8B1E1E;
  margin: 7px 0 4px;
  font-weight: 700;
}

.stf-live-body p {
  margin: 0 0 7px;
}

.stf-live-quote {
  background: rgba(184, 134, 11, 0.13);
  border-left: 3.5px solid #B8860B;
  border-radius: 6px;
  padding: 7px 10px;
  margin-bottom: 8px;
  font-style: italic;
  font-size: 0.92em;
  color: #1E3F2B;
}

.stf-live-quote strong {
  display: block;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #8B1E1E;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.stf-live-box {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(184, 134, 11, 0.42);
  border-radius: 6px;
  padding: 7px 9px;
  margin-bottom: 7px;
  font-size: 0.89em;
}

.stf-live-box strong {
  color: #1E3F2B;
}

.stf-live-legal-mini {
  background: rgba(139, 30, 30, 0.09);
  border: 1px solid rgba(139, 30, 30, 0.35);
  border-radius: 5px;
  padding: 5px 8px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  line-height: 1.35;
  color: #7A1616;
  margin-top: 4px;
}

.stf-comic-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 6px;
}

.stf-comic-step-btn {
  background: #FAF6EE;
  color: #1E3F2B;
  border: 1px solid #B8860B;
  border-radius: 5px;
  padding: 3px 6px;
  font-family: var(--font-sans);
  font-size: 0.69rem;
  font-weight: 700;
  cursor: pointer;
  flex: 1 1 auto;
  text-align: center;
  line-height: 1.2;
}

.stf-comic-step-btn.active {
  background: #1E3F2B;
  color: #FAF6EE;
  border-color: #1E3F2B;
}

.stf-live-comic-card {
  background: #ffffff;
  border: 1.5px solid #2A231D;
  border-radius: 6px;
  padding: 6px 7px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.stf-comic-art {
  width: 100%;
  max-width: 244px;
  aspect-ratio: 4 / 3;
  height: auto;
  background-color: #FAF3E3;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid #2A231D;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  border-radius: 5px;
  margin: 4px auto;
  cursor: zoom-in;
  position: relative;
}

.stf-comic-art.is-all-mode {
  max-width: 270px;
  aspect-ratio: 4 / 3;
  height: auto;
}

@media (max-width: 768px) {
  .stf-comic-art {
    max-width: 224px;
  }
}

.stf-comic-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 5px;
}

.stf-comic-nav-btn {
  background: #1E3F2B;
  color: #FAF6EE;
  border: 1px solid #B8860B;
  border-radius: 5px;
  padding: 4px 8px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.stf-comic-nav-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.stf-live-comic-card .comic-dialogue {
  background: #FFF8DC;
  border: 1px solid #B8860B;
  border-radius: 5px;
  padding: 4px 7px;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.32;
  font-weight: 600;
  color: #1D1814;
}

.stf-live-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(184, 134, 11, 0.4);
  padding-top: 4px;
  margin-top: 5px;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  color: #6B5B4B;
  flex-shrink: 0;
  padding-right: 24px;
}

.stf-live-page.is-cover .stf-live-footer {
  color: #E2D5B5;
  border-top-color: rgba(244, 209, 96, 0.35);
}

/* ==========================================================================
   17. EDİTÖRYAL TİPOGRAFİ, "GÜNÜN DEMLİĞİ", "KEHRİBAR KAVANOZ RAFI",
       CANLI KUM SAATİ MODALI VE TAM EKRAN ÇİZGİ ROMAN HİKÂYE (STORY) MODU
   ========================================================================== */

/* Klasik Mecmua & Botanik Dergi Başlık Tipografisi (Cormorant Garamond) */
h1, h2, h3,
.brand-logo,
.section-title,
.scroll-hero-display,
.daily-brew-title,
.story-feature-title,
.manifesto-heading,
.highlight-card-title,
.plant-name-tr {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.section-title {
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1.18;
}

/* Kitap Sayfalarında Klasik Letrin (Drop-Cap) */
.stf-live-page:not(.is-cover) .stf-live-body > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 2.35em;
  font-weight: 700;
  float: left;
  line-height: 0.84;
  padding-right: 7px;
  padding-top: 3px;
  color: var(--coral);
}

/* İnce Mürekkep Çizgileri — Kutu İçinde Kutu Kalabalığını Yumuşatma */
.ottoman-card,
.principle-card,
.plant-card,
.recipe-card,
.week-card {
  border-width: 1px;
  border-color: rgba(154, 114, 40, 0.28);
  background: #FCF9F2;
}

/* 1. "BUGÜN NE DEMLEMELİ?" — GÜNÜN DEMLİĞİ HERO KARTI */
.daily-brew-hero {
  background: linear-gradient(135deg, #152F22 0%, #1F4432 58%, #163022 100%);
  color: #FAF6EE;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-elevated);
  position: relative;
  overflow: hidden;
}

.daily-brew-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.daily-brew-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.editorial-tag-pill {
  background: rgba(212, 175, 55, 0.2);
  color: #F3D478;
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}

.editorial-sensory-pill {
  background: rgba(250, 246, 238, 0.1);
  color: #EAE0CE;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  padding: 3px 11px;
  border-radius: 99px;
}

.daily-brew-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #FFFDF8;
  line-height: 1.15;
  margin-bottom: 8px;
}

.daily-brew-subtitle {
  font-size: 1.02rem;
  color: #DFD5C3;
  margin-bottom: 18px;
  max-width: 680px;
}

.household-spoon-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.spoon-item {
  background: rgba(250, 246, 238, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spoon-measure {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #F3D478;
}

.spoon-ingredient {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #FFFDF9;
}

.spoon-item small {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: #CBBFA8;
}

.daily-brew-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-lg-ritual {
  padding: 12px 20px;
  font-size: 0.94rem;
  letter-spacing: 0.2px;
}

.daily-brew-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.demligin-teri-editorial-card {
  background: rgba(250, 246, 238, 0.96);
  color: var(--sepia-ink);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.demligin-teri-kicker {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.demligin-teri-editorial-card blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.52;
  color: var(--sepia-ink);
  margin-bottom: 8px;
}

.demligin-teri-editorial-card cite {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald);
}

.daily-brew-safety-note {
  background: rgba(139, 38, 29, 0.28);
  border: 1px solid rgba(243, 212, 120, 0.35);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.45;
  color: #F7EFE2;
}

/* 2. YATAY KAYDIRMALI "KEHRİBAR KAVANOZ RAFI" (.jar-shelf-strip) */
.jar-shelf-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px 4px 16px;
  scrollbar-width: thin;
}

.jar-shelf-card {
  flex: 0 0 276px;
  scroll-snap-align: start;
  background: linear-gradient(180deg, #FFFDF9 0%, #F5EFE2 100%);
  border: 1px solid rgba(154, 114, 40, 0.34);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-fast);
  cursor: pointer;
}

.jar-shelf-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-elevated);
}

.jar-card-visual {
  height: 158px;
  position: relative;
  background: #231C16;
  overflow: hidden;
}

.jar-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.jar-shelf-card:hover .jar-card-visual img {
  transform: scale(1.04);
}

.jar-number-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(27, 59, 43, 0.9);
  color: #F3D478;
  border: 1px solid rgba(212, 175, 55, 0.55);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.6px;
}

.jar-sensory-tag {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  background: rgba(24, 19, 15, 0.82);
  backdrop-filter: blur(4px);
  color: #FAF6EE;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.84rem;
  padding: 4px 9px;
  border-radius: 4px;
  text-align: center;
}

.jar-card-body {
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.jar-card-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1.15;
}

.jar-card-latin {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--sepia-muted);
}

.jar-card-spoon {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--sepia-ink);
  background: rgba(154, 114, 40, 0.1);
  border-left: 2.5px solid var(--gold);
  padding: 6px 8px;
  border-radius: 0 4px 4px 0;
  margin-top: 2px;
}

.jar-card-safety {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: var(--coral);
  font-weight: 600;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid rgba(154, 114, 40, 0.2);
}

/* 3. TAM EKRAN HİKÂYE VİTRİN BANNERI (.story-feature-banner) */
.story-feature-banner {
  background: linear-gradient(125deg, #231C16 0%, #33261D 60%, #1B3B2B 100%);
  color: #FAF6EE;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.story-feature-title {
  font-size: 1.9rem;
  color: #FFFDF8;
  margin: 4px 0 8px;
  line-height: 1.18;
}

.story-feature-desc {
  color: #E2D8C5;
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.story-feature-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.story-feature-preview {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--gold-bright);
  cursor: pointer;
  background: #14110E;
  aspect-ratio: 4 / 3;
}

.story-feature-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.story-preview-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(27, 59, 43, 0.92);
  color: #F3D478;
  border: 1px solid var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 99px;
}

/* 4. EDİTÖRYAL MANİFESTO & KOLOFON ŞERİDİ (8'Lİ SAAS KUTULARI YERİNE) */
.editorial-manifesto-banner {
  background: #F6EFE2;
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 28px 24px;
  text-align: center;
  border-radius: var(--radius-md);
}

.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
}

.manifesto-heading {
  font-size: 1.85rem;
  font-style: italic;
  color: var(--emerald);
  margin: 6px 0 10px;
  line-height: 1.25;
}

.manifesto-body {
  font-size: 1.02rem;
  color: var(--sepia-muted);
  margin-bottom: 16px;
}

.editorial-colophon-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(154, 114, 40, 0.24);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--sepia-ink);
}

.editorial-colophon-strip strong {
  color: var(--emerald);
  font-weight: 700;
}

.colophon-dot {
  color: var(--gold);
}

/* 5. ZEN 3D KİTAP BARI & ROMEN RAKAMLI DROG SEÇİCİ */
.book3d-zen-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.drog-roman {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drog-option-btn.active .drog-roman {
  color: #F3D478;
  border-color: #F3D478;
}

/* Her Ekran Boyutunda Net Görünen Yüksek Kontrastlı Kapat Butonu (.modal-close-pill) */
.modal-close-btn.modal-close-pill {
  width: auto !important;
  height: auto !important;
  padding: 7px 13px !important;
  font-family: var(--font-sans);
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  background: linear-gradient(180deg, #9E241C 0%, #6E1610 100%) !important;
  color: #FFFDF8 !important;
  border: 1.5px solid #F3D478 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0 !important;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.modal-close-btn.modal-close-pill:hover {
  background: linear-gradient(180deg, #B82B22 0%, #821B14 100%) !important;
  border-color: #FFF3B8 !important;
}

/* 6. TAM EKRAN CANLI DEMLEME KUM SAATİ MODALI (.brewing-ritual-overlay) */
.brewing-ritual-overlay {
  position: fixed;
  inset: 0;
  z-index: 3200;
  background: rgba(14, 28, 20, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.brewing-ritual-card {
  width: 100%;
  max-width: 880px;
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(155deg, #132A1E 0%, #1B3B2B 60%, #12251B 100%);
  color: #FAF6EE;
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.brewing-ritual-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.32);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.brewing-ritual-title {
  font-size: 1.6rem;
  color: #FFFDF8;
  margin-top: 4px;
  line-height: 1.2;
}

.brewing-ritual-body {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 20px;
  align-items: start;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.brewing-ritual-bottom-bar {
  flex-shrink: 0;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.32);
}

.sandglass-stage {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

@keyframes sandFlowDash {
  to {
    stroke-dashoffset: -16;
  }
}

.sandglass-svg-wrap.is-running #sandStreamLine {
  animation: sandFlowDash 0.6s linear infinite;
}

.brewing-timer-readout {
  font-family: var(--font-display);
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1;
  color: #F3D478;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}

.brewing-phase-badge {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #DFD5C3;
  background: rgba(250, 246, 238, 0.08);
  padding: 4px 12px;
  border-radius: 99px;
}

.brewing-timer-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.brewing-measure-box {
  background: rgba(250, 246, 238, 0.09);
  border-left: 3px solid #D4AF37;
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 14px;
}

.brewing-measure-box strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #F3D478;
  margin-bottom: 4px;
}

.brewing-step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brewing-step-list li {
  background: rgba(250, 246, 238, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font-size: 0.92rem;
  color: #E5DDD0;
  transition: var(--transition-fast);
}

.brewing-step-list li.active {
  background: rgba(212, 175, 55, 0.16);
  border-color: #F3D478;
  color: #FFFDF9;
}

.brewing-step-list li strong {
  color: #F3D478;
}

/* 7. TAM EKRAN KAYDIRMALI ÇİZGİ ROMAN HİKÂYE (STORY) MODU (.comic-story-overlay) */
.comic-story-overlay {
  position: fixed;
  inset: 0;
  z-index: 3300;
  background: rgba(16, 13, 10, 0.96);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.comic-story-frame {
  width: 100%;
  max-width: 640px;
  max-height: 96vh;
  background: #1C1713;
  color: #FAF6EE;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
}

.comic-story-progress-bar {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}

.comic-story-seg {
  height: 4px;
  border-radius: 99px;
  background: rgba(250, 246, 238, 0.2);
  cursor: pointer;
  transition: background 0.2s ease;
}

.comic-story-seg.done {
  background: rgba(212, 175, 55, 0.65);
}

.comic-story-seg.active {
  background: #F3D478;
}

.comic-story-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.comic-story-kicker {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #F3D478;
  text-transform: uppercase;
}

.comic-story-title {
  font-size: 1.3rem;
  color: #FFFDF8;
  line-height: 1.15;
}

.comic-story-art-stage {
  position: relative;
  background: #110E0B;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 240px;
  max-height: 50vh;
}

.comic-story-art-stage img {
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: contain;
  display: block;
}

.comic-story-nav-zone {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 64px;
  background: rgba(27, 59, 43, 0.82);
  color: #F3D478;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 8px;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.comic-story-nav-zone.prev {
  left: 8px;
}

.comic-story-nav-zone.next {
  right: 8px;
}

.comic-story-caption-card {
  background: #26201A;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comic-story-narrator {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.96rem;
  line-height: 1.45;
  color: #E5DDD0;
}

.comic-story-dialogue {
  background: #FAF3E0;
  color: #1F1B17;
  border-left: 3.5px solid var(--gold);
  border-radius: 6px;
  padding: 9px 12px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.42;
}

.comic-story-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
}

.comic-story-swipe-hint {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #B9AC96;
  text-align: center;
}

/* Mobil Uyumluluk İyileştirmeleri (<= 768px) */
@media (max-width: 768px) {
  .daily-brew-hero {
    padding: 18px 16px;
  }

  .daily-brew-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .daily-brew-title {
    font-size: 1.65rem;
  }

  .household-spoon-strip {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .story-feature-banner {
    grid-template-columns: 1fr;
    padding: 18px 16px;
    gap: 14px;
  }

  .story-feature-title {
    font-size: 1.5rem;
  }

  .desktop-only-tools {
    display: none !important;
  }

  .brewing-ritual-overlay {
    padding: 8px;
  }

  .brewing-ritual-card {
    padding: 12px 12px;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 12px;
  }

  .brewing-ritual-top {
    padding-bottom: 10px;
    margin-bottom: 10px;
    gap: 8px;
  }

  .brewing-ritual-title {
    font-size: 1.12rem;
    line-height: 1.22;
  }

  .brewing-ritual-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sandglass-stage {
    padding: 12px 10px;
    gap: 6px;
  }

  .sandglass-svg-wrap svg {
    width: 82px;
    height: 122px;
  }

  .brewing-timer-readout {
    font-size: 2.15rem;
  }

  .brewing-timer-controls .btn {
    padding: 6px 10px;
    font-size: 0.76rem;
  }

  .comic-story-frame {
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    padding: 12px;
  }

  .jar-shelf-card {
    flex: 0 0 248px;
  }
}

/* ==========================================================================
   18. AKTARCILIK HAKKINDA HER ŞEY — MİZAÇ PUSULASI, CANLI PİRİNÇ TERAZİ,
       TAĞŞİŞ DENEY MASASI, 8 KUTSAL ALET & YÜZEN SES/MÜZİK KUTUSU
   ========================================================================== */

/* 1. AKTAR USTALIK ATÖLYESİ İKİLİ IZGARASI */
.aktar-mastery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.mastery-panel {
  background: linear-gradient(180deg, #FFFDF9 0%, #F5EFE2 100%);
  border: 1px solid rgba(154, 114, 40, 0.34);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}

.mastery-panel-header h3 {
  font-size: 1.48rem;
  color: var(--emerald);
  margin: 6px 0;
  line-height: 1.22;
}

.mastery-panel-header p {
  font-size: 0.92rem;
  color: var(--sepia-muted);
}

/* 4 Unsur Mizaç Sekmeleri */
.mizac-compass-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mizac-tab-btn {
  background: var(--white-warm);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  transition: var(--transition-fast);
}

.mizac-tab-btn:hover {
  border-color: var(--emerald);
  transform: translateY(-2px);
}

.mizac-tab-btn.active {
  background: var(--emerald);
  color: #FAF6EE;
  border-color: var(--gold-bright);
  box-shadow: var(--shadow-soft);
}

.mizac-roman {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}

.mizac-tab-btn.active .mizac-roman {
  color: #F3D478;
}

.mizac-tab-btn strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--emerald);
}

.mizac-tab-btn.active strong {
  color: #FFFDF8;
}

.mizac-tab-btn small {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--sepia-muted);
}

.mizac-tab-btn.active small {
  color: #DFD5C3;
}

.mizac-compass-result {
  background: #FAF5E9;
  border: 1px solid rgba(154, 114, 40, 0.3);
  border-radius: var(--radius-md);
  padding: 15px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

/* Canlı İki Kefeli Pirinç Terazi Sahnesi */
.brass-scale-stage {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.scale-herb-selector {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.scale-svg-container {
  background: radial-gradient(circle at 50% 45%, #FFFDF8 0%, #EFE5D1 100%);
  border: 1px solid rgba(154, 114, 40, 0.32);
  border-radius: var(--radius-md);
  padding: 8px 10px 4px;
}

.scale-status-banner {
  background: rgba(27, 59, 43, 0.08);
  border-left: 3px solid var(--emerald);
  border-radius: 0 6px 6px 0;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--sepia-ink);
}

.scale-status-banner.is-balanced {
  background: rgba(27, 59, 43, 0.92);
  color: #F3D478;
  border-left-color: #D4AF37;
}

.scale-weights-tray {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.scale-weight-btn {
  padding: 6px 10px;
  font-size: 0.76rem;
  flex: 1 1 auto;
}

/* 3. USTA AKTARIN GERÇEK / SAHTE BİTKİ (TAĞŞİŞ) DENEY MASASI */
.adulteration-lab-card {
  background: linear-gradient(180deg, #FFFDF9 0%, #F5EFE2 100%);
  border: 1px solid rgba(154, 114, 40, 0.36);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
}

.adulteration-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.adulteration-Comparison-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.beaker-test-box {
  background: #FFFDF8;
  border: 1px solid rgba(154, 114, 40, 0.32);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  position: relative;
}

.beaker-test-box.is-authentic {
  border-top: 3.5px solid var(--emerald);
}

.beaker-test-box.is-fake {
  border-top: 3.5px solid var(--coral);
}

.beaker-visual-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0;
}

.beaker-glass {
  width: 66px;
  height: 82px;
  border: 2px solid #8A7968;
  border-top: none;
  border-radius: 0 0 12px 12px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

.beaker-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 74%;
  transition: background 0.6s ease;
}

/* 4. AKTAR TEZGÂHININ 8 KUTSAL ALETİ & 12 AYLIK HASAT TAKVİMİ */
.craft-tools-showcase {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sacred-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 14px;
}

.sacred-tool-card {
  background: #FCF9F2;
  border: 1px solid rgba(154, 114, 40, 0.28);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sacred-tool-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--emerald);
}

.harvest-months-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.harvest-month-card {
  background: linear-gradient(180deg, #1B3B2B 0%, #142B1F 100%);
  color: #FAF6EE;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.harvest-month-card strong {
  font-family: var(--font-display);
  font-size: 1.16rem;
  color: #F3D478;
}

/* 5. YÜZEN AKTAR DÜKKÂNI SES & MÜZİK KUTUSU (.aktar-audio-console) */
.aktar-audio-console {
  position: fixed;
  right: 18px;
  bottom: 54px;
  z-index: 2800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.audio-console-pill {
  background: linear-gradient(135deg, #163022 0%, #204632 100%);
  color: #F3D478;
  border: 1.5px solid #D4AF37;
  border-radius: 99px;
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: var(--transition-fast);
}

.audio-console-pill:hover {
  transform: translateY(-2px);
  background: #1B3B2B;
}

.audio-eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.audio-eq-bars span {
  width: 3px;
  height: 5px;
  background: #F3D478;
  border-radius: 2px;
  transition: height 0.2s ease;
}

@keyframes eqBounce {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

.audio-eq-bars.is-playing span:nth-child(1) {
  animation: eqBounce 0.65s ease-in-out infinite;
}
.audio-eq-bars.is-playing span:nth-child(2) {
  animation: eqBounce 0.5s ease-in-out 0.15s infinite;
}
.audio-eq-bars.is-playing span:nth-child(3) {
  animation: eqBounce 0.75s ease-in-out 0.3s infinite;
}

.audio-console-panel {
  width: 330px;
  max-width: calc(100vw - 28px);
  background: #172E21;
  color: #FAF6EE;
  border: 1.5px solid #D4AF37;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}

.audio-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 10px;
}

.audio-panel-header strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: #F3D478;
  letter-spacing: 0.6px;
}

.audio-panel-header small {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: #CBBFA8;
}

.audio-track-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audio-track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(250, 246, 238, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.audio-track-row strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #FFFDF8;
}

.audio-track-row small {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: #C7B9A1;
}

@media (max-width: 768px) {
  .aktar-mastery-grid {
    grid-template-columns: 1fr;
  }

  .mizac-compass-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .adulteration-Comparison-stage {
    grid-template-columns: 1fr;
  }

  .aktar-audio-console {
    right: 12px;
    bottom: 68px;
  }
}

/* ==========================================================================
   20. SKILL-TABANLI İNTERAKTİF ZANAAT ANİMASYONLARI & EVRENSEL BÜYÜTEÇ
   (hyperframes-animation, hyperframes-keyframes & Aktar Dergisi Domain Skills)
   ========================================================================== */

/* 1. Taş Kemerli Dükkân Güneş Huzmesi & Baharat Zerreleri Tuvali */
.ambient-sunbeam-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* 2. 4 Aşamalı İnteraktif Kuşburnu Zanaat Tezgâhı */
.craft-workbench-card {
  background: var(--white-warm);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.craft-workbench-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.craft-workbench-title {
  font-size: 1.55rem;
  color: var(--emerald);
  margin: 4px 0;
}

.craft-workbench-desc {
  font-size: 0.92rem;
  color: var(--sepia-muted);
  max-width: 72ch;
}

.craft-workbench-progress-pill {
  background: var(--emerald);
  color: #F4D160;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  white-space: nowrap;
}

.craft-step-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.craft-step-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: var(--parchment);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, background 0.25s ease;
}

.craft-step-tab:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.craft-step-tab.active {
  background: var(--emerald);
  border-color: #D4AF37;
  color: #FAF6EE;
  box-shadow: 0 8px 20px rgba(27, 59, 43, 0.22);
}

.craft-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--gold);
  color: var(--emerald);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.craft-step-tab.active .craft-step-num {
  background: #D4AF37;
  color: #172E21;
}

.craft-step-tab strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.25;
}

.craft-step-tab small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  opacity: 0.82;
  margin-top: 2px;
}

.craft-workbench-stage-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.craft-canvas-stage {
  background: radial-gradient(circle at 50% 35%, #2B2118 0%, #17120D 100%);
  border: 2px solid #C8A248;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  user-select: none;
}

.craft-canvas-stage canvas {
  width: 100%;
  height: 270px;
  display: block;
}

.craft-stage-overlay-hint {
  background: rgba(18, 36, 26, 0.92);
  color: #F4D160;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
}

.craft-stage-info-card {
  background: var(--parchment);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.craft-meter-bar-wrap {
  margin-top: 12px;
}

.craft-meter-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--sepia-muted);
  margin-bottom: 5px;
}

.craft-meter-track {
  width: 100%;
  height: 10px;
  background: rgba(184, 134, 11, 0.16);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(184, 134, 11, 0.35);
}

.craft-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #1B3B2B 0%, #D4AF37 100%);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 3. İnteraktif SVG Botanik Anatomi Levhası (Rosa canina) */
.botanical-anatomy-card {
  background: var(--white-warm);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}

.botanical-anatomy-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.botanical-anatomy-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  align-items: start;
}

.botanical-svg-stage {
  background: #FBF6EA;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 12px;
}

.anatomy-hotspot {
  cursor: pointer;
  outline: none;
}

.anatomy-hotspot:focus,
.anatomy-hotspot:focus-visible {
  outline: none;
}

.anatomy-hotspot .hotspot-core {
  transition: fill 0.2s ease, stroke 0.2s ease, stroke-width 0.2s ease;
}

.anatomy-hotspot:hover .hotspot-core {
  fill: #2B5B42;
  stroke: #FFE58F;
  stroke-width: 2.8px;
}

@keyframes hotspotPulseRing {
  0% {
    r: 12px;
    opacity: 0.72;
  }
  70% {
    r: 21px;
    opacity: 0;
  }
  100% {
    r: 12px;
    opacity: 0;
  }
}

.anatomy-hotspot .hotspot-pulse {
  pointer-events: none;
  animation: hotspotPulseRing 2s ease-out infinite;
}

.anatomy-hotspot.active .hotspot-core {
  fill: #8B261D;
  stroke: #FFD966;
  stroke-width: 2.8px;
}

.anatomy-hotspot-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.botanical-anatomy-detail {
  background: var(--parchment);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 4. Pirinç Usturlap & Mizaç Pusulası Kadranı */
.astrolabe-dial-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6px 0 12px;
}

@keyframes astrolabeHaloBreathe {
  0%, 100% {
    r: 14px;
    opacity: 0.28;
  }
  50% {
    r: 20px;
    opacity: 0.58;
  }
}

#astrolabeActiveHalo {
  pointer-events: none;
  animation: astrolabeHaloBreathe 2.4s ease-in-out infinite;
}

/* 5. Kehribar Kavanoz Rafı Altın Işık Yansıması (Shimmer Sweep) */
.jar-card {
  position: relative;
  overflow: hidden;
}

.jar-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(244, 209, 96, 0.24) 50%,
    transparent 80%
  );
  transform: skewX(-18deg);
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.jar-card:hover::after,
.jar-card:focus-visible::after {
  left: 140%;
}

/* 6. Kaydırma Tetikli (Scroll-Triggered) Editoryal Sahne Koreografisi */
.scroll-reveal-item {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.scroll-reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* 7. Evrensel Tam Ekran Görsel Büyüteci (Lightbox) */
.image-zoom-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 14, 0.95);
  backdrop-filter: blur(14px);
  z-index: 2600;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.lightbox-title {
  color: #FAF6EE;
  font-size: 1.2rem;
  margin-top: 4px;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lightbox-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: grab;
  margin: 10px 0;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at center, rgba(250, 246, 238, 0.06) 0%, rgba(0, 0, 0, 0.4) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.lightbox-viewport:active {
  cursor: grabbing;
}

.lightbox-viewport img {
  max-width: 92%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid var(--gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  transition: transform 0.15s ease-out;
  transform-origin: center center;
  user-select: none;
}

.lightbox-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.lightbox-caption-text {
  color: #E5DEC9;
  font-size: 0.92rem;
  max-width: 75ch;
}

@media (max-width: 768px) {
  .craft-workbench-card,
  .botanical-anatomy-card {
    padding: 16px 14px;
  }

  .craft-step-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .craft-workbench-stage-grid,
  .botanical-anatomy-grid {
    grid-template-columns: 1fr;
  }

  .craft-canvas-stage canvas {
    height: 220px;
  }

  .image-zoom-lightbox {
    padding: 12px;
  }
}

/* ==========================================================================
   21. CLAUDE HYPERFRAMES UI-MOTION MODÜLLERİ
   (chart-scrub-readout.md, control-target-sync.md, split-tilt-cards.md)
   ========================================================================== */
.scrub-lab-card {
  background: var(--white-warm);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}

.scrub-lab-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.scrub-time-pill {
  background: #1B3B2B;
  color: #F4D160;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 195px;
  text-align: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--gold);
}

.scrub-lab-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.scrub-chart-stage {
  position: relative;
  background: #FBF6EA;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: ew-resize;
  user-select: none;
}

.scrub-floating-tooltip {
  position: absolute;
  top: 16px;
  left: 56px;
  min-width: 168px;
  background: rgba(23, 46, 33, 0.94);
  color: #FAF6EE;
  border: 1px solid #D4AF37;
  border-radius: 8px;
  padding: 7px 10px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform 0.08s linear;
}

.scrub-floating-tooltip strong {
  color: #F4D160;
  font-size: 0.78rem;
}

.tip-row-emerald b {
  color: #7CE8A6;
}

.tip-row-coral b {
  color: #FF8E85;
}

.scrub-slider-bar {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald);
}

.scrub-slider-bar input[type="range"] {
  flex: 1;
  accent-color: #1B3B2B;
  cursor: pointer;
}

.scrub-target-panel {
  background: var(--parchment);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scrub-gauges-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.scrub-gauge-box {
  background: var(--white-warm);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-variant-numeric: tabular-nums;
}

.scrub-gauge-box.is-good {
  border-left: 3.5px solid var(--emerald);
}

.scrub-gauge-box.is-bad {
  border-left: 3.5px solid var(--coral);
}

.gauge-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--sepia-muted);
}

.gauge-big-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--emerald);
  margin: 2px 0;
}

.scrub-gauge-box.is-bad .gauge-big-num {
  color: var(--coral);
}

.gauge-mini-bar {
  height: 6px;
  background: rgba(27, 59, 43, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}

.gauge-mini-bar > div {
  height: 100%;
  background: var(--emerald);
  transition: width 0.12s linear;
}

.gauge-mini-bar.is-coral > div {
  background: var(--coral);
}

.scrub-cup-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.scrub-cup-visual {
  background: var(--white-warm);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
}

.cup-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sepia-ink);
  margin-bottom: 6px;
}

.cup-liquid-preview {
  width: 64px;
  height: 42px;
  margin: 0 auto 6px;
  border-radius: 4px 4px 22px 22px;
  border: 2px solid #D4AF37;
  transition: background 0.15s linear;
}

/* Split-Tilt-Cards (rules/split-tilt-cards.md) — 3D Karşılaştırma Sahnesi */
.adulteration-Comparison-stage {
  perspective: 1400px;
  transform-style: preserve-3d;
}

.beaker-test-box.is-authentic {
  transform: rotateY(4deg);
  box-shadow: -8px 12px 24px rgba(27, 59, 43, 0.10);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.beaker-test-box.is-fake {
  transform: rotateY(-4deg);
  box-shadow: 8px 12px 24px rgba(139, 38, 29, 0.10);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.beaker-test-box:hover {
  transform: rotateY(0deg) translateY(-3px);
}

@media (max-width: 768px) {
  .scrub-lab-grid,
  .scrub-gauges-row,
  .scrub-cup-comparison {
    grid-template-columns: 1fr;
  }

  .beaker-test-box.is-authentic,
  .beaker-test-box.is-fake {
    transform: none;
  }
}

/* ==========================================================================
   17. KÜLLİYAT TEKNİK PAKETLERİ (PAKET 2, 3, 4, 5, 6) — MÜZE & ATÖLYE STİLLERİ
   ========================================================================== */

/* --- PAKET 2: 365 Gün Anadolu Biyoiklimsel Takvimi & Faz Farkı (Phase-Lag) --- */
.bioclimatic-compass-card {
  border: 1.5px solid var(--gold);
  background: linear-gradient(180deg, #FDFBF6 0%, #F7F0E2 100%);
}

.bioclimatic-month-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.bioclimatic-month-btn {
  background: var(--white-warm);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 9px 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sepia-ink);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.bioclimatic-month-btn small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  color: var(--sepia-muted);
  margin-top: 2px;
}

.bioclimatic-month-btn:hover {
  border-color: var(--emerald);
  transform: translateY(-1px);
}

.bioclimatic-month-btn.active {
  background: var(--emerald);
  color: #F9E090;
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(27, 59, 43, 0.22);
}

.bioclimatic-month-btn.active small {
  color: #EAE0CE;
}

.bioclimatic-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.bioclimatic-info-box {
  background: var(--white-warm);
  border: 1px solid var(--gold-border);
  border-left: 3.5px solid var(--emerald);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.bioclimatic-info-box.is-storm {
  border-left-color: var(--coral);
}

.bioclimatic-info-box.is-mizac {
  border-left-color: var(--gold);
}

.phaselag-matrix-wrap {
  background: var(--white-warm);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.phaselag-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.phaselag-legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.phaselag-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.phaselag-tag.harvest {
  background: rgba(27, 94, 58, 0.14);
  color: #1B5E3A;
  border: 1px solid rgba(27, 94, 58, 0.35);
}

.phaselag-tag.cure {
  background: rgba(184, 134, 11, 0.16);
  color: #7A5600;
  border: 1px solid rgba(184, 134, 11, 0.4);
}

.phaselag-tag.consume {
  background: rgba(168, 50, 40, 0.14);
  color: #8B261D;
  border: 1px solid rgba(168, 50, 40, 0.35);
}

.phaselag-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phaselag-row {
  display: grid;
  grid-template-columns: 210px 1fr 220px;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: #FAF5EA;
  border: 1px solid rgba(184, 134, 11, 0.22);
}

.phaselag-months-bar {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
}

.phaselag-cell {
  height: 24px;
  border-radius: 3px;
  background: rgba(44, 34, 24, 0.06);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sepia-muted);
  position: relative;
}

.phaselag-cell.is-harvest {
  background: #1B5E3A;
  color: #FFF;
}

.phaselag-cell.is-cure {
  background: #C58F14;
  color: #FFF;
}

.phaselag-cell.is-consume {
  background: #9E3024;
  color: #FFF;
}

.phaselag-cell.is-selected-month {
  outline: 2.5px solid #1E160E;
  z-index: 2;
}

/* --- PAKET 3: IFRA Dermal Seyreltme & 1:7 Merhem Laboratuvarı --- */
.ifra-controls-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.ifra-control-box {
  background: var(--white-warm);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.ifra-control-box label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 6px;
}

.ifra-result-stage {
  background: var(--white-warm);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 18px;
}

.ifra-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.ifra-metric-card {
  background: #FAF5EA;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.ifra-metric-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--emerald);
  line-height: 1.15;
  margin: 4px 0;
}

.ifra-shield-alert {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.5;
}

.ifra-shield-alert.is-danger {
  background: rgba(168, 50, 40, 0.10);
  border-left: 4px solid var(--coral);
  color: #6B1610;
}

.ifra-shield-alert.is-safe {
  background: rgba(27, 94, 58, 0.09);
  border-left: 4px solid var(--emerald);
  color: var(--emerald);
}

/* --- PAKET 4: Çoklu Bitki × Çoklu İlaç CYP450 Radarı & 2016/8 Kara Liste --- */
.radar-selectors-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.radar-selector-col {
  background: var(--white-warm);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.radar-col-title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.radar-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radar-pill-btn {
  background: #FAF5EA;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sepia-ink);
  cursor: pointer;
  transition: all 0.18s ease;
}

.radar-pill-btn.active.is-herb {
  background: var(--emerald);
  color: #F9E090;
  border-color: var(--gold);
}

.radar-pill-btn.active.is-drug {
  background: #8B261D;
  color: #FFF;
  border-color: #D4AF37;
}

.radar-matrix-result {
  background: var(--white-warm);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}

.titck-blacklist-panel {
  background: #FDF6F5;
  border: 1.5px solid rgba(168, 50, 40, 0.45);
  border-radius: var(--radius-md);
  padding: 16px;
}

/* --- PAKET 5: 1502 Bursa İhtisab Kanunnamesi & Lonca Kalfalık Sınavı --- */
.guild-quiz-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
  align-items: start;
}

.quiz-question-card {
  background: var(--white-warm);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.quiz-option-btn {
  text-align: left;
  background: #FAF5EA;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--sepia-ink);
  cursor: pointer;
  transition: all 0.18s ease;
}

.quiz-option-btn.is-correct {
  background: rgba(27, 94, 58, 0.14);
  border-color: #1B5E3A;
  color: #124228;
  font-weight: 700;
}

.quiz-option-btn.is-wrong {
  background: rgba(168, 50, 40, 0.12);
  border-color: #8B261D;
  color: #6B1610;
}

.guild-berat-certificate {
  background: radial-gradient(circle at center, #FFFDF7 0%, #F3E7CC 100%);
  border: 3px double var(--gold);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(44, 34, 24, 0.12);
  position: relative;
}

/* --- PAKET 6: Tezgâh Defterim & A5 Yazdırılabilir Aktar Fişi --- */
.a5-prescription-slip {
  background: #FFFDF8;
  border: 2px double var(--gold);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 12px;
  font-family: var(--font-serif);
}

@media (max-width: 900px) {
  .bioclimatic-month-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bioclimatic-status-grid,
  .ifra-controls-grid,
  .ifra-metrics-row,
  .radar-selectors-wrap,
  .guild-quiz-grid,
  .phaselag-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   18. PERFORMANS & SAYFA BAŞINA GÖSTERİM SEÇİCİ (20 [VARSAYILAN] / 50 / 75)
   ========================================================================== */
.pagination-top-bar {
  margin-bottom: 14px;
}

.pagination-bottom-bar {
  margin-top: 18px;
}

.pagination-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--white-warm);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-family: var(--font-sans);
}

.pagination-summary {
  font-size: 0.83rem;
  color: var(--sepia-ink);
}

.pagination-summary strong {
  color: var(--emerald);
}

.pagination-controls-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.page-size-pills,
.page-nav-pills {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.page-size-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--sepia-muted);
  margin-right: 4px;
}

.page-size-btn,
.page-num-btn {
  appearance: none;
  background: #FAF5EA;
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  padding: 5px 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sepia-ink);
  cursor: pointer;
  transition: all 0.16s ease;
}

.page-size-btn:hover,
.page-num-btn:hover:not(:disabled) {
  border-color: var(--emerald);
  color: var(--emerald);
}

.page-size-btn.active,
.page-num-btn.active {
  background: var(--emerald);
  color: #F9E090;
  border-color: var(--gold);
}

.page-num-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

/* ==========================================================================
   19. ODUNSU CEVİZ & MEŞE ATTAR TEZGÂHI DOKUSU + 3D WII / KÜTÜPHANE RAF VİTRİNİ
   ========================================================================== */

/* Genel Kartlarda Ahşap Çerçeve & Parşömen Derinliği */
.ottoman-card,
.plant-card,
.recipe-card,
.week-card,
.ebook-card,
.filter-toolbar,
.pagination-toolbar {
  background-color: var(--bg-card);
  background-image:
    var(--wood-grain-pattern),
    linear-gradient(180deg, #FBF5E8 0%, #F3E7D1 100%);
  border: 1.5px solid rgba(112, 68, 34, 0.36);
  box-shadow:
    inset 0 2px 0 rgba(255, 248, 231, 0.85),
    inset 0 -2px 0 rgba(120, 74, 36, 0.14),
    0 8px 22px rgba(36, 20, 9, 0.11);
}

.section-header {
  border-bottom: 2px solid rgba(110, 66, 32, 0.35);
  position: relative;
}

/* 3D Ceviz Kütüphane ve Yarı-3D Sanal Kitaplık Sahnesi (Sayfa Boyu) */
.wood-library-monolith.semi3d-library-stage {
  margin-top: 28px;
  min-height: 88vh;
  border-radius: 18px;
  padding: 7px;
  background-color: #1A0E07;
  background-image:
    var(--wood-dark-grain-pattern),
    linear-gradient(135deg, #3D2111 0%, #1B0E07 50%, #321A0D 100%);
  border: 3px solid #C89D3C;
  box-shadow:
    0 26px 64px rgba(16, 8, 3, 0.52),
    inset 0 0 0 2px rgba(212, 175, 55, 0.28);
  position: relative;
  overflow: hidden;
}

/* Arka Plan: Taş Kemer ve Kehribar Kavanoz Rafları Atmosferi (Kesik Kutu Çizgisi Yok) */
.semi3d-apothecary-backdrop {
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(235, 178, 72, 0.22) 0%, rgba(44, 26, 12, 0.78) 52%, rgba(14, 20, 15, 0.96) 100%),
    linear-gradient(180deg, #10281B 0%, #24150B 45%, #1E1108 100%);
}

.semi3d-apothecary-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(212, 175, 55, 0.14) 0%, rgba(16, 40, 27, 0.45) 65%, transparent 100%);
  opacity: 0.75;
  pointer-events: none;
}

.backdrop-stone-arch,
.backdrop-amber-jars-row,
.backdrop-hanging-herbs {
  display: none !important;
}

.wood-library-frame-inner {
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  border-radius: 12px;
  padding: 20px 18px 22px;
  color: #FAF2E1;
  position: relative;
  z-index: 2;
}

.wood-library-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 10px;
}

.wood-library-kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #DFCFAF;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.wood-library-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #123322 0%, #1E4B33 50%, #123322 100%);
  border: 1.5px solid #D4AF37;
  border-radius: 999px;
  padding: 4px 16px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.1px;
  color: #FFE494;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  margin-bottom: 6px;
}

.wood-library-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: #FFFDF7;
  letter-spacing: 1.2px;
  line-height: 1.1;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
}

.wood-library-sub-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  font-weight: 700;
  color: #E7C469;
  letter-spacing: 0.9px;
  margin-top: 2px;
}

.wood-library-meta-line {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: #E5D7BC;
  margin-top: 4px;
}

.wood-library-mode-bar {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 5px;
  background: rgba(20, 11, 6, 0.76);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
}

.wood-mode-btn {
  appearance: none;
  background: transparent;
  color: #E2D1B3;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 15px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wood-mode-btn:hover {
  color: #FFE89E;
  border-color: rgba(212, 175, 55, 0.45);
}

.wood-mode-btn.active {
  background: linear-gradient(180deg, #59331B 0%, #361D0E 100%);
  color: #FFE89E;
  border-color: #E5C158;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.28);
}

/* 3D Ceviz Raf ve Gerçek Kapaklı Kitaplar Sahnesi */
.wood-shelf-3d-viewport {
  position: relative;
  padding: 12px 10px 0;
  perspective: 1800px;
}

.wood-shelf-prop {
  position: absolute;
  bottom: 42px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.88;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.65));
}

.prop-left-scale {
  left: 8px;
}

.prop-right-mortar {
  right: 8px;
}

@media (max-width: 1180px) {
  .wood-shelf-prop {
    display: none;
  }
}

.wood-books-stage {
  position: relative;
  min-height: 214px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  transform-style: preserve-3d;
  z-index: 6;
  padding: 14px 12px 8px;
}

/* SABİT HOVER YUVASI (.wood-book-slot):
   Boyutu ve konumu ASLA değişmez! Böylece fareyle üzerine gelindiğinde
   kitaplar sağa/sola kaçmaz ve yanındaki kitabın seçimini engellemez! */
.wood-book-slot {
  position: relative;
  width: 108px;
  height: 172px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  perspective: 1200px;
  z-index: 10;
  outline: none;
}

.wood-books-stage.mode-spine .wood-book-slot {
  width: 72px;
  height: 204px;
}

.wood-book-slot.is-focused {
  z-index: 45 !important;
}

/* Gerçek Kapaklı Yarı-3D Kitap Modeli (.wood-book-3d)
   pointer-events: none sayesinde açılan kapak yan kitabın hover'ını ASLA kapatmaz! */
.wood-book-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  pointer-events: none;
  overflow: visible;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.25s ease;
  user-select: none;
}

/* Kitabın Gerçek Ön Kapağı (cover.png) — Hover/Seçimde Menteşeden Açılır */
.book-3d-front-cover {
  position: absolute;
  inset: 0;
  border-radius: 3px 6px 6px 3px;
  background: #143624;
  border: 2px solid #D4AF37;
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 162, 0.35),
    0 12px 24px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  backface-visibility: hidden;
  z-index: 5;
  pointer-events: none;
}

.book-cover-top-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(14, 34, 23, 0.88);
  border-bottom: 1px solid #D4AF37;
  color: #FFE494;
  font-family: var(--font-sans);
  font-size: 0.48rem;
  font-weight: 800;
  text-align: center;
  padding: 2px 3px;
  letter-spacing: 0.4px;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-3d-front-cover img.book-real-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-cover-hover-ribbon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(16, 36, 25, 0.84) 0%, rgba(12, 28, 19, 0.96) 100%);
  border-top: 1px solid #D4AF37;
  padding: 3px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.54rem;
  font-weight: 800;
  color: #FFE494;
  z-index: 2;
}

.book-cover-roman-badge {
  background: #D4AF37;
  color: #1A1008;
  padding: 0 4px;
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.58rem;
}

/* Kitabın 3D Sol Deri Sırtı */
.book-3d-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20px;
  width: 20px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.48) 0%, rgba(255,255,255,0.14) 48%, rgba(0,0,0,0.42) 100%),
    var(--book-spine-color, #17462F);
  border: 1.5px solid #D4AF37;
  border-radius: 3px 0 0 3px;
  transform-origin: right center;
  transform: rotateY(-82deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 4px 1px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  pointer-events: none;
}

/* Cilt Sırtı Raf Modunda (mode-spine) Görünen Osmanlı Deri & Altın Tezhip Sırt */
.book-spine-showcase-face {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background:
    radial-gradient(circle at 50% 52%, rgba(212, 175, 55, 0.18) 0%, transparent 65%),
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(255,255,255,0.1) 50%, rgba(0,0,0,0.45) 100%),
    var(--book-spine-color, #17462F);
  border: 2px solid #D4AF37;
  box-shadow:
    inset 0 0 0 2px rgba(212, 175, 55, 0.25),
    0 12px 24px rgba(0, 0, 0, 0.65);
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 6px 3px;
  z-index: 8;
  overflow: hidden;
  pointer-events: none;
}

.wood-books-stage.mode-spine .book-spine-showcase-face {
  display: flex;
}

/* Spine modunda iç sayfa ve ön kapak taşmasını %100 engelle! */
.wood-books-stage.mode-spine .book-3d-front-cover,
.wood-books-stage.mode-spine .book-3d-inner-pages,
.wood-books-stage.mode-spine .book-3d-spine {
  display: none !important;
}

.spine-tezhip-crown {
  width: 100%;
  height: 24px;
  border: 1px solid rgba(212, 175, 55, 0.65);
  border-radius: 3px;
  background: radial-gradient(circle at 50% 50%, #F2D16B 0%, #9E741E 75%, #4A3308 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A1107;
  font-size: 0.64rem;
  font-weight: 800;
  flex-shrink: 0;
}

.spine-rib-band {
  width: 100%;
  height: 4px;
  background: linear-gradient(180deg, #F5DC8B 0%, #9A7228 50%, #2C1D06 100%);
  border-radius: 2px;
  flex-shrink: 0;
}

.spine-roman-box {
  width: 100%;
  padding: 3px 0;
  text-align: center;
  border-top: 1.5px solid #D4AF37;
  border-bottom: 1.5px solid #D4AF37;
  background: rgba(10, 24, 16, 0.88);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: #FFE494;
  flex-shrink: 0;
}

/* Kitabın Sağ Altın Yaldızlı Kağıt Sayfa Bloğu ve Açılınca Görünen İlk Yaprağı */
.book-3d-inner-pages {
  position: absolute;
  inset: 3px 2px 3px 4px;
  border-radius: 2px 6px 6px 2px;
  background:
    repeating-linear-gradient(90deg, #FDF8EC 0px, #FDF8EC 2px, #E3D1AF 3px),
    linear-gradient(180deg, #FAF1DF 0%, #EADAB9 100%);
  border: 1px solid #C89D3C;
  box-shadow: inset 5px 0 12px rgba(48, 28, 12, 0.25);
  z-index: 2;
  padding: 6px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #241911;
  overflow: hidden;
  pointer-events: none;
}

/* Masaüstü Hover ile Kitap Kapağının Açılması (.is-opened) */
.wood-book-3d.is-opened .book-3d-front-cover {
  transform: rotateY(-118deg);
  box-shadow: -8px 10px 20px rgba(0, 0, 0, 0.55);
}

.wood-book-3d.is-focused {
  filter: drop-shadow(0 0 18px rgba(242, 198, 84, 0.65));
}

/* Ceviz Ağacı 3D Raf Zemini (Ledge) */
.wood-walnut-plank-ledge {
  position: relative;
  margin-top: -4px;
  z-index: 4;
}

.wood-plank-top-surface {
  height: 16px;
  background-color: #3A2010;
  background-image:
    var(--wood-dark-grain-pattern),
    linear-gradient(180deg, #26140A 0%, #4E2C17 55%, #663B20 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 6px 6px 0 0;
  transform: perspective(600px) rotateX(28deg);
  transform-origin: bottom center;
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.65);
}

.wood-plank-front-lip {
  background-color: #2B170C;
  background-image:
    var(--wood-dark-grain-pattern),
    linear-gradient(180deg, #4D2B16 0%, #2B170C 55%, #1A0D06 100%);
  border-top: 2px solid #D4AF37;
  border-bottom: 3px solid #8A621C;
  border-radius: 0 0 8px 8px;
  padding: 6px 14px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: #F6DF96;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   SAYFA BOYU AÇIK KİTAP OKUMA SAHNESİ (#woodOpenedBookDrawer.semi3d-open-reader-stage)
   ========================================================================== */
.wood-opened-book-drawer.semi3d-open-reader-stage {
  margin-top: 14px;
  background-color: #24140B;
  background-image:
    var(--wood-dark-grain-pattern),
    radial-gradient(ellipse at 50% 50%, rgba(74, 43, 22, 0.92) 0%, rgba(28, 15, 8, 0.98) 100%);
  border: 2.5px solid #D4AF37;
  border-radius: 14px;
  padding: 16px 18px 18px;
  color: #FAF2E1;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(212, 175, 55, 0.28);
}

.open-book-reader-toolbar,
.semi3d-reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  margin-bottom: 12px;
}

/* Rahle Üstü 10 Kitap Hızlı Seçim Şeridi (Hover veya Tıklama ile Anında Kitap Değiştirir) */
.open-book-quick-vol-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding: 8px 10px;
  background: rgba(14, 8, 4, 0.62);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 10px;
}

.quick-vol-pill-btn {
  appearance: none;
  background: rgba(255, 255, 255, 0.06);
  color: #EADBC0;
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: 7px;
  padding: 5px 10px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.quick-vol-pill-btn:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: #FFE494;
  color: #FFFDF7;
}

.quick-vol-pill-btn.active {
  background: linear-gradient(180deg, #E2B94B 0%, #B3831E 100%);
  color: #1A1008;
  border-color: #FFF2B8;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.38);
}

/* Rahle Üstü ve Altı Yüksek Kontrastlı Kitap Düğmeleri (Beyaz Üstüne Beyaz Sorununu Önler) */
.book-toolbar-btn {
  appearance: none;
  background: rgba(255, 248, 231, 0.09);
  color: #F7E8C8;
  border: 1px solid rgba(212, 175, 55, 0.52);
  border-radius: 7px;
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.book-toolbar-btn:hover:not(:disabled) {
  background: rgba(212, 175, 55, 0.24);
  border-color: #FFE494;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.book-toolbar-btn.active {
  background: linear-gradient(180deg, #E5C158 0%, #B3831E 100%);
  color: #1A1008;
  border-color: #FFF4C2;
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.42);
}

.book-toolbar-btn.btn-emerald-accent {
  background: linear-gradient(180deg, #1E5438 0%, #123623 100%);
  color: #FFE8A3;
  border-color: #D4AF37;
}

.book-toolbar-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

/* Açık Kitap Karşılıklı Çift Sayfa (Sol Yaprak + Orta Cilt Oluk + Sağ Yaprak) */
.open-book-spread-desk {
  position: relative;
  perspective: 2200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.open-book-two-pages {
  width: 100%;
  max-width: 1200px;
  height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: linear-gradient(180deg, #4A2813 0%, #2E170A 100%);
  border: 4px solid #63371B;
  border-radius: 12px;
  padding: 10px;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.68),
    inset 0 0 0 2px #D4AF37;
  position: relative;
  perspective: 2400px;
  transform-style: preserve-3d;
  box-sizing: border-box;
}

.open-book-center-Crease {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 34px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(32, 16, 6, 0.18) 30%,
    rgba(14, 6, 2, 0.62) 50%,
    rgba(32, 16, 6, 0.18) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 8;
}

/* Aharlı Kitap Sayfası Yaprağı (Ahşap çizgileri kaldırıldı -> Saf krem parşömen + Tezhip çerçeve) */
.open-book-leaf {
  background:
    radial-gradient(ellipse at 50% 45%, #FFFDF8 0%, #FAF2E1 72%, #F1E3C6 100%);
  color: #1F1914;
  padding: 20px 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Zarif Osmanlı Çift Çizgi Tezhip İç Çerçevesi */
.open-book-leaf::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(184, 134, 11, 0.34);
  outline: 1px solid rgba(184, 134, 11, 0.15);
  outline-offset: -4px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 1;
}

.open-book-leaf.leaf-left {
  border-radius: 7px 0 0 7px;
  border-right: 1px solid rgba(138, 92, 34, 0.42);
  box-shadow:
    inset -22px 0 32px rgba(48, 28, 12, 0.15),
    -4px 0 0 #E6D5B5,
    -7px 0 0 #CBB58D;
}

.open-book-leaf.leaf-right {
  border-radius: 0 7px 7px 0;
  border-left: 1px solid rgba(138, 92, 34, 0.42);
  box-shadow:
    inset 22px 0 32px rgba(48, 28, 12, 0.15),
    4px 0 0 #E6D5B5,
    7px 0 0 #CBB58D;
}

/* ==========================================================================
   KÖŞEDEN KIVRILAN CANLI SAYFA ÇEVİRME ÜÇGENİ (.book-corner-curl)
   + 3D MENTEŞELİ SAYFA ÇEVRİLME ANİMASYONU (.book-3d-flip-sheet)
   ========================================================================== */
.book-corner-curl {
  position: absolute;
  bottom: 0;
  width: 58px;
  height: 58px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 15;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1), height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.book-corner-curl.curl-right {
  right: 0;
}

.book-corner-curl.curl-left {
  left: 0;
}

.book-corner-curl.curl-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 47%,
    rgba(42, 24, 10, 0.28) 49%,
    #FFFDF7 51%,
    #E6D3AE 76%,
    #C4A468 100%
  );
  border-top-left-radius: 12px;
  box-shadow: -5px -5px 14px rgba(32, 18, 6, 0.28);
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  animation: cornerCurlBreath 2.6s ease-in-out infinite;
}

.book-corner-curl.curl-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    225deg,
    transparent 0%,
    transparent 47%,
    rgba(42, 24, 10, 0.28) 49%,
    #FFFDF7 51%,
    #E6D3AE 76%,
    #C4A468 100%
  );
  border-top-right-radius: 12px;
  box-shadow: 5px -5px 14px rgba(32, 18, 6, 0.28);
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cornerCurlBreath {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
    transform-origin: bottom right;
  }
}

.open-book-leaf.leaf-right:hover .book-corner-curl.curl-right,
.book-corner-curl.curl-right:hover {
  width: 88px;
  height: 88px;
}

.open-book-leaf.leaf-left:hover .book-corner-curl.curl-left,
.book-corner-curl.curl-left:hover {
  width: 82px;
  height: 82px;
}

.curl-peel-label {
  position: absolute;
  bottom: 8px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  color: #FFF6D6;
  background: rgba(20, 52, 34, 0.92);
  border: 1px solid #D4AF37;
  border-radius: 99px;
  padding: 2px 8px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.38);
  pointer-events: none;
  transition: transform 0.22s ease;
}

.book-corner-curl.curl-right .curl-peel-label {
  right: 8px;
}

.book-corner-curl.curl-left .curl-peel-label {
  left: 8px;
}

.book-corner-curl:hover .curl-peel-label {
  transform: scale(1.08);
  background: #8B1E1E;
}

/* 3D Menteşeli Dönen Yaprak Katmanı (Gerçek Kitap Sayfası Çevirme Animasyonu!) */
.book-3d-flip-sheet {
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: calc(50% - 10px);
  z-index: 30;
  transform-style: preserve-3d;
  pointer-events: none;
}

.book-3d-flip-sheet.flip-next {
  left: 50%;
  transform-origin: left center;
  animation: bookPageTurnNext3D 0.64s cubic-bezier(0.32, 0.04, 0.24, 1) forwards;
}

.book-3d-flip-sheet.flip-prev {
  left: 10px;
  transform-origin: right center;
  animation: bookPageTurnPrev3D 0.64s cubic-bezier(0.32, 0.04, 0.24, 1) forwards;
}

.flip-sheet-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: radial-gradient(ellipse at 50% 45%, #FFFDF8 0%, #FAF2E1 72%, #EAD8B5 100%);
  color: #1F1914;
  padding: 20px 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #C89D3C;
}

.book-3d-flip-sheet.flip-next .flip-sheet-front {
  border-radius: 0 7px 7px 0;
  box-shadow: -18px 0 38px rgba(18, 9, 3, 0.42);
}

.book-3d-flip-sheet.flip-next .flip-sheet-back {
  border-radius: 7px 0 0 7px;
  transform: rotateY(180deg);
  box-shadow: 18px 0 38px rgba(18, 9, 3, 0.42);
}

.book-3d-flip-sheet.flip-prev .flip-sheet-front {
  border-radius: 7px 0 0 7px;
  box-shadow: 18px 0 38px rgba(18, 9, 3, 0.42);
}

.book-3d-flip-sheet.flip-prev .flip-sheet-back {
  border-radius: 0 7px 7px 0;
  transform: rotateY(-180deg);
  box-shadow: -18px 0 38px rgba(18, 9, 3, 0.42);
}

@keyframes bookPageTurnNext3D {
  0% {
    transform: rotateY(0deg) skewY(0deg);
  }
  45% {
    transform: rotateY(-88deg) skewY(-2.2deg);
  }
  100% {
    transform: rotateY(-180deg) skewY(0deg);
  }
}

@keyframes bookPageTurnPrev3D {
  0% {
    transform: rotateY(0deg) skewY(0deg);
  }
  45% {
    transform: rotateY(88deg) skewY(2.2deg);
  }
  100% {
    transform: rotateY(180deg) skewY(0deg);
  }
}

.open-book-leaf-header,
.book-leaf-running-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1.5px solid rgba(154, 114, 40, 0.42);
  padding-bottom: 6px;
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: 0.69rem;
  font-weight: 800;
  color: #5E4732;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Ön Kapak & Arka Kapak Yaprak İçi Görünümü */
.open-book-cover-showcase {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.open-book-cover-showcase img {
  max-width: 100%;
  max-height: 365px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  border: 2px solid #C89D3C;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  display: block;
  margin: 0 auto;
  cursor: zoom-in;
  transition: transform 0.22s ease;
}

.open-book-cover-showcase img:hover {
  transform: scale(1.02);
}

/* Yaprak İçeriği ve Zarif Altın Kaydırma Çubuğu (Gri Windows Scrollbar Kaldırıldı!) */
.open-book-leaf-body,
.book-leaf-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  font-family: var(--font-serif);
  font-size: 0.94rem;
  line-height: 1.58;
  color: #211B15;
  position: relative;
  z-index: 2;
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 134, 11, 0.45) rgba(242, 229, 202, 0.35);
}

.open-book-leaf-body::-webkit-scrollbar,
.book-leaf-body::-webkit-scrollbar {
  width: 5px;
}

.open-book-leaf-body::-webkit-scrollbar-track,
.book-leaf-body::-webkit-scrollbar-track {
  background: rgba(212, 175, 55, 0.1);
  border-radius: 99px;
}

.open-book-leaf-body::-webkit-scrollbar-thumb,
.book-leaf-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #C89D3C 0%, #8B6514 100%);
  border-radius: 99px;
}

.open-book-leaf-body .book-p-h2,
.open-book-leaf-body .book-p-h3,
.book-leaf-body .book-p-h2,
.book-leaf-body .book-p-h3 {
  font-family: var(--font-display);
  color: #143624;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 2px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(184, 134, 11, 0.28);
}

.open-book-leaf-body .book-p-h4,
.book-leaf-body .book-p-h4 {
  font-family: var(--font-display);
  color: #7A2017;
  font-size: 1.02rem;
  font-weight: 800;
  margin: 10px 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.open-book-leaf-body .book-page-p,
.book-leaf-body .book-page-p {
  margin-bottom: 8px;
  text-align: justify;
}

.open-book-leaf-body .book-page-quote,
.book-leaf-body .book-page-quote {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.16) 0%, rgba(255, 251, 240, 0.65) 100%);
  border-left: 3.5px solid #B8860B;
  border-radius: 0 8px 8px 0;
  padding: 9px 13px;
  margin: 9px 0;
  font-style: italic;
  color: #36281B;
  box-shadow: 0 2px 8px rgba(48, 28, 12, 0.05);
}

.open-book-leaf-body .book-page-list,
.book-leaf-body .book-page-list {
  padding-left: 18px;
  margin: 6px 0 10px;
}

.open-book-leaf-body .book-page-list li,
.book-leaf-body .book-page-list li {
  margin-bottom: 5px;
}

/* Botanik & Terkip Levhası Çerçevesi */
.open-book-leaf-body .book-page-figure,
.book-leaf-body .book-page-figure {
  margin: 8px 0 10px;
  text-align: center;
  background: linear-gradient(180deg, #FFFDF9 0%, #F7EFE0 100%);
  border: 1.5px solid rgba(184, 134, 11, 0.48);
  border-radius: 8px;
  padding: 7px 8px 6px;
  box-shadow: 0 6px 16px rgba(42, 24, 10, 0.09);
  cursor: zoom-in;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.open-book-leaf-body .book-page-figure:hover {
  border-color: #163A28;
  transform: translateY(-1px);
}

.book-page-figure-img-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.open-book-leaf-body .book-page-figure img,
.book-leaf-body .book-page-figure img,
.open-book-leaf-body img {
  max-width: 100%;
  max-height: 178px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
  margin: 0 auto;
  display: block;
}

.book-fig-zoom-pill {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(20, 54, 36, 0.88);
  color: #FFE8A3;
  border: 1px solid #D4AF37;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  pointer-events: none;
}

.open-book-leaf-body .book-page-figure figcaption,
.book-leaf-body .book-page-figure figcaption {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: #5C4938;
  margin-top: 4px;
}

/* ==========================================================================
   OSMANLI ATTAR TERKİP CETVELİ KARTLARI (.book-terkip-ledger)
   Dar 4 sütunlu sıkışık HTML tablosu yerine lüks parşömen reçete kartları!
   ========================================================================== */
.book-terkip-ledger {
  margin: 8px 0 12px;
  border: 1.5px solid rgba(184, 134, 11, 0.58);
  border-radius: 9px;
  overflow: hidden;
  background: #FFFDF9;
  box-shadow: 0 6px 18px rgba(36, 20, 9, 0.08);
}

.book-terkip-ledger-head {
  background: linear-gradient(90deg, #143624 0%, #215238 55%, #143624 100%);
  color: #FFE8A3;
  padding: 6px 12px;
  border-bottom: 1.5px solid #D4AF37;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.book-terkip-ledger-body {
  display: flex;
  flex-direction: column;
}

.book-terkip-item {
  padding: 8px 11px;
  border-bottom: 1px dashed rgba(184, 134, 11, 0.36);
  background: linear-gradient(180deg, #FFFDF9 0%, #FAF2E2 100%);
}

.book-terkip-item:last-child {
  border-bottom: none;
}

.book-terkip-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.book-terkip-herb-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #143624;
  line-height: 1.2;
}

.terkip-herb-dot {
  color: #B8860B;
  margin-right: 3px;
}

.book-terkip-badges {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.terkip-badge-gram {
  background: linear-gradient(180deg, #FDF3D0 0%, #F3DF9D 100%);
  border: 1px solid #C89D3C;
  color: #3D280A;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
}

.terkip-badge-spoon {
  background: rgba(20, 54, 36, 0.09);
  border: 1px solid rgba(20, 54, 36, 0.32);
  color: #143624;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}

.book-terkip-item-desc {
  margin-top: 5px;
  padding-left: 10px;
  border-left: 2.5px solid #D4AF37;
  font-family: var(--font-serif);
  font-size: 0.86rem;
  line-height: 1.45;
  color: #2B2118;
}

/* 2 Sütunlu Diğer Tablolar İçin Zarif Görünüm */
.book-page-table-wrap {
  overflow-x: auto;
  margin: 8px 0 10px;
  border: 1.5px solid rgba(184, 134, 11, 0.5);
  border-radius: 8px;
}

.book-page-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-serif);
  font-size: 0.84rem;
}

.book-page-table th {
  background: linear-gradient(90deg, #143624 0%, #1F4D34 100%);
  color: #FFE8A3;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 7px 10px;
  text-align: left;
  border-bottom: 1.5px solid #D4AF37;
}

.book-page-table td {
  padding: 7px 10px;
  border-bottom: 1px dashed rgba(154, 114, 40, 0.3);
  background: #FFFDF9;
  color: #241C14;
  vertical-align: top;
}

.book-page-table tr:nth-child(even) td {
  background: #FAF2E2;
}

.open-book-leaf-footer,
.book-leaf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed rgba(154, 114, 40, 0.45);
  padding-top: 7px;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: #5E4732;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Alt Koyu Zümrüt & Altın Çerçeveli 10 Eser Hızlı Seçim Levhası */
.wood-library-index-plaque {
  margin-top: 16px;
  background: linear-gradient(180deg, rgba(16, 44, 29, 0.94) 0%, rgba(10, 29, 19, 0.98) 100%);
  border: 1.5px solid #D4AF37;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.22), 0 10px 24px rgba(0, 0, 0, 0.45);
}

.wood-plaque-heading {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #F2D16B;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.wood-plaque-volumes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
  margin-bottom: 10px;
}

@media (max-width: 860px) {
  .wood-library-monolith.semi3d-library-stage {
    min-height: auto;
    margin-top: 16px;
    border-radius: 14px;
    padding: 5px;
  }

  .wood-library-frame-inner {
    padding: 12px 10px 14px;
  }

  .wood-library-kicker {
    font-size: 0.64rem;
    letter-spacing: 1px;
  }

  .wood-library-pill-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .wood-library-main-title {
    font-size: 1.32rem;
    line-height: 1.15;
  }

  .wood-library-sub-title {
    font-size: 0.94rem;
  }

  .wood-library-meta-line {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .wood-library-mode-bar {
    display: flex;
    width: 100%;
    border-radius: 12px;
    gap: 4px;
    padding: 4px;
  }

  .wood-mode-btn {
    flex: 1 1 auto;
    padding: 6px 6px;
    font-size: 0.68rem;
    border-radius: 8px;
    text-align: center;
  }

  .wood-books-stage {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 10px 10px;
    min-height: 176px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .wood-books-stage::-webkit-scrollbar {
    display: none;
  }

  .wood-book-slot {
    width: 92px;
    height: 148px;
    scroll-snap-align: center;
  }

  .wood-books-stage.mode-spine .wood-book-slot {
    width: 62px;
    height: 170px;
  }

  .wood-plank-front-lip {
    font-size: 0.68rem;
    padding: 5px 8px;
  }

  .wood-opened-book-drawer.semi3d-open-reader-stage {
    padding: 12px 10px 14px;
    border-radius: 12px;
  }

  .open-book-quick-vol-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 7px 8px;
    gap: 5px;
  }

  .open-book-quick-vol-bar::-webkit-scrollbar {
    display: none;
  }

  .quick-vol-pill-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 5px 9px;
    font-size: 0.72rem;
  }

  .open-book-reader-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .open-book-reader-toolbar h3 {
    font-size: 1.08rem !important;
  }

  .book-toolbar-btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .wood-plaque-volumes-grid {
    grid-template-columns: 1fr;
  }

  .open-book-two-pages {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 460px;
    padding: 6px;
    gap: 8px;
  }

  .open-book-center-Crease,
  .book-3d-flip-sheet {
    display: none !important;
  }

  .open-book-leaf {
    padding: 14px 14px 16px;
    max-height: 480px;
    border-radius: 6px !important;
  }

  .open-book-leaf.leaf-left {
    border-right: none;
    border-bottom: 2px solid #C89D3C;
  }

  .mobile-book-reader-topbar {
    padding: 10px 12px;
  }

  .mobile-book-page-viewport {
    margin: 8px;
    padding: 14px 12px;
  }

  .mobile-book-reader-bottombar {
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

.wood-plaque-vol-item {
  appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 6px;
  padding: 7px 11px;
  text-align: left;
  color: #F4EBD9;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wood-plaque-vol-item strong {
  color: #F2D16B;
  font-family: var(--font-display);
}

.wood-plaque-vol-item:hover,
.wood-plaque-vol-item.active {
  background: rgba(212, 175, 55, 0.2);
  border-color: #F2D16B;
  transform: translateY(-1px);
}

.wood-plaque-epigraph {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: #E2D5BC;
  border-top: 1px solid rgba(212, 175, 55, 0.32);
  padding-top: 10px;
}

.wood-plaque-author {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 4px;
}

.wood-plaque-publisher {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #E7C469;
  margin-top: 2px;
}

/* ==========================================================================
   MOBİL / TELEFON ÖZEL 3 AŞAMALI 3D KİTAP AÇILIŞ ANİMASYONU & TAM EKRAN OKUYUCU
   ========================================================================== */
.mobile-book-open-overlay {
  position: fixed;
  inset: 0;
  z-index: 3400;
  background: rgba(14, 9, 5, 0.94);
  backdrop-filter: blur(8px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-book-open-overlay.is-open {
  display: flex !important;
}

.mobile-book-3d-intro-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-book-open-overlay.is-playing-intro .mobile-book-3d-intro-stage {
  opacity: 1;
}

.mobile-book-3d-box {
  width: 230px;
  height: 336px;
  position: relative;
  transform-style: preserve-3d;
  animation: mobileBookPullOut3D 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mobile-book-3d-cover {
  position: absolute;
  inset: 0;
  border-radius: 4px 10px 10px 4px;
  border: 2.5px solid #D4AF37;
  overflow: hidden;
  transform-origin: left center;
  z-index: 3;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
  animation: mobileBookCoverSwingOpen 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mobile-book-3d-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-book-3d-firstpage {
  position: absolute;
  inset: 4px;
  border-radius: 4px 8px 8px 4px;
  background: linear-gradient(180deg, #FDF8EC 0%, #EFE0C2 100%);
  border: 1.5px solid #C89D3C;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  color: var(--emerald);
}

@keyframes mobileBookPullOut3D {
  0% {
    transform: translate3d(0, 120px, -220px) rotateX(24deg) rotateY(-28deg) scale(0.62);
  }
  45% {
    transform: translate3d(0, 0px, 40px) rotateX(4deg) rotateY(-10deg) scale(1.06);
  }
  100% {
    transform: translate3d(28px, 0px, 90px) rotateX(0deg) rotateY(0deg) scale(1.16);
  }
}

@keyframes mobileBookCoverSwingOpen {
  0%, 32% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(-162deg);
  }
}

.mobile-book-reader-shell {
  width: 100%;
  height: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #22130A;
  background-image: var(--wood-dark-grain-pattern);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.mobile-book-open-overlay.is-reader-active .mobile-book-reader-shell {
  opacity: 1;
  transform: scale(1);
}

.mobile-book-reader-topbar {
  padding: 12px 14px;
  background: rgba(16, 36, 25, 0.96);
  border-bottom: 2px solid #D4AF37;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-book-page-viewport {
  flex: 1;
  margin: 10px;
  background: linear-gradient(180deg, #FDF9F0 0%, #F2E5CA 100%);
  border: 2px solid #C89D3C;
  border-radius: 10px;
  padding: 18px 16px;
  overflow-y: auto;
  color: #1F1914;
  box-shadow: inset 0 0 18px rgba(138, 92, 34, 0.16);
}

.mobile-book-reader-bottombar {
  padding: 10px 14px 14px;
  background: rgba(24, 13, 6, 0.96);
  border-top: 1.5px solid rgba(212, 175, 55, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

@media (max-width: 1120px) {
  .wood-books-stage {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 16px 12px 14px;
    scrollbar-width: thin;
  }
}

/* ==========================================================================
   ZORUNLU TİTCK & 1262 SAYILI KANUN YASAL GİRİŞ KAPISI (LEGAL GATE OVERLAY)
   Onaylanmadıkça sitenin tamamı (body.is-legal-gate-locked) karartılır ve gizlenir.
   ========================================================================== */
body.is-legal-gate-locked {
  overflow: hidden !important;
  height: 100dvh !important;
  background-color: #060D09 !important;
}

body.is-legal-gate-locked > *:not(#titckLegalGateOverlay) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  user-select: none !important;
}

.titck-legal-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at 50% 20%, rgba(17, 40, 28, 0.98) 0%, rgba(5, 12, 8, 0.995) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.titck-legal-gate-overlay.is-unlocked {
  display: none !important;
}

.titck-legal-gate-card {
  width: 100%;
  max-width: 860px;
  max-height: calc(100dvh - 28px);
  background: #102319;
  border: 2px solid #D4AF37;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.88), 0 0 0 1px rgba(212, 175, 55, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #FAF6EE;
}

.titck-legal-gate-header {
  padding: 16px 22px 14px;
  background: linear-gradient(180deg, #163022 0%, #0E2017 100%);
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.45);
  flex-shrink: 0;
}

.titck-legal-seal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.titck-legal-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(180, 35, 24, 0.28);
  border: 1px solid #F29B94;
  color: #FFDAD6;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.titck-legal-law-codes {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: #E5C158;
  letter-spacing: 0.04em;
}

.titck-legal-title {
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 2.3vw, 1.62rem);
  font-weight: 700;
  color: #FFF8E7;
  margin: 0 0 4px;
  line-height: 1.22;
}

.titck-legal-subtitle {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #D8CEBE;
  margin: 0;
  line-height: 1.45;
}

/* YÜKSEK KONTRASTLI RESMİ BELGE OKUMA ALANI */
.titck-legal-doc-scroll {
  flex: 1 1 auto;
  min-height: 160px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #FCF8EE;
  color: #19140E;
  padding: 18px 22px;
  margin: 12px 18px;
  border-radius: 10px;
  border: 1.5px solid #C8A248;
  box-shadow: inset 0 2px 10px rgba(25, 20, 14, 0.08);
  scrollbar-width: thin;
  scrollbar-color: #8A5C22 #EFE4CE;
}

.titck-legal-article {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(138, 92, 34, 0.32);
}

.titck-legal-article:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.titck-legal-article h2 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  color: #143323;
  margin: 0 0 5px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.titck-legal-article p {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: #1F1914;
  margin: 0;
  line-height: 1.62;
}

.titck-legal-article strong {
  color: #5C130E;
  font-weight: 700;
}

.titck-legal-declined-banner {
  margin: 0 18px 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(140, 24, 18, 0.35);
  border: 1.5px solid #F08C84;
  color: #FFE4E1;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.45;
  flex-shrink: 0;
}

.titck-legal-gate-footer {
  padding: 12px 22px 16px;
  background: #0D1E15;
  border-top: 1.5px solid rgba(212, 175, 55, 0.4);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.titck-consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(255, 248, 231, 0.07);
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.81rem;
  line-height: 1.48;
  color: #F7EFE0;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.titck-consent-checkbox-label:hover {
  background: rgba(255, 248, 231, 0.12);
  border-color: #F4D160;
}

.titck-consent-checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #D4AF37;
  flex-shrink: 0;
  cursor: pointer;
}

.titck-legal-alert-msg {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(180, 35, 24, 0.35);
  border: 1px solid #F29B94;
  color: #FFDAD6;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
}

.titck-legal-action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.titck-btn-decline {
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #E2D9C8;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.titck-btn-decline:hover {
  background: rgba(180, 35, 24, 0.32);
  border-color: #F29B94;
  color: #FFFFFF;
}

.titck-btn-accept {
  padding: 11px 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  border: 1.5px solid #FFE494;
  color: #161109;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  opacity: 1;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.32);
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease, filter 0.2s ease;
}

.titck-btn-accept.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.45);
  box-shadow: none;
  transform: none;
}

.titck-btn-accept:not(.is-disabled):hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
}

.titck-reopen-legal-btn {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.65);
  color: #FFE494;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.titck-reopen-legal-btn:hover {
  background: rgba(212, 175, 55, 0.32);
}

@media (max-width: 768px) {
  .titck-legal-gate-overlay {
    padding: 8px;
  }

  .titck-legal-gate-card {
    max-height: calc(100dvh - 16px);
    border-radius: 12px;
  }

  .titck-legal-gate-header {
    padding: 12px 14px 10px;
  }

  .titck-legal-title {
    font-size: 1.05rem;
  }

  .titck-legal-subtitle {
    font-size: 0.74rem;
  }

  .titck-legal-doc-scroll {
    margin: 8px 10px;
    padding: 12px 13px;
    min-height: 120px;
  }

  .titck-legal-article h2 {
    font-size: 0.79rem;
  }

  .titck-legal-article p {
    font-size: 0.78rem;
    line-height: 1.54;
  }

  .titck-legal-gate-footer {
    padding: 10px 12px 12px;
    gap: 8px;
  }

  .titck-consent-checkbox-label {
    padding: 8px 10px;
    font-size: 0.74rem;
    gap: 9px;
  }

  .titck-legal-action-row {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 6px;
  }

  .titck-btn-accept,
  .titck-btn-decline {
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    font-size: 0.8rem;
  }
}

/* MASAÜSTÜ (PC) MODUNDA "MOBİL MAKALE GÖRÜNÜMÜ" SEKMESİNİ KALDIR */
@media (min-width: 769px) {
  #modeBtnWebapp,
  .mobile-only-reader-mode,
  #webappReaderStage {
    display: none !important;
  }
}

/* SAYFA ÇEVİRMELİ DERGİ (St.PageFlip) KÖŞE KIVRIM & SÜRÜKLEME ANİMASYONU */
.stf-book-host,
.stf__wrapper {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.stf__block {
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  perspective: 2000px;
}

.stf-live-page {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.stf-live-page:active {
  cursor: grabbing;
}

.stf-corner-curl-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 38px;
  height: 38px;
  pointer-events: none !important;
  z-index: 18;
  background: linear-gradient(135deg, transparent 46%, rgba(184, 134, 11, 0.85) 50%, #e5b842 100%);
  box-shadow: -3px -3px 10px rgba(0, 0, 0, 0.28);
  transition: width 0.2s ease, height 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.stf-page-item.--left .stf-corner-curl-badge {
  right: auto;
  left: 0;
  background: linear-gradient(225deg, transparent 46%, rgba(184, 134, 11, 0.85) 50%, #e5b842 100%);
  box-shadow: 3px -3px 10px rgba(0, 0, 0, 0.28);
}

.stf-page-item:hover .stf-corner-curl-badge {
  width: 48px;
  height: 48px;
  box-shadow: -5px -5px 14px rgba(0, 0, 0, 0.36);
}

.stf-page-item.--left:hover .stf-corner-curl-badge {
  box-shadow: 5px -5px 14px rgba(0, 0, 0, 0.36);
}

/* ==========================================================================
   BİTKİ ANSİKLOPEDİSİ (7 KATMANLI MONOGRAF MODALI) & A5 REÇETE FİŞİ MOBİL UYUM
   ========================================================================== */
.plant-modal-hero-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 18px;
}

.plant-modal-img-col {
  text-align: center;
  min-width: 0;
}

.plant-modal-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--gold);
  cursor: zoom-in;
  display: block;
}

.plant-modal-zoom-btn {
  margin-top: 6px;
  padding: 5px 10px;
  font-size: 0.76rem;
  width: 100%;
}

.plant-modal-meta-col {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.plant-modal-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.plant-modal-badges .badge {
  max-width: 100%;
  white-space: normal;
  line-height: 1.25;
  text-align: left;
}

.plant-modal-title {
  font-size: 1.48rem;
  color: var(--emerald);
  line-height: 1.2;
  margin-bottom: 2px;
}

.plant-modal-latin {
  font-style: italic;
  color: var(--sepia-muted);
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.plant-modal-meta-row {
  font-size: 0.88rem;
  line-height: 1.48;
  margin-top: 5px;
}

.plant-modal-sections {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.plant-modal-section-card {
  padding: 14px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.plant-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.a5-slip-params-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .modal-backdrop,
  .portal-modal-backdrop {
    padding: 8px;
    align-items: flex-end;
  }

  .modal-dialog,
  .portal-modal {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 14px;
    overflow-x: hidden;
  }

  .modal-header {
    padding: 12px 14px;
    gap: 10px;
  }

  .modal-header h3 {
    font-size: 1.05rem !important;
    line-height: 1.25;
    word-break: break-word;
  }

  .modal-body {
    padding: 14px;
    overflow-x: hidden;
  }

  .modal-footer {
    padding: 10px 14px;
  }

  .plant-modal-hero-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  .plant-modal-img-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .plant-modal-img {
    height: 185px;
    max-height: 185px;
    width: 100%;
    object-fit: cover;
  }

  .plant-modal-title {
    font-size: 1.25rem;
  }

  .plant-modal-latin {
    font-size: 0.94rem;
    margin-bottom: 6px;
  }

  .plant-modal-meta-row {
    font-size: 0.84rem;
  }

  .plant-modal-section-card {
    padding: 12px;
  }

  .plant-modal-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .plant-modal-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .a5-slip-params-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #plants .filter-toolbar {
    padding: 12px;
    gap: 10px;
  }

  #plants .search-input-wrap {
    min-width: 100%;
    max-width: 100%;
  }

  #plants .filter-btn-group {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  #plants .filter-btn-group::-webkit-scrollbar {
    display: none;
  }

  #plants .filter-chip {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   TİPOGRAFİK DERİ & TEZHİP CİLT KAPAKLARI (KAPAK GÖRSELLERİ OLMADAN SAF CİLT)
   ========================================================================== */
.book-typographic-cover-face {
  width: 100%;
  height: 100%;
  background: var(--book-cover-bg, linear-gradient(145deg, #1E5438 0%, #0E291B 100%));
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  box-shadow: inset 0 0 0 4px rgba(16, 36, 24, 0.45), inset 0 0 0 5px rgba(212, 175, 55, 0.35);
  padding: 24px 8px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  box-sizing: border-box;
}

.book-typo-ornament {
  font-size: 0.72rem;
  color: #F4D160;
  line-height: 1;
}

.book-typo-title {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFF6DC;
  line-height: 1.18;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}

.ebook-typographic-emblem {
  width: 148px;
  min-height: 196px;
  flex-shrink: 0;
  background: linear-gradient(155deg, #163C28 0%, #0D2418 65%, #23160C 100%);
  border: 2px solid #D4AF37;
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 4px rgba(15, 34, 23, 0.8),
    inset 0 0 0 5px rgba(212, 175, 55, 0.4),
    0 10px 24px rgba(0, 0, 0, 0.32);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ebook-typographic-emblem:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 4px rgba(15, 34, 23, 0.8),
    inset 0 0 0 5px rgba(244, 209, 96, 0.65),
    0 14px 28px rgba(0, 0, 0, 0.42);
}

.ebook-emblem-kicker {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #F4D160;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 4px;
  width: 100%;
}

.ebook-emblem-ornament {
  font-size: 0.82rem;
  color: #E5C158;
  letter-spacing: 3px;
}

.ebook-emblem-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFDF7;
  line-height: 1.22;
}

.ebook-emblem-pages {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  color: #DFCFAF;
  border-top: 1px solid rgba(212, 175, 55, 0.4);
  padding-top: 4px;
  width: 100%;
}

.open-book-typographic-plate {
  width: 100%;
  max-width: 94%;
  background: linear-gradient(180deg, #FFFDF8 0%, #F5EBD6 100%);
  border: 2px solid #C89D3C;
  box-shadow: inset 0 0 0 4px #FFFDF8, inset 0 0 0 5px rgba(200, 157, 60, 0.45);
  border-radius: 10px;
  padding: 22px 18px;
  text-align: center;
  margin: auto;
}

.mobile-book-typo-cover {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #163C28 0%, #0C2116 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  gap: 12px;
}

@media (max-width: 768px) {
  .ebook-typographic-emblem {
    width: 100%;
    min-height: 110px;
    padding: 12px;
    gap: 6px;
  }
}



