
:root {
  --bg: #10110e; --bg-1: #131510; --bg-2: #1c1f17; --panel: #171914; --panel-2: #20231a; --line: #34372b; --line-2: #50543f;
  --text: #e9eef4; --muted: #94a2b4; --faint: #5d6b7c;
  --amber: #e2ac2b; --amber-2: #f4c658; --amber-dim: rgba(226, 172, 43, .14);
  --green: #3ddc97; --red: #ff5c5c; --cyan: #38bdf8; --violet: #a78bfa; --grey: #6b7787; --blue: #5b8def;
  --map-madrid: #38bdf8; --map-bakurani: #3ddc97; --map-detroit: #a78bfa;
  --font-head: "Barlow Condensed", "Segoe UI", sans-serif; --font-body: "Inter", "Segoe UI", system-ui, sans-serif; --font-mono: "JetBrains Mono", Consolas, monospace;
  --r: 12px; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  color: var(--text); font: 13.5px/1.5 var(--font-body);
  background: radial-gradient(1100px 600px at 8% -10%, rgba(226, 172, 43, .11), transparent 60%), radial-gradient(900px 500px at 105% 8%, rgba(56, 189, 248, .07), transparent 60%), var(--bg);
  background-attachment: fixed;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 42px 42px; mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 75%);
}
a { color: var(--amber-2); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 600; letter-spacing: .3px; }
p { margin: 0 0 8px; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 12px; } .tiny { font-size: 11px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.good { color: var(--green); } .bad { color: var(--red); } .warn { color: var(--amber); } .info { color: var(--cyan); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .row.between { justify-content: space-between; } .grow { flex: 1; }
.mt { margin-top: 12px; } .mb { margin-bottom: 12px; } .nowrap { white-space: nowrap; } .right { text-align: right; } .center { text-align: center; }
hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }

/* ---------- Shell ---------- */
.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; position: relative; z-index: 1; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(23, 25, 20, .95), rgba(17, 19, 15, .95)); border-right: 1px solid var(--line); padding: 18px 14px; }
.brand { display: flex; gap: 12px; align-items: center; padding: 4px 6px 18px; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--amber), #ff7a1a); color: #14100a; font: 800 16px/40px var(--font-head); text-align: center; letter-spacing: 1px; box-shadow: 0 6px 18px rgba(226, 172, 43, .35); }
.brand-name { font: 700 22px/1 var(--font-head); letter-spacing: 3px; color: #fff; }
.brand-sub { font: 500 10px/1.4 var(--font-body); letter-spacing: 2.5px; color: var(--amber); text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: 13px; border: 1px solid transparent; cursor: pointer; }
.nav a i { font-style: normal; width: 18px; text-align: center; color: var(--faint); font-size: 14px; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .03); text-decoration: none; }
.nav a.on { color: var(--amber-2); background: var(--amber-dim); border-color: rgba(226, 172, 43, .25); } .nav a.on i { color: var(--amber); }
.nav .sep { height: 1px; background: var(--line); margin: 8px 6px; }
.side-foot { margin-top: auto; padding: 12px 6px 0; border-top: 1px solid var(--line); }
.main { min-width: 0; display: flex; flex-direction: column; }
main { padding: 16px 20px 48px; display: flex; flex-direction: column; gap: 16px; }
.section { display: none; flex-direction: column; gap: 16px; } .section.on { display: flex; }

