/* Futbol Efsanesi — sokak modası / editorial "sticker" arayüzü
   Nane yeşili zemin, kalın siyah çerçeve, sert ofset gölge, beyaz etiketler, sarı vurgu, ağır başlık yazısı.
   Okunurluk için: tüm metinler koyu mürekkep (#040504) üstünde açık/parlak yüzeylerde. */
:root {
  --ink: #040504; --paper: #fff;
  --page: #D2F0E0; --bg: #A8E6C6; --bg2: #C4EEDA; --soft: #EAF8F0;
  --g: #25AD61; --g2: #53CA8F; --gd: #14783F; --forest: #344E2E;
  --y: #FFD93B; --gold: #D49A1A; --c: #2F5BFF; --r: #FF5C4D; --m: #FF8FC8; --o: #FF9A3D;
  --t: #040504; --t2: #263525; --mut: #3F5543; --line: rgba(4, 5, 4, .16);
  --sh: 4px 4px 0 var(--ink); --sh3: 3px 3px 0 var(--ink); --sh2: 2px 2px 0 var(--ink);
  --ui: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --disp: "Archivo Black", "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --px: var(--ui);
  --grid: linear-gradient(rgba(4, 5, 4, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(4, 5, 4, .07) 1px, transparent 1px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
html, body { height: 100%; margin: 0; background-color: var(--page); background-image: var(--grid); background-size: 32px 32px; color: var(--t); font-family: var(--ui); font-weight: 500; font-size: 16px; line-height: 1.45; overscroll-behavior: none; touch-action: manipulation; -webkit-font-smoothing: antialiased; }
input { -webkit-user-select: text; user-select: text; }
button { font-family: inherit; }
b { font-weight: 700; }
#app { position: relative; max-width: 480px; height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; background-color: var(--bg); background-image: var(--grid); background-size: 32px 32px; }
@media (min-width: 481px) { #app { border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); } }
#screen { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0 0 22px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
#app.nobar #topbar, #app.nobar #nav { display: none; }
#app.inmatch #topbar, #app.inmatch #nav { display: none; }
#app.inmatch #screen { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.c { text-align: center; } .pad { padding: 6px 16px; } .mt { margin-top: 10px; } .tiny { font-size: 14px; line-height: 1.4; } .muted { color: var(--mut); }
.row { display: flex; align-items: center; gap: 8px; } .between { justify-content: space-between; } .gap { gap: 8px; margin-top: 8px; } .grow { flex: 1; }
.neon-g { color: var(--gd); } .neon-c { color: #1F44D6; } .neon-m { color: #B3277A; } .neon-y { color: #8A5F00; } .neon-r { color: #C2271B; }

/* ---------- üst bar ---------- */
#topbar { background: var(--paper); border-bottom: 3px solid var(--ink); padding: 10px 14px 10px; }
.tb1 { display: flex; align-items: center; gap: 12px; }
.ovr { width: 50px; height: 50px; display: grid; place-items: center; font: 400 21px/1 var(--disp); color: var(--ink); border: 2px solid var(--ink); border-radius: 12px; background: var(--y); flex: none; box-shadow: var(--sh2); font-variant-numeric: tabular-nums; }
.ovr.big { width: 60px; height: 60px; font-size: 25px; }
.tbn { flex: 1; min-width: 0; } .tbn .nm { font: 400 18px/1.15 var(--disp); text-transform: uppercase; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tbn .sm { font-size: 12.5px; color: var(--mut); font-weight: 600; margin-top: 2px; }
.mny { font: 400 14px/1 var(--disp); background: var(--y); color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 7px 9px 6px; box-shadow: var(--sh2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gear { background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; color: var(--ink); width: 38px; height: 38px; font-size: 16px; font-weight: 800; box-shadow: var(--sh2); }
.gear:active { transform: translate(2px, 2px); box-shadow: none; }
.tb2 { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; margin-top: 8px; color: var(--mut); } .clubn { color: var(--ink); font-weight: 800; display: flex; align-items: center; gap: 6px; }
.tb3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.mtr { font-size: 11px; color: var(--mut); display: flex; align-items: center; gap: 6px; } .mtr b { font: 800 10px var(--ui); letter-spacing: .06em; min-width: 30px; color: var(--ink); }
.sw { display: inline-block; width: 13px; height: 13px; border-radius: 4px; border: 2px solid var(--ink); flex: none; } .sw.lg { width: 34px; height: 34px; border-radius: 10px; box-shadow: var(--sh2); }
.bar { height: 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; flex: 1; } .bar>i { display: block; height: 100%; border-radius: 99px; transition: width .3s; }
.bar.xs { height: 11px; border-width: 1.5px; } .bar.sm { height: 11px; width: 60px; flex: none; }

/* ---------- alt menü ---------- */
#nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; background: var(--paper); border-top: 3px solid var(--ink); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
.nv { position: relative; background: none; border: 2px solid transparent; border-radius: 12px; color: var(--ink); padding: 6px 0 5px; display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 56px; }
.nv span { font-size: 21px; line-height: 1.1; } .nv em { font-style: normal; font: 800 9.5px/1 var(--ui); letter-spacing: .05em; }
.nv.on { background: var(--y); border-color: var(--ink); box-shadow: var(--sh2); }
.dotn { position: absolute; top: -7px; right: 12%; background: var(--c); color: #fff; font: 800 10px/1 var(--ui); font-style: normal; padding: 3px 6px; border: 2px solid var(--ink); border-radius: 99px; }

/* ---------- ortak bileşenler ---------- */
.h { font: 400 28px/1.05 var(--disp); text-transform: uppercase; letter-spacing: -.01em; text-align: left; padding: 22px 16px 8px; color: var(--ink); }
.h2 { font: 400 17px/1.3 var(--disp); text-transform: uppercase; text-align: center; padding: 8px 0; color: var(--ink); }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--sh); margin: 16px 14px 0; padding: 14px; }
.card>b.neon-c, .card>b.neon-y, .card>b.neon-g, .card>b.neon-m, .card>b.neon-r { display: inline-block; font: 800 11px/1.2 var(--ui); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px 5px; border: 2px solid var(--ink); border-radius: 8px; box-shadow: var(--sh2); transform: rotate(-1.2deg); margin: -23px 0 12px -4px; background: var(--y); color: var(--ink); }
.card>b.neon-g { background: var(--g2); } .card>b.neon-c { background: var(--c); color: #fff; } .card>b.neon-m { background: var(--m); } .card>b.neon-r { background: var(--r); }
.lab { font: 800 12px/1.3 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); display: inline-block; margin-bottom: 10px; padding: 0 3px; background: linear-gradient(transparent 55%, var(--y) 55%); }
.btn { font: 800 14px/1.25 var(--ui); letter-spacing: .04em; text-transform: uppercase; min-height: 52px; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 12px; color: var(--ink); background: var(--paper); box-shadow: var(--sh); display: block; width: calc(100% - 28px); margin: 14px; cursor: pointer; text-align: center; transition: transform .08s, box-shadow .08s, background .15s; }
.btn:active:not(:disabled) { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.primary { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--y); }
.btn.primary:active:not(:disabled) { box-shadow: 1px 1px 0 var(--y); }
.btn.xl.primary::after { content: '→'; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 12px; border-radius: 50%; background: var(--y); color: var(--ink); font-size: 15px; font-weight: 800; letter-spacing: 0; vertical-align: middle; }
.btn.danger { background: var(--r); color: var(--ink); }
.btn.warn { background: var(--y); color: var(--ink); }
.btn.ghost { background: var(--paper); color: var(--ink); }
.btn.xl { min-height: 60px; font-size: 16px; }
.btn.sm { width: auto; margin: 0; min-height: 40px; padding: 8px 14px; font-size: 13px; box-shadow: var(--sh3); } .btn.xs { width: auto; margin: 0; min-height: 32px; padding: 6px 10px; font-size: 11.5px; box-shadow: var(--sh2); border-radius: 9px; }
.btn.sm.primary { box-shadow: 3px 3px 0 var(--y); } .btn.xs.primary { box-shadow: 2px 2px 0 var(--y); }
.btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.card .btn { width: 100%; margin: 12px 0 0; } .card .btn.sm, .card .btn.xs { width: auto; margin: 0; } .card .row .btn.sm.grow { width: auto; }
.inp { flex: 1; font-family: var(--ui); font-size: 17px; font-weight: 700; padding: 12px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 12px; box-shadow: inset 2px 2px 0 rgba(4, 5, 4, .12); min-width: 0; }
.grid1 { display: grid; gap: 8px; margin-top: 8px; } .grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.chip { background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; box-shadow: var(--sh2); color: var(--ink); padding: 8px 4px; text-align: center; display: flex; flex-direction: column; gap: 3px; align-items: center; justify-content: center; min-height: 54px; font-size: 20px; cursor: pointer; font-family: var(--ui); transition: transform .08s, box-shadow .08s; }
.chip:active { transform: translate(2px, 2px); box-shadow: none; }
.chip b { font: 800 13px var(--ui); letter-spacing: .02em; } .chip em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--mut); line-height: 1.15; }
.chip.on { background: var(--y); } .chip.on em { color: var(--ink); } .chip.wide { flex-direction: column; padding: 12px; text-align: center; }
.arch { width: 100%; text-align: left; background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; box-shadow: var(--sh2); color: var(--ink); padding: 12px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 3px; font-family: var(--ui); cursor: pointer; }
.arch b { font: 800 15px var(--ui); color: var(--ink); } .arch span { font-size: 14px; color: var(--mut); font-weight: 500; }
.arch.on { background: var(--y); } .arch.on span { color: var(--ink); }
.sl { display: grid; gap: 4px; margin: 8px 0; } .sl span { font-size: 15px; font-weight: 600; } input[type=range] { width: 100%; accent-color: var(--ink); height: 34px; }
.srow { display: grid; grid-template-columns: 96px 1fr 38px; gap: 10px; align-items: center; margin: 7px 0; font-size: 14px; font-weight: 600; } .srow b { text-align: right; font-size: 15px; font-variant-numeric: tabular-nums; font-weight: 800; } .srow.dim { opacity: .55; }
.srow.up { grid-template-columns: 82px 1fr 30px auto; } .bon { color: #1F44D6; font-size: 11px; font-style: normal; margin-left: 2px; }
.pills { display: flex; gap: 8px; padding: 14px 14px 8px; overflow-x: auto; scrollbar-width: none; } .pill { flex: none; font: 800 12px/1 var(--ui); letter-spacing: .05em; text-transform: uppercase; padding: 9px 15px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 99px; min-height: 38px; cursor: pointer; box-shadow: var(--sh2); }
.pill.on { color: #fff; background: var(--ink); box-shadow: 2px 2px 0 var(--y); }
.alert { margin: 14px 14px 0; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 12px; background: var(--y); box-shadow: var(--sh2); font-size: 14px; font-weight: 700; color: var(--ink); } .alert.r { background: var(--r); } .alert.g { background: var(--g2); }
.card .alert { margin: 10px 0 0; }
.badge { display: inline-block; font: 800 11px/1.2 var(--ui); letter-spacing: .04em; padding: 3px 9px; border: 2px solid var(--ink); border-radius: 99px; margin-left: 6px; vertical-align: middle; background: var(--paper); color: var(--ink); }
.badge.g { background: var(--g2); } .badge.y { background: var(--y); } .badge.r { background: var(--r); }
.item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1.5px solid var(--line); font-size: 15px; font-weight: 600; } .item:last-child { border-bottom: none; }
.item.col { flex-direction: column; align-items: stretch; gap: 3px; } .item em { color: var(--mut); font-style: normal; font-size: 12px; font-weight: 600; margin-left: 4px; }
.card.act { display: flex; align-items: center; gap: 12px; } .card.act .ic { font-size: 26px; width: 44px; height: 44px; display: grid; place-items: center; flex: none; background: var(--y); border: 2px solid var(--ink); border-radius: 12px; box-shadow: var(--sh2); } .gr { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gr b { font: 800 16px var(--ui); } .gr span { font-size: 14px; color: var(--t2); font-weight: 500; line-height: 1.35; } .gr em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--mut); }
.news { font-size: 14px; font-weight: 600; padding: 6px 0; color: var(--t2); border-bottom: 1.5px solid var(--line); } .news.hot { color: var(--ink); font-weight: 800; }
.tbl .tr { display: grid; grid-template-columns: 22px 1fr 28px 38px; gap: 6px; padding: 7px 6px; font-size: 14px; font-weight: 600; align-items: center; border-bottom: 1.5px solid var(--line); font-variant-numeric: tabular-nums; } .tbl .tn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl.big .tr { grid-template-columns: 20px 1fr 24px 24px 24px 24px 30px 30px; font-size: 13px; } .tbl .tr.me { background: var(--y); color: var(--ink); font-weight: 800; border: 2px solid var(--ink); border-radius: 9px; box-shadow: var(--sh2); } .tbl .tr.hd { color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid var(--ink); }
.kv { margin-top: 10px; } .kv>div { background: var(--soft); border: 2px solid var(--ink); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; box-shadow: var(--sh2); } .kv em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--mut); } .kv b { font: 800 16px var(--ui); font-variant-numeric: tabular-nums; }
.stat4>div { text-align: center; background: var(--soft); border: 2px solid var(--ink); border-radius: 12px; padding: 10px 2px; box-shadow: var(--sh2); } .stat4 b { display: block; font: 400 22px/1.2 var(--disp); color: var(--ink); font-variant-numeric: tabular-nums; } .stat4 em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--mut); }
.stars { color: var(--gold); letter-spacing: 2px; text-shadow: 1px 1px 0 var(--ink); }
.perk { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1.5px solid var(--line); } .perk:last-child { border: none; } .perk.lock { opacity: .55; } .perk.own .gr b { color: var(--gd); }
.tag { font: 800 10px/1.2 var(--ui); font-style: normal; letter-spacing: .05em; padding: 2px 6px; border: 2px solid var(--ink); border-radius: 6px; color: #1F44D6; background: var(--paper); margin-left: 6px; vertical-align: middle; } .tag.act { color: #B3277A; }
.ap { font-size: 14px; font-weight: 800; color: var(--gd); } .ap em { font-size: 12px; color: var(--mut); font-style: normal; font-weight: 600; }

/* ---------- başlık ekranı ---------- */
.title { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px 16px 24px; position: relative; overflow: hidden; }
.title > * { position: relative; z-index: 1; }
.title > .dd { position: absolute; z-index: 0; width: 30px; height: 30px; pointer-events: none; }
.dd svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.hero { position: relative; width: clamp(150px, 31dvh, 250px); aspect-ratio: 5 / 5.6; margin: 6px 0 22px; flex: none; }
.hero .plate { position: absolute; inset: 0; background: var(--y); border: 3px solid var(--ink); border-radius: 22px; transform: rotate(-7deg) translate(-9px, 7px); }
.hero .frame { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, #2CBA6C 0 16%, #25AD61 16% 32%); border: 3px solid var(--ink); border-radius: 22px; box-shadow: var(--sh); overflow: hidden; transform: rotate(2.5deg); display: grid; place-items: center; }
.hero .frame::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; background: rgba(255, 255, 255, .85); transform: translateY(-50%); }
.hero .frame::after { content: ''; position: absolute; width: 56%; aspect-ratio: 1; border: 3px solid rgba(255, 255, 255, .85); border-radius: 50%; }
.hero .ball { position: relative; z-index: 2; width: 58%; animation: bounce 1.4s infinite ease-in-out; filter: drop-shadow(4px 7px 0 rgba(4, 5, 4, .28)); }
.hero .burst { position: absolute; z-index: 3; top: -14px; right: -22px; width: 74px; height: 74px; transform: rotate(12deg); }
.hero .burst text { font-family: var(--disp); }
.logo { text-align: center; margin-top: 2px; }
.l1 { display: inline-block; font: 800 13px/1 var(--ui); letter-spacing: .32em; text-transform: uppercase; padding: 8px 11px 7px 16px; background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; box-shadow: var(--sh2); transform: rotate(-2deg); }
.tiles { --tile: clamp(26px, calc((min(100vw, 480px) - 76px) / 8), 46px); display: flex; justify-content: center; gap: 5px; margin-top: 14px; }
.tiles i { font-style: normal; display: grid; place-items: center; width: var(--tile); height: var(--tile); border: 2px solid var(--ink); border-radius: 9px; font: 400 calc(var(--tile) * .58)/1 var(--disp); box-shadow: var(--sh2); background: var(--paper); }
.tiles i:nth-child(4n+1) { background: var(--ink); color: #fff; } .tiles i:nth-child(4n+3) { background: var(--y); } .tiles i:nth-child(4n) { background: var(--c); color: #fff; }
.tiles i:nth-child(odd) { transform: rotate(-2deg); } .tiles i:nth-child(even) { transform: rotate(2deg); }
.l3 { font-size: 14px; font-weight: 700; color: var(--mut); margin-top: 14px; }
.slogan { font: 400 17px/1.15 var(--disp); text-transform: uppercase; text-align: center; margin: 12px 0 14px; max-width: 320px; }
.prog { width: 150px; flex: none; margin: 0 auto 6px; } .prog > i { background: var(--y); }
@keyframes bounce { 0%, 100% { transform: translateY(-8px) rotate(-4deg); } 50% { transform: translateY(8px) rotate(4deg); } }
.tbtn { width: 100%; padding: 0 0 6px; }

/* ---------- maç günü / sonuç ---------- */
.pre > .h, .post > .h { display: block; text-align: center; margin: 20px 18px 4px; padding: 11px 8px 9px; background: var(--y); border: 3px solid var(--ink); border-radius: 14px; box-shadow: var(--sh); transform: rotate(-1deg); }
.post > .h[data-res="W"] { background: var(--g2); } .post > .h[data-res="L"] { background: var(--r); } .post > .h[data-res="D"] { background: var(--y); }
.fxc { text-align: center; box-shadow: 4px 4px 0 var(--ink), 9px 9px 0 0 var(--y), 9px 9px 0 2px var(--ink); } .fxc .lbl { font: 800 12px/1.6 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; display: inline-block; padding: 0 8px; background: linear-gradient(transparent 52%, var(--y) 52%); }
.vs { display: flex; align-items: center; justify-content: space-around; gap: 6px; margin: 6px 0 12px; } .tmv { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; } .tmv b { font: 800 16px/1.15 var(--ui); } .tmv em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--mut); }
.vsx { font: 400 13px var(--disp); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 99px; padding: 6px 9px 5px; box-shadow: var(--sh2); }
.cmp { display: flex; height: 12px; border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; margin: 12px 0; } .bigscore { font-size: 18px; font-weight: 700; } .bigscore b { font: 400 30px var(--disp); color: var(--ink); margin: 0 8px; display: inline-block; font-variant-numeric: tabular-nums; }
.ratingbig { display: block; width: max-content; margin: 10px auto 14px; padding: 6px 26px 4px; border: 3px solid var(--ink); border-radius: 14px; box-shadow: var(--sh); background: var(--y); font: 400 46px/1.1 var(--disp); color: var(--ink); text-align: center; transform: rotate(-1.5deg); font-variant-numeric: tabular-nums; }
.offer.gone { opacity: .45; } .chg { display: flex; flex-wrap: wrap; gap: 8px; } .chg span { font-size: 13px; font-weight: 800; padding: 4px 9px; border: 2px solid var(--ink); border-radius: 8px; box-shadow: var(--sh2); background: var(--paper); } .chg .up { background: var(--g2); } .chg .dn { background: var(--r); }
.jub .fw { text-align: center; font-size: 36px; padding-top: 14px; animation: pulse 1.2s infinite; } @keyframes pulse { 50% { transform: scale(1.1); } }
.how p { font-size: 15px; font-weight: 500; margin: 10px 0; line-height: 1.5; text-align: left; } .q { font-size: 17px; font-weight: 600; padding: 12px 14px; background: var(--soft); border: 2px solid var(--ink); border-radius: 12px; margin: 10px 0; text-align: left; font-style: italic; box-shadow: var(--sh2); }
.mgtop { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--paper); border-bottom: 3px solid var(--ink); }
.tapn { font: 400 56px/1 var(--disp); color: var(--ink); text-align: center; margin-top: 10px; font-variant-numeric: tabular-nums; } .tapt { text-align: center; font: 800 15px var(--ui); color: var(--ink); margin: 6px 0; } .tapb { height: 90px; font-size: 16px !important; }

