/* ============================================================
   SWEETCHERRY — ortak tasarım
   Bütün sayfalar bu dosyayı kullanır.

   İlkeler
   - Cam (glass): yarı saydam yüzey + ince parlak kenar + yumuşak gölge.
     Gerçek bulanıklık (backdrop-filter) pahalıdır; yalnızca sayfanın
     üstünde yüzen öğelerde kullanılır (header, açılır menüler, paneller).
     Sayfanın içindeki kartlar aynı görünümü bulanıklıksız verir; arkaları
     zaten yumuşak pembe olduğu için fark görünmez ama telefon kasmaz.
   - Renkler değişkenlerdedir; gece modu yalnızca değişkenleri değiştirir.
   - Renk geçişleri paletin kendi tonları arasında: blush → light → mid → accent.
   - Hiyerarşi: eyebrow → başlık (serif) → açıklama → eylem.
   - Hareket: yalnızca transform ve opacity (ekran kartı hızlandırır).
     "Hareketi azalt" tercihi açıksa animasyonlar kapanır.
   ============================================================ */

/* ============================================================
   Yazı tipleri — sitenin kendi sunucusundan
   Google Fonts'tan indirildi (Montserrat, Playfair Display, Swanky and Moo Moo).
   Her dosya yalnızca bir alfabe dilimini içerir; tarayıcı sayfada o
   karakterler varsa indirir (Türkçe için latin + latin-ext, Rusça çeviri
   için kiril). Değişken yazı tipi oldukları için ağırlıklar tek dosyada.
   ============================================================ */
/* Montserrat · normal · cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/montserrat-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Montserrat · normal · cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Montserrat · normal · latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat · normal · latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat · normal · cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Montserrat · normal · cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Montserrat · normal · latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat · normal · latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat · normal · cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Montserrat · normal · cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Montserrat · normal · latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat · normal · latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat · normal · cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Montserrat · normal · cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Montserrat · normal · latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat · normal · latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat · normal · cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Montserrat · normal · cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Montserrat · normal · latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat · normal · latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Playfair Display · italic · cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/playfair-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Playfair Display · italic · latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/playfair-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display · italic · latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/playfair-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Playfair Display · italic · cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/playfair-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Playfair Display · italic · latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/playfair-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display · italic · latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/playfair-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Playfair Display · normal · cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/playfair-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Playfair Display · normal · latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/playfair-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display · normal · latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/playfair-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Playfair Display · normal · cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/playfair-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Playfair Display · normal · latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/playfair-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display · normal · latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/playfair-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Playfair Display · normal · cyrillic */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/playfair-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Playfair Display · normal · latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/playfair-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display · normal · latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/playfair-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Swanky and Moo Moo · normal · latin-ext */
@font-face {
  font-family: 'Swanky and Moo Moo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/swanky-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Swanky and Moo Moo · normal · latin */
@font-face {
  font-family: 'Swanky and Moo Moo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/swanky-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------- Palet (her iki temada aynı) ---------- */
:root {
    --sc-blush: #F7CCCC;
    --sc-light: #FFCDC9;
    --sc-mid: #FDACAC;
    --sc-accent: #FD7979;
    --sc-ink: #2D2424;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-logo: 'Swanky and Moo Moo', cursive;

    --ease: cubic-bezier(0.165, 0.84, 0.44, 1);
    --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

    --grad-line: linear-gradient(90deg, var(--sc-light), var(--sc-mid), var(--sc-accent));
    --grad-accent: linear-gradient(135deg, var(--sc-mid), var(--sc-accent));

    --header-h: 84px;
    --gutter: clamp(1.25rem, 5vw, 2rem);
    --blur: blur(18px) saturate(160%);
}

/* ---------- Gündüz teması ---------- */
:root {
    --bg: #fffafb;
    --text: #2D2424;
    --text-2: #6b6262;
    --text-3: #9a8f8f;
    --text-body: #4a4040;
    --story: #3f3636;
    --line: rgba(255, 205, 201, 0.55);

    --surface: linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5));
    --surface-hover: rgba(255, 255, 255, .85);
    --surface-float: rgba(255, 255, 255, .7);
    --surface-solid: rgba(255, 255, 255, .96);
    --glass-border: rgba(255, 255, 255, .8);
    --glass-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -18px rgba(253, 121, 121, .28), 0 6px 18px -10px rgba(45, 36, 36, .12);
    --shadow-card: 0 20px 45px -12px rgba(45, 36, 36, .22), 0 5px 15px -3px rgba(253, 121, 121, .15);

    --header-bg: rgba(255, 255, 255, .2);
    --header-bg-scrolled: rgba(255, 255, 255, .78);
    --menu-bg: rgba(255, 250, 251, .9);

    --btn-bg: #2D2424;
    --btn-fg: #fff;
    --btn-hover: #FD7979;

    --grad-hero: radial-gradient(circle, var(--sc-blush) 0%, #FCF8F8 80%, #FFFFFF 100%);
    --grad-soft: linear-gradient(180deg, rgba(255, 240, 240, 0) 0%, rgba(255, 240, 240, .65) 50%, rgba(255, 240, 240, 0) 100%);
    --section-white: rgba(255, 255, 255, .72);
    --footer-bg: rgba(255, 248, 249, .88);
    --paper: rgba(255, 255, 255, .92);
    --ambient-opacity: .42;
    --dot: .08;
    color-scheme: light;
}

/* ---------- Gece teması ---------- */
html[data-tema="gece"] {
    --bg: #1c1718;
    --text: #f3e6e6;
    --text-2: #c9b9b9;
    --text-3: #9d8d8e;
    --text-body: #e0d2d2;
    --story: #e6d8d8;
    --line: rgba(253, 172, 172, .16);

    --surface: linear-gradient(145deg, rgba(58, 47, 49, .72), rgba(42, 35, 36, .5));
    --surface-hover: rgba(66, 53, 55, .85);
    --surface-float: rgba(40, 33, 34, .78);
    --surface-solid: rgba(36, 30, 31, .97);
    --glass-border: rgba(253, 172, 172, .14);
    --glass-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -18px rgba(0, 0, 0, .6), 0 6px 18px -10px rgba(0, 0, 0, .4);
    --shadow-card: 0 20px 45px -12px rgba(0, 0, 0, .55), 0 5px 15px -3px rgba(253, 121, 121, .1);

    --header-bg: rgba(28, 23, 24, .35);
    --header-bg-scrolled: rgba(28, 23, 24, .82);
    --menu-bg: rgba(28, 23, 24, .96);

    --btn-bg: #FD7979;
    --btn-fg: #fff;
    --btn-hover: #ff9494;

    --grad-hero: radial-gradient(circle, #3b2a2d 0%, #221b1c 75%, #1c1718 100%);
    --grad-soft: linear-gradient(180deg, rgba(42, 32, 34, 0) 0%, rgba(42, 32, 34, .6) 50%, rgba(42, 32, 34, 0) 100%);
    --section-white: rgba(34, 28, 29, .7);
    --footer-bg: #181314;
    --paper: rgba(40, 33, 34, .94);
    --ambient-opacity: .16;
    --dot: .05;
    color-scheme: dark;
}

/* Pembe kâğıt: yalnızca okuma kâğıdını etkiler */
html[data-tema="pembe"] { --paper: rgba(255, 243, 243, .94); --story: #4a3b3b; }

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    top: 0 !important; /* çeviri aracı sayfayı aşağı itmesin */
    transition: background-color .6s var(--ease-soft), color .6s var(--ease-soft);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
a { touch-action: manipulation; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--sc-light); color: var(--sc-ink); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--sc-mid); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--sc-accent); }

:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; border-radius: 8px; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 100001;
    background: var(--btn-bg); color: var(--btn-fg); padding: .75rem 1.25rem; border-radius: 999px;
    font-size: 12px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); }
.container-md { max-width: 64rem; }
.container-sm { max-width: 48rem; }
.center { text-align: center; }

/* ---------- Sayfa geçişi ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: sc-fade-out .22s ease both; }
::view-transition-new(root) { animation: sc-fade-in .45s var(--ease-soft) both; }
@keyframes sc-fade-out { to { opacity: 0; } }
@keyframes sc-fade-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Ortam ışığı ----------
   Bulanık filtre yerine yumuşak radyal renk geçişi: aynı görünüm,
   ekran kartına çok daha az yük. Telefonda sabit durur. */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: var(--ambient-opacity); transition: opacity .6s; }
.ambient span { position: absolute; border-radius: 50%; will-change: transform; }
.ambient span:nth-child(1) { width: 70vmax; height: 70vmax; top: -30vmax; right: -28vmax; background: radial-gradient(circle, var(--sc-blush) 0%, rgba(247, 204, 204, 0) 65%); animation: sc-drift 26s ease-in-out infinite alternate; }
.ambient span:nth-child(2) { width: 60vmax; height: 60vmax; bottom: -26vmax; left: -24vmax; background: radial-gradient(circle, var(--sc-light) 0%, rgba(255, 205, 201, 0) 65%); animation: sc-drift 32s ease-in-out -8s infinite alternate; }
.ambient span:nth-child(3) { width: 40vmax; height: 40vmax; top: 35%; left: 45%; background: radial-gradient(circle, rgba(253, 121, 121, .35) 0%, rgba(253, 121, 121, 0) 65%); animation: sc-drift 38s ease-in-out -16s infinite alternate; }
@keyframes sc-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-3vmax, 2vmax, 0) scale(1.06); }
    100% { transform: translate3d(2vmax, -2vmax, 0) scale(.96); }
}

/* ---------- Cam yüzey ---------- */
.glass {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
/* Yüzen cam: gerçek bulanıklık yalnızca burada */
.glass-float {
    background: var(--surface-float);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass-float, .site-header.scrolled, .mobile-menu { background: var(--surface-solid) !important; }
}

/* ---------- Yazı hiyerarşisi ---------- */
.logo-text { font-family: var(--font-logo); color: var(--sc-mid); letter-spacing: 0.025em; line-height: 1; }
.eyebrow { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase; color: var(--sc-accent); }
.pill-tag { display: inline-block; padding: .55rem 1.1rem; font-size: 9px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sc-accent); border-radius: 999px; }
.display { font-family: var(--font-serif); font-weight: 400; line-height: 1.1; font-size: clamp(2.6rem, 9vw, 4.75rem); }
.title { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; font-size: clamp(2rem, 6vw, 3.25rem); }
.accent-italic { color: var(--sc-accent); font-style: italic; }
.lead { color: var(--text-2); font-weight: 300; font-size: clamp(1.05rem, 2.6vw, 1.25rem); line-height: 1.7; }
.divider { width: 4rem; height: 3px; margin: 0 auto; background: var(--grad-line); border-radius: 999px; }

.section-head { text-align: center; margin-bottom: clamp(3rem, 7vw, 4.5rem); }
.section-head .eyebrow { display: block; margin-bottom: 1rem; }
.section-head .sub { margin-top: 1rem; color: var(--text-3); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; }
.section-head > .icon { margin: 0 auto 1rem; font-size: 24px; color: var(--sc-mid); }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 52px; padding: 1.1rem 2.75rem; border-radius: 999px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.35em; text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .45s var(--ease), color .3s, border-color .3s, transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
}
.btn:active { transform: scale(.97); }
.btn .icon { font-size: 12px; transition: transform .45s var(--ease-soft); }
.btn:hover .icon-move { transform: translateX(4px); }
.btn-dark { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.3); }
.btn-dark:hover { background: var(--btn-hover); box-shadow: 0 22px 44px -14px rgba(253, 121, 121, .55); }
.btn-glass { color: var(--text); }
.btn-glass:hover { color: var(--sc-accent); background: var(--surface-hover); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    padding-block: 1.5rem;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(253, 172, 172, 0.1);
    transition: padding .45s var(--ease-soft), background-color .45s, box-shadow .45s, border-color .45s;
}
.site-header.scrolled {
    padding-block: 1rem;
    background: var(--header-bg-scrolled);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    border-bottom-color: rgba(253, 172, 172, 0.2);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .75rem; min-width: 0; }
.brand img { width: 40px; height: 40px; object-fit: contain; flex: none; transition: transform .6s var(--ease-soft); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand .logo-text { font-size: 1.875rem; white-space: nowrap; transition: color .3s; }
.brand:hover .logo-text { color: var(--sc-accent); }

.main-nav ul { display: flex; align-items: center; gap: 2.5rem; }
.nav-link { position: relative; display: inline-block; padding-block: 4px; font-size: 10px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; transition: color .3s; }
.nav-link::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--sc-accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-link:hover::before, .nav-link[aria-current="page"]::before { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--sc-accent); }

.header-tools { display: flex; align-items: center; gap: .25rem; }
.icon-btn {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px; font-size: 17px;
    transition: color .3s, transform .45s var(--ease-soft), background-color .3s;
}
.icon-btn:hover { color: var(--sc-accent); }
.icon-btn:active { transform: scale(.92); }
.menu-btn { display: none; }

/* Tema düğmesi: ay ↔ güneş */
.theme-btn .icon { position: absolute; transition: transform .6s var(--ease-soft), opacity .4s; }
.theme-btn { position: relative; }
.theme-btn .sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
html[data-tema="gece"] .theme-btn .moon { opacity: 0; transform: rotate(90deg) scale(.5); }
html[data-tema="gece"] .theme-btn .sun { opacity: 1; transform: none; }