/* ---------- HUD ---------- */
.hud { position: sticky; top: 0; z-index: 30; display: flex; gap: 22px; align-items: center; padding: 12px 20px; background: rgba(16, 17, 14, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hud-item { display: flex; flex-direction: column; min-width: 0; }
.hud-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); }
.hud-value { font: 600 20px/1.15 var(--font-head); color: #fff; letter-spacing: .5px; } .hud-value.small { font-size: 15px; }
.hud-status { display: flex; align-items: center; gap: 12px; padding-right: 22px; border-right: 1px solid var(--line); }
.beacon { width: 14px; height: 14px; border-radius: 50%; position: relative; background: var(--grey); box-shadow: 0 0 0 3px rgba(255, 255, 255, .06), 0 0 18px currentColor; }
.beacon::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid currentColor; opacity: .5; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.beacon.lvl-operational { background: var(--green); color: var(--green); } .beacon.lvl-degraded { background: var(--amber); color: var(--amber); }
.beacon.lvl-major { background: var(--red); color: var(--red); } .beacon.lvl-unknown { background: var(--grey); color: var(--grey); }
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(226, 172, 43, .05); font-size: 12px; color: var(--muted); white-space: nowrap; }
.ticker-track { display: inline-block; padding: 6px 0; animation: marquee 70s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span { margin: 0 22px; } .ticker-track b { color: var(--amber-2); font-weight: 600; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- Panels & tiles ---------- */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tiles { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tiles.compact { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.panel { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 40%), var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px 0; flex-wrap: wrap; }
.panel-t { font-size: 17px; text-transform: uppercase; letter-spacing: 1.6px; color: #fff; }
.panel-t small { font: 500 11px/1 var(--font-body); letter-spacing: .2px; text-transform: none; color: var(--faint); margin-left: 8px; }
.panel-b { padding: 12px 16px 16px; }
.panel.framed::before, .panel.framed::after { content: ""; position: absolute; width: 16px; height: 16px; border-color: var(--amber); border-style: solid; pointer-events: none; }
.panel.framed::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-radius: 6px 0 0 0; }
.panel.framed::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 6px 0; }
.tile { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px 10px; box-shadow: var(--shadow); }
.tile-label { font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--faint); }
.tile-value { font: 600 30px/1.1 var(--font-head); color: #fff; margin: 4px 0 2px; letter-spacing: .3px; }
.tile-sub { font-size: 11.5px; color: var(--muted); }
.tile.accent .tile-value { color: var(--amber-2); } .tile.good .tile-value { color: var(--green); } .tile.bad .tile-value { color: var(--red); } .tile.warn .tile-value { color: var(--amber); } .tile.info .tile-value { color: var(--cyan); }
.tile-spark { position: absolute; right: 8px; bottom: 6px; opacity: .8; }
.tiles.compact .tile-value { font-size: 24px; }
.delta { display: inline-block; font-family: var(--font-mono); font-size: 11px; padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, .05); color: var(--muted); }
.delta.up { color: var(--green); background: rgba(61, 220, 151, .12); } .delta.down { color: var(--red); background: rgba(255, 92, 92, .12); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; padding: 18px 20px; }
.hero-status { display: flex; align-items: center; gap: 16px; }
.hero-status-v { font: 700 30px/1 var(--font-head); text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.hero-num { font: 700 58px/1 var(--font-head); color: #fff; letter-spacing: -1px; text-shadow: 0 0 30px rgba(226, 172, 43, .25); }
.hero-side { border-left: 1px solid var(--line); padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.mini-stats { display: flex; gap: 18px; flex-wrap: wrap; }
.mini-stat .l { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--faint); }
.mini-stat .v { font: 600 22px/1.1 var(--font-head); color: #fff; }

/* ---------- Badges, chips, bars ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; border: 1px solid transparent; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lvl-operational.badge { color: var(--green); background: rgba(61, 220, 151, .12); border-color: rgba(61, 220, 151, .3); }
.lvl-degraded.badge { color: var(--amber); background: rgba(226, 172, 43, .12); border-color: rgba(226, 172, 43, .35); }
.lvl-major.badge { color: var(--red); background: rgba(255, 92, 92, .14); border-color: rgba(255, 92, 92, .4); }
.lvl-unknown.badge { color: var(--grey); background: rgba(107, 119, 135, .14); border-color: rgba(107, 119, 135, .4); }
.tag { display: inline-block; padding: 1px 7px; border-radius: 5px; font-size: 11px; background: var(--panel-2); color: var(--muted); border: 1px solid var(--line-2); margin-right: 4px; white-space: nowrap; vertical-align: middle; }
.tag.official { color: #a9c9ff; border-color: rgba(91, 141, 239, .45); background: rgba(91, 141, 239, .12); }
.tag.grey { color: var(--amber-2); border-color: rgba(226, 172, 43, .4); background: rgba(226, 172, 43, .1); }
.tag.hot { color: #ffb3b3; border-color: rgba(255, 92, 92, .4); background: rgba(255, 92, 92, .12); }
.tag.ok { color: #9ff0cd; border-color: rgba(61, 220, 151, .4); background: rgba(61, 220, 151, .12); }
.tag.steam { color: #d3c5ff; border-color: rgba(167, 139, 250, .4); background: rgba(167, 139, 250, .12); }
.map-pill { display: inline-block; padding: 1px 8px; border-radius: 5px; font: 600 11px/1.6 var(--font-body); letter-spacing: .3px; color: var(--c, var(--amber)); background: color-mix(in srgb, var(--c, var(--amber)) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c, var(--amber)) 40%, transparent); }
.chip { background: var(--panel-2); color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 11px; font: 500 12px var(--font-body); cursor: pointer; }
.chip:hover { color: var(--text); border-color: var(--faint); } .chip.on { color: var(--amber-2); background: var(--amber-dim); border-color: rgba(226, 172, 43, .45); }
.chip.static { cursor: default; }
.bar { position: relative; height: 7px; background: rgba(255, 255, 255, .06); border-radius: 4px; overflow: hidden; }
.bar > i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--amber); border-radius: 4px; box-shadow: 0 0 10px rgba(226, 172, 43, .35); }
.bar.blue > i { background: var(--blue); box-shadow: none; } .bar.green > i { background: var(--green); box-shadow: none; } .bar.red > i { background: var(--red); box-shadow: none; } .bar.grey > i { background: var(--grey); box-shadow: none; } .bar.cyan > i { background: var(--cyan); box-shadow: none; } .bar.violet > i { background: var(--violet); box-shadow: none; }
.bar.tall { height: 12px; }
.stack { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, .06); } .stack > i { display: block; height: 100%; }
.ring { position: relative; display: inline-block; } .ring svg { width: 100%; height: 100%; display: block; }
.ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring-v { font: 700 20px/1 var(--font-head); color: #fff; } .ring-s { font-size: 10px; color: var(--faint); margin-top: 2px; }
.region-card { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.region-card .n { font: 600 16px/1.1 var(--font-head); text-transform: uppercase; letter-spacing: 1px; color: #fff; }

/* ---------- Tables ---------- */
table.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.tbl th, table.tbl td { padding: 7px 9px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.tbl th { color: var(--faint); font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.2px; white-space: nowrap; position: sticky; top: 0; background: var(--panel); z-index: 1; }
table.tbl tr:hover td { background: rgba(226, 172, 43, .04); }
table.tbl td.num, table.tbl th.num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
table.tbl tr.hl td { color: var(--amber-2); font-weight: 600; }
.tbl-wrap { overflow: auto; max-height: 640px; border: 1px solid var(--line); border-radius: 10px; }
.trunc { max-width: 380px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Controls ---------- */
button, .btn { background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 12px; font: 500 12.5px var(--font-body); cursor: pointer; }
button:hover { border-color: var(--amber); color: var(--amber-2); } button.on { background: var(--amber-dim); border-color: var(--amber); color: var(--amber-2); }
button.primary { background: var(--amber); color: #16110a; border-color: var(--amber); font-weight: 600; } button.primary:hover { background: var(--amber-2); color: #16110a; }
button.mini { padding: 3px 8px; font-size: 11px; border-radius: 6px; }
button:disabled { opacity: .5; cursor: default; }
.btns { display: flex; gap: 4px; flex-wrap: wrap; }
input, select { background: var(--bg-1); color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 10px; font: 500 12.5px var(--font-body); }
input:focus, select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(226, 172, 43, .15); }
input[type="number"] { width: 72px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .filters label { color: var(--muted); font-size: 12px; display: flex; gap: 5px; align-items: center; }

/* ---------- Lists, boards ---------- */
.list { display: flex; flex-direction: column; gap: 8px; }
.item { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.item .t { font-weight: 600; } .item .m { color: var(--muted); font-size: 12px; margin-top: 3px; }
.item.problem { border-color: rgba(255, 92, 92, .35); }
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.round-card { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--c, var(--amber)); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; transition: transform .15s, border-color .15s; }
.round-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.rc-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.rc-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.reasons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.reasons li { display: flex; gap: 10px; align-items: baseline; padding: 6px 9px; border-radius: 8px; background: var(--bg-2); font-size: 12.5px; }
.reasons .w { min-width: 34px; text-align: right; font-family: var(--font-mono); font-weight: 600; color: var(--amber); } .reasons .w.zero { color: var(--faint); }
details.news summary { cursor: pointer; list-style: none; } details.news summary::-webkit-details-marker { display: none; }
.newsbody { margin-top: 10px; padding: 12px; background: var(--bg-1); border-radius: 8px; max-height: 480px; overflow: auto; font-size: 13px; }
.newsbody img { max-width: 100%; border-radius: 6px; } .newsbody h3, .newsbody h4, .newsbody h5 { margin: 12px 0 6px; font-family: var(--font-body); } .newsbody blockquote { border-left: 3px solid var(--line-2); margin: 8px 0; padding-left: 10px; color: var(--muted); }
.spoiler { background: #000; color: #000; } .spoiler:hover { color: var(--text); }
.heat { display: grid; grid-template-columns: 34px repeat(24, 1fr); gap: 2px; font-size: 10px; }
.heat .h { color: var(--faint); text-align: center; } .heat .d { color: var(--muted); padding-right: 4px; text-align: right; line-height: 18px; } .heat .c { height: 18px; border-radius: 3px; background: rgba(255, 255, 255, .05); }
.strip { display: flex; height: 14px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); } .strip > i { display: block; height: 100%; min-width: 1px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.bg-operational { background: var(--green); } .bg-degraded { background: var(--amber); } .bg-major { background: var(--red); } .bg-unknown { background: var(--grey); }
.avatar { width: 28px; height: 28px; border-radius: 7px; vertical-align: middle; margin-right: 6px; object-fit: cover; background: var(--panel-2); } .avatar.big { width: 72px; height: 72px; border-radius: 12px; }
.thumb { width: 100%; border-radius: 8px; display: block; }
.spark { width: 120px; height: 28px; vertical-align: middle; }
.faction { display: flex; align-items: center; gap: 8px; margin: 4px 0; } .faction .n { width: 90px; font-weight: 600; } .faction .bar { flex: 1; } .faction .s { width: 60px; text-align: right; font-family: var(--font-mono); }
.ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.ach .a { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); } .ach img { width: 44px; height: 44px; border-radius: 6px; } .ach .a.locked img { filter: grayscale(1) opacity(.5); }
.note { padding: 10px 12px; border-left: 3px solid var(--amber); background: rgba(226, 172, 43, .06); border-radius: 8px; color: var(--muted); font-size: 12.5px; }
.note.red { border-color: var(--red); background: rgba(255, 92, 92, .06); } .note.blue { border-color: var(--cyan); background: rgba(56, 189, 248, .06); }
pre.code { background: var(--bg-1); border: 1px solid var(--line); border-radius: 8px; padding: 10px; overflow: auto; font: 12px var(--font-mono); margin: 8px 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 5px 14px; font-size: 12.5px; } .kv b { color: var(--muted); font-weight: 500; }
.err { color: #ffb3b3; padding: 10px; border: 1px dashed rgba(255, 92, 92, .5); border-radius: 8px; }
.toast { position: fixed; bottom: 20px; right: 20px; background: var(--panel-2); border: 1px solid var(--amber); color: var(--text); padding: 10px 14px; border-radius: 10px; z-index: 60; box-shadow: var(--shadow); }
.zone-list { display: none; margin: 6px 0 0 8px; } .zone-open .zone-list { display: block; }
.flag { font-size: 16px; }
.avail { display: grid; grid-template-columns: repeat(4, 10px); gap: 2px; } .avail i { display: block; width: 10px; height: 8px; border-radius: 2px; background: rgba(255, 255, 255, .07); } .avail i.on { background: var(--green); }
.pill-list { display: flex; flex-wrap: wrap; gap: 4px; }
.modal-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow: auto; }
.modal { width: min(1100px, 100%); background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); padding: 18px 20px; }
.modal-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.skeleton { color: var(--faint); padding: 14px; }
.lb-rank { font: 700 15px var(--font-head); color: var(--faint); width: 34px; display: inline-block; } .lb-rank.top { color: var(--amber); }
.lvl-bar { height: 4px; background: rgba(255, 255, 255, .06); border-radius: 2px; margin-top: 3px; } .lvl-bar > i { display: block; height: 100%; background: var(--amber); border-radius: 2px; }
.person { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.person img { width: 36px; height: 36px; border-radius: 8px; } .person .n { font-weight: 600; } .person .m { font-size: 11.5px; color: var(--muted); }
.foot { padding: 14px 20px 30px; color: var(--faint); font-size: 12px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; overflow-x: auto; }
  .brand { padding: 0 8px 0 0; } .brand-sub { display: none; }
  .nav { flex-direction: row; gap: 2px; } .nav a { padding: 6px 10px; white-space: nowrap; } .nav .sep { display: none; } .side-foot { display: none; }
  .hero { grid-template-columns: 1fr; } .hero-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .hud { gap: 14px; overflow-x: auto; } main { padding: 12px; } .hero-num { font-size: 44px; }
}

/* ---------- v3: Hubs, Guides, Konfigurator ---------- */
.subnav { display: flex; gap: 6px; flex-wrap: wrap; position: sticky; top: 62px; z-index: 20; padding: 8px 0; background: linear-gradient(180deg, rgba(16, 17, 14, .95), rgba(16, 17, 14, .7)); }
.subnav button { border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.sub { display: none; flex-direction: column; gap: 16px; } .sub.on { display: flex; }
.backdrop { position: relative; overflow: hidden; }
.backdrop::before { content: ""; position: absolute; inset: 0; background-image: var(--bd); background-size: cover; background-position: center 30%; opacity: .22; pointer-events: none; }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 25, 20, .92) 0%, rgba(23, 25, 20, .55) 60%, rgba(23, 25, 20, .85) 100%); pointer-events: none; }
.backdrop > * { position: relative; z-index: 1; }
.steps { display: flex; gap: 10px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 12px; background: rgba(0, 0, 0, .25); }
.step b { font-family: var(--font-head); font-size: 15px; color: var(--amber); }
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.role-card { position: relative; cursor: pointer; padding: 14px 14px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); transition: transform .15s, border-color .15s, box-shadow .15s; overflow: hidden; }
.role-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.role-card:hover { transform: translateY(-2px); border-color: var(--c); }
.role-card.on { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 10px 30px color-mix(in srgb, var(--c) 25%, transparent); background: color-mix(in srgb, var(--c) 9%, var(--bg-2)); }
.role-card .ic { font-size: 26px; color: var(--c); line-height: 1; }
.role-card .nm { font: 700 20px/1.1 var(--font-head); color: #fff; letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }
.role-card .ds { font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.goal-btn { padding: 10px 16px; border-radius: 10px; font: 600 14px var(--font-head); letter-spacing: 1px; text-transform: uppercase; }
.range { display: grid; grid-template-columns: 1fr 64px; gap: 10px; align-items: center; }
input[type="range"] { width: 100%; accent-color: var(--amber); }
.plan-row { display: grid; grid-template-columns: minmax(180px, 1.4fr) 110px minmax(100px, 1fr) 70px 90px 90px; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.plan-row.head { color: var(--faint); font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.2px; }
.plan-row .n { font-weight: 600; } .plan-row .c { color: var(--muted); font-size: 11px; }
.plan-row input[type="number"] { width: 64px; }
.big-tile .tile-value { font-size: 40px; }
.radar-wrap { position: relative; height: 320px; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: start; }
.vs .mid { font: 700 30px var(--font-head); color: var(--faint); align-self: center; }
.pcard { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); }
.pcard .nm { font: 700 22px/1.1 var(--font-head); color: #fff; }
.lvl-ring { display: flex; align-items: center; gap: 14px; }
.timeline { position: relative; padding-left: 18px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.tl-item { position: relative; padding: 4px 0 10px; }
.tl-item::before { content: ""; position: absolute; left: -16px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px rgba(226, 172, 43, .6); }
.tl-item.done::before { background: var(--green); box-shadow: none; }
.tl-item.far::before { background: var(--line-2); box-shadow: none; }
.tl-item .lv { font: 700 13px var(--font-head); color: var(--amber-2); letter-spacing: 1px; }
.tip { display: flex; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); font-size: 12.5px; }
.tip i { font-style: normal; color: var(--amber); font-size: 16px; }
@media (max-width: 900px) { .plan-row { grid-template-columns: 1fr 80px 70px 80px; } .plan-row .c, .plan-row .hide-sm { display: none; } .vs { grid-template-columns: 1fr; } .vs .mid { display: none; } }
/* Backdrop-Panels: Pseudo-Elemente der HUD-Ecken ueberschreiben, damit das Hintergrundbild volle Groesse hat */
.panel.framed.backdrop::before, .panel.backdrop::before { top: 0; left: 0; right: 0; bottom: 0; width: auto; height: auto; border: 0; border-radius: var(--r); background-image: var(--bd); background-size: cover; background-position: center 30%; opacity: .22; }
.panel.framed.backdrop::after, .panel.backdrop::after { top: 0; left: 0; right: 0; bottom: 0; width: auto; height: auto; border: 0; border-radius: var(--r); background: linear-gradient(90deg, rgba(23, 25, 20, .93) 0%, rgba(23, 25, 20, .6) 60%, rgba(23, 25, 20, .88) 100%); }
