/* ========================================================
   İzleGeç — Kısa Drama İzleme Platformu
   Mobil öncelikli, koyu temalı tasarım sistemi
======================================================== */

/* Yerelde barındırılan değişken font: Google Fonts'a harici istek/DNS/TLS
   turu olmadan, render-blocking'i azaltmak ve LCP'yi hızlandırmak için. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-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;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --surface: #181818;
  --surface-2: #242424;
  --border: #2e2e2e;
  --text: #f5f5f5;
  --text-dim: #b3b3b3;
  --text-faint: #737373;
  --accent: #e50914;
  --accent-2: #b0060f;
  --accent-grad: linear-gradient(135deg, #ff2b30 0%, #e50914 55%, #b0060f 100%);
  --accent-grad-soft: linear-gradient(135deg, rgba(229,9,20,.16), rgba(176,6,15,.16));
  --success: #22c55e;
  --warning: #f5a524;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow-card: 0 8px 24px -8px rgba(0,0,0,.55);
  --shadow-pop: 0 16px 40px -12px rgba(0,0,0,.6);
  --header-h: 58px;
  --bottomnav-h: 62px;
  --container-w: 1240px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  padding-bottom: calc(var(--bottomnav-h) + 32px);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* dar ekranlarda yatay taşmayı engelle (sticky header'ı bozmaz) */
}
body.no-chrome { padding-bottom: 0; overscroll-behavior: none; } /* aşağı kaydır jesti pull-to-refresh tetiklemesin */
/* İzleme sayfası: mobilde immersive (chrome gizli), masaüstünde header+footer görünür */
body.no-chrome .site-header,
body.no-chrome .site-footer,
body.no-chrome .bottom-nav { display: none; }
@media (min-width: 1024px) {
  body.no-chrome .site-header { display: flex; }
  body.no-chrome .site-footer { display: block; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 16px; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(8,8,8,.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; gap: 14px; width: 100%; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 24px; width: auto; display: block; }

.header-nav { display: none; align-items: center; gap: 4px; margin-left: 8px; }
.header-nav a {
  padding: 8px 14px; border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--text-dim);
}
.header-nav a:hover, .header-nav a.active { color: var(--text); background: var(--surface); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
}
.header-search {
  display: none; position: relative; align-items: center; gap: 8px;
  width: 220px; background: var(--surface); border: 1px solid var(--border); color: var(--text-faint);
  padding: 9px 14px; border-radius: 100px; font-size: 14px; text-align: left;
}
.header-search:hover { border-color: var(--accent); color: var(--text-dim); }
.header-search svg { flex-shrink: 0; opacity: .7; }

/* Dil değiştirici (header — giriş butonunun sağında) */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer; user-select: none;
  height: 38px; padding: 0 12px; border-radius: 100px;
  display: flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-size: 13px; font-weight: 700;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { opacity: .85; }
.lang-switch[open] summary { border-color: var(--accent); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 172px; padding: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s);
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
  display: flex; flex-direction: column; gap: 2px;
}
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--text-dim);
}
.lang-menu a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu a.active { color: var(--text); background: var(--surface-2); }
.lang-flag-img {
  width: 20px; height: 20px; border-radius: 50%; display: block; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); object-fit: cover;
}
.lang-menu a .lang-flag-img { width: 22px; height: 22px; }
.lang-switch summary .lang-caret { opacity: .7; transition: transform .18s ease; }
.lang-switch[open] summary .lang-caret { transform: rotate(180deg); }
@media (max-width: 560px) {
  .lang-switch summary .lang-current { display: none; }
  /* Dar ekranda header'daki yedek arama ikonunu gizle (arama alttaki FAB'da mevcut),
     böylece dil değiştirici header'a sığar. */
  .header-search-icon { display: none; }
  .header-actions { gap: 6px; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 100px; font-weight: 700; font-size: 14px; border: none;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--accent-grad); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Bottom Nav (mobile) ---------- */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  height: var(--bottomnav-h);
  background: rgba(8,8,8,.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  display: flex;
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--text-faint); font-size: 10.5px; font-weight: 600; transition: color .15s ease;
}
.bottom-nav a svg { width: 22px; height: 22px; stroke: currentColor; transition: transform .15s ease; }
.bottom-nav a.active { color: var(--accent); }
.bottom-nav a.active svg { transform: translateY(-1px); }
.bottom-nav .fab {
  margin-top: -26px; width: 50px; height: 50px; border-radius: 50%; background: var(--accent-grad);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px -4px rgba(229,9,20,.7), 0 0 0 4px var(--bg);
  flex: 0 0 50px;
}
.bottom-nav .fab svg { width: 22px; height: 22px; stroke: #fff; }

@media (min-width: 900px) {
  .bottom-nav { display: none; }
  .header-nav { display: flex; }
  .header-search { display: flex; }
  body { padding-bottom: 0; }
}

/* ---------- Hero ---------- */
.home-intro {
  font-size: 12.5px; font-weight: 700; color: var(--text-faint); text-transform: uppercase;
  letter-spacing: .04em; margin: 14px 0 0; line-height: 1.4;
}
.hero { position: relative; margin: 12px 0 24px; }
.hero-slide {
  position: relative; border-radius: var(--radius-l); overflow: hidden; min-height: 340px;
  display: flex; align-items: flex-end; background: var(--surface);
}
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); z-index: 0; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.9) 22%, rgba(0,0,0,.55) 48%, rgba(0,0,0,.15) 75%, rgba(0,0,0,0) 100%),
    linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,0) 100%);
}
.hero-body { position: relative; z-index: 2; padding: 22px 20px 24px; width: 100%; }
.hero-badges { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.badge {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 100px; background: rgba(0,0,0,.55); color: var(--text-dim);
  backdrop-filter: blur(4px);
}
.badge.accent { background: var(--accent-grad); color: #fff; }
.hero-title {
  font-size: 28px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.02em; line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0,0,0,.8), 0 1px 3px rgba(0,0,0,.9);
}
.hero-desc {
  color: #e8e8e8; font-size: 14px; max-width: 560px; margin: 0 0 16px; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 1px 8px rgba(0,0,0,.9);
}
.hero-actions { display: flex; gap: 10px; }
@media (min-width: 900px) { .hero-slide { min-height: 440px; } .hero-title { font-size: 40px; } }

/* ---------- Section ---------- */
.section { margin: 28px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-title { font-size: 18px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.section-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-grad); }
.section-more { font-size: 13px; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 2px; }

.row-scroll {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px;
  -ms-overflow-style: none; scrollbar-width: none;
}
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll > * { scroll-snap-align: start; flex-shrink: 0; }

.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; -ms-overflow-style: none; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 8px 16px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--text-dim); white-space: nowrap;
}
.chip.active { background: var(--accent-grad); color: #fff; border-color: transparent; }

/* ---------- Series Card ---------- */
.card {
  width: 132px; position: relative; border-radius: var(--radius-m); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-card);
}
.card .poster-wrap { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: var(--surface-2); }
.card .poster-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .poster-wrap img { transform: scale(1.06); }
.card .poster-badges { position: absolute; top: 6px; left: 6px; right: 6px; display: flex; justify-content: space-between; }
.card .rank {
  position: absolute; bottom: 0; left: 0; font-weight: 900; font-size: 46px; line-height: 1; color: rgba(255,255,255,.92);
  padding: 4px 2px 0 8px; text-shadow: 0 2px 10px rgba(0,0,0,.5); -webkit-text-stroke: 1.5px var(--bg);
}
.card .ep-badge {
  position: absolute; bottom: 6px; right: 6px; background: rgba(8,8,8,.75); backdrop-filter: blur(4px);
  font-size: 10.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px;
}
.card .progress-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); }
.card .progress-bar span { display: block; height: 100%; background: var(--accent-grad); }
.card .meta { padding: 8px 2px 2px; }
.card .title {
  font-size: 12.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.card .sub { font-size: 10.5px; color: var(--text-faint); margin-top: 3px; display: flex; align-items: center; gap: 4px; }
@media (min-width: 640px) { .card { width: 152px; } }
@media (min-width: 900px) { .card { width: 172px; } }

.grid-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px;
}
@media (min-width: 480px) { .grid-cards { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) { .grid-cards { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 980px) { .grid-cards { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1180px) { .grid-cards { grid-template-columns: repeat(7, 1fr); } }
.grid-cards .card { width: 100%; }

/* ---------- Page head / breadcrumb ---------- */
.page-head { margin: 18px 0; }
.page-title { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.page-sub { color: var(--text-dim); font-size: 13.5px; }
.breadcrumb { font-size: 12.5px; color: var(--text-faint); margin-bottom: 10px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 28px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-s); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--text-dim);
  border: 1px solid var(--border);
}
.pagination a:hover { color: var(--text); }
.pagination .current { background: var(--accent-grad); color: #fff; border-color: transparent; }

/* ---------- Series detail ---------- */
.series-hero { position: relative; margin: 0 -16px; }
.series-hero .backdrop { position: relative; height: 220px; overflow: hidden; }
.series-hero .backdrop img { width: 100%; height: 100%; object-fit: cover; filter: blur(1px) brightness(.55); }
.series-hero .backdrop::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,8,0) 0%, var(--bg) 96%);
}
.series-main { display: flex; gap: 16px; margin-top: -86px; position: relative; }
.series-poster { width: 128px; flex-shrink: 0; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-pop); border: 3px solid var(--bg); aspect-ratio: 2/3; }
.series-poster img { width: 100%; height: 100%; object-fit: cover; }
.series-info { padding-top: 10px; min-width: 0; }
.series-info h1 { font-size: 19px; font-weight: 800; margin: 0 0 6px; line-height: 1.25; }
.series-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.series-stats { display: flex; gap: 14px; color: var(--text-dim); font-size: 12.5px; flex-wrap: wrap; }
.series-stats b { color: var(--text); }

