/* bobin — sinema editoryali: sıcak siyah, krem, projeksiyon ambarı */
:root {
  --bg: #12100d;
  --bg-raised: #1a1713;
  --bg-sunken: #0c0b09;
  --ink: #ece3d3;
  --ink-dim: #a2988a;
  --ink-faint: #6b6357;
  --amber: #e5a838;
  --amber-deep: #b97f1e;
  --amber-text: #191204;
  --line: rgba(236, 227, 211, 0.12);
  --line-strong: rgba(236, 227, 211, 0.22);
  --stamp: #c8502e;
  --veil: rgba(18, 16, 13, 0.6);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Archivo", system-ui, sans-serif;
  --radius: 14px;
}
/* aydınlık tema: krem kağıt + mürekkep — sinema-editoryal kimlik korunur */
:root[data-theme="light"] {
  --bg: #f1e9d8;
  --bg-raised: #f9f3e6;
  --bg-sunken: #e6dcc6;
  --ink: #29231a;
  --ink-dim: #6d6455;
  --ink-faint: #9a9080;
  --amber: #b07a12;
  --amber-deep: #8f620c;
  --amber-text: #fdf8ec;
  --line: rgba(41, 35, 26, 0.14);
  --line-strong: rgba(41, 35, 26, 0.28);
  --stamp: #b23c1e;
  --veil: rgba(249, 243, 230, 0.72);
}
[hidden] { display: none !important; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100dvh;
  overscroll-behavior-y: contain; /* PWA'da yanlışlıkla sayfa-yenileme çekişini engelle */
}
/* mobil dokunma: gri flaş yok, çift-tap zoom yok, buton metni seçilmez */
button, a, .tab, .card, .ticket .info {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button { user-select: none; -webkit-user-select: none; }
button:active { opacity: 0.85; }
/* çok hafif film greni — sadeliği bozmayan doku */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }
/* 16px altı font iOS'ta odaklanınca zorla zoom yapar — tüm form elemanları 16px */
input, textarea, select {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg-sunken); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 12px 14px; width: 100%;
  outline: none; transition: border-color 0.15s;
}
input:focus { border-color: var(--amber); }
img { display: block; }
img.broken { visibility: hidden; } /* kırık poster: kutu kalır, kırık ikon görünmez */
a { color: inherit; }

#app { max-width: 680px; margin: 0 auto; padding: 0 18px 110px; }
/* geniş ekran: kolon nefes alsın — ızgaralar (auto-fill) kendiliğinden sütun kazanır */
@media (min-width: 900px) {
  #app, .tabbar-inner { max-width: 920px; }
}
/* çok geniş ekran: TAM genişlik — kenarda 48px nefes, ızgaralar ekranı doldurur */
@media (min-width: 1400px) {
  #app { max-width: none; padding-left: 48px; padding-right: 48px; }
  .tabbar-inner { max-width: 1200px; } /* alt sekmeler ortada toplu kalır */
  body.chat-open #app { max-width: 920px; margin: 0 auto; } /* sohbet balonları aşırı yayılmasın */
  /* uzun metin blokları okuma genişliğinde kalır (tam satır 1900px okunmaz) */
  .summary, .c-form, .c-item, .friends-line, .recap-facts, .set-block, .imp-step { max-width: 880px; }
}

/* ---------- üst bant ---------- */
.masthead {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: calc(16px + env(safe-area-inset-top, 6px)) 0 6px; /* çentikli telefonlarda status bara girme */
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.masthead .wordmark {
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  letter-spacing: -0.02em;
}
.wordmark .dot { color: var(--amber); }
.masthead .who { font-size: 12px; color: var(--ink-dim); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- editorial başlık ---------- */
.ed-title {
  font-family: var(--serif); font-weight: 350; font-style: italic;
  font-size: 34px; letter-spacing: -0.02em; line-height: 1.1;
  margin: 26px 0 4px;
}
.ed-sub { color: var(--ink-dim); font-size: 13px; margin-bottom: 20px; }

/* ---------- giriş ekranı ---------- */
.gate {
  min-height: 88dvh; display: flex; flex-direction: column; justify-content: center;
  max-width: 360px; margin: 0 auto;
  position: relative; z-index: 1;
}
/* giriş arka planı: süzülen poster duvarı — karartılmış, vinyetli; form her zaman önde */
.gate-wall {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  display: flex; gap: 16px; justify-content: center; padding: 0 8px;
}
.gw-col {
  flex: 1 1 0; min-width: 0; max-width: 260px;
  display: flex; flex-direction: column; gap: 16px;
  animation: gwFloat 60s linear infinite;
  will-change: transform;
}
.gw-col:nth-child(even) { animation-direction: reverse; }
.gw-col img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px;
  filter: grayscale(0.35) brightness(0.4) sepia(0.12);
}
@keyframes gwFloat { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.gate-wall::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 55% at center, rgba(18, 16, 13, 0.66) 0%, rgba(18, 16, 13, 0.82) 55%, rgba(18, 16, 13, 0.66) 100%);
}
:root[data-theme=light] .gate-wall::after {
  background: radial-gradient(ellipse 62% 58% at center, rgba(241, 233, 216, 0.75) 0%, rgba(241, 233, 216, 0.94) 62%, var(--bg) 96%);
}
:root[data-theme=light] .gw-col img { filter: grayscale(0.4) brightness(1.05) opacity(0.5); }
@media (prefers-reduced-motion: reduce) { .gw-col { animation: none; } }
.gate .reel { margin-bottom: 26px; }
.gate h1 {
  font-family: var(--serif); font-weight: 550; font-size: 46px;
  letter-spacing: -0.03em; line-height: 1;
}
.gate .tagline {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  color: var(--ink-dim); font-size: 17px; margin: 10px 0 34px;
}
.gate form { display: flex; flex-direction: column; gap: 10px; }
.gate .switch { margin-top: 18px; font-size: 13px; color: var(--ink-dim); }
.gate .switch button { color: var(--amber); font-size: 13px; }
.gate .err { color: var(--stamp); font-size: 13px; min-height: 18px; }