/* ---------- Açılır menü (Keşfet ve dil) ---------- */
.dropdown-wrap { position: relative; display: inline-block; }
.dropdown {
    position: absolute; top: calc(100% + 14px); left: 50%; z-index: 30;
    min-width: 13rem; padding: .5rem; border-radius: 24px; text-align: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translate3d(-50%, 10px, 0) scale(.97); transform-origin: top center;
    transition: opacity .4s var(--ease-soft), transform .45s var(--ease-soft), visibility 0s linear .45s;
}
.dropdown.align-right { left: auto; right: 0; transform: translate3d(0, 10px, 0) scale(.97); transform-origin: top right; }
.is-open > .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate3d(-50%, 0, 0) scale(1); transition-delay: 0s; }
.is-open > .dropdown.align-right { transform: translate3d(0, 0, 0) scale(1); }
.dropdown a, .dropdown button {
    display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%;
    padding: 1rem 1.25rem; border-radius: 16px;
    font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
    opacity: 0; transform: translate3d(0, 6px, 0);
    transition: background-color .25s, color .25s, opacity .35s var(--ease-soft), transform .4s var(--ease-soft);
}
.is-open > .dropdown a, .is-open > .dropdown button { opacity: 1; transform: none; }
.is-open > .dropdown > :nth-child(2) { transition-delay: 0s, 0s, .04s, .04s; }
.is-open > .dropdown > :nth-child(3) { transition-delay: 0s, 0s, .08s, .08s; }
.is-open > .dropdown > :nth-child(4) { transition-delay: 0s, 0s, .12s, .12s; }
.is-open > .dropdown > :nth-child(n+5) { transition-delay: 0s, 0s, .14s, .14s; }
.dropdown a:hover, .dropdown button:hover, .dropdown [aria-current="true"] { background: rgba(255, 205, 201, .4); color: var(--sc-accent); }
.toggle-chevron { transition: transform .45s var(--ease-soft); }
.is-open .toggle-chevron { transform: rotate(180deg); }

.lang-btn { width: auto; padding: 0 .75rem; gap: .4rem; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.lang-btn .icon { font-size: 16px; }
.lang-menu { min-width: 11.5rem; max-height: 70vh; overflow-y: auto; }
.lang-menu button { justify-content: space-between; letter-spacing: .08em; text-transform: none; font-size: 13px; font-weight: 500; }
.lang-menu button small { font-size: 9px; font-weight: 700; letter-spacing: .2em; color: var(--text-3); }

/* ---------- Arama ---------- */
.search-wrapper { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 44px; }
.search-input {
    width: 0; height: 32px; padding: 0; margin: 0; opacity: 0; visibility: hidden;
    background: transparent; border: 0; border-bottom: 1px solid rgba(253, 121, 121, 0.25); border-radius: 0;
    font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    text-align: right; color: var(--text); outline: none;
    transition: width .55s var(--ease-soft), opacity .35s, padding .55s var(--ease-soft), margin .55s var(--ease-soft), border-color .3s;
}
.search-input::placeholder { color: var(--sc-mid); opacity: .85; font-size: 9px; font-weight: 600; letter-spacing: 0.2em; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-btn:hover { transform: rotate(15deg) scale(1.1); }
@media (hover: hover) and (min-width: 769px) {
    .search-wrapper:hover .search-input { width: 14rem; opacity: 1; visibility: visible; padding-right: 12px; margin-right: 4px; border-bottom-color: var(--sc-accent); }
}
.search-wrapper:focus-within .search-input,
.search-wrapper.search-open .search-input { width: 14rem; opacity: 1; visibility: visible; padding-right: 12px; margin-right: 4px; border-bottom-color: var(--sc-accent); }
.search-wrapper.search-open .search-btn { color: var(--sc-accent); }

.search-results {
    position: absolute; top: calc(100% + 14px); right: 0;
    width: 24rem; max-height: 70vh; overflow-y: auto; overscroll-behavior: contain;
    background: var(--surface-solid);
    border: 1px solid var(--glass-border); border-radius: 24px;
    box-shadow: var(--glass-shadow), 0 24px 60px -12px rgba(45, 36, 36, 0.22);
    text-align: left; z-index: 20;
    opacity: 0; visibility: hidden; transform: translate3d(0, -8px, 0);
    transition: opacity .3s var(--ease-soft), transform .35s var(--ease-soft), visibility 0s linear .35s;
}
.search-results.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.search-results-head { padding: 1rem 1.4rem .6rem; font-size: 9px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--sc-mid); }
.search-result { display: block; padding: .85rem 1.4rem; border-top: 1px solid var(--line); transition: background-color .25s; }
.search-result:first-of-type { border-top: 0; }
.search-result:hover, .search-result.is-active { background: rgba(255, 205, 201, 0.25); }
.search-result-label { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sc-accent); margin-bottom: .3rem; }
.search-result-title { display: block; font-family: var(--font-serif); font-size: 1rem; line-height: 1.3; margin-bottom: .25rem; }
.search-result-snippet { display: block; font-size: 12px; font-weight: 300; line-height: 1.65; color: var(--text-2); }
.search-result mark { background: rgba(253, 121, 121, 0.25); color: inherit; font-weight: 600; border-radius: 3px; padding: 0 2px; }
.search-empty { padding: 1.6rem 1.4rem 1.8rem; text-align: center; font-size: 12px; font-weight: 300; line-height: 1.7; color: var(--text-3); }
.search-empty strong { color: var(--text); font-weight: 600; }

/* ---------- Mobil menü ----------
   Eskiden tam ekran bulanıklık + daire şeklinde açılma birlikte
   hesaplanıyordu ve telefonda kasıyordu. Şimdi perde yalnızca saydamlık
   ile, öğeler de yalnızca kayarak geliyor (ikisi de ekran kartında). */
.mobile-menu {
    position: fixed; inset: 0; z-index: 999;
    display: flex; flex-direction: column;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
    background: var(--menu-bg);
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden;
    transition: opacity .38s var(--ease-soft), visibility 0s linear .4s;
    will-change: opacity;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu .glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(60vw 60vw at 100% 18%, rgba(247, 204, 204, .75), transparent 70%),
        radial-gradient(55vw 55vw at 0% 92%, rgba(253, 172, 172, .4), transparent 70%);
}
html[data-tema="gece"] .mobile-menu .glow { opacity: .35; }

.mobile-eyebrow { margin-bottom: 1.25rem; }
.mobile-links { display: grid; gap: .75rem; }
.mobile-link {
    display: flex; align-items: center; gap: 1.1rem; padding: 1.15rem 1.25rem; border-radius: 22px;
    opacity: 0; transform: translate3d(0, 16px, 0);
    transition: opacity .45s var(--ease-soft), transform .5s var(--ease-soft), background-color .25s, border-color .25s;
}
.menu-open .mobile-link { opacity: 1; transform: none; }
.menu-open .mobile-links li:nth-child(1) .mobile-link { transition-delay: .05s, .05s, 0s, 0s; }
.menu-open .mobile-links li:nth-child(2) .mobile-link { transition-delay: .1s, .1s, 0s, 0s; }
.menu-open .mobile-links li:nth-child(3) .mobile-link { transition-delay: .15s, .15s, 0s, 0s; }
.mobile-link .num { font-family: var(--font-serif); font-style: italic; font-size: .95rem; color: var(--sc-mid); min-width: 1.6rem; }
.mobile-link .txt { display: grid; gap: .2rem; flex: 1; }
.mobile-link .txt strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.mobile-link .txt small { font-size: 9px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--text-3); }
.mobile-link .icon { color: var(--sc-mid); font-size: 18px; transition: transform .35s var(--ease-soft); }
.mobile-link:active { transform: scale(.98); }
.mobile-link:active .icon { transform: translateX(4px); }
.mobile-link[aria-current="page"] { border-color: rgba(253, 172, 172, .6); }
.mobile-link[aria-current="page"] .txt strong { color: var(--sc-accent); font-style: italic; }
.mobile-link[aria-current="page"] .num { color: var(--sc-accent); }

.mobile-row { margin-top: 2rem; opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .45s var(--ease-soft), transform .5s var(--ease-soft); }
.menu-open .mobile-row { opacity: 1; transform: none; transition-delay: .2s; }
.menu-open .mobile-row + .mobile-row { transition-delay: .25s; }
.mobile-row + .mobile-row { margin-top: 1.5rem; }
.mobile-row .eyebrow { display: block; margin-bottom: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips button {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .6rem 1rem; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .2em;
    transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-soft);
}
.chips button:active { transform: scale(.95); }
.chips button .icon { font-size: 13px; }
.chips button[aria-current="true"], .chips button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); border-color: transparent; }
.mobile-foot { margin-top: auto; padding-top: 2.5rem; text-align: center; opacity: 0; transition: opacity .5s ease; }
.menu-open .mobile-foot { opacity: 1; transition-delay: .3s; }
.mobile-foot .logo-text { font-size: 1.6rem; }
.mobile-foot p { margin-top: .5rem; font-size: 9px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--text-3); }
.menu-open, .menu-open body { overflow: hidden; }

/* Hamburger: iki çizgi, açılınca çarpı (yalnızca transform) */
.burger { position: relative; width: 20px; height: 12px; }
.burger span { position: absolute; left: 0; top: 5px; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease-soft); }
.burger span:nth-child(1) { transform: translate3d(0, -5px, 0); }
.burger span:nth-child(2) { transform: translate3d(15%, 5px, 0) scaleX(.7); }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero-gradient { background: var(--grad-hero); transition: background .6s; }
.hero { position: relative; padding: calc(var(--header-h) + clamp(4rem, 14vw, 10rem)) 0 clamp(5rem, 10vw, 7rem); text-align: center; }
.hero .eyebrow { display: block; margin-bottom: 1.5rem; }
.hero .lead { max-width: 32rem; margin: 2rem auto 0; }
.hero .hero-actions { margin-top: clamp(3rem, 8vw, 5rem); position: relative; z-index: 5; }

.hero-figure { position: relative; max-width: 48rem; margin: clamp(4rem, 9vw, 5.5rem) auto 0; }
.hero-figure .frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(40px, 12vw, 100px); background: var(--sc-light); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .85; }
html[data-tema="gece"] .hero-figure img { mix-blend-mode: normal; opacity: .8; }
.hero-badge {
    /* Dışarı taşma payı sayfanın kenar boşluğunu asla aşmaz (yatay kayma olmasın) */
    position: absolute; right: max(clamp(-2.5rem, -4vw, -1rem), calc(1.25rem - var(--gutter))); bottom: clamp(-2.5rem, -4vw, -1.5rem);
    width: clamp(7rem, 22vw, 11rem); aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center; text-align: center;
    border-radius: 50%; background: var(--surface-solid);
    transform: rotate(12deg); transition: transform .9s var(--ease-soft);
}
.hero-badge:hover { transform: rotate(0); }
.hero-badge p { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: clamp(.7rem, 2vw, .875rem); line-height: 1.2; letter-spacing: -0.03em; text-transform: uppercase; color: var(--sc-accent); }

/* ---------- Bölümler ---------- */
.section { position: relative; padding-block: clamp(5rem, 11vw, 8rem); }
.section-white { background: var(--section-white); }
.section-soft { background: var(--grad-soft); }
/* Eski noktalı "kâğıt dokusu" kaldırıldı: renk sıçramış gibi görünüp dikkat dağıtıyordu */
.paper-texture { position: relative; }