.series-actions { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; }
.series-actions .btn-primary { min-height: 48px; }
.action-btn {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: none; padding: 0; font-size: 11px; font-weight: 600; color: var(--text-dim);
}
.action-ico {
  width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.action-btn:active .action-ico { background: var(--surface-2); transform: scale(.93); }
.action-btn svg { width: 22px; height: 22px; }
.action-btn.liked .action-ico { color: var(--accent); border-color: rgba(229,9,20,.45); background: rgba(229,9,20,.12); }
.action-btn.favorited .action-ico { color: var(--warning); border-color: rgba(245,165,36,.45); background: rgba(245,165,36,.12); }
.action-lbl { white-space: nowrap; }

/* Kilitli bölüm (üyelik duvarı) */
.ep-pill.locked { color: var(--text-faint); }
.ep-pill.locked .ep-lock { width: 12px; height: 12px; position: absolute; top: 5px; right: 5px; opacity: .75; }
.ep-pill { position: relative; }

/* Üyelik duvarı teşvik ekranı */
.gate-wrap {
  max-width: 400px; margin: 30px auto; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 30px 22px;
}
.gate-poster { position: relative; width: 140px; aspect-ratio: 2 / 3; margin: 0 auto 20px; border-radius: var(--radius-m); overflow: hidden; }
.gate-poster img { width: 100%; height: 100%; object-fit: cover; }
.gate-poster .gate-lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.5); }
.gate-title { display: inline-block; margin-bottom: 10px; }
.gate-h1 { font-size: 22px; margin: 8px 0 12px; }
.gate-msg { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0 0 22px; }
.gate-actions { display: flex; flex-direction: column; gap: 10px; }
.gate-back { display: inline-block; margin-top: 18px; color: var(--text-dim); font-size: 13px; }
.gate-back:hover { color: var(--text); }

