/* KPSS ve EKPSS sayfalarının ortak stili */
[hidden] { display: none !important; }
/* Yerleşim: üç adımlı akış — solda "Bilgilerin" kartı, sağda büyük "Sonucun" kartı (gösterge + kadro sayısı kaydırıcısı),
   altta sekmeli "Ayrıntılı inceleme". Senin konumun her yerde fosforlu sarıyla işaretlenir. */
:root {
  /* Kelime Türet paleti (kelimeturet.com style.css ile aynı) — site bilinçli olarak tek, koyu mor temadadır */
  --bg: #150F28; --bg-2: #1E1638;
  --surface: #251C43;
  --surface-2: #2C2250;
  --surface-3: #342961;
  --ink: #F5F3FF;
  --muted: #ABA1D6;
  --faint: #746A9C;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --brand: #6C5CE7; --brand-light: #8B7FF0; --brand-dim: #4B3FA8;
  --brand-ink: #FFFFFF;
  --brand-soft: rgba(139, 127, 240, 0.18);
  --brand-text: #C2B9FF;
  --mark: #FFC857; --mark-dim: #C99321; --mark-ink: #2A1B00;
  --mark-soft: rgba(255, 200, 87, 0.24);
  --ok: #3FDDBF; --ok-bg: rgba(63, 221, 191, 0.12); --ok-line: rgba(63, 221, 191, 0.38);
  --warn: #FFC857; --warn-bg: rgba(255, 200, 87, 0.12); --warn-line: rgba(255, 200, 87, 0.4);
  --bad: #FF6B6B; --bad-bg: rgba(255, 107, 107, 0.12); --bad-line: rgba(255, 107, 107, 0.4);
  --none: #746A9C;
  --game: #FFC857; --game-on: #2A1B00; --game-soft: #342961; --game-line: rgba(255, 200, 87, 0.35); --game-text: #FFC857;
  --hero-1: #4B3FA8; --hero-2: #8B7FF0; --hero-glow: rgba(255, 200, 87, 0.28);
  --hero-ink: #FFFFFF; --hero-muted: rgba(255, 255, 255, 0.86); --hero-chip: rgba(21, 15, 40, 0.28); --hero-line: rgba(255, 255, 255, 0.26); --hero-shadow: rgba(10, 6, 26, 0.5);
  --shadow-sm: 0 2px 0 rgba(10, 6, 26, 0.35);
  --shadow: 0 6px 0 rgba(10, 6, 26, 0.32), 0 18px 34px rgba(10, 6, 26, 0.45);
  --f-display: "Baloo 2", system-ui, sans-serif;
  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-code: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r-lg: 24px; --r: 16px; --r-sm: 10px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--f-body);
  padding-inline: max(16px, env(safe-area-inset-left, 0px)); padding-block: 0 56px; }
.wrap { max-width: 1200px; margin-inline: auto; }
a { color: var(--brand-text); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h2 { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.tnum { font-variant-numeric: tabular-nums; }
.code { font-family: var(--f-code); font-size: 0.8rem; color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl { background: linear-gradient(transparent 58%, var(--mark-soft) 58%); padding-inline: 2px; border-radius: 2px; }

/* Üst şerit */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { font-weight: 600; color: var(--brand-text); background: var(--brand-soft); border-radius: 999px; padding: 1px 8px; font-size: 0.75rem; margin-left: 4px; vertical-align: 2px; }
.updated { font-size: 0.82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.updated::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }

/* Giriş bandı: optik form süslemeli mavi pano; "Bilgilerin" kartı panonun altına biner */
.hero { position: relative; overflow: hidden; border-radius: 26px; color: var(--hero-ink);
  background: radial-gradient(90% 120% at 100% 0%, var(--hero-glow), transparent 60%), linear-gradient(135deg, var(--hero-1), var(--hero-2));
  padding: clamp(26px, 4.5vw, 52px) clamp(20px, 4.5vw, 56px) clamp(92px, 10vw, 112px); }
.hero-copy { position: relative; display: grid; gap: 14px; max-width: 640px; }
.hero h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.3rem); line-height: 1.03; font-weight: 800; color: var(--hero-ink); }
.hero h1 em { font-style: normal; color: var(--mark); }
.hero .lead { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem); color: var(--hero-muted); max-width: 56ch; }
.trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--hero-ink); background: var(--hero-chip); border: 1px solid var(--hero-line); border-radius: 999px; padding: 5px 12px 5px 8px; }
.trust svg { width: 16px; height: 16px; color: var(--mark); flex: none; }
.optik { position: absolute; right: clamp(24px, 5vw, 72px); top: 46%; width: 236px; transform: translateY(-50%) rotate(-7deg); filter: drop-shadow(0 18px 30px var(--hero-shadow)); }
.optik text { fill: var(--hero-muted); font-family: var(--f-code); }
@media (max-width: 980px) { .optik { display: none; } }