/* ---------- Koleksiyon kartları ---------- */
.art-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem) clamp(1rem, 4vw, 4rem); }
@media (min-width: 1024px) {
    .art-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .art-grid > :nth-child(even) { margin-top: 4rem; }
}
.art-card { display: block; width: 100%; text-align: center; transition: transform .8s var(--ease); }
@media (hover: hover) { .art-card:hover { transform: translate3d(0, -12px, 0); } }
.image-reveal {
    position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5;
    border-radius: clamp(48px, 12vw, 120px) clamp(18px, 4vw, 40px) clamp(48px, 12vw, 120px) clamp(18px, 4vw, 40px);
    background: var(--sc-light); box-shadow: var(--shadow-card); transition: box-shadow .6s ease;
}
.image-reveal img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) brightness(.9); transition: transform 1.5s var(--ease), filter 1s ease; }
.image-reveal .overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, rgba(255, 205, 201, .25), rgba(253, 121, 121, .3)); opacity: 0; transition: opacity .7s var(--ease-soft); }
.image-reveal .overlay span { padding: .75rem 1.5rem; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--sc-ink); background: rgba(255, 255, 255, .85); }
.art-card:hover .image-reveal, .art-card:focus-visible .image-reveal { box-shadow: 0 30px 60px -15px rgba(45, 36, 36, 0.3), 0 10px 25px -5px rgba(253, 121, 121, 0.2); }
.art-card:hover img, .art-card:focus-visible img { transform: scale(1.08); filter: none; }
.art-card:hover .overlay, .art-card:focus-visible .overlay { opacity: 1; }
@media (hover: none) { .art-card.in-view img { filter: none; } }
.art-meta { display: block; margin-top: 1.75rem; padding-inline: .5rem; }
.art-meta .eyebrow { font-size: 9px; letter-spacing: .2em; }
.art-meta strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.05rem, 3.5vw, 1.25rem); letter-spacing: .02em; margin-top: .5rem; line-height: 1.25; }
.art-meta small { display: block; margin-top: .5rem; font-size: 10px; font-style: italic; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); line-height: 1.5; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1.25rem;
    padding: 4.5rem var(--gutter) 2rem; background: rgba(30, 24, 25, 0.92);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-soft), visibility 0s linear .45s;
}
.lightbox.active { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-width: min(100%, 1100px); max-height: 78vh; width: auto; border-radius: 20px; box-shadow: 0 30px 100px rgba(0, 0, 0, .5); transform: scale(.94); transition: transform .55s var(--ease-soft); }
.lightbox.active img { transform: none; }
.lightbox-caption { color: #fffafb; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; text-align: center; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; opacity: .75; border-radius: 50%; transition: opacity .3s, background-color .3s; }
.lightbox-close:hover { opacity: 1; background: rgba(255, 255, 255, .12); }

/* ---------- Kitap ---------- */
.book-hero { position: relative; overflow: hidden; min-height: 100svh; display: flex; align-items: center; text-align: center; padding: calc(var(--header-h) + 3rem) 0 5rem; background: radial-gradient(120% 80% at 50% 35%, rgba(247, 204, 204, .55) 0%, rgba(247, 204, 204, 0) 70%); }
html[data-tema="gece"] .book-hero { background: radial-gradient(120% 80% at 50% 35%, rgba(80, 52, 56, .45) 0%, rgba(80, 52, 56, 0) 70%); }
.book-hero .container { position: relative; z-index: 1; }
.book-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(3rem, 12vw, 4.75rem); line-height: 1; margin-top: 2rem; }
.book-title .logo-text { display: block; color: var(--sc-accent); font-style: italic; font-size: .85em; margin-top: .5rem; }
.book-hero .lead, .book-teaser .lead { max-width: 28rem; margin: 2rem auto 2.5rem; }

.synopsis { max-width: 46rem; margin-inline: auto; padding: clamp(2rem, 7vw, 4rem); border-radius: clamp(28px, 6vw, 48px); }
.synopsis > .icon { font-size: 28px; color: var(--sc-mid); margin: 0 auto 1.5rem; }
.synopsis .body { text-align: left; font-family: var(--font-serif); font-size: clamp(1.1rem, 3vw, 1.25rem); line-height: 2; color: var(--text-body); margin-top: 2rem; }
.synopsis .body::first-letter { float: left; font-size: 3.4em; line-height: .85; padding: .1em .12em 0 0; color: var(--sc-accent); }
.tagline { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }

.quote-band { position: relative; overflow: hidden; padding-block: clamp(6rem, 14vw, 8rem); background: #2D2424; text-align: center; }
.quote-band picture, .quote-band picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-band picture { opacity: .2; filter: grayscale(1); }
.quote-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(253, 121, 121, .14), transparent 65%); }
.quote-band { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 72px, #000 calc(100% - 72px), transparent 100%); }
.quote-band blockquote { position: relative; z-index: 1; margin: 0 auto; max-width: 52rem; padding-inline: var(--gutter); }
.quote-band blockquote p { font-family: var(--font-serif); font-style: italic; color: #fffafb; font-size: clamp(1.75rem, 5.5vw, 3rem); line-height: 1.25; }
.quote-band cite { display: block; margin-top: 2rem; font-style: normal; font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: #b8afaf; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; text-align: center; }
.fact { padding: 2.25rem 1.25rem; border-radius: 28px; transition: transform .6s var(--ease-soft); }
.fact:hover { transform: translate3d(0, -6px, 0); }
.fact .circle { width: 4.5rem; height: 4.5rem; margin: 0 auto 1.25rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 205, 201, .55)); color: var(--sc-accent); font-size: 24px; box-shadow: 0 10px 20px -10px rgba(253, 121, 121, .5); }
html[data-tema="gece"] .fact .circle { background: linear-gradient(135deg, rgba(253, 121, 121, .2), rgba(253, 172, 172, .08)); }
.fact h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; margin-bottom: .4rem; }
.fact p { color: var(--text-2); font-weight: 300; font-size: .9rem; }

/* ---------- Bölüm kutuları ---------- */
.chapter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 640px) { .chapter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .chapter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chapter-box { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; min-height: 7.5rem; padding: 1rem; text-align: center; border-radius: 20px; transition: transform .45s var(--ease-soft), background-color .3s, border-color .3s; }
.chapter-box .label { font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); transition: color .3s; }
.chapter-box .name { font-family: var(--font-serif); font-size: 1.125rem; }
.chapter-box .sub { font-family: var(--font-serif); font-style: italic; font-size: .8rem; color: var(--text-3); line-height: 1.35; }
.chapter-box .icon { font-size: 14px; color: rgba(253, 172, 172, .7); }
a.chapter-box:hover { transform: translate3d(0, -4px, 0); background: var(--surface-hover); border-color: rgba(253, 172, 172, .7); }
a.chapter-box:active { transform: scale(.98); }
a.chapter-box:hover .label, a.chapter-box:hover .name { color: var(--sc-accent); }
.chapter-box.current { border: 1.5px solid var(--sc-accent); }
.chapter-box.current .label { color: var(--sc-accent); }
.chapter-box.locked { background: rgba(255, 245, 245, .45); border-color: rgba(255, 205, 201, .45); box-shadow: none; }
html[data-tema="gece"] .chapter-box.locked { background: rgba(42, 35, 36, .35); border-color: rgba(253, 172, 172, .1); }
.chapter-box.locked .name { color: rgba(253, 172, 172, .9); }
.badge-new { position: absolute; top: -10px; right: -8px; padding: .3rem .6rem; border-radius: 999px; background: var(--grad-accent); color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .15em; box-shadow: 0 6px 14px -4px rgba(253, 121, 121, .6); animation: sc-breathe 2.6s ease-in-out infinite; }
@keyframes sc-breathe { 50% { transform: scale(1.08); } }
.soon-note { margin-top: 3.5rem; text-align: center; }
.soon-note p { margin-top: 1rem; font-size: 11px; color: var(--text-3); font-style: italic; letter-spacing: .05em; }

/* ---------- Okuma sayfası ---------- */
.reading-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1001; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad-line); will-change: transform; }
.reading-head { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 2.5rem; text-align: center; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--sc-accent); }
.breadcrumb li + li::before { content: '·'; margin-right: .5rem; color: var(--sc-mid); }
.reading-head .eyebrow { display: block; margin-bottom: 1rem; }
.reading-head h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.2rem, 7vw, 3rem); line-height: 1.15; margin-bottom: 1.5rem; }
.reading-head h1 .sub { display: block; font-style: italic; color: var(--sc-mid); }
.reading-meta { margin-top: 1.25rem; font-size: 10px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--text-3); }

.paper-sheet {
    position: relative; z-index: 1; max-width: 48rem; margin-inline: auto;
    padding: clamp(1.75rem, 7vw, 4rem);
    background: var(--paper); border: 1px solid var(--glass-border); border-radius: 28px;
    box-shadow: var(--glass-shadow);
    transition: background-color .6s var(--ease-soft), border-color .6s;
}
@media (max-width: 640px) { .paper-sheet { border-radius: 22px; margin-inline: calc(var(--gutter) * -0.5); } }

:root { --story-size: clamp(1.075rem, 2.6vw, 1.25rem); }
html[data-boyut="1"] { --story-size: 1rem; }
html[data-boyut="2"] { --story-size: 1.1rem; }
html[data-boyut="4"] { --story-size: 1.4rem; }
html[data-boyut="5"] { --story-size: 1.6rem; }
.story { font-family: var(--font-serif); font-size: var(--story-size); line-height: 1.95; color: var(--story); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; transition: color .6s var(--ease-soft); }
.story p + p { margin-top: 1.4em; }
.story > p:first-of-type::first-letter { float: left; font-size: 3.4em; line-height: .9; padding: .08em .12em 0 0; color: var(--sc-accent); font-weight: 700; }
.scene-break { margin: 2.5em 0; text-align: center; color: var(--sc-accent); letter-spacing: 1em; opacity: .6; font-size: 1.1rem; }
.story-end { margin-top: 3.5rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.story-end > .icon { color: var(--sc-mid); font-size: 26px; }
.share-btn { min-height: 44px; padding: .7rem 1.4rem; font-size: 9px; }

.chapter-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 48rem; margin: 2.5rem auto 0; }
.chapter-nav > a, .chapter-nav > span { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.25rem; border-radius: 20px; transition: transform .45s var(--ease-soft), border-color .3s, background-color .3s; }
.chapter-nav .next { text-align: right; align-items: flex-end; grid-column: 2; }
.chapter-nav small { font-size: 9px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--sc-accent); display: inline-flex; align-items: center; gap: .4rem; }
.chapter-nav strong { font-family: var(--font-serif); font-weight: 400; font-size: 1rem; line-height: 1.3; }
.chapter-nav a:hover { transform: translate3d(0, -3px, 0); background: var(--surface-hover); border-color: rgba(253, 172, 172, .7); }
.chapter-nav .soon { border-style: dashed; border-color: rgba(253, 172, 172, .5); box-shadow: none; }
.chapter-nav .soon small { color: var(--sc-mid); }

