/* ───────────────────────── Design tokens ─────────────────────────
   Theme follows Telegram (light/dark) – set on <html data-theme>.            */
:root {
  --font-ui: 'Inter', 'Inter Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', 'Inter Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, 'DejaVu Sans Mono', monospace;
  --r-lg: 22px; --r: 16px; --r-sm: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
[data-theme='dark'] {
  --bg: #030303;
  --bg-glow: radial-gradient(120% 55% at 50% -10%, rgba(201, 168, 127, .10), transparent 60%);
  --card: #0e0e0e;
  --card-2: #151515;
  --raise: #1b1b1b;
  --line: rgba(255, 255, 255, .065);
  --line-2: rgba(255, 255, 255, .11);
  --text: #f2ede6;
  --text-2: #aaa59d;
  --hint: #75716a;
  --gold: #d2b38b;
  --gold-soft: rgba(201, 168, 127, .12);
  --gold-line: rgba(201, 168, 127, .30);
  --gold-grad: linear-gradient(160deg, #e6cba5 0%, #c9a87f 22%, #8f714b 48%, #6f5333 60%, #a3855f 82%, #c4a47b 100%);
  --primary-bg: var(--gold-grad);
  --primary-text: #0d0a06;
  --ok: #52d1a2; --ok-soft: rgba(82, 209, 162, .12);
  --warn: #f0b860; --warn-soft: rgba(240, 184, 96, .12);
  --danger: #ff7a7a; --danger-soft: rgba(255, 122, 122, .11);
  --info: #9bb8ff; --info-soft: rgba(155, 184, 255, .11);
  --shadow: 0 1px 0 rgba(255, 255, 255, .035) inset, 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 -10px 40px rgba(0, 0, 0, .6);
  --input: #0e0e11;
  --scrim: rgba(0, 0, 0, .62);
}
[data-theme='light'] {
  --bg: #f4f2ee;
  --bg-glow: radial-gradient(120% 55% at 50% -10%, rgba(143, 113, 75, .09), transparent 60%);
  --card: #ffffff;
  --card-2: #faf8f4;
  --raise: #f2efe8;
  --line: rgba(28, 24, 16, .075);
  --line-2: rgba(28, 24, 16, .13);
  --text: #16140f;
  --text-2: #57534a;
  --hint: #8d887d;
  --gold: #87663f;
  --gold-soft: rgba(143, 113, 75, .09);
  --gold-line: rgba(143, 113, 75, .32);
  --gold-grad: linear-gradient(160deg, #e6cba5 0%, #c9a87f 22%, #8f714b 48%, #6f5333 60%, #a3855f 82%, #c4a47b 100%);
  --primary-bg: linear-gradient(180deg, #1a1a1a 0%, #050505 100%);
  --primary-text: #e8d2b1;
  --ok: #158a5f; --ok-soft: rgba(21, 138, 95, .09);
  --warn: #a8690d; --warn-soft: rgba(196, 128, 22, .11);
  --danger: #c83c3c; --danger-soft: rgba(200, 60, 60, .08);
  --info: #3459b8; --info-soft: rgba(52, 89, 184, .08);
  --shadow: 0 1px 2px rgba(28, 24, 16, .04), 0 8px 24px rgba(28, 24, 16, .05);
  --shadow-lg: 0 -10px 40px rgba(28, 24, 16, .14);
  --input: #fbfaf7;
  --scrim: rgba(22, 20, 15, .38);
}

/* ───────────────────────── Base ───────────────────────── */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); color-scheme: dark; }
[data-theme='light'] { color-scheme: light; }
html, body { margin: 0; color: var(--text); font: 400 15px/1.45 var(--font-ui); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01', 'ss03'; }
body { min-height: 100vh; background: var(--bg-glow), var(--bg); background-attachment: fixed; padding: 14px 14px calc(96px + env(safe-area-inset-bottom)); transition: background-color .3s var(--ease); }
a { color: var(--gold); text-decoration: none; }
b, strong { font-weight: 600; }
.num, .big, .kv > span:last-child, .stat b { font-variant-numeric: tabular-nums; }
h1 { font: 650 27px/1.15 var(--font-display); letter-spacing: -.8px; margin: 10px 4px 16px; }
h2 { font: 600 11px/1 var(--font-ui); text-transform: uppercase; letter-spacing: 1.4px; color: var(--hint); margin: 22px 8px 9px; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
svg.i.lg { width: 22px; height: 22px; }
svg.i.sm { width: 15px; height: 15px; vertical-align: -2px; }

.loading, .empty { text-align: center; color: var(--hint); padding: 44px 12px; font-size: 14px; }
.spinner { display: inline-block; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────────────────────── Surfaces ───────────────────────── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; margin-bottom: 12px; box-shadow: var(--shadow); animation: rise .35s var(--ease) both; }
.card.tight { padding: 4px 18px; }
.card-title { font: 600 15px/1.3 var(--font-ui); letter-spacing: -.1px; display: flex; align-items: center; gap: 8px; }
.card-title .i { color: var(--gold); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--text-2); font-size: 13.5px; }
.small { font-size: 12.5px; }
.mono { font-family: var(--font-mono); font-size: 12.5px; word-break: break-all; letter-spacing: -.2px; }
.big { font: 600 38px/1.05 var(--font-display); letter-spacing: -1.6px; }
.big .unit { font: 500 15px var(--font-ui); letter-spacing: .5px; color: var(--hint); margin-left: 4px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.center { text-align: center; }
.mt { margin-top: 10px; } .mt2 { margin-top: 18px; }
.gold { color: var(--gold); }
.eyebrow { font: 600 10.5px/1 var(--font-ui); text-transform: uppercase; letter-spacing: 1.6px; color: var(--hint); }

/* ───────────────────────── Buttons ───────────────────────── */
.btn { appearance: none; border: 0; border-radius: 14px; padding: 15px 18px; font: 600 15px/1.2 var(--font-ui); letter-spacing: -.1px; background: var(--primary-bg); color: var(--primary-text); width: 100%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .12s var(--ease), opacity .2s, box-shadow .2s; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 18px rgba(0,0,0,.18); }
[data-theme='dark'] .btn:not(.secondary):not(.danger):not(.ghost):not(.ok) { box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 8px 24px rgba(201,168,127,.16); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; }
.btn.secondary { background: var(--card-2); color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn.ghost { background: var(--gold-soft); color: var(--gold); box-shadow: none; }
.btn.danger { background: var(--danger-soft); color: var(--danger); box-shadow: none; }
.btn.ok { background: linear-gradient(180deg, #2fbf8a, #1c9a6c); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 8px 22px rgba(28,154,108,.22); }
.btn.sm { padding: 9px 13px; font-size: 13px; width: auto; border-radius: 11px; white-space: nowrap; }
.btns { display: grid; gap: 9px; }
.btns.two { grid-template-columns: 1fr 1fr; }

/* ───────────────────────── Lists ───────────────────────── */
.list-item { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: opacity .15s; }
.list-item:active { opacity: .6; }
.list-item:last-child { border-bottom: 0; }
.list-item .chev { color: var(--hint); }
.list-item .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex: none; }
.list-item .ic.danger { background: var(--danger-soft); color: var(--danger); }
.avatar { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font: 600 14px var(--font-ui); letter-spacing: .5px; background: var(--raise); color: var(--text-2); border: 1px solid var(--line); flex: none; }
.amount { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.amount small { color: var(--hint); font-weight: 500; font-size: 12px; margin-left: 2px; }

.kv { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kv:last-child { border-bottom: 0; }
.kv > span:first-child { color: var(--text-2); }
.kv > span:last-child { text-align: right; font-weight: 500; }
.kv.total > span { font-weight: 600; color: var(--text); }
.kv.total > span:last-child { color: var(--gold); }

/* ───────────────────────── Pills ───────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; font: 600 11.5px/1.2 var(--font-ui); letter-spacing: .1px; background: var(--info-soft); color: var(--info); white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.danger { background: var(--danger-soft); color: var(--danger); }
.pill.grey { background: var(--raise); color: var(--hint); }
.pill.gold { background: var(--gold-soft); color: var(--gold); }
.pill.plain::before { display: none; }

/* ───────────────────────── Controls ───────────────────────── */
.tabs { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 15px; padding: 4px; margin-bottom: 12px; }
.tabs button { flex: 1; border: 0; background: none; padding: 9px; border-radius: 11px; font: 600 13.5px var(--font-ui); color: var(--hint); cursor: pointer; transition: all .2s var(--ease); }
.tabs button.on { background: var(--raise); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 7px; }
.seg button, .chip { border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); padding: 12px 8px; border-radius: 13px; font: 600 13.5px var(--font-ui); cursor: pointer; transition: all .18s var(--ease); display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.seg button.on, .chip.on { border-color: var(--gold-line); background: var(--gold-soft); color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.chip { justify-content: flex-start; text-align: left; padding: 11px 12px; }
.chip .coin { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font: 700 10.5px var(--font-ui); letter-spacing: .2px; color: #fff; flex: none; }
.chip span { display: block; line-height: 1.2; }
.chip small { display: block; font-weight: 400; color: var(--hint); font-size: 11px; margin-top: 2px; }

label.f { display: block; margin: 16px 0 0; }
label.f > span { display: block; font: 500 12.5px var(--font-ui); color: var(--text-2); margin: 0 2px 7px; letter-spacing: .1px; }
input, textarea, select { width: 100%; border: 1px solid var(--line-2); background: var(--input); color: var(--text); border-radius: 13px; padding: 13px 14px; font: 400 15px var(--font-ui); outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--hint) 50%), linear-gradient(135deg, var(--hint) 50%, transparent 50%); background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
input::placeholder, textarea::placeholder { color: var(--hint); }
input:focus, textarea:focus, select:focus { border-color: var(--gold-line); box-shadow: 0 0 0 4px var(--gold-soft); }
input[type='checkbox'] { width: 20px; height: 20px; padding: 0; border-radius: 6px; flex: none; cursor: pointer; position: relative; }
input[type='checkbox']:checked { background: var(--gold-grad); border-color: transparent; }
input[type='checkbox']:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--primary-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }
[data-theme='light'] input[type='checkbox']:checked::after { border-color: #fff; }
textarea { min-height: 104px; resize: vertical; line-height: 1.5; }

/* ───────────────────────── Hero (brand card) ───────────────────────── */
.hero { position: relative; overflow: hidden; border-radius: 26px; padding: 20px 20px 18px; margin-bottom: 14px; color: #f2ede6;
  background: radial-gradient(80% 110% at 100% 0%, rgba(201,168,127,.20), transparent 55%), linear-gradient(160deg, #141414 0%, #070707 60%, #000 100%);
  border: 1px solid rgba(201,168,127,.24); box-shadow: 0 20px 50px rgba(0,0,0,.28), 0 1px 0 rgba(255,255,255,.05) inset; animation: rise .4s var(--ease) both; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.016) 22px 23px); }
.hero .brand { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.hero .brand img { width: 30px; height: 34px; object-fit: contain; }
.hero .brand .wordmark { font: 700 15px/1 var(--font-ui); letter-spacing: -.2px; color: #f2ede6; }
.hero .brand .wordmark span { background: linear-gradient(160deg, #e6cba5, #b8976d 55%, #8f714b); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; margin-left: 3px; }
.hero .hello { font: 600 25px/1.2 var(--font-display); letter-spacing: -.8px; margin-top: 22px; position: relative; z-index: 1; }
.hero .hello em { font-style: normal; color: #d2b38b; }
.hero .sub { color: rgba(242,237,230,.55); font-size: 13px; margin-top: 5px; display: flex; align-items: center; gap: 6px; position: relative; z-index: 1; }
.hero .sub .star { color: #d2b38b; }
.hero .stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(201,168,127,.16); position: relative; z-index: 1; }
.hero .stats b { display: block; font: 600 24px/1 var(--font-display); letter-spacing: -.8px; color: #ecdcc4; }
.hero .stats span { font-size: 11.5px; color: rgba(242,237,230,.48); letter-spacing: .2px; }
.hero .mark { position: absolute; right: -26px; bottom: -30px; width: 170px; opacity: .09; pointer-events: none; }
.hero .seal { position: absolute; right: 18px; top: 16px; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font: 600 14px var(--font-ui); color: #0d0a06; background: var(--gold-grad); box-shadow: 0 6px 18px rgba(201,168,127,.25); z-index: 1; }

.topbar { display: flex; align-items: center; gap: 9px; margin: 2px 4px 14px; }
.topbar img { width: 22px; height: 25px; object-fit: contain; }
.topbar b { font: 700 14px var(--font-ui); letter-spacing: -.2px; }
.topbar b span { color: var(--gold); font-weight: 500; margin-left: 2px; }
[data-theme='light'] .topbar img, [data-theme='light'] .logo-on-light { filter: brightness(.82) contrast(1.15); }

.splash { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.splash img { width: 74px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; transform: scale(.97); } }

.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 12px; }
.quick button { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--text); font: 600 13.5px var(--font-ui); cursor: pointer; box-shadow: var(--shadow); }
.quick button .i { color: var(--gold); }
.quick.one { grid-template-columns: 1fr; }

/* ───────────────────────── Deal page ───────────────────────── */
.deal-head .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.deal-head .title { font: 600 21px/1.25 var(--font-ui); letter-spacing: -.35px; margin-top: 12px; }
.deal-head .big { margin-top: 12px; }
.deal-head .strike { text-decoration: line-through; color: var(--hint); font: 500 15px var(--font-ui); margin-left: 6px; }
.role { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--text-2); font-size: 13.5px; }
.role b { color: var(--text); }

.stepper { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin: 18px 0 2px; }
.stepper div { text-align: center; font: 500 10.5px var(--font-ui); color: var(--hint); letter-spacing: .2px; }
.stepper div i { display: block; height: 3px; border-radius: 2px; background: var(--line-2); margin-bottom: 7px; }
.stepper div.done i { background: var(--gold-grad); opacity: .65; }
.stepper div.now i { background: var(--gold-grad); box-shadow: 0 0 10px rgba(201,168,127,.55); }
.stepper div.now { color: var(--gold); font-weight: 600; }

.callout { border-radius: 15px; padding: 13px 14px; background: var(--info-soft); color: var(--text); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.callout > .i { margin-top: 1px; color: var(--info); }
.callout.warn { background: var(--warn-soft); } .callout.warn > .i { color: var(--warn); }
.callout.danger { background: var(--danger-soft); } .callout.danger > .i { color: var(--danger); }
.callout.ok { background: var(--ok-soft); } .callout.ok > .i { color: var(--ok); }
.callout.gold { background: var(--gold-soft); border: 1px solid var(--gold-line); } .callout.gold > .i { color: var(--gold); }

.addr { display: flex; gap: 8px; align-items: center; background: var(--input); border: 1px dashed var(--line-2); border-radius: 13px; padding: 11px 12px; }
.qr { display: grid; place-items: center; margin: 14px auto; background: #fff; border-radius: 18px; padding: 12px; width: max-content; box-shadow: 0 0 0 1px var(--gold-line), 0 10px 30px rgba(0,0,0,.15); }
.qr:empty { display: none; }
.qr svg { width: 172px; height: 172px; display: block; }
.amount-due { text-align: center; margin: 8px 0 4px; }
.amount-due .big { font-size: 34px; }
.progress { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; margin: 12px 0 6px; }
.progress i { display: block; height: 100%; background: var(--gold-grad); border-radius: 3px; }

.party { display: flex; align-items: center; gap: 12px; padding: 10px 0; }

/* chat */
.chat { display: flex; flex-direction: column; gap: 7px; max-height: 440px; overflow-y: auto; padding: 2px 0 6px; }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 18px 18px 18px 6px; background: var(--raise); align-self: flex-start; font-size: 14.5px; white-space: pre-wrap; word-wrap: break-word; line-height: 1.4; }
.msg.mine { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--primary-bg); color: var(--primary-text); }
.msg.mine .who { color: inherit; opacity: .65; }
.msg.staff, .msg.staff.mine { color: var(--text); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.msg.staff .who { color: var(--gold); opacity: 1; }
.msg.system { align-self: center; background: none; color: var(--hint); font-size: 12.5px; text-align: center; max-width: 92%; padding: 4px 8px; }
.msg.note { border-style: dashed; }
.msg .who { font: 600 11.5px var(--font-ui); color: var(--gold); margin-bottom: 3px; display: flex; gap: 5px; align-items: center; }
.msg img { max-width: 100%; border-radius: 12px; margin-top: 6px; display: block; }
.composer { display: flex; gap: 7px; margin-top: 10px; align-items: flex-end; }
.composer textarea { min-height: 46px; height: 46px; padding: 12px 13px; border-radius: 15px; }
.iconbtn { flex: none; width: 46px; height: 46px; border-radius: 15px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text-2); cursor: pointer; display: grid; place-items: center; }
.iconbtn.primary { background: var(--primary-bg); color: var(--primary-text); border: 0; }

.event { display: flex; gap: 12px; padding: 9px 0; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.event:last-child { border: 0; }
.event time { color: var(--hint); flex: none; width: 96px; font-size: 12px; font-variant-numeric: tabular-nums; }
details.card > summary { list-style: none; cursor: pointer; color: var(--text-2); font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: space-between; }
details.card > summary::-webkit-details-marker { display: none; }
details[open] > summary .chev { transform: rotate(90deg); }
details > summary .chev { transition: transform .2s; color: var(--hint); }

.fab { position: fixed; left: 14px; right: 14px; width: auto; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 5; padding: 17px; border-radius: 18px; font-size: 15.5px; }
.fab-shade { position: fixed; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none; z-index: 4; background: linear-gradient(to top, var(--bg) 35%, transparent); }

/* sheet */
.sheet-backdrop { position: fixed; inset: 0; background: var(--scrim); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 20; display: flex; align-items: flex-end; animation: fade .2s; }
.sheet { background: var(--card); border-top: 1px solid var(--line-2); width: 100%; border-radius: 26px 26px 0 0; padding: 18px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 90vh; overflow-y: auto; animation: up .28s var(--ease); box-shadow: var(--shadow-lg); }
.sheet h3 { margin: 2px 0 6px; font: 650 21px/1.2 var(--font-display); letter-spacing: -.6px; }
.sheet .grab { width: 38px; height: 4px; border-radius: 2px; background: var(--line-2); margin: -6px auto 14px; }
@keyframes up { from { transform: translateY(60px); opacity: .3; } }
@keyframes fade { from { opacity: 0; } }

.toast { position: fixed; left: 50%; transform: translateX(-50%); top: calc(14px + env(safe-area-inset-top)); background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 14px; font: 500 14px var(--font-ui); z-index: 50; max-width: 90%; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: drop .25s var(--ease); }
.toast.err { background: var(--danger); color: #fff; }
@keyframes drop { from { transform: translate(-50%, -10px); opacity: 0; } }

.stars { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.stars button { background: none; border: 0; cursor: pointer; padding: 2px; color: var(--line-2); }
.stars button svg { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.stars button.on { color: var(--gold); }
.stat { text-align: center; flex: 1; }
.stat b { display: block; font: 600 26px/1.1 var(--font-display); letter-spacing: -.8px; }
.stat span { font-size: 12px; color: var(--hint); }
.devbar { display: flex; gap: 8px; align-items: center; background: var(--warn-soft); color: var(--warn); font-size: 12.5px; font-weight: 500; padding: 9px 12px; border-radius: 12px; margin-bottom: 12px; border: 1px solid color-mix(in srgb, var(--warn) 25%, transparent); }
.divider { height: 1px; background: var(--line); margin: 14px 0; }