/* Akış: 1 Bilgilerin → 2 Girebileceğin kadrolar → 3 Atanma ihtimalin → 4 Ayrıntılı inceleme */
.flow { display: flex; flex-direction: column; gap: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.block-head { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.bh-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 14rem; }
.block-head h2 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem); }
.block-head .sub { font-size: 0.9rem; color: var(--muted); }
.step { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1rem; background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 14px -6px var(--brand); }

/* 1 · Bilgilerin */
.search { position: relative; margin: -64px clamp(0px, 2.4vw, 28px) 0; padding: clamp(18px, 2.6vw, 28px); display: flex; flex-direction: column; gap: 20px; }
.search-form { display: grid; gap: 18px 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start;
  grid-template-areas: "lvl bolum" "score kod" "rank kod" "go go"; }
.f-lvl { grid-area: lvl; } .f-score { grid-area: score; } .f-rank { grid-area: rank; } .f-bolum { grid-area: bolum; } .f-kod { grid-area: kod; }
.search-go { grid-area: go; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 18px; }
.search-go .btn { min-width: min(100%, 18rem); }
@media (max-width: 760px) {
  .search { margin: -52px 0 0; }
  .search-form { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lvl" "score" "rank" "bolum" "kod" "go"; }
  .search-go .btn { width: 100%; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .lbl { font-weight: 700; font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.tag { font-family: var(--f-code); font-size: 0.72rem; font-weight: 500; color: var(--brand-text); background: var(--brand-soft); border-radius: 999px; padding: 1px 8px; }
.opt { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.hint { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.hint.err { color: var(--bad); }
input[type="text"], input[type="search"], select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface-2);
  border: 1.5px solid var(--line); border-radius: var(--r); padding: 11px 13px; min-height: 48px; transition: border-color 0.15s, box-shadow 0.15s;
}
input[type="text"]:hover, input[type="search"]:hover, select:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
input[type="text"]:focus, input[type="search"]:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); background: var(--surface); }
.input-xl { font-family: var(--f-display) !important; font-size: 1.6rem !important; font-weight: 700; letter-spacing: 0.01em; min-height: 58px !important; font-variant-numeric: tabular-nums; }
.input-lg { font-size: 1.15rem !important; font-weight: 600; font-variant-numeric: tabular-nums; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r); padding: 5px; }
.seg button { font: inherit; border: 0; background: transparent; color: var(--ink); border-radius: var(--r-sm); padding: 8px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 0; line-height: 1.2; font-weight: 700; font-size: 0.95rem; }
.seg button small { font-family: var(--f-code); font-size: 0.7rem; font-weight: 500; color: var(--muted); }
.seg button:hover { background: var(--surface); }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-sm); }
.seg button[aria-pressed="true"] small { color: var(--brand-ink); opacity: 0.85; }
.seg.seg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg.seg-inline { display: inline-grid; }
.seg.seg-inline button { flex-direction: row; gap: 6px; padding: 7px 14px; font-size: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: inherit; font-size: 0.85rem; font-weight: 600; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 5px 12px; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-text); }
details.more > summary { cursor: pointer; font-weight: 700; font-size: 0.9rem; color: var(--brand-text); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: "+"; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); font-weight: 800; }
details.more[open] > summary::before { content: "−"; }
details.more[open] > summary { margin-bottom: 10px; }
.btn { font: inherit; font-weight: 700; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: var(--r); padding: 10px 16px; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn:hover { border-color: var(--brand); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 18px -10px var(--brand); }
.btn-lg { min-height: 54px; padding-inline: 24px; font-family: var(--f-display); font-size: 1.06rem; }
.btn-primary:hover { filter: brightness(1.07); }
.btn-block { width: 100%; min-height: 52px; font-size: 1.02rem; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--brand-text); font-weight: 700; cursor: pointer; font: inherit; font-weight: 700; }
.btn-link:hover { text-decoration: underline; }

