:root {
  --bg: #121410; --bg2: #161913; --card: #1b1e18; --line: #2c3127; --line2: #3a4033; --line3: #4a5242;
  --fg: #e8e4d8; --fg2: #c9c7ba; --muted: #a9acaa; --muted: #a9ac9a;
  --hot: #e8792b; --hot-hover: #f0934f; --hot-bg: #2a1c12; --hot-line: #6b3a18; --hot-fg: #e3cdb8;
  --olive: #c5d195; --olive-line: #5a6640; --ok: #7fc46a; --bad: #f08a7a; --warn: #f0c36a;
  --code: #0d0f0b; --radius: 8px;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--fg); text-underline-offset: 3px; }
a:hover { color: var(--hot-hover); }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--hot); color: #121410; padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.section { padding-top: 40px; padding-bottom: 56px; }
.section-sm { padding-top: 24px; padding-bottom: 56px; }
.page-pad { padding-top: 56px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 16px; }
.cols { display: flex; flex-wrap: wrap; gap: 36px; }
.col-main { flex: 999 1 560px; min-width: 0; }
.col-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.col-filter { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.wrap-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.push { margin-left: auto; }
.center { text-align: center; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-bottom: 16px; }
.section-head .muted:last-child { margin-left: auto; }

/* Type */
.display { font: 700 clamp(40px, 7vw, 72px)/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.display-md { font-size: clamp(36px, 6vw, 60px); }
.h1 { font: 700 40px/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.h2 { font: 700 30px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.h3 { font: 700 22px/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.h4 { font: 700 18px/1.2 var(--display); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.lead { font-size: 19px; color: var(--fg2); max-width: 640px; }
.lead-sm { font-size: 18px; color: var(--fg2); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hot); }
.muted { color: var(--muted); }
.fg { color: var(--fg); }
.small { font-size: 14px; }
.ok { color: var(--ok); }
.bad { color: var(--bad); }
.warn { color: var(--warn); }
.prose p + p { margin-top: 12px; }
.prose, .prose-page p { color: var(--fg2); }
.prose-page h2 { margin-top: 28px; margin-bottom: 8px; }
.creator { color: var(--olive); }

/* Header & footer */
.topbar { background: var(--bg2); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--hot); }
.logo span { font: 700 26px var(--display); letter-spacing: 0.04em; color: var(--fg); }
.logo b { color: var(--hot); }
.mainnav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-weight: 500; }
.mainnav a { text-decoration: none; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.mainnav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--hot); }
.topbar-actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.footer { border-top: 1px solid var(--line); background: var(--bg2); }
.footer-in { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer a { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 6px; border: 1px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; white-space: nowrap; background: none; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn-lg { min-height: 52px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--hot); color: #121410; }
.btn-primary:hover { background: var(--hot-hover); color: #121410; }
.btn-ghost { border-color: var(--line3); color: var(--fg); }
.btn-ghost:hover { border-color: var(--hot); color: var(--fg); }
.btn-ghost.is-on { border-color: var(--hot); color: var(--hot-hover); }
.btn-danger { background: #5a1f17; color: #ffd9d2; border-color: #8a3326; }
.btn-danger:hover { background: #73281e; color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--muted); text-decoration: underline; cursor: pointer; }
.linkbtn:hover { color: var(--hot-hover); }
form.inline { display: inline; }
.inline-form { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline-form input:not([type="hidden"]) { min-height: 38px; padding: 6px 10px; background: var(--card); border: 1px solid var(--line2); border-radius: 6px; }

/* Tags & pills */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.4; vertical-align: middle; }
.tag-light { background: var(--fg); color: #121410; }
.tag-dark { background: rgba(18,20,16,0.88); color: var(--fg); }
.tag-mid { background: var(--line); color: var(--fg); }
.tag-hot { background: var(--hot); color: #121410; }
.tag-premium { border: 1px solid var(--olive-line); color: var(--olive); }
.tag-status-pending { background: #3d3415; color: var(--warn); }
.tag-status-approved { background: #1e2a17; color: var(--ok); }
.tag-status-rejected { background: #3a1915; color: var(--bad); }
.tag-plan-free { background: var(--line); color: var(--muted); }
.tag-plan-premium { border: 1px solid var(--olive-line); color: var(--olive); }
.tag-plan-featured { background: var(--hot); color: #121410; }
.pill { font-size: 13px; font-weight: 600; padding: 3px 9px; border-radius: 4px; background: var(--line); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { text-decoration: none; padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--fg2); background: rgba(27,30,24,0.85); }

/* Flash */
.flash { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flash-ok { background: #1e2618; border-color: var(--olive-line); color: #d7e0b4; }
.flash-error { background: #2a1513; border-color: #7a3328; color: #ffcfc6; }
.flash-warn { background: #2b2512; border-color: #6b5a22; color: #f3dfa6; }

/* Placeholder stripes */
.ph, .ph-stripes { background-color: #23271f; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 12px, transparent 12px 24px); }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Hero / search */
.hero { border-bottom: 1px solid var(--line); }
.hero-fade { background: linear-gradient(to bottom, rgba(18,20,16,0.5), var(--bg)); }
.hero-in { padding-top: 64px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.live { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fg2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.search { display: flex; flex-wrap: wrap; gap: 12px; max-width: 920px; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line2); border-radius: 8px; padding: 4px; }
.seg a { text-decoration: none; padding: 9px 16px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 6px; font-weight: 600; color: var(--fg2); }
.seg a[aria-current="true"] { background: var(--fg); color: #121410; }
.search-box { flex: 1 1 300px; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line2); border-radius: 8px; padding: 0 14px; color: var(--muted); }
.search-box input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 13px 0; outline: none; color: var(--fg); }
.search-box:focus-within { border-color: var(--hot); }
.search-box-sm input { padding: 9px 0; }

/* Filters & forms */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 14px; }
.filters label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
select, input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="number"], input:not([type]), textarea {
  background: var(--card); border: 1px solid var(--line2); border-radius: 6px; padding: 9px 11px; color: var(--fg); min-height: 42px; width: 100%; }
.filters select { width: auto; min-height: 38px; padding: 6px 10px; font-size: 14px; }
select:focus, input:focus, textarea:focus { border-color: var(--hot); outline: none; }
textarea { resize: vertical; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.form small { color: var(--muted); font-weight: 400; font-size: 13px; }
.form .check, .checks label, .radios label { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
.form-row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.form-row label { flex: 1 1 200px; }
fieldset { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.radios legend { font-weight: 500; margin-bottom: 6px; width: 100%; }
.checks { display: flex; flex-direction: column; gap: 6px; }
.checks label { display: flex; min-height: 32px; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--hot); margin: 0; }
input[type="file"] { padding: 8px; background: var(--card); border: 1px dashed var(--line3); border-radius: 6px; }

/* Cards */
.card { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.card-hot { background: var(--hot-bg); border-color: var(--hot-line); display: flex; flex-direction: column; gap: 12px; }
.card-hot p { color: var(--hot-fg); }
.card.danger { border-color: #5a2a22; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: 10px; }

/* Server list */
.slist { display: flex; flex-direction: column; gap: 10px; }
.srow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.srow:hover { border-color: var(--line3); color: var(--fg); }
.srow-rank { width: 30px; font: 700 22px var(--display); color: var(--muted); }
.srow-logo { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--line); flex-shrink: 0; }
.srow-logo-text { display: inline-flex; align-items: center; justify-content: center; font: 700 18px var(--display); color: var(--hot); }
.srow-main { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.srow-name { font-weight: 600; font-size: 17px; }
.srow-meta { font-size: 14px; color: var(--muted); }
.srow-slots { font-size: 14px; color: var(--fg2); min-width: 70px; text-align: right; }
.srow-votes { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); min-width: 60px; justify-content: flex-end; }

.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.fcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; }
.fcard:hover { border-color: var(--hot-line); color: var(--fg); }
.fcard-img { position: relative; aspect-ratio: 16 / 8; display: flex; justify-content: space-between; align-items: flex-start; padding: 12px; }
.fcard-img .tag { position: relative; }
.fcard-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.fcard-name { font: 700 24px/1.1 var(--display); text-transform: uppercase; }
.fcard-foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; }
.squad-mini { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.squad-mini:last-child { border-bottom: 0; }
.squad p { margin: 10px 0; }

/* Banner / showcase */
.banner { position: relative; min-height: 380px; display: flex; align-items: flex-end; }
.banner-fade { position: relative; width: 100%; background: linear-gradient(to top, var(--bg) 0%, rgba(18,20,16,0.88) 55%, rgba(18,20,16,0) 100%); }
.banner-in { padding-top: 140px; padding-bottom: 30px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; }
.banner-logo { width: 112px; height: 112px; border-radius: 12px; border: 2px solid var(--hot); object-fit: cover; flex-shrink: 0; background: var(--line); }
.banner-logo-text { display: inline-flex; align-items: center; justify-content: center; font: 700 40px var(--display); color: var(--hot); }
.banner-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.statbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.statbar-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.stat-k { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-v { font: 700 34px/1.1 var(--display); }
.stat-v-sm { font-size: 24px; padding-top: 6px; }
.feat-list { display: flex; flex-wrap: wrap; gap: 10px; }
.feat { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; font-weight: 500; }
.feat svg { color: var(--hot); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery a { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery span { position: absolute; left: 10px; bottom: 10px; font-size: 13px; background: rgba(18,20,16,0.85); padding: 3px 8px; border-radius: 4px; }
.rules { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--fg2); }
.review { padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 8px; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.review p { color: var(--fg2); white-space: pre-line; }
.review-foot { display: flex; gap: 14px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--olive); flex-shrink: 0; }
.avatar-lg { width: 44px; height: 44px; color: var(--hot); }
.avatar-xl { width: 72px; height: 72px; font-size: 26px; color: var(--hot); }
.person { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 12px 0 0; font-size: 15px; }
.kv dt { color: var(--muted); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.kv dd { margin: 0; padding: 8px 0; text-align: right; font-weight: 600; border-bottom: 1px solid var(--line); }
.bullets { padding-left: 20px; color: var(--fg2); display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0; }

/* Customs */
.intro { border-bottom: 1px solid var(--line); }
.intro-in { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px; padding-top: 48px; padding-bottom: 36px; }
.intro-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; }
.intro-stats { display: flex; flex-wrap: wrap; gap: 28px; }
.intro-stats div { display: flex; flex-direction: column; }
.intro-stats b { font: 700 34px/1 var(--display); }
.intro-stats span { font-size: 13px; color: var(--muted); }
.catnav { display: flex; flex-direction: column; gap: 4px; }
.catnav a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 6px; text-decoration: none; color: var(--fg2); border: 1px solid transparent; }
.catnav a[aria-current="true"] { background: var(--line); border-color: var(--line3); color: var(--fg); }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ccard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ccard-img { position: relative; aspect-ratio: 16 / 10; display: flex; justify-content: space-between; align-items: flex-start; padding: 10px; }
.ccard-img .tag { position: relative; }
.ccard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ccard-name { font-weight: 600; font-size: 17px; text-decoration: none; line-height: 1.25; }
.ccard-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--fg2); }
.ccard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 10px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.shots { display: flex; flex-direction: column; gap: 8px; }
.shot-main { position: relative; display: block; aspect-ratio: 16 / 8; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.shot-main img { width: 100%; height: 100%; object-fit: cover; }
.shot-empty { display: flex; align-items: center; justify-content: center; }
.shot-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.shot-thumbs a { aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.shot-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-top: 6px; overflow-x: auto; }
.tabs a { padding: 12px 18px; min-height: 44px; text-decoration: none; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--hot); }
.code { margin: 0; padding: 18px; background: var(--code); border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; max-height: 560px; font: 13px/1.6 var(--mono); color: var(--fg2); white-space: pre; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 16px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.steps p { color: var(--fg2); }
.step-n { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--hot); color: #121410; display: flex; align-items: center; justify-content: center; font: 700 20px var(--display); }
.snippet { display: block; max-width: 100%; overflow-x: auto; padding: 8px 12px; background: var(--code); border: 1px solid var(--line); border-radius: 6px; font: 13px var(--mono); color: #f0b78a; white-space: pre; }
.note { padding: 14px 16px; border: 1px dashed var(--line3); border-radius: var(--radius); color: var(--fg2); font-size: 15px; }
.comment { padding: 12px 0; border-bottom: 1px solid var(--line); }
.comment p { margin-top: 4px; color: var(--fg2); white-space: pre-line; }
.person-xl { gap: 18px; }

/* Dashboard & admin */
.dash-item { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.dash-main { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dash-name { font-weight: 600; font-size: 17px; }
.dash-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.thumb-card { display: flex; flex-direction: column; gap: 4px; }
.thumb-card img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.thumb-row { display: flex; align-items: center; gap: 12px; flex-direction: row !important; }
.thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.thumb-wide { width: 140px; height: 52px; object-fit: cover; border-radius: 6px; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.statgrid .card { display: flex; flex-direction: column; }
.statgrid b { font: 700 34px/1 var(--display); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { color: var(--muted); font-weight: 600; background: var(--bg2); }
details summary { cursor: pointer; font-weight: 600; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; color: var(--muted); font-size: 14px; }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar-actions { margin-left: 0; width: 100%; }
  .banner { min-height: 300px; }
  .banner-in { padding-top: 90px; }
  .banner-logo { width: 80px; height: 80px; }
  .srow-slots { display: none; }
  .search .btn { width: 100%; }
  .h1 { font-size: 32px; }
}
section > .h2:first-child, section > .h3:first-child { margin-bottom: 14px; }
.review-foot { align-items: center; }
.review-foot .linkbtn, .review-foot a { font-size: 14px; }
@media (max-width: 640px) {
  .srow-rank { display: none; }
  .srow { gap: 8px 12px; }
  .section { padding-top: 28px; padding-bottom: 40px; }
}

/* v2 */
.live-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #d7f0c9; background: #1e2a17; border: 1px solid #3b5a2c; padding: 3px 9px; border-radius: 4px; white-space: nowrap; }
.live-badge .dot { width: 7px; height: 7px; }
.live-off { color: var(--muted); background: var(--line); border-color: var(--line2); }
.tags .live-badge { line-height: 1.4; }
.dot-inline { display: inline-block; margin-right: 6px; vertical-align: middle; }
.stat-of { font-size: 22px; }
.chart { margin: 8px 0 4px; }
.chart svg { width: 100%; height: 120px; display: block; }
.chart .bar { fill: var(--line3); }
.chart .bar-hot { fill: var(--hot); }
.chart-axis { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; font-size: 11px; color: var(--muted); margin-top: 4px; }
.chart-axis span { white-space: nowrap; overflow: visible; }
.claim-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.claim-code code { font: 700 28px var(--mono); letter-spacing: 0.06em; color: var(--hot); background: var(--code); border: 1px solid var(--line2); padding: 8px 16px; border-radius: 8px; }

/* ---------- Tools: field kit ---------- */
.mono { font-family: var(--mono); }
.kit-hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden;
  background:
    linear-gradient(var(--bg) 0, transparent 30%, transparent 70%, var(--bg) 100%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(197,209,149,0.06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(197,209,149,0.06) 39px 40px),
    radial-gradient(ellipse at 85% 30%, rgba(232,121,43,0.16), transparent 55%), var(--bg); }
.kit-hero .wrap { padding-top: 72px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 18px; }
.kit-eyebrow { color: var(--olive); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.kit-eyebrow::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--hot); border-radius: 50%; box-shadow: 0 0 0 4px rgba(232,121,43,0.2); vertical-align: 1px; }
.kit-title { font: 700 clamp(40px, 7vw, 76px)/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.kit-lede { max-width: 640px; color: var(--fg2); font-size: 18px; }
.kit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.kit-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; transition: border-color .15s, transform .15s; overflow: hidden; }
.kit-card::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: repeating-linear-gradient(135deg, var(--hot) 0 10px, transparent 10px 20px); opacity: 0.7; }
.kit-card:hover { border-color: var(--hot); transform: translateY(-2px); color: var(--fg); }
.kit-num { font-size: 13px; color: var(--hot); letter-spacing: 0.1em; border: 1px solid var(--hot-line); align-self: flex-start; padding: 2px 8px; border-radius: 4px; background: var(--hot-bg); }
.kit-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.kit-files span { font-size: 12px; padding: 3px 8px; background: var(--code); border: 1px solid var(--line2); border-radius: 4px; color: var(--olive); }
.kit-go { font-weight: 700; color: var(--hot); }
.kit-privacy { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.kit-privacy svg { color: var(--ok); flex: none; }
.kit-head { border-bottom: 1px solid var(--line); background: repeating-linear-gradient(90deg, transparent 0 39px, rgba(197,209,149,0.05) 39px 40px), var(--bg2); }
.kit-head .wrap { padding-top: 36px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 10px; }
.kit-crumbs { display: flex; gap: 8px; font-family: var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.kit-crumbs a { color: var(--olive); }

.kit-drop { display: flex; flex-direction: column; gap: 14px; }
.kit-file { position: relative; display: flex !important; flex-direction: row !important; align-items: center; gap: 16px !important; padding: 22px; border: 2px dashed var(--line3); border-radius: 10px; background: var(--code); cursor: pointer; transition: border-color .15s, background .15s; }
.kit-file:hover, .kit-file:focus-within, .kit-file.is-set { border-color: var(--hot); background: #15120d; }
.kit-file b { display: block; font-size: 17px; }
.kit-file small { display: block; }
.kit-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.kit-file-ico { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--hot-bg); color: var(--hot); border: 1px solid var(--hot-line); }
.kit-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.kit-or::before, .kit-or::after { content: ''; flex: 1; height: 1px; background: var(--line2); }
.kit-paste { font: 13px/1.55 var(--mono); background: var(--code) !important; min-height: 160px; }

.verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 22px 24px; border-radius: 10px; border: 1px solid; border-left-width: 6px; }
.verdict-word { font: 700 34px/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.verdict-meta { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.verdict-ok { background: #18210f; border-color: #4f6b33; color: #d9e8c2; }
.verdict-ok .verdict-word { color: var(--ok); }
.verdict-warn { background: #241f0f; border-color: #6b5a22; color: #f3e3b4; }
.verdict-warn .verdict-word { color: var(--warn); }
.verdict-bad { background: #251210; border-color: #7a3328; color: #ffd7cf; }
.verdict-bad .verdict-word { color: var(--bad); }

.issue { padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid; border-radius: 8px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.issue-err { border-left-color: var(--bad); }
.issue-warn { border-left-color: var(--warn); }
.issue-top { display: flex; align-items: center; gap: 12px; }
.issue-title { font-size: 18px; font-weight: 700; }
.tag-err { background: #3a1915; color: var(--bad); text-transform: uppercase; letter-spacing: 0.05em; }
.tag-warn { background: #3d3415; color: var(--warn); text-transform: uppercase; letter-spacing: 0.05em; }
.issue-fix { padding: 10px 12px; background: #18210f; border: 1px solid #3c5228; border-radius: 6px; color: #d9e8c2; }
.issue-fix b { color: var(--ok); text-transform: uppercase; font-size: 12px; letter-spacing: 0.08em; margin-right: 8px; }
.kit-code { background: var(--code); border: 1px solid var(--line); border-radius: 6px; padding: 8px 0; overflow-x: auto; font: 13px/1.6 var(--mono); }
.cl { display: flex; white-space: pre; min-width: max-content; padding-right: 14px; }
.cl .ln { flex: none; width: 56px; padding-right: 14px; text-align: right; color: #5d6455; user-select: none; }
.cl code { font: inherit; color: var(--fg2); }
.cl.hit { background: rgba(240,138,122,0.12); box-shadow: inset 3px 0 0 var(--bad); }
.issue-warn .cl.hit { background: rgba(240,195,106,0.10); box-shadow: inset 3px 0 0 var(--warn); }
.cl.hit .ln { color: var(--fg); }
.cl.hit code { color: var(--fg); }

.kit-out { padding: 20px 22px; border-radius: 10px; background: var(--hot-bg); border: 1px solid var(--hot-line); }
.kit-out-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.kit-out-head p { color: var(--hot-fg); margin-top: 4px; }
.kit-steps { margin: 0; padding: 18px 18px 18px 40px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; gap: 6px; color: var(--fg2); }

.kit-tune { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 20px; padding: 18px; background: var(--code); border: 1px solid var(--line); border-radius: 10px; }
.kit-tune-preset { grid-column: 1 / -1; }
.kit-tune-row { display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 12px !important; padding-bottom: 10px; border-bottom: 1px dashed var(--line2); }
.kit-tune-row select { width: auto; min-width: 150px; }
.kit-tune .check { grid-column: 1 / -1; }
.kit-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.kit-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.kit-table th, .kit-table td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.kit-table th:first-child, .kit-table td:first-child { text-align: left; }
.kit-table thead th { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--bg2); }
.kit-table tbody tr:last-child > * { border-bottom: 0; }
.kit-table .up { color: var(--ok); font-weight: 700; }
.kit-table .down { color: var(--bad); font-weight: 700; }

.ev-group { margin: 0; padding: 18px 18px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); min-width: 0; }
.ev-group legend { display: flex; align-items: baseline; gap: 12px; padding: 0 8px; }
.ev-mult { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--muted); }
.ev-mult select { width: auto; }
.ev-head, .ev-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px 44px; align-items: center; gap: 12px; }
.ev-head { padding: 0 0 6px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: 0.06em; }
.ev-row { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.ev-row:last-child { border-bottom: 0; }
.ev-row.is-off .ev-name { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line3); }
.ev-name { font-size: 13px; overflow-wrap: anywhere; }
.ev-row input[type="number"] { min-height: 38px; padding: 6px 10px; text-align: right; }
.ev-row input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--hot); justify-self: center; }
.kit-sticky { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; padding: 14px 0; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -12px 24px rgba(18,20,16,0.9); }
@media (max-width: 640px) {
  .kit-hero .wrap { padding-top: 48px; padding-bottom: 40px; }
  .verdict-word { font-size: 28px; }
  .kit-file { padding: 16px; }
  .cl .ln { width: 40px; }
}

/* ---------- Suggestions and support ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta-band { border-top: 1px solid var(--line); background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(232,121,43,0.035) 22px 44px), var(--bg2); }
.cta-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 22px; padding-bottom: 22px; }
.cta-band-in b { display: block; font: 700 22px/1.2 var(--display); text-transform: uppercase; letter-spacing: 0.03em; }
.kind-pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kind-pick legend { margin-bottom: 12px; }
.kind-opt, .amount { position: relative; cursor: pointer; }
.kind-opt input, .amount input { position: absolute; opacity: 0; }
.kind-opt span { display: block; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 8px; background: var(--code); font-weight: 600; }
.kind-opt input:checked + span, .amount input:checked + span { border-color: var(--hot); background: var(--hot-bg); color: var(--fg); box-shadow: inset 0 0 0 1px var(--hot); }
.kind-opt input:focus-visible + span, .amount input:focus-visible + span { outline: 2px solid var(--hot); outline-offset: 2px; }
.amounts { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.amount-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.amount span { display: grid; place-items: center; min-height: 64px; border: 1px solid var(--line2); border-radius: 10px; background: var(--code); font: 700 28px var(--display); }
.amount-custom span { font-size: 20px; text-transform: uppercase; letter-spacing: 0.04em; }
.wall { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.wall li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px dashed var(--line2); }
.wall li:last-child { border-bottom: 0; padding-bottom: 0; }
.wall b { color: var(--hot-hover); }
.feedback-msg { margin-top: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 640px) { .amount-row { grid-template-columns: repeat(3, 1fr); } }
.kind-opt { display: block !important; }
.kind-pick legend { font: 700 22px/1.15 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Factions ---------- */
.hot { color: var(--hot); }
.plain-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.emblem { display: block; flex-shrink: 0; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.45)); }
.fx-hero { background:
  radial-gradient(ellipse at 85% 40%, rgba(208,71,58,0.18), transparent 55%),
  radial-gradient(ellipse at 10% 10%, rgba(232,121,43,0.14), transparent 55%),
  repeating-linear-gradient(0deg, transparent 0 39px, rgba(197,209,149,0.06) 39px 40px),
  repeating-linear-gradient(90deg, transparent 0 39px, rgba(197,209,149,0.06) 39px 40px), var(--bg); }
.fx-stats { display: flex; flex-wrap: wrap; gap: 8px 26px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.fx-stats b { color: var(--fg); font-size: 18px; }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.fx-card { --fx: var(--hot); position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--fx); border-radius: 10px; transition: transform .15s, border-color .15s; }
.fx-card:hover { transform: translateY(-2px); border-color: var(--fx); color: var(--fg); }
.fx-card-top { display: flex; gap: 14px; align-items: flex-start; }
.fx-card-id { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fx-tag { color: var(--fx); font-size: 13px; letter-spacing: 0.08em; }
.fx-name { font: 700 24px/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.fx-motto { font-style: italic; color: var(--fg2); font-size: 14px; }
.fx-card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-rec { background: var(--hot-bg); color: var(--hot); border: 1px solid var(--hot-line); }
.pill-mutual { background: #1e2a17; color: var(--ok); font-size: 11px; }
.pill-war { background: #3a1915; color: var(--bad); font-size: 11px; }
.fx-card-foot { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line2); }
.fx-card-foot svg { vertical-align: -2px; color: var(--warn); }
.fx-c-rust { --fx: #e8792b; } .fx-c-blood { --fx: #d0473a; } .fx-c-olive { --fx: #a3b26a; } .fx-c-toxic { --fx: #9bd23c; }
.fx-c-bone { --fx: #e2dccb; } .fx-c-steel { --fx: #7fa3bd; } .fx-c-gold { --fx: #e0b33a; } .fx-c-violet { --fx: #a57ad6; }
.fx-feed { display: flex; flex-direction: column; gap: 12px; }
.fx-feed-item { display: flex; gap: 10px; text-decoration: none; padding-bottom: 12px; border-bottom: 1px dashed var(--line2); }
.fx-feed-item:last-child { border-bottom: 0; padding-bottom: 0; }
.fx-feed-item > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fx-feed-body { overflow-wrap: anywhere; }

.fx-pick { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.fx-pick legend { font-weight: 500; margin-bottom: 8px; }
.fx-sym-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.fx-col-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.fx-sym, .fx-col { position: relative; cursor: pointer; display: block !important; }
.fx-sym input, .fx-col input { position: absolute; opacity: 0; }
.fx-sym > span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border: 1px solid var(--line2); border-radius: 8px; background: var(--code); }
.fx-col > span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 8px; background: var(--code); font-size: 14px; font-weight: 600; }
.fx-sym input:checked + span, .fx-col input:checked + span { border-color: var(--hot); box-shadow: inset 0 0 0 1px var(--hot); background: var(--hot-bg); }
.fx-sym input:focus-visible + span, .fx-col input:focus-visible + span { outline: 2px solid var(--hot); outline-offset: 2px; }
.sw { width: 18px; height: 18px; border-radius: 50%; flex: none; border: 2px solid rgba(255,255,255,0.15); }
.sw-rust { background: #e8792b; } .sw-blood { background: #d0473a; } .sw-olive { background: #a3b26a; } .sw-toxic { background: #9bd23c; }
.sw-bone { background: #e2dccb; } .sw-steel { background: #7fa3bd; } .sw-gold { background: #e0b33a; } .sw-violet { background: #a57ad6; }

.fx-banner { --fx: var(--hot); min-height: 420px; }
.fx-banner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--fx); }
.fx-emblem-lg { flex-shrink: 0; }
.fx-title { font-size: clamp(34px, 5vw, 56px); overflow-wrap: anywhere; }
.fx-tag-lg { color: var(--fx); font-size: 0.6em; vertical-align: 0.25em; }
.fx-motto-lg { font-size: 19px; font-style: italic; color: var(--fg2); }
.count-dot { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--hot); color: #121410; font-size: 12px; font-weight: 700; }
.fx-join { border-color: var(--hot-line); }
.fx-req { padding: 12px 14px; background: var(--code); border-left: 3px solid var(--hot); border-radius: 6px; display: flex; flex-direction: column; gap: 4px; }
.fx-req b { color: var(--hot); letter-spacing: 0.08em; }
.fx-roster { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fx-roster li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.fx-roster li:last-child { border-bottom: 0; }
.fx-roster-name { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.spec { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--olive); border: 1px solid var(--olive-line); padding: 1px 6px; border-radius: 4px; }
.role { font: 700 11px var(--body); text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 4px; background: var(--line); color: var(--fg2); white-space: nowrap; }
.role-leader { background: var(--hot); color: #121410; }
.role-officer { background: var(--hot-bg); color: var(--hot); border: 1px solid var(--hot-line); }
.form-inline label { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--muted); }
.form-inline select { width: auto; min-height: 34px; padding: 4px 8px; font-size: 14px; }
.inline-form select { width: auto; min-height: 38px; padding: 6px 10px; font-size: 14px; }
.fx-home { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.fx-rel { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.fx-rel > span { min-width: 0; overflow-wrap: anywhere; }
.fx-rivals { border-color: #4a2420; }
.gallery-manage figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.gallery-manage img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }

/* Rankings */
.seg-row { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-a { text-decoration: none; padding: 8px 14px; border: 1px solid var(--line2); border-radius: 6px; font-weight: 600; font-size: 14px; color: var(--fg2); }
.seg-a.is-on { border-color: var(--hot); background: var(--hot-bg); color: var(--fg); }
.rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rank-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.rank-n { font-size: 20px; color: var(--muted); text-align: center; }
.rank-id { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.rank-id > span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.rank-score { display: flex; flex-direction: column; align-items: flex-end; }
.rank-score b { font: 700 28px/1 var(--display); }
.rank-top { border-color: var(--hot-line); }
.rank-1 { background: linear-gradient(90deg, rgba(224,179,58,0.14), var(--card) 40%); border-color: #6b5a22; }
.rank-1 .rank-n { color: var(--warn); font-size: 26px; }
.rank-2 .rank-n { color: #cfd3d6; } .rank-3 .rank-n { color: #c98b52; }

/* ---------- News channels ---------- */
.ch-box { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; scroll-margin-top: 20px; }
.ch-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.ch-compose { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--code); border: 1px dashed var(--line3); border-radius: 10px; }
.ch-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-tag-opt { position: relative; cursor: pointer; }
.ch-tag-opt input { position: absolute; opacity: 0; }
.ch-tag-opt span { display: inline-block; padding: 6px 10px; border: 1px solid var(--line2); border-radius: 999px; font-size: 13px; font-weight: 600; }
.ch-tag-opt input:checked + span { border-color: var(--hot); background: var(--hot-bg); color: var(--fg); }
.ch-tag-opt input:focus-visible + span { outline: 2px solid var(--hot); outline-offset: 2px; }
.ch-list { display: flex; flex-direction: column; gap: 10px; }
.ch-post { padding: 14px 16px; background: var(--bg2); border: 1px solid var(--line); border-left: 3px solid var(--line3); border-radius: 8px; display: flex; flex-direction: column; gap: 8px; }
.ch-post-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ch-tag { display: inline-flex; align-items: center; gap: 5px; font: 700 12px var(--body); text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 9px; border-radius: 999px; background: var(--line); }
.ch-tag-wipe { background: #1d2a33; color: #9ccbe8; } .ch-tag-event { background: #2b2512; color: var(--warn); }
.ch-tag-raid { background: #3a1915; color: var(--bad); } .ch-tag-recruit { background: #1e2a17; color: var(--ok); }
.ch-tag-update { background: #262230; color: #c2a8e8; } .ch-tag-news { background: var(--hot-bg); color: var(--hot); }
.ch-post:has(.ch-tag-raid) { border-left-color: var(--bad); } .ch-post:has(.ch-tag-wipe) { border-left-color: #9ccbe8; }
.ch-post:has(.ch-tag-event) { border-left-color: var(--warn); } .ch-post:has(.ch-tag-recruit) { border-left-color: var(--ok); }
.ch-chan { font-weight: 700; }
.ch-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.ch-post-foot { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
@media (max-width: 640px) {
  .fx-banner .banner-in { padding-top: 90px; padding-bottom: 40px; }
  .fx-emblem-lg .emblem { width: 84px; height: 101px; }
  .rank-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .ch-box { padding: 16px; }
}

/* Example placeholders shown only while a section is empty */
.demo-note { padding: 12px 16px; border: 1px dashed var(--line3); border-radius: 8px; color: var(--fg2); background: var(--bg2); }
.fx-demo, .ch-demo .ch-post, .fx-demo-feed, .fx-demo-list .rank-row { opacity: 0.62; }
.fx-demo { position: relative; border-style: dashed; cursor: default; }
.fx-demo:hover { transform: none; }
.demo-ribbon { position: absolute; top: 10px; right: 10px; font: 700 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border: 1px dashed var(--line3); border-radius: 4px; color: var(--muted); }
.demo-pill { font: 700 10px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 6px; border: 1px dashed var(--line3); border-radius: 4px; color: var(--muted); vertical-align: 1px; }
.ch-demo { display: flex; flex-direction: column; gap: 10px; }
.ch-demo .ch-post { border-style: dashed; }
.ccard-demo { opacity: 0.66; border-style: dashed; position: relative; }
.ccard-demo .ccard-img { color: var(--hot); }
.ccard-art { position: absolute; left: 50%; top: 52%; width: 46%; transform: translate(-50%, -50%); opacity: 0.85; }
.ccard-demo .demo-ribbon { position: relative; top: auto; right: auto; background: rgba(18,20,16,0.85); }
.ccard-demo .btn[aria-disabled="true"] { cursor: default; }
.squad-demo { opacity: 0.62; border-style: dashed; }
.cols .demo-note { margin-bottom: 14px; }

/* Featured servers: make them stand out */
.feat-zone { position: relative; }
.feat-zone::before { content: ''; position: absolute; inset: 10px 0 auto; height: 260px; background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(232,121,43,0.12), transparent 70%); pointer-events: none; }
.fcard-pro { position: relative; border: 1px solid var(--hot-line); box-shadow: 0 0 0 1px rgba(232,121,43,0.15), 0 14px 40px -18px rgba(232,121,43,0.55); transition: transform .15s, box-shadow .15s; }
.fcard-pro:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(232,121,43,0.5), 0 18px 50px -16px rgba(232,121,43,0.7); }
.fcard-pro .fcard-img { color: var(--hot); background-color: #241a12; overflow: hidden; }
.fcard-scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; }
.fcard-badge { box-shadow: 0 0 18px rgba(232,121,43,0.6); letter-spacing: 0.04em; }
.fcard-pro::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--hot), #f0c36a, var(--hot), transparent); }
.fcard-t-olive .fcard-img { color: #a3b26a; background-color: #1d2216; } .fcard-t-steel .fcard-img { color: #7fa3bd; background-color: #161d22; }
.fcard-demo { opacity: 0.8; cursor: default; }
.fcard-demo:hover { transform: none; }
.fcard-demo .demo-ribbon { position: relative; top: auto; right: auto; background: rgba(18,20,16,0.85); }
.fcard-spot { border: 2px dashed var(--hot-line); background: linear-gradient(160deg, var(--hot-bg), var(--card) 70%); display: flex; align-items: center; justify-content: center; text-align: center; min-height: 100%; }
.fcard-spot:hover { border-color: var(--hot); }
.fcard-spot-in { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 22px; color: var(--hot-fg); }
.fcard-spot-star { font-size: 44px; line-height: 1; color: var(--warn); text-shadow: 0 0 22px rgba(240,195,106,0.7); }
.fcard-spot .fcard-name { color: var(--fg); }

/* ---------- Get the app ---------- */
.kit-hero .app-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; }
.app-phone { width: 280px; height: 520px; border-radius: 40px; border: 3px solid var(--line3); background: #0b0d09; padding: 14px; box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px -20px rgba(232,121,43,0.5); justify-self: center; }
.app-phone-screen { height: 100%; border-radius: 28px; background: radial-gradient(circle at 50% 30%, rgba(232,121,43,0.25), transparent 60%), #121410; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 12px; }
.app-phone-screen img { border-radius: 16px; margin-bottom: 10px; }
.app-notif { width: 100%; padding: 10px 12px; border-radius: 14px; background: rgba(40,44,36,0.92); border: 1px solid var(--line2); display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.app-notif span { color: var(--fg2); }
.app-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.app-notify { border-color: var(--hot-line); }
.offline { align-items: flex-start; }
.offline svg { width: 48px; height: 48px; color: var(--hot); }
@media (max-width: 760px) { .kit-hero .app-hero-in { grid-template-columns: 1fr; } .app-phone { width: 240px; height: 430px; } }

/* Own a server landing page */
.kit-hero .own-hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.own-ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ok, #7fc46a); font-weight: 600; }
.own-card-demo { background: #0c0e0a; border: 1px solid var(--line2); border-radius: 12px; padding: 16px; box-shadow: 0 24px 60px rgba(0,0,0,0.45); transform: rotate(-1.2deg); }
.own-file { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--fg2); overflow-wrap: anywhere; }
.own-file-h { margin: 10px 0 4px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.own-file-h:first-child { margin-top: 0; }
.own-file b { color: var(--hot); font-weight: 600; }
.own-file del { color: #f08a7a; text-decoration: line-through; }
.own-file ins { color: #7fc46a; text-decoration: none; font-weight: 700; }
.own-arrow { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line2); font-size: 12px; color: var(--hot-fg); line-height: 1.6; }
.own-pains { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--hot); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.own-pains .lead { margin: 0; color: var(--fg); font-weight: 700; }
.own-pain-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.own-pain-list li { padding: 10px 12px; background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; color: var(--fg2); font-style: italic; }
.own-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; counter-reset: none; }
.own-step { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.own-step-n { font-size: 26px; font-weight: 800; color: var(--hot); line-height: 1; }
.own-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.own-feat { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s; }
.own-feat:hover { border-color: var(--hot-line); }
.own-ico { font-size: 26px; line-height: 1; }
.own-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; align-items: stretch; }
.own-pack { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.own-pack .btn { margin-top: auto; }
.own-pack-pop { border-color: var(--hot); background: linear-gradient(180deg, var(--hot-bg), var(--card) 60%); box-shadow: 0 0 0 1px var(--hot-line), 0 20px 50px rgba(232,121,43,0.12); }
.own-pop { position: absolute; top: -11px; left: 20px; padding: 3px 10px; border-radius: 999px; background: var(--hot); color: #121410; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.own-price { margin: 0; } .own-price b { font-size: 32px; font-weight: 900; }
.own-points { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; color: var(--fg2); }
.own-form-wrap { scroll-margin-top: 80px; }
.own-form { max-width: 820px; margin: 0 auto; gap: 18px; border-color: var(--hot-line); }
.own-fs { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 16px; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.own-fs legend { padding: 0 6px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.own-fs legend small { color: var(--muted); font-weight: 400; }
.own-q { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--hot); color: #121410; font-size: 12px; font-weight: 800; }
.own-wants { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.own-want { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; cursor: pointer; font-weight: 600; }
.own-want input { width: 18px; height: 18px; min-height: 0; accent-color: var(--hot); flex: none; }
.own-want:has(input:checked) { border-color: var(--hot); background: var(--hot-bg); }
.own-faq details summary { cursor: pointer; }
.own-faq details p { margin: 10px 0 0; }
@media (max-width: 760px) { .kit-hero .own-hero-in { grid-template-columns: 1fr; } .own-card-demo { transform: none; } }
.own-faq { gap: 8px; } .own-faq details.card { padding: 14px 18px; }

/* Admin dashboard */
.adm { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: start; }
.adm-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.adm-nav-t { margin: 10px 8px 4px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.adm-nav-t:first-child { margin-top: 0; }
.adm-nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 7px; color: var(--fg2); text-decoration: none; font-size: 14px; font-weight: 600; }
.adm-nav a:hover { background: var(--bg2); color: var(--fg); }
.adm-badge { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--hot); color: #121410; font-size: 12px; font-weight: 800; text-align: center; }
.adm-zero { font-style: normal; font-size: 12px; color: var(--line3); }
.adm-on { font-style: normal; font-size: 12px; color: var(--ok); }
.adm-body { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.adm-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 20px; }
.adm-head .h1 { margin: 0; } .adm-head p { margin: 4px 0 0; }
.adm-todo { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-chip { padding: 6px 12px; border-radius: 999px; background: var(--hot-bg); border: 1px solid var(--hot-line); color: var(--hot-fg); text-decoration: none; font-size: 13px; font-weight: 600; }
.adm-chip b { color: var(--hot); }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.adm-stat { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.adm-stat b { font: 700 30px/1 var(--display); }
.adm-stat span:last-child { font-size: 13px; color: var(--muted); }
.adm-stat small { display: block; font-size: 11px; }
.adm-stat-i { position: absolute; right: 12px; top: 10px; font-size: 20px; opacity: 0.55; }
.adm-stat-hot { border-color: var(--hot-line); background: linear-gradient(160deg, var(--hot-bg), var(--card) 70%); }
.adm-stat-hot b { color: var(--hot); }
.adm-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.adm-main, .adm-side { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.adm-panel { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; scroll-margin-top: 84px; min-width: 0; }
.adm-panel .card { background: var(--bg2); }
.adm-h { margin: 0; font: 700 15px var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.adm-panel > p.muted:only-of-type { margin: 0; }
.adm .email-box { scroll-margin-top: 84px; }
.adm-side .form-row { flex-direction: column; align-items: stretch; }
@media (max-width: 1100px) { .adm-cols { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .adm { grid-template-columns: 1fr; }
  .adm-nav { position: static; flex-direction: row; overflow-x: auto; padding: 8px; gap: 6px; }
  .adm-nav-t { display: none; }
  .adm-nav a { flex: none; background: var(--bg2); }
}
.adm .dash-main { display: block; }
.adm .dash-main > div, .adm .dash-main > p { margin-top: 4px; }
.adm-details { white-space: pre-line; color: var(--fg2); }
.adm-side .form-row label { flex: none; }
.adm-stats { grid-template-columns: repeat(auto-fit, minmax(122px, 1fr)); }
.adm-stat b { font-size: 28px; }
.adm-panel:not(:has(.card, form, table)) { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 12px 18px; }
.adm-panel:not(:has(.card, form, table)) > p { margin: 0; font-size: 14px; }
.adm-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.adm-stat:last-child { grid-column: span 2; }
@media (max-width: 600px) { .adm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Fair Featured */
.tag-founder { background: #2b2410; color: #f0c36a; border: 1px solid #6b5520; }
.tag-sotm { background: linear-gradient(90deg, #f0c36a, #e8792b); color: #121410; }
.dash-feat { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 8px; padding: 8px 12px; border: 1px dashed var(--line2); border-radius: 8px; background: var(--bg2); }
.dash-feat-a { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-pools { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.adm-pool { display: flex; flex-direction: column; gap: 6px; padding: 12px; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; }
.adm-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.adm-sub { padding-top: 12px; border-top: 1px solid var(--line); }
.adm-sub .h3 { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.adm-sub summary { cursor: pointer; }
.adm-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; align-items: end; margin-top: 10px; }
.check { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; }
.check input { width: 18px; height: 18px; min-height: 0; accent-color: var(--hot); }
.feat-pools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat-pools .adm-stat:last-child { grid-column: auto; }
.feat-rules { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.upload-note { display: block; margin-top: 6px; color: var(--ok); }
.upload-note.bad { color: var(--bad); font-weight: 600; }