/* Okuma ayarları */
.reading-tools { position: fixed; left: clamp(1rem, 4vw, 2.5rem); bottom: clamp(1rem, 4vw, 2.5rem); z-index: 950; }
.reading-toggle { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 1.1rem; color: var(--text); transition: transform .45s var(--ease-soft), color .3s; }
.reading-toggle:hover, .reading-tools.is-open .reading-toggle { color: var(--sc-accent); transform: translate3d(0, -3px, 0); }
.reading-panel {
    position: absolute; left: 0; bottom: calc(100% + 12px);
    width: min(19rem, calc(100vw - 2rem)); padding: 1.25rem; border-radius: 24px;
    opacity: 0; visibility: hidden; transform: translate3d(0, 10px, 0) scale(.97); transform-origin: bottom left;
    transition: opacity .35s var(--ease-soft), transform .45s var(--ease-soft), visibility 0s linear .45s;
}
.reading-tools.is-open .reading-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.reading-panel .eyebrow { display: block; margin-bottom: 1rem; }
.setting + .setting { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.setting-label { display: block; margin-bottom: .75rem; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.size-row { display: flex; align-items: center; gap: .75rem; }
.size-row button { width: 40px; height: 40px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); background: var(--surface-hover); border: 1px solid rgba(253, 172, 172, .5); transition: color .3s, transform .3s var(--ease-soft); }
.size-row button:hover { color: var(--sc-accent); }
.size-row button:active { transform: scale(.92); }
.size-row button:disabled { opacity: .35; cursor: default; }
.size-dots { flex: 1; display: flex; justify-content: space-between; align-items: center; padding-inline: .25rem; }
.size-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(253, 172, 172, .35); transition: background-color .3s, transform .3s var(--ease-soft); }
.size-dots i.on { background: var(--sc-accent); transform: scale(1.25); }
.theme-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.theme-row button { display: grid; justify-items: center; gap: .45rem; padding: .7rem .25rem; border-radius: 16px; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.theme-row button span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(45, 36, 36, .15); }
.theme-row [data-tema="gunduz"] span { background: #fff; }
.theme-row [data-tema="pembe"] span { background: linear-gradient(135deg, #FFF0F0, var(--sc-light)); }
.theme-row [data-tema="gece"] span { background: linear-gradient(135deg, #3a2f30, #1f1a1b); }
.theme-row button[aria-pressed="true"] { border-color: var(--sc-accent); background: var(--surface-hover); }

.sakura { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sakura-petal { position: absolute; top: -40px; background: var(--sc-light); border-radius: 100% 0 100% 0; opacity: .4; will-change: transform; animation: sc-fall linear infinite; }
html[data-tema="gece"] .sakura-petal { opacity: .16; }
/* Düşme ve salınım tek transform animasyonunda: yerleşim yeniden hesaplanmaz */
@keyframes sc-fall {
    0% { transform: translate3d(0, 0, 0) rotate(0); }
    25% { transform: translate3d(60px, 30vh, 0) rotate(45deg); }
    50% { transform: translate3d(0, 60vh, 0) rotate(90deg); }
    75% { transform: translate3d(60px, 90vh, 0) rotate(135deg); }
    100% { transform: translate3d(0, 120vh, 0) rotate(180deg); }
}

.resume-note { position: fixed; left: 50%; bottom: 1.25rem; z-index: 960; transform: translateX(-50%); display: flex; align-items: center; gap: .75rem; width: max-content; max-width: calc(100% - 2rem); padding: .5rem .5rem .5rem 1.25rem; border-radius: 999px; font-size: 12px; color: var(--text-2); animation: sc-note-in .5s var(--ease-soft) both; }
@keyframes sc-note-in { from { opacity: 0; transform: translate(-50%, 10px); } }
.resume-note[hidden] { display: none; }
.resume-note button[data-resume] { padding: .65rem 1.1rem; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-size: 9px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; transition: background-color .3s; }
.resume-note button[data-resume]:hover { background: var(--btn-hover); }
.resume-note .close { color: var(--text-3); padding: .5rem; font-size: 14px; }
.resume-note .close:hover { color: var(--sc-accent); }

/* ---------- Metin sayfaları ---------- */
.page-head { padding-top: calc(var(--header-h) + clamp(3.5rem, 9vw, 6rem)); padding-bottom: clamp(2.5rem, 6vw, 4rem); text-align: center; }
.page-head .eyebrow { display: block; margin-bottom: 1.25rem; }
.page-head h1 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(2.5rem, 8vw, 3.75rem); line-height: 1.1; }
.content-card { border-radius: clamp(24px, 6vw, 48px); padding: clamp(1.75rem, 7vw, 5rem); }
.content-card .intro { font-style: italic; color: var(--text-3); font-size: .95rem; border-left: 3px solid var(--sc-light); padding-left: 1.25rem; margin-bottom: 3rem; }
.prose-section + .prose-section { margin-top: 2.75rem; }
.prose-section h2 { font-family: var(--font-serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 1rem; }
.prose-section p, .prose-section li { color: var(--text-2); font-weight: 300; line-height: 1.85; font-size: .975rem; }
.prose-section p + p { margin-top: 1rem; }
.prose-section ul { margin-top: 1rem; display: grid; gap: .6rem; }
.prose-section li { position: relative; padding-left: 1.5rem; }
.prose-section li::before { content: ''; position: absolute; left: 0; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-accent); opacity: .6; }
.prose-section strong { font-weight: 600; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--footer-bg); border-top: 1px solid var(--line); padding: clamp(4.5rem, 10vw, 7rem) 0 3rem; transition: background-color .6s; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: clamp(3.5rem, 8vw, 5rem); }
.footer-brand .logo-text { font-size: 1.875rem; margin-bottom: 1.5rem; display: block; }
.footer-brand p { color: var(--text-2); font-weight: 300; max-width: 24rem; }
.footer-col h2 { font-size: 10px; font-weight: 700; letter-spacing: .4em; text-transform: uppercase; color: var(--sc-accent); margin-bottom: 1.5rem; }
.footer-col ul { display: grid; gap: .9rem; }
.footer-col a { font-size: .9rem; font-weight: 300; color: var(--text-2); transition: color .3s; }
.footer-col a:hover { color: var(--sc-accent); }
.footer-bottom { padding-top: 2.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; font-size: 9px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--text-3); }
.footer-bottom nav { display: flex; gap: 2.5rem; }
.footer-bottom a:hover { color: var(--sc-accent); }

/* ---------- Yukarı çık ---------- */
.back-to-top {
    position: fixed; right: clamp(1rem, 4vw, 2.5rem); bottom: clamp(1rem, 4vw, 2.5rem); z-index: 900;
    width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--btn-bg); color: var(--btn-fg); font-size: 16px;
    box-shadow: 0 10px 24px -6px rgba(45, 36, 36, .35);
    opacity: 0; visibility: hidden; transform: translate3d(0, 10px, 0);
    transition: opacity .4s var(--ease-soft), visibility 0s linear .45s, transform .45s var(--ease-soft), background-color .3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.back-to-top:hover { background: var(--btn-hover); transform: translate3d(0, -5px, 0); }

/* ---------- Kiraz imleci (yalnızca fare kullanan cihazlar) ---------- */
.cursor, .sparkle { display: none; }
@media (hover: hover) and (pointer: fine) {
    html.has-cursor, html.has-cursor * { cursor: none !important; }
    html.has-cursor .cursor { display: flex; position: fixed; top: 0; left: 0; width: 36px; height: 36px; align-items: center; justify-content: center; pointer-events: none; z-index: 3000; will-change: transform; opacity: 0; transition: opacity .3s; }
    html.has-cursor .cursor.ready { opacity: 1; }
    .sparkle { display: block; position: fixed; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; z-index: 2999; animation: sc-sparkle .8s linear forwards; }
}
@keyframes sc-sparkle { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(0); opacity: 0; } }

/* ---------- Görünme animasyonu ----------
   Telefonda yalnızca saydamlık + kayma; masaüstünde ek olarak hafif bulanıklık. */
.reveal { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .7s var(--ease-soft), transform .8s var(--ease-soft); }
.reveal.in-view { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.fade-in { animation: sc-fade-soft .7s var(--ease-soft) both; }
@keyframes sc-fade-soft { from { opacity: 0; transform: translate3d(0, 16px, 0); } }
@media (hover: hover) and (pointer: fine) {
    .reveal { filter: blur(4px); transition: opacity .7s var(--ease-soft), transform .8s var(--ease-soft), filter .6s var(--ease-soft); }
    .reveal.in-view { filter: none; }
    .fade-in { animation-name: sc-fade-blur; }
    @keyframes sc-fade-blur { from { opacity: 0; transform: translate3d(0, 16px, 0); filter: blur(6px); } }
}

/* ---------- Çeviri aracı ---------- */
.gtranslate_wrapper { display: none !important; }
#goog-gt-tt, .goog-te-balloon-frame, .goog-te-banner-frame, .skiptranslate iframe { display: none !important; }
font { background: none !important; box-shadow: none !important; }

/* ============================================================
   Duyarlı düzen
   ============================================================ */
@media (max-width: 1023px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --header-h: 72px; --blur: blur(14px) saturate(150%); }
    .site-header { padding-block: 1rem; }
    .site-header.scrolled { padding-block: .75rem; }
    .main-nav, .header-tools .lang-wrap, .header-tools .theme-btn { display: none; }
    .menu-btn { display: inline-flex; }
    .brand img { width: 34px; height: 34px; }
    .brand .logo-text { font-size: 1.6rem; }

    /* Telefonda ortam ışığı sabit: sürekli hareket pil ve akıcılık yer */
    .ambient span { animation: none; }

    .search-wrapper:focus-within .search-input,
    .search-wrapper.search-open .search-input {
        position: fixed; top: var(--search-input-top, 36px);
        left: var(--gutter); right: calc(var(--gutter) + 92px);
        transform: translateY(-50%);
        width: auto; height: 40px; margin: 0; padding: 0 1rem;
        text-align: left; font-size: 16px; letter-spacing: .02em; text-transform: none;
        background: var(--surface-solid); border: 1px solid var(--sc-accent); border-radius: 999px;
        box-shadow: 0 8px 22px -8px rgba(45, 36, 36, .22); z-index: 5;
    }
    .search-wrapper:focus-within .search-input::placeholder,
    .search-wrapper.search-open .search-input::placeholder { font-size: 11px; letter-spacing: .12em; }
    .search-results { position: fixed; top: var(--search-panel-top, 76px); left: .75rem; right: .75rem; width: auto; max-height: calc(100svh - var(--search-panel-top, 76px) - 1.5rem); }

    .book-hero { min-height: auto; padding-bottom: 6rem; }
    .facts { grid-template-columns: 1fr; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom nav { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
    .hero .btn, .book-hero .btn-row .btn, .book-teaser .btn-row .btn { width: 100%; max-width: 22rem; }
}

@media (max-width: 420px) {
    .chapter-nav { grid-template-columns: 1fr; }
    .chapter-nav .next { grid-column: auto; }
}

@media (max-width: 380px) {
    .brand { gap: .5rem; }
    .brand .logo-text { font-size: 1.35rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .reveal { opacity: 1; transform: none; filter: none; }
    .sakura, .ambient span { display: none; }
}

/* ============================================================
   Alıntı paylaşma (bölüm sayfaları)
   ============================================================ */
.reading-tools { display: flex; gap: .6rem; align-items: flex-end; }
.reading-tools .reading-panel { left: 0; }
.quote-toggle {
    height: 50px; padding: 0 1.1rem; border-radius: 999px;
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--text);
    transition: transform .45s var(--ease-soft), color .3s, background-color .3s;
}
.quote-toggle .icon { font-size: 16px; color: var(--sc-accent); }
.quote-toggle:hover { color: var(--sc-accent); transform: translate3d(0, -3px, 0); }
.quote-toggle[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); border-color: transparent; }
.quote-toggle[aria-pressed="true"] .icon { color: inherit; }

/* Alıntı modunda paragraflar seçilebilir görünür */
.quote-mode .story p:not(.scene-break) {
    cursor: pointer; border-radius: 12px;
    margin-inline: -.6rem; padding: .35rem .6rem;
    transition: background-color .3s, box-shadow .3s;
    box-shadow: inset 2px 0 0 rgba(253, 172, 172, .45);
}
.quote-mode .story p + p { margin-top: calc(1.4em - .7rem); }
@media (hover: hover) { .quote-mode .story p:not(.scene-break):hover { background: rgba(255, 205, 201, .28); } }

.story ::selection { background: rgba(253, 121, 121, .3); }

.quote-banner {
    position: fixed; left: 50%; top: calc(var(--header-h) + .75rem); z-index: 970;
    display: flex; align-items: center; gap: 1rem;
    width: max-content; max-width: calc(100% - 1.5rem);
    padding: .55rem .55rem .55rem 1.1rem; border-radius: 999px;
    font-size: 12px; color: var(--text-2);
    opacity: 0; visibility: hidden; transform: translate3d(-50%, -10px, 0);
    transition: opacity .35s var(--ease-soft), transform .45s var(--ease-soft), visibility 0s linear .45s;
}
.quote-banner > span { display: inline-flex; align-items: center; gap: .55rem; }
.quote-banner .icon { color: var(--sc-accent); font-size: 15px; }
.quote-mode .quote-banner { opacity: 1; visibility: visible; transform: translate3d(-50%, 0, 0); transition-delay: 0s; }
.quote-banner-close { padding: .55rem 1rem; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; flex: none; }

/* Seçimin yanında beliren düğme */
.quote-pill {
    position: fixed; left: 0; top: 0; z-index: 980;
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .7rem 1.1rem; border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-fg);
    font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
    box-shadow: 0 14px 30px -10px rgba(45, 36, 36, .45);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease-soft), visibility 0s linear .25s;
}
.quote-pill .icon { font-size: 13px; }
.quote-pill.show { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }

/* Paylaşım penceresi: telefonda alttan açılan sayfa, masaüstünde ortada */
.quote-sheet { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; padding: 1.5rem; visibility: hidden; transition: visibility 0s linear .45s; }
.quote-sheet.open { visibility: visible; transition-delay: 0s; }
.quote-sheet-backdrop { position: absolute; inset: 0; background: rgba(30, 24, 25, .45); opacity: 0; transition: opacity .4s var(--ease-soft); }
.quote-sheet.open .quote-sheet-backdrop { opacity: 1; }
.quote-sheet-panel {
    position: relative; width: min(30rem, 100%); max-height: calc(100svh - 3rem); overflow-y: auto;
    padding: 1.25rem 1.5rem 1.5rem; border-radius: 32px; background: var(--bg); border: 1px solid var(--glass-border); box-shadow: 0 -10px 40px -20px rgba(45, 36, 36, .35);
    opacity: 0; transform: translate3d(0, 24px, 0) scale(.98);
    transition: opacity .35s var(--ease-soft), transform .5s var(--ease-soft);
}
.quote-sheet.open .quote-sheet-panel { opacity: 1; transform: none; }
.quote-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.sheet-open, .sheet-open body { overflow: hidden; }

.quote-preview { position: relative; display: flex; justify-content: center; align-items: center; padding: .25rem 0 .5rem; }
.quote-preview img {
    display: block; width: auto; max-width: 100%; max-height: 38svh; border-radius: 18px;
    box-shadow: 0 18px 36px -18px rgba(45, 36, 36, .35);
    transition: opacity .3s var(--ease-soft), transform .45s var(--ease-soft);
}
.quote-preview img:not([src]) { width: 70%; aspect-ratio: 4 / 5; background: rgba(255, 205, 201, .25); }
.quote-preview[data-bicim="kare"] img:not([src]) { aspect-ratio: 1; }
.quote-preview[data-bicim="hikaye"] img:not([src]) { aspect-ratio: 9 / 16; width: 45%; }
.quote-preview.busy img { opacity: .55; transform: scale(.985); }

.card-opts { display: grid; gap: .9rem; margin-top: 1rem; }
.card-opt .setting-label { margin-bottom: .5rem; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; padding: .3rem; border-radius: 16px; background: rgba(255, 205, 201, .22); }
html[data-tema="gece"] .seg { background: rgba(255, 255, 255, .05); }
.seg button {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 40px;
    padding: .4rem .5rem; border-radius: 12px;
    font-size: 11px; font-weight: 600; color: var(--text-2);
    transition: background-color .3s var(--ease-soft), color .3s, box-shadow .3s;
}
.seg button b { font-family: var(--font-serif); font-weight: 400; }
.seg button[aria-pressed="true"] { background: var(--surface-solid); color: var(--text); box-shadow: 0 4px 12px -6px rgba(45, 36, 36, .25); }
.seg button:active { transform: scale(.97); }
.sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(45, 36, 36, .15); flex: none; }
.sw-acik { background: #fff; }
.sw-pembe { background: linear-gradient(135deg, #FFF0F0, #F7CCCC); }
.sw-koyu { background: linear-gradient(135deg, #3b2a2d, #1c1718); }
.fr { border: 1.5px solid currentColor; border-radius: 3px; flex: none; opacity: .7; }
.fr-kare { width: 12px; height: 12px; }
.fr-dikey { width: 11px; height: 14px; }
.fr-hikaye { width: 9px; height: 16px; }
.quote-sheet-note { margin: .9rem 0 1rem; text-align: center; font-size: 11px; color: var(--text-3); line-height: 1.5; }
.quote-sheet-note.ok { color: var(--sc-accent); animation: sc-fade-in .4s var(--ease-soft); }
.quote-actions { display: grid; gap: .6rem; }
.quote-actions .btn { width: 100%; min-height: 50px; padding-inline: 1rem; letter-spacing: .2em; }
.quote-actions .btn .icon { font-size: 15px; }
.quote-actions .btn:disabled { opacity: .6; cursor: progress; }
.quote-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.quote-actions-row .btn[hidden] { display: none; }
.quote-actions-row:has(.btn[hidden]) { grid-template-columns: 1fr; }

@media (max-width: 640px) {
    .quote-sheet { align-items: flex-end; padding: 0; }
    .quote-sheet-panel { width: 100%; border-radius: 28px 28px 0 0; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); transform: translate3d(0, 100%, 0); transition: opacity .25s, transform .5s var(--ease-soft); }
    .quote-toggle span { display: none; }
    .quote-toggle { width: 50px; padding: 0; justify-content: center; }
}

/* Yazar satırı */
.byline { margin-top: 1.25rem; font-size: 9px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--text-3); display: inline-flex; align-items: baseline; gap: .6rem; }
.byline .logo-text { font-size: 1.35rem; letter-spacing: .03em; text-transform: none; }
.book-hero .byline { margin-top: 1rem; }
@media (max-width: 640px) {
    /* Not, alttaki Aa / Alıntı / yukarı düğmelerinin üstünde dursun */
    .resume-note { bottom: calc(50px + 1.75rem); }
}

/* Çoklu alıntı seçimi */
.story .q-pick {
    background: rgba(253, 121, 121, .2); border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(253, 121, 121, .2);
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    cursor: pointer; transition: background-color .25s;
}
.quote-banner { gap: .5rem; }
.qb-msg { display: inline-flex; align-items: center; gap: .55rem; padding-right: .25rem; }
.qb-clear { padding: .55rem .8rem; border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); flex: none; transition: color .3s; }
.qb-clear:hover { color: var(--sc-accent); }
.qb-clear[hidden] { display: none; }
.quote-banner-close { transition: background-color .35s var(--ease-soft); }
.quote-banner-close.ready { background: var(--sc-accent); color: #fff; box-shadow: 0 8px 18px -8px rgba(253, 121, 121, .7); }
.quote-toggle { position: relative; }
.quote-toggle[data-count]:not([data-count=""])::after {
    content: attr(data-count); position: absolute; top: -6px; right: -6px;
    min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    background: var(--sc-accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0;
    box-shadow: 0 4px 10px -3px rgba(253, 121, 121, .7);
}
@media (max-width: 480px) {
    .quote-banner { left: .75rem; right: .75rem; width: auto; max-width: none; transform: translate3d(0, -10px, 0); border-radius: 22px; }
    .quote-mode .quote-banner { transform: none; }
    .qb-msg { flex: 1; font-size: 11px; line-height: 1.35; }
}

.quote-mode .resume-note { display: none; }

/* ============================================================
   Okuma takibi
   ============================================================ */
.read-state:empty { display: none; }
.read-state { margin-top: .15rem; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sc-accent); }
.chapter-box.is-read { border-color: rgba(253, 121, 121, .45); }
.chapter-box.is-read .name { color: var(--sc-accent); }
.chapter-box.is-started .read-state { color: var(--text-3); }

.continue-card {
    position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 1rem; text-align: left;
    width: min(30rem, 100%); margin: 2rem auto 0; padding: 1rem 1rem 1.15rem 1.35rem; border-radius: 24px;
    animation: sc-fade-in .6s var(--ease-soft) both;
}
.continue-card[hidden] { display: none; }
.cc-text { flex: 1; display: grid; gap: .25rem; min-width: 0; }
.cc-text small { font-size: 9px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--sc-accent); }
.cc-text strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.05rem; line-height: 1.3; }
.continue-card .btn { min-height: 44px; padding: .8rem 1.3rem; flex: none; }
.cc-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(253, 172, 172, .2); }
.cc-bar i { display: block; height: 100%; background: var(--grad-line); transform-origin: left; transition: transform .8s var(--ease-soft); }
.hero .continue-card { margin-top: 2.5rem; }
@media (max-width: 420px) {
    .continue-card { flex-direction: column; align-items: stretch; text-align: center; }
    .continue-card .btn { width: 100%; }
}