.btn-primary {
  background: var(--amber); color: var(--amber-text); font-weight: 600; font-size: 15px;
  padding: 13px 18px; border-radius: 10px; letter-spacing: 0.01em;
  transition: transform 0.1s, background 0.15s;
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:hover { background: #f0b74e; }
.btn-ghost {
  border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 12px 18px; font-size: 14px; color: var(--ink-dim);
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--ink); }

/* ---------- sıradaki: bilet kartları ---------- */
.ticket {
  display: grid; grid-template-columns: 74px 1fr auto; gap: 14px;
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px; margin-bottom: 12px;
  align-items: center; position: relative; overflow: hidden;
}
.ticket .poster {
  width: 74px; height: 104px; border-radius: 8px; object-fit: cover;
  background: var(--bg-sunken);
}
.poster-fallback {
  width: 74px; height: 104px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #262019, #171310);
  font-family: var(--serif); font-size: 30px; color: var(--ink-faint);
}
.ticket .info { min-width: 0; }
.ticket .show-name {
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ticket .ep-code {
  font-family: var(--serif); font-style: italic; color: var(--amber);
  font-size: 14px; margin-top: 2px;
}
.ticket .ep-name {
  color: var(--ink-dim); font-size: 13px; margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ticket .bar {
  margin-top: 8px; height: 3px; border-radius: 2px; background: var(--bg-sunken);
  overflow: hidden; max-width: 180px;
}
.ticket .bar i { display: block; height: 100%; background: var(--amber-deep); border-radius: 2px; }
.ticket .meta-small { font-size: 11px; color: var(--ink-faint); margin-top: 5px; letter-spacing: 0.04em; }

/* damga butonu — perforasyonlu koçan */
.stub {
  align-self: stretch; display: flex; align-items: center; justify-content: center;
  padding: 0 4px 0 16px; margin: -12px -12px -12px 0;
  border-left: 1.5px dashed var(--line-strong);
  width: 86px; flex-direction: column; gap: 4px;
  transition: background 0.15s;
}
.stub:hover { background: rgba(229, 168, 56, 0.06); }
.stub .stamp-circle {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--amber); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: all 0.15s;
}
.stub:hover .stamp-circle { background: var(--amber); color: var(--amber-text); }
.stub .stub-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
/* koçanın perforasyon çentikleri */
.ticket::before, .ticket::after {
  content: ""; position: absolute; right: 78px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--bg); border: 1px solid var(--line);
}
.ticket::before { top: -9px; }
.ticket::after { bottom: -9px; }

.all-done {
  text-align: center; padding: 40px 20px; color: var(--ink-dim);
  font-family: var(--serif); font-style: italic; font-size: 17px;
}

/* ---------- damga animasyonu ---------- */
@keyframes stampIn {
  0% { transform: scale(2.2) rotate(-18deg); opacity: 0; }
  55% { transform: scale(0.92) rotate(-8deg); opacity: 1; }
  100% { transform: scale(1) rotate(-8deg); opacity: 1; }
}
.stamped {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--veil); backdrop-filter: blur(1px); z-index: 2;
}
.stamped span {
  font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: 0.14em;
  color: var(--stamp); border: 3px solid var(--stamp); border-radius: 6px;
  padding: 4px 16px; text-transform: uppercase;
  animation: stampIn 0.35s cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='r'%3E%3CfeTurbulence baseFrequency='0.6' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0.4'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-size: 90px;
}

