/* Black Ops Napoli · Softair Facile — stile Windows (Fluent) */
:root {
  --bg: #f3f3f3;
  --layer: #f9f9f9;
  --card: #ffffff;
  --card-hover: #f6f6f6;
  --stroke: #e5e5e5;
  --stroke-strong: #d1d1d1;
  --text: #1b1b1b;
  --text-2: #5c5c5c;
  --text-3: #6e6e6e;
  --accent: #4f6228;
  --accent-hover: color-mix(in srgb, var(--accent) 88%, #000);
  --accent-press: color-mix(in srgb, var(--accent) 72%, #000);
  --accent-text: var(--accent);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, #fff);
  --on-accent: #ffffff;
  --danger: #c42b1c;
  --danger-soft: #fde7e9;
  --success: #0e7a0d;
  --success-soft: #dff6dd;
  --warning: #8a5300;
  --warning-soft: #fff4ce;
  --red: #c42b1c; --blue: #0f6cbd; --yellow: #b88a00; --green: #107c10;
  --shadow-2: 0 1px 2px rgba(0, 0, 0, .06), 0 1px 1px rgba(0, 0, 0, .04);
  --shadow-8: 0 4px 8px rgba(0, 0, 0, .12), 0 0 2px rgba(0, 0, 0, .1);
  --shadow-28: 0 14px 28px rgba(0, 0, 0, .22), 0 0 8px rgba(0, 0, 0, .1);
  --r-s: 4px;
  --r-m: 8px;
  --r-l: 12px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Roboto", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg: #202020; --layer: #272727; --card: #2d2d2d; --card-hover: #323232;
    --stroke: #3a3a3a; --stroke-strong: #4a4a4a;
    --text: #ffffff; --text-2: #c8c8c8; --text-3: #a6a6a6;
    --accent-text: color-mix(in srgb, var(--accent) 45%, #fff);
    --accent-soft: color-mix(in srgb, var(--accent) 22%, #2d2d2d);
    --danger: #ff99a4; --danger-soft: #442726; --success: #6ccb5f; --success-soft: #393d1b;
    --warning: #fce100; --warning-soft: #433519;
    --shadow-2: 0 1px 2px rgba(0, 0, 0, .3); --shadow-8: 0 4px 8px rgba(0, 0, 0, .4), 0 0 2px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: var(--r-s); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.2; text-wrap: balance; }
h1 { font-size: 28px; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: 20px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
p { margin: 0; }
a { color: var(--accent-text); text-underline-offset: 3px; }
svg { width: 20px; height: 20px; flex: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.hint { color: var(--text-2); font-size: 13px; }
.muted { color: var(--text-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--stroke-strong); border-radius: 5px; border: 3px solid var(--bg); }

/* ------------------------------------------------ shell: barra titolo + navigazione */
.shell { min-height: 100vh; min-height: 100dvh; }
.titlebar {
  position: sticky; top: 0; z-index: 20; height: 52px; display: flex; align-items: center; gap: 8px;
  padding: 0 12px 0 16px; padding-top: env(safe-area-inset-top); box-sizing: content-box;
  background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(20px);
  border-bottom: 1px solid var(--stroke);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-width: 0; margin-right: auto; }
.brand-mark { width: 32px; height: 32px; border-radius: var(--r-m); background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-logo { width: 32px; height: 32px; object-fit: contain; border-radius: var(--r-s); flex: none; }
.brand-name { font: 600 15px/1.15 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name small { display: block; font: 400 12px/1.2 var(--font); color: var(--text-2); }

.nav {
  position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); display: flex; background: color-mix(in srgb, var(--layer) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(20px); border-top: 1px solid var(--stroke);
}
.nav a {
  flex: 1; display: grid; justify-items: center; align-content: center; gap: 3px; color: var(--text-2); text-decoration: none;
  font-size: 12px; font-weight: 500; position: relative; min-width: 0;
}
.nav a svg { width: 24px; height: 24px; }
.nav a[aria-current=page] { color: var(--accent-text); font-weight: 600; }
.nav a[aria-current=page]::before { content: ""; position: absolute; top: 0; width: 20px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent-text); }
.nav a .dot { position: absolute; top: 9px; left: calc(50% + 8px); width: 9px; height: 9px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 2px var(--layer); }
main { padding: 20px 16px calc(var(--nav-h) + 32px + env(safe-area-inset-bottom)); max-width: 1080px; margin: 0 auto; outline: none; }
@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-template-rows: auto auto 1fr; }
  .shell > .titlebar, .shell > .demo-bar { grid-column: 1 / -1; }
  .nav { position: sticky; top: 53px; align-self: start; height: calc(100vh - 53px); height: calc(100dvh - 53px); width: auto; flex-direction: column; padding: 8px; gap: 2px; border-top: 0; border-right: 1px solid var(--stroke); background: transparent; backdrop-filter: none; }
  .nav a { flex: none; display: flex; gap: 12px; height: 40px; padding: 0 12px; border-radius: var(--r-s); font-size: 14px; color: var(--text); }
  .nav a svg { width: 20px; height: 20px; }
  .nav a:hover { background: color-mix(in srgb, var(--text) 5%, transparent); }
  .nav a[aria-current=page] { background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); }
  .nav a[aria-current=page]::before { top: 11px; left: 0; width: 3px; height: 18px; border-radius: 2px; }
  .nav a .dot { position: static; margin-left: auto; box-shadow: none; }
  main { margin: 0 auto; width: 100%; padding: 28px 32px 48px; }
  .nav-foot { margin-top: auto; padding: 12px; font-size: 12px; color: var(--text-3); }
}
@media (max-width: 899px) { .nav-foot { display: none; } }

/* ------------------------------------------------ superfici */
.card { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r-m); box-shadow: var(--shadow-2); }
.pane { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r-m); padding: 20px; display: grid; gap: 14px; align-content: start; }
.page-head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { margin-right: auto; }
.section { margin-top: 32px; }
.section > h2 { margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.stack { display: grid; gap: 12px; }
.list { display: grid; background: var(--card); border: 1px solid var(--stroke); border-radius: var(--r-m); overflow: hidden; }
.list > * + * { border-top: 1px solid var(--stroke); }
.empty { padding: 28px 20px; text-align: center; color: var(--text-2); display: grid; gap: 10px; justify-items: center; }
.empty svg { width: 32px; height: 32px; color: var(--text-3); }

/* ------------------------------------------------ controlli */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 6px 14px;
  border-radius: var(--r-s); border: 1px solid var(--stroke-strong); border-bottom-color: color-mix(in srgb, var(--stroke-strong) 70%, #000 30%);
  background: var(--card); color: var(--text); font: 500 14px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--card-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.primary:active { background: var(--accent-press); }
.btn.subtle { background: transparent; border-color: transparent; }
.btn.subtle:hover { background: color-mix(in srgb, var(--text) 6%, transparent); }
.btn.danger { color: var(--danger); }
.btn.big { min-height: 48px; padding: 10px 20px; font-size: 16px; font-weight: 600; border-radius: var(--r-m); }
.btn.block { width: 100%; }
.btn.icon { padding: 0; width: 36px; }
.btn.busy { pointer-events: none; opacity: .7; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }

.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 600; }
.field > small { color: var(--text-2); font-size: 12px; }
input, select, textarea {
  width: 100%; min-height: 40px; padding: 8px 12px; border-radius: var(--r-s); border: 1px solid var(--stroke-strong);
  border-bottom: 1px solid color-mix(in srgb, var(--text) 45%, transparent); background: var(--card); color: var(--text);
  font: 400 15px/1.4 var(--font); caret-color: var(--accent-text);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom: 2px solid var(--accent-text); padding-bottom: 7px; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; line-height: 1.4; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--accent); flex: none; }
.row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; align-items: start; }
.row3 { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); align-items: start; }
@media (max-width: 480px) { .row3 { grid-template-columns: 1fr 1fr; } }
.form-error { color: var(--danger); font-size: 14px; font-weight: 500; }
.form-error:empty { display: none; }
.trap { position: absolute; left: -9999px; }