.install-btn { width: 100%; }
.install-row[hidden] { display: none; }

/* ============================================================
   Yeni bölüm geri sayımı
   ============================================================ */
.countdown { max-width: 30rem; margin: 3rem auto 0; padding: 1.5rem 1.25rem 1.25rem; border-radius: 28px; text-align: center; }
.countdown .eyebrow { display: block; margin-bottom: 1.1rem; }
.cd-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.cd-units span {
    display: grid; gap: .2rem; padding: .85rem .25rem .7rem; border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(255, 205, 201, .35));
    box-shadow: 0 1px 0 #fff inset, 0 10px 20px -14px rgba(253, 121, 121, .6);
}
html[data-tema="gece"] .cd-units span { background: linear-gradient(160deg, rgba(253, 121, 121, .16), rgba(253, 172, 172, .05)); box-shadow: none; }
.cd-units b { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.cd-units small { font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.cd-note { margin-top: 1rem; font-size: 11px; color: var(--text-3); font-style: italic; letter-spacing: .04em; }
.countdown.cd-done .cd-units { display: none; }
.countdown.cd-done .cd-note { font-size: .95rem; color: var(--sc-accent); font-style: normal; }
.book-teaser .countdown { margin-top: 2.5rem; }
.chapter-box.next-up { opacity: 1; border-style: dashed; border-color: rgba(253, 121, 121, .5); background: rgba(255, 245, 245, .7); }
html[data-tema="gece"] .chapter-box.next-up { background: rgba(253, 121, 121, .08); }
.chapter-box.next-up .label { color: var(--sc-accent); }
.chapter-box.next-up .name { color: var(--text); }
.cd-short { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-accent); }
.chapter-box.next-up .icon { display: none; }

/* ============================================================
   Header A — yüzen kapsül
   Kenara yapışık bant yerine üstte havada duran yuvarlak cam şerit.
   Menüde pembe bir "hap" bulunulan sayfanın arkasında durur, fareyle
   gezilen bağlantıya yumuşakça kayar.
   ============================================================ */
.site-header, .site-header.scrolled {
    inset: 12px 0 auto 0; padding: 0 var(--gutter);
    background: none; border: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    pointer-events: none;
}
.capsule {
    pointer-events: auto;
    max-width: 66rem; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .5rem .55rem .5rem 1.1rem; border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    transition: padding .45s var(--ease-soft), background-color .45s, box-shadow .45s;
}
.site-header.scrolled .capsule { padding-block: .35rem; background: var(--header-bg-scrolled); box-shadow: var(--glass-shadow), 0 14px 34px -18px rgba(45, 36, 36, .3); }
html[data-tema="gece"] .capsule { background: rgba(40, 33, 34, .55); }
html[data-tema="gece"] .site-header.scrolled .capsule { background: var(--header-bg-scrolled); }
.capsule .brand img { width: 34px; height: 34px; }
.capsule .brand .logo-text { font-size: 1.6rem; }

.main-nav ul { position: relative; gap: .2rem; padding: .3rem; border-radius: 999px; background: rgba(255, 205, 201, .3); }
html[data-tema="gece"] .main-nav ul { background: rgba(253, 172, 172, .1); }
.nav-link { position: relative; z-index: 1; padding: .55rem 1.15rem; border-radius: 999px; letter-spacing: .22em; transition: color .35s var(--ease-soft); }
.nav-link::before { display: none; }
.nav-link[aria-current="page"] { color: var(--sc-accent); }
.main-nav ul.has-indicator .nav-link[aria-current="page"] { color: inherit; }
.main-nav ul.has-indicator .nav-link.is-lit { color: #fff; }
.nav-indicator {
    position: absolute; top: .3rem; bottom: .3rem; left: 0; width: 0; z-index: 0;
    border-radius: 999px; background: var(--grad-accent);
    box-shadow: 0 8px 18px -8px rgba(253, 121, 121, .7);
    opacity: 0; pointer-events: none;
    transition: transform .55s var(--ease-soft), width .55s var(--ease-soft), opacity .3s;
}
.nav-indicator.on { opacity: 1; }
.nav-indicator.instant { transition: none; }

/* ============================================================
   Header C — telefonda alt dock
   Menü başparmağın altında; üstte yalnızca logo ve tema düğmesi kalır.
   ============================================================ */
.dock { display: none; }
@media (max-width: 768px) {
    :root { --dock-h: 64px; }
    .site-header, .site-header.scrolled { inset: 10px 0 auto 0; }
    .capsule, .site-header.scrolled .capsule { padding: .4rem .45rem .4rem .9rem; }
    .header-tools .theme-btn { display: inline-flex; }
    /* Arama dock'tan açılır; header'daki büyüteç görünmez ama çalışır */
    .site-header .search-btn { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; }
    .search-wrapper:focus-within .search-input,
    .search-wrapper.search-open .search-input { right: calc(var(--gutter) + 56px); }

    .dock {
        display: flex; position: fixed; z-index: 1003;
        left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
        height: var(--dock-h); padding: .35rem; gap: .2rem;
        border-radius: 24px;
        background: rgba(45, 36, 36, .9);
        -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
        box-shadow: 0 18px 40px -16px rgba(45, 36, 36, .55);
    }
    html[data-tema="gece"] .dock { background: rgba(58, 45, 47, .92); border: 1px solid rgba(253, 172, 172, .12); }
    .dock-link {
        flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
        border-radius: 18px; color: rgba(255, 250, 251, .72);
        font-size: 10px; font-weight: 600; letter-spacing: .04em;
        transition: color .3s, background-color .3s, transform .3s var(--ease-soft);
    }
    .dock-link .icon { font-size: 20px; }
    .dock-link:active { transform: scale(.92); }
    .dock-link[aria-current="page"] { color: #fff; background: rgba(253, 121, 121, .9); }
    .menu-open .dock .menu-btn { color: #fff; background: rgba(253, 121, 121, .9); }
    .dock .menu-btn { display: flex; width: auto; height: auto; }
    .dock .burger { width: 18px; height: 12px; margin: 4px 0; }

    /* Dock'un üstünde kalması gerekenler */
    .back-to-top { bottom: calc(var(--dock-h) + 24px + env(safe-area-inset-bottom)); }
    .reading-tools { bottom: calc(var(--dock-h) + 24px + env(safe-area-inset-bottom)); }
    .resume-note { bottom: calc(var(--dock-h) + 86px + env(safe-area-inset-bottom)); }
    .mobile-menu { padding-bottom: calc(var(--dock-h) + 2rem + env(safe-area-inset-bottom)); }
}

/* ============================================================
   Footer 1 — kitabın son sayfası
   Dalgalı pembe bir kenarla başlar; alıntı, "hikâye devam ediyor"
   ve kocaman bir imza.
   ============================================================ */
:root { --footer-page: #FFE9E8; }
html[data-tema="gece"] { --footer-page: #261e1f; }
.site-footer { position: relative; margin-top: 2rem; padding: 0; background: none; border: 0; }
.footer-wave { display: block; width: 100%; height: 48px; fill: var(--footer-page); margin-bottom: -1px; }
.footer-page { background: var(--footer-page); padding: 2rem 0 2.5rem; text-align: center; transition: background-color .6s; }
.footer-leaf { margin: 0 auto 1.25rem; font-size: 24px; color: var(--sc-mid); }
.footer-quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.3; color: var(--text); }
.footer-next { margin-top: .9rem; font-size: 10px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--sc-accent); }
.footer-sign { display: block; margin: 2.25rem 0 1.75rem; font-size: clamp(3rem, 14vw, 5.5rem); line-height: .9; color: var(--sc-mid); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; font-size: 12px; font-weight: 500; color: var(--text-2); }
.footer-links a { position: relative; padding: .25rem 0; transition: color .3s; }
.footer-links a:hover { color: var(--sc-accent); }
.site-footer .footer-bottom { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(253, 121, 121, .2); justify-content: center; flex-direction: column; gap: .75rem; }
.site-footer .footer-bottom nav { gap: 1.5rem; }

@media (max-width: 768px) {
    /* Footer'ın pembe zemini dock'un arkasına kadar uzansın, son satır görünür kalsın */
    .footer-page { padding-bottom: calc(var(--dock-h) + 2.5rem + env(safe-area-inset-bottom)); }
}

/* Dock temaya göre: açık modda açık pembe cam, gece modunda sitenin koyu tonları */
@media (max-width: 768px) {
    .dock {
        background: rgba(255, 236, 236, .88);
        border: 1px solid rgba(255, 205, 201, .9);
        box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 16px 36px -16px rgba(253, 121, 121, .45);
    }
    .dock-link { color: #7a6a6b; }
    .dock-link[aria-current="page"], .menu-open .dock .menu-btn {
        color: #fff; background: var(--grad-accent);
        box-shadow: 0 8px 16px -8px rgba(253, 121, 121, .7);
    }
    html[data-tema="gece"] .dock {
        background: rgba(38, 30, 31, .92);
        border-color: rgba(253, 172, 172, .14);
        box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .6);
    }
    html[data-tema="gece"] .dock-link { color: rgba(243, 230, 230, .7); }
    html[data-tema="gece"] .dock-link[aria-current="page"],
    html[data-tema="gece"].menu-open .dock .menu-btn { color: #fff; }
}

/* Yukarı çık düğmesi footer'ın son satırına gelince çekilir */
.back-to-top.at-footer { opacity: 0; visibility: hidden; transform: translate3d(0, 10px, 0); }
@media (max-width: 640px) {
    /* Rozet ekran kenarına yapışmasın: fotoğrafın köşesine biraz daha içeride otursun */
    .hero-badge { right: -.4rem; bottom: -1.6rem; width: 6.75rem; }
}

/* ============================================================
   Satır dengesi: başlık ve kısa yazılar dar ekranda tek kelimelik
   satır bırakmasın; "En Tatlı" gibi ikililer bölünmesin.
   ============================================================ */
h1, h2, h3, .display, .title, .book-title, .eyebrow, .pill-tag, .lead,
.section-head .sub, .footer-quote, .footer-next, .cd-note, .cc-text strong,
.chapter-box .sub, .reading-head h1, .page-head h1, .tagline, .soon-note p { text-wrap: balance; }
p, .story p, .prose-section p, .prose-section li { text-wrap: pretty; }
.display .accent-italic { white-space: nowrap; }

@media (max-width: 380px) {
    /* En dar telefonlarda dock yazıları kutularına rahat sığsın */
    .dock { left: 8px; right: 8px; padding: .3rem; gap: .1rem; }
    .dock-link { font-size: 9px; letter-spacing: 0; }
    .dock-link .icon { font-size: 19px; }
}
.dock-link span { white-space: nowrap; }

/* Footer'ın son satırına gelince yüzen okuma düğmeleri de çekilir */
.reading-tools { transition: opacity .4s var(--ease-soft), transform .45s var(--ease-soft), visibility 0s; }
.reading-tools.at-footer:not(.is-open) { opacity: 0; visibility: hidden; transform: translate3d(0, 10px, 0); transition-delay: 0s, 0s, .45s; }

/* ============================================================
   Mobil menü: arkası hafif şeffaf kalsın ama sayfa yazıları
   menünün içindeymiş gibi okunmasın — zemin biraz daha yoğun,
   arkası bulanık. (Açılış hâlâ yalnızca saydamlıkla; kasmaz.)
   ============================================================ */
.mobile-menu {
    background: rgba(255, 247, 248, .93);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
}
html[data-tema="gece"] .mobile-menu { background: rgba(28, 23, 24, .94); }
@media (max-width: 768px) {
    /* Kitap girişi ile özet arasındaki boşluklar üst üste binmesin */
    .book-hero { padding-bottom: 1.5rem; }
    .book-hero + .section { padding-top: 2.5rem; }
}

/* ============================================================
   Renk geçişleri: bölümler birbirine sert çizgiyle değil,
   kenarlarda kaybolarak geçsin.
   ============================================================ */
/* Giriş zemini alt kenarda yavaşça kaybolur (ana sayfa, yasal sayfalar, 404) */
.hero-gradient { position: relative; isolation: isolate; background: none; }
.hero-gradient::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--grad-hero);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}
/* Beyaz bölüm zemini üstte ve altta kaybolur */
.section-white {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .72) 18%, rgba(255, 255, 255, .72) 82%, rgba(255, 255, 255, 0) 100%);
}
html[data-tema="gece"] .section-white {
    background: linear-gradient(180deg, rgba(34, 28, 29, 0) 0%, rgba(34, 28, 29, .7) 18%, rgba(34, 28, 29, .7) 82%, rgba(34, 28, 29, 0) 100%);
}

/* ============================================================
   Mobil menü — buzlu cam (iyileştirilmiş)
   Zemin daha saydam ama daha güçlü bulanık: arkadaki sayfa yalnızca
   renk olarak sezilir. Üstte yumuşak bir ışık parlaması, kartlarda
   camın kenarından vuran ışık ve çapraz bir yansıma şeridi.
   ============================================================ */
.mobile-menu {
    background: linear-gradient(165deg, rgba(255, 255, 255, .78) 0%, rgba(255, 240, 242, .74) 55%, rgba(255, 232, 236, .76) 100%);
    -webkit-backdrop-filter: blur(30px) saturate(170%) brightness(1.04);
    backdrop-filter: blur(30px) saturate(170%) brightness(1.04);
}
html[data-tema="gece"] .mobile-menu {
    background: linear-gradient(165deg, rgba(44, 35, 37, .78) 0%, rgba(30, 24, 25, .74) 60%, rgba(40, 28, 31, .8) 100%);
}
/* Arkadaki renkli ışıklar camın derinliğini verir */
.mobile-menu .glow {
    background:
        radial-gradient(65vw 65vw at 100% 12%, rgba(247, 204, 204, .95), transparent 70%),
        radial-gradient(55vw 55vw at 0% 70%, rgba(253, 172, 172, .5), transparent 70%),
        radial-gradient(40vw 40vw at 70% 105%, rgba(253, 121, 121, .28), transparent 70%);
}
html[data-tema="gece"] .mobile-menu .glow { opacity: .45; }
/* Camın üst kenarından vuran ışık */
.mobile-menu::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 45%; z-index: -1; pointer-events: none;
    background: radial-gradient(120% 70% at 30% 0%, rgba(255, 255, 255, .55), transparent 70%);
}
html[data-tema="gece"] .mobile-menu::before { background: radial-gradient(120% 70% at 30% 0%, rgba(255, 255, 255, .06), transparent 70%); }

