@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap');

:root {
    color-scheme: dark;
    --bg: #121416;
    --surface: #1c1f22;
    --surface-2: #24282d;
    --border: #33373d;
    --text: #efefec;
    --muted: #a4a6ad;
    --brand: #8b0f24;
    --brand-light: #f48b9e;
    --accent: #ff9d2d;
    --font: 'DM Sans', system-ui, sans-serif;
    --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.55 var(--font); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
button, a, input, select, [role=button] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [role=button]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 650; }
h1 { font-size: 30px; line-height: 1.16; letter-spacing: -.9px; margin-bottom: 12px; }
h1 > span { color: var(--accent); }
h2 { font-size: 22px; line-height: 1.25; letter-spacing: -.5px; margin: 6px 0 0; }
p { color: var(--muted); }
[hidden] { display: none !important; }
.small { font-size: 12px; color: var(--muted); }
.muted { color: var(--muted); }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.7px; color: var(--muted); }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-logo { width: 133px; height: auto; display: block; }
.brand-sub { font-size: 9px; letter-spacing: 1.1px; font-weight: 700; border-radius: 5px; padding: 5px 7px; background: var(--brand); color: white; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.tag, .outline-tag, .vip-badge { display: inline-flex; align-items: center; font-size: 10px; line-height: 1.4; letter-spacing: 1px; font-weight: 650; border: 1px solid #8b0f2480; border-radius: 5px; padding: 5px 8px; color: #ffbeca; background: #8b0f2420; white-space: nowrap; }
.outline-tag { color: var(--muted); border-color: var(--border); background: transparent; font-size: 9px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 12px 16px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 650; gap: 18px; }
.primary { background: linear-gradient(110deg, #e4a51b, #ff7900); color: #17191c; }
.secondary { background: var(--surface-2); border-color: #44484d; }
.full { width: 100%; justify-content: space-between; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 12px; font-size: 12px; color: var(--accent); border: 0; background: transparent; padding: 0; }
.notice { padding: 16px; border: 1px solid #8b0f2480; background: #382129; color: var(--text); border-radius: 10px; }
.error { border-color: #bc4b58; background: #46252c; }
.skip-link { position: fixed; top: -100px; left: 15px; z-index: 30; background: var(--accent); color: #121416; padding: 12px; }
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Small screens are the default: sticky app bar and thumb-friendly bottom tabs. */
.app-shell { min-height: 100dvh; }
.sidebar { display: contents; }
.sidebar > .brand, .nav-label, .server-list, .sidebar-bottom { display: none; }
.main-nav { position: fixed; z-index: 20; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 4px; padding: 8px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); background: #1c1f22f5; border-top: 1px solid #44484c; backdrop-filter: blur(18px); }
.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 10px; background: none; min-height: 54px; padding: 5px 2px; font-size: 10px; color: #a8aab0; }
.nav-item > span { font-size: 23px; line-height: 1; }
.nav-item.active { color: white; background: #8b0f24; }
.nav-item:hover { background: #34383e; }
.nav-item.active:hover { background: #a71730; }
.workspace { min-width: 0; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.topbar { position: sticky; top: 0; z-index: 10; min-height: calc(66px + env(safe-area-inset-top)); padding: calc(9px + env(safe-area-inset-top)) 16px 9px; background: #1c1f22f5; border-bottom: 2px solid var(--brand); backdrop-filter: blur(18px); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar .brand-logo { width: 121px; }
.topbar .brand-sub { font-size: 8px; }
.breadcrumb { display: none; font-size: 12px; color: var(--muted); }
.breadcrumb span { color: #6f7278; margin: 0 12px; }
.breadcrumb b { font-weight: 500; color: #d2d3d5; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.header-player-glance { display: none; min-width: 0; font-size: 12px; }
.header-player-name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #d7c4ca; font-weight: 600; }
.header-stat { display: inline-flex; align-items: center; flex-shrink: 0; gap: 6px; font-variant-numeric: tabular-nums; }
.header-stat svg { color: var(--accent); }
.network-sidebar-note { display: none; }
.network-panel { margin: 0 0 22px; }
.network-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.network-heading .eyebrow { color: #e1b6c0; letter-spacing: 1.4px; }
.network-heading p { margin: 2px 0 0; font-size: 11px; }
.network-update { color: var(--muted); font-size: 10px; text-align: right; }
.network-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(145px, 1fr); gap: 10px; overflow-x: auto; padding: 4px 4px 10px; margin: -4px -4px 0; scrollbar-width: thin; scrollbar-color: #65414c transparent; scroll-snap-type: x proximity; }
.network-card { min-width: 0; min-height: 110px; scroll-snap-align: start; padding: 13px; border: 1px solid var(--border); border-radius: 11px; text-align: left; background: radial-gradient(ellipse at 100% 0, #8b0f241c, transparent 80%), var(--surface); transition: border-color .18s ease, background-color .18s ease; }
.network-card:hover, .network-card.selected-server { border-color: #b04860; background-color: #302129; }
.network-card-name { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 550; }
.network-card-name > span { color: #b58b96; }
.network-card-score { display: flex; align-items: baseline; gap: 8px; padding: 6px 0 2px; }
.network-card-score strong { font: 600 28px/1.2 var(--display); }
.network-card-score > span { font-size: 9px; color: var(--muted); }
.network-card small { display: block; color: #a9a2a8; font-size: 9px; }
.network-card.ranking-delayed small { color: #efb16a; }
.rank-podium { color: var(--accent); }
.network-footnote { margin: 3px 0 0; font-size: 9px; color: #a09ba3; }
@media (min-width: 600px) {
    .network-cards { grid-auto-flow: initial; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
    .topbar { gap: 18px; }
    .header-player-glance { display: flex; align-items: center; flex: 1; justify-content: flex-end; gap: 14px; }
    .header-player-name { flex: 0 1 auto; max-width: 180px; }
    .network-sidebar-note { display: block; padding: 0 12px; margin: 10px 0 0; font-size: 9px; color: var(--muted); }
    .server-indicator { font-variant-numeric: tabular-nums; font-size: 10px; }
    .server-indicator.rank-podium { color: var(--accent); }
}
.sync-state { font-size: 9px; letter-spacing: 1px; color: #c4c6cb; }
.mini-avatar { height: 40px; width: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #d6496180; background: #572330; color: #ffbeca; font-size: 22px; font-family: var(--display); }
.logout { background: transparent; border: 0; color: var(--muted); }
.dashboard-main { padding: 16px; max-width: 1520px; margin: auto; }
.demo-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; padding: 10px 12px; border: 1px solid #55505a; border-radius: 8px; background: #27212a; color: #d6c6cd; font-size: 11px; margin-bottom: 24px; }
.demo-notice > span { color: #ffacbd; letter-spacing: 1px; font-size: 9px; font-weight: 700; }
.demo-notice a { color: var(--accent); min-height: 24px; display: flex; align-items: center; margin-left: auto; font-size: 10px; }
.page-heading { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 22px; }
.page-heading h1 { margin: 9px 0; }
.page-heading p { margin: 0; font-size: 13px; }
.server-select { display: flex; flex-direction: column; gap: 7px; font-size: 11px; color: var(--muted); }
select, input { min-height: 46px; padding: 11px 12px; background: #24282d; border: 1px solid #454a51; border-radius: 8px; color: var(--text); font-size: 16px; max-width: 100%; }
.server-select select { width: 100%; }
[data-access=basic] .server-select { display: none; }
.profile-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; border: 1px solid #65333f; border-radius: 14px; padding: 18px; background: radial-gradient(ellipse at 95% 0, #8b0f2438, transparent 65%), #202125; }
.profile-avatar { position: relative; flex-shrink: 0; display: grid; place-items: center; height: 64px; width: 64px; border: 1px solid #a95667; background: linear-gradient(145deg, #8b3d4d, #351b24); border-radius: 13px; font: 42px var(--display); }
.profile-avatar > span:not(.avatar-initial) { position: absolute; bottom: -5px; right: -5px; height: 24px; width: 24px; display: grid; place-items: center; border-radius: 6px; background: var(--accent); border: 3px solid #202125; color: #181a1c; font: 700 9px var(--font); }
.mini-avatar, .account-avatar { position: relative; }
.steam-avatar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.profile-identity { min-width: 0; flex: 1; }
.profile-name { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 650; letter-spacing: -.6px; }
.vip-badge { font-size: 9px; padding: 3px 7px; }
.profile-identity > p { font-size: 9px; letter-spacing: .7px; margin: 4px 0 10px; }
.profile-identity > p > span { margin-left: 5px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-tags span { font-size: 10px; color: #c2bdc4; border: 1px solid #4c3e46; border-radius: 4px; padding: 3px 6px; }
.rank-block { width: 100%; border-top: 1px solid #4d343d; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rank-block > span:first-child { font-size: 10px; letter-spacing: 1px; color: #c3aeb5; }
.rank-block b { color: var(--accent); font: 600 32px var(--display); }
.rank-block small { color: #a09ba1; font: 12px var(--font); }
.rank-block > span:last-child { display: none; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin: 12px 0 18px; }
.metric { min-width: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 16px; }
.metric > div { display: flex; align-items: center; justify-content: space-between; gap: 5px; color: #b6b6bd; font-size: 9px; letter-spacing: .7px; }
.metric-icon { font-size: 19px; color: #aa6c79; }
.metric > strong { display: block; font: 600 43px/1.4 var(--display); }
.metric em { font-size: 23px; color: #999da6; font-style: normal; }
.metric small { font-size: 11px; color: #a2a3ab; }
.overview-grid, .right-stack { display: grid; gap: 18px; }
.segmented { display: flex; border: 1px solid #454047; border-radius: 9px; background: #15171a; padding: 4px; gap: 4px; }
.segmented button { flex: 1; border: 0; border-radius: 6px; background: none; color: var(--muted); min-height: 44px; padding: 9px 10px; font-size: 12px; }
.segmented button.selected { color: white; background: var(--brand); }
.anatomy-content { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); align-items: center; gap: 10px; margin: 22px 0 12px; }
.body-wrapper { min-width: 0; text-align: center; }
.body-caption { font-size: 8px; letter-spacing: .7px; color: #a3a4aa; }
.body-map { width: 100%; max-width: 205px; height: 310px; display: block; margin: 10px auto; overflow: visible; }
.anatomy-guides { fill: none; stroke: #a3a4aa; stroke-width: .6; opacity: .16; stroke-dasharray: 3 6; }
.body-outline path { stroke: #b9b4ba; stroke-width: .85; cursor: pointer; transition: fill .2s; }
.body-outline path:hover, .body-outline path.selected-zone { stroke: #ffe7d2; stroke-width: 2; filter: drop-shadow(0 0 4px #ff9d2d55); }
.anatomy-detail { pointer-events: none; fill: none; stroke: #eef4fa; stroke-width: .7; opacity: .22; }
.body-legend { display: flex; align-items: center; justify-content: center; gap: 5px; color: #b1a39a; font-size: 8px; }
.body-legend i { height: 5px; width: 55px; background: linear-gradient(90deg, #536c8c, #65b1cf, #eab34f, #ed624c); border-radius: 4px; }
.impact-total { display: flex; flex-direction: column; gap: 2px; padding-bottom: 13px; margin-bottom: 7px; border-bottom: 1px solid var(--border); }
.impact-total strong { font: 600 40px/1.2 var(--display); }
.impact-total span { font-size: 8px; letter-spacing: .7px; color: var(--muted); }
.zone-row { display: flex; justify-content: space-between; align-items: center; gap: 6px; width: 100%; min-height: 44px; background: none; border: 0; border-radius: 6px; padding: 7px; font-size: 11px; color: #bdb5b1; }
.zone-row b { font-size: 11px; font-weight: 500; color: #ddd6d1; }
.zone-row.active { background: #522a24; color: #ffc38a; }
.zone-row.active b { color: #ffd5ae; }
.zone-detail { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.zone-detail > span { color: #ffc38a; font-size: 13px; }
.zone-detail strong { font-size: 11px; font-weight: 500; }
.zone-detail small { font-size: 10px; color: var(--muted); }
.panel-note { font-size: 11px; color: #999ca3; margin: 16px 0 0; line-height: 1.7; }
.weapon-feature { background: radial-gradient(ellipse at center, #8b0f2425, transparent 70%); padding: 0 0 14px; border-bottom: 1px solid var(--border); }
.weapon-index { color: var(--accent); font-size: 9px; letter-spacing: 1.5px; }
.weapon-feature h3 { font: 600 30px var(--display); margin: 8px 0 0; }
.weapon-visual { height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.weapon-visual img { width: 100%; height: 95px; object-fit: cover; filter: drop-shadow(0 8px 10px #0006); }
.weapon-visual > span { font-size: 8px; letter-spacing: 1px; color: #a59c99; margin-top: 5px; }
.weapon-row { display: grid; grid-template-columns: 20px 1fr 66px; align-items: center; gap: 12px; padding: 14px 0; }
.weapon-row > span { font: 15px var(--display); color: #b48790; }
.weapon-row b { font-size: 13px; font-weight: 500; }
.weapon-row strong { font-size: 12px; text-align: right; font-weight: 500; color: #cec7c9; }
.progress-track { height: 4px; background: #3c373a; border-radius: 4px; overflow: hidden; margin-top: 8px; }
.progress-track i { display: block; height: 100%; background: #b64f62; border-radius: 4px; }
.weapon-row:first-child .progress-track i { background: var(--accent); }
.weapon-panel > .text-link { display: flex; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 5px; }
.activity-panel h2 { font-size: 21px; }
.chart-key { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chart-key i { width: 6px; height: 6px; background: var(--accent); border-radius: 2px; }
.activity-chart { display: flex; justify-content: space-between; gap: 15px; height: 132px; border-bottom: 1px solid var(--border); }
.chart-column { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; position: relative; padding-bottom: 24px; }
.chart-column small { font-size: 10px; color: #bfb2a8; }
.chart-column > span { position: absolute; bottom: 0; font-size: 10px; color: var(--muted); }
.chart-bar { width: 100%; max-width: 38px; min-height: 4px; background: linear-gradient(0deg,#8b0f2480,#ff9d2d); border-radius: 4px 4px 0 0; }
.leaderboard-preview { margin-top: 18px; }
.leaderboard-preview .panel-title { flex-wrap: wrap; }
.table-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th { padding: 13px 8px; color: #a29da5; font-size: 10px; letter-spacing: .7px; font-weight: 500; border-bottom: 1px solid var(--border); }
td { font-size: 13px; padding: 16px 8px; border-bottom: 1px solid #343137; }
.table-scroll:not(.admin-table) th:nth-child(4), .table-scroll:not(.admin-table) td:nth-child(4), .table-scroll th:nth-child(6), .table-scroll td:nth-child(6) { display: none; }
td:first-child { color: #d4a5ae; font: 18px var(--display); }
td:nth-child(2) { font-weight: 550; }
td:not(:first-child):not(:nth-child(2)) { color: #c4c1c7; font-variant-numeric: tabular-nums; }
.self-row { background: #8b0f2428; }
.self-row td:nth-child(2) { color: #ffbeca; }
tr:last-child td { border-bottom: 0; }
.table-tools { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 20px; }
.table-tools label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: var(--muted); }
.table-sort { display: inline-flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; white-space: nowrap; cursor: pointer; }
.table-sort [data-sort-icon] { color: #8d858f; font-size: 14px; }
th[aria-sort="ascending"] .table-sort, th[aria-sort="descending"] .table-sort, th[aria-sort="ascending"] [data-sort-icon], th[aria-sort="descending"] [data-sort-icon] { color: var(--accent); }
.table-scroll .sortable-table th, .table-scroll .sortable-table td { display: table-cell; }
.sortable-table { min-width: 580px; }
.admin-config-preview { margin-bottom: 24px; border-color: #d38d39; }
.admin-config-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.admin-config-note { margin-top: 24px; }
.admin-config-preview .live-facts > div { flex-wrap: wrap; gap: 4px 18px; overflow-wrap: anywhere; }
.admin-server-form input[type="file"] { width: 100%; max-width: 100%; font-size: 13px; }
.admin-nav { flex-wrap: wrap; }
.dashboard-footer { display: flex; flex-direction: column; gap: 8px; font-size: 10px; color: #91939b; padding: 25px 0 12px; }
.dashboard-footer b { font-weight: 500; color: #cfb6bc; }
.dashboard-footer > span > span { margin: 0 8px; }
.empty-state { min-height: 330px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 26px; }
.empty-state h2 { margin: 20px 0; }
.skills-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.skills-intro h2 { margin: 12px 0; font-size: 26px; }
.skills-intro p { margin: 0; font-size: 13px; }
.skill-grid { display: grid; gap: 18px; margin-bottom: 18px; }
.skill-symbol { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: #8b0f2440; color: #ffbeca; font-size: 30px; margin-bottom: 25px; }
.skill-card h2 { font-size: 28px; }
.skill-progress { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); margin-top: 25px; }
.skill-progress b { color: var(--accent); }
.perk-tree { display: flex; align-items: center; margin: 30px 0 18px; }
.perk-node { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: #292328; border: 1px solid #76525d; color: #c7b3bb; }
.perk-node.unlocked { border-color: #c15c71; background: #632336; color: #ffced8; }
.tree-line { flex: 1; height: 1px; background: #904257; }
.locked-panel { min-height: 410px; padding: 30px 24px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: radial-gradient(ellipse at 100% 0, #8b0f242a, transparent 65%), var(--surface); }
.lock-symbol { width: 58px; height: 58px; display: grid; place-items: center; background: #8b0f2440; border-radius: 15px; margin-bottom: 23px; }
.lock-symbol svg { width: 30px; height: 30px; fill: none; stroke: #f0b2c0; stroke-width: 1.8; }
.locked-panel h2 { font-size: 27px; margin: 18px 0 14px; }
.locked-panel p { max-width: 520px; margin-bottom: 22px; }
.locked-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.locked-benefits span { border: 1px solid #58414a; border-radius: 5px; padding: 6px 9px; color: #cdbec4; font-size: 11px; }
.locked-panel .button { width: 100%; justify-content: space-between; }
.locked-note { color: var(--muted); font-size: 11px; margin-top: 18px; }
.account-grid { display: grid; gap: 18px; }
.account-heading { display: flex; align-items: center; gap: 15px; margin: 24px 0; }
.account-heading h2 { margin: 0 0 8px; font-size: 25px; }
.account-avatar { display: grid; place-items: center; width: 65px; height: 65px; border-radius: 15px; background: #662537; color: #ffc9d4; font: 40px var(--display); }
.account-details { margin: 0 0 25px; display: grid; gap: 4px; }
.account-details dt { color: var(--muted); font-size: 11px; margin-top: 14px; }
.account-details dd { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.account-card .button { margin-top: 10px; }
.account-card .account-action { justify-content: flex-start; gap: 12px; }
.button-icon { display: block; flex: 0 0 20px; }
.network-card h2 { font-size: 30px; margin: 15px 0 24px; }
.network-links { display: flex; flex-direction: column; }
.network-links a { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); }
.network-links a:last-child { border: 0; }
.network-links small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.network-links b { color: var(--accent); }
.progress-nav { display: flex; gap: 5px; border: 1px solid var(--border); background: #17191c; padding: 5px; border-radius: 10px; margin-bottom: 18px; }
.progress-nav button { flex: 1; min-height: 46px; border: 0; background: none; border-radius: 7px; color: var(--muted); font-size: 13px; }
.progress-nav button.selected { background: var(--brand); color: white; }
.skill-switcher { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; margin-bottom: 14px; }
.skill-switcher button { min-height: 46px; border: 1px solid #454048; background: #222026; border-radius: 8px; font-size: 10px; padding: 7px 3px; color: #bfb7c0; }
.skill-switcher button.selected { border-color: #c24c66; background: #532332; color: #ffceda; }
.real-skill-card > p { font-size: 13px; }
.real-skill-card .tag { font-size: 9px; }
.skill-numbers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 25px 0; }
.skill-numbers > div { display: flex; flex-direction: column; border-left: 2px solid #743244; padding-left: 9px; }
.skill-numbers strong { font: 600 28px var(--display); }
.skill-numbers span { font-size: 9px; color: var(--muted); }
.perk-tiers { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.tier-number { color: #b7a4ad; font-size: 9px; letter-spacing: 1.2px; display: block; margin-bottom: 9px; }
.perk-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.perk-option { min-height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 10px 5px; border: 1px solid #444048; border-radius: 10px; background: #222125; color: #afa6b0; }
.perk-option strong { font-size: 10px; line-height: 1.4; font-weight: 500; }
.perk-option > span:last-child { font-size: 9px; }
.perk-option.unlocked { background: linear-gradient(145deg,#532333,#2a2129); border-color: #a3475e; color: #f4d7e1; }
.perk-option.inspected { outline: 2px solid var(--accent); outline-offset: 2px; }
.perk-level { width: 28px; height: 28px; border: 1px solid #7b5e6c; border-radius: 50%; display: grid; place-items: center; color: #dca4b5; }
.perk-inspector { margin-top: 18px; border-color: #75404f; }
.perk-inspector h3 { margin: 12px 0; font-size: 18px; }
.perk-inspector p { margin-bottom: 8px; }
.pass-hero { background: radial-gradient(ellipse at 100% 0,#8b0f2440,transparent 75%), var(--surface); }
.pass-hero .panel-title { flex-wrap: wrap; }
.pass-level { display: flex; align-items: center; gap: 20px; margin: 26px 0; }
.pass-level > strong { font: 600 76px/1 var(--display); color: var(--accent); }
.pass-level > div { display: flex; flex-direction: column; gap: 6px; }
.pass-level span { font-size: 9px; letter-spacing: 1.4px; color: #c8adb9; }
.pass-level b { font-size: 16px; font-weight: 500; }
.pass-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid #57313f; margin-top: 25px; padding-top: 20px; }
.pass-summary > div { display: flex; flex-direction: column; }
.pass-summary strong { font: 600 30px var(--display); }
.pass-summary span { font-size: 11px; color: var(--muted); }
.pass-track-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 28px 0 16px; }
.pass-track-heading h2 { font-size: 20px; margin: 0; }
.pass-track-heading > span { font-size: 10px; color: var(--muted); }
.pass-tier-grid { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 208px; gap: 12px; overflow-x: auto; padding: 5px 3px 18px; scroll-snap-type: x mandatory; }
.pass-tier { display: flex; flex-direction: column; scroll-snap-align: start; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 16px 12px; }
.pass-tier.current-tier { border-color: var(--accent); }
.pass-tier > strong { display: block; font-size: 12px; margin: 10px 0 20px; }
.track-status { border: 1px solid #49414b; border-radius: 7px; padding: 12px 8px; margin-top: 9px; display: flex; flex-direction: column; gap: 8px; color: #99949d; }
.track-status > span { font-size: 8px; letter-spacing: 1px; }
.track-status b { font-size: 10px; font-weight: 500; }
.track-status.claimed { border-color: #7a4154; background: #432634; color: #ffc9da; }
.track-status.ready { border-color: #a75e28; background: #423021; color: #ffce9f; }
.pass-reward-track { flex: none; height: 184px; overflow-y: auto; min-width: 0; gap: 10px; padding: 10px; background: #12141630; }
.reward-track-heading { display: flex; flex-direction: column; gap: 5px; }
.reward-track-heading > span { font-size: 8px; letter-spacing: 1px; }
.pass-reward-track .reward-track-heading b { font-size: 10px; }
.pass-reward { display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; padding-top: 8px; border-top: 1px solid #ffffff10; }
.pass-reward-image { position: relative; display: grid; place-items: center; height: 62px; border-radius: 8px; background: radial-gradient(ellipse, #ffffff0b, transparent); }
.pass-reward-image img { width: 100%; height: 58px; object-fit: contain; }
.reward-image-fallback { color: var(--muted); font-size: 25px; }
.pass-reward-image:has(img:not([hidden])) .reward-image-fallback { display: none; }
.reward-quantity { position: absolute; bottom: 0; right: 0; border: 1px solid #ffffff12; border-radius: 5px; padding: 2px 6px; color: var(--text); background: #121416ed; font-size: 10px; font-weight: 650; }
.pass-reward a, .pass-reward .reward-name { display: block; color: var(--text); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.pass-reward a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pass-reward.is-claimed .reward-quantity { border-color: #7a4154; }
.reward-details-missing { margin: 0; color: var(--muted); font-size: 11px; }
@media (min-width: 640px) {
    .skill-switcher { max-width: 640px; }
    .skill-switcher button { font-size: 13px; }
    .skill-numbers strong { font-size: 38px; }
    .skill-numbers span { font-size: 12px; }
    .perk-options { gap: 15px; }
    .perk-option strong { font-size: 13px; }
    .perk-option { min-height: 125px; }
}

/* Public sign-in and administration use the same visual system. */
.entry-shell { max-width: 1440px; min-height: 100dvh; margin: auto; padding: calc(20px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.entry-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.entry-header .brand-logo { width: 130px; }
.muted-link { color: var(--muted); font-size: 11px; text-align: right; min-height: 44px; display: flex; align-items: center; }
.entry-main { flex: 1; display: flex; flex-direction: column; gap: 32px; padding: 48px 0; }
.entry-copy h1 { font: 600 clamp(52px,13vw,75px)/1 var(--display); letter-spacing: -.7px; margin: 22px 0; }
.entry-copy h1 em { color: var(--accent); font-style: normal; }
.entry-copy > p { max-width: 480px; font-size: 15px; line-height: 1.85; }
.entry-features { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; color: var(--accent); font-size: 12px; }
.entry-features b { font-weight: 450; color: #c8c1c4; margin-left: 15px; }
.terrain { max-width: 580px; margin-top: 20px; }
.terrain svg { width: 100%; fill: #2c2228; stroke: #66414b; stroke-width: .8; }
.terrain svg path + path { fill: none; stroke: #ae6374; }
.terrain > span { color: #ada1a7; font-size: 8px; letter-spacing: 1px; }
.login-card { padding: 26px; background: radial-gradient(ellipse at top right,#8b0f2425,transparent 70%),var(--surface); }
.login-card h2 { font-size: 31px; margin: 24px 0 18px; }
.login-card > p { font-size: 13px; line-height: 1.8; }
.login-card .button { margin-top: 10px; }
.steam-login-label { display: inline-flex; align-items: center; gap: 10px; text-align: left; }
.steam-icon { display: block; flex: 0 0 22px; }
.login-note { font-size: 11px !important; margin-top: 15px; }
.card-foot { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 25px; font-size: 11px; color: var(--muted); }
.entry-footer { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--border); padding-top: 22px; font-size: 10px; color: #91939b; }
.admin-shell > main { margin: 45px 0; }
.admin-shell h1 { margin-top: 12px; }
.admin-shell .entry-header .button { font-size: 11px; }
.admin-nav { display: flex; gap: 6px; margin-bottom: 30px; border-bottom: 1px solid var(--border); }
.admin-nav a { min-height: 46px; display: inline-flex; align-items: center; padding: 10px 16px; color: var(--muted); border-bottom: 2px solid transparent; font-size: 13px; }
.admin-nav a[aria-current=page] { color: var(--text); border-color: var(--accent); }
.admin-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.admin-page-heading h1 { font-size: clamp(34px, 5vw, 54px); }
.admin-page-heading .outline-tag { white-space: nowrap; }
.admin-sync-summary { margin: 24px 0; display: grid; gap: 16px; padding: 22px; }
.admin-sync-summary h2 { margin: 8px 0; font-size: 22px; }
.admin-sync-summary p { margin: 0; line-height: 1.6; }
.admin-server-grid { display: grid; gap: 20px; }
.admin-server-card { padding: 22px; min-width: 0; }
.admin-server-card h2 { margin: 7px 0 0; font-size: 22px; }
.admin-server-form { display: grid; gap: 15px; }
.admin-server-form > label, .admin-server-options > label:not(.admin-toggle) { display: grid; gap: 8px; font-size: 12px; color: var(--muted); }
.admin-server-form input:not([type=checkbox]):not([type=hidden]) { width: 100%; min-width: 0; }
.admin-server-form .small { margin: -6px 0 0; line-height: 1.6; }
.admin-server-options { display: grid; gap: 16px; }
.admin-toggle { display: flex; align-items: center; gap: 12px; min-height: 46px; font-size: 13px; cursor: pointer; }
.admin-toggle input[type=checkbox] { width: 20px; height: 20px; min-height: 20px; padding: 0; accent-color: var(--accent); flex: 0 0 20px; }
.admin-toggle small { display: block; color: var(--muted); margin-top: 4px; font-size: 11px; }
.admin-sync-facts { border-top: 1px solid var(--border); margin: 22px 0 10px; padding-top: 14px; font-size: 11px; }
.admin-sync-facts > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; padding: 5px 0; }
.admin-sync-facts dt { color: var(--muted); }
.admin-sync-facts dd { margin: 0; overflow-wrap: anywhere; }
.sync-error { color: #ffb7a8; }
.admin-server-history { margin-top: 24px; padding: 22px; }
.admin-change-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; border-top: 1px solid var(--border); padding: 14px 0; font-size: 12px; }
.admin-change-row span, .admin-change-row time { color: var(--muted); }
@media (min-width: 760px) {
    .admin-server-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-sync-summary { grid-template-columns: 1.4fr 1fr; align-items: center; }
    .admin-server-options { grid-template-columns: 100px 1fr; align-items: end; }
}
.vip-form { display: flex; align-items: center; gap: 10px; }
.vip-form .button { font-size: 12px; }
.pagination { padding-top: 20px; }
.pagination nav { display: flex; justify-content: space-between; gap: 12px; }
.pagination svg { width: 16px; height: 16px; }
.pagination a { color: var(--accent); padding: 6px; }
.pagination span { font-size: 12px; }

/* Expand into an app workspace when there is room. */
@media (min-width: 640px) {
    .table-scroll:not(.admin-table) th:nth-child(4), .table-scroll:not(.admin-table) td:nth-child(4), .table-scroll th:nth-child(6), .table-scroll td:nth-child(6) { display: table-cell; }
    th, td { padding-left: 12px; padding-right: 12px; }
    .dashboard-main { padding: 24px; }
    .panel { padding: 24px; }
    .page-heading { flex-direction: row; justify-content: space-between; align-items: center; }
    .page-heading h1 { font-size: 34px; }
    .server-select { width: 190px; flex-shrink: 0; }
    .server-select select { font-size: 13px; }
    .rank-block { width: auto; border: 0; padding: 0; margin-left: auto; flex-direction: column; align-items: flex-end; gap: 2px; }
    .rank-block > span:first-child { font-size: 9px; }
    .rank-block > span:last-child { display: block; font-size: 10px; color: var(--muted); }
    .metric-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 18px 0 22px; }
    .metric { padding: 18px; }
    .anatomy-content { grid-template-columns: 1fr 1fr; gap: 30px; }
    .body-map { height: 370px; }
    .zone-row { font-size: 13px; }
    .zone-row b { font-size: 12px; }
    .impact-total strong { font-size: 46px; }
    .impact-total span { font-size: 9px; }
    .body-caption { font-size: 9px; }
    .body-legend { font-size: 10px; }
    .zone-detail strong { font-size: 13px; }
    .table-tools { flex-direction: row; justify-content: space-between; align-items: flex-end; }
    .table-tools input { min-width: 220px; }
    .skills-intro { flex-direction: row; align-items: center; justify-content: space-between; }
    .account-grid { grid-template-columns: 1.1fr 1fr; }
    .locked-panel { padding: 40px; }
    .locked-panel .button { width: auto; min-width: 230px; }
    .entry-shell { padding: 30px; }
    .entry-header .brand-logo { width: 160px; }
    .entry-copy h1 { font-size: 74px; }
    .login-card { max-width: 480px; width: 100%; padding: 36px; }
    .entry-footer, .dashboard-footer { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 960px) {
    .app-shell { display: flex; }
    .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 15; display: flex; flex-direction: column; width: 220px; padding: 22px 18px; background: #191c1f; border-right: 1px solid var(--border); }
    .sidebar > .brand { display: flex; gap: 7px; margin-bottom: 42px; }
    .sidebar .brand-logo { width: 139px; }
    .sidebar .brand-sub { font-size: 8px; }
    .nav-label { display: block; color: #a5a0a8; font-size: 9px; font-weight: 650; letter-spacing: 1.4px; padding: 0 12px; margin-bottom: 12px; }
    .main-nav { position: static; display: flex; flex-direction: column; background: transparent; border: 0; backdrop-filter: none; padding: 0; gap: 6px; }
    .nav-item { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 48px; padding: 11px 12px; font-size: 12px; text-align: left; }
    .nav-item > span { width: 23px; font-size: 21px; }
    .server-label { margin-top: 34px; }
    .server-list { display: flex; flex-direction: column; gap: 4px; }
    .server-list button { display: flex; align-items: center; min-height: 44px; gap: 11px; padding: 10px 12px; text-align: left; border: 0; background: transparent; color: #bdafb4; border-radius: 7px; font-size: 12px; }
    .server-list button:hover, .server-list button.selected-server { background: #3b242d; color: #ffd0da; }
    .server-symbol { font: 13px var(--display); color: #c37e8f; border: 1px solid #65414c; padding: 0 4px; border-radius: 3px; }
    .server-indicator { margin-left: auto; color: #9f8b93; }
    .sidebar-bottom { display: block; margin-top: auto; padding: 28px 10px 0; }
    .sidebar-bottom a { display: flex; align-items: center; justify-content: space-between; min-height: 40px; font-size: 11px; color: #b4a9ae; }
    .sidebar-caption { padding-top: 22px; margin-top: 18px; border-top: 1px solid var(--border); color: #95838a; font-size: 7px; letter-spacing: 1.7px; }
    .workspace { flex: 1; min-width: 0; margin-left: 220px; padding-bottom: 0; }
    .topbar { min-height: 72px; padding: 14px 30px; }
    .mobile-brand { display: none; }
    .breadcrumb { display: block; }
    .dashboard-main { padding: 28px 30px; }
    .demo-notice { margin-bottom: 28px; }
    .right-stack { grid-template-columns: 1.15fr 1fr; }
    .activity-panel { display: flex; flex-direction: column; }
    .activity-chart { margin-top: auto; margin-bottom: 5px; }
    .skill-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .skill-card .eyebrow { font-size: 8px; }
    .entry-main { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 60px; padding: 80px 0; }
    .entry-copy h1 { font-size: 82px; }
    .entry-shell { padding: 34px 54px; }
}
@media (min-width: 1200px) {
    .overview-grid { grid-template-columns: 1.15fr 1fr; gap: 22px; }
    .right-stack { grid-template-columns: 1fr; gap: 22px; }
    .anatomy-content { gap: 18px; }
    .zone-row { font-size: 12px; }
    .body-map { height: 350px; }
    .metric > strong { font-size: 48px; }
    .activity-chart { height: 125px; }
    .weapon-visual { height: 100px; }
    .weapon-visual img { height: 80px; }
    .weapon-row { padding: 10px 0; }
    .weapon-panel > .text-link { font-size: 11px; padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.live-status { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.live-facts { display: grid; gap: 0; }
.live-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.live-facts strong { font-size: 18px; }
.live-facts small { text-align: right; }
.live-server-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.live-server-choices .button { border-color: var(--border); background: var(--surface); }
[data-live-stats] .panel + .panel, [data-live-personal] > .panel { margin-top: 20px; }
[data-live-weapons] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
[data-live-weapons] > p { grid-column: 1 / -1; margin: 0; }
.weapon-card { position: relative; isolation: isolate; min-width: 0; display: grid; grid-template-columns: minmax(100px, .7fr) minmax(0, 1.6fr); grid-template-rows: auto 1fr; gap: 12px 18px; padding: 18px; border: 1px solid #ffffff0c; border-radius: 16px; background: linear-gradient(125deg, #292d32, #1b1e22 65%); box-shadow: 0 5px 18px #00000014; transition: border-color .2s, background .2s; }
.weapon-card:hover { border-color: #ff9d2d40; background: linear-gradient(125deg, #303238, #1d2024 65%); }
.weapon-card-header { grid-column: 2; min-width: 0; display: flex; align-items: center; }
.weapon-card-index { position: absolute; top: 12px; left: 12px; color: #b5b6ba; font: 10px var(--font); font-weight: 650; letter-spacing: 1px; }
.weapon-card h3 { min-width: 0; width: 100%; margin: 0; font-size: 16px; letter-spacing: -.3px; overflow-wrap: anywhere; }
.weapon-card h3 a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; transition: color .2s; }
.weapon-card h3 a::after { content: '↗'; flex: none; color: #878b93; font-size: 14px; font-weight: 400; }
.weapon-card h3 a:hover { color: var(--accent); }
.weapon-card-visual { grid-column: 1; grid-row: 1 / 3; min-width: 0; display: grid; place-items: center; align-self: stretch; min-height: 118px; overflow: hidden; border-radius: 10px; background: radial-gradient(ellipse, #ffffff09, transparent 75%); }
.weapon-card-visual img { width: 100%; height: 118px; object-fit: contain; filter: drop-shadow(0 8px 6px #0006); }
.weapon-card-visual > span { padding: 12px; color: var(--muted); font-size: 11px; text-align: center; }
.weapon-card-stats { grid-column: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; margin: 0; align-content: start; }
.weapon-card-stats > div { min-width: 0; display: flex; flex-direction: column-reverse; align-items: flex-start; }
.weapon-card-stats dt { margin-top: 2px; color: #969ba5; font-size: 10px; line-height: 1.4; }
.weapon-card-stats dd { margin: 0; color: #e7e8ec; font-size: 15px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; letter-spacing: -.4px; overflow-wrap: anywhere; }
.weapon-card-stats > div:first-child dd { color: var(--accent); }
.weapon-card-stats > div:nth-child(n+4) { padding-top: 8px; border-top: 1px solid #ffffff09; }
@media (max-width: 760px) {
    [data-live-weapons] { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
    .weapon-card { grid-template-columns: 75px minmax(0, 1fr); gap: 10px; padding: 14px; }
    .weapon-card-stats { gap: 10px 6px; }
}
.progress-tab-level { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 5px; background: #ffffff15; font-size: 10px; }
.pass-progress-focus { padding: 20px; border: 1px solid #ff9d2d40; border-radius: 12px; background: linear-gradient(120deg, #ff9d2d10, #15171980); }
.pass-progress-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pass-progress-heading h3 { margin: 6px 0 0; font-size: 23px; }
.pass-progress-heading > strong { color: var(--accent); font: 600 44px/1 var(--display); }
.pass-progress-heading > strong small { font-size: 20px; }
.pass-progress-focus .progress-track { height: 12px; margin: 18px 0 12px; background: #ffffff10; border-radius: 10px; }
.pass-progress-focus .progress-track i, .overview-pass .progress-track i { background: linear-gradient(90deg, #e57622, #ffbb58); }
.pass-progress-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.pass-progress-caption b { color: #ffd5a0; }
.pass-tier { position: relative; }
.pass-tier.next-tier { border-color: var(--accent); box-shadow: 0 0 0 1px #ff9d2d30; }
.pass-tier-marker { position: absolute; top: 13px; right: 10px; font-size: 8px; letter-spacing: .5px; color: #99c7b1; }
.next-tier .pass-tier-marker { color: var(--accent); }
.progression-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.progression-glance { min-width: 0; }
.progression-glance .panel-title { margin-bottom: 16px; }
.progression-glance .text-link { font-size: 11px; }
.overview-skill-list { display: grid; gap: 12px; }
.overview-skill { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
.overview-skill > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.overview-skill strong { font-size: 12px; font-weight: 550; }
.overview-skill span, .overview-skill small { font-size: 10px; color: var(--muted); font-weight: 400; }
.overview-skill > b { font-size: 14px; align-self: center; }
.overview-skill .progress-track { grid-column: 1 / -1; margin-top: 3px; }
.overview-pass { background: radial-gradient(ellipse at 100% 0, #ff9d2d0e, transparent 70%), var(--surface); }
.overview-pass-level { display: flex; align-items: center; gap: 15px; margin: 14px 0 18px; }
.overview-pass-level > strong { font: 600 54px/1 var(--display); color: var(--accent); }
.overview-pass-level > div { display: flex; flex-direction: column; gap: 5px; }
.overview-pass-level > div span { font-size: 9px; letter-spacing: 1px; color: var(--muted); }
.overview-pass-level > div b { font-size: 13px; font-weight: 500; }
.overview-pass-level > .outline-tag { margin-left: auto; }
.overview-pass-next { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); }
.overview-pass-next b { color: var(--accent); }
.overview-pass .progress-track { height: 8px; }
.overview-pass-remaining { margin: 7px 0 14px; font-size: 11px; }
.overview-pass-claims { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 11px; color: var(--muted); }
.overview-pass-claims b { color: var(--text); }
.overview-pass .panel-note { margin: 16px 0 0; font-size: 10px; }
@media (max-width: 760px) {
    .progression-overview { grid-template-columns: minmax(0, 1fr); }
    .pass-progress-focus { padding: 15px; }
}
.minigames-page { max-width: 1200px; padding: 28px 24px 60px; margin: auto; }
.minigames-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 44px; }
.minigames-title { display:flex; align-items:center; gap:12px; }
.minigames-title img { width:28px; height:28px; flex-shrink:0; filter:brightness(0) invert(1); }
.minigame-equipment { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 22px; }
.minigame-equipment-item { display:flex; align-items:center; gap:12px; flex:1 1 200px; min-width:0; padding:10px 14px; border:1px solid var(--border); border-radius:10px; background:var(--surface); }
.minigame-equipment-item:hover { border-color:var(--accent); }
.minigame-equipment-item img { width:64px; height:64px; object-fit:contain; flex-shrink:0; }
.minigame-equipment-item small { display:block; font-size:9px; letter-spacing:1px; color:var(--muted); margin-bottom:5px; }
.minigame-equipment-item strong { font-size:12px; }
.minigames-carousel { min-width:0; margin:26px 0; }
.minigames-carousel-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:44px; margin-bottom:8px; }
.minigames-carousel-controls { display:flex; gap:8px; }
.minigames-carousel-controls[hidden] { display:none; }
.minigames-carousel-controls button { width:44px; height:44px; display:grid; place-items:center; border:1px solid var(--border); border-radius:10px; color:var(--text); background:var(--surface); font-size:25px; line-height:1; }
.minigames-carousel-controls button:hover:not(:disabled) { border-color:var(--accent); color:var(--accent); }
.minigames-carousel-controls button:disabled { opacity:.3; cursor:default; }
.minigames-picker { display:grid; grid-auto-flow:column; grid-auto-columns:140px; gap:10px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-inline:2px; padding:3px 2px 12px; margin:0; scrollbar-width:thin; scrollbar-color:var(--accent) transparent; }
.minigames-picker>.minigame-choice { scroll-snap-align:start; }
.minigames-picker:focus-visible,.minigames-carousel-controls button:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
@media(max-width:480px){.minigames-picker{grid-auto-columns:124px}}
.minigame-choice { min-width: 0; padding: 12px 8px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; transition: border-color .2s; }
.minigame-choice img { display:block; width:100%; height:90px; object-fit:contain; margin-bottom:12px; }
.minigame-choice strong { display:block; font-size:12px; text-align:center; }
.minigame-choice.selected, .minigame-choice:hover { border-color:var(--accent); background:linear-gradient(150deg,#ff9d2d14,var(--surface)); }
.minigames-filters { display:flex; flex-wrap:wrap; align-items:end; gap:16px; margin:18px 0; }
.minigames-filters label { display:grid; gap:6px; color:var(--muted); font-size:12px; }
.minigames-filters select { min-width:180px; padding:12px; border:1px solid var(--border); border-radius:8px; background:var(--bg); color:var(--text); }
.minigames-personal { display:flex; align-items:center; flex-wrap:wrap; gap:10px 20px; padding:16px; margin:20px 0; border:1px solid #ff9d2d50; border-radius:10px; background:#ff9d2d0a; }
.minigames-personal span { font-size:11px; color:var(--muted); }
.minigames-personal strong { color:var(--accent); }
.minigames-coverage { display:flex; flex-wrap:wrap; gap:8px 20px; margin-top:20px; color:var(--muted); font-size:10px; }
@media(max-width:480px){ .minigames-page { padding:20px 14px; } .minigames-filters label,.minigames-filters select{width:100%;} }

.nav-item>span>img{display:block;width:23px;height:23px;filter:brightness(0) invert(1);opacity:.7}
.nav-item.active>span>img{opacity:1}
@media(min-width:960px){.server-list a{display:flex;align-items:center;min-height:44px;gap:11px;padding:10px 12px;text-align:left;color:#bdafb4;border-radius:7px;font-size:12px}.server-list a:hover,.server-list a.selected-server{background:#3b242d;color:#ffd0da}}

.ui-icon{display:block;flex-shrink:0;width:24px;height:24px}
.nav-item>span>.ui-icon{width:23px;height:23px}
.page-title-with-icon{display:flex;align-items:center;gap:14px}
.page-title-with-icon>[data-page-icon]{flex-shrink:0;color:var(--accent)}
.page-title-with-icon>[data-page-icon][hidden]{display:none}
.page-title-with-icon .ui-icon{width:30px;height:30px}
.page-title-with-icon>#page-title-text{color:var(--text)}
.with-ui-icon{display:flex;align-items:center;gap:10px}
.with-ui-icon>.ui-icon{color:var(--accent)}
.minigame-fixed-mode{display:grid;gap:6px;min-width:160px}
.minigame-fixed-mode>span{font-size:12px;color:var(--muted)}
.minigame-fixed-mode>strong{display:flex;align-items:center;min-height:44px;font-size:13px;font-weight:500;padding:12px 0}

/* DeerIsle Hall of Fame uses the portal palette and shared panels. */
@media(max-width:959px){.main-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.main-nav .nav-item{font-size:9px}}
.hof-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}
.hof-stat{border-top:2px solid currentColor}
.hof-stat .eyebrow{color:inherit}
.hof-stat-value{font-family:var(--display);font-size:38px;line-height:1.3;margin-top:12px;color:var(--text)}
.hof-stat-value>span{font-size:24px;color:var(--muted)}
.hof-stat p{font-size:12px;margin:6px 0 0}
.hof-difficulty-0{color:#9bc8ab}.hof-difficulty-1{color:#e7c479}.hof-difficulty-2{color:var(--accent)}.hof-difficulty-3{color:var(--brand-light)}
.hof-page td.hof-duration{font-variant-numeric:tabular-nums;font-weight:650;color:var(--accent);white-space:nowrap}
.hof-rank{font-weight:650;font-size:18px}
.hof-page .table-scroll table{min-width:820px}
.hof-page .table-scroll th:nth-child(n),.hof-page .table-scroll td:nth-child(n){display:table-cell}
.hof-page .table-scroll .text-link{max-width:240px;overflow-wrap:anywhere}
.hof-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:20px}
.filter-status:empty{display:none}
[data-live-filters][aria-busy="true"] .table-scroll{opacity:.55}
@media(max-width:700px){.hof-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hof-stat-value{font-size:30px}.hof-stat-value>span{font-size:19px}}