/* segmented (fazioni) */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: var(--r-s); border: 1px solid var(--stroke-strong); background: var(--card); font-weight: 600; font-size: 14px; }
.seg span i { width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--text-3)); }
.seg input:checked + span { border-color: var(--c, var(--accent)); box-shadow: inset 0 0 0 1px var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 10%, var(--card)); }
.seg input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: var(--r-s); font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--text) 7%, transparent); color: var(--text-2); white-space: nowrap; }
.badge.ok { background: var(--success-soft); color: var(--success); }
.badge.ko { background: var(--danger-soft); color: var(--danger); }
.badge.warn { background: var(--warning-soft); color: var(--warning); }
.badge.acc { background: var(--accent-soft); color: var(--accent-text); }
.badge svg { width: 14px; height: 14px; }
.chip-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--text-3)); flex: none; }

/* ------------------------------------------------ data partita (blocco calendario) */
.datebox { width: 56px; flex: none; border-radius: var(--r-m); overflow: hidden; text-align: center; border: 1px solid var(--stroke); background: var(--card); }
.datebox b { display: block; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 0; }
.datebox strong { display: block; font: 600 24px/1.25 var(--font-display); font-variant-numeric: tabular-nums; }
.datebox small { display: block; font-size: 11px; color: var(--text-2); padding-bottom: 3px; }