/* Paylaş menüsü (Web Share API yoksa açılan yedek) */
.share-overlay { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .18s ease; }
.share-overlay.show { opacity: 1; }
.share-menu { width: 100%; max-width: 440px; background: var(--bg-elevated); border: 1px solid var(--border); border-bottom: none; border-radius: var(--radius-l) var(--radius-l) 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(16px); transition: transform .2s ease; }
.share-overlay.show .share-menu { transform: none; }
.share-menu-head { font-weight: 800; font-size: 15px; text-align: center; color: var(--text); margin-bottom: 14px; }
.share-menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.share-opt { display: flex; align-items: center; justify-content: center; text-align: center; padding: 13px 6px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 12px; font-weight: 700; }
.share-opt:active { background: var(--surface-2); }
.share-copy { width: 100%; padding: 13px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 13.5px; font-weight: 700; }
.share-copy:active { background: var(--surface-2); }

/* Oynatıcı: sessiz autoplay sonrası "ses için dokun" ipucu */
.unmute-hint {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 30;
  display: none; align-items: center; gap: 7px; padding: 10px 17px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 800;
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 4px 16px rgba(229,9,20,.55);
  cursor: pointer; animation: unmute-pulse 1.6s ease-in-out infinite;
}
.unmute-hint.show { display: inline-flex; }
.unmute-hint svg { width: 17px; height: 17px; }
@keyframes unmute-pulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

