/* SantraX arayüzü. Giriş sayfası yedili oyun standardındadır: menü solda, oyunun canlı görüntüsü sağda (telefonda menü görüntünün üstünde). */
:root { --bg: #123a1c; --ink: #fff; --dim: #c5dcc9; --gold: #ffd23f; --org: #f59f0b; --red: #e5484d; --blue: #3b82f6; --grn: #34d058; --card: rgba(12, 38, 20, .94); --line: rgba(255, 255, 255, .16); --b1: #24573a; --b2: #0f2c19; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--ink); font: 500 16px/1.35 'Baloo 2', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; overscroll-behavior: none; touch-action: none; user-select: none; -webkit-user-select: none; }
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
#cv { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- düğmeler ---------- */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; padding: 4px 16px 0; border: 0; border-radius: 16px; background: var(--b1); color: #fff; font-weight: 800; font-size: 17px; letter-spacing: .02em; cursor: pointer; box-shadow: 0 5px 0 var(--b2), 0 8px 18px rgba(0, 0, 0, .3); transition: transform .08s, box-shadow .08s, filter .15s; text-decoration: none; }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--b2); }
.btn.pri { background: linear-gradient(180deg, #ffe680, var(--gold) 45%, var(--org)); color: #3a2600; box-shadow: 0 5px 0 #a3650a, 0 8px 22px rgba(245, 159, 11, .4); }
.btn.pri:active { box-shadow: 0 1px 0 #a3650a; }
.btn.grn { background: linear-gradient(180deg, #5ee07e, var(--grn) 50%, #1f9d3d); color: #062b12; box-shadow: 0 5px 0 #136b28, 0 8px 22px rgba(52, 208, 88, .3); }
.btn.grn:active { box-shadow: 0 1px 0 #136b28; }
.btn.red { background: linear-gradient(180deg, #f47c80, var(--red)); box-shadow: 0 5px 0 #8c1d22; }
.btn.xl { min-height: 66px; font-size: 26px; border-radius: 22px; }
.btn.sm { min-height: 44px; font-size: 14.5px; padding: 3px 10px 0; border-radius: 14px; }
.btn.xs { min-height: 34px; width: auto; font-size: 13px; padding: 2px 10px 0; border-radius: 11px; box-shadow: 0 3px 0 var(--b2); }
.btn.ghost { background: rgba(255, 255, 255, .1); box-shadow: none; font-weight: 700; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn:focus-visible, input:focus-visible, .chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- ana menü ---------- */
.menu { position: fixed; inset: 0 auto 0 0; width: min(430px, 100%); padding: max(14px, env(safe-area-inset-top)) 22px max(14px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: center; gap: 11px; overflow-y: auto; touch-action: pan-y; background: linear-gradient(90deg, rgba(18, 58, 28, .95) 62%, rgba(18, 58, 28, 0)); }
.back { position: absolute; top: max(10px, env(safe-area-inset-top)); left: 22px; color: var(--dim); text-decoration: none; font-weight: 700; font-size: 14px; }
.logo { margin: 18px 0 0; font-size: clamp(50px, 14vw, 74px); line-height: .9; font-weight: 800; letter-spacing: .01em; color: #fff; transform: rotate(-3deg); text-shadow: 0 4px 0 #0b5a26, 0 8px 0 #06200e, 0 12px 22px rgba(0, 0, 0, .45); }
.logo span { color: var(--gold); text-shadow: 0 4px 0 #a3650a, 0 8px 0 #06200e, 0 12px 22px rgba(0, 0, 0, .45); }
.tagline { margin: 4px 0; color: var(--dim); font-weight: 700; font-size: 17px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.lbtop { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-right: 40px; } .lbtop .btn.xs { width: auto; padding: 0 12px; white-space: nowrap; }
.lbjoin { display: flex; gap: 6px; } .lbjoin input { width: 112px; min-height: 36px; padding: 4px 8px; font-size: 15px; letter-spacing: .12em; text-align: center; }
.joinrow { display: grid; grid-template-columns: 1fr 100px; gap: 9px; margin-top: 2px; }
input { min-height: 44px; padding: 3px 14px 0; border-radius: 14px; border: 2px solid var(--line); background: rgba(0, 0, 0, .3); font-weight: 800; font-size: 17px; user-select: text; -webkit-user-select: text; min-width: 0; width: 100%; }
#code, .codein { text-align: center; letter-spacing: .3em; text-transform: uppercase; } #code::placeholder, .codein::placeholder { letter-spacing: .08em; font-size: 14px; color: #8fb39a; }
#menuMsg { min-height: 20px; margin: 0; text-align: center; color: #ffb3a8; font-weight: 700; font-size: 14.5px; }
.fine { margin: 0; text-align: center; color: #8fb39a; font-size: 13px; } .fine a { color: var(--gold); font-weight: 700; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }

/* krallar: her liderlik kategorisinin birincisi; dokununca tam tablo açılır */
.kings { display: block; width: 100%; padding: 9px 10px 8px; border: 2px solid var(--line); border-radius: 18px; background: rgba(0, 0, 0, .28); color: #fff; font: inherit; text-align: left; cursor: pointer; }
.kings[hidden] { display: none; } .kings:hover { border-color: rgba(255, 210, 63, .55); }
.khead { display: flex; justify-content: space-between; align-items: baseline; padding: 0 3px 5px; } .khead b { color: var(--gold); font-size: 14px; letter-spacing: .05em; } .khead small { color: var(--dim); font-weight: 700; font-size: 12.5px; }
.kgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .kgrid:empty::before { content: 'Yükleniyor…'; grid-column: 1 / -1; color: var(--dim); font-size: 13px; padding: 4px; }
.king { display: block; min-width: 0; padding: 5px 7px 3px; border-radius: 11px; background: rgba(255, 255, 255, .08); line-height: 1.15; }
.king small { display: block; color: var(--dim); font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.king b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .king i { font-style: normal; color: var(--gold); font-weight: 800; font-size: 13px; }
.ltabs .chip { padding: 6px 10px 3px; font-size: 13.5px; }
.lboard { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; text-align: left; }
.lboard li { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: baseline; gap: 8px; padding: 6px 10px 3px; border-radius: 12px; background: rgba(255, 255, 255, .07); }
.lboard em { font-style: normal; font-weight: 800; color: var(--dim); } .lboard b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lboard small { color: var(--dim); font-size: 12px; font-weight: 700; } .lboard i { font-style: normal; font-weight: 800; color: var(--gold); }
.lboard .p1 { background: rgba(255, 210, 63, .2); } .lboard li[class] em { font-size: 0; } .lboard li[class] em::before { font-size: 17px; } .lboard .p1 em::before { content: '🥇'; } .lboard .p2 em::before { content: '🥈'; } .lboard .p3 em::before { content: '🥉'; }

/* maç sonu: maçın adamı kartı ve istatistik tablosu */
.motm { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 12px 8px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 210, 63, .22), rgba(255, 210, 63, .06)); border: 2px solid rgba(255, 210, 63, .55); }
.motm small { color: var(--gold); font-weight: 800; letter-spacing: .08em; font-size: 13px; }
.motm b { font-size: 30px; line-height: 1.05; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .4), 0 0 18px var(--tc, transparent); overflow-wrap: anywhere; }
.motm span { color: var(--dim); font-size: 13.5px; font-weight: 700; }
.mwrap { overflow-x: auto; } .mstats { width: 100%; border-collapse: collapse; font-size: 13.5px; } .mstats th { color: var(--dim); font-size: 12px; font-weight: 800; padding: 2px 4px; }
.mstats td { padding: 4px 4px 2px; border-top: 1px solid var(--line); text-align: center; font-variant-numeric: tabular-nums; } .mstats td:first-child, .mstats th:first-child { text-align: left; max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mstats td i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; } .mstats tr.mo td { color: var(--gold); font-weight: 800; }

/* ---------- maç göstergeleri ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; }
.score { position: absolute; top: max(6px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 3px 6px 0; border-radius: 14px; background: rgba(8, 24, 13, .82); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); font-weight: 800; white-space: nowrap; }
.score b { min-width: 30px; text-align: center; font-size: 25px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.score i { font-style: normal; min-width: 64px; text-align: center; padding: 0 6px; border-radius: 9px; background: rgba(255, 255, 255, .12); font-variant-numeric: tabular-nums; font-size: 16px; }
.score i.gold { background: var(--gold); color: #3a2600; }
.tm { padding: 1px 9px 0; border-radius: 9px; font-size: 13px; letter-spacing: .04em; } .tm.red { background: var(--red); } .tm.blue { background: var(--blue); }
.hbtn { position: absolute; top: max(6px, env(safe-area-inset-top)); right: max(8px, env(safe-area-inset-right)); width: 44px; height: 40px; border: 0; border-radius: 12px; background: rgba(8, 24, 13, .82); font-size: 20px; font-weight: 800; pointer-events: auto; cursor: pointer; }
.hbtn.chat { right: calc(max(8px, env(safe-area-inset-right)) + 52px); }
.fsbtn[hidden] { display: none; } .fsbtn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; } .fsbtn .i2, .fsbtn.on .i1 { display: none; } .fsbtn.on .i2 { display: inline; }
.hbtn.hfs { right: auto; left: max(8px, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: center; }
.mfs { position: absolute; top: max(6px, env(safe-area-inset-top)); right: 16px; display: flex; align-items: center; gap: 6px; height: 34px; padding: 2px 11px 0; border: 2px solid var(--line); border-radius: 11px; background: rgba(0, 0, 0, .25); color: var(--dim); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; } .mfs svg { width: 17px; height: 17px; stroke: var(--dim); }
#big { position: absolute; top: 26%; left: 0; right: 0; text-align: center; pointer-events: none; }
#big div { display: inline-block; padding: 6px 28px 2px; border-radius: 22px; font-weight: 800; font-size: clamp(40px, 11vw, 84px); line-height: 1; text-shadow: 0 5px 0 rgba(0, 0, 0, .35); animation: big 2.6s forwards; }
#big small { display: block; font-size: .3em; margin-top: 4px; text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
#big .gbig { display: inline-flex; flex-direction: column; align-items: center; max-width: 96vw; padding: 8px 24px 6px; background: rgba(0, 0, 0, .38); }
#big .gbig em { font-style: normal; font-size: .42em; letter-spacing: .08em; }
#big .gname { color: #fff; font-size: 1.05em; line-height: 1; white-space: nowrap; text-shadow: 0 5px 0 rgba(0, 0, 0, .45), 0 0 28px var(--tc, transparent); }
#big .gbig small { margin-top: 6px; font-size: .32em; color: #fff; } #big .gbig small b { color: var(--gold); }
@keyframes big { 0% { transform: scale(.3) rotate(-8deg); opacity: 0; } 10% { transform: scale(1.15) rotate(2deg); opacity: 1; } 18% { transform: scale(1) rotate(0); } 82% { opacity: 1; } 100% { opacity: 0; transform: translateY(-20px); } }
#toast { position: absolute; top: 64px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; }
#toast div { padding: 3px 16px 0; border-radius: 13px; background: rgba(8, 24, 13, .85); font-weight: 800; font-size: 16px; animation: toast 2.4s forwards; }
@keyframes toast { 0% { transform: scale(.6); opacity: 0; } 10% { transform: scale(1.06); opacity: 1; } 16% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }
#chatLog { position: absolute; left: max(10px, env(safe-area-inset-left)); bottom: max(54px, calc(env(safe-area-inset-bottom) + 48px)); width: min(420px, 70vw); display: flex; flex-direction: column; gap: 3px; font-size: 14.5px; font-weight: 700; }
#chatLog div { align-self: flex-start; max-width: 100%; padding: 2px 10px 0; border-radius: 9px; background: rgba(8, 24, 13, .7); animation: fade 9s forwards; overflow-wrap: anywhere; }
#chatLog div b { margin-right: 4px; } #chatLog div.sys { color: var(--dim); font-weight: 600; font-style: italic; }
@keyframes fade { 85% { opacity: 1; } 100% { opacity: 0; } }
#chatForm { position: absolute; left: max(10px, env(safe-area-inset-left)); bottom: max(10px, env(safe-area-inset-bottom)); width: min(420px, calc(100vw - 20px)); pointer-events: auto; }
#chatForm input { min-height: 40px; font-size: 15px; background: rgba(8, 24, 13, .9); }
#keysHint { position: absolute; bottom: max(8px, env(safe-area-inset-bottom)); left: 0; right: 0; margin: 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .7); text-shadow: 0 1px 2px #000; animation: fade 12s forwards; }
#keysHint b { color: #fff; }

/* dokunmatik kontroller: sol yarı çubuk, sağ yarı şut */
#touch { position: absolute; inset: 0; z-index: 1; pointer-events: auto; touch-action: none; }
.hbtn, #chatForm, .score { z-index: 3; }
#stick { position: absolute; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 3px solid rgba(255, 255, 255, .3); left: 90px; top: calc(100% - 110px); opacity: .55; transition: opacity .15s; }
#stick.on { opacity: 1; }
#stick i { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 3px 8px rgba(0, 0, 0, .4); }
#kickBtn { position: absolute; right: max(26px, env(safe-area-inset-right)); bottom: max(30px, env(safe-area-inset-bottom)); width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; padding-top: 4px; background: rgba(255, 255, 255, .2); border: 4px solid rgba(255, 255, 255, .55); font-weight: 800; font-size: 22px; letter-spacing: .04em; pointer-events: none; }
#kickBtn.on { background: rgba(255, 255, 255, .85); color: #0b2a15; transform: scale(.94); }

#net { position: fixed; left: 50%; top: 60px; transform: translateX(-50%); padding: 6px 16px 3px; border-radius: 12px; background: var(--red); font-weight: 800; z-index: 50; }

/* ---------- pencereler ---------- */
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 12px; background: rgba(5, 16, 9, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); touch-action: pan-y; }
.box { position: relative; width: min(460px, 100%); max-height: 100%; overflow-y: auto; padding: 20px 18px 18px; border-radius: 26px; background: var(--card); border: 2px solid var(--line); box-shadow: 0 24px 70px rgba(0, 0, 0, .55); text-align: center; display: flex; flex-direction: column; gap: 10px; animation: pop .3s cubic-bezier(.2, 1.5, .4, 1); }
.box.wide { width: min(760px, 100%); }
.box > * { flex-shrink: 0; }
.box h2 { margin: 0; font-size: 30px; font-weight: 800; line-height: 1; color: var(--gold); text-shadow: 0 3px 0 #a3650a; } .box h2.lose { color: #f47c80; text-shadow: 0 3px 0 #8c1d22; }
.box h3 { margin: 4px 0 0; font-size: 14px; color: var(--dim); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; text-align: left; }
.box p { margin: 0; } .box .dim { color: var(--dim); font-size: 14.5px; } .box a { color: var(--gold); font-weight: 800; }
.x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 12px; background: none; color: var(--dim); font-size: 22px; cursor: pointer; z-index: 2; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { flex: 1 0 auto; min-width: 58px; padding: 6px 8px 3px; border-radius: 13px; border: 2px solid transparent; background: rgba(255, 255, 255, .09); text-align: center; cursor: pointer; line-height: 1.15; font-weight: 800; font-size: 14.5px; }
.chip small { display: block; font-size: 11.5px; color: var(--dim); font-weight: 700; }
.chip.on { border-color: var(--gold); background: rgba(255, 210, 63, .18); }
.chip[disabled] { cursor: default; opacity: .75; } .chip[disabled]:not(.on) { opacity: .4; }
.tog { display: flex; align-items: center; justify-content: center; gap: 6px; }
.tog::before { content: ''; width: 16px; height: 16px; border-radius: 5px; border: 2px solid rgba(255, 255, 255, .5); } .tog.on::before { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 2px #133; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .stats.four { grid-template-columns: repeat(4, 1fr); }
.stats div { padding: 8px 4px 5px; border-radius: 16px; background: rgba(255, 255, 255, .09); line-height: 1.15; } .stats small { display: block; color: var(--dim); font-size: 12.5px; font-weight: 700; } .stats b { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bigscore { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 44px; font-weight: 800; line-height: 1; } .bigscore span { font-size: 15px; padding: 2px 10px 0; border-radius: 10px; } .bigscore .r { background: var(--red); } .bigscore .b { background: var(--blue); }
.say { font-size: 17px; font-weight: 700; line-height: 1.3; } .say b { color: var(--gold); }
.codebig { font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: .12em; color: var(--gold); text-shadow: 0 4px 0 #a3650a; user-select: all; -webkit-user-select: all; padding-left: .12em; }
.share3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.note { padding: 8px 12px 6px; border-radius: 14px; background: rgba(255, 255, 255, .07); font-size: 14px; color: var(--dim); }
.how { text-align: left; margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; } .how b { color: var(--gold); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 13px; font-weight: 800; } .badges span { padding: 2px 10px 0; border-radius: 9px; background: rgba(255, 255, 255, .1); }
.field2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; } .field2 label, .lbl { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 800; color: var(--dim); text-align: left; }
/* oda: takımlar */
.teams { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 8px; text-align: left; }
.col { display: flex; flex-direction: column; gap: 5px; padding: 8px; border-radius: 16px; background: rgba(255, 255, 255, .06); min-width: 0; }
.col.t1 { box-shadow: inset 0 3px 0 var(--red); } .col.t2 { box-shadow: inset 0 3px 0 var(--blue); } .col.t0 { box-shadow: inset 0 3px 0 #9aa4b2; }
.col > b { font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.pp { display: flex; align-items: center; gap: 4px; padding: 4px 6px 2px 9px; border-radius: 11px; background: rgba(255, 255, 255, .1); font-weight: 800; font-size: 14px; min-height: 34px; }
.pp span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pp.me { background: rgba(255, 210, 63, .2); } .pp.off { opacity: .5; }
.pp button { flex: 0 0 auto; width: 24px; height: 26px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .14); font-size: 12px; cursor: pointer; padding: 0; }
.pp button:hover { background: rgba(255, 255, 255, .28); }
.col .btn.xs { width: 100%; }
.lchat { display: flex; flex-direction: column; gap: 6px; }
.lchat .log { height: 110px; overflow-y: auto; text-align: left; font-size: 14px; padding: 6px 10px; border-radius: 14px; background: rgba(0, 0, 0, .25); user-select: text; -webkit-user-select: text; touch-action: pan-y; }
.lchat .log div { overflow-wrap: anywhere; } .lchat .log .sys { color: var(--dim); font-style: italic; }
.lchat form { display: grid; grid-template-columns: 1fr 80px; gap: 7px; } .lchat input { min-height: 40px; font-size: 15px; }
.rlist { display: flex; flex-direction: column; gap: 6px; max-height: 52vh; overflow-y: auto; touch-action: pan-y; }
.ritem { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 8px 12px 5px; border-radius: 14px; background: rgba(255, 255, 255, .08); text-align: left; cursor: pointer; border: 0; width: 100%; }
.ritem:hover { background: rgba(255, 255, 255, .15); } .ritem b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ritem small { color: var(--dim); font-weight: 700; font-size: 12.5px; } .ritem em { font-style: normal; font-weight: 800; font-size: 15px; white-space: nowrap; }
.sect { display: flex; flex-direction: column; gap: 6px; }
.kit { flex: 0 0 auto; display: block; }
.kitprev { display: flex; flex-direction: column; align-items: center; gap: 2px; } .kitprev b { font-size: 20px; overflow-wrap: anywhere; }
.swatch { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }
.sw { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .55); cursor: pointer; padding: 0; box-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
.sw.on { outline: 3px solid var(--gold); outline-offset: 2px; }
.sw.cust { display: grid; place-items: center; font-size: 16px; background: conic-gradient(#e5484d, #facc15, #22c55e, #3b82f6, #8b5cf6, #e5484d); overflow: hidden; }
.sw.cust input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
.chips.kits .chip { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.kitrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kitbtn { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .1); color: inherit; font: inherit; text-align: left; cursor: pointer; min-width: 0; }
.kitbtn:hover { background: rgba(255, 255, 255, .18); } .kitbtn b { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; } .kitbtn small { color: var(--dim); font-size: 12px; font-weight: 700; }
.col[style*="--tc"] { box-shadow: inset 0 3px 0 var(--tc); } .col > b .kit { margin-right: 6px; } .col > b span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pnum { display: inline-block; min-width: 22px; margin-right: 5px; padding: 1px 4px 0; border-radius: 7px; background: rgba(0, 0, 0, .35); font-style: normal; text-align: center; font-size: 12.5px; }
details.more { text-align: left; } details.more summary { cursor: pointer; font-weight: 800; color: var(--dim); font-size: 14px; padding: 4px 0; }

@media (max-width: 700px) {
  .menu { inset: 0; width: 100%; background: linear-gradient(180deg, rgba(18, 58, 28, .9), rgba(18, 58, 28, .62)); padding-left: max(22px, calc(50% - 200px)); padding-right: max(22px, calc(50% - 200px)); }
  .back { left: max(22px, calc(50% - 200px)); }
  .teams { grid-template-columns: 1fr 1fr; } .col.t0 { grid-column: 1 / -1; order: 3; }
  .tm { display: none; } .score b { font-size: 22px; } #keysHint { display: none; }
}
@media (max-height: 640px) { .menu { justify-content: flex-start; gap: 8px; } .logo { font-size: 44px; margin-top: 22px; } .tagline, .fine { display: none; } .btn.xl { min-height: 54px; font-size: 22px; } .btn { min-height: 44px; } }
@media (max-height: 460px) { #kickBtn { width: 84px; height: 84px; font-size: 18px; } #stick { width: 100px; height: 100px; margin: -50px 0 0 -50px; } #chatLog { display: none; } }