/* Kartlar ve seçim düğmeleri: kalın cam */
.mobile-menu .mobile-link,
.mobile-menu .chips button.glass {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .42) 100%);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(253, 172, 172, .18),
        0 12px 28px -14px rgba(253, 121, 121, .4),
        0 2px 6px -2px rgba(45, 36, 36, .06);
}
/* Çapraz yansıma şeridi (yalnızca kartlarda) */
.mobile-menu .mobile-link::after {
    content: ''; position: absolute; top: -60%; left: -30%; width: 45%; height: 220%;
    transform: rotate(22deg); pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0));
    opacity: .7;
}
.mobile-menu .mobile-link[aria-current="page"] {
    background: linear-gradient(135deg, rgba(255, 255, 255, .95) 0%, rgba(255, 228, 230, .7) 100%);
    border-color: rgba(253, 172, 172, .75);
}
.mobile-menu .chips button[aria-current="true"],
.mobile-menu .chips button[aria-pressed="true"] {
    background: var(--btn-bg); color: var(--btn-fg); border-color: transparent;
    box-shadow: 0 8px 18px -8px rgba(45, 36, 36, .45);
}
html[data-tema="gece"] .mobile-menu .mobile-link,
html[data-tema="gece"] .mobile-menu .chips button.glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .03) 100%);
    border-color: rgba(253, 172, 172, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 30px -16px rgba(0, 0, 0, .6);
}
html[data-tema="gece"] .mobile-menu .mobile-link::after { opacity: .12; }
html[data-tema="gece"] .mobile-menu .mobile-link[aria-current="page"] {
    background: linear-gradient(135deg, rgba(253, 121, 121, .2) 0%, rgba(253, 121, 121, .06) 100%);
    border-color: rgba(253, 121, 121, .45);
}
html[data-tema="gece"] .mobile-menu .chips button[aria-current="true"],
html[data-tema="gece"] .mobile-menu .chips button[aria-pressed="true"] { background: var(--sc-accent); color: #fff; }


/* ============================================================
   Mobil dock — header'daki kapsülle aynı buzlu cam
   ============================================================ */
@media (max-width: 768px) {
    .dock {
        background: linear-gradient(160deg, rgba(255, 255, 255, .72) 0%, rgba(255, 240, 242, .58) 100%);
        -webkit-backdrop-filter: blur(20px) saturate(170%);
        backdrop-filter: blur(20px) saturate(170%);
        border: 1px solid rgba(255, 255, 255, .85);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .95),
            inset 0 -1px 0 rgba(253, 172, 172, .18),
            0 18px 38px -18px rgba(253, 121, 121, .45),
            0 4px 12px -6px rgba(45, 36, 36, .12);
    }
    .dock-link { color: #6f5f60; }
    html[data-tema="gece"] .dock {
        background: linear-gradient(160deg, rgba(48, 38, 40, .7) 0%, rgba(30, 24, 25, .62) 100%);
        border-color: rgba(253, 172, 172, .16);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 18px 38px -18px rgba(0, 0, 0, .7);
    }
}

/* ============================================================
   Alıntı vurguları — yumuşak köşeli, pembe "fosforlu kalem"
   ============================================================ */
/* Alıntı modunda paragraflar: ince, yuvarlak bir çerçeve "dokunulabilir" der */
.quote-mode .story p:not(.scene-break) {
    position: relative;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(253, 172, 172, .28);
    transition: background-color .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}
@media (hover: hover) {
    .quote-mode .story p:not(.scene-break):hover { background: rgba(255, 205, 201, .22); box-shadow: inset 0 0 0 1px rgba(253, 121, 121, .35); }
}
/* Seçilen paragraf: pembe camdan bir kart ve köşede küçük bir onay işareti */
.quote-mode .story p.is-picked,
.story p.is-picked {
    background: linear-gradient(135deg, rgba(255, 214, 212, .7) 0%, rgba(253, 172, 172, .32) 100%);
    box-shadow: inset 0 0 0 1px rgba(253, 121, 121, .4), 0 10px 24px -14px rgba(253, 121, 121, .65);
}
.story p.is-picked::after {
    content: '✓'; position: absolute; top: -9px; right: -6px;
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad-accent); color: #fff;
    font-family: var(--font-sans); font-size: 11px; font-weight: 700; line-height: 1;
    box-shadow: 0 4px 10px -3px rgba(253, 121, 121, .7);
    animation: sc-pop .35s var(--ease-soft) both;
}
@keyframes sc-pop { from { transform: scale(.4); opacity: 0; } }

/* Seçilen cümle: köşeleri yuvarlak, üstten alta açılan pembe fosforlu kalem */
.story .q-pick {
    background: linear-gradient(180deg, rgba(255, 220, 218, 0) 6%, rgba(255, 205, 201, .95) 6%, rgba(253, 172, 172, .6) 94%, rgba(253, 172, 172, 0) 94%);
    border-radius: .5em;
    padding: .02em .22em;
    margin: 0 -.12em;
    box-shadow: none;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* Tarayıcının kendi seçim rengi de aynı tonda (köşeleri tarayıcı yuvarlatamıyor) */
.story ::selection { background: rgba(253, 172, 172, .5); color: inherit; }

html[data-tema="gece"] .quote-mode .story p:not(.scene-break) { box-shadow: inset 0 0 0 1px rgba(253, 172, 172, .16); }
html[data-tema="gece"] .story p.is-picked {
    background: linear-gradient(135deg, rgba(253, 121, 121, .24) 0%, rgba(253, 121, 121, .1) 100%);
    box-shadow: inset 0 0 0 1px rgba(253, 121, 121, .45), 0 10px 24px -14px rgba(0, 0, 0, .7);
}
html[data-tema="gece"] .story .q-pick {
    background: linear-gradient(180deg, transparent 6%, rgba(253, 121, 121, .42) 6%, rgba(253, 121, 121, .26) 94%, transparent 94%);
}
html[data-tema="gece"] .story ::selection { background: rgba(253, 121, 121, .38); }

/* ============================================================
   Sürükleyerek seçme: yumuşak köşeli pembe vurgu
   Tarayıcının köşeli seçim rengi bölüm metninde gizlenir; yerine
   alinti.js satır satır yuvarlak köşeli şeritler çizer.
   ============================================================ */
html.custom-sel .story ::selection { background: transparent; color: var(--story); }
html.custom-sel .story::selection { background: transparent; }
.sel-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.paper-sheet > .story, .paper-sheet > .story-end { position: relative; z-index: 1; }
.sel-mark {
    position: absolute; left: 0; top: 0;
    border-radius: .55em;
    background: linear-gradient(180deg, rgba(255, 214, 212, .95) 0%, rgba(253, 172, 172, .62) 100%);
    box-shadow: 0 0 0 1px rgba(253, 121, 121, .12);
    will-change: transform;
}
.sel-mark[hidden] { display: none; }
html[data-tema="gece"] .sel-mark { background: linear-gradient(180deg, rgba(253, 121, 121, .45) 0%, rgba(253, 121, 121, .28) 100%); box-shadow: none; }

/* Seçim ve işaretlenen cümle: hafif buzlu cam görünümü */
.sel-mark {
    background: linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(255, 205, 201, .72) 55%, rgba(253, 172, 172, .62) 100%);
    border: 1px solid rgba(255, 255, 255, .95);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(253, 172, 172, .25),
        0 4px 12px -4px rgba(253, 121, 121, .45);
    -webkit-backdrop-filter: blur(2px) saturate(140%);
    backdrop-filter: blur(2px) saturate(140%);
}
.story .q-pick {
    background: linear-gradient(180deg, rgba(255, 255, 255, .62) 0%, rgba(255, 205, 201, .72) 55%, rgba(253, 172, 172, .62) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .95),
        inset 0 -1px 0 rgba(253, 172, 172, .3),
        0 4px 12px -4px rgba(253, 121, 121, .45);
    padding: .04em .24em;
}
html[data-tema="gece"] .sel-mark,
html[data-tema="gece"] .story .q-pick {
    background: linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(253, 121, 121, .3) 100%);
    border-color: rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 4px 14px -6px rgba(253, 121, 121, .5);
}
html[data-tema="gece"] .story .q-pick { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 4px 14px -6px rgba(253, 121, 121, .5); }