.description-box p { color: var(--text-dim); font-size: 13.5px; line-height: 1.6; margin: 0; }
.description-box.collapsed p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more-toggle { color: var(--accent); font-weight: 700; font-size: 12.5px; margin-top: 6px; display: inline-block; }

.episodes-section { margin-top: 22px; }
.episodes-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.episode-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (min-width: 480px) { .episode-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 720px) { .episode-grid { grid-template-columns: repeat(8, 1fr); } }
@media (min-width: 980px) { .episode-grid { grid-template-columns: repeat(10, 1fr); } }
.ep-pill {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: var(--text-dim);
}
.ep-pill:hover { border-color: var(--accent); color: var(--text); }
.ep-pill.watched { background: var(--surface-2); color: var(--text-faint); }
.ep-pill.watched::after { content: '✓'; position: absolute; top: 2px; right: 4px; font-size: 9px; color: var(--success); }
.ep-pill.current { background: var(--accent-grad); color: #fff; border-color: transparent; }

.comments-section { margin-top: 26px; }
.comment-form { display: flex; gap: 10px; margin-bottom: 18px; }
.comment-form textarea {
  flex: 1; resize: none; background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-m); padding: 12px 14px; font-size: 13.5px; min-height: 44px; outline: none;
}
.comment-form textarea:focus { border-color: var(--accent); }
.comment-item { display: flex; gap: 10px; margin-bottom: 16px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent-grad); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 14px; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-body { flex: 1; min-width: 0; }
.comment-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.comment-head b { font-weight: 700; }
.comment-head span { color: var(--text-faint); font-size: 11.5px; }
.comment-text { font-size: 13.5px; color: var(--text-dim); margin-top: 3px; line-height: 1.5; word-break: break-word; }
.empty-note { color: var(--text-faint); font-size: 13px; text-align: center; padding: 24px 0; }

/* ---------- Watch page ---------- */
.watch-wrap { max-width: 480px; margin: 0 auto; }
/* Masaüstü-özel bloklar mobilde gizli (masaüstü media query'de açılır) */
.watch-side-head { display: none; }
.watch-extra { display: none; }

