:root {
  --bg: #0b0c0f; --surface: #101216; --raise: #1b1f26; --line: #262b33; --line2: #343a45;
  --text: #eef0f3; --muted: #a8b0bb; --dim: #8691a0; --faint: #5f6875;
  --accent: #ff5b2e; --ct: #6cb2ff; --t: #f0b232; --good: #3ddc97; --bad: #ff8a8a;
  --cond: "Barlow Condensed", "Bahnschrift SemiBold Condensed", "Bahnschrift", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gutter: 32px; --head: 64px; --gold: #e4ae39; --silver: #c9d1da; --bronze: #c98a5a;
}
@media (max-width: 640px) { :root { --gutter: 16px; } }
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--body); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; padding: 10px 14px; background: var(--text); color: var(--bg); z-index: 70; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); } .dim { color: var(--dim); } .mono { font-family: var(--mono); }
.eyebrow { margin: 0; font-family: var(--cond); font-weight: 600; font-size: 16px; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.h1 { margin: 6px 0 0; font-family: var(--cond); font-weight: 700; font-size: clamp(40px, 4vw, 56px); line-height: .95; text-transform: uppercase; overflow-wrap: anywhere; }
.h2 { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 32px; line-height: 1; text-transform: uppercase; }
.page { padding: 40px 0 72px; display: flex; flex-direction: column; gap: 32px; }
.row { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; justify-content: space-between; }

/* Ortak: mikro etiket, sabit genişlikli rakamlar, bölüm başlığı */
th, .facts dt, .stats dt, .rail h3, .label { font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.label { margin: 0; }
table, .stats dd, .facts dd, .score, .rank, .podium .big, .mono, .code { font-variant-numeric: tabular-nums; }
.sec-h { margin-bottom: 16px; }

/* Üst menü */
.top { border-bottom: 1px solid var(--line); }
.top-in { min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--cond); font-weight: 700; font-size: 28px; letter-spacing: .14em; }
.logo-bg { fill: var(--accent); } .logo-a { fill: none; stroke: var(--bg); stroke-width: 7; }
.menu { display: flex; flex-wrap: wrap; flex: 1 1 auto; gap: 0 4px; }
.menu a { display: inline-flex; align-items: center; min-height: 64px; padding: 0 12px; font-family: var(--cond); font-weight: 600; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.menu a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -3px 0 var(--accent); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.dot.on { background: var(--good); }
#account { display: flex; align-items: center; gap: 8px; }
.avatar { width: 32px; height: 32px; background: var(--raise); border: 1px solid var(--line2); object-fit: cover; flex: none; }
.avatar.lg { width: 112px; height: 112px; }

/* Düğmeler ve alanlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 4px; background: transparent; font-weight: 600; cursor: pointer; }
.btn:hover { border-color: var(--muted); color: var(--text); }
.btn.light { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.big { min-height: 56px; padding: 0 28px; font-family: var(--cond); font-weight: 700; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; }
.btn.primary { background: var(--accent); border: 0; color: var(--bg); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.btn.primary:hover { color: var(--bg); filter: brightness(1.08); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.field.strong { font-size: 16px; font-weight: 600; color: var(--text); }
.input { min-height: 44px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 4px; background: var(--bg); color: var(--text); font-size: 16px; }
textarea.input { padding: 10px 12px; resize: vertical; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--accent); }

/* Sekmeler */
.tabs { display: flex; flex-wrap: wrap; gap: 0 4px; border-bottom: 1px solid var(--line); }
.tab { min-height: 48px; padding: 0 16px; border: 0; background: transparent; color: var(--muted); font-family: var(--cond); font-weight: 600; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.tab[aria-selected="true"] { color: var(--text); box-shadow: inset 0 -3px 0 var(--accent); }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 4px; overflow: hidden; }
.seg button { min-width: 64px; min-height: 44px; padding: 0 16px; border: 0; background: transparent; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.seg [data-team="t"][aria-pressed="true"] { background: var(--t); } .seg [data-team="ct"][aria-pressed="true"] { background: var(--ct); }

/* Tablolar */
.tbl-wrap { position: relative; overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 12px 8px; }
td { padding: 12px 8px; border-top: 1px solid var(--line); }
.num { text-align: right; }
.rank { font-family: var(--cond); font-weight: 700; font-size: 24px; line-height: 1; color: var(--muted); }
.who { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 1px solid currentColor; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.c-good { color: var(--good); } .c-bad { color: var(--bad); } .c-t { color: var(--t); } .c-ct { color: var(--ct); } .c-accent { color: var(--accent); }
.empty { padding: 32px; border: 1px dashed var(--line2); color: var(--muted); text-align: center; }

/* Kartlar: başlık satırı ve kart içi tablolar */
/* :where ile özgüllük düşük: başlıkta .label varsa onun 14px boyutu geçerli olur */
:where(.status-head) :is(h1, h2, h3) { margin: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.card :is(th, td):first-child { padding-left: 20px; }
.card :is(th, td):last-child { padding-right: 20px; }

/* Harita işareti: mapChip() */
.map { display: inline-flex; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.map::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--mc, var(--faint)); transform: rotate(45deg); }
.m-mirage { --mc: #f0c05a; } .m-inferno { --mc: #e8603c; } .m-dust2 { --mc: #c9a36b; } .m-nuke { --mc: #58c7e0; } .m-ancient { --mc: #62c07a; }
.m-anubis { --mc: #b58cf2; } .m-train { --mc: #9aa7b5; } .m-overpass { --mc: #8fd16a; } .m-vertigo { --mc: #f08ab0; } .m-cache { --mc: #7fd6d0; }

/* Yüzde çubuğu: genişlik paint() ile --pct olarak verilir */
.bar { display: inline-block; vertical-align: middle; width: 56px; height: 4px; margin-right: 8px; background: var(--line2); position: relative; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--pct, 0%); background: var(--good); }
.bar.lo::after { background: var(--dim); }
.bar.wide { width: 100%; margin: 0; }
td:has(> .bar) { white-space: nowrap; }  /* çubuk ve oran aynı satırda kalır */

/* Satır listesi */
ul.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 48px; padding: 6px 0; border-bottom: 1px solid var(--line); }

/* Ana sayfa */
.hero { padding: 72px 0 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin: 0; font-family: var(--cond); font-weight: 700; font-size: clamp(56px, 8.4vw, 120px); line-height: .86; text-transform: uppercase; }
.hero p.lead { margin: 0; max-width: 540px; font-size: 20px; color: var(--muted); }
.on-line { display: inline-flex; align-items: center; gap: 8px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.code { font-family: var(--mono); font-size: 15px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.card { border: 1px solid var(--line); background: var(--surface); }
.status { flex: 1 1 420px; min-width: 0; }
.status-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; min-height: 56px; padding: 10px 20px; border-bottom: 1px solid var(--line); font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.status-body { padding: 28px 20px; text-align: center; }
.status-body .label { margin-bottom: 6px; }
.status-map { font-family: var(--cond); font-weight: 700; font-size: 56px; line-height: .95; text-transform: uppercase; }
.status-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.status-foot strong { color: var(--text); }
.slots { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 16px; }
.slots span { width: 18px; height: 8px; background: var(--line2); }
.slots .on { background: var(--good); }
.slots.dense { max-width: 284px; margin-inline: auto; }  /* 16 x 14px + 15 x 4px: her sırada 16 yer */
.slots.dense span { width: 14px; }
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.facts dl { margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.facts div { padding: 22px 0; }
.facts dd { margin: 2px 0 0; font-family: var(--cond); font-weight: 700; font-size: 28px; line-height: 1.1; text-transform: uppercase; }
.section { padding-top: 96px; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--cond); font-weight: 700; font-size: 72px; line-height: .9; color: var(--faint); }
.steps strong { font-size: 22px; font-weight: 600; }
.faq { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 0 48px; }
/* İki bağımsız sütun; alt alta gelince -1px ile çift çizgi oluşmaz */
.faq-col { flex: 1 1 380px; min-width: 0; margin-bottom: -1px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 0; font-size: 19px; font-weight: 600; cursor: pointer; }
.faq p { margin: 0 0 20px; color: var(--muted); }

/* Skin seçici */
.picker { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.rail { flex: 1 1 230px; min-width: 0; position: sticky; top: calc(var(--head) + 16px); max-height: calc(100vh - var(--head) - 32px); overflow-y: auto; border: 1px solid var(--line); background: var(--surface); }
.rail h3 { margin: 0; padding: 12px 14px 6px; }
.slot { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 6px 14px; border: 0; border-top: 1px solid var(--raise); background: transparent; text-align: left; cursor: pointer; }
.slot[aria-pressed="true"] { background: var(--raise); }
.slot[aria-pressed="true"] .slot-name { color: var(--accent); }
.slot-name { font-weight: 600; display: block; }
.slot-skin { font-size: 13px; color: var(--muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot-txt { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.mark { flex: none; width: 8px; height: 8px; background: var(--line2); }
.mark.set { background: var(--accent); }
.grid-area { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.skin { position: relative; display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; content-visibility: auto; contain-intrinsic-size: 160px 160px; }
.skin[aria-pressed="true"] { border-color: var(--accent); }
.skin img, .skin .noimg { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 10px; }
.skin .noimg { display: grid; place-items: center; color: var(--dim); font-size: 13px; }
.skin span.nm { padding: 10px 12px 12px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.skin .ok { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; display: grid; place-items: center; background: var(--accent); }
.detail { flex: 1 1 320px; min-width: 0; position: sticky; top: calc(var(--head) + 16px); max-height: calc(100vh - var(--head) - 32px); overflow-y: auto; }
.detail .pv { display: flex; align-items: center; justify-content: center; height: 190px; padding: 20px; background: var(--bg); }
.detail .pv img { max-width: 100%; max-height: 100%; object-fit: contain; }
.detail .ttl { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-top: 3px solid var(--accent); }
.detail .ttl strong { font-family: var(--cond); font-weight: 700; font-size: 32px; line-height: 1.05; }
.detail form { display: flex; flex-direction: column; gap: 20px; padding: 4px 20px 22px; }
.wear-row { display: flex; justify-content: space-between; align-items: baseline; }
.presets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.presets button { min-height: 44px; border: 1px solid var(--line2); border-radius: 4px; background: transparent; font-weight: 700; font-size: 14px; cursor: pointer; }
.presets button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.check { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-weight: 600; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); }
.note { margin: 0; font-size: 13px; color: var(--dim); }
.login-box { padding: 48px 24px; border: 1px solid var(--line); background: var(--surface); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Sıralama, profil, maçlar */
.podium { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.podium li { display: flex; align-items: center; gap: 20px; padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--line2); background: var(--surface); }
.podium .big { font-family: var(--cond); font-weight: 700; font-size: 96px; line-height: .8; }
.gold { color: var(--gold); } .silver { color: var(--silver); } .bronze { color: var(--bronze); }
.pod-txt { min-width: 0; }
/* Boşluksuz uzun Steam adları kartı taşırmaz, satır sonunda bölünür */
.podium .who { max-width: 100%; }
.podium .who > span:not(.avatar), .mini-mvp .who, .stats.hl .who { min-width: 0; overflow-wrap: anywhere; }
.pod-pts { font-family: var(--cond); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pod-pts strong { font-size: 30px; letter-spacing: .02em; color: var(--text); }
.pod-sub { font-size: 14px; }
#me-row:empty { display: none; }  /* girişsizken boş satır sayfa boşluğunu ikiye katlamasın */
.me { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding: 14px 20px; border: 1px solid var(--line2); background: var(--raise); }
.stats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stats div { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats dd { margin: 6px 0 0; font-family: var(--cond); font-weight: 700; font-size: 44px; line-height: 1; }
.cols { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.cols > .main { flex: 999 1 620px; min-width: 0; }
.cols > .side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.scoreline { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 32px 20px; }
.scoreline .score { display: flex; justify-content: center; align-items: baseline; gap: .16em; font-family: var(--cond); font-weight: 700; font-size: clamp(44px, 10vw, 88px); line-height: .9; white-space: nowrap; }
.team-name { font-family: var(--cond); font-weight: 700; font-size: clamp(20px, 3.6vw, 34px); line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; }
/* Takım tabloları arasındaki çizgi 1px boşluktan görünen zemin: yan yana da alt alta da ayrılırlar */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 1px; border-top: 1px solid var(--line); background: var(--line); }
.rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 820px; }
.cols .rules { max-width: none; }
.rules li { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rules .n { flex: none; width: 64px; font-family: var(--cond); font-weight: 700; font-size: 48px; line-height: .9; color: var(--faint); }
.rules h2 { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
.rules p { margin: 0; color: var(--muted); }

/* Alt bilgi: üç sütun ve taban çizgisi */
.foot { margin-top: 96px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; padding: 48px var(--gutter) 32px; }
.foot-brand { max-width: 460px; }
.foot-brand p { margin: 12px 0 0; font-size: 14px; color: var(--dim); }
.logo.sm { font-size: 22px; gap: 10px; min-height: 0; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; }
.foot-col .label { margin-bottom: 6px; }
.foot-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.foot-col a:hover { color: var(--accent); }
.foot-col p { margin: 0 0 10px; padding-top: 10px; }
.foot-col .code { max-width: 100%; overflow-wrap: anywhere; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
@media (max-width: 760px) {
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 2 * var(--gutter)); padding: 12px 18px; background: var(--text); color: var(--bg); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.show { opacity: 1; }
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { transition: none !important; } }

/* ---------- Cila: düzen aynı, ayrıntılar zenginleşti ---------- */
::selection { background: var(--accent); color: var(--bg); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 12, 15, .86); backdrop-filter: blur(10px); transition: box-shadow .2s, border-color .2s; }
.top.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .45); border-bottom-color: var(--line2); }
.menu a { position: relative; transition: color .15s; }
.menu a:hover { color: var(--text); }
.menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.menu a:hover::after { transform: scaleX(1); }
.menu a[aria-current="page"]::after { display: none; }
.chip { transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--line2); color: var(--text); }
.dot.on { box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

.btn { transition: border-color .15s, background-color .15s, color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn.light:hover { background: #fff; color: var(--bg); }
.btn.primary { position: relative; }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%); transform: translateX(-100%); transition: transform .5s; }
.btn.primary:hover::after { transform: translateX(100%); }

/* Ana sayfa: ince ızgara zemin ve köşe işaretleri */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero::after { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; pointer-events: none; background: radial-gradient(560px 320px at 18% 40%, rgba(255, 91, 46, .09), transparent 70%); }
.hero h1 { text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
.eyebrow::before { content: ""; display: inline-block; width: 20px; height: 2px; margin-right: 10px; vertical-align: middle; background: currentColor; }
.status { position: relative; border-top: 3px solid var(--accent); }
.status::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 14px; height: 14px; background: linear-gradient(135deg, transparent 50%, var(--accent) 50%); }
.status-map { font-size: 64px; letter-spacing: .04em; }
.facts div { position: relative; padding-left: 16px; }
.facts div::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 2px; background: var(--line2); }
.steps li { transition: background-color .2s; }
.steps li:hover .n { color: var(--accent); }
.steps .n { transition: color .2s; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; align-self: flex-start; font-family: var(--cond); font-size: 28px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }

/* Tablolar */
tbody tr { transition: background-color .12s; }
tbody tr:hover { background: var(--surface); }
/* Giriş yapan oyuncunun satırı; üzerine gelince de belli kalır */
tr.is-me, tr.is-me:hover { background: rgba(255, 91, 46, .07); box-shadow: inset 3px 0 0 var(--accent); }
tbody tr:nth-child(1) .rank { color: var(--gold); }
tbody tr:nth-child(2) .rank { color: var(--silver); }
tbody tr:nth-child(3) .rank { color: var(--bronze); }
.who:hover { color: var(--accent); }

/* Skin seçici */
.rail, .detail { scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.slot { transition: background-color .12s; }
.slot:hover { background: var(--surface); }
.slot[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--accent); }
.skin { transition: border-color .15s, transform .15s, background-color .15s; overflow: hidden; }
.skin:hover { border-color: var(--line2); background: #13161b; transform: translateY(-2px); }
.skin img { transition: transform .25s; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.skin:hover img { transform: scale(1.06); }
.skin[aria-pressed="true"] { background: #17120f; box-shadow: inset 0 -3px 0 var(--accent); }
.skin::before { content: ""; position: absolute; inset: 0 0 auto; height: 60%; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent); }
.detail .pv { position: relative; background-image: radial-gradient(circle at 50% 55%, #1a1d23 0, var(--bg) 70%); }
.detail .pv img { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); }
.presets button { transition: background-color .12s, border-color .12s; }
.presets button:hover { border-color: var(--muted); }
input[type="range"] { height: 28px; }
.input { transition: border-color .15s; }
.input:hover { border-color: #4a515d; }
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(255, 91, 46, .18); }

/* Sıralama, profil, maç */
.podium li { position: relative; transition: border-color .15s; }
.podium li.p1 { border-color: #5a4a1f; background: linear-gradient(180deg, rgba(228, 174, 57, .06), transparent 70%), var(--surface); }
.podium li:hover { border-color: var(--line2); }
/* Kürsü üst çizgisi madalya renginde (üzerine gelince de kalır) */
.podium li.p1 { border-top-color: var(--gold); } .podium li.p2 { border-top-color: var(--silver); } .podium li.p3 { border-top-color: var(--bronze); }
.stats div { transition: background-color .15s; }
.stats div:hover { background: var(--surface); }
.stats dd { letter-spacing: .02em; }
.scoreline .score { letter-spacing: .02em; }
.card { box-shadow: 0 1px 0 rgba(255, 255, 255, .02) inset; }
.rules li:hover .n { color: var(--accent); }
.rules .n { transition: color .2s; }
.toast { border-left: 4px solid var(--accent); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
@media (prefers-reduced-motion: reduce) { .dot.on { animation: none; } .skin:hover, .skin:hover img { transform: none; } }

/* Baş harfli avatar: sakin zemin, renk harfte ve alt çizgide */
.avatar.ini { display: inline-grid; place-items: center; font-family: var(--cond); font-weight: 700; font-size: 17px; background: var(--raise); background: color-mix(in srgb, var(--av) 18%, var(--raise)); color: var(--av); box-shadow: inset 0 -2px 0 var(--av); border: 0; }
.avatar.lg.ini { font-size: 56px; }
.av0 { --av: #ff5b2e; } .av1 { --av: #f0b232; } .av2 { --av: #6cb2ff; } .av3 { --av: #3ddc97; }
.av4 { --av: #c98aff; } .av5 { --av: #ff8a8a; } .av6 { --av: #7fd6d0; } .av7 { --av: #c9d1da; }

/* Ana sayfa skin vitrini */
.showcase { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.show-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.show-text p { margin: 0; font-size: 18px; }
.show-cards { flex: 999 1 520px; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .show-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
a.skin { color: var(--text); }
a.skin:hover { color: var(--text); }

/* Kapalı sunucu kartı */
.status-body.off { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.status-body.off .status-map { font-size: 44px; color: var(--muted); }
.status-body.off p { margin: 0; max-width: 320px; }
.pool { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pool li { padding: 4px 10px; border: 1px solid var(--line2); font-size: 15px; color: var(--muted); }

/* Ana sayfa: haftanın en iyileri ve son maç kartı */
.cols.end { align-items: flex-end; }
#top5 { margin-top: 20px; }
.mini-body { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.mini-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.mini-score .t { font-family: var(--cond); font-weight: 700; font-size: 20px; text-transform: uppercase; overflow-wrap: anywhere; }
.mini-score .right { text-align: right; }
.mini-score .score { display: flex; gap: .15em; font-family: var(--cond); font-size: 48px; line-height: 1; }
.score .sep { color: var(--faint); }
.mini-mvp { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }

/* Oyuncu profili: konum satırı, form şeridi, donanım ve harita listesi */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.form-strip { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; }
.form-strip .label { margin-right: 6px; }
.form-strip i { width: 10px; height: 18px; background: var(--bad); }
.form-strip i.w { background: var(--good); }
.cards.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.maps li { display: grid; grid-template-columns: minmax(104px, auto) 1fr auto; }
/* Satırlar ayrı ızgara: oran sütunu sabit genişlikte ki çubuklar aynı yerde bitsin */
.maps li > :last-child { min-width: 88px; text-align: right; }
.maps + .note { margin-top: 10px; }
/* Son maçlar tablosu telefonda sarmaz, yana kayar */
.games td { white-space: nowrap; }

/* Skor tablosu: maçlar ve maç sayfası */
/* min-width: auto kalır: sütun "Kazandı" etiketinden dar olamaz, orta sütun telefonda sarar */
.sl-team { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sl-team.right { align-items: flex-end; text-align: right; }
.sl-team.lose .team-name { color: var(--muted); }
.sl-mid { text-align: center; }
.sl-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; margin-top: 12px; font-size: 14px; }
.team-tbl { min-width: 0; overflow-x: auto; background: var(--surface); }
caption { caption-side: top; text-align: left; padding: 16px 20px 4px; }
.cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
abbr[title] { text-decoration: none; cursor: help; }
.status-head .btn { font-family: var(--body); font-size: 16px; letter-spacing: normal; text-transform: none; }  /* "Demo indir" diğer düğmeler gibi */
/* Dar ekranda asist ve HS% gizlenir, son görünen sütun kart kenarına hizalanır; skor altı bilgisi alt alta dizilir */
@media (max-width: 560px) {
  .c-opt { display: none; }
  .card :is(th, td):has(+ .c-opt:last-child) { padding-right: 20px; }
  .scoreline { gap: 12px; }
  .sl-meta { flex-direction: column; gap: 4px; }
}
.stats.hl { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stats dd.by { margin: 6px 0 0; font: 15px/1.5 var(--body); letter-spacing: normal; }
.stats.hl .who { min-height: 32px; font-size: 15px; }

/* Maçlar: filtre, liste satırı */
.filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 16px; }
#mcount { display: inline-flex; align-items: center; min-height: 44px; }
.res { display: inline-flex; align-items: baseline; gap: 10px; }
.res .sc { min-width: 72px; text-align: center; font-family: var(--cond); font-size: 22px; letter-spacing: .04em; }

/* Yasaklar: bildirim formu */
.form { display: flex; flex-direction: column; gap: 16px; padding: 24px 20px; border-top: 3px solid var(--accent); }
.form > p, .form > .h2 { margin: 0; }
.form .btn { align-self: flex-start; }
.note.c-bad { color: var(--bad); }
#bans td:nth-child(3), #bans td:last-child { white-space: nowrap; }  /* süre ve "Maç #3" telefonda bölünmesin; tarih orada gizli (c-opt) */

/* Kurallar: yan kart */
.callout { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 20px; border-top: 3px solid var(--accent); }
.callout p { margin: 0; }
@media (min-width: 1101px) { .rules + .side { position: sticky; top: calc(var(--head) + 24px); } }

/* Telefon: menü tek satır, yana kayar */
@media (max-width: 760px) {
  .top-in { gap: 0 12px; justify-content: space-between; }
  .menu { order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 4px; border-top: 1px solid var(--line); }
  .menu::-webkit-scrollbar { display: none; }
  .menu a { min-height: 48px; flex: none; font-size: 17px; }
  #server-chip { display: none; }
  #account .who span:not(.avatar) { display: none; }
  #account .btn { min-height: 44px; padding: 0 12px; }
  #account.has-dev .xs-hide { display: none; }
  #account.has-dev .xs-cap { text-transform: capitalize; }
  .hero { padding: 40px 0 48px; gap: 32px; }
  .section { padding-top: 64px; }
  .status-map { font-size: 44px; }
}

/* Yükleniyor, 404, ekran okuyucu metni */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.loading { display: flex; gap: 8px; justify-content: center; padding: 80px 0; }
.loading span:not(.sr) { width: 10px; height: 10px; background: var(--accent); animation: blink 1s infinite; }
.loading span:nth-child(2) { animation-delay: .15s; } .loading span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.nf { align-items: flex-start; padding: 96px 0; }
.nf .h1 { font-size: clamp(56px, 8vw, 104px); }
.tag.sm { min-height: 20px; padding: 0 6px; font-size: 12px; margin-left: 6px; }

/* Sayfa girişi: #main'in doğrudan çocukları yumuşakça belirir */
/* backwards: bitince dönüşüm kalmaz (both kimlik matrisini bırakır), skin seçicinin position: fixed alt sayfası görünen alana göre konumlanır */
#main > :not(.is-loading) { animation: enter .24s ease-out backwards; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #main > :not(.is-loading) { animation: none; } }

/* Skin seçici: kayıtlı etiketi, ipucu, telefon seçim kutusu, alt sayfa */
.skin .saved { position: absolute; top: 8px; left: 8px; margin: 0; background: var(--bg); color: var(--good); }
.detail .unsaved { margin-left: 0; align-self: flex-start; margin-top: 6px; }
.detail .simple { padding: 0 20px 20px; }
.slot-pick { display: none; }
#open-sheet { display: none; margin-left: auto; }
.sheet-bar, .sheet-bg { display: none; }
.teaser { padding-top: 48px; }
.teaser .skin { cursor: default; }
.teaser .skin:hover, .teaser .skin:hover img { transform: none; }
@media (max-width: 1100px) {
  #open-sheet:not([hidden]) { display: inline-flex; }
  .detail { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 40; width: min(560px, 100%); margin: 0 auto; max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 -20px 60px rgba(0, 0, 0, .6); transform: translateY(104%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  .detail.open { transform: none; visibility: visible; transition: transform .25s ease; }
  .sheet-bg { display: block; position: fixed; inset: 0; z-index: 39; background: rgba(5, 6, 8, .66); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .sheet-bg.open { opacity: 1; pointer-events: auto; }
  .sheet-bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 8px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .detail .pv { height: 150px; }
  html.sheet-open { overflow: hidden; }
}
@media (max-width: 760px) {
  .slot-pick { display: flex; flex: 1 1 100%; }
  .rail { display: none; }
  .grid-area > .row > .field { flex: 1 1 100%; }  /* arama tam satır; altında sayaç ve Ayarlar */
  #cnt { align-self: center; }
}

/* ---------- Özel istatistikler ve ödüller ---------- */
.aw-ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.aw-ic .f { fill: currentColor; stroke: none; }
/* Ödül kartları: sıralama ve ana sayfa; uzun ad kartı genişletmez */
.awards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.award { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color .15s; }
.award:hover { border-color: var(--line2); }
.aw-head { display: flex; align-items: center; gap: 10px; color: var(--accent); }
.aw-head .label { color: var(--muted); }
button.aw-head { padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }  /* yalnızca imleç ve odak halkası */
.aw-val { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.aw-val strong { font-family: var(--cond); font-weight: 700; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.aw-val span { font-size: 14px; color: var(--muted); }
.award .who { min-height: 40px; min-width: 0; max-width: 100%; }
.aw-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-rest { font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }  /* boşluksuz uzun ad da kartın içinde bölünür */
.award.none strong { color: var(--faint); }
@media (max-width: 760px) {
  .awards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .award:last-child:nth-child(odd) { grid-column: 1 / -1; }  /* satırda tek kalan kart iki sütunu kaplar */
}
/* Sıralama: başlık satırında boşluk satırın altında, alt yazı başlıkla aynı taban çizgisinde; altta kategori sıralaması */
.row:has(> .sec-h) { align-items: baseline; margin-bottom: 16px; }
.row > .sec-h { margin-bottom: 0; }
#enler > .row { margin-top: 40px; }
#kat { margin-top: 16px; }
#kat .tbl-wrap { border-top: 0; }  /* üst çizgi sekmelerin alt çizgisi; iki paralel çizgi olmasın */
/* Ana sayfa */
#enler-kart { margin-top: 20px; }
/* Profil: dokuz kutu; birim ve "Sunucu lideri" de dd (dl içinde geçerli yapı) */
/* auto-fit 150px masaüstünde 8+1 bölüyordu: 3x3, telefonda iki sütun ve tek kalan kutu iki sütunu kaplar */
.stats.sp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .stats.sp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats.sp div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.stats.sp div { display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.stats.sp dt { display: flex; align-items: center; gap: 8px; }
.stats.sp dt .aw-ic { width: 18px; height: 18px; color: var(--accent); }
.stats.sp dd { margin: 2px 0 0; font-size: 32px; }
.stats.sp dd.dim { margin: 0; font: 13px/1.4 var(--body); letter-spacing: normal; }
.stats.sp dd.lead { margin: 4px 0 0; align-self: flex-start; font-size: 12px; letter-spacing: .1em; }
/* Skor tablosu: Ace / Clutch rozeti sakin renkte, MVP tek vurgulu etiket */
.ach { color: var(--muted); }
/* Dar ekranda ad hücresi sarar (rozetler alt satıra iner), tablo kartı taşmaz; rozet kendi içinde bölünmez */
.team-tbl .who { flex-wrap: wrap; gap: 4px 12px; }
.team-tbl .tag { white-space: nowrap; margin-left: 0; }  /* aralık .who boşluğundan; alt satıra inen rozet avatarla hizalı */

/* ---------- Yönetim: anticheat şüphelileri ---------- */
.ac-lead { margin: 12px 0 0; }
.ac-body { display: flex; flex-direction: column; gap: 32px; }
.ac .tag.sm { margin-left: 0; white-space: nowrap; }  /* aralık .ac-tags boşluğundan */
.ac-who { display: inline-flex; align-items: center; gap: 0 16px; white-space: nowrap; }
.ac-steam { font-size: 13px; letter-spacing: .04em; }
.ac-tags { display: flex; flex-wrap: wrap; gap: 4px; }
/* Şüphe çubuğu: 6 puan dolu; 3'ün altı sarı, üstü kırmızı */
.ac-bar { width: 96px; }
.ac-bar::after { background: var(--bad); }
.ac-bar.mid::after { background: var(--t); }
.ac-time, .ac-type { white-space: nowrap; }
.ac-detail { min-width: 240px; font-size: 14px; }
/* Telefonda iki sütunlu kutularda "7 sa önce" tek satıra sığsın */
@media (max-width: 560px) { .stats dd.ac-ago { font-size: 28px; line-height: 44px; } }

/* VIP paketleri */
.vip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.vip { display: flex; flex-direction: column; min-width: 0; }
.vip-one { border-top: 3px solid var(--accent); }
.vip-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 22px 20px 0; }
.vip-body { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 16px 20px 24px; }
.vip-price { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 44px; line-height: 1; overflow-wrap: anywhere; }
.vip-price span { font-family: var(--body); font-weight: 400; font-size: 16px; }
.vip .status-foot .btn { flex: 1; }
.vip-empty { justify-content: center; margin-top: 16px; }

/* Yönetim: sayfalar arası sekmeler ve VIP fiyat düzenleyici */
a.tab { display: inline-flex; align-items: center; text-decoration: none; }
.tab[aria-current="page"] { color: var(--text); box-shadow: inset 0 -3px 0 var(--accent); }
.vip-edit { display: flex; flex-direction: column; gap: 20px; }
.vip-ed .vip-body { gap: 14px; }
.vip-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vip-move .btn { min-height: 36px; padding: 0 10px; }
.vip-contact { max-width: 640px; }

/* Çekilişler */
.gw-prize { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase; color: var(--accent); overflow-wrap: anywhere; }
.gw-note { margin: 0; overflow-wrap: anywhere; }
.gw-meta { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gw-meta dt { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.gw-meta dd { margin: 2px 0 0; font-weight: 600; }
.gw-win { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gw-win li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gw-win .who { min-width: 0; overflow-wrap: anywhere; }
.gw .status-foot { justify-content: flex-start; }
.gw-in { font-weight: 600; }
.vip .status-foot .gw-in ~ .btn { flex: 0 0 auto; margin-left: auto; }  /* "Ayrıl" küçük kalır; Katıl tam genişlik */
.gw-time { white-space: nowrap; }
.gw-acts { margin-top: 8px; flex-wrap: nowrap; }  /* telefonda tablo kaysa da düğmeler ilk sütunda görünür */
.btn.confirm { border-color: var(--bad); color: var(--bad); }
