:root {
  --bg: #070b18; --panel: #0f162c; --panel2: #15203c; --line: #22305a;
  --text: #fbf7f0; --soft: #d3d8e8; --muted: #8f9aba;
  --lime: #a8f03c; --ink: #0b1a05; --live: #ff3d71; --gold: #ffc94a; --warn: #ffb547;
  --btn: linear-gradient(110deg, #6fe03a 0%, #c6ff3d 100%);
  --font: "DM Sans", system-ui, -apple-system, Roboto, sans-serif; --heading: "Outfit", "DM Sans", sans-serif;
  --safeT: env(safe-area-inset-top, 0px); --safeB: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font); }
body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + var(--safeT)) 16px 10px; background: rgba(7, 11, 24, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font: 800 19px var(--heading); letter-spacing: .04em; }
.brand b { color: var(--lime); }
.me { max-width: 50%; padding: 7px 13px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

main { padding: 14px 16px calc(28px + var(--safeB)); max-width: 720px; margin: 0 auto; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-bottom: 12px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gap { gap: 8px; margin-top: 4px; }
.status p { margin: 8px 0 10px; font-size: 14px; }
.status b { font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: var(--panel2); font-size: 12.5px; font-weight: 700; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.pill.live i { background: var(--live); box-shadow: 0 0 0 4px rgba(255, 61, 113, .2); }
.pill.wait i { background: var(--warn); }
.pill.ok i { background: var(--lime); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 13px; font-weight: 800; }
.btn.primary { background: var(--btn); color: var(--ink); }
.btn.ghost { background: var(--panel2); border: 1px solid var(--line); }
.btn.sm { min-height: 38px; padding: 7px 14px; font-size: 14px; }

.how summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.how summary::after { content: "＋"; color: var(--lime); }
.how[open] summary::after { content: "－"; }
.how ol { margin: 12px 0 8px; padding-left: 20px; }
.how li { margin-bottom: 6px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; padding: 7px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; }
.chips button.on { background: var(--lime); color: var(--ink); border-color: var(--lime); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.game { position: relative; display: flex; flex-direction: column; width: 100%; padding: 0; margin: 0; text-align: left; border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); color: inherit; font: inherit; }
/* Kapaklar 16:10 (1600x1000); kırpmadan bütün görünür, ad resmin altında */
.game img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--panel2); }
.game span { display: block; padding: 9px 11px 11px; }
.game b { display: block; font: 800 15px/1.2 var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game small { color: var(--soft); font-size: 12px; }
.game em { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; font: 800 11px var(--font); font-style: normal; background: var(--lime); color: var(--ink); }
.game em.lockb { background: rgba(7, 11, 24, .8); color: var(--gold); }
.empty { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--muted); }

.sheet { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .6); }
.sheet[hidden] { display: none; }
.sheetbox { position: relative; width: 100%; max-width: 560px; max-height: 92vh; display: flex; flex-direction: column; background: var(--panel); border-radius: 22px 22px 0 0; overflow: hidden; animation: up .22s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheetbox .x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(7, 11, 24, .75); font-size: 16px; }
.sheetbox .cover { width: 100%; aspect-ratio: 16 / 10; max-height: 42vh; object-fit: cover; flex: none; }
.sbody { padding: 14px 18px 6px; overflow-y: auto; }
.kicker { color: var(--lime); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.sbody h2 { margin: 2px 0 6px; font: 800 24px/1.15 var(--heading); }
.sbody h3 { margin: 14px 0 8px; font-size: 15px; }
.lock { padding: 10px 12px; border-radius: 12px; background: rgba(255, 201, 74, .1); color: var(--gold); font-size: 14px; }
.lock a { text-decoration: underline; font-weight: 700; }
.gifts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gifts li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 11px; background: var(--panel2); font-size: 14px; }
.gifts img { width: 30px; height: 30px; object-fit: contain; }
.gifts small { margin-left: auto; color: var(--muted); }
.sbtns { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 12px 18px calc(14px + var(--safeB)); border-top: 1px solid var(--line); }

.toast { position: fixed; left: 16px; right: 16px; bottom: calc(20px + var(--safeB)); z-index: 30; padding: 12px 16px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); text-align: center; font-weight: 700; }
.toast[hidden] { display: none; }

/* Telefondan yayın anlatım videosu (19 Kasım 2026) */
.howvideo { display: block; width: 100%; max-width: 340px; aspect-ratio: 9 / 16; margin: 12px auto 4px; border-radius: 16px; background: #000; }