/* Topbar (geri butonu) artık video üzerinde overlay; oynatınca kontrollerle birlikte solar */
.player-topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 6;
  display: flex; align-items: center; padding: 12px 14px;
  background: linear-gradient(to bottom, rgba(0,0,0,.5), transparent);
  transition: opacity .3s ease;
}
.player-shell.controls-hidden .player-topbar { opacity: 0; pointer-events: none; }
.player-topbar .icon-btn { background: rgba(0,0,0,.35); backdrop-filter: blur(6px); border-color: rgba(255,255,255,.14); color: #fff; }

.player-shell {
  position: relative; width: 100%; background: #000; overflow: hidden;
  height: 100dvh;
  touch-action: none; /* dikey kaydırma jestini biz yönetiriz; tarayıcı scroll/pull-to-refresh yapmasın */
}
.player-shell video { width: 100%; height: 100%; object-fit: cover; background: #000; }
@media (min-width: 640px) {
  .player-shell { border-radius: var(--radius-l); height: auto; aspect-ratio: 9 / 16; max-height: 80vh; }
  .player-shell video { object-fit: contain; }
}
/* Swipe geçişinde yeni player'ın içeri kayması (TikTok tarzı) */
@keyframes izSlideInUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes izSlideInDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Geçişte player kayınca arkada siyah yerine kapağın blur hali görünür (mobil) */
.watch-blur-bg { display: none; }
@media (max-width: 1023px) {
  .watch-blur-bg {
    display: block; position: fixed; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    filter: blur(30px) brightness(.4); transform: scale(1.2);
  }
  .player-shell { z-index: 1; }
}

.player-tap-layer { position: absolute; inset: 0; z-index: 4; }
.player-center-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 62px; height: 62px; border-radius: 50%;
  background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 6; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.player-center-btn.show { opacity: 1; pointer-events: auto; }
.player-center-btn svg { width: 30px; height: 30px; fill: #fff; }

.resume-banner {
  position: absolute; top: 14px; left: 50%; z-index: 7; white-space: nowrap; pointer-events: none;
  background: rgba(20,20,20,.85); backdrop-filter: blur(6px); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 8px 16px; border-radius: 100px; opacity: 0; transform: translate(-50%, -8px); transition: opacity .25s ease, transform .25s ease;
}
.resume-banner.show { opacity: 1; transform: translate(-50%, 0); }

.player-side-rail {
  position: absolute; right: 10px; bottom: 118px; display: flex; flex-direction: column; gap: 18px; z-index: 6; align-items: center;
  transition: opacity .3s ease;
}
.player-shell.controls-hidden .player-side-rail { opacity: 0; pointer-events: none; }
.rail-btn { display: flex; flex-direction: column; align-items: center; gap: 5px; background: none; border: none; color: #fff; padding: 0; }
.rail-ico {
  width: 50px; height: 50px; border-radius: 50%; background: rgba(20,20,20,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.rail-btn:active .rail-ico { background: rgba(20,20,20,.8); }
.rail-ico svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.rail-ico-text { font-size: 15px; font-weight: 800; }
.rail-label { font-size: 11px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.rail-btn.liked .rail-ico { color: var(--accent); }
.rail-btn.favorited .rail-ico { color: var(--warning); }

.next-ep-toast {
  position: absolute; inset: 0; background: rgba(6,6,10,.88); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; z-index: 8; text-align: center; padding: 20px;
}
.next-ep-toast.show { display: flex; }
.next-ep-toast .ring { position: relative; width: 64px; height: 64px; }
.next-ep-toast .ring svg { transform: rotate(-90deg); }
.next-ep-toast .ring circle { fill: none; stroke-width: 4; }
.next-ep-toast .ring .bg { stroke: rgba(255,255,255,.15); }
.next-ep-toast .ring .fg { stroke: var(--accent); stroke-linecap: round; }

/* Bilgi paneli artık video içinde alt-overlay; oynatma sırasında (controls-hidden) solar */
.player-info-panel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 60px 16px calc(26px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.45) 58%, transparent);
  transition: opacity .3s ease;
}
.player-shell.controls-hidden .player-info-panel { opacity: 0; pointer-events: none; }

/* Referanstaki gibi özel altyazı katmanı — native yerine kendi div'imize basılır */
.custom-subtitle {
  position: absolute; left: 50%; bottom: 15%; transform: translateX(-50%); z-index: 7;
  width: 86%; max-width: 600px; text-align: center; pointer-events: none;
  color: #fff; font-size: clamp(15px, 4.4vw, 22px); font-weight: 700; line-height: 1.4;
  white-space: pre-line;
  text-shadow: -1px -1px 2px #000, 1px -1px 2px #000, -1px 1px 2px #000, 1px 1px 2px #000, 0 0 4px #000;
  opacity: 0; visibility: hidden; transition: opacity .15s ease;
}
.custom-subtitle.show { opacity: 1; visibility: visible; }
.info-badges { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.info-ep-label { font-size: 12px; color: var(--text-dim); font-weight: 600; }
.info-title { font-size: 17px; font-weight: 800; margin: 0 0 6px; line-height: 1.3; }
.info-desc {
  font-size: 13px; color: var(--text-dim); line-height: 1.5; margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.seek-bar { position: relative; height: 4px; background: var(--surface-2); border-radius: 3px; cursor: pointer; }
.seek-bar .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent-grad); border-radius: 3px; width: 0%; }
.seek-bar .knob {
  position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
  transform: translate(-50%,-50%); left: 0%; box-shadow: 0 0 0 3px rgba(229,9,20,.25);
}

.episodes-sheet { position: fixed; inset: 0; z-index: 250; display: none; }
.episodes-sheet.show { display: block; }
.episodes-sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); }
.episodes-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 70vh; overflow-y: auto;
  background: var(--bg-elevated); border-radius: var(--radius-l) var(--radius-l) 0 0; padding: 16px;
  border-top: 1px solid var(--border); animation: sheetUp .2s ease;
}
@media (min-width: 640px) {
  .episodes-sheet-panel { left: 50%; right: auto; transform: translateX(-50%); width: 100%; max-width: 480px; bottom: 20px; border-radius: var(--radius-l); border: 1px solid var(--border); }
}
@keyframes sheetUp { from { transform: translateY(24px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
.episodes-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.episodes-sheet-head h3 { margin: 0; font-size: 16px; }

/* ---------- Auth forms ---------- */
.auth-wrap { max-width: 380px; margin: 40px auto; padding: 0 16px; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 28px 22px; }
.auth-card h1 { font-size: 22px; margin: 0 0 4px; }
.auth-card p.lead { color: var(--text-dim); font-size: 13.5px; margin: 0 0 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-dim); margin-bottom: 6px; }
.field input {
  width: 100%; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text);
  padding: 12px 14px; border-radius: var(--radius-s); font-size: 14px; outline: none;
}
.field input:focus { border-color: var(--accent); }
.field-error { color: var(--accent); font-size: 12px; margin-top: 5px; }
.auth-alt { text-align: center; font-size: 13px; color: var(--text-dim); margin-top: 16px; }
.auth-alt a { color: var(--accent); font-weight: 700; }

.alert { padding: 12px 14px; border-radius: var(--radius-s); font-size: 13px; margin-bottom: 14px; }
.alert-success { background: rgba(34,197,94,.12); color: #4ade80; border: 1px solid rgba(34,197,94,.3); }
.alert-error { background: rgba(229,9,20,.12); color: #ff6b76; border: 1px solid rgba(229,9,20,.3); }

/* ---------- Profile ---------- */
.profile-head { display: flex; align-items: center; gap: 14px; padding: 20px 16px; }
.profile-head .avatar { width: 62px; height: 62px; font-size: 22px; }
.profile-head h1 { font-size: 18px; margin: 0; }
.profile-head p { margin: 2px 0 0; color: var(--text-dim); font-size: 12.5px; }
.tabs-row { display: flex; align-items: center; gap: 10px; padding: 0 16px; margin-bottom: 16px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; flex: 1; -ms-overflow-style: none; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex-shrink: 0; padding: 9px 16px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--text-dim); }
.tabs a.active { background: var(--accent-grad); color: #fff; border-color: transparent; }
.tabs-row .icon-btn { flex-shrink: 0; }
.tabs-row .icon-btn:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 50px; border-top: 1px solid var(--border); padding: 30px 0 24px; color: var(--text-faint); font-size: 12.5px; }
.site-footer .container { display: flex; flex-direction: column; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a:hover { color: var(--text-dim); }
@media (min-width: 900px) { .site-footer .container { flex-direction: row; justify-content: space-between; } }

/* ---------- Misc ---------- */
.toast-msg {
  position: fixed; bottom: calc(var(--bottomnav-h) + 14px); left: 50%; transform: translateX(-50%);
  background: var(--surface-2); border: 1px solid var(--border); padding: 10px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 600; z-index: 100; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast-msg.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }
@media (min-width: 900px) { .toast-msg { bottom: 24px; } }

.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-dim); }
.empty-state h3 { color: var(--text); margin-bottom: 6px; }

/* ---------- Search Modal ---------- */
html.search-open, html.search-open body { overflow: hidden; }
.search-modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(0,0,0,.8); backdrop-filter: blur(6px);
}
.search-modal.show { display: block; animation: fadeIn .15s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.search-modal-inner {
  width: 100%; height: 100%; margin: 0 auto; display: flex; flex-direction: column;
  background: var(--bg);
}
@media (min-width: 720px) {
  .search-modal-inner {
    max-width: 680px; height: auto; max-height: 76vh; margin-top: 8vh;
    border-radius: var(--radius-l); border: 1px solid var(--border); overflow: hidden;
    box-shadow: var(--shadow-pop);
  }
}
.search-modal-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.search-input-wrap { flex: 1; position: relative; }
.search-input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); opacity: .55; pointer-events: none; }
.search-input-wrap input {
  width: 100%; background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: 13px 14px 13px 42px; border-radius: 100px; font-size: 15px; outline: none;
}
.search-input-wrap input:focus { border-color: var(--accent); }
.search-modal-body { flex: 1; overflow-y: auto; padding: 16px; -webkit-overflow-scrolling: touch; }
.search-section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint); margin-bottom: 12px; }
.search-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 480px) { .search-result-grid { grid-template-columns: repeat(4, 1fr); } }
.search-result-grid .card { width: 100%; }
.search-more-link {
  display: block; text-align: center; margin-top: 18px; padding: 12px; border-radius: var(--radius-m);
  background: var(--surface); color: var(--accent); font-weight: 700; font-size: 13.5px;
}