/* riga partita */
.ev { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--card); color: var(--text); text-decoration: none; cursor: pointer; border: 0; width: 100%; text-align: left; font: inherit; }
.ev:hover { background: var(--card-hover); }
.ev .info { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ev .info b { font-size: 16px; font-weight: 600; }
.ev .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--text-2); font-size: 13px; }
.ev .meta span { display: inline-flex; align-items: center; gap: 4px; }
.ev .meta svg { width: 14px; height: 14px; }
.ev > svg { color: var(--text-3); }

.seats { display: grid; gap: 4px; }
.seats .bar { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--text) 9%, transparent); overflow: hidden; }
.seats .bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.seats.full .bar i { background: var(--danger); }
.seats small { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------ home: prossima partita */
.next { display: grid; gap: 0; overflow: hidden; }
.next-head { padding: 20px 20px 0; display: flex; gap: 16px; align-items: flex-start; }
.next-head .datebox { width: 72px; }
.next-head .datebox strong { font-size: 32px; }
.next-head .t { flex: 1; min-width: 0; display: grid; gap: 6px; }
.next-head h2 { font-size: 24px; }
.next-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: var(--stroke); border-block: 1px solid var(--stroke); margin-top: 18px; }
.next-facts div { background: var(--card); padding: 10px 20px; display: grid; gap: 1px; }
.next-facts small { color: var(--text-2); font-size: 12px; }
.next-facts b { font-size: 16px; font-variant-numeric: tabular-nums; }
.next-foot { padding: 16px 20px 20px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.next-foot .seats { flex: 1 1 180px; }
.countdown { font-variant-numeric: tabular-nums; color: var(--accent-text); font-weight: 600; font-size: 13px; }

/* ------------------------------------------------ live */
.live-card { overflow: hidden; }
.live-top { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--stroke); }
.live-top h2 { font-size: 17px; margin-right: auto; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--danger); flex: none; }
.pulse.off { background: var(--text-3); }
.score { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); }
.score > div { padding: 14px 20px; display: grid; gap: 2px; background: color-mix(in srgb, var(--c) 6%, var(--card)); }
.score > div + div { border-left: 1px solid var(--stroke); }
.score small { font-weight: 600; font-size: 13px; color: var(--text-2); }
.score b { font: 600 40px/1.05 var(--font-display); font-variant-numeric: tabular-nums; }
.score > div.lead small::after { content: " · in testa"; color: var(--c); }
.scorebar { display: flex; height: 6px; }
.scorebar i { display: block; background: var(--c); transition: flex-grow .8s var(--ease); }
.objs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 16px 20px; }
.obj { border: 1px solid var(--stroke); border-radius: var(--r-m); padding: 10px 12px; display: grid; gap: 2px; background: var(--card); position: relative; overflow: hidden; transition: border-color .4s, background .4s; }
.obj[data-c] { border-color: var(--c); background: color-mix(in srgb, var(--c) 9%, var(--card)); }
.obj .id { font: 700 12px/1 var(--font); color: var(--text-2); letter-spacing: .04em; }
.obj b { font-size: 15px; }
.obj small { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.obj .who { font-weight: 600; color: var(--c, var(--text-2)); }
.obj.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { from { box-shadow: inset 0 0 0 40px color-mix(in srgb, var(--c) 35%, transparent); } }
.live-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 18px; align-items: center; }
.timer { font: 600 15px/1 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
.live-top h2 { min-width: 0; }
.sec-title { font-size: 20px; margin: 0 0 12px; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--text-2); font-size: 13px; }
.meta-row > span { display: inline-flex; align-items: center; gap: 4px; }
.meta-row svg { width: 14px; height: 14px; }
.feed { display: grid; font-size: 14px; }
.feed div { display: flex; gap: 10px; align-items: center; padding: 8px 16px; }
.feed time { color: var(--text-3); font-variant-numeric: tabular-nums; font-size: 13px; width: 44px; flex: none; }

