/* Çıkmış Arşiv — "tuş takımı" teması
   zemin #F2F3F7 · kart #FFFFFF · mürekkep #12131A · ikincil #5F6472
   marka #006A82 / derin #00505F · XP #F9B900 / #D49C00 · doğru #12B76A / #0B8A4F · yanlış #F04438 / #C42B20 */
:root {
  --bg: #f2f3f7; --card: #ffffff; --card-2: #f7f8fb; --line: #e3e5ec; --ink: #12131a; --sub: #5f6472;
  --brand: #006a82; --brand-d: #00505f; --brand-soft: #dff1f5;
  --xp: #f9b900; --xp-d: #d49c00; --xp-soft: #fff4d6;
  --ok: #12b76a; --ok-d: #0b8a4f; --ok-soft: #e3f8ee;
  --bad: #f04438; --bad-d: #c42b20; --bad-soft: #fde9e7;
  --key: #ffffff; --key-d: #d5d8e2;
  --display: "Gabarito", "Onest", system-ui, sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1016; --card: #171a23; --card-2: #1d212c; --line: #2a2f3c; --ink: #eef0f6; --sub: #9aa1b2;
    --brand: #2ba3bd; --brand-d: #1a7a8f; --brand-soft: #12313a;
    --xp-soft: #2d2512; --ok-soft: #10291d; --bad-soft: #2d1513;
    --key: #1f2330; --key-d: #0a0c11; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1016; --card: #171a23; --card-2: #1d212c; --line: #2a2f3c; --ink: #eef0f6; --sub: #9aa1b2;
  --brand: #2ba3bd; --brand-d: #1a7a8f; --brand-soft: #12313a;
  --xp-soft: #2d2512; --ok-soft: #10291d; --bad-soft: #2d1513;
  --key: #1f2330; --key-d: #0a0c11; color-scheme: dark;
}
/* komite renkleri (ilerleme halkaları, etiketler) */
.k1 { --kc: #ef476f; } .k2 { --kc: #8e5cff; } .k3 { --kc: #ff7a1a; } .k4 { --kc: #06b6a4; }
.k5 { --kc: #f2b705; } .k6 { --kc: #2f9bff; } .k7 { --kc: #14b85a; } .k8 { --kc: #b04ad6; } .k0 { --kc: #8a90a0; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--text); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--brand); text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- tuş (signature) ---------- */
.key {
  --kb: var(--key); --kbd: var(--key-d); --kt: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--kb); color: var(--kt); border: 2px solid var(--kbd); border-bottom-width: 5px;
  border-radius: 14px; padding: 10px 16px; font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.1;
  transition: transform .06s, border-bottom-width .06s, filter .12s; text-decoration: none; user-select: none;
}
.key:hover { filter: brightness(1.04); text-decoration: none; }
.key:active:not([disabled]) { transform: translateY(3px); border-bottom-width: 2px; }
.key.primary { --kb: var(--brand); --kbd: var(--brand-d); --kt: #fff; }
.key.gold { --kb: var(--xp); --kbd: var(--xp-d); --kt: #2a1c00; }
.key.green { --kb: var(--ok); --kbd: var(--ok-d); --kt: #fff; }
.key.big { padding: 15px 22px; font-size: 17px; border-radius: 16px; }
.key.small { padding: 7px 12px; font-size: 14px; border-radius: 12px; border-bottom-width: 4px; }
.key.block { width: 100%; }
.key svg { width: 18px; height: 18px; flex: none; }

/* ---------- üst çubuk ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand-logo { width: 30px; height: 33px; display: block; flex: none; }
.donem-pill { border: 2px solid var(--line); background: var(--card); border-radius: 99px; padding: 5px 12px; font-family: var(--display); font-weight: 700; font-size: 14px; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { color: var(--sub); font-weight: 600; font-size: 15px; padding: 8px 10px; border-radius: 10px; }
.nav a:hover { color: var(--ink); background: var(--card); }
.nav a.active { color: var(--brand); }
.chips-top { display: flex; gap: 6px; }
.stat-chip { display: inline-flex; align-items: center; gap: 4px; font-family: var(--display); font-weight: 800; font-size: 15px; padding: 5px 9px; border-radius: 10px; background: var(--card); border: 2px solid var(--line); }
.stat-chip svg { width: 17px; height: 17px; }
.stat-chip.fire { color: #ff6a1a; } .stat-chip.gem { color: var(--xp-d); }
.icon-btn { background: none; border: 0; padding: 7px; border-radius: 10px; color: var(--sub); display: grid; place-items: center; }
.icon-btn:hover { background: var(--card); color: var(--ink); }
@media (max-width: 720px) {
  .topbar { backdrop-filter: none; background: var(--bg); }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; z-index: 40; justify-content: space-around; background: var(--card); border-top: 1px solid var(--line); padding: 6px 4px max(6px, env(safe-area-inset-bottom)); }
  .nav a { display: flex; flex-direction: column; align-items: center; font-size: 12px; padding: 4px 10px; gap: 2px; }
  .nav a svg { width: 22px; height: 22px; }
  body { padding-bottom: 64px; }
  .brand-name { display: none; }
  .topbar-in { gap: 8px; }
  .chips-top { margin-left: auto; }
}
@media (min-width: 721px) { .nav a svg { display: none; } }

.app { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 18px 16px 48px; }
.footer { max-width: 1040px; width: 100%; margin: 0 auto; padding: 22px 16px 32px; color: var(--sub); font-size: 13px; display: grid; gap: 6px; }
.footer-links a { color: var(--sub); text-decoration: underline; }

.card { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); padding: 18px; }
.muted { color: var(--sub); }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--sub); }

/* ---------- ana sayfa ---------- */
.home-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
@media (max-width: 820px) { .home-grid { grid-template-columns: 1fr; } }
.player { display: flex; gap: 18px; align-items: center; }
.level-ring { --p: 0; flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--xp) calc(var(--p) * 1%), var(--line) 0); }
.level-ring > div { width: 74px; height: 74px; border-radius: 50%; background: var(--card); display: grid; place-items: center; text-align: center; line-height: 1; }
.level-ring b { font-family: var(--display); font-size: 24px; display: block; }
.level-ring span { font-size: 11px; color: var(--sub); font-weight: 600; }
.player h1 { font-size: clamp(24px, 4vw, 30px); margin: 0 0 4px; line-height: 1.1; }
.player p { margin: 0; color: var(--sub); }
.goal { margin-top: 16px; }
.goal-top { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.bar { height: 14px; background: var(--card-2); border: 2px solid var(--line); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ok); border-radius: 99px; transition: width .4s; }
.home-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.duel-card { position: relative; overflow: hidden; background: var(--brand); border-color: var(--brand-d); border-bottom-width: 6px; color: #fff; }
.duel-card h2 { font-size: 26px; margin: 0 0 6px; line-height: 1.1; }
.duel-card p { margin: 0 0 16px; opacity: .9; }
.duel-card .vs { position: absolute; right: -10px; top: -18px; font-family: var(--display); font-weight: 800; font-size: 120px; line-height: 1; opacity: .12; pointer-events: none; }
.duel-card .key { --kb: #fff; --kbd: #b9dde6; --kt: var(--brand-d); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 0 12px; }
.sec-head h2 { margin: 0; font-size: 22px; }
.kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.kcard { display: flex; gap: 14px; align-items: center; background: var(--card); border: 2px solid var(--line); border-bottom-width: 5px; border-radius: var(--r); padding: 14px; color: var(--ink); transition: transform .06s, border-color .12s; }
.kcard:hover { border-color: var(--kc); text-decoration: none; }
.kcard:active { transform: translateY(3px); border-bottom-width: 2px; }
.ring { --p: 0; flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--kc) calc(var(--p) * 1%), var(--card-2) 0); }
.ring > span { width: 40px; height: 40px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--kc); }
.kcard b { display: block; font-family: var(--display); font-size: 16px; line-height: 1.2; }
.kcard small { color: var(--sub); font-size: 13px; }
.donem-switch { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.donem-switch .key[aria-pressed="true"] { --kb: var(--ink); --kbd: #000; --kt: var(--bg); }
.donem-switch .key[disabled] { opacity: .55; cursor: not-allowed; }
.soon { font-size: 11px; font-weight: 700; background: var(--xp-soft); color: var(--xp-d); padding: 2px 6px; border-radius: 6px; }

/* ---------- liste ---------- */
.list-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.list-head .ring { width: 46px; height: 46px; } .list-head .ring > span { width: 35px; height: 35px; font-size: 14px; }
.list-head h1 { margin: 0; font-size: clamp(20px, 3.4vw, 26px); line-height: 1.15; }
.list-head .back { color: var(--sub); font-size: 14px; font-weight: 600; }
.controls { display: flex; gap: 8px; align-items: stretch; margin-bottom: 8px; }
.controls input { flex: 1; min-width: 0; }
input[type="search"], select { font: inherit; font-size: 15px; color: var(--ink); background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 10px 14px; width: 100%; }
input:focus, select:focus { outline: none; border-color: var(--brand); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.active-filters button { border: 0; background: var(--brand-soft); color: var(--brand); border-radius: 99px; padding: 5px 11px; font-size: 13px; font-weight: 600; }
.active-filters button::after { content: "  ✕"; font-size: 11px; }
.count { color: var(--sub); font-size: 14px; margin: 6px 0 12px; font-weight: 500; }
.qwrap { max-width: 760px; }

/* filtre çekmecesi */
.scrim { position: fixed; inset: 0; background: rgba(8, 10, 16, .45); z-index: 45; display: none; }
.scrim.open { display: block; }
.filters { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; width: min(390px, 100%); background: var(--bg); padding: 18px 18px max(20px, env(safe-area-inset-bottom)); overflow: auto; transform: translateX(105%); transition: transform .22s ease; }
.filters.open { transform: none; }
.filters h2 { margin: 0 0 8px; font-size: 22px; display: flex; justify-content: space-between; align-items: center; }
.fgroup { padding: 14px 0; border-bottom: 2px dashed var(--line); }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup > label, .flabel { display: block; font-family: var(--display); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 2px solid var(--line); border-bottom-width: 4px; background: var(--card); border-radius: 12px; padding: 6px 12px; font-weight: 600; font-size: 14px; transition: transform .06s; }
.chip:active { transform: translateY(2px); border-bottom-width: 2px; }
.chip.on { background: var(--brand); border-color: var(--brand-d); color: #fff; }

/* ---------- soru kartı ---------- */
.qcard { background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 18px; margin-bottom: 14px; }
.qhead { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; }
.tag { font-size: 12.5px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: var(--card-2); color: var(--sub); }
.tag.k { background: color-mix(in srgb, var(--kc) 15%, transparent); color: var(--kc); }
.tag.rep { background: var(--xp-soft); color: var(--xp-d); }
.tag.rep svg { width: 13px; height: 13px; vertical-align: -2px; }
.qnum { margin-left: auto; color: var(--sub); font-size: 13px; font-weight: 600; }
.qstem { font-size: 17.5px; line-height: 1.55; font-weight: 600; white-space: pre-line; margin: 0 0 16px; }
.qimgs { display: grid; gap: 10px; margin: 0 0 16px; }
.qimgs img { border-radius: 12px; border: 2px solid var(--line); background: #fff; max-height: 420px; width: auto; object-fit: contain; cursor: zoom-in; }
.opts { display: grid; gap: 9px; }
.opt { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; background: var(--key); border: 2px solid var(--key-d); border-bottom-width: 5px; border-radius: 14px; padding: 11px 14px; font-size: 16px; line-height: 1.4; font-weight: 500; transition: transform .06s, border-bottom-width .06s; }
.opt:hover:not([disabled]) { border-color: var(--brand); }
.opt:active:not([disabled]) { transform: translateY(3px); border-bottom-width: 2px; }
.opt .L { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--sub); text-transform: uppercase; }
.opt[disabled] { cursor: default; }
.opt.correct { background: var(--ok-soft); border-color: var(--ok); border-bottom-color: var(--ok-d); }
.opt.correct .L { background: var(--ok); border-color: var(--ok); color: #fff; }
.opt.wrong { background: var(--bad-soft); border-color: var(--bad); border-bottom-color: var(--bad-d); animation: shake .3s; }
.opt.wrong .L { background: var(--bad); border-color: var(--bad); color: #fff; }
.opt.dim { opacity: .5; }
.opt.locked { opacity: .4; border-style: dashed; cursor: not-allowed; }
.opt.locked .L { border-style: dashed; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.qfoot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.star.on { --kb: var(--xp); --kbd: var(--xp-d); --kt: #2a1c00; }
.star.on svg { fill: currentColor; }
.expl { margin-top: 14px; border-radius: 14px; background: var(--card-2); border: 2px solid var(--line); padding: 16px; font-size: 15.5px; line-height: 1.65; }
.expl .ans { font-family: var(--display); font-weight: 800; color: var(--ok-d); margin: 0 0 8px; font-size: 17px; }
:root[data-theme="dark"] .expl .ans { color: var(--ok); }
.expl p { margin: 0 0 8px; } .expl ul { margin: 0 0 8px; padding-left: 20px; } .expl li { margin: 3px 0; }
.expl .src { margin-top: 12px; padding-top: 10px; border-top: 2px dashed var(--line); color: var(--sub); font-size: 14px; display: grid; gap: 3px; }
.expl .src b { color: var(--ink); }
.note { font-size: 14px; background: var(--xp-soft); border-radius: 10px; padding: 9px 12px; margin-bottom: 10px; }
.xp-pop { position: fixed; z-index: 70; pointer-events: none; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--xp-d); animation: pop 0.9s ease-out forwards; }
@keyframes pop { from { opacity: 1; transform: translate(-50%, 0) scale(.8); } 30% { transform: translate(-50%, -14px) scale(1.15); } to { opacity: 0; transform: translate(-50%, -48px) scale(1); } }
.combo { position: fixed; z-index: 60; left: 50%; top: 70px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 99px; font-family: var(--display); font-weight: 800; font-size: 15px; animation: pop 1.4s ease-out forwards; }

.more { display: flex; justify-content: center; margin: 20px 0; }
.empty, .loading { color: var(--sub); padding: 48px 0; text-align: center; }

/* paylaş menüsü */
.menu { position: relative; display: inline-block; }
.menu-pop { position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 20; background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 6px; min-width: 200px; box-shadow: 0 12px 30px rgba(0,0,0,.14); display: none; }
.menu-pop.open { display: grid; }
.menu-pop button { text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.menu-pop button:hover { background: var(--card-2); }
.menu-pop svg { width: 18px; height: 18px; }

/* ---------- kapış ---------- */
.duel { max-width: 640px; margin: 0 auto; }
.duel-hero { text-align: center; padding: 10px 0 18px; }
.duel-hero h1 { font-size: clamp(30px, 6vw, 42px); margin: 0 0 6px; line-height: 1.05; }
.duel-hero p { color: var(--sub); margin: 0; }
.challenge { display: flex; align-items: center; gap: 14px; background: var(--xp-soft); border: 2px solid var(--xp); border-bottom-width: 5px; border-radius: var(--r); padding: 14px; margin-bottom: 16px; }
.challenge b { font-family: var(--display); font-size: 20px; }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; color: #fff; background: var(--brand); border-bottom: 4px solid var(--brand-d); }
.avatar.b { background: #ff7a1a; border-color: #cc5a0b; }
.duel-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.duel-top .bar { flex: 1; } .duel-top .bar i { background: var(--brand); }
.timer { font-family: var(--display); font-weight: 800; font-size: 18px; min-width: 52px; text-align: right; }
.timer.low { color: var(--bad); }
.score-big { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; text-align: center; margin: 20px 0; }
.versus .vs { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--sub); }
.versus .side { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); padding: 16px 10px; }
.versus .side.win { border-color: var(--xp); background: var(--xp-soft); }
.versus .avatar { margin: 0 auto 8px; }
.versus small { color: var(--sub); }
.result-title { font-size: 32px; text-align: center; margin: 6px 0; }

/* ilerleme / metin */
.tally { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 16px 0 22px; }
.tally > div { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); padding: 14px; }
.tally b { display: block; font-family: var(--display); font-size: 28px; }
.tally span { color: var(--sub); font-size: 13px; font-weight: 600; }
.kpi-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.kpi-table td, .kpi-table th { text-align: left; padding: 10px 12px; font-size: 14.5px; }
.kpi-table th { color: var(--sub); font-size: 13px; }
.kpi-table td { background: var(--card); } .kpi-table td:first-child { border-radius: 12px 0 0 12px; } .kpi-table td:last-child { border-radius: 0 12px 12px 0; }
.prose { max-width: 680px; } .prose h1 { font-size: 30px; }

.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(16px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; transition: .18s; z-index: 80; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.86); display: grid; place-items: center; z-index: 90; padding: 16px; cursor: zoom-out; }
.lightbox img { max-height: 92vh; max-width: 96vw; background: #fff; border-radius: 10px; }
.ad-slot { margin: 6px 0 14px; } .ad-slot .ad-label { display: block; font-size: 11px; color: var(--sub); margin-bottom: 4px; }

@media (max-width: 520px) {
  .qcard { padding: 15px; border-radius: 18px; }
  .qstem { font-size: 16.5px; }
  .opt { font-size: 15px; padding: 10px 12px; }
  .home-actions { grid-template-columns: 1fr; }
}

.xopt{font-size:.72em;opacity:.7;border:1px solid currentColor;border-radius:6px;padding:0 .35em;margin-left:.35em;white-space:nowrap}

/* sponsor kartı (sponsor.json) */
.sponsor { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; padding: 12px 14px; background: var(--card); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: var(--r); color: var(--ink); }
.sponsor:hover { border-color: var(--xp); }
.sponsor img { flex: none; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.sp-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sp-body b { font-family: var(--display); font-size: 16px; line-height: 1.25; }
.sp-body small { color: var(--sub); font-size: 13.5px; line-height: 1.35; }
.sp-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--xp-d); }
.sp-btn { flex: none; pointer-events: none; padding: 8px 12px; font-size: 14px; }
@media (max-width: 480px) { .sp-btn { display: none; } }

/* canlı kapış */
.versus.big .side { padding: 22px 10px; }
.versus.big .avatar { width: 64px; height: 64px; font-size: 28px; border-radius: 18px; }
.versus .side.ready { border-color: var(--ok); background: var(--ok-soft); }
.versus .side b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.versus small.off { color: var(--bad); }
.countdown { text-align: center; font-family: var(--display); font-weight: 800; font-size: 96px; line-height: 1; margin: 30px 0; color: var(--brand); }
.duel-score { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.duel-score .ps { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 22px; }
.avatar.sm { width: 34px; height: 34px; font-size: 15px; border-radius: 10px; border-bottom-width: 3px; }
.avatar.xs { width: 24px; height: 24px; font-size: 12px; border-radius: 7px; border-bottom-width: 2px; display: inline-grid; }
.tbar { height: 10px; background: var(--card-2); border: 2px solid var(--line); border-radius: 99px; overflow: hidden; }
.tbar i { display: block; height: 100%; width: 100%; background: var(--brand); border-radius: 99px; transition: width .1s linear; }
.tbar i.low { background: var(--bad); }
.duel-status { min-height: 24px; margin: 8px 0 10px; font-weight: 600; color: var(--sub); text-align: center; font-size: 15px; }
.duel-status.hot { color: var(--bad); animation: shake .3s; }
.duel-status.reveal { color: var(--ink); }
.opt .ot { flex: 1; }
.opt .who { display: flex; gap: 4px; flex: none; }
.opt.picked { border-color: var(--brand); background: var(--brand-soft); }
.opt.picked .L { background: var(--brand); border-color: var(--brand); color: #fff; }
.score-mid { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.1; }
.duel-alert { background: var(--xp-soft); border: 2px solid var(--xp); border-radius: 12px; padding: 8px 12px; margin-bottom: 12px; font-weight: 600; text-align: center; }
.duel-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.duel-table th, .duel-table td { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.duel-table th { color: var(--sub); font-weight: 700; }
.duel-table td.qs { text-align: left; color: var(--sub); }
.duel-table tr:last-child td { border-bottom: 0; }
.duel-table td.ok { color: var(--ok-d); font-weight: 800; }
.duel-table td.no { color: var(--bad); font-weight: 700; }

/* hata bildir penceresi */
.modal-ov { position: fixed; inset: 0; z-index: 95; background: rgba(10,12,18,.55); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal { width: 100%; max-width: 480px; background: var(--card); border: 2px solid var(--line); border-bottom-width: 5px; border-radius: var(--r); padding: 18px; display: grid; gap: 8px; }
.modal h2 { margin: 0; font-size: 20px; }
.modal select, .modal textarea, .modal input[type=email] { width: 100%; font: inherit; color: var(--ink); background: var(--card-2); border: 2px solid var(--line); border-radius: 12px; padding: 9px 11px; }
.modal textarea { resize: vertical; min-height: 110px; }
.modal select:focus, .modal textarea:focus, .modal input:focus { outline: none; border-color: var(--brand); }
.modal .flabel { margin: 6px 0 0; }
.modal .chk { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin-top: 6px; }
.modal .chk input { margin-top: 3px; flex: none; }
.ferr { color: var(--bad); font-size: 14px; font-weight: 600; min-height: 18px; }
.modal-act { display: flex; gap: 10px; justify-content: flex-end; }
.footer .resmi { margin-top: 4px; }