/* ---------- FAQ Accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); overflow: hidden; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px;
  cursor: pointer; font-size: 13.5px; font-weight: 700;
}
.faq-question svg { flex-shrink: 0; opacity: .7; transition: transform .2s ease; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer p { padding: 0 16px 14px; margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.6; }

/* ---------- Bölümler paneli içerikleri ---------- */
.sheet-series-card {
  display: flex; gap: 12px; padding: 12px; margin-bottom: 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-m);
}
.sheet-series-card img { width: 56px; height: 78px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.sheet-series-title { font-weight: 700; font-size: 14px; line-height: 1.3; margin-bottom: 6px; }
.sheet-series-badges { display: flex; gap: 6px; margin-bottom: 6px; }
.sheet-series-meta { font-size: 12px; color: var(--text-faint); }
.sheet-section-title {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint);
  margin: 22px 0 12px;
}
.info-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.info-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: 12px 14px; display: flex; flex-direction: column; gap: 4px;
}
.info-card span { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--text-faint); }
.info-card b { font-size: 14px; font-weight: 700; }
.range-tab { border: 1px solid var(--border); background: var(--surface); }
.range-tab.active { background: var(--accent-grad); border-color: transparent; }

/* ---------- Yorumlar paneli ---------- */
.comments-sheet { position: fixed; inset: 0; z-index: 250; display: none; }
.comments-sheet.show { display: block; }
.comments-sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); }
.comments-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; height: 82vh; display: flex; flex-direction: column;
  background: var(--bg-elevated); border-radius: var(--radius-l) var(--radius-l) 0 0; border-top: 1px solid var(--border);
  animation: sheetUp .2s ease; overflow: hidden;
}
@media (min-width: 640px) {
  .comments-sheet-panel { left: 50%; right: auto; transform: translateX(-50%); width: 100%; max-width: 480px; height: 78vh; top: 8vh; bottom: auto; border-radius: var(--radius-l); border: 1px solid var(--border); }
}
.comments-sheet-panel .episodes-sheet-head { padding: 16px; flex-shrink: 0; }
.comments-sheet-body { flex: 1; overflow-y: auto; padding: 0 16px 16px; }
.comments-input-bar {
  flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-top: 1px solid var(--border); background: var(--bg-elevated);
}
.comments-input-bar input {
  flex: 1; background: var(--surface-2); border: none; border-radius: 100px; padding: 12px 16px;
  color: var(--text); font-size: 14px; outline: none;
}
.comments-send-btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-grad); border: none;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.comments-login-btn {
  flex: 1; background: var(--surface-2); border: none; border-radius: 100px; padding: 13px 16px;
  color: var(--text-dim); font-size: 14px; text-align: left; font-weight: 600;
}