/* ---------- arama ---------- */
.search-wrap { position: sticky; top: 0; z-index: 10; background: var(--bg); padding: 14px 0 12px; }
.result-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 14px; margin-top: 6px;
}
.card { text-align: left; }
.card .poster-wrap { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 2/2.9; background: var(--bg-raised); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.card:hover img { transform: scale(1.04); }
.card .in-lib {
  position: absolute; top: 6px; right: 6px; background: var(--amber); color: var(--amber-text);
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 20px;
  letter-spacing: 0.05em;
}
.card .c-name { font-size: 13px; font-weight: 600; margin-top: 7px; line-height: 1.25; }
.card .c-meta { font-size: 11px; color: var(--ink-faint); margin-top: 2px; }
.hint { color: var(--ink-faint); font-family: var(--serif); font-style: italic; text-align: center; padding: 48px 0; font-size: 16px; }

/* ---------- dizi detay ---------- */
.detail-hero { display: flex; gap: 18px; margin-top: 18px; }
.detail-hero .poster-lg { width: 118px; border-radius: 12px; aspect-ratio: 2/2.9; object-fit: cover; background: var(--bg-raised); }
.detail-hero h2 { font-family: var(--serif); font-weight: 550; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.detail-hero .facts { color: var(--ink-dim); font-size: 13px; margin: 8px 0 12px; line-height: 1.7; }
.detail-hero .facts b { color: var(--amber); font-weight: 600; }
.back-row { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.back-btn { color: var(--ink-dim); font-size: 13px; padding: 6px 0; letter-spacing: 0.04em; }
.back-btn:hover { color: var(--amber); }
.summary { color: var(--ink-dim); font-size: 14px; margin: 18px 0 6px; line-height: 1.65; }

.season {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-top: 14px; overflow: hidden; background: var(--bg-raised);
}
.season-head {
  width: 100%; display: flex; align-items: center;
  padding: 13px 16px; font-weight: 600; font-size: 14px;
  cursor: pointer; gap: 10px;
}
.season-head > span:first-child { flex: 1; }
.season-tick { flex-shrink: 0; }
.season-head .s-progress { color: var(--ink-faint); font-size: 12px; font-weight: 400; }
.season-head .s-progress.done { color: var(--amber); }
.season-body { border-top: 1px solid var(--line); }
.ep-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.ep-row:last-child { border-bottom: none; }
.ep-row .num { font-family: var(--serif); font-style: italic; color: var(--ink-faint); width: 26px; flex-shrink: 0; }
.ep-row .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-row.unaired { opacity: 0.4; }
.ep-row .air { font-size: 11px; color: var(--ink-faint); flex-shrink: 0; }
.tick {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--line-strong); color: transparent;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  transition: all 0.12s;
}
.tick:hover { border-color: var(--amber); }
.tick.on { background: var(--amber); border-color: var(--amber); color: var(--amber-text); }
.season-mark { font-size: 12px; color: var(--amber); padding: 10px 16px; letter-spacing: 0.03em; }

/* ---------- profil ---------- */
.time-counter { margin: 30px 0 6px; }
.time-counter .tc-num {
  font-family: var(--serif); font-weight: 550; font-size: 62px;
  letter-spacing: -0.04em; line-height: 1;
}
.time-counter .tc-num small { font-size: 26px; font-weight: 350; font-style: italic; color: var(--amber); margin-right: 12px; }
.time-counter .tc-label {
  color: var(--ink-dim); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); display: inline-block;
}
.stat-row { display: flex; gap: 28px; margin: 26px 0; }
.stat-row .st b { font-family: var(--serif); font-size: 26px; font-weight: 550; display: block; }
.stat-row .st span { font-size: 11px; color: var(--ink-faint); letter-spacing: 0.08em; text-transform: uppercase; }
.genre-line { font-family: var(--serif); font-style: italic; color: var(--ink-dim); font-size: 15px; margin-bottom: 26px; }
.genre-line b { color: var(--amber); font-weight: 550; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 12px; margin-top: 14px; }
.logout-row { margin-top: 40px; }

/* ---------- yaklaşan bölümler şeridi ---------- */
.strip-label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); margin: 4px 0 8px;
}
.up-strip {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 14px;
  margin: 0 -18px; padding-left: 18px; padding-right: 18px;
  scrollbar-width: thin; scrollbar-color: var(--amber-deep) transparent;
}
.up-strip::-webkit-scrollbar { height: 6px; }
.up-strip::-webkit-scrollbar-thumb { background: var(--amber-deep); border-radius: 3px; }
.up-strip::-webkit-scrollbar-track { background: transparent; }
.up-card {
  flex-shrink: 0; text-align: left; min-width: 138px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-raised); padding: 10px 14px;
}
.up-card .up-when {
  display: block; font-family: var(--serif); font-style: italic;
  color: var(--amber); font-size: 13px;
}
.up-card .up-show {
  display: block; font-weight: 600; font-size: 13px; margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px;
}
.up-card .up-ep { display: block; color: var(--ink-faint); font-size: 11px; margin-top: 2px; }

/* ---------- dizi durumu segmenti ---------- */
.state-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.state-seg button {
  border: 1px solid var(--line-strong); border-radius: 20px;
  padding: 8px 14px; font-size: 12.5px; color: var(--ink-dim);
  transition: all 0.15s; letter-spacing: 0.01em;
}
.state-seg button:hover { border-color: var(--amber); color: var(--ink); }
.state-seg button.on {
  background: var(--amber); border-color: var(--amber);
  color: var(--amber-text); font-weight: 600;
}

/* ---------- onboarding ---------- */
.welcome-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px; margin-top: 10px;
}
.w-card .poster-wrap { position: relative; }
.w-card .pick-mark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: var(--amber); background: var(--veil);
  opacity: 0; transition: opacity 0.15s; border-radius: 10px;
}
.w-card.picked .pick-mark { opacity: 1; }
.w-card.picked .poster-wrap { outline: 2px solid var(--amber); outline-offset: -2px; border-radius: 10px; }
.welcome-foot {
  position: sticky; bottom: 74px; display: flex; gap: 10px; margin-top: 22px;
  background: linear-gradient(transparent, var(--bg) 30%); padding-top: 14px;
}
.welcome-foot .btn-primary { flex: 1; }