/* 3 · Atanma ihtimalin */
.verdict { padding: clamp(18px, 2.6vw, 26px); display: flex; flex-direction: column; gap: 18px; }
.v-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px 18px; align-items: start; }
@media (max-width: 640px) { .v-controls { grid-template-columns: minmax(0, 1fr); } }
.v-body { display: flex; flex-direction: column; gap: 18px; }
.v-warn { padding: 10px 14px; border-radius: var(--r); background: var(--warn-bg); border: 1px solid var(--warn-line); font-size: 0.92rem; }
.chips-lbl { font-size: 0.8rem; font-weight: 700; color: var(--muted); align-self: center; }
.prob-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 760px) { .prob-grid { grid-template-columns: minmax(0, 1fr); } }
.example-flag { margin-left: auto; font-size: 0.8rem; font-weight: 600; background: var(--mark-soft); color: var(--ink); border-radius: 999px; padding: 3px 10px; }
.verdict-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 24px; align-items: center; }
@media (max-width: 560px) { .verdict-top { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } }
.gauge { width: 220px; max-width: 100%; }
.gauge svg { display: block; width: 100%; height: auto; }
.gauge text { font-family: var(--f-display); }
.verdict-text { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; }
@media (max-width: 560px) { .verdict-text { align-items: center; } }
.verdict-text .sentence { font-size: 1.12rem; line-height: 1.45; }
.verdict-text .sentence b { font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.pill-lg { font-size: 0.95rem; padding: 5px 14px; font-family: var(--f-display); }
.pill.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.pill.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.pill.bad { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); }
.pill.none { background: var(--surface-2); color: var(--none); border-color: var(--line); }
.scenario { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.scen-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.scen-head label { font-weight: 700; font-size: 0.95rem; }
.scen-head output { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--brand); height: 28px; cursor: pointer; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .stats { grid-template-columns: minmax(0, 1fr); } }
.stat { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stat .k { font-size: 0.78rem; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; display: flex; align-items: center; gap: 6px; }
.stat .v { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat .d { font-size: 0.84rem; color: var(--muted); line-height: 1.35; }

/* Açıklama baloncuğu */
details.tip { position: relative; display: inline-block; }
details.tip > summary { list-style: none; cursor: pointer; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; color: var(--brand-text); background: var(--brand-soft); }
details.tip > summary::-webkit-details-marker { display: none; }
details.tip > div { position: absolute; z-index: 20; top: 26px; left: -8px; width: min(300px, 78vw); background: var(--ink); color: var(--bg); font-size: 0.84rem; font-weight: 400; line-height: 1.45; padding: 10px 12px; border-radius: var(--r-sm); box-shadow: var(--shadow); letter-spacing: 0; }

/* Kelime Türet tanıtımı */
.promo { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 18px; align-items: center;
  padding: 16px 20px 16px 16px; background: var(--game-soft); border: 1px solid var(--game-line); border-radius: var(--r-lg); }
.promo-cat img { width: 92px; height: auto; display: block; margin-block: -26px -10px; filter: drop-shadow(0 6px 10px rgba(108, 92, 231, 0.25)); transform-origin: 50% 90%; }
.promo-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.promo-eyebrow { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--game-text); }
.promo h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 8px; }
.promo h2 img { width: 24px; height: 24px; border-radius: 7px; }
.promo p { font-size: 0.92rem; color: var(--muted); max-width: 62ch; }
.promo p strong { color: var(--ink); }
.promo-act { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.tiles { display: flex; gap: 4px; }
.tiles span { width: 26px; height: 29px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 0.95rem; color: var(--game-text); background: var(--surface); border: 1px solid var(--game-line); border-bottom-width: 3px; border-radius: 6px; }
.tiles span:nth-child(odd) { transform: rotate(-3deg); }
.tiles span:nth-child(even) { transform: rotate(2deg) translateY(1px); }
.btn-game { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; white-space: nowrap; background: var(--game); color: var(--game-on); border-radius: var(--r); padding: 11px 18px; min-height: 46px; font-family: var(--f-display); }
.btn-game:hover { filter: brightness(1.08); }
@media (prefers-reduced-motion: no-preference) {
  .promo-cat img, .tiles span { transition: transform 0.35s cubic-bezier(.3, 1.5, .5, 1); }
  .promo:hover .promo-cat img { transform: rotate(-7deg) translateY(-3px); }
  .promo:hover .tiles span { transform: translateY(-2px); }
}
@media (max-width: 760px) {
  .promo { grid-template-columns: auto minmax(0, 1fr); }
  .promo-act { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .promo-cat img { width: 72px; margin-block: -18px -6px; }
}
@media (max-width: 420px) { .tiles { display: none; } .promo-act { justify-content: stretch; } .btn-game { flex: 1; justify-content: center; } }

/* Ayrıntılar */
.details { margin-top: 10px; display: flex; flex-direction: column; gap: 14px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; scrollbar-width: none; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; box-shadow: var(--shadow-sm); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { font: inherit; font-weight: 700; font-size: 0.92rem; color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; white-space: nowrap; }
.tabs button:hover { color: var(--ink); background: var(--surface-2); }
.tabs button[aria-selected="true"] { background: var(--brand); color: var(--brand-ink); }
.panel { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.panel-intro { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: flex-end; }
.panel-intro p { max-width: 68ch; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; min-width: 0; max-width: 100%; }
.toolbar > * { min-width: 0; max-width: 100%; }
.toolbar select { width: auto; min-width: min(13rem, 100%); max-width: 100%; min-height: 42px; padding-block: 8px; }
select { max-width: 100%; text-overflow: ellipsis; }
.field, .form-row .field, .panel-intro > div { min-width: 0; }
.chart-card { padding: 16px 18px 12px; }
.chart-scroll { overflow-x: auto; }
.chart-scroll svg { display: block; }
svg text { fill: var(--muted); font-family: var(--f-body); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.82rem; color: var(--muted); padding-top: 8px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; flex: none; }
.sw.ok { background: var(--ok); } .sw.warn { background: var(--warn); } .sw.bad { background: var(--bad); }
.sw.mark { background: var(--mark); height: 5px; width: 18px; border-radius: 3px; }
.detail { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; font-size: 0.95rem; display: flex; flex-direction: column; gap: 6px; }
.detail-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: center; }

.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.pl-card { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; border-radius: var(--r); box-shadow: var(--shadow-sm); cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
.pl-card:hover { border-color: var(--brand); }
.pl-card.sel { border-color: var(--mark); box-shadow: 0 0 0 3px var(--mark-soft); }
.pl-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.pl-top strong { font-family: var(--f-display); font-size: 1.1rem; }
.pl-top .kind { font-size: 0.84rem; color: var(--muted); display: block; }
.badge { font-size: 0.72rem; font-weight: 700; color: var(--brand-text); background: var(--brand-soft); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.pl-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.pl-nums div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pl-nums dt { font-size: 0.72rem; font-weight: 700; color: var(--muted); }
.pl-nums dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 1.02rem; }
.pl-nums dd small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--muted); }
.bar { position: relative; height: 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--ok); border-radius: 999px; }
.bar i + i { background: var(--warn); border-radius: 0; }
.pl-you { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 0.88rem; }
.more-row { display: flex; justify-content: center; }

.tbl-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
th { background: var(--surface-2); text-align: left; font-weight: 700; font-size: 0.78rem; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
td.r, th.r { text-align: right; }
td.num { font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
tr.group-row td { background: var(--brand-soft); font-weight: 700; }
tr.sel td { background: var(--mark-soft); }
@media (max-width: 720px) {
  table.responsive thead { display: none; }
  table.responsive, table.responsive tbody, table.responsive tr, table.responsive td { display: block; width: 100%; }
  table.responsive tr { border-bottom: 1px solid var(--line); padding: 10px 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 12px; }
  table.responsive td { border: 0; padding: 0; text-align: left !important; }
  table.responsive td::before { content: attr(data-label); display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted); }
  table.responsive td.wide { grid-column: 1 / -1; }
}
.pager { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px; flex-wrap: wrap; border-top: 1px solid var(--line); }

.sect { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; font-size: 0.94rem; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline { list-style: none; margin: 0; padding: 0 18px 12px; }
.timeline li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding-block: 8px; position: relative; }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; background: var(--surface); border: 2.5px solid var(--line); z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 5px; top: 22px; bottom: -8px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--ok); border-color: var(--ok); }
.timeline li.next::before { background: var(--mark); border-color: var(--mark); box-shadow: 0 0 0 4px var(--mark-soft); }
.timeline .when { font-size: 0.82rem; font-weight: 700; color: var(--muted); display: block; }
.timeline li.next .when { color: var(--ink); }
.prose { max-width: 76ch; display: flex; flex-direction: column; gap: 10px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose code, .tpl { font-family: var(--f-code); font-size: 0.8rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.tpl { display: block; padding: 10px 12px; overflow-x: auto; white-space: pre; }
.drop { display: block; border: 2px dashed var(--line); border-radius: var(--r); padding: 22px; text-align: center; color: var(--muted); cursor: pointer; background: var(--surface-2); }
.drop.over { border-color: var(--brand); color: var(--ink); }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.form-row .field { flex: 1 1 9rem; }
.msg { font-size: 0.9rem; padding: 10px 12px; border-radius: var(--r-sm); }
.msg.ok { background: var(--ok-bg); color: var(--ok); } .msg.bad { background: var(--bad-bg); color: var(--bad); }
.callout { padding: 12px 14px; border-radius: var(--r); background: var(--mark-soft); font-size: 0.92rem; }
/* 2 · Girebileceğin kadrolar */
.quick { padding: clamp(18px, 2.6vw, 26px); display: flex; flex-direction: column; gap: 16px; }
.seg-year { grid-template-columns: repeat(3, minmax(4.6rem, auto)); flex: 0 1 auto; }
.seg-year button { padding: 6px 14px; }
@media (max-width: 640px) { .seg-year { flex: 1 1 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qs-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 16px; border-radius: var(--r); background: var(--ok-bg); border: 1px solid var(--ok-line); }
.qs-count { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.qs-count b { font-family: var(--f-display); font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem); line-height: 1; font-weight: 800; color: var(--ok); font-variant-numeric: tabular-nums; }
.qs-count span { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; }
.qs-sum.warn { background: var(--warn-bg); border-color: var(--warn-line); }
.qs-sum.warn .qs-count b { color: var(--warn); }
.qs-extra { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.qs-note { flex-basis: 100%; font-size: 0.85rem; color: var(--muted); }
.qs-note b { color: var(--ink); }
.qs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 12px; }
.qs-item { border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); transition: border-color 0.15s, box-shadow 0.15s; min-width: 0; }
.qs-item:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.qs-item.near { border-style: dashed; border-color: var(--warn-line); }
.qs-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.qs-item .t { font-family: var(--f-display); font-weight: 700; font-size: 1.06rem; line-height: 1.25; min-width: 0; }
.margin { flex: none; font-size: 0.76rem; font-weight: 800; border-radius: 999px; padding: 3px 9px; white-space: nowrap; font-variant-numeric: tabular-nums; border: 1px solid transparent; }
.margin.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.margin.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.qs-item .kurum { font-size: 0.78rem; line-height: 1.4; color: var(--muted); letter-spacing: 0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qs-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 0.82rem; color: var(--muted); }
.qs-meta b { color: var(--ink); font-weight: 700; }
.qs-scores { display: flex; justify-content: space-between; gap: 8px; font-size: 0.86rem; padding: 7px 10px; border-radius: 10px; background: var(--surface-2); }
#search, #quick, #verdict, .field { scroll-margin-top: 16px; }
.panel, #range-chart { scroll-margin-top: 76px; }

/* Boş durumlar: sonuç yoksa büyük, açıklamalı ve önerili */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: clamp(26px, 5vw, 46px) 18px; border: 2px dashed var(--line); border-radius: var(--r-lg); background: var(--surface-2); }
.empty-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.empty.warn .empty-ico { background: var(--warn-bg); color: var(--warn); }
.empty-ico svg { width: 30px; height: 30px; }
.empty-title { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2rem); font-weight: 800; line-height: 1.15; }
.empty-text { color: var(--muted); max-width: 54ch; }
.empty-text b { color: var(--ink); }
.empty-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.empty.compact { padding: 22px 16px; gap: 8px; }
.empty.compact .empty-ico { width: 48px; height: 48px; }
.empty.compact .empty-ico svg { width: 24px; height: 24px; }
.empty.compact .empty-title { font-size: 1.25rem; }
.empty.flat { border: 0; background: transparent; }
.hint.ex { color: var(--ink); background: var(--mark-soft); border-radius: 6px; padding: 3px 8px; align-self: flex-start; }
.docs { margin-top: 4px; }
.chip.doc { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nit-using { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 0.9rem; padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.req-chip.miss { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad); text-decoration: line-through; }
.req { display: flex; flex-wrap: wrap; gap: 4px; }
.req-chip { font-size: 0.75rem; font-weight: 600; border-radius: 6px; padding: 2px 7px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; cursor: help; }
.req-chip.edu { background: var(--brand-soft); border-color: transparent; color: var(--brand-text); white-space: normal; }
.req-chip.cert { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.req-chip.fixed { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad); }
.req-chip.info { background: var(--surface-2); color: var(--muted); }
.req-chip.ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); white-space: normal; }
.nit-row { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 4px 14px; padding-block: 10px; border-top: 1px solid var(--line); }
.nit-row:first-child { border-top: 0; }
.nit-row .share { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.nit-row .share small { display: block; font-family: var(--f-body); font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.nit-row .how { font-size: 0.85rem; color: var(--muted); margin-top: 3px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.guide { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.guide h4 { margin: 0; font-family: var(--f-display); font-size: 0.98rem; display: flex; align-items: center; gap: 8px; }
.guide p { font-size: 0.86rem; color: var(--muted); }
footer { margin-top: 44px; font-size: 0.84rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
@media (prefers-reduced-motion: no-preference) { .fade { animation: fade 0.3s ease-out; } @keyframes fade { from { opacity: 0.35; } to { opacity: 1; } } }

/* Sınav geçişi (KPSS | EKPSS) */
.top-right { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.exam-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.exam-switch a { text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 0.88rem; color: var(--muted); padding: 6px 15px; border-radius: 999px; }
.exam-switch a:hover { color: var(--ink); }
.exam-switch a[aria-current="page"] { background: var(--brand); color: var(--brand-ink); }
/* EKPSS formunda başarı sırası alanı yok */
.search-form.no-rank { grid-template-areas: "lvl bolum" "score kod" "go go"; }
@media (max-width: 760px) { .search-form.no-rank { grid-template-areas: "lvl" "score" "bolum" "kod" "go"; } }

/* Puanın yetmediğinde: kılavuz kılavuz ne kadar eksik olduğu */
.gap-list { margin: 2px 0 0; padding-left: 20px; text-align: left; max-width: 62ch; display: flex; flex-direction: column; gap: 4px; font-size: 0.92rem; color: var(--ink); }
.qs-sum .gap-list { flex-basis: 100%; color: var(--muted); }
.qs-closest { font-family: var(--f-display); font-weight: 700; margin-top: 4px; }

.by { font-size: 0.82rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.by:hover { color: var(--brand-text); text-decoration: underline; }

/* ===================== Kelime Türet görünümü ===================== */
body { background: radial-gradient(ellipse 120% 70% at 50% -10%, #2A2050 0%, var(--bg) 55%) fixed, var(--bg); font-weight: 600; }
h1, h2, h3 { letter-spacing: 0; font-weight: 800; }
p, li, td { font-weight: 600; }
.muted, .hint, .small { font-weight: 600; }
a { color: var(--brand-text); }

/* Logo: "KPSS Atanma" beyaz, "Tahmini" kehribar — oyunun "Kelime Türet" logosu gibi */
.brand { font-weight: 800; font-size: 1.2rem; }
.brand span { color: var(--ink); }
.brand small { background: var(--mark); color: var(--mark-ink); font-weight: 800; }
.brand svg rect { fill: var(--brand); }

/* Giriş şeridi: oyundaki mor degrade logo şeridi, alttan koyu "kalınlık" */
.hero { background: radial-gradient(90% 120% at 100% 0%, var(--hero-glow), transparent 60%), linear-gradient(180deg, var(--hero-2), var(--brand) 55%, var(--hero-1));
  box-shadow: 0 8px 0 var(--brand-dim), 0 24px 44px rgba(10, 6, 26, 0.55); border-radius: 28px; }
.hero h1 { text-shadow: 0 3px 4px rgba(20, 14, 46, 0.35); }
.trust li { font-weight: 700; }

/* Kartlar */
.card { border: 1px solid var(--line); box-shadow: var(--shadow); }
.search { box-shadow: 0 8px 0 rgba(10, 6, 26, 0.4), 0 26px 50px rgba(10, 6, 26, 0.55); }
.step { border-radius: 12px; background: linear-gradient(180deg, #FFDD8A, var(--mark)); color: var(--mark-ink); box-shadow: 0 4px 0 var(--mark-dim); transform: rotate(-4deg); font-size: 1.1rem; }

/* Düğmeler: hap biçimi, alttan gölge, basınca çökme */
.btn { border-radius: 999px; font-family: var(--f-display); font-weight: 700; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
  box-shadow: 0 4px 0 var(--surface-3); transition: transform 0.15s, box-shadow 0.15s, filter 0.15s; }
.btn:hover { border-color: var(--line-strong); filter: brightness(1.08); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--surface-3); }
.btn-primary { background: linear-gradient(180deg, var(--brand-light), var(--brand)); border: 0; color: #fff; box-shadow: 0 5px 0 var(--brand-dim), 0 14px 26px rgba(108, 92, 231, 0.4); }
.btn-primary:active { box-shadow: 0 2px 0 var(--brand-dim), 0 6px 14px rgba(108, 92, 231, 0.3); }
#qs-go { background: linear-gradient(180deg, #FFDD8A, var(--mark)); color: var(--mark-ink); box-shadow: 0 5px 0 var(--mark-dim), 0 14px 26px rgba(255, 200, 87, 0.35); }
#qs-go:active { box-shadow: 0 2px 0 var(--mark-dim), 0 6px 14px rgba(255, 200, 87, 0.25); }
.btn:disabled { box-shadow: none; }
.btn-link { color: var(--mark); }

/* Girişler: koyu, içe gölgeli hap; odakta kehribar halka */
input[type="text"], input[type="search"], select { background: var(--bg-2); border: 2px solid var(--line); border-radius: 999px; padding: 12px 18px;
  font-weight: 700; box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25); }
input::placeholder { color: var(--faint); font-weight: 600; }
input[type="text"]:hover, input[type="search"]:hover, select:hover { border-color: var(--line-strong); }
input[type="text"]:focus, input[type="search"]:focus, select:focus { border-color: var(--mark); background: var(--surface);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(255, 200, 87, 0.18); }
select { padding-right: 36px; }
.input-xl { font-family: var(--f-display) !important; font-weight: 800; }

/* Seçim grupları ve çipler */
.seg { background: var(--bg-2); border: 2px solid var(--line); border-radius: 18px; }
.seg button { border-radius: 12px; font-family: var(--f-display); font-weight: 700; color: var(--muted); }
.seg button:hover { background: var(--surface-2); color: var(--ink); }
.seg button[aria-pressed="true"] { background: linear-gradient(180deg, var(--brand-light), var(--brand)); color: #fff; box-shadow: 0 3px 0 var(--brand-dim); }
.chip { background: var(--surface); border: 2px solid var(--line); color: var(--muted); font-weight: 800; }
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--ok); color: var(--ink); background: var(--surface-2); box-shadow: 0 0 0 1px var(--ok) inset; }
.tag { background: var(--brand-soft); color: var(--brand-text); }
.exam-switch { background: var(--bg-2); border: 2px solid var(--line); box-shadow: none; }
.exam-switch a[aria-current="page"] { background: linear-gradient(180deg, var(--brand-light), var(--brand)); box-shadow: 0 3px 0 var(--brand-dim); }
.updated::before { box-shadow: 0 0 0 3px var(--ok-bg); }

/* Sekmeler */
.tabs { background: var(--bg-2); border: 2px solid var(--line); box-shadow: 0 4px 0 rgba(10, 6, 26, 0.35); }
.tabs button { font-family: var(--f-display); }
.tabs button[aria-selected="true"] { background: linear-gradient(180deg, var(--brand-light), var(--brand)); color: #fff; box-shadow: 0 3px 0 var(--brand-dim); }

/* Sonuç kartları, rozetler */
.qs-item, .pl-card { background: var(--surface-2); border: 1px solid var(--line); box-shadow: 0 4px 0 rgba(10, 6, 26, 0.3); }
.qs-item:hover, .pl-card:hover { border-color: var(--brand-light); box-shadow: 0 4px 0 rgba(10, 6, 26, 0.3), 0 0 0 1px var(--brand-light); }
.qs-scores { background: var(--bg-2); }
.qs-count b { font-family: var(--f-display); }
.pill.none { background: var(--surface-3); }
.badge { background: var(--brand-soft); color: var(--brand-text); }
.req-chip { background: var(--surface-3); }
.req-chip.edu { background: var(--brand-soft); color: var(--brand-text); }
.scenario, .stat, .nit-using, .guide { background: var(--surface-2); border-color: var(--line); }
th { background: var(--surface-2); color: var(--muted); }
tr.group-row td { background: var(--brand-soft); }
.callout { background: var(--mark-soft); color: var(--ink); }
.empty { background: var(--bg-2); border-color: var(--line-strong); }
.empty.flat { background: transparent; }
.empty-ico { background: var(--brand-soft); color: var(--mark); }
.empty-title { font-family: var(--f-display); }
input[type="range"] { accent-color: var(--mark); }
details.tip > div { background: #F5F3FF; color: #150F28; font-weight: 600; }
.drop { background: var(--bg-2); }

/* Kelime Türet tanıtımı: kehribar çerçeve ve oyunun "Hızlı Başlangıç" düğmesi — sayfanın tek kehribar kartı */
.promo { background: radial-gradient(120% 140% at 0% 0%, rgba(255, 200, 87, 0.16), transparent 55%), linear-gradient(180deg, var(--surface-3), var(--surface));
  border: 2px solid var(--game-line); box-shadow: 0 6px 0 rgba(10, 6, 26, 0.4), 0 20px 40px rgba(10, 6, 26, 0.5); }
.promo-eyebrow { color: var(--mark); }
.promo h2 { color: var(--ink); }
.promo p { color: var(--muted); }
.promo p strong { color: var(--ink); }
.tiles span { background: #F5F3FF; color: #2C2250; border-color: #D9D3FF; border-bottom-color: #B5ACFF; }
.btn-game { background: linear-gradient(180deg, #FFDD8A, var(--mark)); color: var(--mark-ink); box-shadow: 0 5px 0 var(--mark-dim), 0 14px 26px rgba(255, 200, 87, 0.35); border-radius: 999px; }
.btn-game:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--mark-dim); }
footer { border-top-color: var(--line); }
.brand em { font-style: normal; color: var(--mark); }
.qs-scores { flex-wrap: wrap; }
.qs-scores span { white-space: nowrap; }

/* Arama motoru sayfaları (taban puanları, nitelik kodları) */
.seo .flow { margin-top: 8px; }
.crumbs { font-size: 0.86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--brand-text); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.seo-hero { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 4vw, 40px); border-radius: 28px; color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, var(--hero-glow), transparent 60%), linear-gradient(180deg, var(--hero-2), var(--brand) 55%, var(--hero-1));
  box-shadow: 0 8px 0 var(--brand-dim), 0 24px 44px rgba(10, 6, 26, 0.55); }
.seo-hero h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); line-height: 1.08; text-shadow: 0 3px 4px rgba(20, 14, 46, 0.35); }
.seo-hero .lead { color: var(--hero-muted); max-width: 70ch; font-size: 1.05rem; }
.seo-hero .lead b { color: #fff; }
.seo-hero .muted { color: var(--hero-muted); }
.seo-hero .btn-primary { background: linear-gradient(180deg, #FFDD8A, var(--mark)); color: var(--mark-ink); box-shadow: 0 5px 0 var(--mark-dim); align-self: flex-start; }
.seo-hero .chip { background: var(--hero-chip); color: #fff; border-color: var(--hero-line); text-decoration: none; }
.seo-hero code { background: var(--hero-chip); padding: 1px 6px; border-radius: 6px; }
a.chip { text-decoration: none; display: inline-block; }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
.faq details p { margin-top: 6px; color: var(--muted); max-width: 75ch; }
.seo-links .chips { margin-top: 8px; }
tr[id]:target td { background: var(--mark-soft); }
td a { color: var(--brand-text); }

/* Puan hesaplama */
.calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.calc fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; gap: 10px; margin: 0; background: var(--surface-2); }
.calc legend { font-family: var(--f-display); font-weight: 700; padding: 0 6px; }
.calc label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 0.9rem; flex: 1; min-width: 0; }
#calc-out { margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }

/* Tercih listem */
.fav { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg-2); color: var(--muted); font-size: 1.05rem; line-height: 1; cursor: pointer; display: inline-grid; place-items: center; vertical-align: middle; }
.fav:hover { border-color: var(--mark); color: var(--mark); }
.fav[aria-pressed="true"] { background: linear-gradient(180deg, #FFDD8A, var(--mark)); border-color: var(--mark); color: var(--mark-ink); box-shadow: 0 3px 0 var(--mark-dim); }
.qs-top { align-items: center; }
.qs-top .t { flex: 1; }
.tercih { padding: clamp(18px, 2.6vw, 26px); display: flex; flex-direction: column; gap: 14px; border-color: var(--game-line); }
.tl-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.tl-list { margin: 0; padding-left: 28px; display: flex; flex-direction: column; gap: 8px; }
.tl-list li { padding: 10px 12px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tl-list li::marker { font-family: var(--f-display); font-weight: 800; color: var(--mark); }
.tl-main { min-width: 0; flex: 1 1 16rem; }
.tl-btns { display: flex; gap: 6px; }
.tl-btns .btn { min-height: 36px; padding: 4px 12px; }

/* Kadronun geçmişi */
.hist summary { cursor: pointer; font-size: 0.82rem; font-weight: 700; color: var(--brand-text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; list-style: none; }
.hist summary::-webkit-details-marker { display: none; }
.hist summary::before { content: "+"; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); font-weight: 800; }
.hist[open] summary::before { content: "−"; }
.hist ul { margin: 6px 0 0; padding-left: 18px; font-size: 0.82rem; display: flex; flex-direction: column; gap: 2px; }
.spark { display: block; }

/* İl karo haritası */
.qs-mapbox > summary { cursor: pointer; font-family: var(--f-display); font-weight: 700; color: var(--brand-text); list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.qs-mapbox > summary::-webkit-details-marker { display: none; }
.qs-mapbox > summary::before { content: "+"; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); font-weight: 800; }
.qs-mapbox[open] > summary::before { content: "−"; }
.ilmap-scroll { overflow-x: auto; padding: 10px 2px 6px; }
.ilmap { display: grid; grid-template-columns: repeat(19, minmax(30px, 1fr)); grid-template-rows: repeat(8, auto); gap: 4px; min-width: 640px; }
.il { aspect-ratio: 1; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 8px; background: var(--surface-3); color: var(--faint); font: 800 0.66rem/1 var(--f-display); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0; cursor: pointer; }
.il small { font-size: 0.72rem; color: inherit; }
.il:disabled { cursor: default; opacity: 0.55; }
.il.l1 { background: color-mix(in srgb, var(--ok) 22%, var(--surface-3)); color: var(--ink); }
.il.l2 { background: color-mix(in srgb, var(--ok) 42%, var(--surface-3)); color: var(--ink); }
.il.l3 { background: color-mix(in srgb, var(--ok) 65%, var(--surface-3)); color: #0b2a24; }
.il.l4 { background: var(--ok); color: #0b2a24; }
.il:not(:disabled):hover { transform: translateY(-2px); }
.il.on { background: linear-gradient(180deg, #FFDD8A, var(--mark)); color: var(--mark-ink); border-color: var(--mark-dim); }
.qs-ilfilter { flex-basis: 100%; font-size: 0.92rem; }
