/* ══════════════════════════════════════════════════════════════
 * GTA Müzik etkinliği (/gta). Kendi kabuğu var, site.css yüklenmez.
 * Düzen Rockstar'ın müzik sayfasından esinlenir (ortalanmış bölümler, gradyanlı başlıklar,
 * istasyon kartları, altta sabit çubuk); görsellerin hepsi CSS/SVG ile bizim çizimimiz.
 * Renkler seçili oyuna göre: <html data-game="vi|v|sa|vc">.
 * ══════════════════════════════════════════════════════════════ */

:root {
    --brand: #1DB954;
    --ink: #FFF8F0;
    --ink-soft: rgba(255, 246, 236, 0.82);
    --ink-dim: rgba(255, 246, 236, 0.58);
    --line: rgba(255, 255, 255, 0.09);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    /* GTA VI (varsayılan): Leonida gün batımı, pembe-sarı */
    --bg: #1B1525;
    --h1: #FFFF99; --h2: #F5899B; --h3: #E963BC;
    --eyebrow: #FFE9A8;
    --accent: #FFB2C6; --accent-rgb: 255, 178, 198;
    --sky1: #22183A; --sky2: #5E3474; --sky3: #E46F96; --sky4: #FFC08A;
    --sun1: #FFE68F; --sun2: #FF6F9C;
    --city: #2A1C3B; --palm: #120C1C;
    --bar1: #6E3F78; --bar2: #8E4C6E;
}
html[data-game="v"] {
    /* GTA V: Los Santos, nane yeşili + altın */
    --bg: #0E1714;
    --h1: #F6FFB0; --h2: #9CF5C0; --h3: #3FC7A8;
    --eyebrow: #E8FFC2;
    --accent: #9CF5C0; --accent-rgb: 156, 245, 192;
    --sky1: #0F1F1C; --sky2: #1F5650; --sky3: #E7955A; --sky4: #FFD58A;
    --sun1: #FFEFA8; --sun2: #FF9A55;
    --city: #14302B; --palm: #08110E;
    --bar1: #1F5A4E; --bar2: #2E6E58;
}
html[data-game="sa"] {
    /* San Andreas: 90'lar, turuncu toz + Grove yeşili */
    --bg: #17120B;
    --h1: #FFEDA6; --h2: #FFB25C; --h3: #8FDB62;
    --eyebrow: #FFE3A3;
    --accent: #FFC46B; --accent-rgb: 255, 196, 107;
    --sky1: #1C170E; --sky2: #553717; --sky3: #DD8238; --sky4: #FFD27A;
    --sun1: #FFF2B5; --sun2: #FF8636;
    --city: #2A1E10; --palm: #0E0A05;
    --bar1: #6B4418; --bar2: #4E5A22;
}
html[data-game="vc"] {
    /* Vice City: 1986, neon camgöbeği + pembe */
    --bg: #120C24;
    --h1: #8CF9FF; --h2: #FF71CE; --h3: #B967FF;
    --eyebrow: #A6FFF9;
    --accent: #FF71CE; --accent-rgb: 255, 113, 206;
    --sky1: #120930; --sky2: #3A1466; --sky3: #FF4FA3; --sky4: #FFB36B;
    --sun1: #FFE66B; --sun2: #FF3F9E;
    --city: #23124A; --palm: #0A0618;
    --bar1: #5A2486; --bar2: #8A2D7E;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 80px; }
body.gta {
    margin: 0; min-height: 100vh;
    background: var(--bg); color: var(--ink);
    font-family: 'Outfit', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden; overflow-x: clip;
    transition: background-color 0.6s var(--ease);
}
.gta a { color: inherit; text-decoration: none; }
.gta button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
/* Simgeler için varsayılan boyut; :where önceliği sıfırlar (silüet ve palmiye kendi boyutunu alsın) */
:where(.gta) svg { width: 1em; height: 1em; flex-shrink: 0; }
.gta :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

/* ── Üst çubuk: sol üstte RitmiQ | GTA Müzik ── */
.g-top {
    position: fixed; inset: 0 0 auto; z-index: 30;
    display: flex; align-items: center; gap: 14px;
    padding: 20px clamp(16px, 3vw, 36px);
    padding-top: max(20px, env(safe-area-inset-top));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent);
    transition: background 0.3s, backdrop-filter 0.3s;
}
.g-top.is-solid { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.g-logo { display: flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.g-logo b { color: var(--brand); font-weight: 800; }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.eq i { width: 3px; height: 16px; border-radius: 2px; background: var(--brand); transform-origin: bottom; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s; } .eq i:nth-child(3) { animation-delay: -0.6s; } .eq i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.g-sep { width: 1px; height: 22px; background: rgba(255, 255, 255, 0.4); }
.g-section { font-weight: 500; font-size: 1.05rem; color: rgba(255, 255, 255, 0.88); }
.g-home {
    margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 10px 16px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(0, 0, 0, 0.22);
    font-weight: 600; font-size: 0.92rem; transition: background 0.2s, border-color 0.2s;
}
.g-home:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.32); }

