/* Steam Value Checker dashboard. Colors are variables so they are easy to retheme. */
:root {
  --sb-a: #7c6cff; --sb-b: #4da3ff; --sb-track: rgba(15, 23, 36, .55);
  --bg: #0f1724;
  --bg-glow: #17304d;
  --nav: rgba(15, 23, 36, .82);
  --panel: #162134;
  --panel-2: #1b2a40;
  --line: rgba(148, 176, 214, .14);
  --text: #cdd9e8;
  --muted: #8396ad;
  --white: #f4f8fd;
  --accent: #4da3ff;
  --accent-2: #7c6cff;
  --good: #3ddc97;
  --good-bg: rgba(61, 220, 151, .14);
  --warn: #f2b84b;
  --bad: #ff6b6b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(3, 8, 18, .35);
  --input-bg: #0d1522;
  --on-accent: #06121f;
  --accent-hover: #75b8ff;
  --glow-2: rgba(124, 108, 255, .12);
  --hover-row: rgba(77, 163, 255, .06);
  --soft: rgba(255, 255, 255, .06);
  --soft-2: rgba(255, 255, 255, .1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --sb-a: #6a55ec; --sb-b: #165fc0; --sb-track: rgba(20, 40, 80, .07);
  --bg: #e4eaf3;
  --bg-glow: #cbd9ec;
  --nav: rgba(228, 234, 243, .88);
  --panel: #f4f7fb;
  --panel-2: #e6edf6;
  --line: rgba(20, 40, 80, .2);
  --text: #1f2d44;
  --muted: #4a5c75;
  --white: #0a1424;
  --accent: #165fc0;
  --accent-2: #6a55ec;
  --good: #0b6b49;
  --good-bg: rgba(15, 127, 88, .12);
  --warn: #8a5608;
  --bad: #b42b2b;
  --shadow: 0 8px 24px rgba(30, 55, 100, .10);
  --input-bg: #fbfcfe;
  --on-accent: #ffffff;
  --accent-hover: #3b8cf0;
  --glow-2: rgba(106, 85, 236, .08);
  --hover-row: rgba(22, 95, 192, .08);
  --soft: rgba(20, 40, 80, .08);
  --soft-2: rgba(20, 40, 80, .13);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-gutter: stable; }
body { -webkit-tap-highlight-color: transparent; text-rendering: optimizeLegibility; }
/* Pages and panels ease in instead of popping, and the page itself scrolls smoothly. Switched off for people who ask for less motion. */
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
:is(#app, .svc-root) > * { animation: view-in .26s cubic-bezier(.2, .7, .2, 1) both; }
:is(#app, .svc-root) > *:nth-child(2) { animation-delay: .03s; } :is(#app, .svc-root) > *:nth-child(3) { animation-delay: .06s; } :is(#app, .svc-root) > *:nth-child(n+4) { animation-delay: .09s; }
.tile, .panel, .btn, .tab, .pg-btn { transition: transform .18s ease, box-shadow .2s ease, background-color .18s ease, border-color .18s ease, opacity .18s ease; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } :is(#app, .svc-root) > * { animation: none; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text);
  background:
    radial-gradient(900px 420px at 85% -80px, var(--bg-glow), transparent 70%),
    radial-gradient(700px 360px at -10% 0, var(--glow-2), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--white); }
h1, h2, h3 { color: var(--white); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 26px; font-weight: 700; }
h2 { font-size: 18px; font-weight: 650; }
h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 650; }
code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: 13px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

/* top bar */
.topbar { background: var(--nav); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-inner { max-width: 1280px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.brand:hover { color: var(--white); }
.brand img { border-radius: 9px; }
#nav { display: flex; gap: 2px; flex: 1 1 auto; flex-wrap: wrap; }
#nav a { color: var(--muted); font-weight: 550; font-size: 14px; padding: 7px 9px; border-radius: 999px; white-space: nowrap; }
#nav a:hover { color: var(--white); background: var(--soft); }
#nav a.active { color: var(--white); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.account { display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; margin-left: auto; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; padding: 4px 4px 4px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); white-space: nowrap; }
.user-chip .who { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.account .avatar { width: 30px; height: 30px; border-radius: 50%; }
.account .who { color: var(--white); font-weight: 550; font-size: 14px; }

/* page */
.page { width: 100%; max-width: 1100px; margin: 0 auto; padding: 32px 20px 56px; flex: 1; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.page-head p { margin: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.panel > h2:first-child, .panel > h3:first-child { margin-top: 0; }
.grid { display: grid; gap: 14px; margin-bottom: 14px; }
.grid .panel { margin-bottom: 0; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid.five { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* forms */
label { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; margin: 12px 0 6px; }
input[type=text], input[type=password], input[type=url], input[type=number], input[type=search], input[type=datetime-local], select, textarea {
  width: 100%; background: var(--input-bg); color: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 8px 12px; font: inherit; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13.5px; }
select option, select optgroup { background: var(--panel); color: var(--text); }
select option:checked { background: var(--accent); color: var(--on-accent); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(77, 163, 255, .2); }
input[type=file] { color: var(--muted); max-width: 100%; }
input[type=file]::file-selector-button { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; margin-right: 10px; cursor: pointer; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row > * { flex: 1 1 150px; }
.row > .shrink { flex: 0 0 auto; }
/* buttons keep their own size; only inputs and selects stretch to fill a row */
.row > .btn, .row > button, .row > a.btn { flex: 0 0 auto; }
.check { display: flex; gap: 10px; align-items: center; color: var(--text); font-size: 14.5px; font-weight: 400; margin: 10px 0; }
.check input { width: auto; accent-color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 0 20px; height: 34px; font: inherit; font-weight: 600; cursor: pointer; color: #fff; white-space: nowrap; transition: transform .12s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.blue { background: var(--accent); color: var(--on-accent); }
.btn.blue:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn.green { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 18px rgba(77, 140, 255, .3); }
.btn.green:hover { box-shadow: 0 8px 22px rgba(77, 140, 255, .45); color: #fff; }
.btn.gray { background: var(--soft-2); color: var(--text); }
.btn.gray:hover { background: color-mix(in srgb, var(--soft-2) 70%, var(--accent) 20%); color: var(--white); }
.btn.red { background: color-mix(in srgb, var(--bad) 15%, transparent); color: var(--bad); }
.btn.red:hover { background: color-mix(in srgb, var(--bad) 30%, transparent); color: var(--white); }
.btn.small { height: 30px; padding: 0 14px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; }

/* stat tiles */
.tile { background: var(--panel-2); border: 1px solid var(--line); padding: 14px 16px; border-radius: 12px; }
.tile .k { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.tile .v { color: var(--white); font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0; }
.tile .s { color: var(--muted); font-size: 12.5px; }

/* prices */
.badge { display: inline-block; background: var(--good-bg); color: var(--good); font-size: 13px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.badge.none { background: var(--soft); color: var(--muted); }
.was { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.now { color: var(--white); font-weight: 650; }
.price-box { display: inline-flex; align-items: center; gap: 10px; }

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12.5px; padding: 6px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--hover-row); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.missing td { color: var(--muted); font-style: italic; }
.title-cell { color: var(--white); font-weight: 550; }
td.now { color: var(--accent); }

/* wishlist rows */
.wish { display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.wish .name { color: var(--white); font-size: 17px; font-weight: 650; }
.wish .meta { color: var(--muted); font-size: 12.5px; }
.wish .rule { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.wish .rule select { width: auto; padding: 7px 10px; }
.wish .rule input, .rule.inline input { width: 90px; padding: 7px 10px; }
.rule.inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rule.inline select { width: auto; }
.wish.sale { border-color: color-mix(in srgb, var(--good) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--good) 14%, transparent), var(--shadow); }

/* servers */
.server { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.server:first-child { padding-top: 0; }
.server:last-child { border-bottom: 0; padding-bottom: 0; }
.server img, .server .noicon { width: 48px; height: 48px; border-radius: 14px; background: var(--panel-2); flex: 0 0 48px; }
.server .body { flex: 1; min-width: 0; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 1px 9px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); margin-left: 6px; }

/* misc */
.hero { padding: 48px 36px; background: linear-gradient(135deg, rgba(77, 163, 255, .16), rgba(124, 108, 255, .12)); border: 1px solid var(--line); border-radius: 20px; margin-bottom: 18px; box-shadow: var(--shadow); }
.hero h1 { font-size: 38px; max-width: 640px; line-height: 1.15; }
.hero p { max-width: 600px; font-size: 17px; color: var(--text); }
.notice { border: 1px solid rgba(77, 163, 255, .3); background: rgba(77, 163, 255, .08); padding: 10px 14px; margin: 10px 0; border-radius: 10px; }
.notice.warn { border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); }
.card-link { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); margin-bottom: 18px; transition: border-color .15s, transform .12s; }
.card-link:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.card-link strong { color: var(--white); display: block; }
.card-link .icon { font-size: 28px; }
.help p { margin: .45em 0; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 16px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 50; max-width: min(420px, calc(100vw - 32px)); }
.toast { background: var(--panel-2); border: 1px solid var(--line); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); color: var(--white); }
.toast.error { border-color: var(--bad); }
.toast.ok { border-color: var(--good); }
.empty { text-align: center; padding: 36px 12px; color: var(--muted); }
@media (max-width: 640px) {
  .hero { padding: 32px 22px; }
  .hero h1 { font-size: 30px; }
  .wish { grid-template-columns: 1fr; }
  .topbar-inner { gap: 8px 12px; }
}

/* theme switch */
.theme-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--soft); color: var(--text); font-size: 16px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.next-art { width: 100%; max-width: 460px; border-radius: 10px; display: block; margin-bottom: 10px; }
/* The creator logo, large and faint, centered behind everything. It never takes clicks. */
body::before { content: ""; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(92vmin, 920px); aspect-ratio: 1; background: url(/creator-bg.webp) center / contain no-repeat; opacity: var(--logo-opacity, .07); pointer-events: none; z-index: 0; }
:root[data-theme="light"] { --logo-opacity: .1; }
:root[data-contrast] { --logo-opacity: 0; }
header, main, footer { position: relative; z-index: 1; }
@media print { body::before { display: none; } }
/* Library table: room to breathe, a status menu wide enough to read, buttons side by side */
.library-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.library-controls input[type=search] { flex: 1 1 260px; min-width: 0; }
.library-controls select { flex: 0 1 220px; }
.library-table td { padding: 14px 14px; }
.library-table th { padding: 10px 14px; }
.game-cell { display: flex; align-items: center; gap: 14px; min-width: 240px; }
.game-thumb { width: 92px; height: 43px; border-radius: 5px; object-fit: cover; flex: none; background: var(--soft); }
.art-missing { background: var(--soft); border: 1px solid var(--line); }
.game-title { color: var(--white); font-weight: 550; }
.status-select { min-width: 130px; }
.row-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; white-space: nowrap; }
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--soft); }
.library-table td.tick { width: 28px; padding-right: 0; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.visits { color: var(--muted); font-size: 13px; }
.visits .live-dot { color: var(--good); }
.theme-btn:hover { background: var(--soft-2); color: var(--white); }
.theme-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* charts */
.chart-box { margin: 8px 0 0; }
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; touch-action: pan-y; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 9px; }
.chart .line { stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.s0, .swatch.s0 { stroke: var(--accent); background: var(--accent); }
.chart .line.s1 { stroke: var(--muted); stroke-dasharray: 6 4; }
.chart .dot { stroke: var(--panel); stroke-width: 2; }
.chart .dot.s0 { fill: var(--accent); }
.chart .dot.s1 { fill: var(--muted); }
.chart .cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.tip { position: absolute; top: 6px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 12.5px; color: var(--white); pointer-events: none; box-shadow: var(--shadow); }
.tip.right { right: 10px; }
.tip.left { left: 60px; }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--text); margin-bottom: 4px; }
.swatch { display: inline-block; width: 18px; height: 3px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.swatch.s1 { background: repeating-linear-gradient(90deg, var(--muted) 0 6px, transparent 6px 10px); }
.chart-table { margin-top: 6px; font-size: 13px; color: var(--muted); }
.chart-table summary { cursor: pointer; }
/* verdicts, selection, sub-panels */
.verdict { display: inline-block; font-size: 11.5px; font-weight: 650; padding: 1px 9px; border-radius: 999px; margin-left: 6px; vertical-align: middle; background: var(--soft); color: var(--muted); }
.verdict.great { background: var(--good-bg); color: var(--good); }
.verdict.good { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.verdict.wait { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.wish .wide { grid-column: 1 / -1; }
.wish .name .pick { width: auto; margin-right: 6px; vertical-align: middle; }
.subpanel { margin-top: 10px; padding: 10px 14px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; }
.subpanel h4 { margin: 0 0 8px; color: var(--white); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.board { margin: 0; padding-left: 22px; line-height: 1.9; }
.chart-row td { padding: 8px 4px; }
.chart-row[hidden], .tip[hidden] { display: none; }

.rule.inline .check input, .wish .rule .check input { width: auto; margin: 0 6px 0 0; }
input[type="time"] { width: 100%; font: inherit; }
.freelist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.more { margin: 8px 0; } .more summary { cursor: pointer; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
textarea[autocomplete="off"] { font-family: ui-monospace, Menlo, Consolas, monospace; min-height: 120px; }

.logbox { max-height: 420px; overflow: auto; margin: 10px 0 0; padding: 12px; border: 1px solid var(--line, rgba(128,128,128,.3)); border-radius: 10px; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; background: rgba(128,128,128,.08); }

.about-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.about-head h3 { margin: 0 0 6px; font-size: 1.4rem; }
.about-logo { border-radius: 16px; }
.creator { display: flex; align-items: center; gap: 8px; color: var(--muted, #8b95a5); font-size: .95rem; }
.creator-logo { border-radius: 50%; background: #111; }
.about-stats { margin-top: 14px; }
.panel.about .about-head h3 { text-transform: none; letter-spacing: 0; color: var(--text, inherit); font-size: 1.5rem; }

.about-banner-live { position: relative; overflow: hidden; display: flex; align-items: center; gap: clamp(18px, 4.5vw, 56px); min-height: 190px; margin: 0 0 16px; padding: 26px clamp(18px, 5.5vw, 70px); border-radius: 14px; background: linear-gradient(135deg, #1c2a3a, #28465f); color: #fff; }
.about-banner-live::before { content: ""; position: absolute; right: -3%; top: -34%; width: min(52%, 420px); aspect-ratio: 1; background: url(/creator-bg.webp) center / contain no-repeat; opacity: .3; pointer-events: none; }
.ab-ring { position: absolute; border-radius: 50%; border: 3px solid rgba(98, 191, 248, .16); pointer-events: none; }
.ab-ring.r1 { width: 520px; height: 520px; left: 28%; top: -60%; }
.ab-ring.r2 { width: 560px; height: 560px; left: 29.5%; top: -64%; }
.ab-tag { position: relative; height: clamp(86px, 15vw, 150px); width: auto; flex: none; }
.ab-text { position: relative; min-width: 0; }
.ab-title { margin: 0; font-size: clamp(24px, 4.6vw, 50px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.ab-sub { margin-top: 10px; font-size: clamp(13px, 2.1vw, 23px); font-weight: 700; color: #c7d3e3; }
.ab-note { margin-top: 8px; font-size: clamp(12px, 1.8vw, 20px); font-weight: 700; color: #62bff8; }
:root[data-theme="light"] .ab-note { color: #0f5aa8; }
.about-banner { display: block; width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; margin: 0 0 16px; }
.copyright { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.copyright img { border-radius: 50%; background: #111; }
.copyright:hover { color: var(--text, inherit); }

/* ---------- homepage ---------- */
.btn.big { padding: 13px 24px; font-size: 16px; border-radius: 12px; }
.lp-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; padding: 40px 32px; border: 1px solid var(--line); border-radius: 24px; margin-bottom: 22px; box-shadow: var(--shadow);
  background: radial-gradient(700px 360px at 10% 0%, rgba(255, 152, 0, .16), transparent 60%), radial-gradient(700px 400px at 100% 100%, var(--glow-2), transparent 60%), linear-gradient(135deg, rgba(77, 163, 255, .14), rgba(124, 108, 255, .08)); }
.lp-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); background: rgba(242, 184, 75, .12); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.lp-hero h1 { font-size: 40px; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 14px; color: var(--white); }
.lp-sub { font-size: 18px; line-height: 1.5; color: var(--text); max-width: 620px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 12px; }
.lp-cta.center { justify-content: center; }
.dc-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); transform: rotate(1.2deg); max-width: 430px; margin-left: auto; }
.dc-bot { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--white); }
.dc-bot img { border-radius: 50%; }
.dc-tag { background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 5px; border-radius: 4px; }
.dc-embed { border-left: 4px solid #fee75c; background: var(--panel-2); border-radius: 6px; padding: 12px 14px; }
.dc-title { font-weight: 700; color: var(--accent); margin-bottom: 6px; font-size: 16px; }
.dc-line { font-size: 14px; margin-bottom: 4px; color: var(--text); }
.dc-fields { display: flex; gap: 18px; margin: 8px 0; font-size: 13px; }
.dc-fields b { display: block; color: var(--white); font-size: 12px; }
.dc-art { height: 96px; border-radius: 8px; margin-top: 8px; display: grid; place-items: center; color: var(--muted); font-size: 12px; background: linear-gradient(135deg, rgba(77, 163, 255, .3), rgba(124, 108, 255, .3)); }
.dc-buttons { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.dc-btn { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 6px; background: var(--soft-2); color: var(--white); }
.dc-btn.link { background: #4e5058; color: #fff; }
.lp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 30px; }
.lp-stat { text-align: center; padding: 16px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.lp-stat .v { font-size: 30px; font-weight: 800; color: var(--white); }
.lp-stat .k { font-size: 13px; color: var(--muted); }
.lp-section { margin: 30px 0; }
.lp-section h2, .lp-final h2 { font-size: 26px; letter-spacing: -.01em; color: var(--white); margin: 0 0 18px; }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-grid.three { grid-template-columns: repeat(3, 1fr); }
.lp-feature, .lp-step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.lp-feature h3, .lp-step h3 { margin: 10px 0 6px; font-size: 17px; color: var(--white); text-transform: none; letter-spacing: 0; }
.lp-feature p, .lp-step p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.5; }
.lp-icon { width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px; border-radius: 12px; background: var(--soft); }
.lp-num { width: 36px; height: 36px; display: grid; place-items: center; font-weight: 800; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.lp-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.lp-list { padding-left: 20px; line-height: 1.7; color: var(--text); }
.lp-flow { display: flex; flex-direction: column; gap: 10px; }
.lp-flow-step { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.lp-flow-icon { font-size: 24px; }
.lp-final { text-align: center; padding: 48px 20px; margin: 44px 0 10px; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(77, 163, 255, .14), rgba(124, 108, 255, .1)); }
@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; padding: 34px 22px; }
  .lp-hero h1 { font-size: 34px; }
  .dc-card { margin: 0 auto; transform: none; }
  .lp-grid, .lp-grid.three, .lp-split { grid-template-columns: 1fr; }
}

/* ---------- servers ---------- */
.sv-toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 6px 0 22px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.sv-toolbar .tabs { margin: 0; }
.tab { border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 9px 16px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.tab:hover { border-color: var(--accent); }
.tab.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.sv-search { min-width: 240px; max-width: 100%; }
.sv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sv-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.sv-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.sv-card.off { opacity: .88; }
.sv-top { display: flex; align-items: center; gap: 16px; }
.sv-icon { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; flex: none; }
.sv-icon.big { width: 88px; height: 88px; border-radius: 24px; }
.sv-icon.noicon { display: grid; place-items: center; background: var(--panel-2); color: var(--white); font-weight: 800; font-size: 26px; }
.sv-name strong { font-size: 18px; color: var(--white); display: block; margin-bottom: 8px; overflow-wrap: anywhere; }
.sv-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.chip.ok { background: var(--good-bg); color: var(--good); }
.chip.warn { background: rgba(242, 184, 75, .16); color: var(--warn); }
.chip.bad { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }
.chip.dim { background: var(--soft); color: var(--muted); }
.sv-stats { display: grid; gap: 10px; padding: 16px; background: var(--panel-2); border-radius: 12px; }
.sv-stat { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.sv-stat b { margin-left: auto; color: var(--white); }
.sv-ico { font-size: 16px; }
.sv-ico.big { font-size: 26px; }
.sv-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.back { display: inline-block; margin-bottom: 16px; color: var(--muted); text-decoration: none; font-weight: 600; }
.back:hover { color: var(--white); }
.sv-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.sv-hero h1 { margin: 0 0 10px; }
.sv-body { display: grid; gap: 22px; }
.sv-body .panel { padding: 24px; }
.sv-status { font-size: 16px; color: var(--white); margin: 0 0 14px; }
.sv-actions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sv-action { display: flex; align-items: center; gap: 16px; text-align: left; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; color: var(--text); font: inherit; cursor: pointer; }
.sv-action:hover { border-color: var(--accent); }
.sv-action b { display: block; color: var(--white); font-size: 16px; margin-bottom: 2px; }
@media (max-width: 760px) { .sv-grid, .sv-actions-grid { grid-template-columns: 1fr; } .sv-hero { flex-direction: column; align-items: flex-start; } }

.gw-preview { min-height: 64px; display: grid; place-items: center; background: var(--panel-2); border-radius: 12px; margin: 12px 0 18px; padding: 10px; }
.gw-preview img { max-width: 100%; max-height: 200px; border-radius: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 16px; }
.tab.small { padding: 5px 12px; font-size: 13px; }

.free-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.free-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.free-card img, .free-noart { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; background: var(--panel); display: grid; place-items: center; font-size: 34px; }
.free-info { padding: 14px; display: grid; gap: 8px; justify-items: start; }
.tab.small.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ---------- status page ---------- */
.status-page { display: grid; gap: 20px; }
.st-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.st-banner strong, .st-banner .st-head { display: inline; font-size: 24px; font-weight: 700; color: var(--white); margin: 0 0 0 12px; }
.st-banner.operational { border-color: color-mix(in srgb, var(--good) 55%, var(--line)); background: color-mix(in srgb, var(--good) 9%, var(--panel)); }
.st-banner.degraded { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); }
.st-banner.down { border-color: #ed4245; }
.st-meta { display: flex; align-items: center; gap: 14px; }
.st-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); vertical-align: middle; }
.st-dot.operational { background: var(--good); box-shadow: 0 0 0 6px color-mix(in srgb, var(--good) 25%, transparent); }
.st-dot.degraded { background: var(--warn); } .st-dot.down { background: #ed4245; }
.st-list { display: grid; }
.st-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.st-row:first-child { border-top: 0; }
.st-when { display: grid; justify-items: end; gap: 4px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.st-bars { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; height: 44px; }
.st-bar { border-radius: 3px; background: var(--line); }
.st-bar.good { background: var(--good); } .st-bar.warn { background: var(--warn); } .st-bar.bad { background: #ed4245; }
.st-axis { display: flex; justify-content: space-between; margin-top: 8px; }

/* support */
.thread { display: grid; gap: 10px; }
.msg { padding: 10px 14px; border-radius: 12px; background: var(--soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.staff { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.msg.system { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.cards { display: grid; gap: 10px; }
pre.logs { max-height: 220px; overflow: auto; font-size: 12px; white-space: pre-wrap; }

/* notifications, news, search, contrast */
.badge-count { display: inline-block; min-width: 18px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; text-align: center; line-height: 18px; }
.card-link.unread { border-color: var(--accent); }
.notice.news { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.notice.news .btn { margin-left: auto; }
:root[data-theme="light"] .notice a { color: #0f4fa6; }
.check { display: block; padding: 4px 0; }
.progress { height: 8px; border-radius: 999px; background: var(--soft-2); margin: 6px 0 12px; overflow: hidden; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.step-row { display: block; padding: 6px 0; color: var(--text); }
.step-row.done { color: var(--muted); text-decoration: line-through; }
.lp-setup { max-width: 760px; margin: 0 auto 18px; }
.search-overlay { position: fixed; inset: 0; background: rgba(3, 8, 18, .6); z-index: 50; display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; }
.search-box { width: min(560px, calc(100vw - 32px)); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.search-results { margin-top: 10px; display: grid; gap: 2px; max-height: 50vh; overflow: auto; }
.search-results a { padding: 8px 10px; border-radius: 8px; color: var(--text); }
.search-results a:hover, .search-results a:focus { background: var(--hover-row); outline: none; }
.search-results a.sel { background: var(--hover-row); }
:root[data-contrast] { --text: #ffffff; --muted: #d6e2f2; --line: rgba(255, 255, 255, .55); --accent: #7dc0ff; --panel: #000000; --panel-2: #0b0b0b; --bg: #000000; --bg-glow: #000000; --input-bg: #000000; --good: #5dffb0; --warn: #ffd166; --bad: #ff8a8a; }
:root[data-contrast][data-theme="light"] { --text: #000000; --muted: #1b2a40; --line: rgba(0, 0, 0, .65); --accent: #0047b3; --panel: #ffffff; --panel-2: #ffffff; --bg: #ffffff; --bg-glow: #ffffff; --input-bg: #ffffff; --white: #000000; --good: #00573a; --warn: #7a4a00; --bad: #a40000; }
:root[data-contrast] a { text-decoration: underline; }
:root[data-contrast] :focus-visible { outline: 3px solid var(--warn); outline-offset: 2px; }

/* grouped menu */
.nav-btn { background: none; border: 0; font: inherit; color: var(--muted); font-weight: 550; font-size: 14px; padding: 7px 11px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.nav-btn:hover, .nav-btn[aria-expanded="true"] { color: var(--white); background: var(--soft); }
.nav-btn.active { color: var(--white); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.nav-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-group { position: relative; }
.cur-btn { border: 1px solid var(--line); background: var(--soft); font-variant-numeric: tabular-nums; }
.menu.right { left: auto; right: 0; }
.menu.scroll { max-height: min(70vh, 420px); overflow-y: auto; min-width: 230px; }
.menu button { display: flex; width: 100%; text-align: left; background: none; border: 0; font: inherit; font-size: 14px; color: var(--text); padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.menu button:hover { background: var(--hover-row); color: var(--white); }
.menu button.active { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--white); }
.menu button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 190px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 6px; z-index: 30; display: grid; gap: 2px; }
.menu[hidden] { display: none; }
.menu a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.menu a:hover { background: var(--hover-row); color: var(--white); }
#nav .menu a { color: var(--text); border-radius: 8px; padding: 8px 12px; }
#nav .menu a.active { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--white); }
.setup-row { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.setup-row:first-of-type { border-top: 0; }
.setup-row > .btn, .setup-row > button { justify-self: start; }
.panel > .row + .row { margin-top: 10px; }
.panel > .row + div { margin-top: 12px; }
@media (max-width: 640px) {
  .nav-group { position: static; }
  .menu { left: 16px; right: 16px; min-width: 0; }
  .account { flex-wrap: wrap; margin-left: 0; width: 100%; }
}

.server-pills { margin: 0 0 12px; }
.pill-icon { border-radius: 50%; margin-right: 8px; vertical-align: -4px; }
.server-pills .tab { padding: 6px 14px; }
@media (min-width: 641px) and (max-width: 1220px) {
  .brand span { display: none; }
  .topbar-inner { flex-wrap: nowrap; }
  #nav { flex-wrap: nowrap; min-width: 0; }
  #nav a { padding: 7px 7px; font-size: 13.5px; }
  .user-chip .who { display: none; }
}
@media (min-width: 641px) and (max-width: 1090px) {
  .topbar-inner { flex-wrap: wrap; }
  #nav { flex: 1 1 100%; order: 3; flex-wrap: wrap; }
}
[hidden] { display: none !important; }

/* Calendar */
.cal-toolbar { margin-bottom: 8px; }
.cal-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.cal-row:first-of-type { border-top: 0; }
.cal-row > div { flex: 1; min-width: 0; }
.cal-ico { font-size: 20px; width: 28px; text-align: center; }
.cal-title { font-weight: 600; color: var(--white); }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cal-nav h3 { margin: 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-head { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-cell { min-height: 92px; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel-2); overflow: hidden; }
.cal-cell.other { opacity: .5; }
.cal-cell.today { border-color: var(--accent); }
.cal-day { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.cal-chip { font-size: 12px; line-height: 1.3; padding: 2px 6px; margin-bottom: 3px; border-radius: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--white); }
.cal-chip.sale { background: color-mix(in srgb, var(--warn) 22%, transparent); }
.cal-chip.event { background: color-mix(in srgb, var(--accent-2) 24%, transparent); }
.cal-chip.lfg { background: var(--good-bg); }
@media (max-width: 640px) { .cal-cell { min-height: 64px; padding: 3px; } .cal-chip { font-size: 10px; padding: 1px 3px; } }
textarea.short { min-height: 64px; font-family: inherit; font-size: 14px; }

.recap-card { width: 100%; height: auto; border-radius: 10px; display: block; margin: 10px 0; }
input.short-num { width: 6em; }

.spend-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin: 12px 0 4px; }
.spend-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.spend-col i { display: block; width: 100%; background: var(--accent, #ff9800); border-radius: 3px 3px 0 0; min-height: 1px; }
.spend-col span { font-size: 11px; color: var(--muted, #888); }

.taste-row { display: grid; grid-template-columns: 9em 1fr 3em; gap: 8px; align-items: center; margin: 4px 0; font-size: 13px; }
.taste-track { background: rgba(127,127,127,.2); border-radius: 3px; height: 10px; overflow: hidden; }
.taste-track i { display: block; height: 100%; background: var(--accent, #4da3ff); }

.game-link { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--muted, #888); }
.game-link:hover { color: var(--accent, #4da3ff); }

.trophy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.trophy { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2); }
.trophy:not(.earned) .trophy-icon { filter: grayscale(1); opacity: .6; }
.trophy.earned { border-color: var(--accent); }
.trophy-icon { font-size: 1.5rem; }

.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.mp-card { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.mp-hidden { opacity: .55; }
.mp-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mp-icon { font-size: 1.4rem; }
.mp-tools { display: flex; gap: 4px; margin-top: auto; padding-top: 6px; }

.mp-banner { display: block; width: 100%; max-height: 180px; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; }


.mp-actions, .mp-bar { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.mp-bar { margin: 8px 0; }
.mp-actions .btn { flex: 0 0 auto; }
details.panel > summary { cursor: pointer; font-weight: 600; color: var(--white); }
details.panel[open] > summary { margin-bottom: 10px; }

.war-slider { width: 100%; margin: 8px 0; }
.war-tools { margin-bottom: 12px; }
.war-tools > div:not(.war-quick) { flex: 0 1 220px; }
.war-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.war-list { padding: 4px 16px; }
.war-list .empty { margin: 8px 0; }
.war-row:last-child { border-bottom: 0; }
.war-row { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.fr-actions { margin-top: 10px; }

/* Steam profile card */
.sc-card { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.sc-avatar { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.sc-none { display: grid; place-items: center; font-size: 30px; background: var(--panel2, rgba(255,255,255,.05)); }
.sc-info { flex: 1 1 200px; min-width: 0; }
.sc-info h3 { margin: 0 0 2px; overflow-wrap: anywhere; text-transform: none; letter-spacing: 0; font-size: 20px; color: var(--text); }
.sc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-playing { color: var(--good, #3ddc97); font-weight: 600; font-size: 14px; margin: 2px 0; }
.free-bar { justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }
.free-bar .tabs { margin: 0; }
.free-bar select { min-width: 160px; }
.free-info .chip { align-self: flex-start; }

/* Game page spacing */
.next-art { margin: 6px 0 18px; }
.game-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 20px; }
.game-actions > * { flex: 0 0 auto; }
.game-actions + .grid { margin-bottom: 20px; }
.grid.four + .notice { margin: 0 0 20px; }
.grid.four + .panel, .notice + .panel { margin-top: 0; }
.panel { margin-bottom: 20px; }
.panel > h3:first-child { margin-bottom: 14px; }
.game-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.game-line:first-of-type { border-top: 0; padding-top: 0; }
.game-line:last-child { padding-bottom: 2px; }

/* Gaming names on the profile card */
.plat-row { align-items: flex-end; }
.plat-row .btn { align-self: flex-end; }
.plat-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.chip-x { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 12px; padding: 0 2px; opacity: .7; }
.chip-x:hover, .chip-x:focus-visible { opacity: 1; }

.bar { height: 10px; border-radius: 999px; background: var(--line, #2a3a4a); overflow: hidden; margin: 6px 0; }
.bar .fill { height: 100%; background: #66c0f4; border-radius: 999px; }

/* section tabs under the top bar */
.hubbar { width: 100%; max-width: 1100px; margin: 0 auto; padding: 12px 20px 0; display: flex; justify-content: flex-start; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.hubbar[hidden] { display: none; }
.hubbar::-webkit-scrollbar { display: none; }
.hubtab { color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.hubtab:hover { color: var(--white); background: var(--soft); }
.hubtab.active { color: var(--white); background: color-mix(in srgb, var(--accent) 18%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.hubtab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hubbar:not([hidden]) + .page { padding-top: 20px; }
.bundle-form input[type=text] { min-width: min(320px, 100%); }
.bundle-form textarea { min-height: 70px; height: 70px; }

.bug-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin: 0 0 10px; display: grid; gap: 6px; }
.bug-card.new { border-color: var(--warn, #f2b84b); }
.bug-card .row { align-items: center; }
.bug-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Scrollbars come from scrollbar.css, in this page's accent colors. */
/* Long lists scroll inside their panel instead of stretching the page */
.scroll-y { max-height: 340px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.scroll-y.tall { max-height: 520px; }
.scroll-y table { margin: 0; }
.scroll-y th { position: sticky; top: 0; background: var(--panel-2); z-index: 1; }
.scroll-y .bug-card:last-child { margin-bottom: 0; }
/* A compact name and count list, several per row */
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 10px; }
.kv > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.kv > div b { font-variant-numeric: tabular-nums; color: var(--white); }
.kv > div.zero { opacity: .55; }
.kv > div.zero b { color: var(--muted); }
.lookup-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lookup-row input { flex: 1 1 260px; min-width: 0; width: auto; }

/* Panel title with its action seated on the right */
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.panel-head h3 { margin: 0; }
/* Text boxes beside a button get real room; number boxes stay compact but fit their hint */
.rule.inline input:not([type=checkbox]):not([type=number]) { width: auto; flex: 1 1 240px; min-width: 0; }
.rule.inline input[type=number] { width: 150px; }
.wish .rule input[type=number] { width: 110px; }
.rule.inline .field, .bundle-form .rule.inline > * { flex: 1 1 200px; }
.rule.inline .field input { width: 100%; }
textarea { min-height: 110px; }
.rule.inline > div { flex: 1 1 200px; min-width: 0; }
.rule.inline > div input:not([type=checkbox]), .rule.inline > div select { width: 100%; flex: none; }

/* "Gifted" tooltip next to a price */
.gift-tip { position: relative; margin-left: 6px; cursor: help; font-size: 12px; }
.gift-tip::after { content: attr(data-tip); position: absolute; bottom: 130%; right: 0; background: var(--panel-2); color: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 3px 9px; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateY(3px); transition: opacity .12s, transform .12s; box-shadow: var(--shadow); }
.gift-tip:hover::after, .gift-tip:focus-visible::after { opacity: 1; transform: none; }

.dlc-tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--blue, #4aa3ff) 18%, transparent); }
.own-note { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 8px; }
.own-note.yes { background: color-mix(in srgb, var(--good, #3fb950) 18%, transparent); color: var(--good, #3fb950); }
.own-note.no { background: color-mix(in srgb, var(--bad) 16%, transparent); color: var(--bad); }

/* home page: live free-offers pill and the feature ticker */
.lp-live { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 14px; margin-bottom: 16px; text-decoration: none; transition: border-color .2s, color .2s; }
.lp-live:hover { border-color: var(--good); color: var(--white); }
.lp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--good); animation: lp-ping 2s infinite; }
@keyframes lp-ping { 0% { box-shadow: 0 0 0 0 var(--good); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.lp-ticker { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 16px 0; margin: 10px 0 34px; }
.lp-ticker-track { display: flex; width: max-content; animation: lp-slide 40s linear infinite; }
.lp-ticker-track span { display: flex; align-items: center; font-size: 21px; font-weight: 800; letter-spacing: -.01em; color: var(--muted); white-space: nowrap; }
.lp-ticker-track span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good); margin: 0 30px; }
@keyframes lp-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lp-dot, .lp-ticker-track { animation: none; } }

/* Sign in through Steam */
.btn.steam { background: #1b2838; color: #fff; border: 1px solid #66c0f4; display: inline-flex; align-items: center; gap: 8px; }
.btn.steam:hover { background: #2a475e; color: #fff; }
.btn.steam.big { padding: 12px 22px; font-size: 16px; }
.btn.steam.small { padding: 6px 12px; font-size: 13px; }
:root[data-theme="light"] .btn.steam { background: #1b2838; color: #fff; }
.steam-hero { border-color: #66c0f4; }
details.paste { margin-top: 14px; }
details.paste summary { cursor: pointer; color: var(--muted); font-size: 13px; }

/* Library analytics */
.a-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.a-tile { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.a-tile.hot { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 9%, var(--panel)); }
.a-tile .k { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.a-tile .v { color: var(--white); font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0; }
.a-tile .s { color: var(--muted); font-size: 12.5px; }
.a-grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 14px; align-items: start; margin-bottom: 14px; }
@media (max-width: 860px) { .a-grid { grid-template-columns: 1fr; } }
.a-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 14px; }
.a-name { font-weight: 600; color: var(--white); font-size: 14px; }
.a-meta { color: var(--muted); font-size: 12.5px; text-align: right; }
.a-track { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: var(--panel-2); overflow: hidden; }
.a-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.a-big { font-size: 44px; font-weight: 800; color: var(--white); letter-spacing: -.03em; margin-top: 8px; }
.a-split { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 13px; }
.a-split b { color: var(--white); }
.a-most { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.a-game { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 460 / 215; background: var(--panel-2); }
.a-art { width: 100%; height: 100%; object-fit: cover; display: block; }
.a-cap { position: absolute; inset: auto 0 0 0; padding: 22px 10px 8px; background: linear-gradient(transparent, rgba(8, 12, 20, .88)); display: grid; color: #fff; font-size: 12.5px; }
.a-cap b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steam-hero .row { display: flex; }
.steam-hero .btn.steam.big { width: auto; flex: 0 0 auto; }

/* Library card view */
.lib-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.lib-head h3 { margin: 0 0 2px; }
.lib-toggles { display: flex; gap: 6px; }
.icon-toggle { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); color: var(--muted); font-size: 18px; cursor: pointer; }
.icon-toggle.on { color: var(--accent); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--panel-2)); }
.lib-filters { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 12px 0; display: grid; gap: 12px; background: var(--panel-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip-btn { border: 1px solid var(--line); background: var(--panel); color: var(--text); border-radius: 999px; padding: 4px 11px; font-size: 12.5px; cursor: pointer; }
.chip-btn.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; align-items: start; margin-top: 12px; }
.lib-card { border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); overflow: hidden; display: grid; transition: border-color .2s, transform .2s; }
.lib-card:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateY(-2px); }
.lib-card.picked { border-color: var(--accent); }
.lib-art { position: relative; aspect-ratio: 460 / 215; background: var(--panel); }
.lib-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-art::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(transparent, rgba(8, 12, 20, .9)); pointer-events: none; }
.lib-title { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.2; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lib-tick { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(8, 12, 20, .65); border-radius: 6px; padding: 3px 5px; display: flex; }
.lib-badge { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: rgba(8, 12, 20, .72); color: #fff; }
.lib-badge.playing { background: #2b6cff; } .lib-badge.finished { background: #1f9d6b; } .lib-badge.dropped { background: #8a3a3a; }
.lib-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 10px 12px 0; color: var(--muted); font-size: 12.5px; }
.lib-save { color: var(--good); font-weight: 600; }
.lib-prices { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 6px 12px 0; font-size: 13px; color: var(--white); }
.lib-prices small { color: var(--muted); font-size: 11.5px; }
.lib-tags { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px 12px 0; }
.lib-tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.lib-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 12px; }
.lib-actions .status-select { flex: 1 1 100%; }
.lib-hist { padding: 0 12px 12px; }
.lib-pager { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.pg-nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pg-btn { min-width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); cursor: pointer; padding: 0 10px; }
.pg-btn.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 700; }
.pg-btn:disabled { opacity: .45; cursor: default; }

/* For you */
.fy-filters { display: grid; gap: 12px; }
.fy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fy-lab { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-right: 4px; }
.fy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 12px; }
.fy-card { display: grid; grid-template-columns: auto 92px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.fy-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.fy-match { width: 44px; text-align: center; border-radius: 8px; padding: 6px 0; background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); line-height: 1; }
.fy-match b { display: block; font-size: 17px; }
.fy-match small { font-size: 8.5px; font-weight: 700; letter-spacing: .08em; }
.fy-match.none { background: var(--panel-2); color: var(--muted); }
.fy-art { width: 92px; height: 43px; object-fit: cover; border-radius: 6px; display: block; background: var(--panel-2); }
.fy-info { display: grid; gap: 2px; min-width: 0; }
.fy-title { color: var(--white); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fy-genres { font-size: 11.5px; color: var(--accent); }
.fy-price { display: grid; justify-items: end; gap: 1px; }
.fy-price b { color: var(--good); font-size: 15px; }
.fy-price s { color: var(--muted); font-size: 11.5px; }
.fy-cut { font-size: 11.5px; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: var(--panel-2); color: var(--white); }
@media (max-width: 520px) { .fy-card { grid-template-columns: auto minmax(0, 1fr) auto; } .fy-art { display: none; } }
.emoji-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.emoji-grid img { width: 32px; height: 32px; object-fit: contain; }

/* Server XP page */
.xp-card { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, var(--panel-2), var(--panel)); }
.xp-level { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, var(--accent), var(--accent-2)); color: var(--on-accent); box-shadow: 0 0 0 4px var(--soft), var(--shadow); flex: none; }
.xp-level b { font-size: 34px; line-height: 1; letter-spacing: -.03em; }
.xp-lv-k { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; margin-bottom: -10px; }
.xp-card-main { flex: 1; min-width: 220px; }
.xp-card-main h3 { margin: 0 0 4px; }
.xp-board td, .xp-board th { padding: 8px 10px; }

/* The prize shop teaser: loud on purpose, in the dashboard's own colors */
.shop-soon { position: relative; overflow: hidden; text-align: center; padding: 28px 20px; border: 1px solid var(--accent-2);
  background: radial-gradient(circle at 50% -20%, var(--glow-2), transparent 60%), linear-gradient(160deg, var(--panel-2), var(--panel)); }
.shop-soon::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, var(--soft-2) 50%, transparent 65%); transform: translateX(-100%); animation: shop-shine 3.6s ease-in-out infinite; pointer-events: none; }
.shop-badge { display: inline-block; padding: 7px 18px; border-radius: 999px; font-weight: 800; font-size: 14px; letter-spacing: .22em; color: var(--on-accent);
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent)); background-size: 200% 100%; animation: shop-flow 3s linear infinite; box-shadow: 0 0 24px var(--glow-2), 0 4px 14px rgba(3, 8, 18, .35); }
.shop-soon h3 { font-size: 28px; margin: 14px 0 6px; color: var(--white); }
.shop-ghosts { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 18px 0; }
.shop-ghost { display: grid; gap: 2px; justify-items: center; width: 150px; padding: 16px 10px; border-radius: 12px; background: var(--soft); border: 1px dashed var(--line); filter: saturate(.7); opacity: .85; }
.shop-ghost span { font-size: 30px; }
.shop-ghost small { color: var(--muted); letter-spacing: .08em; }
@keyframes shop-shine { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
@keyframes shop-flow { to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { .shop-soon::before, .shop-badge { animation: none; } }
.lr-option { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.lr-option p { margin: 4px 0 10px; }

.case-row { padding: 8px 0; border-bottom: 1px solid var(--line, rgba(128,128,128,.2)); }
.case-row:last-child { border-bottom: 0; }

.dpreview { background: #313338; color: #dbdee1; border-radius: 8px; padding: 12px; font-size: 14px; }
.dpreview .dp-ping { color: #c9cdfb; background: rgba(88,101,242,.3); display: inline-block; padding: 0 3px; border-radius: 3px; margin-bottom: 6px; }
.dpreview .dp-card { background: #2b2d31; border-left: 4px solid #4d8cff; border-radius: 4px; padding: 10px 14px; display: grid; gap: 6px; max-width: 480px; }
.dpreview .dp-title { font-weight: 700; color: #fff; font-size: 16px; }
.dpreview .dp-author { font-size: 12px; font-weight: 600; }
.dpreview .dp-body, .dpreview .dp-field div { white-space: pre-wrap; overflow-wrap: anywhere; }
.dpreview .dp-fields { display: flex; flex-wrap: wrap; gap: 8px; }
.dpreview .dp-field { flex: 1 1 100%; } .dpreview .dp-field.inline { flex: 1 1 30%; }
.dpreview .dp-image { max-width: 100%; border-radius: 4px; }
.dpreview .dp-btn { background: #4e5058; color: #fff; padding: 5px 12px; border-radius: 3px; width: max-content; font-weight: 600; }
.dpreview .dp-foot { color: #949ba4; }

.ad-thumb { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }

.dpreview .dp-quote { border-left: 3px solid #4e5058; padding-left: 8px; margin-top: 2px; }
.dpreview .dp-card.has-thumb { position: relative; padding-right: 96px; }
.dpreview .dp-thumb { position: absolute; top: 10px; right: 12px; width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.soon { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.soon:empty { display: none; }
.lp-icon:empty, .lp-flow-icon:empty { display: none; }
.sv-ico:empty, .free-noart:empty, .cal-ico:empty, .icon:empty { display: none; }
.free-noart:empty { display: grid; }

/* phones */
@media (max-width: 520px) {
  .topbar-inner { padding: 8px 14px; gap: 6px 10px; }
  .topbar .brand span, .topbar .brand b { font-size: 14px; }
  .lp-hero { padding: 24px 16px; border-radius: 18px; }
  .lp-hero h1 { font-size: 27px; line-height: 1.12; }
  .lp-sub { font-size: 16px; }
  .lp-cta { flex-direction: column; align-items: stretch; }
  .lp-cta .btn { width: 100%; text-align: center; justify-content: center; }
  .lp-section h2 { font-size: 22px; }
  :is(#app, .svc-root) { padding-left: 14px; padding-right: 14px; }
}

.code-text { font-size: 15px; letter-spacing: .02em; word-break: break-all; user-select: all; }
.free-card.ended { opacity: .6; filter: grayscale(.6); }
.checks { display: grid; gap: 6px; margin-top: 6px; }

.code-tile { font-weight: 700; font-size: 20px; text-align: center; padding: 0 12px; color: #fff; background: linear-gradient(135deg, #3b4a6b, #1d2538); }
.code-genshin { background: linear-gradient(135deg, #c9a24a, #5b4a8a); }
.code-hsr { background: linear-gradient(135deg, #7c6bd6, #25214a); }
.code-zzz { background: linear-gradient(135deg, #f0c419, #1b1b1b); color: #fff; }

/* Expandable digest in Notifications */
details.note-open > summary { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; list-style: none; }
details.note-open > summary::-webkit-details-marker { display: none; }
details.note-open > summary::after { content: "▾"; margin-left: auto; opacity: .6; transition: transform .15s; }
details.note-open[open] > summary::after { transform: rotate(180deg); }
.note-games { display: grid; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line, rgba(128,128,128,.25)); }
.note-game { display: flex; gap: 12px; align-items: center; }
.note-game img, .note-game .noimg { width: 120px; height: 56px; border-radius: 6px; object-fit: cover; flex: none; background: rgba(128,128,128,.2); }
.note-info { min-width: 0; display: grid; gap: 2px; }
@media (max-width: 520px) { .note-game img, .note-game .noimg { width: 84px; height: 40px; } }
details.note-open.card-link { display: block; }

/* Music page */
.music-now { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.music-now img, .music-now .noimg { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; flex: none; background: rgba(128,128,128,.2); }
.music-meta { min-width: 0; flex: 1; display: grid; gap: 6px; }
.music-meta .bar { height: 6px; }
@media (max-width: 520px) { .music-now img, .music-now .noimg { width: 64px; height: 64px; } }
.cal-row .row { flex-wrap: nowrap; justify-content: flex-end; }
.cal-row .row .btn { flex: none; }

.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 10px 0 16px; }
.pack-card { display: grid; gap: 6px; justify-items: start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); }
.pack-previews { display: flex; gap: 4px; }
.pack-previews img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: rgba(128,128,128,.14); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin: 10px 0 14px; max-height: 420px; overflow: auto; }
.emoji-pick { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 10px; font-size: 11px; text-align: center; cursor: pointer; overflow-wrap: anywhere; }
.emoji-pick input { justify-self: start; }
.emoji-pick img { object-fit: contain; }

.legal { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
.legal .panel h2 { margin-top: 0; }
.legal .panel h3, .legal .panel h4 { margin: 20px 0 6px; }
.legal .panel ul, .legal .panel ol { padding-left: 22px; }

.legal.wide { width: 100%; max-width: 980px; box-sizing: border-box; }
.legal-pdf { display: block; width: 100%; height: 80vh; min-height: 520px; border: 1px solid var(--line, #2a2f3a); border-radius: 10px; background: #fff; }

/* wishlist: cards that match the For you page */
.wl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.wl-drawer { margin: 0 0 12px; }
.wl-drawer[hidden] { display: none; }
.wl-drawer > h3 { margin: 0 0 10px; }
.wl-actions .chip-btn { padding: 7px 16px; font-size: 13.5px; font-weight: 600; }
.fy-row select { width: auto; min-width: 170px; }
.wl-card .game-link { border-bottom: 0; }
.wl-tags .badge { white-space: nowrap; }
.wl-drawer > summary { cursor: pointer; padding: 12px 16px; font-weight: 650; color: var(--white); list-style: none; }
.wl-drawer > summary::-webkit-details-marker { display: none; }
.wl-drawer > summary::after { content: "▾"; float: right; color: var(--muted); }
.wl-drawer[open] > summary::after { content: "▴"; }
.wl-drawer-body { display: grid; gap: 12px; }
.wl-drawer-body h4 { margin: 6px 0 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wl-search { flex: 1 1 220px; min-width: 160px; max-width: 360px; height: 34px; padding: 0 14px; border-radius: 999px; }
.wl-grid { align-items: start; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
.wl-card { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); transition: border-color .15s, box-shadow .15s; min-width: 0; }
.wl-card:hover { border-color: var(--accent); }
.wl-card.sale { border-color: color-mix(in srgb, var(--good) 50%, transparent); }
.wl-card.open { grid-column: 1 / -1; }
.wl-main { display: grid; grid-template-columns: auto 92px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 12px; }
.wl-pick { display: grid; place-items: center; width: 22px; cursor: pointer; }
.wl-pick input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.wl-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.wl-tags:empty { display: none; }
.wl-flat { color: var(--white) !important; }
.wl-toggle { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font-size: 16px; line-height: 1; cursor: pointer; }
.wl-toggle:hover, .wl-toggle[aria-expanded="true"] { border-color: var(--accent); color: var(--white); }
.wl-more { display: grid; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.wl-more[hidden] { display: none; }
.wl-more .rule { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wl-more .rule select { width: auto; }
.wl-more .rule input[type=number] { width: 110px; }
.wl-btns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 520px) { .wl-main { grid-template-columns: auto minmax(0, 1fr) auto auto; } .wl-main .fy-art { display: none; } .wl-grid { grid-template-columns: 1fr; } }
details.wl-drawer { padding: 0; }
details.wl-drawer > .wl-drawer-body { padding: 0 16px 16px; }

/* streamers page */
.sr-stats { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0 0 14px; }
.sr-stat { display: grid; gap: 2px; min-width: 110px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.sr-stat b { font-size: 26px; line-height: 1; color: var(--white); }
.sr-stat span { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sr-stat.hot { border-color: #ff3b5c; background: linear-gradient(135deg, color-mix(in srgb, #ff3b5c 18%, var(--panel)), var(--panel)); }
.sr-stat.hot b { color: #ff5d7a; }
.sr-link { margin-left: auto; align-self: center; }
.sr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 12px; align-items: start; }
.sr-card { position: relative; display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.sr-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--line); }
.sr-card.twitch::before { background: #9146ff; } .sr-card.kick::before { background: #53fc18; } .sr-card.youtube::before { background: #ff0033; }
.sr-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.sr-card.live { border-color: #ff3b5c; box-shadow: 0 0 0 1px color-mix(in srgb, #ff3b5c 40%, transparent), 0 10px 30px color-mix(in srgb, #ff3b5c 22%, transparent); background: linear-gradient(160deg, color-mix(in srgb, #ff3b5c 10%, var(--panel)), var(--panel) 55%); }
.sr-banner { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; color: #ff5d7a; }
.sr-since { font-weight: 600; letter-spacing: 0; color: var(--muted); }
.sr-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 0 0 rgba(255, 59, 92, .7); animation: sr-pulse 1.6s infinite; }
.sr-dot.off { background: var(--muted); animation: none; box-shadow: none; opacity: .6; }
@keyframes sr-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 59, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); } }
@media (prefers-reduced-motion: reduce) { .sr-dot { animation: none; } }
.sr-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.sr-av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); color: var(--white); font-weight: 800; font-size: 22px; overflow: hidden; border: 2px solid var(--line); }
.sr-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-av.live { border-color: #ff3b5c; box-shadow: 0 0 0 3px color-mix(in srgb, #ff3b5c 35%, transparent); }
.sr-id { display: grid; gap: 2px; min-width: 0; }
.sr-id strong { color: var(--white); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-chan { font-size: 12.5px; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.sr-chan:hover { text-decoration: underline; }
.sr-pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; }
.sr-pill.twitch { background: #9146ff; } .sr-pill.kick { background: #2e9c0b; } .sr-pill.youtube { background: #e0002d; }
.sr-live { display: grid; gap: 3px; }
.sr-title { color: var(--white); font-weight: 650; line-height: 1.3; }
.sr-game { font-size: 13px; color: var(--muted); }
.sr-off { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; }
.sr-watch { justify-self: start; }
@media (max-width: 520px) { .sr-grid { grid-template-columns: 1fr; } .sr-link { margin-left: 0; } }

/* ---- news for your games ---- */
.news-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.news-card { display: flex; gap: 12px; padding: 10px; border: 1px solid var(--border, #2a2f3a); border-radius: 10px; text-decoration: none; color: inherit; background: var(--panel-2, rgba(255,255,255,.03)); }
.news-card:hover { border-color: var(--accent, #ff9800); }
.news-card.patch { border-left: 3px solid #57f287; }
.news-card img, .news-card .news-art { width: 120px; height: 56px; object-fit: cover; border-radius: 6px; flex: none; }
.news-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.news-game { font-size: 12px; opacity: .75; }
.news-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 520px) { .news-list { grid-template-columns: 1fr; } }

/* Filter chips, like the kind filter on Notifications */
.chips { gap: 6px; flex-wrap: wrap; margin: 8px 0; }
button.chip { border: 0; cursor: pointer; font-family: inherit; }
button.chip:hover { filter: brightness(1.12); }
button.chip[aria-pressed="true"] { background: var(--accent); color: #fff; }
.welcome-prev { display: block; width: 100%; max-width: 480px; margin-top: 10px; border-radius: 12px; }
.welcome-prev-wrap { display: block; width: 100%; }
.grow-bars { display: flex; align-items: flex-end; gap: 3px; height: 130px; margin: 14px 0 4px; }
.grow-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; }
.grow-col .pair { display: flex; align-items: flex-end; gap: 1px; width: 100%; height: 100%; }
.grow-col i { display: block; flex: 1; min-height: 1px; border-radius: 2px 2px 0 0; }
.grow-col i.j { background: var(--good, #3ba55d); }
.grow-col i.l { background: var(--muted, #888); opacity: .6; }
.grow-col span { font-size: 10px; color: var(--muted, #888); height: 12px; white-space: nowrap; }
div select.wl-quiet, select.wl-quiet { width: auto; max-width: 260px; padding: 6px 10px; font-size: 13px; }
div select.wl-quiet { width: auto; max-width: 260px; }

/* First-run guide */
body.wiz-open { overflow: hidden; }
.wiz { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(6, 11, 20, .72); backdrop-filter: blur(4px); animation: wiz-in .18s ease-out; }
@keyframes wiz-in { from { opacity: 0; } to { opacity: 1; } }
.wiz-dialog { width: min(900px, 100%); max-height: min(720px, calc(100vh - 36px)); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 70px rgba(2, 6, 14, .55); overflow: hidden; outline: none; }
.wiz-shell { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.wiz-head { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.wiz-brand { font-weight: 700; color: var(--white); letter-spacing: .01em; margin-right: auto; }
.wiz-phases { display: flex; gap: 6px; }
.wiz-phases span { font-size: 12px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.wiz-phases span.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.wiz-phases span.done { color: var(--good); border-color: color-mix(in srgb, var(--good) 40%, transparent); }
.wiz-skip-gap { width: 96px; }
.wiz-bar { height: 3px; background: var(--line); }
.wiz-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .25s ease; }
.wiz-main { display: flex; min-height: 0; flex: 1; }
.wiz-rail { list-style: none; margin: 0; padding: 18px 12px 18px 18px; width: 200px; flex: 0 0 200px; border-right: 1px solid var(--line); overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.wiz-rail li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; font-size: 14px; color: var(--muted); }
.wiz-rail li.on { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--white); font-weight: 600; }
.wiz-rail li.past { color: var(--text); }
.wiz-num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; flex: 0 0 22px; }
.wiz-rail li.on .wiz-num { background: var(--accent); border-color: var(--accent); color: #fff; }
.wiz-rail li.past .wiz-num { background: color-mix(in srgb, var(--good) 22%, transparent); border-color: color-mix(in srgb, var(--good) 45%, transparent); color: var(--good); }
.wiz-body { flex: 1; min-width: 0; overflow-y: auto; padding: 24px 28px; outline: none; }
.wiz-slide { animation: wiz-slide .22s ease-out; }
@keyframes wiz-slide { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wiz-kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.wiz-slide h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; color: var(--white); text-transform: none; letter-spacing: 0; }
.wiz-lead { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: var(--text); max-width: 62ch; }
.wiz-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wiz-points li { display: grid; gap: 2px; padding: 11px 14px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; background: var(--panel-2); }
.wiz-points strong { color: var(--white); font-size: 14px; }
.wiz-points span { color: var(--text); font-size: 14px; line-height: 1.5; }
.wiz-form { display: grid; gap: 14px; max-width: 560px; }
.wiz-form .row { gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.wiz-form .row > div { flex: 1 1 160px; }
.wiz-group { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); }
.wiz-group h4 { margin: 0 0 2px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wiz-sw { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; }
.wiz-sw input { margin: 3px 0 0; flex: none; }
.wiz-sw span { display: grid; gap: 1px; }
.wiz-sw b { color: var(--white); font-weight: 600; }
.wiz-sw em { font-style: normal; color: var(--muted); font-size: 13px; }
.wiz-status { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); }
.wiz-status.ok { border-color: color-mix(in srgb, var(--good) 50%, transparent); color: var(--good); }
.wiz-check { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; max-width: 560px; }
.wiz-check li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); font-size: 14px; }
.wiz-check li.done { border-color: color-mix(in srgb, var(--good) 40%, transparent); }
.wiz-tick { flex: 0 0 66px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.wiz-check li.done .wiz-tick { color: var(--good); }
.wiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--panel-2) 60%, transparent); }
.wiz-foot .row > * { flex: 0 0 auto; }
.wiz-confirm { padding: 40px 36px; max-width: 520px; margin: auto; text-align: center; }
.wiz-confirm h2 { margin: 0 0 10px; font-size: 22px; color: var(--white); text-transform: none; letter-spacing: 0; }
.wiz-confirm p { margin: 0 0 20px; line-height: 1.6; color: var(--text); }
.wiz-confirm .row { justify-content: center; }
@media (max-width: 720px) {
  .wiz { padding: 0; align-items: flex-end; }
  .wiz-dialog { max-height: 94vh; border-radius: 18px 18px 0 0; }
  .wiz-rail { display: none; }
  .wiz-body { padding: 18px 18px; }
  .wiz-slide h2 { font-size: 21px; }
  .wiz-head { padding: 12px 14px; gap: 8px; }
  .wiz-brand { display: none; }
  .wiz-phases { margin-right: auto; }
  .wiz-foot { padding: 10px 14px; }
  .wiz-count { display: none; }
  .wiz-foot .row { width: 100%; }
  .wiz-foot .row .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .wiz, .wiz-slide { animation: none; } .wiz-bar span { transition: none; } }

/* Playtests page */
.pt-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pt-kind { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, #eb459e 18%, transparent); color: #eb459e; }
.pt-kind.pt-demo { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.pt-kind.pt-beta { background: rgba(242, 184, 75, .16); color: var(--warn); }
.pt-kind.pt-weekend { background: var(--good-bg); color: var(--good); }
.pt-sum { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-card img { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; border-radius: 10px; }

/* Command guide on the Help page */
.cmd-hub { border-top: 1px solid var(--line, rgba(255,255,255,.08)); padding: .6em 0; }
.cmd-hub > summary { cursor: pointer; padding: .2em 0; }
.cmd-area { margin: .8em 0 .2em; }
.cmd-area h4 { margin: 0 .6em 0 0; }
.cmd-list { margin: .4em 0 0; padding-left: 1.1em; }
.cmd-list li { margin: .3em 0; }
.cmd-list code { word-break: break-word; }

/* Profiles */
.pf { --pf-card: color-mix(in srgb, var(--pf-bg) 86%, var(--pf-fg) 14%); background: var(--pf-bg); color: var(--pf-fg); border-radius: 16px; overflow: hidden; position: relative; padding-bottom: 1.2rem; }
.pf[data-bg="gradient"] { background: radial-gradient(1200px 500px at 15% -10%, color-mix(in srgb, var(--pf-accent) 28%, transparent), transparent 60%), radial-gradient(900px 500px at 100% 0%, color-mix(in srgb, var(--pf-accent) 16%, transparent), transparent 60%), var(--pf-bg); }
.pf[data-bg="dots"] { background: radial-gradient(color-mix(in srgb, var(--pf-accent) 35%, transparent) 1.4px, transparent 1.6px) 0 0 / 22px 22px, var(--pf-bg); }
.pf[data-bg="grid"] { background: linear-gradient(color-mix(in srgb, var(--pf-accent) 16%, transparent) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, color-mix(in srgb, var(--pf-accent) 16%, transparent) 1px, transparent 1px) 0 0 / 28px 28px, var(--pf-bg); }
.pf .muted { color: color-mix(in srgb, var(--pf-fg) 62%, transparent); }
.pf a { color: var(--pf-accent); }
.pf-banner { height: 150px; background: linear-gradient(120deg, var(--pf-accent), color-mix(in srgb, var(--pf-accent) 35%, var(--pf-bg))); background-size: cover; background-position: center; }
.pf-banner.art { filter: saturate(1.1); }
.pf-banner.none { height: 56px; background: none; }
.pf-head { --pf-over: 48px; display: flex; align-items: flex-start; gap: 1rem; padding: 0 1.4rem; margin-top: calc(var(--pf-over) * -1); position: relative; flex-wrap: wrap; }
.pf-avatar { width: 96px; height: 96px; border-radius: 50%; border: 4px solid var(--pf-bg); box-shadow: 0 0 0 2px color-mix(in srgb, var(--pf-accent) 55%, transparent), 0 6px 18px rgba(0, 0, 0, .3); object-fit: cover; background: var(--pf-card); flex: none; }
.pf-avatar.init { display: grid; place-items: center; font-size: 2.4rem; font-weight: 700; color: var(--pf-accent); }
.pf-who { flex: 1; min-width: 160px; padding-top: calc(var(--pf-over) + .5rem); }
.pf-who h1 { margin: 0; font-size: 1.7rem; line-height: 1.15; overflow-wrap: anywhere; }
.pf-actions { padding-top: calc(var(--pf-over) + .7rem); display: flex; gap: .5rem; align-items: center; }
.pf-link { background: none; border: 0; color: color-mix(in srgb, var(--pf-fg) 62%, transparent); cursor: pointer; text-decoration: underline; font: inherit; }
.pf-report input { margin-right: .4rem; max-width: 220px; }
.pf-song { display: flex; align-items: center; gap: .8rem; margin: 1rem 1.4rem 0; padding: .7rem .9rem; background: var(--pf-card); border-radius: 14px; border: 1px solid color-mix(in srgb, var(--pf-accent) 35%, transparent); flex-wrap: wrap; }
.pf-play { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.1rem; background: var(--pf-accent); color: #0b0d12; flex: none; }
.pf-play:focus-visible { outline: 3px solid var(--pf-fg); outline-offset: 2px; }
.pf-song-info { display: flex; flex-direction: column; flex: 1; min-width: 120px; }
.pf-open { font-size: .85rem; }
.pf-frame { border: 0; border-radius: 10px; flex: 1; min-width: 200px; height: 80px; }
.pf-frame.youtube { height: 140px; max-width: 250px; }
.pf-frame.spotify { height: 152px; }
.pf-frame.soundcloud { height: 166px; }
.pf-body { display: grid; gap: 1rem; padding: 1.2rem 1.4rem 0; align-items: start; }
.pf[data-layout="wide"] .pf-body { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pf[data-layout="wide"] .pf-card.pf-wishlist, .pf[data-layout="wide"] .pf-card.pf-about { grid-column: 1 / -1; }
.pf[data-layout="compact"] .pf-card { padding: .7rem .9rem; border-radius: 10px; }
.pf-card { background: var(--pf-card); border-radius: 14px; padding: 1rem 1.2rem; border: 1px solid color-mix(in srgb, var(--pf-fg) 10%, transparent); }
.pf h1, .pf h2 { color: var(--pf-fg); }
.pf-card h3 { color: color-mix(in srgb, var(--pf-fg) 72%, transparent); }
.pf .btn.gray { color: var(--pf-fg); background: color-mix(in srgb, var(--pf-fg) 14%, transparent); }
.pf-who h1 { text-shadow: none; }
.pf-card h3 { margin: 0 0 .8rem; padding-bottom: .65rem; border-bottom: 1px solid color-mix(in srgb, var(--pf-fg) 10%, transparent); font-size: 1rem; display: flex; align-items: center; gap: .6rem; }
.pf-bio { white-space: pre-wrap; margin: 0 0 .6rem; overflow-wrap: anywhere; }
.pf-links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pf-chip { padding: .25rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--pf-accent) 18%, transparent); color: var(--pf-fg) !important; text-decoration: none; font-size: .9rem; }
.pf-tiles { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-start; }
.pf-tile { width: 140px; }
.pf-tile img, .pf-noart { width: 100%; aspect-ratio: 460 / 215; object-fit: cover; border-radius: 8px; background: color-mix(in srgb, var(--pf-fg) 10%, transparent); display: grid; place-items: center; }
.pf-tile span { display: block; font-size: .85rem; margin-top: .3rem; overflow-wrap: anywhere; }
.pf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .7rem; }
.pf-stat { background: color-mix(in srgb, var(--pf-fg) 7%, transparent); border-radius: 10px; padding: .6rem .8rem; }
.pf-stat b { display: block; font-size: 1.4rem; }
.pf-stat span { font-size: .8rem; opacity: .7; }
.pf .free-card { background: color-mix(in srgb, var(--pf-fg) 6%, transparent); }
.pf-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.2rem; align-items: start; }
.pf-sticky { position: sticky; top: 70px; max-height: calc(100vh - 90px); overflow: auto; }
.pf-swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.pf-swatch { width: 44px; height: 44px; border-radius: 10px; border: 3px solid; cursor: pointer; position: relative; }
.pf-swatch::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--dot); }
.pf-swatch.on { outline: 3px solid var(--text, #fff); outline-offset: 2px; }
.pf-row { align-items: center; gap: .5rem; flex-wrap: wrap; margin: .3rem 0; }
.pf-row input[type=url] { flex: 1; min-width: 180px; }
.pf-sec { flex: 1; min-width: 120px; }
.pf-save { gap: .6rem; margin-top: .6rem; }
@media (max-width: 900px) { .pf-editor { grid-template-columns: minmax(0, 1fr); } .pf-sticky { position: static; max-height: none; } .pf-head { --pf-over: 40px; } .pf-actions { padding-top: .1rem; } .pf-avatar { width: 80px; height: 80px; } }
.pf-enter { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .6rem; border: 0; cursor: pointer; color: var(--pf-fg); font: inherit; background: color-mix(in srgb, var(--pf-bg) 82%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.pf-enter-in { position: absolute; left: 0; right: 0; top: min(30vh, 240px); display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.pf-enter-name { font-size: 2rem; font-weight: 700; }
.pf-enter-hint { font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pf-accent); animation: pf-pulse 2.2s ease-in-out infinite; }
.pf-enter:focus-visible { outline: 3px solid var(--pf-accent); outline-offset: -6px; }
@keyframes pf-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pf-enter-hint { animation: none; } }
.pf-audio { width: 100%; max-width: 360px; height: 36px; }
.ai-limits { margin: .3rem 0 .6rem; padding-left: 1.2rem; display: grid; gap: .35rem; font-size: .92rem; }
.ai-use { font-weight: 600; margin: .4rem 0 .2rem; }
.pill{display:inline-block;margin-left:8px;padding:2px 9px;border-radius:99px;font-size:.62em;font-weight:700;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle;background:rgba(255,152,0,.16);color:#b86e00}
:root[data-theme="dark"] .pill{color:#ffb74d}
.support-btn{white-space:nowrap}

.preset-img{display:block;width:100%;max-width:440px;height:auto;border-radius:12px;margin:10px 0 14px;border:1px solid var(--line,#34363b)}

/* ---------- phones: portrait and landscape ----------
   Under 900px wide, or a short landscape screen, the bar shrinks to the logo and a Menu button. The links and account controls
   open as a panel under it, so nothing runs off the side and the page keeps its room. */
.navtoggle { display: none; align-items: center; gap: 8px; margin-left: auto; padding: 7px 14px; border: 1px solid var(--line); background: var(--soft); color: var(--white); border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.navtoggle-bars, .navtoggle-bars::before, .navtoggle-bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.navtoggle-bars::before, .navtoggle-bars::after { content: ""; position: absolute; left: 0; }
.navtoggle-bars::before { top: -5px; } .navtoggle-bars::after { top: 5px; }
.topbar.open .navtoggle-bars { background: transparent; }
.topbar.open .navtoggle-bars::before { top: 0; transform: rotate(45deg); } .topbar.open .navtoggle-bars::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 900px), (max-height: 500px) and (max-width: 1100px) {
  .topbar-inner { flex-wrap: wrap; padding: 8px 14px; gap: 8px; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand span { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .navtoggle { display: inline-flex; flex: 0 0 auto; }
  #nav, #account { display: none; flex: 1 1 100%; width: 100%; }
  .topbar.open .topbar-inner { max-height: 100vh; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
  .topbar.open #nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .topbar.open #nav a { padding: 9px 14px; background: var(--soft); }
  .topbar.open #account { display: flex; flex-wrap: wrap; margin-left: 0; gap: 8px; padding-bottom: 6px; }
  .nav-group { position: static; }
  .menu { left: 14px; right: 14px; min-width: 0; max-height: 60vh; overflow-y: auto; }
  .page { padding: 20px 14px 40px; }
  .hubbar { padding: 10px 14px 0; }
  .hubbar .tab, .hubbar a { flex: 0 0 auto; white-space: nowrap; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .page { padding-top: 14px; }
  .toasts { bottom: 8px; right: 8px; }
}

.gwprevwrap { border-radius: 10px; overflow: hidden; background: repeating-conic-gradient(#2a2d36 0 25%, #20222a 0 50%) 0 0 / 20px 20px; margin: 8px 0; }
.gwprev { display: block; width: 100%; height: 300px; border: 0; background: transparent; }
@media (max-width: 600px) { .gwprev { height: 340px; } }

.pf-letter { background: linear-gradient(135deg, var(--panel-2), var(--panel)); color: var(--muted); font-weight: 800; }

/* Streamers area: a gradient mix of Twitch purple, YouTube red and Kick green. */
:is(:root, .svc-root)[data-area="streamer"] {
  --accent: #a970ff; --accent-2: #53fc18; --accent-hover: #c19bff; --on-accent: #ffffff;
  --bg-glow: rgba(145, 70, 255, .32); --glow-2: rgba(255, 40, 40, .2); --hover-row: rgba(169, 112, 255, .08);
  --stream-grad: linear-gradient(90deg, #9146ff, #ff2d2d 52%, #53fc18);
}
:is(:root[data-area="streamer"][data-theme="light"], :root[data-theme="light"] .svc-root[data-area="streamer"]) { --accent: #7a3df0; --accent-hover: #9456ff; --bg-glow: rgba(145, 70, 255, .2); --glow-2: rgba(255, 40, 40, .12); }
:is(:root, .svc-root)[data-area="streamer"] body {
  background:
    radial-gradient(760px 420px at 90% -60px, rgba(83, 252, 24, .16), transparent 70%),
    radial-gradient(900px 480px at 50% -120px, var(--glow-2), transparent 70%),
    radial-gradient(900px 480px at -5% 0, var(--bg-glow), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
:is(:root, .svc-root)[data-area="streamer"] #nav::after, :root[data-area="streamer"] header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--stream-grad); }
:is(:root, .svc-root)[data-area="streamer"] :is(#app, .svc-root) h1, :root[data-area="streamer"] :is(#app, .svc-root) h2:first-child { background: var(--stream-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* the live radio card: the same look as the OBS now-playing overlay */
.pf-song.pf-song-radio { padding: 0; background: none; border: 0; }
.pf-rcard { position: relative; flex: 1; min-width: 260px; max-width: 460px; display: flex; align-items: center; gap: 16px; padding: 12px 18px 14px 12px; border-radius: 20px; overflow: hidden; isolation: isolate; color: #f4f8fd; background: rgba(15, 23, 36, .92); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); --ra: var(--pf-accent, #4da3ff); }
.pf-rart { position: relative; flex: none; width: 92px; height: 92px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #7c6cff, var(--ra)); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.pf-rglyph { font-size: 34px; }
.pf-rplay { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer; font-size: 22px; color: #fff; background: rgba(0, 0, 0, .38); opacity: 0; transition: opacity .15s ease; }
.pf-rart:hover .pf-rplay, .pf-rplay:focus-visible { opacity: 1; }
.pf-rcard:not(.playing) .pf-rplay { opacity: 1; }
.pf-rplay:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
.pf-rbody { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pf-rlabel { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ra); }
.pf-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.pf-eq i { width: 3px; height: 100%; border-radius: 2px; background: linear-gradient(180deg, var(--ra), #7c6cff); transform-origin: bottom; transform: scaleY(.3); }
.pf-rcard.playing .pf-eq i { animation: pf-bob .9s ease-in-out infinite; }
.pf-eq i:nth-child(2) { animation-delay: -.3s !important; } .pf-eq i:nth-child(3) { animation-delay: -.6s !important; }
@keyframes pf-bob { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.pf-rtitle { font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-rsub { color: #a9bad2; line-height: 1.3; }
.pf-rrow { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.pf-rvol { flex: 1; max-width: 170px; accent-color: var(--ra); height: 4px; }
.pf-rprog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .08); }
.pf-rprog i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--ra), #7c6cff); box-shadow: 0 0 12px var(--ra); border-radius: 0 3px 3px 0; }
.pf-rcard.playing .pf-rprog i { animation: pf-glow 2s ease-in-out infinite; }
.pf-rcard:not(.playing) { filter: saturate(.55); }
.pf-rcard:not(.playing) .pf-rprog i { opacity: .25; }
@keyframes pf-glow { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .pf-rcard .pf-eq i, .pf-rprog i { animation: none !important; } }

/* the radio as a floating widget in the corner of a profile */
.pf-song.pf-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; margin: 0; padding: 0; }
.pf-float .pf-rcard { min-width: 0; width: 292px; max-width: calc(100vw - 24px); gap: 12px; padding: 10px 14px 12px 10px; border-radius: 18px; box-shadow: 0 16px 44px rgba(0, 0, 0, .5); transition: width .2s ease, padding .2s ease; }
.pf-float .pf-rart { width: 58px; height: 58px; border-radius: 12px; }
.pf-float .pf-rglyph { font-size: 24px; }
.pf-float .pf-rplay { font-size: 17px; }
.pf-float .pf-rtitle { font-size: 16px; }
.pf-float .pf-rlabel { font-size: 10px; }
.pf-float .pf-rsub { display: none; }
.pf-float .pf-rrow { margin-top: 2px; }
.pf-float .pf-rvol { max-width: 110px; }
.pf-float .pf-open { margin-left: auto; font-size: 12px; }
.pf-rfold { position: absolute; top: 4px; right: 8px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #dbe6f5; font-size: 15px; line-height: 1; cursor: pointer; }
.pf-rfold:hover { background: rgba(255, 255, 255, .22); }
.pf-rcard.mini { width: 78px; padding: 10px; gap: 0; }
.pf-rcard.mini .pf-rbody, .pf-rcard.mini .pf-rprog { display: none; }
.pf-rcard.mini .pf-rfold { top: 3px; right: 3px; width: 18px; height: 18px; font-size: 13px; }
@media (max-width: 560px) { .pf-song.pf-float { right: 12px; bottom: 12px; } .pf-float .pf-rcard { width: min(292px, calc(100vw - 24px)); } }
/* a filled-forward entrance animation would trap the floating player inside the profile box */
:is(#app, .svc-root) > .pf { animation-fill-mode: backwards; }

.gift { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.gift-owner { display: inline-flex; flex-wrap: wrap; gap: 6px; }

/* SoundCloud: the real player stays hidden, the card above it is ours */
.pf-sc-hidden { position: fixed; left: -9999px; top: 0; width: 320px; height: 166px; border: 0; opacity: 0; pointer-events: none; } /* real size, off screen: its waveform canvas breaks at 0 */
.pf-frame.soundcloud { filter: invert(.9) hue-rotate(180deg); border-radius: 12px; color-scheme: dark; }
.pf-sc-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.pf-sc-time { font-size: 11px; color: #a9bad2; font-variant-numeric: tabular-nums; min-width: 2.4em; }
.pf-sc-time:last-child { text-align: right; }
.pf-sc-bar { position: relative; flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); cursor: pointer; }
.pf-sc-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); border-radius: 3px; background: linear-gradient(90deg, var(--ra), #7c6cff); }
.pf-sc-bar:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pf-sc .pf-rprog i { animation: none; opacity: .5; }
.pf-float .pf-sc .pf-rsub { display: block; }

/* the picture behind a profile page */
.pf-pagebg { position: fixed; inset: 0; z-index: -1; background-size: cover; background-position: center; background-repeat: no-repeat; pointer-events: none; }
.pf-pagebg.img::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--dim, .35)); }
.pf-stage { position: relative; padding: 18px; border-radius: 16px; overflow: hidden; isolation: isolate; }
.pf-pagebg.in-preview { position: absolute; z-index: -1; }
.pf-bg-kinds, .pf-presets, .pf-bg-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.pf-preset { width: 56px; height: 40px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.pf-preset.on { border-color: var(--accent, #66c0f4); }
.pf-bg-thumbs > div { width: 150px; }
.pf-bg-thumb { height: 84px; border-radius: 8px; background-size: cover; background-position: center; border: 2px solid transparent; margin-bottom: 4px; }
.pf-bg-thumb.on { border-color: var(--accent, #66c0f4); }
.pf-bg-use, .pf-bg-del { font-size: 12px; padding: 3px 8px; border-radius: 6px; border: 0; cursor: pointer; background: rgba(128, 128, 128, .25); color: inherit; }
.pf-pagebg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* The rarest-achievement showcase: a row of gold-edged icons like Steam's own. */
.pf-ach { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; margin-bottom: 14px; }
.pf-ach-i { aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid rgba(232,190,95,.55); box-shadow: 0 0 10px rgba(232,190,95,.28); display: grid; place-items: center; }
.pf-ach-i img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-ach-x { color: #e8be5f; font-size: 1.4rem; }

/* Recent activity: a game, its hours, and how far through its achievements the member is. */
.pf-act { display: grid; gap: 10px; }
.pf-act-g { background: rgba(0,0,0,.22); border-radius: 6px; padding: 10px; display: grid; gap: 10px; }
.pf-act-top { display: flex; gap: 12px; align-items: center; }
.pf-act-top .pf-art, .pf-act-top img { width: 120px; flex: none; border-radius: 3px; }
.pf-act-info { display: grid; gap: 2px; min-width: 0; }
.pf-act-ach { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: rgba(0,0,0,.25); border-radius: 4px; padding: 8px 10px; }
.pf-act-bar { flex: 1 1 160px; display: grid; gap: 4px; font-size: .82rem; }
.pf-act-bar i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.pf-act-bar b { display: block; height: 100%; background: var(--pf-accent, #66c0f4); }
.pf-act-ico { display: flex; gap: 4px; align-items: center; }
.pf-act-ico img { width: 32px; height: 32px; border-radius: 3px; }
.pf-act-more { background: rgba(255,255,255,.1); border-radius: 3px; min-width: 32px; height: 32px; display: grid; place-items: center; font-size: .78rem; padding: 0 6px; }

/* ---------- Community feed ---------- */
.fd-tabs { display: flex; gap: 6px; margin: 4px 0 16px; border-bottom: 1px solid var(--line); }
.fd-tab { padding: 8px 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none; font-weight: 600; }
.fd-tab:hover { color: var(--white); }
.fd-tab.on { color: var(--white); border-bottom-color: var(--accent); }
.fd-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; flex-wrap: wrap; }
.fd-scopes { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.fd-bar .fd-scopes { margin: 0; }
.fd-filter { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; font-size: .9rem; color: var(--muted); }
.fd-link { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: .82rem; padding: 2px 4px; text-decoration: underline; }
.fd-link:hover { color: var(--white); }
.fd-panel { margin-bottom: 14px; }
.fd-compose { display: grid; gap: 8px; }
.fd-text { width: 100%; resize: vertical; min-height: 64px; font: inherit; color: var(--text); background: var(--input-bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; box-sizing: border-box; }
.fd-text:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.fd-compose-row { display: flex; align-items: center; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.fd-pick { max-width: 220px; margin-right: auto; background: var(--input-bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 8px; font: inherit; font-size: .88rem; }
.fd-count.warn { color: var(--warn); }
.fd-list { display: grid; gap: 12px; }
.fd-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.fd-card.reply { box-shadow: none; background: var(--panel-2); padding: 10px 12px; border-radius: var(--radius-sm); }
.fd-card.hidden-item { opacity: .6; border-style: dashed; }
.fd-head { display: flex; align-items: center; gap: 10px; }
.fd-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; background: var(--soft-2); }
.fd-av.init { display: grid; place-items: center; font-weight: 700; color: var(--white); }
.fd-who { display: grid; line-height: 1.25; min-width: 0; flex: 1; }
.fd-name { color: var(--white); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.fd-name:hover { text-decoration: underline; }
.fd-menu { margin-left: auto; }
.fd-post p { margin: 0 0 8px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); line-height: 1.5; }
.fd-event { display: flex; gap: 12px; align-items: center; }
.fd-line { color: var(--text); }
.fd-art { width: 92px; flex: none; border-radius: 6px; overflow: hidden; background: var(--soft); }
.fd-art img { display: block; width: 100%; height: auto; }
.fd-art .free-noart { aspect-ratio: 460 / 215; display: grid; place-items: center; }
.fd-ach { width: 52px; height: 52px; flex: none; border-radius: 6px; object-fit: cover; border: 1px solid rgba(232, 190, 95, .6); box-shadow: 0 0 10px rgba(232, 190, 95, .25); background: var(--soft); }
.fd-ach.none { display: grid; place-items: center; font-size: 1.5rem; color: #e8be5f; }
.fd-game { background: var(--soft); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 2px 10px; font: inherit; font-size: .85rem; cursor: pointer; }
.fd-game:hover { border-color: var(--accent); color: var(--white); }
.fd-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.fd-react, .fd-reply { background: var(--soft); border: 1px solid transparent; border-radius: 999px; padding: 3px 10px; cursor: pointer; font: inherit; font-size: .9rem; color: var(--text); display: inline-flex; gap: 5px; align-items: center; }
.fd-react:hover, .fd-reply:hover { border-color: var(--line); background: var(--soft-2); }
.fd-react.on { background: var(--accent); color: var(--on-accent); }
.fd-react span { font-size: .8rem; font-weight: 700; }
.fd-reply { margin-left: auto; }
.fd-thread { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.fd-replies { display: grid; gap: 8px; }
.fd-empty { border: 1px dashed var(--line); border-radius: var(--radius); }
.fd-foot { display: flex; justify-content: center; margin: 14px 0; }
.fd-prefs { margin-top: 18px; }
.fd-prefs summary { cursor: pointer; font-weight: 700; color: var(--white); }
.fd-check { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.fd-trend { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.fd-trend-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; display: grid; gap: 6px; text-align: left; cursor: pointer; color: var(--text); font: inherit; }
.fd-trend-card:hover { border-color: var(--accent); }
.fd-trend-card .fd-art { width: 100%; }
.fd-rare, .fd-people { display: grid; gap: 10px; }
.fd-rare-row, .fd-person { display: flex; gap: 12px; align-items: center; }
.fd-person .btn { margin-left: auto; }

/* Follow bar and extras on a public profile */
.pf-social { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 1.4rem 0; position: relative; }
.pf-compare, .pf-cmp { flex-basis: 100%; }
.pf-compare { background: rgba(0, 0, 0, .25); border-radius: 10px; padding: 12px; margin-top: 6px; }
.pf-cmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.pf-cmp-col h4 { margin: 0 0 6px; font-size: .9rem; }
.pf-cmp-col ul { margin: 0; padding-left: 18px; max-height: 220px; overflow: auto; font-size: .88rem; }
.pf-posts { display: grid; gap: 10px; }
.pf-post p { margin: 0 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) { .fd-art { width: 72px; } .fd-compose-row { justify-content: stretch; } .fd-pick { max-width: none; flex: 1 1 100%; } }

/* Servers in the community */
.fd-serverbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.fd-serverhead:empty { display: none; }
.fd-server-top { display: flex; align-items: center; gap: 12px; }
.fd-server-top .btn, .fd-server-top > a, .fd-server-top > span:last-child { margin-left: auto; }
.fd-about { margin: 10px 0 0; color: var(--text); overflow-wrap: anywhere; }
.fd-compact { margin-top: 12px; }
.fd-servers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 18px; }
.fd-server-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 8px; align-content: start; }
.fd-search { flex: 1 1 220px; max-width: 360px; }
.fd-srvs { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.fd-srv { background: var(--soft); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 1px 8px; font: inherit; font-size: .74rem; cursor: pointer; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-srv:hover { color: var(--white); border-color: var(--accent); }
.fd-manage { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.fd-manage:first-of-type { border-top: 0; }
.fd-seg { display: inline-flex; gap: 6px; }

/* wishlist as a slider */
.pf-slider { display: grid; gap: 8px; }
.pf-slide-wrap { position: relative; }
.pf-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4px; padding: 2px 2px 10px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.pf-slide { flex: 0 0 min(210px, 62vw); scroll-snap-align: start; min-width: 0; }
.pf-slide .free-info { padding: 10px; gap: 5px; }
.pf-slide .free-info strong { font-size: .95rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-slide-act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.pf-slide-act .btn.small { padding: 5px 10px; font-size: .8rem; }
.pf-arrow { position: absolute; top: 38%; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.pf-arrow[hidden] { display: none; }
.pf-arrow.prev { left: -8px; } .pf-arrow.next { right: -8px; }
@media (hover: none) { .pf-arrow { display: none; } }

/* the floating song player on a phone: a slim bar along the bottom */
@media (max-width: 560px) {
  .pf-song.pf-float { left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); }
  .pf-float .pf-rcard { width: 100%; max-width: none; gap: 10px; padding: 8px 40px 10px 8px; border-radius: 16px; }
  .pf-float .pf-rart { width: 46px; height: 46px; border-radius: 10px; }
  .pf-float .pf-rplay { opacity: 1; font-size: 15px; min-height: 44px; }
  .pf-float .pf-rlabel { display: none; }
  .pf-float .pf-rtitle { font-size: 14px; }
  .pf-float .pf-rsub, .pf-float .pf-sc .pf-rsub { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pf-float .pf-sc-row { margin-top: 2px; }
  .pf-float .pf-sc-bar { height: 10px; touch-action: none; }
  .pf-float .pf-rrow { display: none; }
  .pf-float .pf-rfold { top: 50%; right: 8px; transform: translateY(-50%); width: 28px; height: 28px; font-size: 18px; }
  .pf-float .pf-rcard.mini { width: 62px; padding: 8px; }
  .pf-float .pf-rcard.mini .pf-rfold { top: -6px; right: -6px; transform: none; width: 22px; height: 22px; }
  .pf-song.pf-float:has(.pf-rcard.mini) { left: auto; }
  :is(#app, .svc-root) > .pf { padding-bottom: 88px; }
}

/* touch screens: comfortable tap targets, and inputs big enough that iOS doesn't zoom the page on focus */
.pf-slide-act > * { white-space: normal; max-width: 100%; text-align: left; }
@media (pointer: coarse) {
  :is(#app, .svc-root) input:not([type=checkbox]):not([type=radio]):not([type=range]), :is(#app, .svc-root) select, :is(#app, .svc-root) textarea { font-size: 16px; min-height: 42px; }
  :is(#app, .svc-root) .btn, :is(#app, .svc-root) button.chip, :is(#app, .svc-root) .chip[role=button], :is(#app, .svc-root) .fd-scopes button, :is(#app, .svc-root) .fd-seg button { min-height: 40px; }
  :is(#app, .svc-root) .btn.small { min-height: 36px; }
  #nav a, #nav button { min-height: 40px; }
  :is(#app, .svc-root) input[type=checkbox], :is(#app, .svc-root) input[type=radio] { width: 22px; height: 22px; flex: none; margin: 0; }
  :is(#app, .svc-root) label.check { display: flex; gap: 10px; align-items: flex-start; }
  .foot-links a, .footer a, footer a { display: inline-block; padding: 9px 3px; }
}
@media (max-width: 640px) {
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  pre, code { overflow-x: auto; max-width: 100%; }
  img, video, iframe { max-width: 100%; }
}

/* a long slider must never widen the page: every ancestor is allowed to shrink below its content */
.pf-card, .pf-slider, .pf-slide-wrap, .pf-track { min-width: 0; max-width: 100%; }
.pf-slider, .pf-slide-wrap { width: 100%; }
.pf, .pf-body, :is(#app, .svc-root) > .pf { min-width: 0; max-width: 100%; }
.pf { overflow-x: clip; }
.pf-slide .btn { height: auto; min-height: 34px; padding: 6px 14px; white-space: normal; text-align: center; line-height: 1.25; max-width: 100%; }
.pf-slide .gift { margin-top: 0; }

/* guestbook */
.pf-gb { display: grid; gap: 12px; }
.pf-gb-form { display: grid; gap: 8px; justify-items: start; }
.pf-gb-form textarea { width: 100%; resize: vertical; min-height: 56px; }
.pf-gb-list { display: grid; gap: 8px; }
.pf-gb-note { padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--pf-card, var(--panel-2)) 85%, transparent); border: 1px solid var(--line); }
.pf-gb-note p { margin: 0 0 4px; overflow-wrap: anywhere; white-space: pre-wrap; }
.pf-gb-note a { color: var(--pf-accent, var(--accent)); }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; opacity: .8; }

/* leaderboards */
.fd-boards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 8px; }
.fd-board h4 { margin: 0 0 8px; font-size: .95rem; }
.fd-board ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fd-board li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); min-width: 0; }
.fd-board li a, .fd-board li > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-rank { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); flex: none; }

/* pictures in posts */
.fd-attach { display: flex; align-items: flex-end; gap: 10px; margin: 8px 0; }
.fd-attach img { max-width: min(220px, 60%); max-height: 160px; border-radius: 10px; border: 1px solid var(--line); object-fit: cover; }
.fd-pic { display: block; margin: 8px 0; }
.fd-pic img { display: block; max-width: 100%; max-height: 420px; border-radius: 12px; border: 1px solid var(--line); object-fit: contain; background: var(--panel-2); }
.pf-gb-form textarea { font: inherit; background: color-mix(in srgb, var(--pf-card, var(--panel-2)) 90%, transparent); color: inherit; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }

/* ---------- home page, second design: aurora hero, AI spotlight, feature tabs ---------- */
.lx-hero { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; padding: 52px 40px; border-radius: 28px; margin-bottom: 22px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: linear-gradient(135deg, rgba(77, 163, 255, .1), rgba(124, 108, 255, .08)); }
.lx-aurora { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none; animation: lx-drift 16s ease-in-out infinite alternate; }
.lx-aurora.a1 { width: 520px; height: 520px; background: var(--accent-2); left: -140px; top: -180px; }
.lx-aurora.a2 { width: 460px; height: 460px; background: #22d3ee; right: -120px; bottom: -160px; opacity: .3; animation-duration: 22s; }
.lx-aurora.a3 { width: 460px; height: 460px; background: #f472b6; right: -100px; top: -140px; opacity: .3; }
@keyframes lx-drift { to { transform: translate(60px, 40px) scale(1.15); } }
.lx-hero h1 { font-size: 52px; line-height: 1.04; letter-spacing: -.03em; margin: 0 0 16px; color: var(--white); }
.lx-grad { background: linear-gradient(100deg, #22d3ee, var(--accent-2) 50%, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: lx-shine 7s linear infinite; }
@keyframes lx-shine { to { background-position: 200% center; } }
.lx-new { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; margin: 0 10px 16px 0; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--white); text-decoration: none; font-weight: 700; font-size: 14px; transition: transform .15s, border-color .2s; }
.lx-new:hover { transform: translateY(-2px); border-color: var(--accent-2); }
.lx-new b { background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .06em; }
.lx-new i { font-style: normal; color: var(--accent); padding-right: 6px; }
.lx-beta { display: inline-block; font-size: 10px; font-weight: 900; letter-spacing: .14em; padding: 2px 8px; border-radius: 999px; background: linear-gradient(90deg, #fbbf24, #f472b6); color: #1b0b2e; }
.lx-beta.big { font-size: 13px; padding: 5px 13px; }
.lx-collage { position: relative; min-height: 400px; }
.lx-blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; }
.lx-blob.b1 { width: 220px; height: 220px; background: var(--accent-2); left: 10%; top: 6%; }
.lx-blob.b2 { width: 200px; height: 200px; background: #22d3ee; right: 6%; bottom: 8%; opacity: .35; }
.lx-pic { position: absolute; width: 74%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .6); animation: lx-float 7s ease-in-out infinite; }
.lx-pic.p1 { right: 0; top: 0; transform: rotate(2.5deg); }
.lx-pic.p2 { left: 0; top: 130px; transform: rotate(-3deg); animation-delay: -2.5s; width: 70%; }
.lx-alert { position: absolute; right: 2%; bottom: 0; width: 62%; margin: 0; transform: rotate(1.5deg); animation: lx-float 8s ease-in-out infinite; animation-delay: -4s; }
@keyframes lx-float { 50% { translate: 0 -12px; } }

.lx-sec { margin: 56px 0; position: relative; }
.lx-head { margin-bottom: 22px; }
.lx-head h2 { font-size: 32px; letter-spacing: -.02em; color: var(--white); margin: 0 0 8px; }
.lx-kick { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.lx-lede { color: var(--muted); font-size: 17px; margin: 0; }

.lx-ai { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; padding: 44px; border-radius: 28px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(139, 92, 246, .4); background: linear-gradient(135deg, rgba(139, 92, 246, .2), rgba(34, 211, 238, .08)); }
.lx-ai h2 { font-size: 36px; line-height: 1.08; letter-spacing: -.025em; color: var(--white); margin: 6px 0 14px; }
.lx-ai-badges { display: flex; align-items: center; gap: 12px; }
.lx-ai-badges .lx-kick { margin: 0; }
.lx-ai-shots { position: relative; min-height: 340px; }
.lx-ai-shots img { position: absolute; width: 78%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .65); transition: transform .35s; }
.lx-ai-shots img:nth-child(1) { left: 0; top: 0; transform: rotate(-3deg); }
.lx-ai-shots img:nth-child(2) { right: 0; top: 80px; transform: rotate(2deg); z-index: 1; }
.lx-ai-shots img:nth-child(3) { left: 8%; top: 190px; transform: rotate(-1deg); z-index: 2; }
.lx-ai:hover .lx-ai-shots img { transform: rotate(0) translateY(-4px); }

.lx-new-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lx-newcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: transform .2s, border-color .2s; }
.lx-newcard:hover { transform: translateY(-4px); border-color: var(--accent); }
.lx-newcard h3 { margin: 10px 0 6px; font-size: 18px; color: var(--white); text-transform: none; letter-spacing: 0; }
.lx-newcard p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.5; }
.lx-tag { display: inline-block; font-size: 11px; letter-spacing: .1em; padding: 3px 9px; border-radius: 999px; background: var(--good-bg); color: var(--good); }
.lx-tag.ai { background: linear-gradient(90deg, #8b5cf6, #22d3ee); color: #fff; }
.lx-more { margin: 16px 2px 0; }

.lx-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.lx-tabs button { font: inherit; font-weight: 700; font-size: 15px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); cursor: pointer; transition: all .2s; }
.lx-tabs button:hover { color: var(--white); }
.lx-tabs button[aria-selected="true"] { background: var(--hue); border-color: transparent; color: #101018; }
.lx-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lx-feat { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; animation: lx-pop .35s ease both; transition: transform .2s, border-color .2s; }
.lx-feat:hover { transform: translateY(-4px); border-color: var(--hue); }
.lx-feat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--hue); }
.lx-feat b { display: block; color: var(--white); font-size: 17px; margin-bottom: 6px; }
.lx-feat span { color: var(--text); font-size: 15px; line-height: 1.5; }
@keyframes lx-pop { from { opacity: 0; transform: translateY(10px); } }

.lx-final { position: relative; overflow: hidden; isolation: isolate; }
@media (max-width: 900px) {
  .lx-hero, .lx-ai { grid-template-columns: 1fr; padding: 32px 20px; }
  .lx-hero h1 { font-size: 38px; }
  .lx-collage { min-height: 330px; }
  .lx-new-grid, .lx-feats { grid-template-columns: 1fr 1fr; }
  .lx-ai h2 { font-size: 28px; }
}
@media (max-width: 560px) {
  .lx-hero h1 { font-size: 31px; }
  .lx-new-grid, .lx-feats { grid-template-columns: 1fr; }
  .lx-collage { min-height: 290px; }
  .lx-ai-shots { min-height: 300px; }
  .lx-tabs button { font-size: 14px; padding: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) { .lx-aurora, .lx-pic, .lx-alert, .lx-grad, .lx-feat { animation: none; } }

/* ---------- loading screen, shown until the app draws the page ---------- */
.pre { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 46vh; text-align: center; isolation: isolate; overflow: hidden; }
.pre-glow { position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, var(--accent-2), transparent 65%); opacity: .35; filter: blur(30px); animation: pre-breathe 3.2s ease-in-out infinite; }
.pre-orbit { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.pre-orbit img { border-radius: 22px; box-shadow: 0 14px 40px -10px rgba(77, 163, 255, .7); animation: pre-bob 2.4s ease-in-out infinite; }
.pre-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--accent); border-right-color: var(--accent-2); animation: pre-spin 1.6s linear infinite; }
.pre-ring.r2 { inset: 12px; border-top-color: #22d3ee; border-right-color: transparent; border-left-color: #f472b6; animation-duration: 2.4s; animation-direction: reverse; }
.pre-ring.r3 { inset: -10px; border-color: var(--line); border-top-color: var(--good); animation-duration: 3.6s; }
.pre-name { font-weight: 800; letter-spacing: .22em; font-size: 14px; color: var(--white); }
.pre-bar { width: 220px; height: 6px; border-radius: 999px; background: var(--soft-2); overflow: hidden; }
.pre-bar i { display: block; height: 100%; width: 40%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2), #f472b6); animation: pre-slide 1.5s ease-in-out infinite; }
.pre-tip { margin: 0; min-height: 24px; color: var(--muted); font-size: 15px; transition: opacity .25s; }
.pre-tip.out { opacity: 0; }
@keyframes pre-spin { to { transform: rotate(360deg); } }
@keyframes pre-bob { 50% { transform: translateY(-6px) scale(1.04); } }
@keyframes pre-breathe { 50% { transform: scale(1.2); opacity: .5; } }
@keyframes pre-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { .pre-glow, .pre-orbit img, .pre-ring, .pre-bar i { animation-duration: 6s; } }

/* plain text the page carries before the app draws it, so search engines and slow connections have something real to read */
.seo-static { max-width: 760px; margin: 18px auto 0; color: var(--muted); font-size: 15px; text-align: center; }
.seo-static h1 { font-size: 18px; color: var(--text); margin: 0 0 8px; }
.seo-static p { margin: 0 0 12px; }
.seo-static ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }
.foot-links { font-size: 13px; }

/* Picking several roles: chosen ones are chips you can click away */
.rm { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rm select { flex: 1 1 160px; min-width: 0; }
.rm-chip { font: inherit; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); cursor: pointer; }
.rm-chip:hover { background: color-mix(in srgb, var(--accent) 28%, transparent); }

/* Overlay studio */
.ovs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1rem; align-items: start; }
.ovs-side { position: sticky; top: 70px; }
.ovs-list { display: grid; gap: .5rem; }
.ovs-item { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; text-align: left; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--line, rgba(128, 128, 128, .25)); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.ovs-item.on { border-color: var(--accent, #4da3ff); background: color-mix(in srgb, var(--accent, #4da3ff) 12%, transparent); }
.ovs-add { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; align-items: center; }
.ovs-add > div { width: 100%; }
.ovs-edit { display: grid; gap: 1rem; min-width: 0; }
.ovs-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: .6rem; align-items: center; margin: .4rem 0; }
.ovs-row input[type=text], .ovs-row input[type=number], .ovs-row input[type=datetime-local], .ovs-row select { width: 100%; box-sizing: border-box; }
.ovs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 1.2rem; }
.ovs-range { display: flex; align-items: center; gap: .6rem; }
.ovs-range input { flex: 1; }
.ovs-check { display: inline-flex; align-items: center; gap: .3rem; margin: .4rem 1rem .4rem 0; }
.ovs-bump { margin: .6rem 0; }
.ovs-cur { width: 110px; }
.ovs-stage { border-radius: 12px; padding: 1rem; min-height: 170px; background: repeating-conic-gradient(#8884 0% 25%, #0000 0% 50%) 50% / 20px 20px; overflow: hidden; }
.ovs-frame { width: 100%; height: 190px; border: 0; background: transparent; }
@media (max-width: 820px) { .ovs { grid-template-columns: minmax(0, 1fr); } .ovs-side { position: static; } .ovs-row { grid-template-columns: minmax(0, 1fr); } }

.pf-badge { display: inline-block; margin-top: .35rem; padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #eb459e, #a855f7); }

.pf-avatar.sup { box-shadow: 0 0 0 3px #eb459e, 0 0 20px 4px rgba(168, 85, 247, .55); animation: pf-glow 3.2s ease-in-out infinite; }
@keyframes pf-glow { 50% { box-shadow: 0 0 0 3px #a855f7, 0 0 28px 6px rgba(235, 69, 158, .55); } }
@media (prefers-reduced-motion: reduce) { .pf-avatar.sup { animation: none; } }
.pf-swatch.locked { opacity: .45; cursor: not-allowed; }
.pf-swatch.locked::before { content: "🔒"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 14px; }

.pf-badge.founder { background: linear-gradient(90deg, #f5b942, #ff7a59); color: #2b1400; }
.pass-gift, .pass-wall-opt { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, rgba(128,128,128,.25)); }
.pass-gift h4, .pass-wall-opt h4 { margin: 0 0 4px; }
.pass-wall-list { display: flex; flex-wrap: wrap; gap: 8px; }

.ovs-tabs { margin: 0 0 14px; }
.ovs-tabs .chip-btn.on { color: var(--on-accent, #06121f); }
.pass-wall { margin-top: 18px; }
.pf-badge.off { background: var(--panel-2, #444); color: var(--muted, #aaa); }
.scroll-x { overflow-x: auto; }
.sup-table td { vertical-align: middle; }
.sup-table input[type="text"], .sup-table input[type="date"] { min-width: 0; width: 9.5rem; }
.sup-table .row { flex-wrap: nowrap; gap: 6px; }
.sup-table input { flex: 0 0 auto; }
.sup-table input[type="date"] { width: 8.6rem; }
.sup-table input[type="number"] { width: 4.6rem; }
.sup-table input[type="text"] { width: 7.4rem; }
.sup-table input[type="checkbox"] { width: auto; }
.sup-table th, .sup-table td { padding-left: 6px; padding-right: 6px; white-space: nowrap; }
.sup-table .row { display: inline-flex; align-items: center; width: auto; max-width: none; margin: 0; }
.sup-table .row .btn { margin: 0; }
.sup-table .row > * { flex: 0 0 auto; }
.sup-table td:nth-child(3) { min-width: 15rem; }
.sup-table td:nth-child(4) { min-width: 11.5rem; }
.sup-table td:nth-child(6) { min-width: 13rem; }
.sup-table td:nth-child(7) { min-width: 14rem; }
.sup-table input[type="date"] { width: 8.6rem !important; }
.sup-table input[type="number"] { width: 4.6rem !important; }
.sup-table input[type="text"] { width: 7.4rem !important; }

.adm-attn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.adm-attn-list li { padding: 8px 12px; border-radius: 10px; background: var(--panel-2, rgba(128,128,128,.12)); border-left: 4px solid #f5b942; }
.adm-attn-list li.bad { border-left-color: #ed4245; }
.adm-attn-list a { color: inherit; text-decoration: none; font-weight: 600; }

.pass-wall-opt input[type="color"] { flex: 0 0 64px !important; width: 64px !important; min-width: 0; height: 40px; padding: 3px; border-radius: 10px; cursor: pointer; }
.pass-wall-opt:last-child { margin-bottom: 22px; }

.sr-pills { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.sr-id .sr-chan { display: block; }
.sr-watchrow { display: flex; flex-wrap: wrap; gap: 8px; }
.stream-link-row { align-items: center; gap: 10px; margin-bottom: 6px; }
.stream-link-row > * { flex: 0 0 auto !important; }
.stream-link-row .muted { flex: 1 1 auto !important; }

/* ---------- indie section ---------- */
.ix-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ix-tab { padding: 7px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; background: var(--soft); }
.ix-tab:hover { color: var(--white); background: var(--soft-2); }
.ix-tab.active { color: var(--on-accent); background: var(--accent); }
.ix-cta, .ix-actions, .ix-extras, .ix-pills, .ix-chips, .ix-filters, .ix-pager { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ix-cta { margin: 6px 0 18px; }
.ix-filters { margin: 18px 0 14px; }
.ix-filters input[type=search] { flex: 1 1 220px; min-width: 0; }
.ix-pager { justify-content: center; margin: 16px 0; }
.ix-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 8px; }
.ix-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.ix-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.ix-card.featured { border-color: color-mix(in srgb, var(--accent-2) 60%, var(--line)); }
.ix-card-pic { display: block; aspect-ratio: 460 / 215; background: var(--panel-2); }
.ix-card-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ix-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ix-card-body h3 { margin: 0; font-size: 17px; } .ix-card-body h3 a { color: var(--white); text-decoration: none; }
.ix-card-body p { margin: 0; }
.ix-pitch { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
.ix-card-foot { display: flex; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.ix-badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.ix-chip { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--text); text-decoration: none; }
.ix-chip.price { background: var(--good-bg); color: var(--good); } .ix-chip.link:hover { background: var(--soft-2); color: var(--white); }
.ix-empty { grid-column: 1 / -1; text-align: center; padding: 36px 16px; background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); }
.ix-empty .btn { margin-top: 10px; }
.ix-teaser { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 28px 0 10px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(135deg, var(--glow-2), transparent), var(--panel); }
.ix-teaser h2 { margin: 0 0 6px; } .ix-teaser p { margin: 0 0 12px; max-width: 46ch; }
.ix-teaser-list { display: flex; flex-wrap: wrap; gap: 8px; max-width: 460px; }
.ix-teaser-item { padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--text); font-size: 13px; text-decoration: none; } .ix-teaser-item:hover { background: var(--soft-2); color: var(--white); }
.ix-hero-text { padding: 8px 0 10px; } .ix-hero-text h1 { margin: 8px 0; max-width: 24ch; } .ix-hero-text p { max-width: 62ch; }
.ix-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--good); }
.ix-pill { padding: 7px 14px; border-radius: 999px; background: var(--soft); color: var(--text); font-size: 14px; text-decoration: none; } .ix-pill:hover { background: var(--soft-2); color: var(--white); }
.ix-cat { margin: 26px 0; scroll-margin-top: 80px; } .ix-cat h2 { margin: 0 0 2px; }
.ix-tool-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-top: 10px; }
.ix-tool-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.ix-tool-card:hover { border-color: var(--accent); transform: translateY(-2px); } .ix-tool-card b { color: var(--white); }
.ix-new { align-self: flex-start; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 1px 7px; border-radius: 999px; background: var(--good-bg); color: var(--good); }
.ix-crumb { margin: 0 0 4px; } .ix-panel { margin-top: 14px; }
/* tools */
.ix-tool { display: flex; flex-direction: column; gap: 16px; }
.ix-form { display: grid; gap: 12px 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ix-field { display: flex; flex-direction: column; gap: 4px; } .ix-field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.ix-field.check label { display: flex; gap: 8px; align-items: center; color: var(--text); }
.ix-field textarea { min-height: 90px; font-family: inherit; font-size: 14px; }
.ix-out { display: flex; flex-direction: column; gap: 14px; }
.ix-stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.ix-stat { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--panel-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.ix-stat b { font-size: 22px; color: var(--white); } .ix-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; } .ix-sub { font-size: 12px; color: var(--muted); }
.ix-stat.good { border-color: color-mix(in srgb, var(--good) 45%, var(--line)); } .ix-stat.warn { border-color: color-mix(in srgb, var(--warn) 50%, var(--line)); }
.ix-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ix-checks li { display: flex; gap: 10px; align-items: flex-start; } .ix-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.ix-checks .good .ix-dot { background: var(--good-bg); color: var(--good); } .ix-checks .warn .ix-dot { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); } .ix-checks .bad .ix-dot { background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); }
.ix-note { margin: 0; } .ix-suggest { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--soft); } .ix-suggest p { margin: 4px 0 0; }
.ix-table { width: 100%; border-collapse: collapse; } .ix-table th, .ix-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ix-table.slim td.num { text-align: right; font-variant-numeric: tabular-nums; } .ix-table tr.total td { font-weight: 700; color: var(--white); } .ix-scroll { overflow-x: auto; }
.ix-table img { display: block; max-width: 100%; height: auto; margin-bottom: 6px; border-radius: 6px; }
.ix-steam { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .ix-steam input { flex: 1 1 260px; min-width: 0; }
.ix-two { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ix-game { display: flex; gap: 12px; align-items: center; } .ix-game img { border-radius: 6px; max-width: 40%; height: auto; flex: none; }
.ix-progress { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; } .ix-bar { flex: 1 1 160px; height: 8px; border-radius: 999px; background: var(--soft-2); overflow: hidden; } .ix-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--good)); transition: width .25s; }
.ix-group h3 { margin: 6px 0; } .ix-todo { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ix-todo li { display: flex; gap: 10px; align-items: flex-start; } .ix-todo label { display: flex; flex-direction: column; gap: 2px; cursor: pointer; } .ix-todo input { margin-top: 4px; }
.ix-result-wrap { display: flex; flex-direction: column; gap: 6px; } .ix-result-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .ix-result-head b { margin-right: auto; }
.ix-result { width: 100%; font-family: inherit; font-size: 14px; line-height: 1.5; }
.ix-rowmock { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--radius-sm); background: #0b121c; }
.ix-pix { image-rendering: auto; max-width: 100%; border-radius: 3px; display: block; }
.ix-previews, .ix-shots { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } .ix-previews figure, .ix-shots figure { margin: 0; } .ix-shots figure.dim canvas { outline: 2px solid var(--warn); } .ix-shots canvas { width: 100%; height: auto; border-radius: 6px; }
.ix-resize-bar { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: end; }
.ix-results { display: flex; flex-direction: column; gap: 8px; } .ix-result-row { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--panel-2); } .ix-result-row div { flex: 1; min-width: 0; } .ix-result-row img { border-radius: 4px; height: auto; max-width: 30%; }
/* game page, submit, mine */
.ix-game-page { display: flex; flex-direction: column; gap: 16px; } .ix-hero { width: 100%; max-width: 920px; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.ix-game-main h1 { margin: 6px 0 0; } .ix-lead { font-size: 18px; max-width: 62ch; } .ix-extra { padding: 4px 0; }
.ix-form-panel { display: flex; flex-direction: column; gap: 12px; max-width: 760px; } .ix-preview:empty { display: none; }
.ix-mine { display: flex; gap: 14px; flex-wrap: wrap; padding: 14px; margin-bottom: 12px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); } .ix-mine img { border-radius: 6px; height: auto; max-width: 184px; width: 100%; align-self: flex-start; } .ix-mine-main { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; min-width: 0; } .ix-mine-main p { margin: 0; }
.ix-status { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft-2); } .ix-status.approved { background: var(--good-bg); color: var(--good); } .ix-status.pending { color: var(--warn); } .ix-status.rejected { color: var(--bad); }
.ix-edit { display: flex; flex-direction: column; gap: 10px; } .ix-edit[hidden] { display: none; } .ix-kit { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--soft); } .ix-kit summary { cursor: pointer; font-weight: 600; } .ix-kit-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.ix-done { padding: 28px 8px; } .ix-adm { display: flex; flex-direction: column; gap: 8px; } .ix-adm-head { display: flex; gap: 12px; align-items: center; } .ix-adm-head img { border-radius: 6px; max-width: 30%; height: auto; }
@media (max-width: 640px) { .ix-teaser { padding: 16px; } .ix-stat b { font-size: 19px; } }

/* Indie area: the same site in sunset arcade colors. Warm orange into hot pink, a faint pixel grid, and hard "cartridge" shadows. */
:is(:root, .svc-root)[data-area="indie"] {
  --accent: #ff8a4c; --accent-2: #ff4fa3; --accent-hover: #ffa36f; --on-accent: #2a1005;
  --bg-glow: rgba(255, 120, 60, .26); --glow-2: rgba(255, 79, 163, .2); --hover-row: rgba(255, 138, 76, .08);
  --ix-grad: linear-gradient(90deg, #ffb347, #ff5f8f 58%, #a77bff); --ix-teal: #2ee6c5; --ix-shadow: rgba(255, 138, 76, .28);
}
:is(:root[data-area="indie"][data-theme="light"], :root[data-theme="light"] .svc-root[data-area="indie"]) { --accent: #d9531e; --accent-2: #c42b7a; --accent-hover: #ee6a35; --on-accent: #ffffff; --bg-glow: rgba(255, 140, 80, .22); --glow-2: rgba(255, 79, 163, .14); --ix-shadow: rgba(217, 83, 30, .22); }
:is(:root, .svc-root)[data-area="indie"] body {
  background:
    radial-gradient(760px 420px at 92% -60px, rgba(46, 230, 197, .13), transparent 70%),
    radial-gradient(900px 480px at 45% -120px, var(--glow-2), transparent 70%),
    radial-gradient(900px 480px at -5% 0, var(--bg-glow), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
:is(:root[data-area="indie"][data-theme="light"], :root[data-theme="light"] .svc-root[data-area="indie"]) body { background: radial-gradient(900px 480px at 45% -120px, var(--glow-2), transparent 70%), radial-gradient(900px 480px at -5% 0, var(--bg-glow), transparent 70%), var(--bg); background-attachment: fixed; }
:is(:root, .svc-root)[data-area="indie"] #nav::after, :root[data-area="indie"] header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ix-grad); }
:is(:root, .svc-root)[data-area="indie"] :is(#app, .svc-root) h1 { background: var(--ix-grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.02em; }
:is(:root, .svc-root)[data-area="indie"] .ix-tab { border: 2px solid transparent; font-weight: 700; }
:is(:root, .svc-root)[data-area="indie"] .ix-tab.active { background: var(--ix-grad); color: #fff; box-shadow: 3px 3px 0 var(--ix-shadow); }
:is(:root, .svc-root)[data-area="indie"] .ix-card, :root[data-area="indie"] .ix-tool-card, :root[data-area="indie"] .ix-mine, :root[data-area="indie"] .ix-panel, :root[data-area="indie"] .ix-form-panel { border-radius: 10px; border: 2px solid var(--line); box-shadow: 4px 4px 0 var(--ix-shadow); }
:is(:root, .svc-root)[data-area="indie"] .ix-card:hover, :root[data-area="indie"] .ix-tool-card:hover { transform: translate(-2px, -2px); border-color: var(--accent); box-shadow: 7px 7px 0 var(--ix-shadow); }
:is(:root, .svc-root)[data-area="indie"] .ix-card.featured { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--ix-grad) border-box; }
:is(:root, .svc-root)[data-area="indie"] .ix-stat { border-top: 3px solid var(--accent); border-radius: 8px; }
:is(:root, .svc-root)[data-area="indie"] .ix-stat.good { border-top-color: var(--ix-teal); } :is(:root, .svc-root)[data-area="indie"] .ix-stat.warn { border-top-color: var(--warn); }
:is(:root, .svc-root)[data-area="indie"] .ix-eyebrow { color: var(--ix-teal); }
:is(:root, .svc-root)[data-area="indie"] .ix-bar i { background: var(--ix-grad); }
:is(:root, .svc-root)[data-area="indie"] .btn { border-radius: 8px; }
:is(:root, .svc-root)[data-area="indie"] .btn.blue { background: var(--accent); color: var(--on-accent); box-shadow: 3px 3px 0 var(--ix-shadow); }
:is(:root, .svc-root)[data-area="indie"] .btn.green { background: var(--ix-grad); color: #fff; box-shadow: 3px 3px 0 var(--ix-shadow); }
:is(:root, .svc-root)[data-area="indie"] .btn.blue:hover, :root[data-area="indie"] .btn.green:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ix-shadow); }
:is(:root, .svc-root)[data-area="indie"] .ix-pill:hover, :root[data-area="indie"] .ix-teaser-item:hover, :root[data-area="indie"] .ix-chip.link:hover { background: var(--accent); color: var(--on-accent); }
.ix-banner { position: relative; overflow: hidden; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 0 0 20px; padding: 30px 28px; border-radius: 12px; border: 2px solid var(--line); background: linear-gradient(135deg, var(--glow-2), transparent 55%), var(--panel); box-shadow: 6px 6px 0 var(--ix-shadow, rgba(0, 0, 0, .2)); isolation: isolate; }
.ix-banner-copy { flex: 1 1 360px; max-width: 640px; } .ix-banner h1 { margin: 6px 0 10px; font-size: clamp(28px, 5vw, 44px); line-height: 1.08; } .ix-banner p { margin: 0 0 16px; font-size: 17px; }
.ix-banner-art { position: relative; flex: 0 0 200px; height: 150px; z-index: -1; }
.ix-banner-art i { position: absolute; width: 34px; height: 34px; border-radius: 6px; background: var(--accent); opacity: .9; animation: ix-bob 4.5s ease-in-out infinite; }
.ix-banner-art i:nth-child(1) { left: 10px; top: 80px; background: #ffb347; } .ix-banner-art i:nth-child(2) { left: 62px; top: 30px; background: #ff5f8f; animation-delay: -1s; width: 46px; height: 46px; }
.ix-banner-art i:nth-child(3) { left: 128px; top: 92px; background: #a77bff; animation-delay: -2s; } .ix-banner-art i:nth-child(4) { left: 150px; top: 20px; background: #2ee6c5; width: 22px; height: 22px; animation-delay: -3s; }
.ix-banner-art i:nth-child(5) { left: 100px; top: 120px; background: #ffb347; width: 18px; height: 18px; animation-delay: -1.6s; }
@keyframes ix-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .ix-banner-art i { animation: none; } }
@media (max-width: 640px) { .ix-banner { padding: 22px 18px; } .ix-banner-art { display: none; } }
.ix-filters select { width: auto; flex: 0 0 auto; min-width: 150px; } .ix-filters input[type=search] { width: auto; }

/* ---------- landing: indie corner ---------- */
.lx-new-indie { border-color: rgba(255, 138, 76, .5); }
.lx-new-indie b { background: linear-gradient(100deg, #ff8a4c, #ff4fa3); }
.lx-new-indie i { color: #ff8a4c; }
.lx-indie { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; padding: 44px; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255, 138, 76, .4);
  background: linear-gradient(135deg, rgba(255, 138, 76, .16), rgba(255, 79, 163, .1)); }
.lx-indie .lx-kick { color: #ff8a4c; }
.lx-indie h2 { font-size: 34px; line-height: 1.1; letter-spacing: -.025em; color: var(--white); margin: 6px 0 14px; }
.lx-indie-shots { display: grid; gap: 12px; }
.lx-ix-tool { display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--white); transition: transform .2s, border-color .2s; }
.lx-ix-tool:hover { transform: translateX(4px); border-color: #ff8a4c; }
.lx-ix-tool b { font-size: 15px; } .lx-ix-tool span { color: var(--muted); font-size: 13.5px; }
.lx-ix-card { display: grid; grid-template-columns: 150px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 10px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--white); transition: transform .2s; }
.lx-ix-card:hover { transform: translateX(4px); }
.lx-ix-card img { grid-row: 1 / 3; width: 150px; height: 70px; object-fit: cover; border-radius: 8px; }
.lx-ix-card > b { align-self: end; font-size: 15px; } .lx-ix-card > span { align-self: start; color: var(--muted); font-size: 13px; }
@media (max-width: 800px) { .lx-indie { grid-template-columns: 1fr; padding: 28px 20px; } .lx-indie h2 { font-size: 26px; } }

/* ---------- indie: new pieces ---------- */
.ix-verified { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #4be3a1; border: 1px solid rgba(75, 227, 161, .5); background: rgba(75, 227, 161, .1); vertical-align: middle; }
.ix-kind { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 138, 76, .15); color: #ffb48a; border: 1px solid rgba(255, 138, 76, .35); }
.ix-news, .ix-picks, .ix-timeline, .ix-following { margin: 22px 0; }
.ix-news-list, .ix-tl-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ix-news-list li, .ix-tl-mini li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.ix-news-list a { color: var(--white); text-decoration: none; flex: 1 1 200px; }
.ix-news-list a:hover { text-decoration: underline; }
.ix-pick { display: grid; gap: 6px; }
.ix-because { padding-left: 4px; }
.ix-timeline ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ix-timeline li { padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid #ff8a4c; }
.ix-timeline p { margin: 8px 0 6px; }
.ix-tl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ix-tl-head .muted { margin-left: auto; }
.ix-keys { margin: 22px 0; }
.ix-report { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
.ix-report-row { margin-top: 26px; }
.ix-actions .btn.on { border-color: #4be3a1; color: #4be3a1; }
.ix-manage { display: grid; gap: 8px; margin-top: 12px; }
.ix-sec { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.ix-sec > summary { cursor: pointer; padding: 10px 14px; font-weight: 700; list-style-position: inside; }
.ix-sec-body { padding: 4px 14px 14px; display: grid; gap: 10px; }
.ix-count { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #ff4fa3; color: #fff; font-size: 12px; }
.ix-chart-wrap { overflow-x: auto; }
.ix-chart { width: 100%; max-width: 640px; height: auto; }
.ix-chart rect.views { fill: #ff8a4c; opacity: .85; } .ix-chart rect.clicks { fill: #66c0f4; }
.ix-chart text { fill: var(--muted); font-size: 10px; }
.ix-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; }
.ix-legend i.views { background: #ff8a4c; } .ix-legend i.clicks { background: #66c0f4; }
.ix-keylist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ix-keylist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); }
.ix-code { display: inline-block; padding: 6px 10px; border-radius: 8px; background: var(--bg, #101821); border: 1px dashed #ff8a4c; user-select: all; }
.ix-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.ix-badge-img { max-width: 100%; height: auto; border-radius: 10px; }
.ix-frames { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ix-frames figure { margin: 0; text-align: center; } .ix-frames canvas { width: 120px; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.ix-adm-report { padding: 10px 0; border-top: 1px solid var(--line); }

/* the site backdrop: sits behind everything and never takes a click */
#ix-waves { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
#ix-waves.in { position: absolute; width: 100%; height: 100%; }
:is(:root, .svc-root)[data-area="indie"] :is(#app, .svc-root), :root[data-area="indie"] footer { position: relative; z-index: 1; }

/* Profile styles: each one changes the whole look, not only the colors. */
.pf-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; }
.pf-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.pf-style { text-align: left; cursor: pointer; display: grid; gap: .3rem; padding: .55rem; border-radius: 12px; border: 2px solid var(--line, #34363b); background: transparent; color: inherit; font: inherit; }
.pf-style.on { border-color: var(--accent, #66c0f4); }
.pf-style:focus-visible { outline: 3px solid var(--accent, #66c0f4); outline-offset: 2px; }
.pf-style-pv { display: flex; gap: 4px; height: 38px; padding: 6px; border-radius: 8px; background: var(--sv-bg, linear-gradient(120deg, #1b2330, #2a3a52)); }
.pf-style-pv i { flex: 1; border-radius: 4px; background: color-mix(in srgb, var(--sv-ac, #66c0f4) 30%, transparent); border: 1px solid var(--sv-ac, #66c0f4); }
.pf-style small, .pf-style .small { font-size: .78rem; line-height: 1.3; }

/* Crimson Ember */
.pf[data-style="ember"] { --pf-card: rgba(8, 8, 8, .92); font-family: Georgia, "Palatino Linotype", Palatino, serif; background: radial-gradient(rgba(193, 18, 31, .16) 1px, transparent 1.4px) 0 0 / 7px 7px, radial-gradient(900px 420px at 50% -10%, rgba(139, 0, 0, .35), transparent 70%), #050505; }
.pf[data-style="ember"] .pf-card { border: 1px solid rgba(139, 0, 0, .4); border-radius: 3px; box-shadow: inset 0 0 28px rgba(139, 0, 0, .22); transition: box-shadow .3s, transform .3s; }
.pf[data-style="ember"] .pf-card:hover { box-shadow: inset 0 0 28px rgba(139, 0, 0, .32), 0 8px 26px rgba(193, 18, 31, .22); transform: translateY(-2px); }
.pf[data-style="ember"] .pf-card h3 { display: inline-flex; background: #8b0000; color: #f4eadc; padding: .25rem .7rem; border: 0; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: .9rem; }
.pf[data-style="ember"] .pf-banner { filter: saturate(.7) contrast(1.1); box-shadow: inset 0 -60px 60px -20px #050505; }
.pf[data-style="ember"] .pf-avatar { border-radius: 4px; border-color: #050505; box-shadow: 0 0 0 2px #8b0000, 0 0 22px rgba(193, 18, 31, .45); animation: pf-breathe 4s ease-in-out infinite; }
.pf[data-style="ember"] .pf-who h1 { letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 0 18px rgba(193, 18, 31, .55); }
.pf[data-style="ember"] .pf-chip, .pf[data-style="ember"] .pf-stat { border-radius: 2px; }
@keyframes pf-breathe { 0%, 100% { box-shadow: 0 0 0 2px #8b0000, 0 0 14px rgba(193, 18, 31, .3); } 50% { box-shadow: 0 0 0 2px #b3101c, 0 0 28px rgba(193, 18, 31, .65); } }

/* Terminal */
.pf[data-style="terminal"] { --pf-fg: #b8ffd2; --pf-card: rgba(4, 22, 12, .9); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; background: repeating-linear-gradient(0deg, rgba(57, 255, 136, .05) 0 1px, transparent 1px 3px), #04100a; }
.pf[data-style="terminal"] .pf-card { border: 1px solid rgba(57, 255, 136, .45); border-radius: 0; box-shadow: 0 0 14px rgba(57, 255, 136, .12); }
.pf[data-style="terminal"] .pf-card h3::before { content: "> "; color: #39ff88; }
.pf[data-style="terminal"] .pf-card h3::after { content: "_"; color: #39ff88; animation: pf-blink 1s steps(2, start) infinite; }
.pf[data-style="terminal"] .pf-who h1 { text-shadow: 0 0 10px rgba(57, 255, 136, .7); }
.pf[data-style="terminal"] .pf-avatar { border-radius: 0; filter: grayscale(1) sepia(1) hue-rotate(75deg) saturate(2.4); }
.pf[data-style="terminal"] .pf-banner { filter: grayscale(1) sepia(1) hue-rotate(80deg) brightness(.7); }
.pf[data-style="terminal"] .pf-chip, .pf[data-style="terminal"] .pf-stat, .pf[data-style="terminal"] .pf-song { border-radius: 0; }
@keyframes pf-blink { to { visibility: hidden; } }

/* Sakura */
.pf[data-style="sakura"] { --pf-card: rgba(255, 255, 255, .72); background: radial-gradient(700px 360px at 85% 0%, rgba(255, 183, 205, .55), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(255, 214, 225, .7), transparent 70%), #fff1f5; font-family: Georgia, "Palatino Linotype", serif; }
.pf[data-style="sakura"] .pf-card { border: 1px solid rgba(224, 82, 127, .28); border-radius: 22px 6px 22px 6px; backdrop-filter: blur(6px); box-shadow: 0 6px 20px rgba(224, 82, 127, .12); }
.pf[data-style="sakura"] .pf-card h3 { border-bottom-style: dashed; border-color: rgba(224, 82, 127, .4); }
.pf[data-style="sakura"] .pf-avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #e0527f; }
.pf[data-style="sakura"] .pf-banner { filter: saturate(.9) brightness(1.05); -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }

/* Frost */
.pf[data-style="frost"] { --pf-card: rgba(180, 225, 255, .08); background: radial-gradient(900px 400px at 50% -10%, rgba(143, 216, 255, .28), transparent 70%), linear-gradient(#0a1826, #07101b); }
.pf[data-style="frost"] .pf-card { border: 1px solid rgba(190, 235, 255, .28); border-radius: 18px; backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px rgba(0, 0, 0, .35); }
.pf[data-style="frost"] .pf-avatar { box-shadow: 0 0 0 2px rgba(190, 235, 255, .7), 0 0 26px rgba(143, 216, 255, .5); }
.pf[data-style="frost"] .pf-banner { -webkit-mask: linear-gradient(#000 60%, transparent); mask: linear-gradient(#000 60%, transparent); }

/* Arcade */
.pf[data-style="arcade"] { --pf-card: rgba(26, 8, 60, .85); font-family: "Trebuchet MS", "Segoe UI", sans-serif; background: linear-gradient(transparent 55%, rgba(255, 61, 240, .22)), linear-gradient(rgba(255, 61, 240, .28) 1px, transparent 1px) 0 0 / 100% 34px, linear-gradient(90deg, rgba(0, 229, 255, .22) 1px, transparent 1px) 0 0 / 34px 100%, #10052a; background-position: 0 0, 0 0, 0 0; animation: pf-grid 3s linear infinite; }
.pf[data-style="arcade"] .pf-card { border: 2px solid #ff3df0; border-radius: 8px; box-shadow: 0 0 14px rgba(255, 61, 240, .45), inset 0 0 14px rgba(0, 229, 255, .18); }
.pf[data-style="arcade"] .pf-card h3 { color: #00e5ff; text-transform: uppercase; letter-spacing: .12em; text-shadow: 0 0 8px #00e5ff; }
.pf[data-style="arcade"] .pf-who h1 { text-transform: uppercase; letter-spacing: .06em; text-shadow: 2px 2px 0 #ff3df0, -2px -2px 0 #00e5ff; }
.pf[data-style="arcade"] .pf-avatar { border-radius: 8px; box-shadow: 0 0 0 3px #00e5ff, 0 0 20px #ff3df0; }
@keyframes pf-grid { to { background-position: 0 0, 0 34px, 0 0, 0 0; } }

/* Kinetic (supporters): a cinematic poster card */
.pf[data-style="kinetic"] { --pf-card: rgba(10, 10, 14, .78); background: radial-gradient(circle at 50% 0%, #2b0404 0%, #08080b 70%); box-shadow: inset 0 0 90px rgba(6, 6, 8, .95), inset 0 0 150px rgba(0, 0, 0, .9); border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif; }
.pf[data-style="kinetic"]::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(rgba(255, 255, 255, .05) 15%, transparent 16%) 0 0 / 6px 6px, radial-gradient(circle, transparent 45%, rgba(6, 6, 8, .8) 100%); }
.pf[data-style="kinetic"]::after { content: ""; position: absolute; left: 18px; top: 18px; width: 16px; height: 16px; z-index: 7; pointer-events: none; border-top: 2px solid rgba(255, 255, 255, .25); border-left: 2px solid rgba(255, 255, 255, .25); }
.pf[data-style="kinetic"] > *:not(.pf-fx):not(.pf-kin):not(.pf-enter):not(.pf-banner):not(.pf-float) { position: relative; z-index: 2; }
.pf-kin { position: absolute !important; left: 0; top: 30%; z-index: 1 !important; width: 200%; pointer-events: none; user-select: none; white-space: nowrap; font: 900 clamp(5rem, 16vw, 12rem)/1 "Trebuchet MS", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: rgba(181, 137, 61, .045); animation: pf-drift 40s linear infinite; }
@keyframes pf-drift { to { transform: translateX(-50%); } }
.pf[data-style="kinetic"] .pf-banner { filter: saturate(.85) contrast(1.05); -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); position: relative; }
.pf[data-style="kinetic"] .pf-banner::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(181, 137, 61, .5), rgba(255, 255, 255, .6), rgba(181, 137, 61, .5), transparent); animation: pf-scan 4s linear infinite; }
@keyframes pf-scan { from { top: 0; } to { top: 100%; } }
.pf[data-style="kinetic"] .pf-who h1 { text-transform: uppercase; letter-spacing: .14em; font-weight: 900; border-left: 3px solid #b5893d; padding-left: .6rem; text-shadow: 1px 1px 0 #b5893d, 2px 2px 0 #8a6428, 4px 4px 18px rgba(0, 0, 0, .9); }
.pf[data-style="kinetic"] .pf-card { border: 1px solid rgba(255, 255, 255, .09); border-radius: 6px; backdrop-filter: blur(12px); box-shadow: 0 12px 40px rgba(0, 0, 0, .5); transition: border-color .3s; }
.pf[data-style="kinetic"] .pf-card:hover { border-color: rgba(181, 137, 61, .55); }
.pf[data-style="kinetic"] .pf-card h3 { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; border-left: 3px solid #b5893d; padding: 0 0 0 .6rem; border-bottom: 0; }
.pf[data-style="kinetic"] .pf-avatar { border-radius: 4px; box-shadow: 0 0 0 1px #b5893d, 0 14px 30px rgba(0, 0, 0, .8); }
.pf[data-style="kinetic"] .pf-chip { border-radius: 2px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; letter-spacing: .1em; text-transform: uppercase; font-size: .75rem; }
@media (prefers-reduced-motion: reduce) { .pf[data-style] , .pf[data-style] * { animation: none !important; } }

/* The profile player wears the page's theme and style instead of its own dark card. */
.pf .pf-rcard, .pf-song.pf-float { --pfc: color-mix(in srgb, var(--pf-bg) 90%, var(--pf-fg) 10%); --ra2: color-mix(in srgb, var(--pf-accent) 55%, var(--pf-fg)); }
.pf-song-radio .pf-rcard { color: var(--pf-fg); background: color-mix(in srgb, var(--pf-bg) 92%, var(--pf-fg) 8%); border-color: color-mix(in srgb, var(--pf-accent) 40%, transparent); }
.pf-song-radio .pf-rart { background: linear-gradient(135deg, var(--pf-accent), color-mix(in srgb, var(--pf-accent) 45%, var(--pf-bg))); }
.pf-song-radio .pf-eq i, .pf-song-radio .pf-rprog i, .pf-song-radio .pf-sc-bar i { background: linear-gradient(90deg, var(--ra), var(--ra2)); }
.pf-song-radio .pf-rprog { background: color-mix(in srgb, var(--pf-fg) 10%, transparent); }
.pf-song-radio .pf-sc-bar { background: color-mix(in srgb, var(--pf-fg) 16%, transparent); }
.pf-song-radio .pf-sc-time, .pf-song-radio .pf-rsub { color: color-mix(in srgb, var(--pf-fg) 62%, transparent); }
.pf-song-radio .pf-rfold { background: color-mix(in srgb, var(--pf-fg) 12%, transparent); color: var(--pf-fg); }
.pf-song-radio .pf-rplay { color: #fff; }
.pf-song-radio .pf-rart { color: #fff; }
/* the song card on pages that aren't floating (the editor preview) matches too */
.pf-song .pf-frame { border: 1px solid color-mix(in srgb, var(--pf-accent) 35%, transparent); }
.pf[data-light="1"] .pf-frame.soundcloud { filter: none; color-scheme: light; }
.pf[data-light="1"] .pf-song-radio .pf-rcard { box-shadow: 0 14px 34px rgba(60, 40, 60, .18); }

.pf[data-style="ember"] .pf-song-radio .pf-rcard { border-radius: 3px; background: rgba(8, 8, 8, .95); border-color: rgba(139, 0, 0, .55); box-shadow: inset 0 0 26px rgba(139, 0, 0, .25), 0 12px 34px rgba(0, 0, 0, .6); font-family: Georgia, "Palatino Linotype", serif; }
.pf[data-style="ember"] .pf-song-radio .pf-rart { border-radius: 2px; box-shadow: 0 0 18px rgba(193, 18, 31, .5); }
.pf[data-style="ember"] .pf-song-radio .pf-rlabel { background: #8b0000; color: #f4eadc; padding: 2px 8px; width: fit-content; }
.pf[data-style="ember"] .pf-song-radio .pf-rtitle { text-transform: uppercase; letter-spacing: .08em; }

.pf[data-style="terminal"] .pf-song-radio .pf-rcard { border-radius: 0; background: rgba(4, 22, 12, .95); border-color: rgba(57, 255, 136, .5); font-family: ui-monospace, Menlo, Consolas, monospace; box-shadow: 0 0 18px rgba(57, 255, 136, .18); }
.pf[data-style="terminal"] .pf-song-radio .pf-rart { border-radius: 0; filter: grayscale(1) sepia(1) hue-rotate(75deg) saturate(2.4); }
.pf[data-style="terminal"] .pf-song-radio .pf-rlabel::before { content: "> "; }
.pf[data-style="terminal"] .pf-song-radio .pf-rprog, .pf[data-style="terminal"] .pf-song-radio .pf-sc-bar { border-radius: 0; }

.pf[data-style="sakura"] .pf-song-radio .pf-rcard { border-radius: 26px 8px 26px 8px; background: rgba(255, 255, 255, .88); border-color: rgba(224, 82, 127, .35); font-family: Georgia, "Palatino Linotype", serif; backdrop-filter: blur(8px); }
.pf[data-style="sakura"] .pf-song-radio .pf-rart { border-radius: 50%; }
.pf[data-style="sakura"] .pf-song-radio .pf-rcard:not(.playing) { filter: saturate(.8); }

.pf[data-style="frost"] .pf-song-radio .pf-rcard { background: rgba(180, 225, 255, .1); backdrop-filter: blur(12px); border-color: rgba(190, 235, 255, .32); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 34px rgba(0, 0, 0, .4); }

.pf[data-style="arcade"] .pf-song-radio .pf-rcard { border: 2px solid #ff3df0; border-radius: 10px; background: rgba(26, 8, 60, .94); box-shadow: 0 0 18px rgba(255, 61, 240, .5), inset 0 0 14px rgba(0, 229, 255, .2); }
.pf[data-style="arcade"] .pf-song-radio .pf-rlabel { color: #00e5ff; text-shadow: 0 0 8px #00e5ff; }
.pf[data-style="arcade"] .pf-song-radio .pf-rprog i, .pf[data-style="arcade"] .pf-song-radio .pf-sc-bar i { background: linear-gradient(90deg, #ff3df0, #00e5ff); }

.pf[data-style="kinetic"] .pf-song-radio .pf-rcard { border-radius: 6px; background: rgba(10, 10, 14, .85); backdrop-filter: blur(12px); border-color: rgba(255, 255, 255, .12); box-shadow: 0 12px 40px rgba(0, 0, 0, .6); }
.pf[data-style="kinetic"] .pf-song-radio .pf-rcard.playing { border-color: rgba(181, 137, 61, .55); }
.pf[data-style="kinetic"] .pf-song-radio .pf-rart { border-radius: 3px; }
.pf[data-style="kinetic"] .pf-song-radio .pf-rlabel { letter-spacing: .24em; border-left: 3px solid #b5893d; padding-left: 8px; }
.pf[data-style="kinetic"] .pf-song-radio .pf-rtitle { text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
.pf[data-style="kinetic"] .pf-song-radio .pf-rprog { height: 3px; }

/* indie dev panel */
.dv-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
.dv-tab { background: none; border: 0; color: var(--muted); font: inherit; padding: 8px 14px; border-bottom: 2px solid transparent; cursor: pointer; } .dv-tab.active { color: var(--white); border-color: var(--accent); }
.dv-badge { margin-left: 6px; background: #e5484d; color: #fff; border-radius: 9px; padding: 1px 7px; font-size: 11px; }
.dv-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.dv-tile { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 2px; } .dv-tile b { font-size: 26px; color: var(--white); }
.dv-games { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.dv-game, .dv-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 10px; align-content: start; margin-bottom: 12px; } .dv-game { margin: 0; }
.dv-game h3, .dv-card h3 { margin: 0; font-size: 16px; }
.dv-game-head { display: flex; gap: 10px; align-items: center; } .dv-game-head img { border-radius: 6px; object-fit: cover; }
.dv-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; } .dv-nums b { display: block; font-size: 18px; color: var(--white); }
.dv-spark { display: flex; align-items: flex-end; gap: 3px; height: 54px; } .dv-spark i { flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; opacity: .8; min-height: 3px; }
.dv-meta { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.dv-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; } .dv-filters input, .dv-filters select, .dv-bulk input[type=text] { background: var(--input-bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font: inherit; } .dv-filters input { flex: 1; min-width: 200px; }
.dv-bulk { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; padding: 8px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; } .dv-bulk input[type=text] { flex: 1; min-width: 180px; }
.dv-list { display: grid; gap: 8px; }
.dv-req { display: flex; gap: 10px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; } .dv-req-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.dv-req-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .dv-req-link a, .dv-req-link span { color: var(--accent); word-break: break-all; font-size: 13px; } .dv-req-note { margin: 2px 0 0; white-space: pre-wrap; }
.dv-req-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.dv-chip { font-size: 11px; border-radius: 9px; padding: 2px 8px; background: var(--soft-2); color: var(--text); } .dv-chip.approved { background: #1c7a52; color: #fff; } .dv-chip.declined { background: #6b2430; color: #fff; }
.dv-keys { display: grid; gap: 4px; margin: 10px 0; max-height: 320px; overflow: auto; } .dv-key { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 8px; background: var(--soft); } .dv-key.sent { opacity: .6; }
.dv-card textarea, .dv-card input[type=text], .dv-card input[type=url] { width: 100%; background: var(--input-bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; box-sizing: border-box; }

/* ---- Fortnite: the item shop laid out like the game's, in our colors ---- */
.fn-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
.fn-tab { background: none; border: 0; color: var(--muted); font: inherit; padding: 8px 14px; border-bottom: 2px solid transparent; cursor: pointer; } .fn-tab:hover { color: var(--text); } .fn-tab.active { color: var(--white); border-color: var(--accent); font-weight: 600; }
.fn-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; margin-bottom: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(520px 200px at 0 0, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 70%), radial-gradient(460px 220px at 100% 100%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%), var(--panel); }
.fn-hero h2 { margin: 2px 0 0; font-size: 28px; letter-spacing: -.01em; }
.fn-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.fn-hero-side { text-align: right; display: grid; gap: 4px; justify-items: end; }
.fn-count { font-size: 30px; font-variant-numeric: tabular-nums; color: var(--white); letter-spacing: .02em; }
.fn-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.fn-chip { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: var(--soft, rgba(255,255,255,.06)); border: 1px solid var(--line); color: var(--text); } .fn-chip.sale { background: var(--good-bg); color: var(--good); border-color: transparent; }
.fn-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; } .fn-bar .fn-search { flex: 1 1 260px; }
.fn-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.fn-fchip { font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 99px; background: var(--panel); color: var(--text); border: 1px solid var(--line); cursor: pointer; } .fn-fchip:hover { border-color: var(--accent); } .fn-fchip.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #06121f); font-weight: 600; } .fn-fchip.alt.on { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.fn-sections { display: grid; gap: 28px; margin-top: 8px; }
.fn-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; } .fn-sec-head h3 { margin: 0; font-size: 19px; letter-spacing: .01em; }
.fn-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 280px; grid-auto-flow: dense; gap: 10px; }
.fn-grid.cosgrid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); grid-auto-rows: 220px; }
.fn-tile { position: relative; overflow: hidden; display: block; padding: 0; text-align: left; font: inherit; color: #fff; cursor: pointer; border-radius: 12px; border: 0; background: linear-gradient(165deg, var(--c1), var(--c2)); box-shadow: inset 0 -4px 0 var(--rar), 0 4px 14px rgba(0, 0, 0, .28); transition: transform .14s ease, box-shadow .14s ease; }
.fn-tile:hover, .fn-tile:focus-visible { transform: translateY(-3px); box-shadow: inset 0 -4px 0 var(--rar), 0 12px 26px rgba(0, 0, 0, .4); outline: 0; }
.fn-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fn-tile.s2 { grid-column: span 2; } .fn-tile.s3 { grid-column: span 3; } .fn-tile.s4 { grid-column: span 4; }
.fn-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.fn-tile.cos .fn-art { object-fit: contain; padding: 14px 14px 62px; }
.fn-noart { position: absolute; inset: 0; display: grid; place-items: center; font-size: 56px; font-weight: 800; opacity: .35; } .fn-noart.sm { position: static; width: 48px; height: 48px; font-size: 22px; border-radius: 8px; background: var(--panel-2); color: var(--muted); }
.fn-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 14px; display: grid; gap: 1px; background: linear-gradient(to top, rgba(6, 10, 18, .92), rgba(6, 10, 18, .6) 55%, transparent); }
.fn-label b { font-size: 15px; line-height: 1.2; text-shadow: 0 1px 3px rgba(0,0,0,.6); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .fn-label small { font-size: 11.5px; color: rgba(255,255,255,.75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fn-price { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 14px; } .fn-price b { font-weight: 700; } .fn-price s { opacity: .6; font-size: 12px; }
.fn-vb { display: inline-block; width: 17px; height: 17px; background: url(https://fortnite-api.com/images/vbuck.png) center / contain no-repeat; flex: none; }
.fn-badges { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
.fn-badges em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; background: rgba(8, 12, 20, .78); color: #fff; } .fn-badges .new { background: #ffe04a; color: #1a1500; } .fn-badges .sale { background: #3ddc97; color: #04281a; } .fn-badges .leave { background: #d02a3a; color: #fff; }
.fn-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
.fn-row { display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px 8px 8px; cursor: pointer; } .fn-row:hover { border-color: var(--accent); }
.fn-row img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; } .fn-row-t { flex: 1; min-width: 0; display: grid; } .fn-row-t b { color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fn-row-t small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fn-more { grid-column: 1 / -1; justify-self: start; }
.fn-modal { position: fixed; inset: 0; z-index: 200; background: rgba(4, 8, 16, .72); display: grid; place-items: center; padding: 18px; overflow: auto; backdrop-filter: blur(4px); }
.fn-d { width: min(760px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.fn-d-art { background: linear-gradient(165deg, var(--c1), var(--c2)); display: grid; place-items: center; min-height: 320px; } .fn-d-art img { width: 100%; height: 100%; max-height: 460px; object-fit: contain; }
.fn-d-info { padding: 22px; display: grid; gap: 8px; align-content: start; } .fn-d-info h2 { margin: 0; font-size: 26px; } .fn-d-price { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 4px 0; } .fn-d-info p { margin: 0; }
.fn-d-items { display: grid; gap: 6px; margin-top: 6px; } .fn-d-items h4 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); } .fn-d-item { display: flex; align-items: center; gap: 10px; } .fn-d-item img { width: 40px; height: 40px; border-radius: 8px; background: var(--panel-2); } .fn-d-item span { display: grid; } .fn-d-item small { color: var(--muted); }
.fn-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.fn-news-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); } .fn-news-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--panel-2); } .fn-news-card div { padding: 14px 16px 16px; } .fn-news-card h3 { margin: 0 0 6px; font-size: 18px; } .fn-news-card p { margin: 0; color: var(--text); line-height: 1.5; }
.fn-map { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); gap: 16px; align-items: start; } .fn-map-pic { display: grid; gap: 8px; } .fn-map-img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel-2); }
.fn-map-list { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--panel); max-height: 640px; overflow: auto; } .fn-map-list h3 { margin: 0 0 8px; } .fn-map-list ul { list-style: none; margin: 0; padding: 0; columns: 2; font-size: 14px; line-height: 1.9; }
.fn-toggle { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.fn-stat { margin: 14px 0; } .fn-stat h3 { margin: 0 0 8px; } .fn-stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; } .fn-stat-grid div { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); display: grid; } .fn-stat-grid b { font-size: 22px; color: var(--white); } .fn-stat-grid small { color: var(--muted); }
@media (max-width: 1100px) { .fn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fn-tile.s4 { grid-column: span 4; } }
@media (max-width: 760px) { .fn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; } .fn-tile.s3, .fn-tile.s4 { grid-column: span 2; } .fn-d { grid-template-columns: 1fr; } .fn-map { grid-template-columns: 1fr; } .fn-hero-side { text-align: left; justify-items: start; } .fn-chips { justify-content: flex-start; } }
.fn-creator { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 16px; padding: 14px 18px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--accent-2) 45%, var(--line)); background: linear-gradient(100deg, color-mix(in srgb, var(--accent-2) 22%, var(--panel)), var(--panel) 70%); }
.fn-creator[hidden] { display: none; } .fn-cc-text p { margin: 3px 0 2px; } .fn-cc-code { display: inline-block; padding: 1px 10px; border-radius: 8px; background: color-mix(in srgb, var(--accent-2) 78%, #000); color: #fff; letter-spacing: .12em; font-size: 1.05em; } .fn-cc-live.ok { color: var(--good); }
.fn-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 8px; } .fn-buy small { flex-basis: 100%; }
.fn-t-intro h2 { margin: 0 0 4px; } .fn-h { margin: 26px 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fn-t-odds, .fn-t-hours, .fn-t-weeks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.fn-t-odd, .fn-t-hour, .fn-t-week { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
.fn-t-odd { grid-template-columns: 1fr auto; } .fn-t-bar { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; } .fn-t-bar i { display: block; height: 100%; background: var(--accent-2); }
.fn-t-hour span { display: flex; justify-content: space-between; font-size: 14px; }
.fn-t-week.live { border-color: var(--accent-2); } .fn-t-week.done { opacity: .6; } .fn-t-wh { display: flex; justify-content: space-between; align-items: center; } .fn-t-week h4 { margin: 0; } .fn-t-week ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .fn-t-week li { display: grid; font-size: 14px; } .fn-t-week li small { color: var(--muted); }

/* Desktop theme preview on the home page, and the one-time hint for new visitors. */
.lx-os { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: center; }
.lx-os h2 { font-size: 34px; line-height: 1.1; letter-spacing: -.025em; color: var(--white); margin: 6px 0 14px; }
.osm { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #0b1424 0%, #1b2a6e 58%, #3a2f94 100%); box-shadow: 0 24px 60px rgba(8, 14, 40, .35); font-size: 11px; color: #e9eefc; user-select: none; }
.osm::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 30%, rgba(125, 192, 255, .25), transparent 70%); }
.osm-icons { position: absolute; left: 3%; top: 5%; display: grid; gap: 8px; }
.osm-ic { display: grid; justify-items: center; gap: 2px; width: 48px; } .osm-ic i { font-style: normal; font-size: 17px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(135deg, #5b6bff, #3b82f6); } .osm-ic span { font-size: 9px; }
.osm-win { position: absolute; border-radius: 10px; overflow: hidden; background: var(--panel); color: var(--text); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(0, 0, 0, .4); display: grid; grid-template-rows: auto 1fr; }
.osm-win.w1 { left: 20%; top: 9%; width: 48%; height: 62%; } .osm-win.w2 { left: 52%; top: 30%; width: 42%; height: 46%; }
.osm-bar { display: flex; justify-content: space-between; align-items: center; padding: 5px 9px; font-weight: 600; background: var(--panel-2); } .osm-bar em { display: flex; gap: 6px; } .osm-bar u { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.osm-body { padding: 10px 12px; display: grid; align-content: start; gap: 7px; } .osm-h { font-size: 13px; } .osm-sub { color: var(--muted); }
.osm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .osm-stats span { display: grid; padding: 6px 8px; border-radius: 7px; background: var(--panel-2); color: var(--muted); font-size: 9px; } .osm-stats b { font-size: 14px; color: var(--text); }
.osm-line { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent-2), transparent); } .osm-line.l1 { width: 90%; } .osm-line.l2 { width: 64%; } .osm-line.l3 { width: 78%; }
.osm-btns { display: flex; gap: 6px; margin-top: 4px; } .osm-btns u { text-decoration: none; padding: 4px 9px; border-radius: 6px; background: var(--accent-2); color: #fff; font-weight: 600; } .osm-btns u + u { background: var(--panel-2); color: var(--text); }
.osm-task { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; min-height: 24px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: rgba(14, 20, 40, .88); } .osm-task span { padding: 3px 9px; border-radius: 6px; background: rgba(255, 255, 255, .1); } .osm-task em { margin-left: auto; font-style: normal; color: #aeb9dd; }
@media (max-width: 860px) { .lx-os { grid-template-columns: 1fr; } .lx-os h2 { font-size: 28px; } }
.os-intro { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: min(340px, calc(100vw - 32px)); padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); display: grid; gap: 8px; }
.os-intro p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; } .os-intro-btns { display: flex; gap: 8px; margin-top: 4px; }
.os-intro-x { position: absolute; right: 8px; top: 6px; background: none; border: 0; color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1; }

.chmap-group { margin-top: 18px; } .chmap-head { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.warn-text { color: #f59e0b; font-weight: 600; }


.ovs-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.ovs-theme { display: grid; gap: .35rem; justify-items: center; padding: .5rem; border: 2px solid transparent; border-radius: 12px; background: color-mix(in srgb, currentColor 6%, transparent); color: inherit; font: inherit; font-size: .8rem; cursor: pointer; }
.ovs-theme:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.ovs-theme.on { border-color: #5865f2; }
.ovs-tswatch { display: grid; gap: 4px; align-content: center; width: 86px; height: 52px; padding: 8px; box-sizing: border-box; background: var(--b); border: 1px solid var(--a); border-radius: 8px; }
.ovs-tswatch i { display: block; height: 7px; border-radius: 4px; background: var(--t); opacity: .85; }
.ovs-tswatch i + i { width: 60%; background: var(--a); opacity: 1; }
.ovs-tswatch.t-glass { background: color-mix(in srgb, var(--b) 45%, #8aa); border-color: #fff8; backdrop-filter: blur(2px); }
.ovs-tswatch.t-neon { box-shadow: 0 0 8px var(--a), inset 0 0 6px var(--a); border-width: 2px; }
.ovs-tswatch.t-gradient { background: linear-gradient(135deg, var(--b), var(--a)); }
.ovs-tswatch.t-retro { border-radius: 0; border-width: 3px; box-shadow: 3px 3px 0 var(--a); }
.ovs-tswatch.t-minimal { background: repeating-conic-gradient(#8884 0% 25%, #0000 0% 50%) 50% / 10px 10px; border-color: transparent; }
.ovs-tswatch.t-steam { border-radius: 2px; border-top: 3px solid var(--a); }
.ovs-tswatch.t-cyber { border-radius: 0; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.ovs-tswatch.t-sunset { background: linear-gradient(160deg, var(--a), var(--b)); }

/* moderation: auto-mod rule blocks and pick-many chips */
.rule { border-top: 1px solid var(--line, rgba(255,255,255,.08)); padding: 6px 0; }
.rule-body { margin: 0 0 8px 26px; }
.rule-body textarea { width: 100%; }
.picks { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.pick { font: inherit; font-size: 12.5px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line, rgba(255,255,255,.14)); background: var(--soft, transparent); color: var(--muted); cursor: pointer; }
.pick.on { background: color-mix(in srgb, var(--accent) 18%, transparent); border-color: var(--accent); color: var(--text); }
.pick:disabled { cursor: default; opacity: .7; }

/* Steam Wrapped */
.wrapped { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 16px 0; }
.wrapped-slide { width: min(100%, 460px); aspect-ratio: 4 / 5; border-radius: 16px; background: var(--panel, #141f33); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.wrapped-dots { display: flex; gap: 8px; }
.wrapped-dots .dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: var(--line, #27384f); cursor: pointer; }
.wrapped-dots .dot.on { background: var(--accent, #4da3ff); }
.wrapped .row.center { justify-content: center; }

/* Value checker: the small "Fix" control beside a guessed or missing match */
.fix-match { display: inline-flex; gap: 6px; align-items: center; vertical-align: middle; }
.fix-match input { height: 30px; min-width: 220px; max-width: 100%; }
