/* Kebo Mods – website (28.09.2026 rebrand: no pixel look).
   Dark, calm, one warm accent (the Kebo orange). Inter, self-hosted. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0b0d12;
  --bg-2: #0f1218;
  --surface: #141821;
  --surface-2: #1a1f2a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #e8eaf0;
  --muted: #9aa3b2;
  --faint: #6b7385;
  --accent: #ff8a3d;
  --accent-2: #ffb25c;
  --accent-ink: #1a0e04;
  --accent-soft: rgba(255, 138, 61, 0.12);
  --good: #3ecf8e;
  --good-soft: rgba(62, 207, 142, 0.12);
  --warn: #f5b544;
  --warn-soft: rgba(245, 181, 68, 0.12);
  --bad: #f06a6a;
  --bad-soft: rgba(240, 106, 106, 0.12);
  --info: #6aa8ff;
  --info-soft: rgba(106, 168, 255, 0.12);
  --r: 12px;
  --r-sm: 8px;
  --measure: 68ch;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 32px -12px rgba(0,0,0,0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
img { max-width: 100%; }
a { color: var(--text); text-decoration-color: rgba(255,255,255,0.3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
p { max-width: var(--measure); }
h1, h2, h3, h4 { color: var(--text); letter-spacing: -0.02em; line-height: 1.2; }
h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; margin: 0 0 12px; }
h3 { font-size: 18px; font-weight: 650; margin: 0 0 6px; }
code, kbd { font-family: var(--mono); font-size: 0.9em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
kbd { box-shadow: 0 1px 0 var(--line-2); }
pre { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; overflow-x: auto; }

.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 50; border-radius: 6px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.spacer { flex: 1; }
.notice { background: var(--warn-soft); color: #ffd79a; text-align: center; padding: 10px 20px; font-size: 14px; border-bottom: 1px solid rgba(245,181,68,0.25); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(11, 13, 18, 0.78); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 8px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: 16px; }
.brand img { width: 30px; height: 30px; display: block; }
.brand span { font-weight: 750; font-size: 17px; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; }
.brand span b { color: var(--accent); font-weight: 750; }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav a[aria-current] { color: var(--text); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.acct { font-size: 14.5px; font-weight: 550; text-decoration: none; color: var(--text); padding: 8px 12px; border-radius: 8px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.acct:hover { background: rgba(255,255,255,0.05); }
.acct.team { color: var(--accent); }
.acct.primary { background: var(--text); color: var(--bg); }
.acct.primary:hover { background: #fff; }
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; line-height: 1; }
.lang { font: 600 12px/1 var(--font); letter-spacing: 0.04em; text-decoration: none; color: var(--muted); border: 1px solid var(--line-2); padding: 7px 9px; border-radius: 8px; }
.lang:hover { color: var(--text); border-color: var(--muted); }
.menu { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); padding: 7px 10px; border-radius: 8px; font: 600 13px/1 var(--font); cursor: pointer; }
@media (max-width: 900px) {
  .menu { display: block; order: 3; }
  .top .right { order: 2; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 12px 14px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
}
@media (max-width: 520px) {
  .brand span { display: none; }
  .acct.team { display: none; }
  .acct { padding: 8px 8px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
  font: 600 14.5px/1 var(--font); padding: 12px 18px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--surface-2); color: var(--text); transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { border-color: rgba(255,255,255,0.28); background: #212735; }
.btn:active { transform: translateY(1px); }
.btn.lit { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); border-color: transparent; box-shadow: 0 8px 24px -10px rgba(255,138,61,0.7); }
.btn.lit:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; }
.btn.bad { background: var(--bad-soft); color: #ffc2c2; border-color: rgba(240,106,106,0.35); }
.btn.steam { width: 100%; background: #1b2838; border-color: #2a475e; color: #fff; padding: 13px 18px; }
.btn.steam:hover { background: #22364c; }
.btn.discord { width: 100%; background: #5865f2; border-color: #6d78f5; color: #fff; padding: 13px 18px; margin-top: 10px; }
.btn.discord:hover { background: #4752c4; }
.btn.discord::before { content: ""; width: 20px; height: 16px; background: #fff; -webkit-mask: url("/site/img/discord.svg") center/contain no-repeat; mask: url("/site/img/discord.svg") center/contain no-repeat; }
.btn.steam::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 60% 40%, #c7d5e0 0 28%, transparent 30%), linear-gradient(135deg, #66c0f4, #1b2838); }
.btn.sm { padding: 8px 12px; font-size: 13.5px; border-radius: 8px; }
button.btn { font-family: var(--font); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero-bg { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg::before { content: ""; position: absolute; inset: -40% -10% auto -10%; height: 900px; pointer-events: none;
  background: radial-gradient(600px 360px at 18% 30%, rgba(255,138,61,0.16), transparent 70%), radial-gradient(700px 420px at 85% 10%, rgba(106,120,255,0.12), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 88px 0 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-2); background: var(--accent-soft); border: 1px solid rgba(255,138,61,0.25); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,138,61,0.2); }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin: 0 0 20px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; color: var(--muted); margin: 0 0 32px; max-width: 52ch; }
.hero .meta-line { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--faint); font-size: 13.5px; }
.hero .meta-line span { display: inline-flex; align-items: center; gap: 7px; }
.hero .meta-line svg { width: 16px; height: 16px; color: var(--good); }

/* the Kebo window, drawn in HTML */
.mock { position: relative; border-radius: 16px; background: linear-gradient(180deg, #171b25, #11141b); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,0,0,0.4); overflow: hidden; font-size: 13px; }
.mock .bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3040; }
.mock .bar strong { margin-left: 8px; font-weight: 600; color: var(--muted); font-size: 12.5px; }
.mock .bar kbd { margin-left: auto; font-size: 11px; }
.mock .body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.mock .side { border-right: 1px solid var(--line); padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.mock .side span { padding: 7px 10px; border-radius: 7px; color: var(--muted); }
.mock .side span.on { background: var(--accent-soft); color: var(--accent-2); font-weight: 600; }
.mock .main { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mock .item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.025); border: 1px solid var(--line); }
.mock .item .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.mock .item .ic svg { width: 17px; height: 17px; }
.mock .item b { font-weight: 600; display: block; line-height: 1.3; }
.mock .item small { color: var(--faint); font-size: 11.5px; }
.mock .tg { margin-left: auto; width: 34px; height: 20px; border-radius: 10px; background: #2a3040; position: relative; flex: none; }
.mock .tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #8a93a6; }
.mock .tg.on { background: var(--accent); }
.mock .tg.on::after { left: 17px; background: #fff; }
.mock .foot { display: flex; gap: 14px; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11.5px; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 72px; } }
@media (max-width: 520px) { .mock .body { grid-template-columns: 1fr; } .mock .side { display: none; } }

/* ---------- sections ---------- */
section.band { padding: 96px 0; }
section.band.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 680px; margin: 0 0 48px; }
.sec-head .kicker { font-size: 13px; font-weight: 650; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; }
.intro { color: var(--muted); max-width: var(--measure); margin: 0 0 32px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.feature .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 16px; }
.feature .ic svg { width: 20px; height: 20px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- mod cards ---------- */
.group { margin: 0 0 48px; }
.group > h3 { font-size: 13px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin: 0 0 16px; }
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.mod { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s, background .15s; }
.mod:hover { border-color: var(--line-2); background: #171c26; transform: translateY(-2px); }
.mod .head { display: flex; align-items: center; gap: 14px; }
.mod .ic, .mod-hero .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--c, var(--accent)) 14%, transparent); color: var(--c, var(--accent)); border: 1px solid color-mix(in srgb, var(--c, var(--accent)) 28%, transparent); }
.mod .ic svg { width: 22px; height: 22px; }
.mod h4 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.mod h4 a { text-decoration: none; }
.mod h4 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.mod .ver { font-size: 12.5px; color: var(--faint); font-family: var(--mono); }
.mod p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.mod .stats { display: flex; gap: 16px; font-size: 13px; color: var(--faint); margin: 0; }
.mod .stats span { display: inline-flex; align-items: center; gap: 6px; }
.mod .stats svg { width: 14px; height: 14px; }
.mod .links { display: flex; gap: 10px; position: relative; z-index: 1; }
.need { font-size: 13px; color: var(--faint); }