/* tastierino conquista */
.keypad-wrap { display: grid; gap: 16px; }
.code-out { display: flex; justify-content: center; gap: 10px; }
.code-out i { width: 52px; height: 64px; border-radius: var(--r-m); border: 1px solid var(--stroke-strong); display: grid; place-items: center; font: 600 32px/1 var(--font-display); font-style: normal; background: var(--card); font-variant-numeric: tabular-nums; }
.code-out i.on { border-color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent-text); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.keypad button { min-height: 60px; border-radius: var(--r-m); border: 1px solid var(--stroke); background: var(--layer); color: var(--text); font: 600 24px/1 var(--font-display); cursor: pointer; display: grid; place-items: center; }
.keypad button:hover { background: var(--card-hover); }
.keypad button:active { background: color-mix(in srgb, var(--text) 10%, var(--layer)); transform: scale(.98); }
.keypad button svg { width: 24px; height: 24px; }
.captured { text-align: center; display: grid; gap: 8px; justify-items: center; padding: 12px 0; }
.captured .ring { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; animation: pop .5s var(--ease); }
.captured .ring svg { width: 44px; height: 44px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* timer respawn */
.respawn { display: grid; gap: 12px; justify-items: center; text-align: center; }
.respawn .rs-big { font: 600 64px/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.respawn.go .rs-big { color: var(--success); }

/* ------------------------------------------------ pannello (sheet) */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: grid; align-items: end; }
.scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: relative; background: var(--layer); border-radius: var(--r-l) var(--r-l) 0 0; max-height: 92vh; max-height: 92dvh; overflow: auto; box-shadow: var(--shadow-28); animation: up .35s var(--ease); overscroll-behavior: contain; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 14px 12px 12px 20px; background: var(--layer); border-bottom: 1px solid var(--stroke); }
.sheet-head h2 { flex: 1; font-size: 18px; }
.sheet-body { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 16px; }
@media (min-width: 640px) {
  .sheet-wrap { align-items: center; justify-items: center; padding: 24px; }
  .sheet { width: min(560px, 100%); border-radius: var(--r-l); max-height: 88vh; }
}
.prose { white-space: pre-line; max-width: 68ch; }
.rules { margin: 0; padding-left: 22px; display: grid; gap: 8px; max-width: 70ch; }
.rules li::marker { color: var(--accent-text); font-weight: 700; }
.ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ticklist label { display: flex; gap: 10px; align-items: center; padding: 8px 0; cursor: pointer; }
.ticklist input { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); }
.ticklist input:checked + span { color: var(--text-3); text-decoration: line-through; }

.okbox { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 8px 0; }
.okbox .code { font: 600 34px/1 var(--font-display); letter-spacing: .12em; padding: 12px 20px; border-radius: var(--r-m); background: var(--card); border: 1px dashed var(--stroke-strong); font-variant-numeric: tabular-nums; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--r-m); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-8); transition: opacity .2s, transform .3s var(--ease); max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 24px; } }

.grid2 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-row { display: flex; flex-wrap: wrap; gap: 8px; }
.trophy { display: flex; gap: 14px; align-items: center; padding: 12px 16px; background: var(--card); }
.trophy .y { font: 600 15px/1 var(--font-display); color: var(--text-2); width: 44px; font-variant-numeric: tabular-nums; }
.trophy .t { flex: 1; min-width: 0; }
.trophy .t small { display: block; color: var(--text-2); font-size: 13px; }
.news-item { padding: 14px 16px; background: var(--card); display: grid; gap: 4px; }
.news-item time { color: var(--text-2); font-size: 12px; }
.news-item p { white-space: pre-line; font-size: 14px; color: var(--text); }
.news-item img { border-radius: var(--r-s); margin-top: 6px; max-height: 240px; object-fit: cover; width: 100%; }
.demo-bar { background: var(--warning-soft); color: var(--warning); font-size: 13px; font-weight: 500; text-align: center; padding: 6px 12px; }
.app-foot { margin-top: 40px; color: var(--text-3); font-size: 12px; text-align: center; }
.skeleton { height: 180px; border-radius: var(--r-m); background: linear-gradient(90deg, var(--card) 30%, var(--card-hover) 50%, var(--card) 70%) 0 0 / 300% 100%; animation: sk 1.4s infinite linear; border: 1px solid var(--stroke); }
@keyframes sk { to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