/* ---------- Watch page — MASAÜSTÜ (2 sütun) ---------- */
/* Mobil hiç etkilenmez; yalnızca >=1024px'te devreye girer. */
@media (min-width: 1024px) {
  .watch-wrap {
    max-width: var(--container-w); padding: 18px 16px 52px; display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "player side" "extra extra";
    gap: 26px; align-items: start;
  }
  .player-shell {
    grid-area: player; width: auto; aspect-ratio: 9 / 16;
    height: min(calc(100vh - var(--header-h) - 20px), 1040px); max-height: none;
    border-radius: var(--radius-l); justify-self: start; touch-action: auto;
  }
  /* Sağ panel kalan alanı doldurur; bölüm grid'i genişliğe göre otomatik sığar */
  .watch-side .episode-grid { grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); }
  /* Tam genişlik alt: bilgi kartları 4'lü */
  .watch-extra .info-card-grid { grid-template-columns: repeat(4, 1fr); }
  .player-shell video { object-fit: contain; }

  /* Bölümler/Yorumlar artık sağ sütunda sekme; sadece bunları raydan kaldır.
     Beğen/Listem/Paylaş player üzerinde kalsın (mobildeki gibi). */
  .player-side-rail #episodesBtn,
  .player-side-rail #commentsBtn { display: none; }
  /* Masaüstünde yan ray oynatırken de görünür kalsın (butonlar hep elde) */
  .player-shell.controls-hidden .player-side-rail { opacity: 1; pointer-events: auto; }

  .watch-side { grid-area: side; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
  .watch-extra { grid-area: extra; display: block; }

  /* Sağ sütun başlığı: dizi kartı + aksiyonlar + sekmeler */
  .watch-side-head { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 16px; }
  .ws-series { display: flex; gap: 14px; margin-bottom: 16px; }
  .ws-cover { width: 66px; height: 92px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
  .ws-meta { min-width: 0; }
  .ws-badges { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
  .ws-title { font-size: 19px; font-weight: 800; line-height: 1.25; margin: 0 0 8px; }
  .ws-stats { font-size: 12.5px; color: var(--text-dim); }
  .ws-stats b { color: var(--text); }

  .ws-actions { display: flex; gap: 10px; margin-bottom: 16px; }
  .ws-act { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; border-radius: var(--radius-m); background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); font-size: 12.5px; font-weight: 700; transition: color .15s, background .15s, border-color .15s; }
  .ws-act svg { width: 18px; height: 18px; }
  .ws-act:hover { color: var(--text); }
  .ws-act.liked { color: var(--accent); border-color: rgba(229,9,20,.4); background: rgba(229,9,20,.1); }
  .ws-act.favorited { color: var(--warning); border-color: rgba(245,165,36,.4); background: rgba(245,165,36,.1); }

  .ws-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); }
  .ws-tab { padding: 10px 16px; background: none; border: none; color: var(--text-dim); font-size: 14px; font-weight: 700; border-bottom: 2px solid transparent; margin-bottom: -1px; }
  .ws-tab.active { color: var(--text); border-bottom-color: var(--accent); }
  .ws-tab span { color: var(--text-faint); font-weight: 600; font-size: 12px; }

  /* Sheet'ler artık sabit overlay değil, sağ sütunda statik sekme paneli */
  .episodes-sheet, .comments-sheet { position: static; inset: auto; z-index: auto; display: none; }
  .watch-side[data-tab="episodes"] .episodes-sheet { display: block; }
  .watch-side[data-tab="comments"] .comments-sheet { display: block; }
  .episodes-sheet-backdrop, .comments-sheet-backdrop { display: none; }
  .episodes-sheet-panel, .comments-sheet-panel {
    position: static; transform: none; inset: auto; left: auto; right: auto; bottom: auto; top: auto;
    width: auto; max-width: none; max-height: none; height: auto;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
    padding: 16px; animation: none;
  }
  .episodes-sheet-head { display: none; }   /* mobil kapatma başlığı gizli */
  .sheet-series-card { display: none; }      /* ws-series ile tekrar */
  .sheet-extra { display: none; }            /* alta tam genişlik taşındı */
  .comments-sheet-panel { display: flex; flex-direction: column; }
  .comments-sheet-body { max-height: 480px; padding: 0; overflow-y: auto; }
  .comments-input-bar { padding: 12px 0 0; background: none; border-top: 1px solid var(--border); margin-top: 12px; }

  /* Alt tam genişlik: dizi bilgileri + benzer + SSS */
  .watch-extra .section { margin: 0 0 28px; }
  .watch-extra-desc { color: var(--text-dim); font-size: 14px; line-height: 1.7; margin: 14px 0 0; }
}

/* ---------- Ana sayfa platform kartları ---------- */
.platform-card {
  width: 108px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding: 16px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  transition: border-color .15s ease;
}
.platform-card:hover { border-color: var(--accent); }
.platform-card-mark {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent-grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
}
.platform-card-name { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.platform-card-count { font-size: 11px; color: var(--text-faint); }
@media (min-width: 640px) { .platform-card { width: 128px; } }
.platform-card-ico { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; background: #000; }
.platform-chip { display: inline-flex; align-items: center; gap: 7px; }
.platform-ico { width: 20px; height: 20px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.platform-badge { display: inline-flex; align-items: center; gap: 5px; }
.platform-badge img { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; }
