:root {
  --bg: #0d0f14;
  --bg2: #141821;
  --panel: #191e29;
  --panel2: #212837;
  --line: #2c3547;
  --line2: #3a4560;
  --text: #e7e2d6;
  --muted: #9aa3b5;
  --dim: #6b7487;
  --gold: #e8b64c;
  --gold2: #f6d68b;
  --gold-dim: #8a6a2a;
  --green: #4fc36b;
  --red: #e2574c;
  --blue: #4a9eea;
  --purple: #a96df0;
  --orange: #ff8a3d;
  --alliance: #3f7ee8;
  --horde: #d23a3a;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --serif: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --cc: var(--gold); /* aktif sınıf rengi */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 70% -200px, #1d2640 0%, transparent 60%), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.55 var(--sans);
  min-height: 100vh;
}
a { color: var(--gold2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); letter-spacing: .02em; margin: 0 0 .5em; line-height: 1.25; }
h1 { font-size: 30px; }
h2 { font-size: 22px; color: var(--gold2); }
h3 { font-size: 17px; }
h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--sans); }
p { margin: 0 0 .8em; }
ul { margin: 0 0 .8em; padding-left: 1.2em; }
li { margin: .2em 0; }
code, pre { font-family: Consolas, "Cascadia Mono", monospace; font-size: 13px; }
pre { background: #0a0c10; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; overflow-x: auto; white-space: pre-wrap; }
::selection { background: var(--gold-dim); }

/* ---------- Layout ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 10px 20px;
  background: rgba(13, 15, 20, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold2); font-family: var(--serif); font-size: 18px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--gold-dim); }
.brand small { display: block; font-family: var(--sans); font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--muted); padding: 7px 12px; border-radius: 8px; white-space: nowrap; font-size: 14px;
}
.nav a:hover { color: var(--text); background: var(--panel); text-decoration: none; }
.nav a.active { color: var(--gold2); background: var(--panel2); }
.charpill {
  display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px;
  border: 1px solid var(--line); border-radius: 30px; background: var(--panel); color: var(--text); font-size: 13px; white-space: nowrap;
}
.charpill:hover { border-color: var(--gold-dim); text-decoration: none; }
.charpill img { width: 26px; height: 26px; border-radius: 50%; }

main { max-width: 1280px; margin: 0 auto; padding: 24px 20px 80px; }
.footer { text-align: center; color: var(--dim); font-size: 12px; padding: 20px; border-top: 1px solid var(--line); }

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gauto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 960px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  main { padding: 16px 16px 60px; }
  .topbar { padding: 8px 12px; gap: 10px; }
  .brand span { display: none; }
  h1 { font-size: 24px; }
}

.card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.card.hl { border-color: var(--gold-dim); }
.card > h3:first-child, .card > h4:first-child { margin-top: 0; }
.section { margin: 28px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.section-head h2 { margin: 0; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }

/* ---------- Icons ---------- */
.ic { border-radius: 6px; border: 1px solid #000; box-shadow: 0 0 0 1px var(--line2); background: #000; object-fit: cover; flex-shrink: 0; vertical-align: middle; }
.ic-xs { width: 18px; height: 18px; border-radius: 4px; }
.ic-sm { width: 24px; height: 24px; border-radius: 5px; }
.ic-md { width: 36px; height: 36px; }
.ic-lg { width: 48px; height: 48px; }
.ic-xl { width: 72px; height: 72px; border-radius: 10px; }
.ic-round { border-radius: 50%; }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 20px; font-size: 12.5px;
  background: var(--panel2); border: 1px solid var(--line); color: var(--text); white-space: nowrap;
}
.chip.gold { border-color: var(--gold-dim); color: var(--gold2); }
.chip.alliance { border-color: var(--alliance); color: #9cc0ff; }
.chip.horde { border-color: var(--horde); color: #ffa3a3; }
.chip.contested { border-color: #b98d2c; color: #f0cc7a; }
.badge { display: inline-block; padding: 1px 7px; border-radius: 5px; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; vertical-align: middle; }
.b-new { background: #2a7a3d; color: #d9ffe1; }
.b-core { background: #8a6a1a; color: #fff1c8; }
.b-useful { background: #234d7a; color: #d6e9ff; }
.b-situational { background: #3a3f4c; color: #cfd5e2; }
.b-skip { background: #4a2020; color: #ffd0d0; }
.b-buff { background: #1f5f33; color: #c9f7d6; }
.b-nerf { background: #6a2424; color: #ffd0d0; }
.b-change { background: #4a3d16; color: #ffe7a6; }
.b-low { background: #4a3a16; color: #ffd98a; }
.b-tank { background: #2b4a7a; color: #d4e5ff; }
.b-healer { background: #1f5f33; color: #c9f7d6; }
.b-melee { background: #6a2424; color: #ffd0d0; }
.b-ranged { background: #4a2a6a; color: #ead6ff; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line2);
  background: var(--panel2); color: var(--text); font: inherit; font-size: 14px;
}
.btn:hover { border-color: var(--gold-dim); text-decoration: none; }
.btn.primary { background: linear-gradient(180deg, #c4902a, #8d6416); border-color: #e8b64c; color: #1a1205; font-weight: 600; }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 5px 10px; font-size: 13px; }
.btn.danger { border-color: #6a2424; color: #ffb3b3; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 9px; overflow: hidden; }
.seg button { background: var(--panel); color: var(--muted); border: 0; padding: 7px 13px; cursor: pointer; font: inherit; font-size: 13.5px; }
.seg button + button { border-left: 1px solid var(--line2); }
.seg button.on { background: var(--panel2); color: var(--gold2); }
.seg button.on.alliance { color: #9cc0ff; background: #182844; }
.seg button.on.horde { color: #ffa3a3; background: #3a1616; }

input[type=text], input[type=search], select, textarea {
  background: var(--bg2); color: var(--text); border: 1px solid var(--line2); border-radius: 8px;
  padding: 8px 11px; font: inherit; font-size: 14px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold-dim); }

/* Rating bar */
.rating { display: grid; grid-template-columns: 130px 1fr 22px; gap: 8px; align-items: center; font-size: 13px; }
.rating + .rating { margin-top: 6px; }
.bar { height: 7px; background: #0a0c10; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dim), var(--gold)); border-radius: 6px; }
.stars { color: var(--gold); letter-spacing: 2px; }
.stars .off { color: #3a4050; }

/* ---------- Home ---------- */
.hero {
  position: relative; overflow: hidden;
  border: 1px solid var(--gold-dim); border-radius: 14px;
  padding: 34px 32px;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(232, 182, 76, .18), transparent 70%),
    radial-gradient(500px 300px at 10% 110%, rgba(74, 158, 234, .14), transparent 70%),
    linear-gradient(135deg, #1a2030, #10131b);
}
.hero h1 { font-size: 38px; color: var(--gold2); text-shadow: 0 2px 18px rgba(232, 182, 76, .25); }
.hero p.lead { font-size: 16.5px; color: #d6d0c2; max-width: 720px; }
.countdown { display: flex; gap: 10px; margin: 18px 0 6px; flex-wrap: wrap; }
.countdown div { background: rgba(0, 0, 0, .35); border: 1px solid var(--line2); border-radius: 10px; padding: 8px 14px; text-align: center; min-width: 74px; }
.countdown b { display: block; font-size: 26px; font-family: var(--serif); color: var(--gold2); }
.countdown span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.fact { padding: 12px 14px; }
.fact .v { font-family: var(--serif); font-size: 15.5px; line-height: 1.4; color: var(--gold2); }
.fact .l { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line2); }
.tl-item { position: relative; padding: 2px 0 14px; }
.tl-item::before { content: ""; position: absolute; left: -23px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--panel2); border: 2px solid var(--line2); }
.tl-item.done::before { background: var(--green); border-color: var(--green); }
.tl-item.next::before { background: var(--gold); border-color: var(--gold2); box-shadow: 0 0 10px var(--gold); }
.tl-date { font-size: 12px; color: var(--muted); }

/* ---------- Class cards ---------- */
.class-card {
  position: relative; display: block; color: var(--text);
  border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--cc) 16%, var(--panel)) 0%, var(--bg2) 60%);
  transition: transform .15s, border-color .15s;
}
.class-card:hover { transform: translateY(-2px); border-color: var(--cc); text-decoration: none; }
.class-card h3 { color: var(--cc); margin: 0; font-size: 19px; }
.class-card .tag { color: var(--muted); font-size: 13.5px; margin: 8px 0 12px; min-height: 40px; }
.class-card.missing { opacity: .45; pointer-events: none; }

/* ---------- Class page ---------- */
.class-head {
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
  padding: 22px 24px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--cc) 50%, var(--line));
  background: radial-gradient(500px 200px at 0% 0%, color-mix(in srgb, var(--cc) 25%, transparent), transparent 70%), linear-gradient(180deg, var(--panel), var(--bg2));
}
.class-head h1 { color: var(--cc); margin: 0; }
.class-head .ic-xl { box-shadow: 0 0 0 2px var(--cc), 0 0 24px color-mix(in srgb, var(--cc) 40%, transparent); }
.tabs { display: flex; gap: 2px; margin: 18px 0 18px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.tabs a { padding: 10px 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; font-size: 14.5px; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active { color: var(--cc); border-bottom-color: var(--cc); }

.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pc ul { list-style: none; padding: 0; }
.pc li { padding-left: 22px; position: relative; }
.pros li::before { content: "+"; position: absolute; left: 4px; color: var(--green); font-weight: 700; }
.cons li::before { content: "−"; position: absolute; left: 4px; color: var(--red); font-weight: 700; }
@media (max-width: 640px) { .pc { grid-template-columns: 1fr; } }

.callout { border-left: 3px solid var(--gold); background: rgba(232, 182, 76, .07); padding: 12px 16px; border-radius: 0 8px 8px 0; }
.callout.info { border-color: var(--blue); background: rgba(74, 158, 234, .07); }
.callout.warn { border-color: var(--orange); background: rgba(255, 138, 61, .07); }

.change { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.change:last-child { border-bottom: 0; }

.race-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.race-row.pick { background: rgba(232, 182, 76, .08); border: 1px solid var(--gold-dim); }

/* ---------- Level plan ---------- */
.lvl-control { position: sticky; top: 56px; z-index: 20; padding: 14px 18px; margin-bottom: 18px; background: rgba(25, 30, 41, .95); backdrop-filter: blur(8px); }
.lvl-big { font-family: var(--serif); font-size: 40px; color: var(--cc); line-height: 1; min-width: 70px; text-align: center; }
.lvl-big small { display: block; font-size: 11px; font-family: var(--sans); color: var(--muted); letter-spacing: .1em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--cc) 0%, var(--cc) var(--p, 0%), #0a0c10 var(--p, 0%)); border: 1px solid var(--line2); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--gold2); border: 3px solid #3a2a08; box-shadow: 0 0 10px rgba(232, 182, 76, .6); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 6px; background: #0a0c10; border: 1px solid var(--line2); }
input[type=range]::-moz-range-progress { height: 8px; border-radius: 6px; background: var(--cc); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold2); border: 3px solid #3a2a08; }
.ranges { display: flex; gap: 4px; flex-wrap: wrap; }
.ranges button { background: var(--panel); border: 1px solid var(--line); color: var(--muted); border-radius: 6px; padding: 4px 9px; font-size: 12.5px; cursor: pointer; }
.ranges button.on { border-color: var(--cc); color: var(--text); background: color-mix(in srgb, var(--cc) 18%, var(--panel)); }

.track { position: relative; height: 34px; margin-top: 4px; }
.track .seg-r { position: absolute; top: 12px; height: 10px; border-radius: 3px; background: var(--panel2); border: 1px solid var(--line2); }
.track .seg-r.on { background: color-mix(in srgb, var(--cc) 45%, var(--panel2)); border-color: var(--cc); }
.track .mark { position: absolute; top: 6px; width: 2px; height: 22px; background: var(--gold); opacity: .6; cursor: help; }
.track .mark::after { content: ""; position: absolute; top: -4px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.track .now { position: absolute; top: 0; width: 2px; height: 34px; background: #fff; box-shadow: 0 0 6px #fff; }

.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 6px 0 6px 36px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 5px; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--cc) 30%, var(--panel2)); border: 1px solid var(--cc); text-align: center; line-height: 22px; font-size: 12px; font-weight: 700; }

.ab { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: 8px; }
.ab:hover { background: var(--panel2); }
.ab .lv { font-size: 11px; color: var(--muted); }
.ab.future { opacity: .5; }
.ab.justnow { background: color-mix(in srgb, var(--cc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--cc) 40%, transparent); }

.place { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 7px; border: 1px solid var(--line); margin-bottom: 6px; background: var(--bg2); }
.place.fit { border-color: var(--green); }
.place.over { opacity: .55; }
.lr { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }

.tdist { display: flex; height: 10px; border-radius: 6px; overflow: hidden; background: #0a0c10; border: 1px solid var(--line); }
.tdist i:nth-child(1) { background: var(--cc); }
.tdist i:nth-child(2) { background: color-mix(in srgb, var(--cc) 55%, #fff); }
.tdist i:nth-child(3) { background: color-mix(in srgb, var(--cc) 35%, #000); }

/* ---------- Talents ---------- */
.trees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .trees { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.tree { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: linear-gradient(180deg, #121620, #0c0e13); }
.tree-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tree-head b { font-family: var(--serif); font-size: 16px; }
.tree-head .pts { margin-left: auto; font-family: var(--serif); font-size: 18px; color: var(--gold2); }
.tgrid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(7, 62px); gap: 0; }
.tgrid svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.tcell { position: relative; display: flex; align-items: center; justify-content: center; }
.tal { position: relative; width: 44px; height: 44px; cursor: pointer; border-radius: 8px; user-select: none; -webkit-user-select: none; }
.tal img { width: 44px; height: 44px; border-radius: 8px; border: 2px solid #444; filter: grayscale(1) brightness(.55); transition: filter .12s; }
.tal.avail img { filter: grayscale(.2) brightness(.85); border-color: #3d8f4e; }
.tal.part img { filter: none; border-color: #4fc36b; }
.tal.max img { filter: none; border-color: var(--gold); box-shadow: 0 0 10px rgba(232, 182, 76, .45); }
.tal.ms::after { content: "★"; position: absolute; top: -8px; left: -6px; font-size: 12px; color: var(--gold2); text-shadow: 0 0 4px #000; }
.tal.flash img { box-shadow: 0 0 0 3px #fff, 0 0 18px var(--gold); }
.tal .rk { position: absolute; right: -8px; bottom: -6px; background: #0a0c10; border: 1px solid #555; border-radius: 6px; font-size: 10.5px; padding: 0 4px; font-weight: 700; color: #aaa; font-variant-numeric: tabular-nums; }
.tal.part .rk { color: #7fe39a; border-color: #2f7a43; }
.tal.max .rk { color: var(--gold2); border-color: var(--gold-dim); }
.tree.low { border-color: #6a5320; }
.tal-list { columns: 3 220px; column-gap: 18px; font-size: 13px; }
.tal-list div { break-inside: avoid; display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.tal-list .lv { color: var(--muted); width: 26px; text-align: right; font-variant-numeric: tabular-nums; }
.tal-list .cur { color: var(--gold2); font-weight: 600; }
.tal-list .fut { opacity: .45; }

/* ---------- Tooltip ---------- */
#tip {
  position: fixed; z-index: 1000; max-width: 340px; pointer-events: none;
  background: rgba(8, 10, 16, .97); border: 1px solid #5a6a8a; border-radius: 8px; padding: 10px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6); font-size: 13px; display: none;
}
#tip .tt { color: #fff; font-weight: 600; font-size: 14px; }
#tip .ts { color: var(--gold2); font-size: 12px; }
#tip .td { color: #f2d77a; margin-top: 6px; }
#tip .tr { color: #cfd6e4; margin-top: 6px; }
#tip .terr { color: #ff8a80; margin-top: 6px; }

/* ---------- Tables & bars ---------- */
.lvchart { position: relative; }
.lvchart .axis { display: grid; grid-template-columns: 220px 1fr; font-size: 11px; color: var(--dim); }
.lvchart .ticks { position: relative; height: 18px; }
.lvchart .ticks span { position: absolute; transform: translateX(-50%); }
.lvrow { display: grid; grid-template-columns: 220px 1fr; align-items: center; min-height: 30px; border-bottom: 1px solid rgba(44, 53, 71, .5); cursor: pointer; }
.lvrow:hover { background: rgba(255, 255, 255, .02); }
.lvrow .nm { font-size: 13.5px; padding-right: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lvrow .lane { position: relative; height: 30px; }
.lvrow .lane::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(16.666% - 1px), rgba(255, 255, 255, .04) calc(16.666% - 1px), rgba(255, 255, 255, .04) 16.666%); }
.lvrow .b { position: absolute; top: 7px; height: 16px; border-radius: 4px; font-size: 10.5px; line-height: 16px; padding: 0 5px; color: #fff; white-space: nowrap; overflow: hidden; }
.b.alliance { background: linear-gradient(90deg, #2c5bb0, #3f7ee8); }
.b.horde { background: linear-gradient(90deg, #a02424, #d23a3a); }
.b.contested { background: linear-gradient(90deg, #8a6a1a, #c9962a); }
.b.dungeon { background: linear-gradient(90deg, #5b2e8a, #8a4fd0); }
.b.raid { background: linear-gradient(90deg, #8a3a10, #e0742a); }
.lvrow .detail { grid-column: 1 / -1; padding: 8px 12px 14px; font-size: 13.5px; color: #d0cabd; }
.lvmark { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .7); z-index: 2; pointer-events: none; }
@media (max-width: 640px) {
  .lvchart .axis, .lvrow { grid-template-columns: 120px 1fr; }
}

table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 1px solid var(--line2); padding: 8px; }
table.t td { border-bottom: 1px solid var(--line); padding: 8px; vertical-align: top; }

/* ---------- Checklist ---------- */
.check { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; background: var(--bg2); cursor: pointer; }
.check:hover { border-color: var(--line2); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex-shrink: 0; cursor: pointer; }
.check.done { opacity: .55; }
.check.done .ct { text-decoration: line-through; }
.check .lvtag { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.progress { height: 12px; background: #0a0c10; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, #2f7a43, var(--green)); transition: width .3s; }

/* ---------- Quiz ---------- */
.quiz { max-width: 820px; margin: 0 auto; }
.q-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .q-opts { grid-template-columns: 1fr; } }
.q-opt { text-align: left; cursor: pointer; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: inherit; display: flex; gap: 12px; align-items: center; }
.q-opt:hover { border-color: var(--gold); background: var(--panel2); }
.q-opt.sel { border-color: var(--gold); background: rgba(232, 182, 76, .1); }
.q-opt b { display: block; }
.q-opt small { color: var(--muted); }
.q-prog { display: flex; gap: 4px; margin-bottom: 18px; }
.q-prog i { flex: 1; height: 4px; border-radius: 3px; background: var(--line); }
.q-prog i.on { background: var(--gold); }
.result { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); margin-bottom: 8px; }
.result.top { border-color: var(--cc); background: linear-gradient(90deg, color-mix(in srgb, var(--cc) 14%, var(--bg2)), var(--bg2)); }
.result .pct { font-family: var(--serif); font-size: 22px; color: var(--cc); }

/* ---------- Glossary ---------- */
.gl-item { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg2); }
.gl-item b { color: var(--gold2); }

.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.srcs { font-size: 12.5px; }
.srcs a { color: var(--muted); }
.srcs a:hover { color: var(--gold2); }
.kbd { display: inline-block; padding: 0 6px; border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 4px; font-size: 12px; background: var(--panel2); }
.fade-in { animation: fi .25s ease; }
@keyframes fi { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