/* Buzlu vurgu — daha belirgin: koyu pembe gövde, ince pembe kenar, güçlü parıltı */
.sel-mark,
.story .q-pick {
    background: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 188, 186, .82) 45%, rgba(253, 145, 145, .66) 100%);
    -webkit-backdrop-filter: blur(2px) saturate(150%);
    backdrop-filter: blur(2px) saturate(150%);
}
.sel-mark {
    border: 1px solid rgba(253, 121, 121, .38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -2px 4px -2px rgba(253, 121, 121, .35),
        0 4px 14px -3px rgba(253, 121, 121, .6);
}
.story .q-pick {
    box-shadow:
        inset 0 0 0 1px rgba(253, 121, 121, .38),
        inset 0 1px 0 rgba(255, 255, 255, .95),
        0 4px 14px -3px rgba(253, 121, 121, .6);
}
html[data-tema="gece"] .sel-mark,
html[data-tema="gece"] .story .q-pick {
    background: linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(253, 121, 121, .5) 55%, rgba(253, 121, 121, .38) 100%);
}
html[data-tema="gece"] .sel-mark {
    border-color: rgba(253, 172, 172, .45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 16px -4px rgba(253, 121, 121, .65);
}
html[data-tema="gece"] .story .q-pick {
    box-shadow: inset 0 0 0 1px rgba(253, 172, 172, .45), inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 16px -4px rgba(253, 121, 121, .65);
}

/* Yazar adı bağlantısı (kitap ve bölüm sayfalarındaki "Yazar SWEETCHERRY") */
a.byline { transition: color .3s; }
a.byline:hover .logo-text { color: var(--sc-accent); }

/* Kapsül menü tablet genişliğinde sıkışmasın */
.nav-link { white-space: nowrap; }
@media (min-width: 769px) and (max-width: 1100px) {
    .capsule .brand .logo-text { display: none; }
    .main-nav ul { gap: .1rem; }
    .nav-link { padding: .5rem .85rem; letter-spacing: .16em; }
}
@media (min-width: 769px) and (max-width: 860px) {
    .nav-link { padding: .5rem .7rem; letter-spacing: .1em; }
    .lang-btn .lang-current { display: none; }
}

/* ============================================================
   Yazar sayfası — sade: yasal sayfalarla aynı metin kartı
   ============================================================ */
.author-hero { padding: calc(var(--header-h) + clamp(3rem, 9vw, 5rem)) 0 clamp(2rem, 5vw, 3rem); text-align: center; }
.author-avatar {
    width: 96px; height: 96px; margin: 0 auto 1.5rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-solid); box-shadow: var(--glass-shadow);
}
.author-avatar img { width: 60px; height: 60px; object-fit: contain; }
.author-hero .eyebrow { display: block; margin-bottom: .75rem; }
.author-name { font-weight: 400; line-height: 1; }
.author-name .logo-text { font-size: clamp(2.6rem, 11vw, 4rem); }
.author-motto { margin-top: 1rem; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 3.4vw, 1.3rem); color: var(--text-2); }
.author-body { padding-bottom: clamp(3rem, 8vw, 5rem); }
.author-end { margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--line); text-align: center; }
.author-quote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 3.6vw, 1.35rem); line-height: 1.5; color: var(--text); }
.author-sign { margin-top: 1.5rem; font-family: var(--font-serif); font-style: italic; color: var(--text-2); line-height: 1.4; }
.author-sign .logo-text { display: inline-block; margin-top: .25rem; font-style: normal; font-size: 2rem; }
.author-cta { margin-top: 2rem; }
@media (max-width: 768px) { .author-cta .btn { width: 100%; max-width: 22rem; } }

/* ============================================================
   Ayraç: okurun kendi koyduğu pembe kurdele
   ============================================================ */
.bookmark-toggle {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text); font-size: 19px;
    transition: transform .45s var(--ease-soft), color .3s, background-color .3s;
}
.bookmark-toggle:hover { color: var(--sc-accent); transform: translate3d(0, -3px, 0); }
.bookmark-toggle[aria-pressed="true"] { color: var(--sc-accent); }
.bookmark-toggle[aria-pressed="true"] .icon { fill: currentColor; }

/* Kâğıdın sağ kenarından sarkan kurdele */
.ayrac {
    position: absolute; top: 0; right: clamp(3px, 2vw, 1.4rem); z-index: 2;
    width: 22px; height: 52px; pointer-events: none;
    opacity: 0; transition: transform .6s var(--ease-soft), opacity .3s;
    filter: drop-shadow(0 6px 8px rgba(253, 121, 121, .45));
}
.ayrac::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, #FDACAC 0%, #FD7979 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
    border-radius: 3px 3px 0 0;
}
.ayrac::after {
    content: ''; position: absolute; left: 4px; right: 4px; top: 0; height: 60%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
    border-radius: 2px;
}
.ayrac.on { opacity: 1; }
.ayrac.drop::before, .ayrac.drop::after { animation: sc-ribbon .55s var(--ease-soft) both; transform-origin: top; }
@keyframes sc-ribbon { from { transform: scaleY(.2); } }
/* Ayraçlı paragraf: yanında çok hafif pembe bir iz */
.story p.has-ayrac { box-shadow: inset -3px 0 0 rgba(253, 121, 121, .35); border-radius: 4px; }

/* Kısa bildirim */
.sc-toast {
    position: fixed; left: 50%; top: calc(var(--header-h) + .75rem); z-index: 1100;
    padding: .7rem 1.2rem; border-radius: 999px;
    font-size: 12px; font-weight: 600; color: var(--text);
    opacity: 0; transform: translate3d(-50%, -8px, 0); pointer-events: none;
    transition: opacity .3s var(--ease-soft), transform .4s var(--ease-soft);
}
.sc-toast.show { opacity: 1; transform: translate3d(-50%, 0, 0); }

/* İçindekiler'de ayraçlı bölüm */
.chapter-box.has-ayrac::before {
    content: ''; position: absolute; top: -1px; left: 14px; width: 12px; height: 22px;
    background: linear-gradient(180deg, #FDACAC, #FD7979);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}
/* "Kaldığın yer" kartında ayraca git */
.continue-card { flex-wrap: wrap; }
.cc-ayrac {
    flex-basis: 100%; display: inline-flex; align-items: center; gap: .45rem;
    margin-top: .2rem; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--sc-accent);
}
.cc-ayrac .icon { font-size: 14px; fill: currentColor; }
.cc-ayrac:hover { text-decoration: underline; }
@media (max-width: 420px) { .cc-ayrac { justify-content: center; } }

/* Ayraç sürükleme */
.ayrac { border: 0; padding: 0; background: none; }
.ayrac.on { pointer-events: auto; cursor: grab; touch-action: none; }
/* Parmakla tutmayı kolaylaştıran geniş dokunma alanı: düğme 40×64, kurdele ortada 22 px */
.ayrac { width: 40px; height: 64px; right: calc(clamp(3px, 2vw, 1.4rem) - 9px); -webkit-tap-highlight-color: transparent; }
.ayrac::before { inset: 0 9px 12px 9px; }
.ayrac::after { left: 13px; right: 13px; height: 32px; }
.ayrac.on:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 4px; border-radius: 4px; }
.ayrac.dragging { cursor: grabbing; transition: opacity .3s; z-index: 5; filter: drop-shadow(0 10px 14px rgba(253, 121, 121, .55)); }
.ayrac-surukleniyor, .ayrac-surukleniyor * { user-select: none; -webkit-user-select: none; }
.story p.ayrac-hedef { background: rgba(255, 205, 201, .3); box-shadow: inset -3px 0 0 var(--sc-accent); border-radius: 8px; transition: background-color .2s; }
html[data-tema="gece"] .story p.ayrac-hedef { background: rgba(253, 121, 121, .14); }

/* Ayraç · kelime düzeyi: kaldığın kelimenin önünde ince pembe işaret */
.ayrac-isaret {
    position: absolute; top: 0; left: 0; z-index: 1; width: 3px; height: 1.2em;
    border-radius: 3px; background: linear-gradient(180deg, #FDACAC, #FD7979);
    box-shadow: 0 0 0 3px rgba(253, 121, 121, .14);
    opacity: 0; pointer-events: none;
    transition: transform .5s var(--ease-soft), height .3s, opacity .3s;
}
.ayrac-isaret::before {
    content: ''; position: absolute; left: 50%; top: -5px; width: 7px; height: 7px;
    margin-left: -3.5px; border-radius: 50%; background: #FD7979;
}
.ayrac-isaret.on { opacity: 1; }
.ayrac-surukleniyor .ayrac-isaret { transition: opacity .3s; }
.story p.has-ayrac { box-shadow: none; }
/* Koyma modu bandı */
.ayrac-bant {
    position: fixed; left: 50%; top: calc(var(--header-h) + .75rem); z-index: 1090;
    display: flex; align-items: center; gap: .4rem; max-width: calc(100vw - 32px);
    padding: .4rem .45rem .4rem 1rem; border-radius: 999px;
    font-size: 12px; font-weight: 600; color: var(--text);
    opacity: 0; transform: translate3d(-50%, -10px, 0); pointer-events: none;
    transition: opacity .3s var(--ease-soft), transform .4s var(--ease-soft);
}
.ayrac-modu .ayrac-bant { opacity: 1; transform: translate3d(-50%, 0, 0); pointer-events: auto; }
.ayrac-bant .ab-msg { display: inline-flex; align-items: center; gap: .45rem; margin-right: .3rem; white-space: nowrap; }
.ayrac-bant .icon { font-size: 15px; fill: var(--sc-accent); color: var(--sc-accent); }
.ayrac-bant button {
    border: 0; border-radius: 999px; padding: .45rem .8rem; cursor: pointer;
    font: inherit; font-size: 11px; color: var(--text); background: rgba(253, 121, 121, .12);
}
.ayrac-bant button:hover { background: rgba(253, 121, 121, .22); }
.ayrac-bant .ab-kapat { background: none; opacity: .7; }
.ayrac-modu .story p:not(.scene-break) { cursor: text; }
.ayrac-modu .story { user-select: none; -webkit-user-select: none; }
.ayrac-modu .bookmark-toggle { color: var(--sc-accent); }

/* Bölüm içinde anlatıcı değişimi (ör. "Kylie") */
.story .pov {
    margin: 0 0 1.4em; text-align: center;
    font-family: var(--font-serif); font-style: italic; font-size: 1.35em; font-weight: 400;
    color: var(--sc-accent); letter-spacing: .02em;
}

/* ============================================================
   İpucu defteri
   ============================================================ */
/* Metindeki gizli ipucu: kelimenin sonunda küçük bir mürekkep lekesi */
.story .ipucu { cursor: pointer; border-radius: 4px; transition: background-color .3s, box-shadow .3s; -webkit-tap-highlight-color: transparent; }
.story .ipucu::after {
    content: ''; display: inline-block; width: .32em; height: .32em; margin-left: .12em; vertical-align: .55em;
    border-radius: 48% 52% 45% 55%; background: #c94a4a; opacity: .32; transition: opacity .3s, transform .3s;
}
@media (hover: hover) { .story .ipucu:hover::after { opacity: .75; transform: scale(1.3); } }
.story .ipucu:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
.story .ipucu.bulundu { text-decoration: underline wavy rgba(201, 74, 74, .45); text-decoration-thickness: 1px; text-underline-offset: .28em; }
.story .ipucu.bulundu::after { opacity: .7; }
.story .ipucu.yeni { animation: sc-ipucu 1.3s var(--ease-soft); }
.story .ipucu.vurgu { background: rgba(253, 121, 121, .18); box-shadow: 0 0 0 4px rgba(253, 121, 121, .18); }
@keyframes sc-ipucu { 0% { background: rgba(253, 121, 121, .45); } 100% { background: transparent; } }
html[data-tema="gece"] .story .ipucu::after { background: #ff8f8f; }
.quote-mode .story .ipucu, .ayrac-modu .story .ipucu { cursor: inherit; }

/* Bölüm sonundaki sayaç */
.ipucu-sayac { font-size: 12px; color: var(--text-2); letter-spacing: .02em; text-align: center; }
.ipucu-sayac b { color: var(--sc-accent); font-weight: 700; }
.ipucu-sayac u { text-decoration-color: var(--sc-mid); text-underline-offset: 3px; }
.ipucu-sayac:hover u { color: var(--sc-accent); }

/* Bildirim: simge + yazı + bağlantı */
.ipucu-toast { display: flex; align-items: center; gap: .7rem; width: max-content; max-width: calc(100vw - 32px); padding: .6rem .6rem .6rem 1rem; border-radius: 22px; font-weight: 500; line-height: 1.45; }
.ipucu-toast.show { pointer-events: auto; }
.ipucu-toast .it-ico { font-size: 18px; }
.ipucu-toast b { font-weight: 700; }
.ipucu-toast small { font-size: 11px; color: var(--text-2); font-weight: 400; }
.ipucu-toast a { flex: none; padding: .5rem .8rem; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-size: 11px; font-weight: 600; white-space: nowrap; }

/* Defter sayfası */
.defter-lead { max-width: 34rem; margin: 1.25rem auto 0; font-size: 1rem; }
.defter-govde { padding-bottom: clamp(3rem, 8vw, 5rem); }
.defter-ozet { display: flex; align-items: center; gap: clamp(1rem, 4vw, 2rem); padding: clamp(1.25rem, 4vw, 1.75rem) clamp(1.25rem, 5vw, 2.25rem); border-radius: 28px; margin-bottom: 2.5rem; }
.do-sayi { flex: none; font-family: var(--font-serif); line-height: 1; color: var(--sc-accent); }
.do-sayi b { font-size: clamp(2.6rem, 9vw, 3.4rem); font-weight: 400; }
.do-sayi span { font-size: 1.1rem; color: var(--text-3); margin-left: .2rem; }
.do-yazi { flex: 1; min-width: 0; display: grid; gap: .3rem; }
.do-yazi strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; color: var(--text); }
.do-yazi > span { font-size: .875rem; color: var(--text-2); line-height: 1.6; }
.do-bar { height: 6px; margin-top: .5rem; border-radius: 999px; background: var(--line); overflow: hidden; }
.do-bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad-accent); transition: width .8s var(--ease-soft); }