/* ---------- akış ---------- */
.feed-item {
  display: flex; gap: 12px; align-items: flex-start;
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.feed-av { flex-shrink: 0; width: 38px; height: 38px; font-size: 16px; }
.feed-body { flex: 1; min-width: 0; }
.feed-text { font-size: 13px; color: var(--ink-dim); }
.feed-text .c-user { font-size: 13px; }
.feed-show { font-weight: 600; color: var(--ink); font-size: 13px; }
.feed-show:hover { color: var(--amber); }
.feed-line { font-size: 14px; margin-top: 3px; line-height: 1.5; }
.feed-line b { color: var(--amber); font-weight: 600; }
.feed-line i { color: var(--ink-dim); }
.feed-item .c-time { display: block; margin-top: 4px; }
.f-poster { width: 44px; height: 62px; border-radius: 6px; object-fit: cover; }
.feed-poster { flex-shrink: 0; }

/* ---------- spoiler örtüsü ---------- */
.c-content { position: relative; }
.c-content .spoiler-veil { display: none; }
.c-content.spoiler .c-text, .c-content.spoiler .c-photo { filter: blur(9px); pointer-events: none; user-select: none; }
.c-content.spoiler .spoiler-veil {
  display: block; position: absolute; inset: 0; z-index: 2;
  color: var(--amber); font-size: 12.5px; letter-spacing: 0.03em;
  background: rgba(18, 16, 13, 0.25);
}

/* ---------- ayarlar ---------- */
.profile-head { display: flex; align-items: baseline; justify-content: space-between; }
.settings-link { color: var(--ink-faint); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.settings-link:hover { color: var(--amber); }
.set-block {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-raised); padding: 18px; margin-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.set-block h3 { font-family: var(--serif); font-weight: 550; font-size: 18px; }
.set-block .err { min-height: 16px; font-size: 13px; color: var(--stamp); }
.set-block.danger { border-color: rgba(200, 80, 46, 0.35); }
.set-note { color: var(--ink-dim); font-size: 13px; line-height: 1.55; }
.del-btn { color: var(--stamp); border-color: rgba(200, 80, 46, 0.5); }
.del-btn:hover { border-color: var(--stamp); color: var(--stamp); }

/* ---------- zil + bildirimler ---------- */
.mast-right { display: flex; align-items: center; gap: 14px; }
.bell { position: relative; color: var(--ink-dim); padding: 4px; }
.bell:hover { color: var(--amber); }
.bell-badge {
  position: absolute; top: -3px; right: -5px;
  background: var(--stamp); color: #fff; font-size: 9px; font-weight: 700;
  min-width: 15px; height: 15px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.notif {
  border-bottom: 1px solid var(--line); padding: 14px 2px; cursor: pointer;
  transition: background 0.15s;
}
.notif:hover { background: rgba(236, 227, 211, 0.03); }
.notif.unread { border-left: 2px solid var(--amber); padding-left: 12px; }
.notif-text { font-size: 14px; line-height: 1.55; }
.notif-text i { color: var(--ink-dim); }
.notif .c-time { display: block; margin-top: 4px; }

/* ---------- duygu mühürleri ---------- */
.mood-ask { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px; }
.mood-q { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink); }
.mood-row { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.mood-btn {
  border: 1px solid var(--line-strong); border-radius: 20px;
  padding: 6px 12px; font-size: 12px; color: var(--ink-dim);
  background: var(--bg); transition: all 0.12s;
}
.mood-btn:hover { border-color: var(--amber); color: var(--ink); }
.mood-btn.on { background: var(--amber); border-color: var(--amber); color: var(--amber-text); font-weight: 600; }
.mood-btn .mood-n { opacity: 0.7; font-size: 11px; }
.mood-skip { color: var(--ink-faint); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.mood-skip:hover { color: var(--ink); }
.mood-block { margin-top: 14px; }
.mood-block .mood-row { justify-content: flex-start; }
.mood-bar { display: flex; height: 4px; border-radius: 2px; overflow: hidden; margin-top: 10px; max-width: 320px; }
.mood-bar i { display: block; }
.mood-bar .mb-love { background: var(--amber); }
.mood-bar .mb-good { background: var(--amber-deep); }
.mood-bar .mb-meh { background: #6b6357; }
.mood-bar .mb-bad { background: var(--stamp); }

/* ---------- yorum beğenisi ---------- */
.c-flag { color: var(--ink-faint); font-size: 12px; padding: 8px; margin: -8px -4px; }
.c-flag:hover { color: var(--stamp); }
.safety-line { display: flex; gap: 14px; margin-top: 10px; }
.safety-btn { color: var(--ink-faint); font-size: 12px; letter-spacing: 0.04em; }
.safety-btn:hover { color: var(--stamp); }
.spoiler-tag { color: var(--ink-faint); }
.c-like { color: var(--ink-faint); font-size: 12px; transition: color 0.12s; }
.c-like:hover { color: var(--stamp); }
.c-like.on { color: var(--stamp); }

/* ---------- arkadaşlar satırı ---------- */
.friends-line {
  margin-top: 16px; font-size: 13px; color: var(--ink-dim);
  border: 1px dashed var(--line-strong); border-radius: 10px; padding: 10px 14px;
}

/* ---------- haftalık grafik ---------- */
.chart-block { margin-top: 24px; }
.strip-label .streak { color: var(--amber); font-weight: 600; text-transform: none; letter-spacing: 0; }
.week-chart {
  display: flex; gap: 5px; align-items: flex-end; height: 58px;
  border-bottom: 1px solid var(--line); padding-bottom: 0;
}
.week-chart .wk { flex: 1; display: flex; align-items: flex-end; }
.week-chart .wk i {
  display: block; width: 100%; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--amber), var(--amber-deep));
  opacity: 0.85;
}

/* ---------- en çok izlenenler ---------- */
.top-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left;
}
.top-rank { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--amber); width: 20px; }
.top-poster { width: 34px; height: 48px; border-radius: 5px; object-fit: cover; }
.top-row .poster-fallback { width: 34px; height: 48px; font-size: 16px; }
.top-name { flex: 1; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-mins { color: var(--ink-faint); font-size: 12px; }

/* ---------- rozet duvarı (katlanır) ---------- */
.badge-block { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.badge-toggle {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; background: var(--bg-raised);
}
.badge-preview { display: flex; gap: 4px; margin-left: auto; }
.badge-mini {
  width: 20px; height: 20px; border-radius: 50%; font-style: normal;
  border: 1px solid var(--amber); color: var(--amber);
  display: flex; align-items: center; justify-content: center; font-size: 10px;
}
.badge-chev { transition: transform 0.2s; font-size: 16px; }
.badge-chev.open { transform: rotate(90deg); }
.badge-block .badge-wall { padding: 12px; border-top: 1px solid var(--line); }
.badge-prog {
  width: 100%; height: 3px; border-radius: 2px; background: var(--bg-sunken);
  overflow: hidden; margin-top: 2px;
}
.badge-prog i { display: block; height: 100%; background: var(--amber-deep); }
.badge-count { font-size: 10px; color: var(--ink-faint); }
.badge-desc { font-size: 10px; color: var(--ink-faint); text-align: center; line-height: 1.3; }
.badge-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.badge {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  opacity: 0.35;
}
.badge.earned { opacity: 1; border-color: var(--amber-deep); background: rgba(229, 168, 56, 0.05); }
.badge-ring {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); font-size: 15px;
}
.badge.earned .badge-ring { border-color: var(--amber); }
.badge-name { font-size: 11px; letter-spacing: 0.04em; text-align: center; color: var(--ink-dim); }
.badge.earned .badge-name { color: var(--ink); }

/* ---------- filmler ---------- */
.kind-badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--veil); color: var(--amber);
  border: 1px solid var(--amber-deep);
  font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 20px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.kind-badge.kb-show { color: var(--ink-dim); border-color: var(--line-strong); }
.kind-tag {
  display: inline-block; color: var(--amber); border: 1px solid var(--amber-deep);
  font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: 20px;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 7px;
}
.h-strip {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px;
  margin: 0 -18px; padding-left: 18px; padding-right: 18px;
  scrollbar-width: thin; scrollbar-color: var(--amber-deep) transparent;
}
.h-strip::-webkit-scrollbar { height: 6px; }
.h-strip::-webkit-scrollbar-thumb { background: var(--amber-deep); border-radius: 3px; }
.h-strip::-webkit-scrollbar-track { background: transparent; }
.h-card { flex-shrink: 0; width: 104px; text-align: left; }
.h-card .poster-wrap { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 2/2.9; background: var(--bg-raised); }
.h-card img { width: 100%; height: 100%; object-fit: cover; }
.h-card .poster-fallback { width: 100%; height: 100%; }
.h-card .c-name { font-size: 12px; font-weight: 600; margin-top: 6px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-card .c-meta { font-size: 11px; color: var(--ink-faint); margin-top: 1px; }
.h-card .in-lib { position: absolute; top: 6px; right: 6px; background: var(--amber); color: var(--amber-text); font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 20px; }

/* ---------- sohbet ---------- */
.conv-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.conv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.conv-unread { border-color: var(--amber-deep); }
.chat-head { padding: 6px 0 10px; border-bottom: 1px solid var(--line); }
.chat-title { font-family: var(--serif); font-weight: 550; font-size: 22px; letter-spacing: -0.01em; }
.chat-sub { font-size: 12px; font-weight: 400; font-style: italic; color: var(--ink-dim); }
.chat-scroll {
  height: calc(100dvh - 320px); min-height: 200px; overflow-y: auto;
  padding: 14px 2px; display: flex; flex-direction: column; gap: 10px;
}
.msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 82%; }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.msg-user { color: var(--amber); font-size: 11px; font-weight: 600; margin-bottom: 3px; }
.bubble {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px; padding: 9px 13px;
  font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-break: break-word;
}
.msg.mine .bubble {
  background: rgba(229, 168, 56, 0.14); border-color: var(--amber-deep);
  border-radius: 14px 14px 4px 14px;
}
.msg-time { font-size: 10px; color: var(--ink-faint); margin-top: 3px; }
.chat-bar {
  display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line);
  position: sticky; bottom: 86px; background: var(--bg);
}
.chat-bar input { flex: 1; }
.chat-bar .chat-send { padding: 10px 18px; }
.room-btn {
  display: block; width: 100%; text-align: left; margin-top: 14px;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  color: var(--amber); font-size: 13px; background: var(--bg-raised);
  transition: border-color 0.15s;
}
.room-btn:hover { border-color: var(--amber); }
.newep-mark { color: var(--amber); font-weight: 700; }
.msg-btn { padding: 9px 16px; font-size: 13px; margin-left: auto; }
.follow-line .follow-btn { margin-left: 0; }