/* ---------- bildirim & pencere ---------- */
.toast { position: absolute; left: 14px; right: 14px; top: 76px; z-index: 90; background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; color: var(--ink); padding: 12px; text-align: center; font-size: 15px; font-weight: 800; box-shadow: var(--sh); opacity: 0; transform: translateY(-12px) rotate(-1deg); pointer-events: none; transition: .25s; }
.toast.on { opacity: 1; transform: rotate(-.6deg); } .toast.good { background: var(--g2); } .toast.bad { background: var(--r); }
#modal { position: absolute; inset: 0; z-index: 80; background: rgba(4, 5, 4, .55); display: none; align-items: center; justify-content: center; padding: 16px; } #modal.on { display: flex; }
.mb { width: 100%; max-height: 92%; overflow-y: auto; background: var(--paper); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); }
.mc { padding: 18px; } .mc .h2 { font-size: 20px; } .mbtn { padding: 0 16px 16px; } .mbtn .btn { width: 100%; margin: 10px 0 0; font-size: 14px; min-height: 50px; }
.mc .chip { margin-top: 8px; }

/* ---------- maç ekranı ---------- */
.arena { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.sb { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 10px 12px; background: var(--paper); border-bottom: 3px solid var(--ink); }
.sb .tm { display: flex; align-items: center; gap: 8px; font: 800 15px var(--ui); min-width: 0; } .sb .tm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sb .tm.r { justify-content: flex-end; }
.sb .sc { font: 400 26px/1 var(--disp); color: var(--y); background: var(--ink); border: 2px solid var(--ink); border-radius: 10px; padding: 7px 16px 5px; font-variant-numeric: tabular-nums; letter-spacing: .04em; box-shadow: 3px 3px 0 var(--y); }
.sbm { display: flex; align-items: center; gap: 10px; padding: 6px 12px; background: var(--bg2); font-size: 12px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--ink); }
.sbm .clk { font: 400 13px var(--disp); color: var(--ink); min-width: 38px; font-variant-numeric: tabular-nums; } .sbm .lbl { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sbm .en { display: flex; align-items: center; gap: 6px; } .sbm .en b { font: 800 10px var(--ui); letter-spacing: .06em; }
.sbm .rt { font: 400 14px var(--disp); color: var(--ink); background: var(--y); border: 2px solid var(--ink); border-radius: 7px; padding: 2px 8px 1px; font-variant-numeric: tabular-nums; } .sbm .rt[data-lv="good"] { background: var(--g2); } .sbm .rt[data-lv="bad"] { background: var(--r); }
.stagewrap { position: relative; display: flex; justify-content: center; background: var(--ink); flex: none; }
#stage { height: min(44dvh, calc(min(100vw, 480px) * .8333)); width: auto; aspect-ratio: 288 / 240; touch-action: none; display: block; background: #CFF1DE; }
.banner { position: absolute; left: 0; right: 0; top: 36%; text-align: center; font: 400 30px/1 var(--disp); text-transform: uppercase; letter-spacing: .01em; color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); pointer-events: none; opacity: 0; z-index: 5; }
.banner.on { animation: pop 1.2s ease-out forwards; } .banner.goal { color: var(--y); font-size: 44px; } .banner.good { color: var(--g2); } .banner.bad { color: var(--r); } .banner.warn { color: var(--o); }
@keyframes pop { 0% { opacity: 0; transform: scale(.5) rotate(-6deg); } 15% { opacity: 1; transform: scale(1.14) rotate(-3deg); } 30% { transform: scale(1) rotate(-2deg); } 80% { opacity: 1; } 100% { opacity: 0; transform: scale(1.04) translateY(-10px) rotate(-2deg); } }
#over { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.var { position: absolute; inset: 0; background: rgba(4, 5, 4, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; overflow: hidden; }
.var .vt { font: 400 46px var(--disp); letter-spacing: .1em; color: var(--y); } .var .vs { font: 800 14px/1.5 var(--ui); color: #fff; text-align: center; padding: 0 16px; display: block; margin: 0; background: none; border: 0; box-shadow: none; }
.var .scan { position: absolute; left: 0; right: 0; height: 3px; background: var(--g2); opacity: .9; animation: scan 1.1s linear infinite alternate; } @keyframes scan { from { top: 5%; } to { top: 95%; } }
.feed { flex: 1; min-height: 56px; overflow-y: auto; padding: 8px 14px; background: var(--paper); border-top: 0; font-size: 15px; font-weight: 600; scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.feed.static { max-height: 220px; margin-top: 8px; border: 2px solid var(--ink); border-radius: 12px; } .fl { padding: 7px 0; border-bottom: 1.5px solid var(--line); line-height: 1.35; color: var(--t2); } .fl b { color: var(--mut); font: 800 12px var(--ui); margin-right: 6px; font-variant-numeric: tabular-nums; }
.fl.goal { background: var(--y); color: var(--ink); font-weight: 800; border: 2px solid var(--ink); border-radius: 9px; padding: 7px 10px; margin: 5px 0; box-shadow: var(--sh2); } .fl.goal b { color: var(--ink); } .fl.hot { color: var(--ink); font-weight: 700; } .fl.good { color: var(--gd); font-weight: 700; } .fl.bad { color: #B3281D; font-weight: 700; } .fl.warn { color: #8F4A00; font-weight: 700; }
.mctl { flex: none; padding: 10px 14px 16px; background: var(--bg); border-top: 3px solid var(--ink); min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.mctl .hint { font-size: 15px; color: var(--ink); text-align: center; line-height: 1.4; font-weight: 600; } .mctl .hint b { color: var(--ink); font-weight: 800; }
.mctl .row { gap: 10px; } .mctl .btn { margin: 0; width: auto; flex: 1; min-height: 56px; font-size: 14px; } .mctl .btn.xl { min-height: 74px; font-size: 18px; }
.mctl .row.many { flex-wrap: wrap; } .mctl .row.many .btn { flex: 1 1 22%; } .mctl .row.pad3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .mctl .btn.pad { min-height: 42px; font-size: 18px; padding: 4px; }
.mctl .row.three .btn.xl { font-size: 22px; }
.mctl .btn.xl.primary::after { display: none; }
@media (max-height: 700px) { .mctl { min-height: 124px; } .mctl .btn.xl { min-height: 58px; } #stage { height: min(40dvh, calc(min(100vw, 480px) * .8333)); } .mctl .btn.pad { min-height: 36px; } }

/* ============================================================
   KLAVYE ROZETLERİ
   ============================================================ */
.kb { display: inline-block; font: 800 11px/1 var(--ui); padding: 3px 7px; margin: 0 2px; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-bottom-width: 3px; border-radius: 6px; vertical-align: middle; white-space: nowrap; letter-spacing: .02em; }
.btn .kk { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; opacity: .7; letter-spacing: .04em; }
.nv .nk, .kbhelp { display: none; }

/* ============================================================
   FARE / KLAVYE: üzerine gelme, odak, imleç
   ============================================================ */
@media (hover: hover) {
  .btn, .chip, .arch, .pill, .nv, .gear, [data-act] { cursor: pointer; }
  .btn:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
  .btn.primary:hover:not(:disabled) { box-shadow: 5px 5px 0 var(--y); }
  .btn.sm:hover:not(:disabled), .btn.xs:hover:not(:disabled) { box-shadow: 4px 4px 0 var(--ink); }
  .btn.sm.primary:hover:not(:disabled), .btn.xs.primary:hover:not(:disabled) { box-shadow: 4px 4px 0 var(--y); }
  .btn:active:not(:disabled) { transform: translate(3px, 3px); }
  .chip:hover, .arch:hover, .gear:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
  .chip:active, .arch:active { transform: translate(2px, 2px); box-shadow: none; }
  .pill:not(.on):hover { background: var(--y); }
  .nv:not(.on):hover { background: var(--soft); border-color: var(--ink); }
  #stage { cursor: crosshair; }
}
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--c); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .hero .ball, .jub .fw, .var .scan { animation: none; } .banner.on { animation-duration: .01s; } }

/* ============================================================
   GENİŞ EKRAN (masaüstü / yatay tablet): kenar çubuğu + çok sütun
   ============================================================ */
@media (min-width: 900px) {
  #app { max-width: 1320px; width: 100%; display: grid; grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "top top" "nav screen"; }
  #topbar { grid-area: top; display: flex; align-items: center; gap: 32px; padding: 12px 24px; }
  #topbar .tb1 { flex: 1.55; min-width: 0; gap: 14px; }
  #topbar .tb2 { flex: .9; flex-direction: column; gap: 4px; margin: 0; font-size: 14px; min-width: 0; }
  #topbar .tb3 { flex: 1.5; margin: 0; gap: 14px; }
  .tbn .nm { font-size: 20px; } .tbn .sm { font-size: 13px; } .ovr { width: 54px; height: 54px; }
  .mtr { font-size: 12px; } .mtr b { font-size: 10px; min-width: 30px; }
  #nav { grid-area: nav; display: flex; flex-direction: column; gap: 8px; padding: 18px 14px 70px; border-top: 0; border-right: 3px solid var(--ink); overflow-y: auto; }
  .nv { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 11px 14px; min-height: 52px; border-radius: 12px; text-align: left; }
  .nv span { font-size: 20px; } .nv em { flex: 1; font-size: 12.5px; letter-spacing: .04em; }
  .nv .nk { display: block; font: 800 11px var(--ui); font-style: normal; color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; padding: 1px 6px; background: var(--paper); }
  .nv.on { box-shadow: var(--sh3); }
  .dotn { top: 50%; right: 52px; transform: translateY(-50%); }
  .kbhelp { display: block; margin-top: auto; padding: 14px 6px 0; border-top: 2px solid var(--ink); font-size: 13px; font-weight: 600; color: var(--ink); line-height: 2.1; }
  .kbhelp b { display: block; font: 800 11px var(--ui); letter-spacing: .08em; color: var(--ink); margin-bottom: 4px; }
  #screen { grid-area: screen; padding: 6px 30px 34px; }
  #app.inmatch #screen { padding: 0; }

  #app.nobar { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); grid-template-areas: "screen"; max-width: 1000px; }
  #app.inmatch { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); grid-template-areas: "screen"; max-width: 1320px; }

  .wrap { max-width: 780px; margin: 0 auto; }
  .wrap.cols { max-width: 1160px; column-count: 2; column-gap: 20px; }
  .wrap.cols > .card, .wrap.cols .card { break-inside: avoid; margin: 18px 0 0; }
  .wrap.cols > .h, .wrap.cols > .pills, .wrap.cols > .alert, .wrap.cols > .pad, .wrap.cols > .tiny { column-span: all; }
  .wrap.cols > .alert { margin: 14px 0 0; } .wrap.cols > .pills { padding: 14px 0 6px; }
  .wrap.cols > .btn { width: 100%; margin: 16px 0 0; break-inside: avoid; }
  .wrap:not(.cols) .card, .wrap:not(.cols) .alert { margin-left: 0; margin-right: 0; }
  .wrap:not(.cols) .btn:not(.sm):not(.xs) { width: 100%; margin-left: 0; margin-right: 0; }
  .wrap .card.act .btn.sm { margin: 0; }

  .h { padding: 24px 0 10px; font-size: 32px; } .wrap:not(.cols) .h { padding-left: 0; }
  .pre > .h, .post > .h { margin-left: 0; margin-right: 0; }
  .tbtn { max-width: 440px; }

  .mb { max-width: 600px; } .how p { font-size: 16px; }
  .toast { left: 0; right: 0; margin: 0 auto; width: min(560px, calc(100% - 24px)); top: 96px; }

  /* MAÇ: solda büyük sahne, sağda anlatım + kontroller */
  .arena { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(360px, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; grid-template-areas: "sb sb" "sbm sbm" "stage feed" "stage ctl"; }
  .arena .sb { grid-area: sb; padding: 12px 24px; } .arena .sbm { grid-area: sbm; padding: 6px 24px; font-size: 13px; }
  .arena .stagewrap { grid-area: stage; align-items: center; border-right: 3px solid var(--ink); }
  #stage { height: auto; width: min(100%, calc((100dvh - 120px) * 1.2)); aspect-ratio: 288 / 240; }
  .arena .feed { grid-area: feed; min-height: 0; padding: 10px 20px; font-size: 16px; }
  .arena .mctl { grid-area: ctl; min-height: 210px; padding: 14px 20px 22px; }
  .mctl .hint { font-size: 16px; } .mctl .btn { min-height: 62px; font-size: 15px; } .mctl .btn.xl { min-height: 84px; font-size: 20px; }
  .mctl .btn.pad { min-height: 48px; } .mctl .row.three .btn.xl { font-size: 24px; }
  .banner { font-size: 36px; } .banner.goal { font-size: 54px; }
}
@media (min-width: 900px) and (max-height: 760px) {
  #topbar { padding: 8px 20px; } .nv { min-height: 44px; padding: 8px 12px; } .mctl .btn.xl { min-height: 64px; } .arena .mctl { min-height: 170px; }
  .hero { width: clamp(130px, 28dvh, 220px); margin-bottom: 14px; }
}