.defter-bolum + .defter-bolum { margin-top: 2.5rem; }
.defter-bolum > header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 .5rem 1rem; }
.defter-bolum h2 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.5rem; }
.db-sayi { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--sc-accent); }

/* Çizgili defter kâğıdı, solda kırmızı kenar çizgisi */
.defter-sayfa {
    --satir: 2rem;
    position: relative; display: grid; gap: 1px; overflow: hidden;
    background: var(--paper); border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: var(--glass-shadow);
}
.defter-sayfa::before { content: ''; position: absolute; top: 0; bottom: 0; left: clamp(1.6rem, 6vw, 3rem); width: 1px; background: rgba(253, 121, 121, .35); pointer-events: none; }
.ipucu-kart, .bag-kart {
    position: relative; padding: 1.25rem clamp(1.25rem, 4vw, 2rem) 1.35rem calc(clamp(1.6rem, 6vw, 3rem) + 1.1rem);
    background-image: repeating-linear-gradient(180deg, transparent 0 calc(var(--satir) - 1px), var(--line) calc(var(--satir) - 1px) var(--satir));
    background-position: 0 1.25rem;
}
.ipucu-kart + .ipucu-kart, .bag-kart + .bag-kart { border-top: 1px dashed var(--line); }
.ipucu-kart h3, .bag-kart h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.15rem; line-height: var(--satir); color: var(--text); }
.ipucu-kart blockquote { font-family: var(--font-serif); font-style: italic; color: var(--sc-accent); line-height: var(--satir); font-size: .98rem; }
.ik-not, .bag-kart p { color: var(--text-2); font-size: .9rem; line-height: var(--satir); }
.ik-teori { display: grid; gap: .25rem; margin-top: .6rem; }
.ik-teori span { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.ik-teori textarea {
    width: 100%; resize: vertical; min-height: 2.6rem; padding: .55rem .8rem; border-radius: 12px;
    border: 1px solid var(--line); background: var(--surface-float); color: var(--text);
    font: italic .95rem/1.6 var(--font-serif);
}
.ik-teori textarea:focus { outline: none; border-color: var(--sc-mid); box-shadow: 0 0 0 3px rgba(253, 172, 172, .25); }
.ik-git { display: inline-block; margin-top: .6rem; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--sc-accent); }
.ik-git:hover { text-decoration: underline; }
.ipucu-kart.kilitli h3 { color: var(--text-3); }
.ipucu-kart.kilitli h3 span { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-right: .35rem; border-radius: 50%; border: 1px dashed var(--sc-mid); color: var(--sc-mid); font-size: .9rem; }
.ipucu-kart.kilitli .ik-not { font-style: italic; color: var(--text-3); }
.ipucu-kart.vurgu, .bag-kart.vurgu { animation: sc-ipucu 2.2s var(--ease-soft); }

.bag-ipler { display: flex; flex-wrap: wrap; gap: .4rem; margin: .35rem 0 .5rem; }
.bag-ipler li { padding: .2rem .65rem; border-radius: 999px; border: 1px dashed var(--sc-mid); font-size: 11px; color: var(--text-3); }
.bag-ipler li.var { border-style: solid; color: var(--sc-accent); background: rgba(253, 121, 121, .08); }
.bag-kart:not(.acik) h3 { color: var(--text-3); font-style: italic; }
.bag-kart.acik h3::before { content: '🧵 '; }
.bag-eksik { font-size: 11px !important; letter-spacing: .1em; }

.defter-anahtar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding: 1.5rem 1.75rem; border-radius: 28px; }
.defter-anahtar .da-ico { font-size: 2rem; }
.defter-anahtar div { flex: 1; min-width: 12rem; }
.defter-anahtar strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.3rem; }
.defter-anahtar p { color: var(--text-2); font-size: .9rem; }
.defter-sifirla { margin-top: 2rem; text-align: center; }
.defter-sifirla button { border: 0; background: none; cursor: pointer; font: inherit; font-size: 11px; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.defter-sifirla button:hover { color: var(--sc-accent); }
.defter-gizlilik { margin-top: 1.25rem; text-align: center; font-size: 11px; color: var(--text-3); }
@media (max-width: 480px) { .defter-ozet { flex-direction: column; text-align: center; } .do-yazi { width: 100%; } }

/* ============================================================
   Oda 404 (hata sayfası): loş koridorun sonundaki kapı
   Sahne her temada gece; otelde hava hep karanlık.
   ============================================================ */
.oda404-sayfa { min-height: 100svh; text-align: center; padding: calc(var(--header-h) + 2.5rem) 0 4rem; }
.oda404-sayfa .eyebrow { display: block; margin-bottom: 1rem; }
.oda404-sayfa .display { margin-bottom: 1.25rem; }
.oda404-sayfa .lead { max-width: 30rem; margin: 0 auto; }

.koridor {
    position: relative; width: min(100%, 440px); height: 330px; margin: 2.5rem auto 0;
    border-radius: 28px; overflow: hidden; isolation: isolate;
    background: #241a1c; box-shadow: 0 30px 60px -28px rgba(45, 36, 36, .6), inset 0 0 0 1px rgba(253, 172, 172, .14);
}
/* Çizgili duvar kâğıdı, kenarlara doğru kararır */
.k-duvar {
    position: absolute; inset: 0 0 26%; z-index: -2;
    background:
        radial-gradient(ellipse 70% 90% at 50% 70%, rgba(253, 121, 121, .16), transparent 70%),
        repeating-linear-gradient(90deg, #3a2a2e 0 14px, #34262a 14px 28px);
}
.koridor::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 50% 55%, transparent 45%, rgba(10, 6, 7, .75) 100%); }
/* Halı kaplı zemin, kapıya doğru daralır */
.k-zemin { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; z-index: -1; background: #1a1314; }
.k-zemin::before {
    content: ''; position: absolute; inset: 0;
    clip-path: polygon(38% 0, 62% 0, 92% 100%, 8% 100%);
    background: linear-gradient(180deg, #6e2f38, #4a2026); 
}
.k-zemin::after {
    content: ''; position: absolute; inset: 0;
    clip-path: polygon(40% 0, 60% 0, 86% 100%, 14% 100%);
    background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(255, 205, 201, .06) 6px 7px);
}
/* Titrek duvar lambaları */
.k-lamba { position: absolute; top: 34%; width: 14px; height: 22px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #ffe3c4, #e8a77c); z-index: 1; }
.k-lamba.sol { left: 17%; }
.k-lamba.sag { right: 17%; }
.k-lamba::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: 130px; height: 130px; margin: -65px 0 0 -65px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 160, .35), rgba(255, 196, 160, 0) 65%); pointer-events: none;
}
.k-lamba.sag::after { animation: sc-lamba 5s steps(1, end) infinite; }
@keyframes sc-lamba { 0%, 100% { opacity: 1; } 61% { opacity: .2; } 63% { opacity: .9; } 66% { opacity: .15; } 69% { opacity: 1; } }
.k-lamba.sag { animation: sc-lamba-ic 5s steps(1, end) infinite; }
@keyframes sc-lamba-ic { 0%, 100% { filter: none; } 61%, 66% { filter: brightness(.45); } }

/* Kapı kasası ve kanadı */
.k-kasa {
    position: absolute; left: 50%; bottom: 26%; width: 112px; height: 196px; transform: translateX(-50%);
    perspective: 700px; z-index: 2;
}
.k-kasa::before { content: ''; position: absolute; inset: -9px -9px 0; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #5c4044, #3f2b2e); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.oda-ic {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
    padding: .75rem .6rem .75rem 1.1rem; background: radial-gradient(circle at 50% 60%, #2a1d20, #070505 80%);
    color: #f3e6e6; font-size: 10.5px; line-height: 1.45; opacity: 0; transition: opacity .6s .35s;
}
.oda-ic strong { font-family: var(--font-serif); font-weight: 400; font-size: .95rem; }
.oda-ic p { color: #c9b9b9; }
.oda-ic .oi-ico { font-size: 1.2rem; }
.oda-kapi {
    position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; border-radius: 2px 2px 0 0;
    background: linear-gradient(100deg, #7a3a44 0%, #612c35 45%, #4e232a 100%);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25), inset -10px 0 18px -10px rgba(0, 0, 0, .5);
    transform-origin: left center; transition: transform 1.1s var(--ease-soft);
}
.kp-panel { position: absolute; left: 14px; right: 14px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .22), inset 1px 1px 0 2px rgba(255, 205, 201, .08); }
.kp-panel.ust { top: 62px; height: 46px; }
.kp-panel.alt { top: 120px; bottom: 14px; }
.kp-numara { position: absolute; left: 0; right: 0; top: 16px; font-family: var(--font-serif); font-size: 1.2rem; letter-spacing: .14em; color: #f2c99a; text-shadow: 0 1px 0 rgba(0, 0, 0, .5), 0 0 8px rgba(242, 201, 154, .35); }
.kp-delik { position: absolute; left: 50%; top: 46px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #120c0d; box-shadow: 0 0 0 2px #c99a6a; }
.kp-kol {
    position: absolute; right: 9px; top: 104px; width: 20px; height: 5px; border-radius: 3px; background: linear-gradient(180deg, #ffe2c2, #c08b5c);
    transform-origin: 16px 50%; transition: transform .25s;
}
.kp-kol::after { content: ''; position: absolute; right: 1px; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff0dc, #b98454); }
/* Kapının altından sızan kırmızı ışık */
.oda-isik {
    position: absolute; left: -30%; right: -30%; bottom: -10px; height: 20px; border-radius: 50%; z-index: 3;
    background: radial-gradient(ellipse at center, rgba(255, 70, 70, .7), rgba(255, 70, 70, 0) 70%);
    filter: blur(2px); animation: sc-isik 3.2s steps(1, end) infinite;
}
@keyframes sc-isik { 0%, 100% { opacity: .9; } 46% { opacity: .35; } 48% { opacity: .85; } 72% { opacity: .5; } 74% { opacity: 1; } }
.oda-kapi.sars { animation: sc-sars .45s; }
.oda-kapi.sars .kp-kol { transform: rotate(22deg); }
@keyframes sc-sars { 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }
.oda-kapi:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 6px; }

.oda-kilit-not { margin: 1.4rem 0 2.25rem; font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--text-3); }
.oda-kilit-not span { display: block; margin-top: .4rem; letter-spacing: .02em; text-transform: none; font-weight: 400; font-style: italic; font-family: var(--font-serif); font-size: .95rem; }
/* Anahtar okurda: kapı numarası parlar; açılınca menteşeden döner, ışık beyazlaşır */
[data-oda404].anahtar .kp-numara { color: #ffe1b8; text-shadow: 0 0 12px rgba(255, 225, 184, .9); }
[data-oda404].anahtar .oda-kilit-not { color: var(--sc-accent); }
[data-oda404].acik .oda-kapi { transform: rotateY(-100deg); pointer-events: none; }
[data-oda404].acik .oda-ic { opacity: 1; }
[data-oda404].acik .oda-isik { animation: none; opacity: 1; background: radial-gradient(ellipse at center, rgba(255, 220, 200, .55), rgba(255, 220, 200, 0) 70%); }

.oda-defter { display: inline-block; margin-top: 1.5rem; font-size: 12px; font-weight: 600; color: var(--sc-accent); }
.oda-defter:hover { text-decoration: underline; }
.oda404-sayfa .btn-row { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .oda-isik, .k-lamba, .k-lamba::after { animation: none !important; } }

/* Aramadan gelince tarayıcının vurguladığı metin (#:~:text=): mor yerine site pembesi */
::target-text { background-color: rgba(253, 121, 121, .3); color: inherit; text-decoration: underline; text-decoration-color: var(--sc-accent); text-decoration-thickness: 2px; text-underline-offset: .2em; }
html[data-tema="gece"] ::target-text { background-color: rgba(253, 121, 121, .38); color: var(--story); }