/* ---------- steps ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), transparent); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; margin-bottom: 16px; font-weight: 700; font-size: 14px; background: var(--text); color: var(--bg); }
.step p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }

.cta { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.cta .card { display: flex; flex-direction: column; gap: 10px; }
.cta .card p { color: var(--muted); margin: 0 0 8px; flex: 1; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }

.banner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between; padding: 36px; border-radius: 16px; border: 1px solid rgba(255,138,61,0.25);
  background: radial-gradient(500px 200px at 0% 0%, rgba(255,138,61,0.18), transparent 70%), var(--surface); }
.banner h2 { margin: 0 0 6px; font-size: 26px; }
.banner p { margin: 0; color: var(--muted); }

/* ---------- inner pages ---------- */
.page { padding: 56px 0 96px; }
.page h1, .legal h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 750; letter-spacing: -0.03em; margin: 0 0 12px; }
.page .intro { font-size: 17px; }
.crumb { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--text); }

.flash { background: var(--good-soft); border: 1px solid rgba(62,207,142,0.3); color: #b7f0d4; padding: 12px 16px; margin: 0 0 24px; border-radius: 10px; max-width: none; }
.flash.warn { background: var(--warn-soft); border-color: rgba(245,181,68,0.3); color: #ffdca3; }
.errors { background: var(--bad-soft); border: 1px solid rgba(240,106,106,0.35); color: #ffd0d0; padding: 12px 16px; margin: 0 0 24px; border-radius: 10px; }
.errors ul { margin: 6px 0 0; padding-left: 20px; }
.note { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 12px 16px; border-radius: 0 10px 10px 0; color: var(--text); max-width: var(--measure); }

/* forms */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
form.card { max-width: 820px; }
.field { display: block; margin: 0 0 20px; }
.field > span { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 7px; }
.field > small { display: block; color: var(--faint); margin-top: 6px; font-size: 13px; }
.field .req { color: var(--accent); font-weight: 500; font-size: 12px; margin-left: 6px; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=url], input[type=date], select, textarea {
  width: 100%; font: 400 15px/1.5 var(--font); color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input[type=date] { color-scheme: dark; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,138,61,0.2); }
select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa3b2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
input[type=file] { color: var(--muted); font-size: 14px; width: 100%; padding: 10px; border: 1px dashed var(--line-2); border-radius: 10px; background: var(--bg-2); }
input[type=file]::file-selector-button { font: 600 13px var(--font); color: var(--text); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 7px; padding: 7px 12px; margin-right: 12px; cursor: pointer; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 16px; height: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.radios { display: flex; gap: 20px; flex-wrap: wrap; }
.radios label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 0 0 20px; font-size: 14.5px; }
.check input { margin-top: 3px; flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.invalid { border-color: var(--bad) !important; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,0.06); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .9; }
.chip.open, .chip.new, .chip.seen { color: #c3c9ff; background: rgba(140,150,255,0.1); border-color: rgba(140,150,255,0.25); }
.chip.planned, .chip.answered { color: #a9ccff; background: var(--info-soft); border-color: rgba(106,168,255,0.28); }
.chip.progress, .chip.waiting, .chip.confirmed, .chip.question { color: #ffd38c; background: var(--warn-soft); border-color: rgba(245,181,68,0.28); }
.chip.done, .chip.fixed, .chip.pass { color: #8ff0c2; background: var(--good-soft); border-color: rgba(62,207,142,0.28); }
.chip.declined, .chip.fail, .chip.block { color: #ffb0b0; background: var(--bad-soft); border-color: rgba(240,106,106,0.3); }
.chip.closed, .chip.notbug, .chip.skip, .chip.hidden, .chip.pending { color: var(--muted); }

/* wishes */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; font-size: 14px; }
.filters a { color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.filters a:hover { color: var(--text); border-color: var(--line-2); }
.filters a.on { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-weight: 600; }
.filters .muted { display: none; }
.wish { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 20px; margin-bottom: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.votebox { text-align: center; }
.votebox .n { font-size: 22px; font-weight: 750; display: block; margin-bottom: 8px; letter-spacing: -0.02em; }
.votebox button { font: 600 12.5px var(--font); padding: 7px 6px; width: 100%; cursor: pointer; border-radius: 8px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); }
.votebox button:hover { border-color: var(--accent); color: var(--accent-2); }
.votebox .did { font-size: 12px; color: var(--good); }
.wish h3 { margin: 0 0 8px; font-size: 17px; }
.wish p { margin: 8px 0 0; color: var(--muted); white-space: pre-line; }
.wish .answer { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 10px 14px; border-radius: 0 8px 8px 0; margin-top: 12px; }

/* mod detail */
.mod-hero { display: flex; gap: 20px; align-items: center; margin: 0 0 24px; }
.mod-hero .ic { width: 64px; height: 64px; border-radius: 16px; }
.mod-hero .ic svg { width: 30px; height: 30px; }
.mod-hero h1 { margin: 0 0 4px; }
.moddetail { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.moddetail aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 12px; }
.moddetail aside .btn { width: 100%; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts li:last-child { border-bottom: 0; }
.facts li span { color: var(--muted); }
.stats { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; margin: 8px 0 18px; }
.prose { color: var(--text); }
.prose p { margin: 0 0 14px; }
.prose ul { color: var(--muted); padding-left: 20px; }
.prose h2 { font-size: 22px; margin: 28px 0 10px; }
.prose h3 { margin: 22px 0 8px; }
.changes { margin-top: 40px; }
.changes h2 { font-size: 22px; }
.changes h3 { font-size: 14px; font-family: var(--mono); color: var(--accent-2); margin: 18px 0 8px; }
.changes ul { margin: 0; padding-left: 20px; color: var(--muted); }
@media (max-width: 900px) { .moddetail { grid-template-columns: 1fr; } .moddetail aside { position: static; } }

/* details (faq, changelog, tasks) */
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; gap: 12px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(-45deg); transition: transform .15s; flex: none; margin-right: 2px; }
details[open] > summary::before { transform: rotate(45deg); border-color: var(--accent); }
details > div { padding: 0 0 16px 22px; color: var(--muted); }

/* tickets */
.thread { max-width: 860px; }
.msg { padding: 16px 18px; margin: 0 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.msg.staff { border-color: rgba(255,138,61,0.35); background: linear-gradient(180deg, rgba(255,138,61,0.07), transparent 60%), var(--surface); }
.msg .who { font-size: 13px; color: var(--faint); margin-bottom: 8px; font-weight: 500; }
.msg.staff .who { color: var(--accent-2); }
.msg .body { white-space: pre-wrap; }
.msg .files { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.msg .files img { height: 84px; display: block; border-radius: 8px; border: 1px solid var(--line-2); }

/* ---------- accounts ---------- */
.auth { max-width: 460px; margin: 0 auto; }
.auth h1 { text-align: center; }
.auth .intro { text-align: center; margin-left: auto; margin-right: auto; }
.auth .card { max-width: none; }
.auth > p { text-align: center; margin-left: auto; margin-right: auto; }
.auth .or { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 13px; margin: 20px 0; }
.auth .or::before, .auth .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.acctgrid { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; }
.sidenav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 88px; padding: 8px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.sidenav a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; text-decoration: none; color: var(--muted); border-radius: 8px; font-size: 14.5px; font-weight: 500; }
.sidenav a[aria-current] { color: var(--text); background: rgba(255,255,255,0.06); }
.sidenav a:hover { color: var(--text); }
.sidenav form { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.sidenav form button { width: 100%; text-align: left; padding: 9px 12px; background: none; border: 0; color: var(--faint); font: 500 14.5px var(--font); cursor: pointer; border-radius: 8px; }
.sidenav form button:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.list { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin: 0 0 28px; overflow: hidden; }
.list > a, .list > div { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.list > :last-child { border-bottom: 0; }
.list > a:hover { background: rgba(255,255,255,0.025); }
.list > * > span:first-child { flex: 1 1 60%; min-width: 0; }
.list > * > .chip { flex: 0 0 auto; }
.list .meta { flex-basis: 100%; font-size: 13px; color: var(--faint); }
.list .unread > span:first-child { font-weight: 650; }
.list .unread > span:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 32px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; text-decoration: none; transition: border-color .15s; }
.tile:hover { border-color: var(--line-2); }
.tile .n { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; display: block; margin-bottom: 2px; }
.tile .l { color: var(--muted); font-size: 13.5px; }
.section-h { font-size: 18px; font-weight: 650; margin: 36px 0 12px; }
.danger { border-color: rgba(240,106,106,0.35); }
.task { padding: 4px 0; }
.task ol { margin: 4px 0 10px; color: var(--muted); padding-left: 22px; }
.task .exp { border-left: 3px solid var(--good); background: var(--good-soft); padding: 8px 12px; border-radius: 0 8px 8px 0; margin: 0 0 12px; }
@media (max-width: 860px) {
  .acctgrid { grid-template-columns: 1fr; gap: 20px; }
  .sidenav { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidenav form { border: 0; margin: 0; padding: 0; }
}

/* ---------- legal ---------- */
.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 19px; font-weight: 650; margin: 36px 0 8px; }
.legal p, .legal li { color: #c9ced9; }
.fill { background: var(--warn-soft); color: #ffdca3; padding: 0 4px; border-radius: 4px; }
.todo { border: 1px dashed var(--warn); padding: 14px 18px; margin: 0 0 32px; color: #ffdca3; border-radius: 10px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer h5 { margin: 0 0 12px; font-size: 13px; font-weight: 650; color: var(--text); letter-spacing: 0; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--faint); font-size: 13px; }
footer .fine p { margin: 0; max-width: 80ch; }
footer .about p { margin: 12px 0 0; max-width: 36ch; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .about { grid-column: 1 / -1; } }

/* pagination */
nav.pages { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.sm svg { width: 14px; height: 14px; }

/* the real Kebo window (F8), redrawn after Kevin's screenshot 28.09. */
.kwin { --kw-bg: #131313; --kw-panel: #1b1b1b; --kw-line: #2c2c2c; --kw-or: #ff9d3c; --kw-red: #8f1d16;
  border-radius: 10px; overflow: hidden; background: var(--kw-bg); border: 1px solid #3a2c1d; font-size: 12.5px; color: #e4e4e4;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.85), 0 0 0 1px rgba(0,0,0,0.5); user-select: none; }
.kwin svg { width: 14px; height: 14px; flex: none; }
.kw-title { position: relative; text-align: center; padding: 8px 0; font-weight: 700; font-size: 14px; color: #fff;
  background: linear-gradient(180deg, #8a6440, #6f4f31); border-bottom: 2px solid #4a3420;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.06), transparent), repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0 3px, transparent 3px 9px), linear-gradient(180deg, #8a6440, #6f4f31); }
.kw-title i { position: absolute; right: 6px; top: 5px; width: 22px; height: 22px; display: grid; place-items: center; font-style: normal; font-size: 12px;
  background: #c62a1e; border: 1px solid #ff6b5e; border-radius: 3px; }
.kw-tabs { display: flex; gap: 2px; padding: 6px 8px 0; background: #161616; overflow: hidden; white-space: nowrap;
  mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); }
.kw-tabs span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px 8px; color: #b9b9b9; border-bottom: 2px solid transparent; background: #1a1a1a; }
.kw-tabs span.on { color: var(--kw-or); font-weight: 650; border-bottom-color: var(--kw-or); background: #202020; }
.kw-body { display: grid; grid-template-columns: 150px 1fr; gap: 8px; padding: 8px; }
.kw-side { display: flex; flex-direction: column; gap: 6px; }
.kw-list { display: flex; flex-direction: column; gap: 4px; padding: 6px; background: var(--kw-panel); border: 1px solid var(--kw-line); border-radius: 3px; }
.kw-list span { display: flex; align-items: center; gap: 7px; padding: 5px 8px; background: #1f1f1f; border: 1px solid var(--kw-line); border-radius: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kw-list span.on { background: var(--kw-red); border-color: #c8392d; color: var(--kw-or); font-weight: 650; }
.kw-ok { display: flex; align-items: center; gap: 6px; padding: 6px 8px; color: #7fd18a; background: #16241a; border-radius: 3px; font-size: 11.5px; }
.kw-main { padding: 12px 14px; background: var(--kw-panel); border: 1px solid var(--kw-line); border-radius: 3px; }
.kw-main h4 { margin: 0 0 6px; font-size: 13.5px; color: var(--kw-or); letter-spacing: 0; }
.kw-main p { margin: 0 0 10px; color: #dcdcdc; line-height: 1.5; }
.kw-btn { display: inline-block; padding: 6px 12px; background: var(--kw-red); border: 1px solid #d0463a; border-radius: 2px; color: #ffb24a; font-weight: 650; margin-bottom: 10px; }
.kw-sep { border-top: 1px solid var(--kw-line); padding-top: 10px; }
.kw-news { padding: 8px 10px; background: #161616; border: 1px solid var(--kw-line); border-radius: 2px; }
.kw-news small { color: #9a9a9a; }
.kw-news b { color: var(--kw-or); font-weight: 600; letter-spacing: 0.04em; }
.kw-news p { margin: 4px 0 0; font-size: 12px; }
.kw-foot { text-align: right; padding: 6px 12px; color: #9a9a9a; background: #161616; border-top: 1px solid var(--kw-line); font-size: 12px; }
@media (max-width: 520px) { .kw-body { grid-template-columns: 1fr; } .kw-side { display: none; } }

/* 28.09. 18:10 – Kevin: preview was squeezed -> hero stacked, window big; product images + screenshots */
.hero { grid-template-columns: 1fr; gap: 56px; text-align: center; padding: 80px 0 96px; }
.hero > div:first-child { max-width: 860px; margin: 0 auto; }
.hero .lead { margin-left: auto; margin-right: auto; }
.hero .actions, .hero .meta-line { justify-content: center; }
.kwin { width: 100%; max-width: 1060px; margin: 0 auto; text-align: left; font-size: 15px; border-radius: 12px; }
.kwin svg { width: 17px; height: 17px; }
.kw-title { padding: 11px 0; font-size: 17px; }
.kw-title i { width: 28px; height: 28px; top: 6px; right: 8px; font-size: 14px; }
.kw-tabs { padding: 8px 10px 0; gap: 3px; mask-image: none; -webkit-mask-image: none; }
.kw-tabs span { padding: 10px 18px 11px; }
.kw-body { grid-template-columns: 250px 1fr; gap: 12px; padding: 12px; min-height: 420px; }
.kw-list { gap: 6px; padding: 8px; flex: 1; }
.kw-list span { padding: 9px 12px; }
.kw-ok { padding: 9px 12px; font-size: 14px; }
.kw-main { padding: 20px 24px; }
.kw-main h4 { font-size: 17px; margin-bottom: 10px; }
.kw-main p { font-size: 15px; margin-bottom: 16px; }
.kw-btn { padding: 10px 22px; margin-bottom: 18px; }
.kw-sep { padding-top: 16px; }
.kw-news { padding: 12px 14px; }
.kw-news p { font-size: 14.5px; }
.kw-foot { padding: 9px 16px; font-size: 14px; }
@media (max-width: 900px) { .kw-tabs span:nth-child(n+4) { display: none; } .kw-body { grid-template-columns: 190px 1fr; } }
@media (max-width: 640px) { .kwin { font-size: 13px; } .kw-body { grid-template-columns: 1fr; min-height: 0; } .kw-side { display: none; } .kw-tabs span:nth-child(n+3) { display: none; } }

.mod { padding: 0; overflow: hidden; }
.mod .cover { aspect-ratio: 16 / 9; background: #0c0a1a; border-bottom: 1px solid var(--line); overflow: hidden; }
.mod .cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.mod:hover .cover img { transform: scale(1.03); }
.mod > .head, .mod > p, .mod > .stats, .mod > .links { margin-left: 22px; margin-right: 22px; }
.mod > .head { margin-top: 18px; }
.mod > .links { margin-bottom: 22px; }
.mod .cover + .head .ic { display: none; }
.banner-img { width: 100%; height: auto; display: block; border-radius: var(--r); border: 1px solid var(--line); margin: 0 0 28px; }

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.shots figure { margin: 0; }
.shots a.shot { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); line-height: 0; transition: border-color .15s, transform .15s; }
.shots a.shot:hover { border-color: var(--accent); transform: translateY(-2px); }
.shots img { width: 100%; height: auto; display: block; }
.shots figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.lightbox { border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); padding: 0; max-width: min(1800px, 96vw); max-height: 94vh; color: var(--text); }
.lightbox::backdrop { background: rgba(5, 6, 10, 0.88); backdrop-filter: blur(4px); }
.lightbox img { display: block; max-width: 100%; max-height: 86vh; width: auto; height: auto; }
.lb-cap { margin: 0; padding: 10px 16px; font-size: 14px; color: var(--muted); max-width: none; }
.lb-close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 10px; background: rgba(0,0,0,0.6); color: #fff; border: 1px solid var(--line-2); font: 600 22px/1 var(--font); cursor: pointer; }
.lb-close:hover { border-color: var(--accent); }
.kw-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.kw-row .kw-btn { margin: 0; }
.kw-row small { color: #a9a9a9; font-size: 13.5px; }
@media (max-width: 1100px) { .kw-tabs span:nth-child(7) { display: none; } }