.corrected-line {
  font-family: var(--serif); font-style: italic; color: var(--amber);
  font-size: 13px; margin: 2px 0 10px;
}

/* ---------- özet + fragman ---------- */
.more-btn { color: var(--amber); font-size: 13px; padding: 2px 4px; }
.more-btn:hover { text-decoration: underline; }
.trailer-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  border: 1px solid var(--line-strong); border-radius: 20px;
  padding: 8px 16px; font-size: 13px; color: var(--ink-dim);
  transition: all 0.15s;
}
.trailer-btn:hover { border-color: var(--stamp); color: var(--stamp); }

/* ---------- tür ruleti ---------- */
.roll-block { margin-bottom: 6px; }
.roll-sub { font-family: var(--serif); font-style: italic; color: var(--ink-dim); font-size: 14px; margin: -2px 0 10px; }
.genre-strip { padding-bottom: 8px; }
.genre-chip {
  flex-shrink: 0; border: 1px solid var(--line-strong); border-radius: 20px;
  padding: 8px 15px; font-size: 13px; color: var(--ink-dim);
  transition: all 0.15s; scroll-snap-align: start;
}
.genre-chip.on { background: var(--amber); border-color: var(--amber); color: var(--amber-text); font-weight: 600; }
.roll-card {
  display: flex; gap: 14px; align-items: center;
  background: var(--bg-raised); border: 1px solid var(--amber-deep);
  border-radius: var(--radius); padding: 14px; margin-top: 4px;
  animation: rollIn 0.3s cubic-bezier(0.2, 1.2, 0.4, 1);
}
@keyframes rollIn {
  from { transform: translateY(8px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.roll-poster { width: 84px; height: 120px; border-radius: 9px; object-fit: cover; cursor: pointer; flex-shrink: 0; }
.roll-info { min-width: 0; }
.roll-name {
  font-family: var(--serif); font-weight: 550; font-size: 19px;
  letter-spacing: -0.01em; line-height: 1.2; margin: 6px 0 2px;
}
.roll-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.roll-actions .btn-primary { padding: 9px 20px; font-size: 13px; }
.roll-actions .btn-ghost { padding: 8px 14px; font-size: 13px; }

/* ---------- kişisel öneriler ---------- */
.rec-card { position: relative; width: 118px; }
.rec-body { text-align: start; width: 100%; }
.rec-reason {
  font-family: var(--serif); font-style: italic; font-size: 10.5px;
  color: var(--amber); margin-top: 3px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rec-hide {
  position: absolute; top: 4px; inset-inline-end: 4px; z-index: 2;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--veil); color: var(--ink-dim); font-size: 11px;
}
.rec-hide:hover { color: var(--stamp); }

/* ---------- içe aktarma sihirbazı ---------- */
.imp-drop {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 2px dashed var(--line-strong); border-radius: var(--radius);
  padding: 34px 20px; cursor: pointer; color: var(--ink-dim);
  transition: border-color 0.15s, color 0.15s; text-align: center;
}
.imp-drop:hover { border-color: var(--amber); color: var(--ink); }
.imp-drop-big { font-size: 30px; color: var(--amber); }
.imp-sum { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.imp-pill {
  border: 1px solid var(--line-strong); border-radius: 20px;
  padding: 5px 12px; font-size: 12px; color: var(--ink-dim);
}
.imp-pill.ok { border-color: var(--amber); color: var(--amber); }
.imp-pill.amb { border-color: var(--amber-deep); color: var(--amber-deep); }
.imp-pill.nf { border-color: rgba(200, 80, 46, 0.6); color: var(--stamp); }
.imp-matched { max-height: 300px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.imp-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.imp-row:last-child { border-bottom: none; }
.imp-name { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.imp-eps { color: var(--ink-faint); font-size: 12px; flex-shrink: 0; }
.imp-amb { border: 1px solid var(--amber-deep); border-radius: var(--radius); padding: 14px; margin-top: 12px; }
.imp-amb-title { font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.imp-cands { display: flex; flex-direction: column; gap: 8px; }
.imp-cand {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 13px; color: var(--ink-dim); padding: 6px; border-radius: 8px;
}
.imp-cand:hover { background: var(--bg-sunken); color: var(--ink); }
.imp-cand input { width: auto; accent-color: var(--amber); }
.imp-poster { width: 30px; height: 42px; border-radius: 4px; object-fit: cover; }
.imp-cand .poster-fallback { width: 30px; height: 42px; font-size: 14px; }
.imp-actions { display: flex; gap: 10px; margin-top: 18px; }
.imp-actions .btn-primary { flex: 1; }

/* ---------- kullanıcı menüsü ---------- */
.user-menu-wrap { position: relative; }
.who-btn { display: flex; align-items: center; gap: 6px; }
.who-btn .who { cursor: pointer; }
.who-btn:hover .who { color: var(--amber); }
.who-caret { font-size: 9px; color: var(--ink-faint); }
.user-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 100;
  background: var(--bg-raised); border: 1px solid var(--line-strong);
  border-radius: 12px; min-width: 170px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.user-menu button {
  display: block; width: 100%; text-align: start; padding: 12px 16px;
  font-size: 13.5px; color: var(--ink); border-bottom: 1px solid var(--line);
}
.user-menu button:last-child { border-bottom: none; }
.user-menu button:hover { background: var(--bg-sunken); color: var(--amber); }
.user-menu .menu-user { color: var(--ink-faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; pointer-events: none; }

/* ---------- tema segmenti ---------- */
.theme-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.theme-seg button {
  border: 1px solid var(--line-strong); border-radius: 20px;
  padding: 8px 16px; font-size: 13px; color: var(--ink-dim);
  transition: all 0.15s;
}
.theme-seg button.on { background: var(--amber); border-color: var(--amber); color: var(--amber-text); font-weight: 600; }

/* ---------- google girişi ---------- */
.google-slot { margin-top: 14px; display: flex; justify-content: center; }
.or-line {
  display: flex; align-items: center; gap: 12px; margin-top: 18px;
  color: var(--ink-faint); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- dil ---------- */
.lang-select {
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg-sunken); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 12px 14px; outline: none; width: 100%;
}
.lang-select:focus { border-color: var(--amber); }
.plaza-lang {
  font-size: 11px; color: var(--amber); border: 1px solid var(--amber-deep);
  border-radius: 20px; padding: 1px 8px; font-weight: 400; vertical-align: 2px;
}
.online-tag {
  font-size: 11px; color: var(--ink-dim); margin-inline-start: 8px;
  font-style: normal; font-family: var(--sans);
}
.online-tag::before { content: "\25CF"; color: #5a9b5e; font-size: 8px; margin-inline-end: 4px; vertical-align: 1px; }

/* ---------- alt sekmeler ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
/* blur desteklemeyen tarayıcıda arkadaki metin okunur kalmasın */
@supports not (backdrop-filter: blur(14px)) {
  .tabbar { background: color-mix(in srgb, var(--bg) 97%, transparent); }
}
.tabbar-inner { max-width: 680px; margin: 0 auto; display: flex; }
.tab {
  flex: 1; padding: 13px 0 15px; text-align: center;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); position: relative; transition: color 0.15s;
}
.tab.active { color: var(--amber); }
.tab.active::before {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 2px; background: var(--amber);
}
.tab-dot {
  position: absolute; top: 9px; right: calc(50% - 26px);
  width: 7px; height: 7px; border-radius: 50%; background: var(--stamp);
}
.plaza-row { border-color: var(--amber-deep); background: rgba(229, 168, 56, 0.05); }
.plaza-av { background: var(--bg-sunken); }

.skeleton { color: var(--ink-faint); text-align: center; padding: 40px; font-size: 13px; letter-spacing: 0.06em; }

/* ---------- nerede izlenir ---------- */
.where-slot { margin-top: 20px; }
.where-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 11px; font-family: var(--sans);
}
.jw-credit { font-size: 9.5px; color: var(--ink-faint); letter-spacing: 0.08em; text-transform: none; }
.where-row {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--amber-deep) transparent;
}
.where-card {
  flex: 0 0 auto; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 76px; padding: 12px 10px 10px;
  background: var(--bg-sunken);
  border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; text-align: center;
  transition: border-color 0.15s, transform 0.15s;
}
.where-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.where-logo {
  width: 42px; height: 42px; border-radius: 10px; object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.where-logo-txt {
  display: flex; align-items: center; justify-content: center;
  background: var(--line); color: var(--ink-dim);
  font-family: var(--serif); font-size: 20px;
}
.where-name {
  font-size: 11.5px; color: var(--ink); font-family: var(--sans);
  max-width: 84px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.where-type { font-size: 9.5px; color: var(--ink-dim); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Bobin Özeti ---------- */
.recap-entry {
  display: block; width: 100%; text-align: start; margin-top: 18px;
  padding: 16px 18px; border: 1px solid var(--amber-deep); border-radius: 12px;
  background: rgba(229, 168, 56, 0.06); transition: border-color 0.15s;
}
.recap-entry:hover { border-color: var(--amber); }
.recap-entry-t { display: block; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--amber); }
.recap-entry-s { display: block; font-size: 12.5px; color: var(--ink-dim); margin-top: 4px; }
.recap { margin-top: 8px; }
.recap-kicker {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); font-family: var(--sans); margin-bottom: 14px;
}
.recap-kicker .dot { color: var(--amber); }
.recap-hours b {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(64px, 18vw, 110px); color: var(--ink); line-height: 1;
}
.recap-hours span { font-size: 15px; color: var(--ink-dim); margin-inline-start: 8px; }
.recap-line { margin-top: 10px; font-size: 15px; color: var(--ink); }
.recap-sec {
  margin-top: 28px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim); font-family: var(--sans);
}
.recap-top { list-style: none; margin-top: 10px; }
.recap-top li {
  display: flex; align-items: baseline; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--line); counter-increment: rt;
}
.recap-top li::before {
  content: counter(rt); font-family: var(--serif); font-weight: 600;
  font-size: 20px; color: var(--amber); min-width: 20px;
}
.recap-top li span { flex: 1; font-size: 15px; }
.recap-top li i { font-style: normal; font-size: 13px; color: var(--ink-dim); }
.recap-facts { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.recap-facts p { font-size: 14.5px; color: var(--ink); }
.recap-facts b { color: var(--amber); }
.recap-dl { margin-top: 28px; }

/* ---------- tekrar izleme ---------- */
.round-badge {
  display: inline-block; margin-top: 6px;
  font-family: var(--serif); font-style: italic; font-size: 13px;
  color: var(--amber); border: 1px solid var(--amber-deep);
  border-radius: 20px; padding: 2px 12px;
}
.behind-chip {
  font-family: var(--sans); font-style: normal; font-size: 10px;
  color: var(--stamp); border: 1px solid rgba(200, 80, 46, 0.5);
  border-radius: 20px; padding: 1px 7px; vertical-align: 1px;
  letter-spacing: 0.05em; margin-inline-start: 4px;
}
.waiting-block { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 12px 12px; }
.round-chip {
  font-family: var(--sans); font-style: normal; font-size: 10px;
  color: var(--amber); border: 1px solid var(--amber-deep);
  border-radius: 20px; padding: 1px 7px; vertical-align: 1px;
  letter-spacing: 0.05em; margin-left: 4px;
}
.rewatch-btn { margin-top: 10px; display: inline-block; }

/* ---------- bölüm sayfası ---------- */
.ep-head { margin-top: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.ep-head .ep-kicker {
  font-family: var(--serif); font-style: italic; color: var(--amber);
  font-size: 14px; letter-spacing: 0.02em;
}
.ep-head h2 {
  font-family: var(--serif); font-weight: 550; font-size: 30px;
  letter-spacing: -0.02em; line-height: 1.15; margin: 6px 0 16px;
}
.ep-row .t { background: none; border: none; text-align: left; font-size: inherit; display: flex; align-items: center; gap: 6px; }
.ep-row .t:hover { color: var(--amber); }
.chev { color: var(--ink-faint); font-size: 14px; }

.c-head {
  font-family: var(--serif); font-style: italic; font-weight: 450;
  font-size: 21px; margin: 26px 0 4px; letter-spacing: -0.01em;
}
.c-head .c-count { color: var(--ink-faint); font-size: 15px; }
.c-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.c-meta-row { display: flex; align-items: baseline; gap: 10px; }
.c-user { color: var(--amber); font-weight: 600; font-size: 13px; }
.c-time { color: var(--ink-faint); font-size: 11px; }
.c-del { margin-left: auto; color: var(--ink-faint); font-size: 11px; }
.c-del:hover { color: var(--stamp); }
.c-text { margin-top: 5px; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.c-photo { max-width: 100%; border-radius: 10px; margin-top: 10px; border: 1px solid var(--line); }
.c-form { margin-top: 18px; }
.c-form textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg-sunken); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 12px 14px; resize: vertical; outline: none;
}
.c-form textarea:focus { border-color: var(--amber); }
.c-form-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.photo-btn {
  color: var(--ink-dim); font-size: 13px; cursor: pointer;
  border: 1px dashed var(--line-strong); border-radius: 8px; padding: 8px 14px;
}
.photo-btn:hover { color: var(--amber); border-color: var(--amber); }
.photo-name { font-size: 12px; color: var(--amber); flex: 1; }
.c-send { margin-left: auto; padding: 10px 22px; }

/* ---------- kişiler ---------- */
.user-row {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px;
  text-align: left; transition: border-color 0.15s;
}
.user-row:hover { border-color: var(--amber-deep); }
.u-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(160deg, #2b2318, #171310);
  border: 1px solid var(--amber-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 19px; color: var(--amber);
}
.u-info { flex: 1; display: flex; flex-direction: column; }
.u-name { font-weight: 600; font-size: 15px; }
.u-name i { color: var(--ink-faint); font-style: normal; font-weight: 400; font-size: 12px; }
.u-meta { color: var(--ink-faint); font-size: 12px; margin-top: 1px; }
.follow-line { display: flex; align-items: center; gap: 18px; margin: 14px 0 4px; font-size: 13px; color: var(--ink-dim); }
.follow-line b { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.follow-btn { margin-left: auto; padding: 9px 18px; font-size: 13px; }

@media (min-width: 640px) {
  body { font-size: 16px; }
  .ed-title { font-size: 42px; }
}

/* ---------- mobil dokunma hedefleri (44px kuralı) ---------- */
.tick { position: relative; }
.tick::before { content: ""; position: absolute; inset: -8px; } /* görünmez tap alanı */
.c-like, .c-del { padding: 8px; margin: -8px -4px; }
.bell { padding: 10px; margin: -10px -4px -10px -10px; }
.who-btn { padding: 10px 0 10px 10px; margin: -10px 0; }
.back-btn { padding: 12px 8px; margin-inline-start: -8px; }
.settings-link { padding: 10px; margin: -10px; }
.mood-skip { padding: 8px 16px; }
.mood-btn { padding: 8px 14px; }
.spoiler-veil { min-height: 44px; }
.ep-row { min-height: 46px; }
.season-head { min-height: 48px; }

/* ---------- şeritlere yumuşak snap ---------- */
.h-strip, .up-strip { scroll-snap-type: x proximity; }
.h-card, .up-card { scroll-snap-align: start; scroll-margin-inline-start: 18px; }

/* ---------- dokunmatik cihazlarda yapışkan hover etkilerini nötrle ---------- */
@media (hover: none) {
  .stub:hover { background: none; }
  .stub:hover .stamp-circle { background: none; color: var(--amber); }
  .card:hover img { transform: none; }
  .tick:not(.on):hover { border-color: var(--line-strong); }
  .mood-btn:not(.on):hover { border-color: var(--line-strong); color: var(--ink-dim); }
  .btn-ghost:hover { border-color: var(--line-strong); color: var(--ink-dim); }
  .btn-primary:hover { background: var(--amber); }
  .state-seg button:not(.on):hover { border-color: var(--line-strong); color: var(--ink-dim); }
  .user-row:hover { border-color: var(--line); }
  .room-btn:hover { border-color: var(--line); }
  .notif:hover { background: none; }
}

/* ---------- sohbet ekranı: tab bar gizli, yazma çubuğu en altta ---------- */
body.chat-open .tabbar { display: none; }
body.chat-open #app { padding-bottom: 0; }
/* height sabit (min-height değil): içerik ne kadar uzarsa uzasın sayfa büyümez —
   chat-scroll kendi içinde kaydırır, açılışta en alta (son mesaja) konumlanır */
body.chat-open #app { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
body.chat-open main { flex: 1; display: flex; flex-direction: column; min-height: 0; }
body.chat-open .chat-scroll { flex: 1; height: auto; min-height: 160px; }
body.chat-open .chat-bar {
  position: sticky; bottom: 0; margin-top: auto;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

/* --- sifre sifirlama / dogrulama / yasal sayfalar --- */
.gate-h2 { font-family: 'Fraunces', serif; font-style: italic; font-size: 26px; margin: 6px 0 2px; }
.gate-ok { color: var(--amber); font-size: 14px; line-height: 1.5; margin: 10px 0; }
.forgot-link { background: none; border: none; color: var(--muted); font-size: 13px; cursor: pointer; margin-top: 10px; text-decoration: underline; text-underline-offset: 3px; }
.forgot-link:hover { color: var(--amber); }
.gate-legal { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.5; max-width: 300px; }
.gate-legal a { color: var(--amber); }
.legal-text { text-align: left; max-width: 560px; margin: 8px auto 0; font-size: 14px; line-height: 1.65; color: var(--ink); max-height: 55vh; overflow-y: auto; padding-right: 8px; }
.legal-text h3 { font-family: 'Fraunces', serif; font-style: italic; font-size: 17px; margin: 16px 0 6px; color: var(--amber); }
.legal-text ul { padding-left: 18px; margin: 6px 0; }
.legal-text li { margin: 4px 0; }
.legal-text em { color: var(--muted); font-size: 12px; }
.gate .gate-body form { display: flex; flex-direction: column; gap: 10px; width: min(300px, 86vw); margin: 10px auto 0; }

/* --- erisilebilirlik: gorunur odak + hareket azaltma --- */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