/* ── Giriş ── */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 34%, var(--sky3) 64%, var(--sky4) 80%); }
/* Çizim üst yarıda; yazılar alttaki koyu zemine oturur (güneşin üstünde başlık okunmuyordu) */
.sun {
    position: absolute; left: 50%; bottom: 50%; width: min(40vmin, 400px); aspect-ratio: 1;
    transform: translate(-50%, 0); border-radius: 50%;
    background: linear-gradient(180deg, var(--sun1), var(--sun2));
    box-shadow: 0 0 120px 30px rgba(var(--accent-rgb), 0.28);
    /* Alt yarıda kalınlaşan yatay şeritler (80'ler gün batımı) */
    -webkit-mask: linear-gradient(#000 0 52%, transparent 0) top / 100% 100% no-repeat,
                  repeating-linear-gradient(#000 0 14px, transparent 14px 22px);
            mask: linear-gradient(#000 0 52%, transparent 0) top / 100% 100% no-repeat,
                  repeating-linear-gradient(#000 0 14px, transparent 14px 22px);
}
.skyline { position: absolute; left: 0; bottom: 44%; width: 100%; height: 22%; fill: var(--city); }
.palm { position: absolute; bottom: 36%; fill: var(--palm); }
.palm.p1 { left: -3%; height: 62%; width: 34vh; }
.palm.p2 { left: 9%; height: 44%; width: 24vh; transform: scaleX(-1); }
.palm.p3 { right: -3%; height: 56%; width: 30vh; transform: scaleX(-1); }
.haze { position: absolute; inset: auto 0 0; height: 62%; background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--bg) 55%, transparent) 22%, var(--bg) 48%); }

.hero-copy { position: relative; max-width: 780px; margin: 0 auto; padding: 120px 20px 9vh; text-align: center; }
.pill-limited {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px; margin-bottom: 22px;
    background: rgba(0, 0, 0, 0.38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--accent-rgb), 0.45); color: var(--accent);
    font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.pill-limited svg { width: 15px; height: 15px; }
.pill-limited.is-over { color: var(--ink-dim); border-color: var(--line); }

.grad {
    margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.04;
    background: radial-gradient(125% 225% at 0% 70%, var(--h1) 0%, var(--h2) 62%, var(--h3) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1.grad { font-size: clamp(2.5rem, 6.4vw, 4.8rem); padding-bottom: 0.06em; filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.35)); }
h2.grad { font-size: clamp(1.9rem, 4.2vw, 3.1rem); padding-bottom: 0.04em; }
h2.grad.big { font-size: clamp(2.2rem, 5.4vw, 4rem); }
.lead { margin: 20px auto 0; max-width: 600px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.55; color: var(--ink-soft); }
.lead.small { font-size: 0.98rem; color: var(--ink-dim); margin-top: 14px; }
.btn-cta {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
    min-height: 48px; padding: 14px 26px; border-radius: 999px;
    background: var(--accent); color: #140d1c; font-weight: 700; font-size: 1rem;
    box-shadow: 0 10px 34px rgba(var(--accent-rgb), 0.35);
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(var(--accent-rgb), 0.5); }
.btn-cta svg { width: 18px; height: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-actions .btn-cta { margin-top: 0; }
/* ── Girişte seçim: büyük "Oyuncu | Yayıncı" anahtarı (html[data-kitle]) ── */
.who { margin: 34px auto 0; max-width: 600px; }
.who-q { margin: 0 0 14px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.who-switch {
    position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 28px;
    background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}
/* Seçili tarafın arkasında kayan vurgu (seçim yokken görünmez) */
.who-switch::before {
    content: ""; position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 22px;
    background: var(--accent); box-shadow: 0 12px 34px -10px rgba(var(--accent-rgb), 0.85);
    opacity: 0; transition: transform 0.45s var(--ease), background 0.3s, box-shadow 0.3s, opacity 0.3s;
}
html[data-kitle] .who-switch::before { opacity: 1; }
html[data-kitle="yayinci"] .who-switch::before { transform: translateX(100%); background: #FF4D6D; box-shadow: 0 12px 34px -10px rgba(255, 77, 109, 0.85); }
.gta button.who-opt {
    position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 14px;
    min-height: 88px; padding: 12px 18px; border-radius: 22px; text-align: left; color: var(--ink);
    transition: color 0.3s, background 0.2s;
}
.gta button.who-opt:hover { background: rgba(255, 255, 255, 0.07); }
.gta button.who-opt[aria-pressed="true"]:hover { background: transparent; }
.gta button.who-opt:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.wo-ico {
    display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 15px;
    background: rgba(var(--accent-rgb), 0.16); color: var(--accent); transition: background 0.3s, color 0.3s;
}
.who-opt.is-live .wo-ico { background: rgba(255, 77, 109, 0.16); color: #FF8FA3; }
.wo-ico svg { width: 22px; height: 22px; }
.wo-text { display: flex; flex-direction: column; gap: 2px; }
.wo-text b { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.wo-text small { font-size: 0.86rem; font-weight: 500; color: var(--ink-dim); transition: color 0.3s; }
/* Seçili taraf vurgunun üstünde: oyuncuda koyu, yayıncıda beyaz yazı */
.gta button.who-opt[aria-pressed="true"] { color: #140d1c; }
.who-opt[aria-pressed="true"] small { color: rgba(20, 13, 28, 0.72); }
.who-opt[aria-pressed="true"] .wo-ico { background: rgba(20, 13, 28, 0.14); color: #140d1c; }
.gta button.who-opt.is-live[aria-pressed="true"] { color: #fff; }
.who-opt.is-live[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.85); }
.who-opt.is-live[aria-pressed="true"] .wo-ico { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* Seçime göre sayfa: üç adımlık yayın şeridi ve "Yayında oyna" sadece yayıncıya; seçim yokken oyuncu gibi */
.streamer { display: none; }
html[data-kitle="yayinci"] .streamer { display: block; }
html[data-kitle="yayinci"] .launcher { padding-top: 44px; }
/* Mod kutusunda tek düğme: oyuncuya "Başla", yayıncıya "Yayında oyna"; ikisinde de kutunun tamamı tıklanır */
html:not([data-kitle="yayinci"]) .mc-stream { display: none !important; }
html[data-kitle="yayinci"] button.mt-play { display: none; }
html[data-kitle="yayinci"] button.mc-stream,
html[data-kitle="yayinci"] button.mc-stream:hover {
    position: static; flex: 1; justify-content: center; font-size: 1rem; font-weight: 800;
    background: #FF4D6D; border-color: transparent; color: #fff; box-shadow: 0 10px 28px -10px rgba(255, 77, 109, 0.75);
}
html[data-kitle="yayinci"] button.mc-stream::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
html[data-kitle="yayinci"] button.mc-stream svg { color: #fff; }
html[data-kitle="yayinci"] .mode-tile:hover { border-color: rgba(255, 77, 109, 0.6); box-shadow: 0 24px 60px -28px rgba(255, 77, 109, 0.7); }
/* Alttaki çubuk: yayıncıda "Yayında oyna" */
.nb-i-live, .nb-t-live { display: none; }
html[data-kitle="yayinci"] .nb-i-live, html[data-kitle="yayinci"] .nb-t-live { display: inline; }
html[data-kitle="yayinci"] .nb-i-play, html[data-kitle="yayinci"] .nb-t-play { display: none; }

@media (max-width: 640px) {
    .gta button.who-opt { flex-direction: column; gap: 8px; min-height: 112px; padding: 14px 10px; text-align: center; }
    .wo-ico { width: 42px; height: 42px; border-radius: 13px; }
    .wo-text b { font-size: 1.2rem; }
    .wo-text small { font-size: 0.8rem; }
}
/* Canlı yayın noktası (yayıncı modunun işareti; oyun renginden bağımsız kırmızı) */
.live-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #FF4D6D; flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #FF4D6D; opacity: 0; animation: liveRing 1.8s ease-out infinite; }
@keyframes liveRing { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.hero-note { margin: 16px 0 0; font-size: 0.9rem; font-weight: 600; color: var(--ink-dim); }

/* ── Yayıncı: yayına özel iki bilgi ── */
.streamer { padding-top: 48px; }
.sr-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sr-steps li {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 77, 109, 0.3); font-weight: 600; color: var(--ink-soft);
}
.sr-steps b { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 77, 109, 0.18); color: #FF8FA3; }
.sr-steps b svg { width: 15px; height: 15px; }
.sr-steps kbd {
    display: inline-grid; place-items: center; min-width: 1.5em; padding: 0 4px; border-radius: 6px; font: inherit; font-weight: 800;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); color: var(--ink);
}
@media (max-width: 640px) {
    .streamer { padding-top: 32px; }
    .sr-steps { flex-direction: column; align-items: stretch; }
    .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
    .hero-actions > * { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .live-dot::after { animation: none; }
}

/* ── Geliştiriciden not: sağ üstte bildirim (Instagram) ── */
.dev-note {
    position: fixed; z-index: 28; top: 86px; right: 20px; width: min(380px, calc(100% - 32px));
    display: flex; align-items: flex-start; gap: 14px; padding: 16px 46px 16px 16px; border-radius: 20px;
    background: color-mix(in srgb, var(--bg) 90%, transparent); border: 1px solid rgba(var(--accent-rgb), 0.35);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
    opacity: 0; transform: translateY(-10px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.dev-note.is-in { opacity: 1; transform: none; }
.dev-note[hidden], body.is-playing .dev-note, body.is-streaming .dev-note { display: none; }
.dn-ico {
    display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; color: #fff;
    background: linear-gradient(135deg, #FEDA75 0%, #FA7E1E 28%, #D62976 58%, #962FBF 82%, #4F5BD5 100%);
}
.dn-ico svg { width: 22px; height: 22px; }
.dn-body strong { display: block; margin-bottom: 4px; font-size: 1rem; font-weight: 800; }
.dn-body p { margin: 0; font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); }
.gta a.dn-link {
    display: inline-flex; align-items: center; gap: 7px; min-height: 40px; margin-top: 12px; padding: 0 16px; border-radius: 999px;
    background: var(--accent); color: #140d1c; font-weight: 700; font-size: 0.9rem; transition: transform 0.2s var(--ease);
}
.gta a.dn-link:hover { transform: translateY(-1px); }
.dn-link svg { width: 16px; height: 16px; }
.gta button.dn-close {
    position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    color: var(--ink-dim); transition: background 0.2s, color 0.2s;
}
.gta button.dn-close:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); }
.dn-close svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
    .dev-note { top: 76px; left: 16px; right: 16px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .dev-note { transition: none; }
}

/* ── Bölümler ── */
.block { max-width: 1180px; margin: 0 auto; padding: 104px 24px 0; text-align: center; }
.eyebrow {
    display: block; margin-bottom: 14px;
    font-weight: 700; font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--eyebrow);
}
.sub-h { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }

/* ── Oyna: oyun ve mod seçimi tek panelde ── */
.launcher { max-width: 1080px; }
/* "Oyun" ve "Mod" ara başlıkları: büyük, oyunun renginde gradyan yazı; yanında incelen çizgi */
.ln-step {
    display: flex; align-items: center; gap: 18px; margin: 44px 0 18px; text-align: left;
    font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
}
.ln-step span {
    padding-bottom: 0.06em;
    background: radial-gradient(125% 225% at 0% 70%, var(--h1) 0%, var(--h2) 62%, var(--h3) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ln-step::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.55), transparent); }
.ln-head + .ln-step { margin-top: 40px; }

/* Oyun seçici: kompakt, tek satırda dört oyun */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: left; }
.game-card {
    position: relative; display: flex; align-items: center; text-align: left; gap: 14px; padding: 10px 44px 10px 10px; overflow: hidden;
    border-radius: 20px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
    transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.game-card[data-game="vi"] { --t1: #FFFF99; --t2: #F5899B; --t3: #7B3F8C; --tk: #FFB2C6; }
.game-card[data-game="v"]  { --t1: #F6FFB0; --t2: #4FD1A5; --t3: #1E4E46; --tk: #9CF5C0; }
.game-card[data-game="sa"] { --t1: #FFEDA6; --t2: #FF9A3C; --t3: #4E5A22; --tk: #FFC46B; }
.game-card[data-game="vc"] { --t1: #8CF9FF; --t2: #FF71CE; --t3: #3A1466; --tk: #FF71CE; }
.game-card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.07); }
.game-card[aria-checked="true"] { border-color: var(--tk); background: color-mix(in srgb, var(--tk) 12%, transparent); box-shadow: 0 0 0 1px var(--tk), 0 16px 40px -18px var(--tk); }
.gc-art {
    position: relative; display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; overflow: hidden; border-radius: 14px;
    background: linear-gradient(180deg, var(--t3) 0%, var(--t2) 78%, var(--t1) 100%);
}
.gc-sun {
    position: absolute; left: 50%; bottom: -30%; width: 78%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
    background: linear-gradient(180deg, var(--t1), var(--t2));
    -webkit-mask: repeating-linear-gradient(#000 0 4px, transparent 4px 6px); mask: repeating-linear-gradient(#000 0 4px, transparent 4px 6px);
    opacity: 0.85;
}
.gc-mark {
    position: relative; font-size: 1.6rem; font-weight: 800; font-style: italic; letter-spacing: -0.04em; line-height: 1;
    color: #fff; text-shadow: 0 3px 14px rgba(0, 0, 0, 0.4); -webkit-text-stroke: 1px rgba(0, 0, 0, 0.18); paint-order: stroke fill;
}
.gc-body { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.gc-name { max-width: 100%; font-size: 1.02rem; font-weight: 700; line-height: 1.2; }
.gc-meta { max-width: 100%; font-size: 0.82rem; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-check {
    position: absolute; top: 50%; right: 12px; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
    background: var(--tk); opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.25s var(--ease);
}
.gc-check::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid #140d1c; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.game-card[aria-checked="true"] .gc-check { opacity: 1; transform: scale(1); }

/* Seçili oyunun modları ve radyoları (ilk çizimde <html data-game> belirler; JS'e gerek kalmadan doğrusu görünür) */
.game-panel { display: none; animation: panelIn 0.5s var(--ease); }
html[data-game="vi"] .game-panel[data-panel="vi"],
html[data-game="v"] .game-panel[data-panel="v"],
html[data-game="sa"] .game-panel[data-panel="sa"],
html[data-game="vc"] .game-panel[data-panel="vc"] { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── Mod kutuları: kutunun tamamı oyunu başlatır ── */
.mode-grid { display: none; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; animation: panelIn 0.4s var(--ease); }
html[data-game="vi"] .mode-grid[data-modes="vi"], html[data-game="v"] .mode-grid[data-modes="v"],
html[data-game="sa"] .mode-grid[data-modes="sa"], html[data-game="vc"] .mode-grid[data-modes="vc"] { display: grid; }
.mode-tile {
    position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 24px; cursor: pointer;
    background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.11), rgba(255, 255, 255, 0.02) 58%);
    border: 1px solid rgba(var(--accent-rgb), 0.24);
    transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.mode-tile:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.65); box-shadow: 0 24px 60px -28px rgba(var(--accent-rgb), 0.75); }
.mode-tile.is-soon { cursor: default; opacity: 0.55; }
.mode-tile.is-soon:hover { transform: none; box-shadow: none; }
.mt-ico { margin-bottom: 4px; align-self: flex-start; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: rgba(var(--accent-rgb), 0.18); color: var(--accent); }
.mt-ico svg { width: 23px; height: 23px; }
.mt-name { margin: 4px 0 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.mt-meta { margin: 0; font-size: 0.8rem; font-weight: 700; color: var(--ink-dim); }
.mt-text { margin: 0; font-size: 0.93rem; line-height: 1.5; color: var(--ink-dim); }
.mt-foot { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.gta button.mt-play {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px;
    background: var(--accent); color: #140d1c; font-weight: 800; font-size: 1rem; box-shadow: 0 10px 28px -10px rgba(var(--accent-rgb), 0.7);
    transition: box-shadow 0.2s;
}
.gta button.mt-play::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }  /* bütün kutu tıklanır */
/* Not: düğmeye filter/transform verme; ::after'ın kutuyu kaplaması bozulur (düğme kapsayan blok olur) */
.mode-tile:hover button.mt-play { box-shadow: 0 14px 34px -10px rgba(var(--accent-rgb), 0.9); }
.mt-play svg { width: 16px; height: 16px; }
.gta button.mc-stream {
    position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; min-height: 50px; padding: 0 14px; border-radius: 14px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 77, 109, 0.5); color: var(--ink); font-weight: 700; font-size: 0.88rem;
    transition: background 0.2s;
}
.gta button.mc-stream:hover { background: rgba(255, 77, 109, 0.16); }
.mc-stream svg { width: 17px; height: 17px; color: #FF4D6D; }
.mt-soon { flex: 1; display: grid; place-items: center; min-height: 50px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, 0.18); color: var(--ink-dim); font-weight: 700; }

/* ── Radyo istasyonları ── */
.station-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; text-align: left; }
.station {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 22px;
    border-radius: 24px; background: linear-gradient(140deg, var(--c1) 0%, var(--c2) 100%);
    transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.station::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(8, 4, 14, 0.62) 100%); }
.station:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -18px var(--c2); }
.st-art { position: absolute; top: 18px; right: 18px; width: 96px; height: 96px; display: grid; place-items: center; }
.st-ring {
    position: absolute; inset: 0; border-radius: 50%;
    background: repeating-radial-gradient(circle, rgba(255, 255, 255, 0.34) 0 1.5px, transparent 1.5px 9px);
    opacity: 0.55;
}
.st-bars { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.st-bars i { width: 4px; height: 30px; border-radius: 2px; background: #fff; transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; opacity: 0.9; }
.st-bars i:nth-child(2) { animation-delay: -0.4s; } .st-bars i:nth-child(3) { animation-delay: -0.8s; }
.st-bars i:nth-child(4) { animation-delay: -0.2s; } .st-bars i:nth-child(5) { animation-delay: -0.6s; }
.st-body { display: flex; flex-direction: column; gap: 4px; }
.st-name { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.st-genre { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.92; }
.st-hosts { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }


/* İstasyon kartındaki şarkı listesi */
.st-head { display: flex; flex-direction: column; justify-content: flex-end; flex: 1; }
.st-list { position: relative; margin-top: 14px; }
.st-list summary {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 14px;
    border-radius: 14px; background: rgba(8, 4, 14, 0.38); cursor: pointer; list-style: none;
    font-weight: 700; font-size: 0.9rem; transition: background 0.2s;
}
.st-list summary::-webkit-details-marker { display: none; }
.st-list summary:hover { background: rgba(8, 4, 14, 0.52); }
.st-open { font-weight: 600; font-size: 0.82rem; opacity: 0.85; }
.st-open::after { content: " ▾"; }
.st-list[open] .st-open::after { content: " ▴"; }
.st-list ol {
    margin: 8px 0 0; padding: 8px 10px 8px 34px; max-height: 280px; overflow-y: auto;
    border-radius: 14px; background: rgba(8, 4, 14, 0.62); font-size: 0.88rem; line-height: 1.35;
    scrollbar-width: thin;
}
.st-list li { padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.st-list li:last-child { border-bottom: 0; }
.st-list li::marker { color: rgba(255, 255, 255, 0.5); font-size: 0.8em; }
.sl-title { display: block; font-weight: 600; }
.sl-artist { display: block; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }
.station-grid { align-items: start; }

/* ── Oyun ekranı ── */
body.is-playing { overflow: hidden; }
body.is-playing .now-bar { display: none; }
.play-layer {
    position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px;
    background: color-mix(in srgb, var(--bg) 70%, rgba(0, 0, 0, 0.6)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    animation: plIn 0.3s var(--ease);
}
.play-layer[hidden] { display: none; }
@keyframes plIn { from { opacity: 0; } to { opacity: 1; } }
.pl-box {
    position: relative; width: min(760px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto;
    padding: 26px; border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(var(--accent-rgb), 0.18), transparent 60%),
        linear-gradient(180deg, color-mix(in srgb, var(--bg) 80%, #fff 4%), var(--bg));
    box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8);
}
.pl-head { display: flex; align-items: center; gap: 16px; }
.pl-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pl-eyebrow { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--eyebrow); }
.pl-head h2 {
    margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em;
    background: radial-gradient(125% 225% at 0% 70%, var(--h1) 0%, var(--h2) 62%, var(--h3) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pl-stats { margin-left: auto; display: flex; gap: 14px; font-size: 0.92rem; color: var(--ink-soft); white-space: nowrap; }
.pl-stats b { color: var(--ink); font-weight: 800; }
.pl-close {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08) !important; transition: background 0.2s;
}
.pl-close:hover { background: rgba(255, 255, 255, 0.16) !important; }
.pl-close svg { width: 18px; height: 18px; }
.pl-progress { display: flex; gap: 5px; margin: 18px 0 22px; }
.pl-progress i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); transition: background 0.3s; }
.pl-progress i.now { background: rgba(var(--accent-rgb), 0.55); }
.pl-progress i.ok { background: #3DDC84; }
.pl-progress i.no { background: #FF5A6E; }
.pl-msg { padding: 40px 10px; text-align: center; color: var(--ink-soft); }
.pl-msg p { margin: 0 0 18px; }

.pl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
    border-radius: 999px; background: var(--accent) !important; color: #140d1c !important; font-weight: 700;
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.3); transition: transform 0.2s var(--ease);
}
.pl-btn:hover { transform: translateY(-2px); }
.pl-btn.pl-ghost { background: rgba(255, 255, 255, 0.08) !important; color: var(--ink) !important; box-shadow: none; }

/* Ses */
.pl-audio { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); }
.pl-audio[hidden] { display: none; }
.pl-playbtn {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
    background: var(--accent) !important; color: #140d1c !important; box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.35);
}
.pl-playbtn svg { width: 22px; height: 22px; }
.pl-playbtn .i-pause, .pl-playbtn.playing .i-play { display: none; }
.pl-playbtn.playing .i-pause { display: block; }
.pl-listen { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 8px; }
.pl-bar { position: relative; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); overflow: visible; }
.pl-bar > i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: var(--accent); transition: width 0.15s linear; }
.pl-marks i { position: absolute; top: -3px; width: 2px; height: 14px; margin-left: -1px; border-radius: 1px; background: rgba(255, 255, 255, 0.35); }
.pl-marks i.on { background: #fff; }
.pl-status { font-size: 0.88rem; color: var(--ink-soft); }
.pl-more {
    min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(var(--accent-rgb), 0.5) !important;
    color: var(--accent); font-weight: 700; font-size: 0.88rem;
}
.pl-more:hover { background: rgba(var(--accent-rgb), 0.12) !important; }
.pl-question { margin: 0 0 6px; font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 600; line-height: 1.35; }

/* Şıklar */
.pl-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.pl-opt {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
    min-height: 64px; padding: 12px 16px; border-radius: 16px; text-align: left;
    background: rgba(255, 255, 255, 0.06) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.pl-opt:not(:disabled):hover { background: rgba(255, 255, 255, 0.1) !important; border-color: rgba(var(--accent-rgb), 0.6) !important; transform: translateY(-1px); }
.pl-opt:disabled { cursor: default; }
.po-label { font-weight: 700; font-size: 1rem; line-height: 1.25; }
.po-sub { font-size: 0.84rem; color: var(--ink-dim); }
.pl-opt.is-correct { background: rgba(61, 220, 132, 0.18) !important; border-color: #3DDC84 !important; }
.pl-opt.is-wrong { background: rgba(255, 90, 110, 0.16) !important; border-color: #FF5A6E !important; }
.pl-opt:disabled:not(.is-correct):not(.is-wrong) { opacity: 0.55; }
.pl-skip { margin-top: 12px; min-height: 44px; padding: 0 6px; color: var(--ink-dim); font-size: 0.88rem; text-decoration: underline; }

/* Cevap */
.pl-reveal { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); animation: panelIn 0.35s var(--ease); }
.pl-reveal[hidden] { display: none; }
.pl-cover { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.pl-cover[hidden] { display: none; }
.pl-rtext { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.pl-verdict { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.pl-verdict.ok { color: #3DDC84; } .pl-verdict.no { color: #FF5A6E; }
.pl-rtext strong { font-size: 1.05rem; }
.pl-rsub { font-size: 0.88rem; color: var(--ink-soft); }
.pl-note { margin: 4px 0 0; font-size: 0.88rem; color: var(--ink-dim); line-height: 1.45; }
.pl-note[hidden] { display: none; }
.pl-next { flex-shrink: 0; }

/* Sonuç */
.pl-result { text-align: center; padding: 6px 0 4px; }
.pl-score { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 8px 0 4px; }
.pl-score b {
    font-size: clamp(3.4rem, 9vw, 5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
    background: radial-gradient(125% 225% at 0% 70%, var(--h1) 0%, var(--h2) 62%, var(--h3) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pl-score span { color: var(--ink-soft); font-weight: 600; }
.pl-final-sub { margin: 0 auto 18px; max-width: 460px; color: var(--ink-soft); }
.pl-summary { margin: 0 0 22px; padding: 0; list-style: none; text-align: left; display: grid; gap: 6px; }
.pl-summary li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border-left: 3px solid #FF5A6E; font-size: 0.9rem; }
.pl-summary li.ok { border-left-color: #3DDC84; }
.ps-main { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-side { flex-shrink: 0; color: var(--ink-dim); font-weight: 600; }
.pl-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ── Alt bilgi ── */
.g-foot { max-width: 860px; margin: 0 auto; padding: 110px 24px 140px; text-align: center; color: var(--ink-dim); font-size: 0.85rem; line-height: 1.6; }
.g-foot p { margin: 0 0 18px; }
.g-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.g-foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.g-foot nav a:hover { color: var(--ink); }

/* ── Altta sabit çubuk ── */
.now-bar {
    position: fixed; z-index: 25; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
    transform: translateX(-50%); width: min(880px, calc(100% - 24px));
    display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px;
    border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(90deg, color-mix(in srgb, var(--bar1) 92%, transparent), color-mix(in srgb, var(--bar2) 92%, transparent));
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 50px -10px rgba(0, 0, 0, 0.6);
}
.nb-mark {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
    background: radial-gradient(125% 225% at 0% 70%, var(--h1) 0%, var(--h2) 62%, var(--h3) 100%);
    color: #140d1c; font-weight: 800; font-style: italic; font-size: 1.15rem; letter-spacing: -0.03em;
}
.nb-text { display: flex; flex-direction: column; min-width: 0; }
.nb-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.nb-name { font-weight: 700; font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-change {
    margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
    font-weight: 600; font-size: 0.9rem; color: rgba(255, 255, 255, 0.86); transition: background 0.2s;
}
.nb-change:hover { background: rgba(255, 255, 255, 0.1); }
.nb-play {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px;
    background: #fff !important; color: #140d1c !important; font-weight: 700; font-size: 0.94rem;
}
.nb-play:disabled { opacity: 0.72; cursor: not-allowed; }
.nb-play svg { width: 16px; height: 16px; }

/* ── Duyarlı ── */
@media (max-width: 1100px) {
    .game-card { gap: 10px; padding-right: 38px; }
    .gc-art { width: 52px; height: 52px; border-radius: 12px; }
    .gc-mark { font-size: 1.35rem; }
    .gc-check { right: 10px; }
    .station-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mode-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .g-top { gap: 10px; padding-inline: 16px; }
    .g-logo { font-size: 1.12rem; }
    .g-section { font-size: 0.95rem; }
    .g-home { padding: 10px 12px; }
    .g-home span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .g-home svg { width: 20px; height: 20px; }
    .hero-copy { padding: 110px 16px 10vh; }
    .sun { bottom: 54%; width: 58vmin; }
    .skyline { bottom: 48%; height: 14%; }
    .palm { bottom: 42%; }
    .palm.p1 { height: 46%; width: 26vh; left: -12%; } .palm.p2 { display: none; } .palm.p3 { height: 40%; width: 22vh; right: -12%; }
    .block { padding: 72px 16px 0; }
    .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .game-card { gap: 10px; padding: 8px 34px 8px 8px; border-radius: 16px; }
    .gc-art { width: 48px; height: 48px; border-radius: 11px; }
    .gc-mark { font-size: 1.25rem; }
    .gc-name { font-size: 0.94rem; }
    .gc-meta { font-size: 0.76rem; }
    .gc-check { right: 8px; width: 20px; height: 20px; margin-top: -10px; }
    .gc-check::after { left: 7px; top: 3px; width: 5px; height: 9px; }
    .ln-step { margin: 32px 0 14px; gap: 14px; }
    .mode-grid, .station-grid { grid-template-columns: 1fr; gap: 12px; }
    .mode-tile { padding: 18px; border-radius: 20px; }
    .mt-name { font-size: 1.22rem; }

    .station { min-height: 190px; }
    .st-art { width: 76px; height: 76px; }
    .play-layer { padding: 0; place-items: stretch; }
    .pl-box { width: 100%; max-height: none; height: 100dvh; border-radius: 0; border: 0; padding: max(16px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom)); }
    .pl-head { flex-wrap: wrap; gap: 10px; }
    .pl-stats { order: 3; width: 100%; margin-left: 0; justify-content: space-between; }
    .pl-close { margin-left: auto; }
    .pl-options { grid-template-columns: 1fr; }
    .pl-opt { min-height: 56px; }
    .pl-reveal { flex-wrap: wrap; }
    .pl-next { width: 100%; }
    .pl-more { width: 100%; }
    .now-bar { gap: 10px; bottom: max(10px, env(safe-area-inset-bottom)); }
    .nb-mark { width: 44px; height: 44px; font-size: 1rem; }
    .nb-change { padding: 0 10px; }
    .nb-play { padding: 0 16px; }
}
@media (max-width: 400px) {
    .nb-label { display: none; }
    .nb-play span, html[data-kitle="yayinci"] .nb-play span { display: none; }
    .nb-play { padding: 0 14px; }
}
@media (max-width: 340px) {
    .g-sep, .g-section { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .eq i, .st-bars i { animation: none; }
    .game-panel { animation: none; }
    html { scroll-behavior: auto; }
}

/* ══════════ Yayıncı modu (OBS'te pencere yakalamaya uygun tam ekran) ══════════ */
.stream-layer {
    position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px;
    background: color-mix(in srgb, var(--bg) 72%, rgba(0, 0, 0, 0.6)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    animation: plIn 0.3s var(--ease);
}
.stream-layer[hidden], .stream-layer [hidden] { display: none !important; }
/* Yayın açıkken sayfa kaymaz ve çerez şeridi yakalamaya girmez (tercih sonra sayfada verilebilir) */
html:has(body.is-streaming) { overflow: hidden; }
body.is-streaming .cerez-serit { display: none !important; }
.ys-setup .pl-close { margin-left: auto; }

/* Kurulum */
.ys-setup {
    width: min(560px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 26px; border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: radial-gradient(120% 80% at 0% 0%, rgba(var(--accent-rgb), 0.18), transparent 60%), linear-gradient(180deg, color-mix(in srgb, var(--bg) 80%, #fff 4%), var(--bg));
    box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8);
}
.ys-intro { margin: 14px 0 18px; color: var(--ink-soft); line-height: 1.5; }
.ys-form { display: grid; gap: 16px; }
.ys-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; border: 0; }
.ys-platforms legend { margin-bottom: 8px; font-weight: 700; font-size: 0.9rem; }
.ys-platforms.ys-games { grid-template-columns: repeat(4, 1fr); }
.ys-platforms.ys-modes { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.ys-modes .ys-plat span { padding: 6px 10px; text-align: center; font-size: 0.92rem; line-height: 1.2; }
.ys-plat { position: relative; }
.ys-plat input { position: absolute; opacity: 0; }
.ys-plat span {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 14px; cursor: pointer;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); font-weight: 700; transition: background 0.2s, border-color 0.2s;
}
.ys-plat input:checked + span { background: rgba(var(--accent-rgb), 0.18); border-color: var(--accent); }
.ys-plat input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ys-plat.is-off span { opacity: 0.5; cursor: not-allowed; }
.ys-plat small { font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-dim); }
.ys-field { display: grid; gap: 8px; font-weight: 700; font-size: 0.9rem; }
.ys-input { display: flex; align-items: center; min-height: 50px; border-radius: 14px; background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.14); overflow: hidden; }
.ys-input:focus-within { border-color: var(--accent); }
.ys-prefix { padding-left: 14px; color: var(--ink-dim); font-weight: 600; }
.ys-input input {
    flex: 1; min-width: 0; height: 50px; padding: 0 14px 0 2px; color: var(--ink); font: inherit; font-size: 16px; font-weight: 600;
    -webkit-appearance: none; appearance: none; background: transparent !important; border: 0 !important; border-radius: 0; box-shadow: none !important; outline: none !important;
}
.ys-field input[type="range"] { width: 100%; accent-color: var(--accent); min-height: 32px; }
.ys-hint { font-weight: 500; font-size: 0.82rem; color: var(--ink-dim); line-height: 1.45; }
.ys-warn { margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(255, 196, 70, 0.1); border: 1px solid rgba(255, 196, 70, 0.3); font-size: 0.84rem; line-height: 1.5; color: var(--ink-soft); }
.ys-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(255, 90, 110, 0.14); color: #FFC2CA; font-size: 0.9rem; }
.ys-start svg { width: 18px; height: 18px; }
.ys-start:disabled { opacity: 0.6; cursor: wait; }

/* Yayın ekranı */
.ys-stage {
    position: fixed; inset: 0; display: flex; flex-direction: column; gap: clamp(12px, 2vh, 24px);
    padding: clamp(16px, 2.6vh, 32px) clamp(16px, 2.4vw, 44px);
    background:
        radial-gradient(80% 60% at 15% 0%, rgba(var(--accent-rgb), 0.22), transparent 60%),
        radial-gradient(60% 50% at 100% 100%, color-mix(in srgb, var(--sky3) 30%, transparent), transparent 70%),
        linear-gradient(180deg, var(--sky1), var(--bg) 60%);
    overflow: hidden;
}
.ys-top { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 22px); flex-wrap: wrap; font-size: clamp(0.9rem, 1.1vw, 1.15rem); }
.ys-logo { font-size: clamp(1.2rem, 1.6vw, 1.6rem); }
.ys-what { font-weight: 700; color: var(--ink-soft); }
.ys-howto {
    margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
    background: var(--accent); color: #140d1c; font-weight: 800; animation: ysPulse 1.6s ease-in-out infinite;
}
.ys-howto b { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 6px; background: rgba(0, 0, 0, 0.18); }
@keyframes ysPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.45); } 50% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } }
.ys-chan { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-weight: 700; }
.ys-howto[hidden] + .ys-chan { margin-left: auto; }
.ys-dot { width: 10px; height: 10px; border-radius: 50%; background: #FFC447; }
.ys-dot.is-connected { background: #3DDC84; box-shadow: 0 0 10px #3DDC84; }
.ys-dot.is-failed, .ys-dot.is-disconnected { background: #FF5A6E; }
.ys-round { font-weight: 600; color: var(--ink-soft); }
.ys-round b { color: var(--ink); font-weight: 800; }

.ys-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 24vw, 400px); gap: clamp(14px, 2vw, 32px); }
/* "safe center": içerik sığmazsa yukarı taşıp üst çubuğun altına girmesin, aşağıdan kaydırılsın */
.ys-play { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: clamp(10px, 2vh, 22px); min-height: 0; overflow-y: auto; scrollbar-width: none; text-align: center; }
.ys-play::-webkit-scrollbar { display: none; }
.ys-timer { position: relative; width: clamp(86px, 13vh, 150px); aspect-ratio: 1; }
.ys-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ys-ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 9; }
.ys-ring { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 326.73; transition: stroke-dashoffset 0.12s linear, stroke 0.3s; }
.ys-timer.is-low .ys-ring { stroke: #FF5A6E; }
.ys-timer b { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(2rem, 5vh, 3.4rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.ys-phase {
    font-size: clamp(1.6rem, 4.4vh, 3rem); font-weight: 800; letter-spacing: -0.02em;
    background: radial-gradient(125% 225% at 0% 70%, var(--h1) 0%, var(--h2) 62%, var(--h3) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ys-stage.is-paused .ys-phase { color: var(--ink-dim); background: none; }
.ys-eq { display: flex; align-items: flex-end; gap: 6px; height: clamp(28px, 5vh, 54px); }
.ys-eq i { width: clamp(6px, 0.6vw, 10px); height: 100%; border-radius: 4px; background: var(--accent); transform: scaleY(0.15); transform-origin: bottom; transition: transform 0.3s; }
.ys-eq.is-on i { animation: eq 0.9s ease-in-out infinite; }
.ys-eq.is-on i:nth-child(2n) { animation-delay: -0.3s; } .ys-eq.is-on i:nth-child(3n) { animation-delay: -0.55s; } .ys-eq.is-on i:nth-child(5n) { animation-delay: -0.15s; }
.ys-question { margin: 0; max-width: 1100px; font-size: clamp(1.4rem, 3.6vh, 2.4rem); font-weight: 700; line-height: 1.3; }
.ys-options { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.6vh, 18px); width: min(1200px, 100%); }
.ys-opt {
    position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: clamp(12px, 1.2vw, 20px);
    min-height: clamp(70px, 11vh, 120px); padding: clamp(12px, 1.6vh, 20px) clamp(14px, 1.4vw, 24px); border-radius: 22px; text-align: left;
    background: rgba(255, 255, 255, 0.07); border: 2px solid rgba(255, 255, 255, 0.12); transition: opacity 0.3s, border-color 0.3s, background 0.3s;
}
.ys-key {
    flex-shrink: 0; display: grid; place-items: center; width: clamp(44px, 6vh, 64px); aspect-ratio: 1; border-radius: 16px;
    background: var(--accent); color: #140d1c; font-size: clamp(1.4rem, 3.4vh, 2.2rem); font-weight: 800;
}
.ys-otext { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ys-opt .po-label { font-size: clamp(1.05rem, 2.6vh, 1.7rem); font-weight: 700; line-height: 1.2; }
.ys-opt .po-sub { font-size: clamp(0.85rem, 1.8vh, 1.15rem); }
.ys-bar { position: absolute; inset: 0 auto 0 0; z-index: -1; width: var(--pct); background: rgba(255, 255, 255, 0.08); transition: width 0.8s var(--ease); }
.ys-count { margin-left: auto; padding-left: 10px; font-size: clamp(1rem, 2.4vh, 1.5rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.ys-opt.is-correct { border-color: #3DDC84; background: rgba(61, 220, 132, 0.14); }
.ys-opt.is-correct .ys-key { background: #3DDC84; }
.ys-opt.is-correct .ys-bar { background: rgba(61, 220, 132, 0.24); }
.ys-opt.is-dim { opacity: 0.5; }
.ys-reveal { display: flex; align-items: center; gap: 18px; width: min(1200px, 100%); padding: 16px 20px; border-radius: 22px; background: rgba(255, 255, 255, 0.07); text-align: left; animation: panelIn 0.35s var(--ease); }
.ys-reveal .pl-rtext strong { font-size: clamp(1.1rem, 2.6vh, 1.6rem); }
.ys-reveal .pl-rsub { font-size: clamp(0.9rem, 1.9vh, 1.1rem); }
.ys-firsts { margin: 0 0 0 auto; padding: 0; list-style: none; display: grid; gap: 4px; min-width: 220px; }
.ys-firsts li { display: flex; justify-content: space-between; gap: 14px; padding: 6px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.22); font-weight: 600; }
.ys-firsts li:first-child { background: rgba(255, 210, 90, 0.18); }
.ys-firsts li span:last-child { color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.ys-firsts li.is-none { color: var(--ink-dim); justify-content: center; background: none; }
.ys-final { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ys-winner { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: clamp(1.1rem, 2.4vh, 1.5rem); color: var(--ink-soft); }
.ys-winner strong {
    font-size: clamp(2.6rem, 8vh, 5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; overflow-wrap: anywhere;
    background: radial-gradient(125% 225% at 0% 70%, var(--h1) 0%, var(--h2) 62%, var(--h3) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ys-crown { font-size: clamp(2rem, 6vh, 3.4rem); }
.ys-final-sub { margin: 0; color: var(--ink-dim); }

.ys-side { display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: clamp(14px, 2vh, 22px); border-radius: 24px; background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.08); }
.ys-side h3 { margin: 6px 0 0; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--eyebrow); }
.ys-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ys-counts span { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); color: var(--ink-dim); font-size: 0.85rem; font-weight: 600; }
.ys-counts b { color: var(--ink); font-size: clamp(1.4rem, 3vh, 2rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.ys-board { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; overflow: hidden; }
.ys-board li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-size: clamp(0.92rem, 1.9vh, 1.1rem); }
.ys-board li:first-child { background: rgba(255, 210, 90, 0.16); }
.yb-rank { width: 1.8em; text-align: center; font-weight: 800; color: var(--ink-dim); }
.ys-board li:first-child .yb-rank { color: #FFD25A; }
.yb-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.yb-pts { font-weight: 800; font-variant-numeric: tabular-nums; }
.ys-empty { margin: 0; color: var(--ink-dim); font-size: 0.9rem; }
.ys-recent { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.ys-recent li { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-size: 0.85rem; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ys-msg {
    position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
    padding: 24px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); text-align: center; font-size: 1.15rem;
}
.ys-msg p { margin: 0; max-width: 520px; }
.ys-controls {
    position: absolute; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 4;
    display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px); opacity: 0.85; transition: opacity 0.2s;
}
/* Onay kutusu ve kısa bildirim (bağlantı yokken basılan düğme gibi) */
.ys-confirm { z-index: 6; }
.ys-confirm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ys-toast {
    position: absolute; left: 50%; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 66px); transform: translateX(-50%); z-index: 6;
    margin: 0; padding: 10px 16px; border-radius: 12px; background: rgba(0, 0, 0, 0.8); border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.92rem; font-weight: 600; white-space: nowrap;
}
.ys-controls:hover, .ys-controls:focus-within { opacity: 1; }
.ys-controls button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 700; }
.ys-controls button:hover { background: rgba(255, 255, 255, 0.12); }
.ys-controls svg { width: 15px; height: 15px; }
.ys-stage.hide-controls .ys-controls { display: none; }
.ys-stage[data-phase="finished"] #ys-pause, .ys-stage[data-phase="finished"] #ys-skip, .ys-stage[data-phase="finished"] #ys-end { display: none; }

/* Kısa pencere (OBS'te küçültülmüş tarayıcı, dizüstü): süsleri küçült, sorular ve şıklar sığsın */
@media (max-height: 760px) {
    .ys-stage { gap: 10px; }
    .ys-play { gap: 10px; }
    .ys-timer { width: clamp(64px, 11vh, 86px); }
    .ys-timer b { font-size: clamp(1.5rem, 4.4vh, 2rem); }
    .ys-phase { font-size: clamp(1.3rem, 4vh, 1.8rem); }
    .ys-eq { height: 22px; }
    .ys-opt { min-height: 58px; padding: 10px 14px; }
    .ys-key { width: 42px; }
    .ys-reveal { padding: 10px 14px; }
}
/* Tek sütun: oyun ve sıralama alt alta, ekran kendisi kayar (alanlar sıkışıp üst üste binmesin) */
@media (max-width: 900px) {
    .ys-main { flex: none; grid-template-columns: 1fr; }
    .ys-play { overflow: visible; }
    .ys-stage { overflow-y: auto; padding-bottom: 90px; }
    .ys-howto { margin-left: 0; }
}
@media (max-width: 640px) {
    .stream-layer { padding: 0; place-items: stretch; }
    .ys-setup { width: 100%; max-height: none; height: 100dvh; border-radius: 0; border: 0; padding: max(16px, env(safe-area-inset-top)) 16px 24px; }
    .ys-options { grid-template-columns: 1fr; }
    .ys-reveal { flex-wrap: wrap; }
    .ys-firsts { margin-left: 0; width: 100%; }
    .ys-controls button span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .ys-howto, .ys-eq.is-on i { animation: none; }
}
