
:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg-2: #0f0f12;
  --surface: #141417;
  --surface-2: #1a1a1e;
  --surface-3: #232328;
  --line: #26262c;
  --line-2: #35353c;
  --text: #f4f2ee;
  --text-2: #c9c6bf;
  --muted: #8f8c86;
  --faint: #5d5b57;
  --violet: #c9a24d;
  --violet-hi: #dcbd78;
  --violet-deep: #6e5520;
  --gold: #d4af5a;
  --gold-hi: #e8cf92;
  --green: #34d399;
  --red: #fb7185;
  --cyan: #67e8f9;
  --nav: #151518;
  --ink: #17130b;
  --gold-grad: linear-gradient(180deg, #d6b465, #bf9a48);
  --gold-soft: linear-gradient(180deg, #d6b465, #bf9a48);
  --display: 'Saira Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --code: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 16px;
  --r-sm: 12px;
  --nav-h: 66px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --safe-b: var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
  --safe-t: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100%; background: var(--bg); color: var(--text);
  font: 400 15px/1.45 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 40vmax at 0% -10%, rgba(201, 162, 77, .16), transparent 60%),
    radial-gradient(50vmax 30vmax at 110% 20%, rgba(212, 175, 90, .07), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .045) 1px, transparent 0) 0 0 / 22px 22px;
}
button, input, select, textarea { font: inherit; color: inherit; }
.native body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; overscroll-behavior-y: none; }
.native input, .native textarea, .native .bubble p, .native .t-msg p { -webkit-user-select: text; user-select: text; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; opacity: .5; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.ic { width: 18px; height: 18px; flex: none; }


.h1 { font: 800 30px/1.02 var(--display); letter-spacing: .005em; text-wrap: balance; }
.eyebrow { font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.eyebrow .ic { width: 13px; height: 13px; color: var(--gold); }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.pad { padding: 18px 8px; }
.gold { color: var(--gold); }
.green { color: var(--green); }
.red { color: var(--red); }
.violet { color: var(--violet-hi); }
.pos { color: var(--green); }
.neg { color: var(--red); }
.strike { color: var(--muted); text-decoration: line-through; }
.mono { font-family: var(--display); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.grow { flex: 1; min-width: 0; }
.num, .kpi-num, .big, .wallet-num { font-family: var(--display); font-variant-numeric: tabular-nums; }


.shell { max-width: 520px; margin: 0 auto; padding-inline: 16px; }
.admin-mode .shell { max-width: 1240px; }
#top {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(to bottom, rgba(11, 11, 13, .94), rgba(11, 11, 13, .78));
  border-bottom: 1px solid rgba(41, 36, 61, .7);
  padding-top: var(--safe-t);
}
.bare #top { display: none; }
.top-in { max-width: 520px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top-right { display: flex; align-items: center; gap: 8px; }
#view { padding-block: 16px calc(var(--nav-h) + 48px + var(--safe-b)); min-height: 70vh; }
.no-nav #view { padding-bottom: calc(40px + var(--safe-b)); }

.bare #view { padding-top: calc(16px + var(--safe-t)); }
.conv-page #view { padding-bottom: calc(96px + var(--safe-b)); }

.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--ink);
  background: var(--gold-grad);
  box-shadow: 0 4px 14px -4px rgba(201, 162, 77, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.logo-mark .ic { width: 19px; height: 19px; }
.logo-word { font: 800 21px/1 var(--display); letter-spacing: .01em; transform: skewX(-8deg); display: inline-block; }
.logo-word b { color: var(--gold); font-weight: 800; }
.logo.xl .logo-mark { width: 64px; height: 64px; border-radius: 18px; }
.logo.xl .logo-mark .ic { width: 34px; height: 34px; }
.logo.xl .logo-word { font-size: 40px; }
.logo-btn { border-radius: 12px; }

.wallet-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 999px;
  background: rgba(52, 211, 153, .09); border: 1px solid rgba(52, 211, 153, .3); color: var(--green);
  font: 700 16px/1 var(--display); font-variant-numeric: tabular-nums; position: relative; overflow: hidden;
}
.wallet-chip .ic { width: 16px; height: 16px; }
.wallet-chip b { font-weight: 700; color: var(--text); }
.wallet-chip.bump { animation: bump .6s var(--spring); }
.wallet-chip.bump.up { box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.wallet-chip.bump.down { box-shadow: 0 0 0 4px rgba(251, 113, 133, .16); }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; position: relative;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2); transition: background .2s, transform .15s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(.94); }
.bell.has .ic { animation: ring 2.8s ease-in-out infinite; transform-origin: 50% 10%; }
.dot-count {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-grid; place-items: center;
  background: var(--red); color: #fff; font: 800 11px/1 var(--body); font-variant-numeric: tabular-nums;
}
.icon-btn .dot-count { position: absolute; top: -5px; right: -5px; box-shadow: 0 0 0 2px var(--bg); }


.lnav {
  position: fixed; z-index: 50; height: var(--nav-h);
  left: max(12px, calc(50% - 248px)); right: max(12px, calc(50% - 248px));
  bottom: calc(12px + var(--safe-b));
  transition: transform .45s var(--ease-out), opacity .3s;
}
.no-nav .lnav { transform: translateY(calc(100% + 40px + var(--safe-b))); opacity: 0; pointer-events: none; }
.lnav-bg { position: absolute; inset: 0; overflow: visible; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55)) drop-shadow(0 0 1px rgba(220, 189, 120, .5)); }
.lnav-bg .bar { fill: var(--nav); }
.lnav-bubble {
  position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 50%; will-change: transform; pointer-events: none;
  background: radial-gradient(circle at 34% 28%, #e8d3a0 0, #d6b465 22%, #bf9a48 58%, #4a3a18 100%);
  box-shadow: 0 10px 24px -6px rgba(201, 162, 77, .85), 0 0 26px rgba(201, 162, 77, .35), inset 0 -5px 10px rgba(0, 0, 0, .45), inset 0 2px 3px rgba(255, 255, 255, .5);
}
.lnav-sheen { position: absolute; left: 10px; top: 7px; width: 17px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .55); filter: blur(1.5px); transform: rotate(-24deg); }
.lnav-bubble::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(220, 189, 120, .7); opacity: 0; }
.lnav-bubble.land::after { animation: ripple-out .7s var(--ease-out); }
.lnav-items { position: relative; height: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding-inline: 6px; }
.lnav-items li { position: relative; }
.lnav-items button { position: relative; width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); border-radius: 14px; }
.lnav-items button:hover { color: var(--text-2); }
.lnav-ic { display: grid; place-items: center; transition: transform .55s var(--spring), color .25s; transition-delay: 0s; }
.lnav-ic .ic { width: 22px; height: 22px; }
.lnav-items button.on .lnav-ic { transform: translateY(-31px); color: var(--ink); transition-delay: .06s; }
.lnav-lb { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font: 700 11.5px/1 var(--body); color: var(--text); opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .25s, transform .4s var(--spring); }
.lnav-items button.on .lnav-lb { opacity: 1; transform: none; transition-delay: .12s; }
.lnav-badge { position: absolute; top: 13px; left: calc(50% + 4px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--red); color: #fff; font: 800 10px/16px var(--body); box-shadow: 0 0 0 2px var(--nav); }
.lnav-items button.on .lnav-badge { opacity: 0; }


.enter-fwd > * { animation: in-right .44s var(--ease-out) backwards; }
.enter-back > * { animation: in-left .44s var(--ease-out) backwards; }
.enter-fade > * { animation: fade-up .5s var(--ease-out) backwards; }

.conv-page #view > * { animation-name: fade-in !important; }
.stagger > * { animation: rise .5s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 45ms + 80ms); }
.is-static .stagger > *, .is-static .bar-r, .is-static .bar-v, .is-static .area-l, .is-static .area-f, .is-static .area-dot,
.is-static .pod-block, .is-static .pod .av, .is-static .pod-crown, .is-static .pod-name, .is-static .pod-val, .is-static .pop, .is-static > * { animation: none !important; }


.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 16px; border-radius: 12px; font: 700 14px/1 var(--body); white-space: nowrap;
  transition: transform .15s, background .2s, box-shadow .2s, border-color .2s, filter .2s;
  border: 1px solid transparent;
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn .ic { width: 17px; height: 17px; }
.btn.sm { height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.lg { height: 52px; font-size: 15.5px; border-radius: 14px; }
.btn.block { width: 100%; }
.btn.primary { color: var(--ink); background: linear-gradient(180deg, #d6b465, #bf9a48); box-shadow: 0 8px 20px -8px rgba(120, 96, 45, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: var(--surface-2); border-color: var(--line); color: var(--text-2); }
.btn.ghost:hover { border-color: var(--line-2); color: var(--text); }
.btn.outline { background: rgba(201, 162, 77, .08); border-color: rgba(201, 162, 77, .45); color: var(--violet-hi); }
.btn.outline:hover { background: rgba(201, 162, 77, .14); }
.btn.green-ghost { background: rgba(52, 211, 153, .07); border-color: rgba(52, 211, 153, .4); color: var(--green); }
.btn.green { background: linear-gradient(180deg, #4ae3a8, #22b884); color: #03150d; box-shadow: 0 8px 18px -10px rgba(52, 211, 153, .9); }
.btn.gold { background: linear-gradient(180deg, #ffcf66, #eaa21f); color: #17130b; box-shadow: 0 8px 18px -10px rgba(212, 175, 90, .9); }
.btn.danger { background: linear-gradient(180deg, #ff8aa0, #e5486a); color: #fff; }
.btn.danger-ghost { background: rgba(251, 113, 133, .06); border-color: rgba(251, 113, 133, .35); color: var(--red); }
.btn.dark { background: #0c0a13; border-color: var(--line); color: var(--text); }
.ink { position: absolute; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); animation: ink .6s var(--ease-out) forwards; pointer-events: none; z-index: -1; }
.ripple { position: relative; overflow: hidden; isolation: isolate; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.link { display: inline-flex; align-items: center; gap: 2px; color: var(--violet-hi); font-weight: 700; font-size: 13.5px; }
.link .ic { width: 15px; height: 15px; }
.back { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 8px; margin-bottom: 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; }
.back:hover { background: var(--surface); }
.fab {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: var(--ink); flex: none;
  background: var(--gold-grad); box-shadow: 0 10px 22px -8px rgba(120, 96, 45, .95), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .3s var(--spring);
}
.fab:hover { transform: rotate(90deg); }
.fab .ic { width: 22px; height: 22px; }


.tone-violet { --tc: var(--violet-hi); }
.tone-green { --tc: var(--green); }
.tone-gold { --tc: var(--gold); }
.tone-cyan { --tc: var(--cyan); }
.tone-red { --tc: var(--red); }
.tone-muted { --tc: var(--muted); }
.tag, .chip, .tier {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 7px; white-space: nowrap;
  font: 800 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  color: var(--tc, var(--text-2)); background: color-mix(in srgb, var(--tc, #fff) 13%, transparent);
}
.tag .ic, .chip .ic, .tier .ic { width: 12px; height: 12px; }
.chip { text-transform: none; letter-spacing: .02em; font: 700 11.5px/1 var(--body); border: 1px solid color-mix(in srgb, var(--tc, #fff) 22%, transparent); }
.chip.mono { font-family: var(--display); letter-spacing: .06em; --tc: var(--violet-hi); }
.tier { --tc: var(--c); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.live { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 7px; font: 800 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #ff5f7e, #e11d48); box-shadow: 0 0 14px rgba(244, 63, 94, .45); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.2s ease-in-out infinite; }
.vbadge { display: inline-grid; place-items: center; color: var(--cyan); margin-left: 4px; vertical-align: -2px; }
.vbadge .ic { width: 16px; height: 16px; }
.dot-on { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); margin-left: auto; animation: pulse 1.6s infinite; }
.chev { color: var(--faint); display: grid; place-items: center; }


.av {
  --s: 44px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; display: inline-grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .35), transparent 45%), linear-gradient(145deg, var(--a1), var(--a2));
  box-shadow: inset 0 -3px 8px rgba(0, 0, 0, .28), 0 0 0 2px var(--bg);
}
.av .ic { width: 52%; height: 52%; stroke-width: 2.2; }
.av { position: relative; overflow: visible; }
.av-photo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; display: block; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.av-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 30%; display: block; border-radius: 0; }
.av-letter { font: 800 calc(var(--s) * .42) / 1 var(--display); letter-spacing: .02em; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.av-anon { background: var(--surface-3); color: var(--muted); }
.ring-color { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ring) !important; }
.ring-color.ring-glow { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ring), 0 0 18px var(--ring) !important; }
.ring-conic::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; pointer-events: none; background: conic-gradient(#f43f5e, #f59e0b, #84cc16, #06b6d4, #d9a93f, #f43f5e);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); animation: spin 3s linear infinite; }
.av-xs { --s: 24px; } .av-sm { --s: 36px; } .av-md { --s: 44px; } .av-lg { --s: 66px; } .av-xl { --s: 100px; }
.av-xl { box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(201, 162, 77, .35), 0 16px 34px -18px rgba(0, 0, 0, .9); }
.av-more { background: var(--surface-3); color: var(--text-2); font: 700 13px/1 var(--display); }
.ring-1 { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #d4af5a, 0 0 30px rgba(212, 175, 90, .55); }
.ring-2 { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #c3cad6, 0 0 22px rgba(195, 202, 214, .35); }
.ring-3 { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #d08a5b, 0 0 22px rgba(208, 138, 91, .4); }
.pop { animation: pop .6s var(--spring) .15s backwards; }


.page { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.card, .form, .stack, .sheet-body, .a-body, .fin-body, .pix, .mu-sec, .v-info, .at-main, .u-card, .report, .pend { grid-template-columns: minmax(0, 1fr); }
.grid2 > *, .grid3 > *, .btn-row.two > *, .kpis > *, .tiles3 > * { min-width: 0; }
.area-wrap, .chart { min-width: 0; max-width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.page-head p { margin-top: 4px; }
.sect { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.sec-head { display: flex; align-items: center; justify-content: space-between; }
.sec-head h3, .sub-h { font: 700 15px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.sub-h { margin-top: 6px; }
.stack { display: grid; gap: 10px; }
.dim > * { opacity: .72; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: grid; gap: 12px; }
.card-h { display: flex; align-items: center; gap: 8px; font: 700 18px/1 var(--display); letter-spacing: .01em; }
.card-h .ic { color: var(--violet-hi); }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.meter { display: block; height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--violet-hi)); transition: width 1s var(--ease-out); }
.meter.tone-gold i { background: linear-gradient(90deg, #ea9a1f, var(--gold-hi)); }
.meter.tone-elo i { background: linear-gradient(90deg, #f97316, var(--gold), #fde68a); }
.empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 30px 12px; color: var(--muted); }
.empty-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--faint); margin-bottom: 6px; }
.empty-ic .ic { width: 26px; height: 26px; }
.empty strong { color: var(--text-2); font-size: 15.5px; }
.empty .btn { margin-top: 10px; }
.all-clear { display: grid; justify-items: center; gap: 6px; padding: 34px 12px; text-align: center; }
.all-clear > .ic { width: 58px; height: 58px; padding: 14px; border-radius: 18px; color: var(--green); background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); animation: pop .6s var(--spring); }
.all-clear b { font: 700 18px/1.1 var(--display); }
.all-clear small { color: var(--muted); }
.note-gold, .note-red, .note-green {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13px; line-height: 1.4;
  color: var(--tc); background: color-mix(in srgb, var(--tc) 8%, transparent); border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent);
}
.note-gold { --tc: var(--gold); } .note-red { --tc: var(--red); } .note-green { --tc: var(--green); }
.note-gold .ic, .note-red .ic, .note-green .ic { margin-top: 1px; }
.note-red.small { padding: 8px 10px; font-size: 12px; }
.kv { display: grid; gap: 8px; }
.kv > div { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.kv dd .ic { width: 14px; height: 14px; }
.kv.inline { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
.kv.inline > div { flex-direction: column; gap: 3px; background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.kv.inline dt { font-size: 11.5px; }
.tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tiles3.four { grid-template-columns: repeat(4, 1fr); }
.tile { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; display: grid; justify-items: center; gap: 3px; text-align: center; min-width: 0; }
.tile > span .ic { width: 18px; height: 18px; color: var(--violet-hi); }
.tile b { font: 700 20px/1.05 var(--display); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tile small { font-size: 11.5px; color: var(--muted); }
.tile.tone-gold b, .tile.tone-green b, .tile.tone-violet b { color: var(--tc); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; scroll-padding-inline: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; flex: none;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-weight: 600; font-size: 13.5px;
  transition: background .25s, color .2s, border-color .2s, transform .15s;
}
.chip-btn .ic { width: 15px; height: 15px; }
.chip-btn:active { transform: scale(.95); }
.chip-btn.on { background: linear-gradient(180deg, #d6b465, #bf9a48); border-color: transparent; color: var(--ink); box-shadow: 0 6px 16px -8px rgba(120, 96, 45, .9); }
.chip-btn .dot-count { margin-left: 2px; }
.search { position: relative; display: block; }
.search > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 46px; padding: 0 14px 0 42px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--faint); }
.search input:focus { border-color: rgba(201, 162, 77, .6); box-shadow: 0 0 0 4px rgba(201, 162, 77, .14); }


.seg { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); isolation: isolate; }
.seg::before {
  content: ''; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n));
  transform: translateX(calc(var(--k) * 100%)); border-radius: 10px;
  background: linear-gradient(180deg, #d6b465, #bf9a48); box-shadow: 0 6px 16px -6px rgba(120, 96, 45, .85);
  transition: transform .5s var(--spring);
}
.seg button { height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: 13.5px; border-radius: 10px; transition: color .25s; min-width: 0; }
.seg button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg button .ic { width: 15px; height: 15px; }
.seg button.on { color: var(--ink); }
.seg .dot-count { height: 16px; min-width: 16px; font-size: 10px; }


.form { display: grid; gap: 14px; }
.form.tight { gap: 10px; }
.form.row { display: flex; align-items: flex-end; gap: 10px; margin-top: 10px; }
.form-h { display: flex; align-items: center; gap: 8px; font: 700 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.form-h:first-child { border: 0; padding-top: 0; margin-top: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 12.5px; font-weight: 600; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.field em { font-style: normal; font-size: 11.5px; color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line);
  outline: none; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 80px; line-height: 1.4; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(201, 162, 77, .6); box-shadow: 0 0 0 4px rgba(201, 162, 77, .14); }
.field input[readonly] { color: var(--muted); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input[type=range] { padding: 0; min-height: 30px; background: none; border: 0; accent-color: var(--violet); box-shadow: none; }
.money-field { position: relative; }
.money-field > b { position: absolute; left: 14px; bottom: 14px; color: var(--muted); font: 700 15px/1 var(--display); }
.money-field input { padding-left: 40px; font: 700 18px/1 var(--display); font-variant-numeric: tabular-nums; }
.money-field .btn { position: absolute; right: 6px; bottom: 5px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.switch { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 6px 0; font-weight: 600; }
.switch small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.sw { width: 46px; height: 28px; border-radius: 14px; background: var(--surface-3); border: 1px solid var(--line-2); position: relative; flex: none; transition: background .25s; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .35s var(--spring); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.switch input:checked + .sw { background: var(--violet); border-color: transparent; }
.switch.warn input:checked + .sw { background: var(--red); }
.switch input:checked + .sw::after { transform: translateX(18px); }
.switch input:focus-visible + .sw { outline: 2px solid var(--violet-hi); outline-offset: 2px; }
.radio-list { display: grid; gap: 8px; }
.radio-list.row { grid-template-columns: repeat(3, 1fr); }
.radio { position: relative; cursor: pointer; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 42px; padding: 8px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; text-align: center; transition: .2s; }
.radio-list:not(.row) .radio span { justify-content: flex-start; }
.radio small { color: var(--muted); font-weight: 500; }
.radio input:checked + span { border-color: var(--violet); background: rgba(201, 162, 77, .12); color: #fff; }
.radio input:focus-visible + span { outline: 2px solid var(--violet-hi); outline-offset: 2px; }
.calc { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(212, 175, 90, .07); border: 1px dashed rgba(212, 175, 90, .35); }
.calc span { font-size: 12px; color: var(--muted); }
.calc b { font: 800 24px/1.1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.calc small { color: var(--text-2); font-size: 12.5px; }


.notice {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(201, 162, 77, .16), rgba(201, 162, 77, .04)); border: 1px solid rgba(201, 162, 77, .35); font-size: 13.5px; color: var(--text-2);
}
.notice > .ic, .notice .n-ic { color: var(--violet-hi); margin-top: 1px; }
.notice b { display: block; color: var(--text); font-weight: 700; margin-bottom: 2px; }
.hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.hello .h1 { margin-top: 6px; font-size: 32px; overflow-wrap: anywhere; }
.elo-chip { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); color: var(--c); font: 700 14px/1 var(--display); letter-spacing: .03em; white-space: nowrap; flex: none; }
.elo-chip .ic { width: 15px; height: 15px; }
.elo-chip b { color: var(--text); font-weight: 800; }
.hero-card {
  position: relative; overflow: hidden; display: grid; gap: 12px; padding: 18px; border-radius: 22px; cursor: pointer;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(212, 175, 90, .16), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(201, 162, 77, .3), transparent 60%),
    linear-gradient(160deg, #1d1731, #120f1c) padding-box,
    linear-gradient(140deg, rgba(220, 189, 120, .8), rgba(41, 36, 61, .6) 45%, rgba(212, 175, 90, .8)) border-box;
  border: 1px solid transparent; box-shadow: 0 24px 50px -24px rgba(120, 96, 45, .6);
  transition: transform .3s var(--ease-out);
}
.hero-card:hover { transform: translateY(-2px); }
.hero-card header { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.hero-card h2 { font: 800 30px/1 var(--display); text-wrap: balance; }
.hero-meta { color: var(--text-2); font-size: 13.5px; margin-top: -6px; }
.hero-clock { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .06); }
.hero-clock span { font-size: 12.5px; color: var(--muted); }
.hero-clock strong { font: 800 30px/1 var(--display); letter-spacing: .06em; color: var(--gold-hi); }
.hero-foot { display: flex; align-items: flex-end; gap: 16px; }
.hero-foot small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.hero-foot b { font: 800 24px/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.hero-shine { position: absolute; inset: -40% auto -40% -30%; width: 40%; transform: rotate(18deg) translateX(-160%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .09), transparent); animation: shine 6s ease-in-out 1.2s infinite; pointer-events: none; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { display: grid; justify-items: center; gap: 4px; padding: 14px 6px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.stat-ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: var(--tc); background: color-mix(in srgb, var(--tc) 12%, transparent); }
.stat-ic .ic { width: 16px; height: 16px; }
.stat .num { font-size: 28px; font-weight: 800; line-height: 1; }
.stat small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 10px; scroll-padding-inline: 16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.prize-card {
  flex: 0 0 min(78%, 270px); scroll-snap-align: start; display: grid; gap: 10px; padding: 16px; border-radius: 18px; cursor: pointer;
  background: linear-gradient(170deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); transition: transform .3s var(--ease-out), border-color .2s;
}
.prize-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.prize-card header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.prize-card h4 { font: 700 20px/1.05 var(--display); min-height: 42px; text-wrap: balance; }
.pot { display: grid; justify-items: center; gap: 2px; padding: 12px; border-radius: 14px; text-align: center; background: linear-gradient(180deg, rgba(52, 211, 153, .12), rgba(52, 211, 153, .04)); border: 1px solid rgba(52, 211, 153, .3); }
.pot small { font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.pot strong { font: 800 30px/1.05 var(--display); color: var(--green); font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(52, 211, 153, .35); }
.pot span { font-size: 11.5px; color: var(--muted); }
.soon { display: grid; gap: 8px; }
.soon-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.soon-row:hover { border-color: var(--line-2); }
.soon-row > div:first-child { display: grid; gap: 6px; flex: 1; min-width: 0; }
.soon-row b { font-weight: 700; }
.soon-row small { color: var(--muted); font-size: 12.5px; }
.soon-side { display: grid; justify-items: end; gap: 2px; text-align: right; }
.soon-side b { font: 700 18px/1 var(--display); }
.soon-side span { font-size: 12.5px; font-weight: 700; }
.mini-rank { display: grid; gap: 6px; }
.mini-rank button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.mini-rank b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-rank .val { font: 700 15px/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.rk { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 800 14px/1 var(--display); color: var(--muted); background: var(--surface-2); flex: none; }
.rk.p1 { color: #17130b; background: linear-gradient(180deg, #e8cf92, #d4af5a); }
.rk.p2 { color: #151820; background: linear-gradient(180deg, #eef1f6, #aeb6c3); }
.rk.p3 { color: #1b0f07; background: linear-gradient(180deg, #f0b287, #c77b4a); }


.t-item { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, transform .25s var(--ease-out); }
.t-item:hover { border-color: rgba(201, 162, 77, .45); transform: translateY(-1px); }
.t-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--tc); background: color-mix(in srgb, var(--tc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--tc) 25%, transparent); }
.t-ic .ic { width: 22px; height: 22px; }
.t-main { display: grid; gap: 5px; min-width: 0; }
.t-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.t-main h4, .at-main h4 { font: 700 19px/1.1 var(--display); letter-spacing: .005em; }
.t-by { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; }
.t-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.t-meta span { display: inline-flex; align-items: center; gap: 5px; }
.t-meta .ic { width: 14px; height: 14px; color: var(--muted); }
.t-meta .gold .ic { color: var(--gold); }
.t-meta .gold { font-weight: 700; }
.t-hero { position: relative; overflow: hidden; display: grid; gap: 10px; padding: 18px; border-radius: 22px; background: radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--tc) 22%, transparent), transparent 60%), linear-gradient(170deg, #18181c, #121215); border: 1px solid color-mix(in srgb, var(--tc) 30%, var(--line)); }
.t-hero-ic { position: absolute; right: -18px; top: -18px; color: var(--tc); opacity: .12; }
.t-hero-ic .ic { width: 140px; height: 140px; stroke-width: 1.4; }
.t-hero .h1 { font-size: 34px; }
.t-hero .tiles3 { margin-top: 4px; }
.t-hero .tile { background: rgba(0, 0, 0, .25); }
.t-count { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); }
.t-count span { font-size: 12.5px; color: var(--muted); }
.t-count strong { font: 800 26px/1 var(--display); color: var(--gold-hi); letter-spacing: .06em; }
.t-cancel { display: flex; gap: 8px; align-items: center; color: var(--red); font-size: 13.5px; }
.cta-bar {
  position: sticky; bottom: calc(var(--nav-h) + 22px + var(--safe-b)); z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px;
  background: rgba(20, 20, 23, .92); border: 1px solid var(--line-2); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .8);
}
.cta-bar small { display: block; font-size: 12px; color: var(--muted); }
.cta-bar b { display: inline-flex; align-items: center; gap: 6px; font: 800 22px/1.1 var(--display); }
.cta-bar b .ic { width: 18px; height: 18px; }
.room-card { display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: linear-gradient(170deg, rgba(244, 63, 94, .14), rgba(244, 63, 94, .03)); border: 1px solid rgba(251, 113, 133, .4); justify-items: start; }
.room-card.locked { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 13.5px; background: var(--surface); border-color: var(--line); }
.room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.room-grid small { display: block; font-size: 12px; color: var(--muted); }
.room-grid b { font-size: 26px; font-weight: 800; }
.prize-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.prize-top small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.prize-top .big { font-size: 34px; font-weight: 800; line-height: 1; }
.prize-top .right { text-align: right; }
.prize-top .right b { font: 700 18px/1 var(--display); color: var(--text-2); }
.split { display: grid; gap: 6px; }
.split li, .results li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; }
.split b, .results .gold { font: 700 17px/1 var(--display); font-variant-numeric: tabular-nums; }
.results b { flex: 1; }
.medal { width: 34px; height: 26px; border-radius: 8px; display: inline-grid; place-items: center; font: 800 13px/1 var(--display); font-style: normal; flex: none; color: var(--text-2); background: var(--surface-3); }
.m-gold { color: #17130b; background: linear-gradient(180deg, #e8cf92, #d4af5a); }
.m-silver { color: #151820; background: linear-gradient(180deg, #eef1f6, #aeb6c3); }
.m-bronze { color: #1b0f07; background: linear-gradient(180deg, #f0b287, #c77b4a); }
.m-violet { color: var(--ink); background: linear-gradient(180deg, #d6b465, #bf9a48); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.people li button, .people li.more { display: grid; justify-items: center; gap: 6px; width: 100%; padding: 8px 4px; border-radius: 12px; font-size: 12px; color: var(--text-2); text-align: center; }
.people li button:hover { background: var(--surface-2); }
.people span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-chat { max-height: 300px; overflow-y: auto; display: grid; gap: 10px; padding: 4px 2px; overscroll-behavior: contain; }
.t-msg { display: flex; gap: 8px; align-items: flex-start; }
.t-msg > div { background: var(--surface-2); border-radius: 4px 14px 14px 14px; padding: 8px 12px; max-width: 85%; }
.t-msg b { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--violet-hi); }
.t-msg p { font-size: 14px; margin-top: 2px; overflow-wrap: anywhere; }
.t-msg small { font-size: 11px; color: var(--faint); }
.t-msg.me { flex-direction: row-reverse; }
.t-msg.me > div { background: rgba(201, 162, 77, .18); border-radius: 14px 4px 14px 14px; }
.t-msg:last-child > div { animation: pop .45s var(--spring); }
.composer { display: flex; gap: 8px; }
.composer input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); outline: none; }
.composer input:focus { border-color: rgba(201, 162, 77, .6); }
.send { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); background: linear-gradient(180deg, #d6b465, #bf9a48); flex: none; transition: transform .2s var(--spring); }
.send:active { transform: scale(.9) rotate(-12deg); }
.locked-line { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; padding: 10px; border-radius: 12px; background: var(--surface-2); }
.rules { color: var(--text-2); font-size: 14px; white-space: pre-line; }
.manage .tile b { font-size: 18px; }
.confirm-t { display: grid; gap: 4px; margin-bottom: 14px; }
.confirm-t h3 { font: 800 24px/1.05 var(--display); }
.ledger { display: grid; gap: 0; margin-bottom: 16px; border-radius: 14px; background: var(--surface-2); padding: 4px 14px; }
.ledger > div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.ledger > div:last-child { border: 0; }
.ledger dt { color: var(--muted); }
.ledger dd { font: 700 17px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.ledger .total dt { color: var(--text); font-weight: 700; }
.ledger .total dd { font-size: 22px; }


.chart-card { gap: 6px; padding-bottom: 8px; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .axis { fill: var(--muted); font: 600 10px var(--body); }
.chart .bar-v { fill: var(--text); font: 700 12px var(--display); animation: fade-in .4s ease calc(var(--i) * 70ms + .45s) backwards; }
.bar-r { transform-box: fill-box; transform-origin: 50% 100%; animation: grow-y .8s var(--spring) calc(var(--i) * 70ms + .1s) backwards; }
.bar-g:hover .bar-r { filter: brightness(1.15); }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 8px; margin-top: 18px; }
.pod { display: grid; justify-items: center; gap: 4px; text-align: center; position: relative; min-width: 0; }
.pod .av { animation: drop-in .7s var(--spring) backwards; }
.pod-1 .av { animation-delay: .45s; } .pod-2 .av { animation-delay: .3s; } .pod-3 .av { animation-delay: .6s; }
.pod-crown { color: var(--gold); animation: float 2.6s ease-in-out infinite, fade-in .4s ease .7s backwards; filter: drop-shadow(0 4px 10px rgba(212, 175, 90, .6)); }
.pod-crown .ic { width: 28px; height: 28px; fill: rgba(212, 175, 90, .25); }
.pod-name { font: 700 16px/1.1 var(--display); margin-top: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; animation: fade-in .4s ease .7s backwards; }
.pod-val { font: 700 13px/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; animation: fade-in .4s ease .8s backwards; }
.pod-1 .pod-val { color: var(--gold); }
.pod-block { width: 100%; margin-top: 8px; border-radius: 14px 14px 6px 6px; display: grid; place-items: start center; padding-top: 10px; transform-origin: bottom; animation: grow-y .8s var(--spring) backwards; }
.pod-num { font: 800 34px/1 var(--display); opacity: .9; }
.pod-1 .pod-block { height: 104px; background: linear-gradient(180deg, rgba(212, 175, 90, .35), rgba(212, 175, 90, .06)); border: 1px solid rgba(212, 175, 90, .45); color: var(--gold-hi); animation-delay: .2s; }
.pod-2 .pod-block { height: 76px; background: linear-gradient(180deg, rgba(195, 202, 214, .24), rgba(195, 202, 214, .04)); border: 1px solid rgba(195, 202, 214, .3); color: #dfe4ec; animation-delay: .05s; }
.pod-3 .pod-block { height: 58px; background: linear-gradient(180deg, rgba(208, 138, 91, .28), rgba(208, 138, 91, .05)); border: 1px solid rgba(208, 138, 91, .35); color: #f0b287; animation-delay: .35s; }
.rank-list { display: grid; gap: 8px; }
.rank-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.rank-row .grow b { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 700; }
.rank-row small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; margin-top: 3px; flex-wrap: wrap; }
.rank-row small .ic { width: 12px; height: 12px; }
.rank-row .rk { background: none; width: 28px; }
.rank-row .val { font: 800 20px/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; text-align: right; }
.rank-row .val small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rank-list li.me .rank-row { border-color: rgba(201, 162, 77, .6); background: linear-gradient(90deg, rgba(201, 162, 77, .14), var(--surface)); }
.my-pos {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 14px; border-radius: 16px; text-align: left;
  background: linear-gradient(90deg, rgba(201, 162, 77, .18), rgba(201, 162, 77, .05)); border: 1px solid rgba(201, 162, 77, .45);
}
.my-pos > span:first-child { font-size: 12px; color: var(--muted); }
.my-pos > b:nth-child(2) { font: 800 22px/1 var(--display); }
.my-pos .gold { font: 700 16px/1 var(--display); }


.g-item { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, transform .25s var(--ease-out); }
.g-item:hover { border-color: var(--line-2); transform: translateY(-1px); }
.g-item h4 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 700 19px/1.1 var(--display); }
.g-item .grow { display: grid; gap: 4px; }
.g-tag { width: 52px; height: 52px; flex: none; border-radius: 15px; display: grid; place-items: center; color: #fff; font: 800 16px/1 var(--display); letter-spacing: .06em; background: linear-gradient(145deg, var(--g1), var(--g2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 18px -8px var(--g2); }
.g-tag.xl { width: 76px; height: 76px; border-radius: 22px; font-size: 24px; }
.g-hero { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 22px 16px 16px; border-radius: 22px; background: radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--g2) 30%, transparent), transparent 70%), var(--surface); border: 1px solid var(--line); }
.g-hero .tiles3 { width: 100%; margin-top: 6px; }
.g-line { display: flex; align-items: center; gap: 12px; }
.member-list { display: grid; gap: 8px; }
.my-guild { display: grid; gap: 8px; }


.conv-list { display: grid; gap: 6px; }
.conv { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 16px; text-align: left; background: var(--surface); border: 1px solid var(--line); }
.conv .grow b { display: flex; align-items: center; font-weight: 700; }
.conv .grow small { display: block; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.conv em { font-style: normal; }
.conv-side { display: grid; justify-items: end; gap: 4px; }
.conv-side small { font-size: 11.5px; color: var(--faint); }
.conv-view { gap: 0; }
.conv-head { position: sticky; top: var(--safe-t); z-index: 30; display: flex; align-items: center; gap: 10px; padding: 10px 0; margin: -16px -16px 8px; padding-inline: 16px; background: rgba(11, 11, 13, .9); border-bottom: 1px solid var(--line); }
.conv-who { display: flex; align-items: center; gap: 10px; text-align: left; }
.conv-who b { display: flex; align-items: center; }
.conv-who small { display: block; font-size: 12px; color: var(--green); }
.msgs { display: flex; flex-direction: column; gap: 6px; padding-top: 6px; }
.bubble { max-width: 80%; padding: 9px 12px 6px; border-radius: 18px 18px 18px 6px; background: var(--surface-2); align-self: flex-start; animation: pop .35s var(--spring) backwards; }
.is-static .bubble { animation: none; }
.is-static .bubble:last-child { animation: pop .35s var(--spring) backwards; }
.bubble p { font-size: 14.5px; overflow-wrap: anywhere; }
.bubble small { display: block; text-align: right; font-size: 10.5px; color: var(--faint); margin-top: 2px; }
.bubble.me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: linear-gradient(170deg, #c9a24d, #7a6230); }
.bubble.me small { color: rgba(255, 255, 255, .6); }
.bubble.typing { display: flex; gap: 4px; padding: 12px 14px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; } .bubble.typing i:nth-child(3) { animation-delay: .3s; }
.day-sep { display: flex; justify-content: center; margin: 10px 0 4px; }
.day-sep span { font-size: 11.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.composer.fixed { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px max(16px, calc(50% - 244px)) calc(10px + var(--safe-b)); background: rgba(11, 11, 13, .92); border-top: 1px solid var(--line); }


.profile { gap: 14px; }
.p-banner, .pp-banner { position: relative; height: 140px; border-radius: 22px; overflow: hidden; }
.p-pattern { position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px), radial-gradient(80% 120% at 80% 0%, rgba(255, 255, 255, .18), transparent 60%); mix-blend-mode: overlay; }
.p-banner::after, .pp-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 13, .6)); }
.p-id { display: grid; justify-items: center; gap: 6px; text-align: center; margin-top: -66px; position: relative; z-index: 1; }
.p-id .h1 { margin-top: 8px; font-size: 30px; display: flex; align-items: center; justify-content: center; }
.p-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 4px; }
.p-bio { color: var(--text-2); font-size: 14px; max-width: 34ch; }
.elo-box { width: 100%; display: grid; gap: 8px; margin-top: 8px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.elo-line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.elo-line span { display: inline-flex; align-items: center; gap: 5px; color: var(--gold); font: 700 15px/1 var(--display); letter-spacing: .03em; }
.elo-line span b { color: var(--text); font-size: 18px; }
.elo-line small { font-size: 12px; color: var(--muted); }
.follow-row { display: flex; justify-content: center; gap: 28px; margin-top: 6px; }
.follow-row > * { display: grid; justify-items: center; gap: 2px; }
.follow-row .num, .follow-row b { font: 800 22px/1 var(--display); }
.follow-row small { font-size: 11.5px; color: var(--muted); }
.v-card { display: flex; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.v-card > div { display: grid; gap: 4px; justify-items: start; flex: 1; }
.v-card p { color: var(--muted); font-size: 13px; }
.v-card .btn { margin-top: 6px; }
.v-ic { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; color: var(--gold); background: rgba(212, 175, 90, .12); border: 1px solid rgba(212, 175, 90, .3); }
.v-card.ok .v-ic { color: var(--cyan); background: rgba(103, 232, 249, .1); border-color: rgba(103, 232, 249, .3); }
.v-card.ok { border-color: rgba(103, 232, 249, .25); }
.v-card.wait .v-ic { color: var(--violet-hi); background: rgba(201, 162, 77, .12); border-color: rgba(201, 162, 77, .3); }
.wallet { position: relative; overflow: hidden; display: grid; gap: 14px; padding: 18px; border-radius: 22px; background: linear-gradient(160deg, #1d1d21, #161619 60%, #111114); border: 1px solid rgba(201, 162, 77, .45); box-shadow: 0 20px 44px -22px rgba(120, 96, 45, .8); }
.wallet-glow { position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(220, 189, 120, .35), transparent 70%); pointer-events: none; animation: breathe 5s ease-in-out infinite; }
.wallet header { display: flex; justify-content: space-between; align-items: center; position: relative; }
.wallet header > span { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13.5px; font-weight: 600; }
.wallet-num { font-size: 44px; font-weight: 800; line-height: 1; position: relative; letter-spacing: .01em; }
.tx-list { display: grid; gap: 2px; position: relative; }
.tx-list.full { gap: 6px; margin-top: 12px; }
.tx-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.tx-list.full .tx-row { padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.tx-ic { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--tc); background: color-mix(in srgb, var(--tc) 12%, transparent); }
.tx-ic .ic { width: 16px; height: 16px; }
.tx-main { flex: 1; min-width: 0; }
.tx-main b { display: block; font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-main small { display: block; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-side { display: grid; justify-items: end; gap: 4px; }
.tx-side b { font: 700 15px/1 var(--display); font-variant-numeric: tabular-nums; }
.tx-side .chip { height: 19px; font-size: 10.5px; padding: 0 6px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sg { display: grid; justify-items: center; gap: 4px; padding: 14px 6px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.sg > span { color: var(--violet-hi); }
.sg .num { font-size: 26px; font-weight: 800; line-height: 1; }
.sg small { font: 700 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.menu { display: grid; gap: 8px; }
.menu-row { display: flex; align-items: center; gap: 12px; width: 100%; height: 52px; padding: 0 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; text-align: left; transition: border-color .2s; }
.menu-row:hover { border-color: var(--line-2); }
.menu-row > span { flex: 1; }
.menu-row > .ic:first-child { color: var(--violet-hi); }
.menu-row .chev { color: var(--faint); width: 16px; }
.menu-row.admin { color: #ff9fb0; background: linear-gradient(90deg, rgba(251, 113, 133, .12), rgba(251, 113, 133, .03)); border-color: rgba(251, 113, 133, .35); }
.menu-row.admin > .ic:first-child { color: var(--red); }
.menu-row.finance { color: var(--gold-hi); background: linear-gradient(90deg, rgba(212, 175, 90, .12), rgba(212, 175, 90, .03)); border-color: rgba(212, 175, 90, .35); }
.menu-row.finance > .ic:first-child { color: var(--gold); }
.match { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.match b { font-weight: 700; }
.match small { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.match small .ic { width: 12px; height: 12px; }
.match-side { display: grid; justify-items: end; gap: 4px; }
.match-side b { font: 700 16px/1 var(--display); }


.pp { display: grid; justify-items: center; gap: 10px; text-align: center; }
.pp-banner { width: 100%; height: 96px; }
.pp .av { margin-top: -50px; position: relative; z-index: 1; }
.pp h3 { font: 800 26px/1 var(--display); display: flex; align-items: center; }
.pp .tiles3 { width: 100%; }
.pp .btn-row { width: 100%; }


.sheet-open { overflow: hidden; }
.sheet-layer { position: fixed; inset: 0; z-index: 100; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); opacity: 0; transition: opacity .3s; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 560px; max-height: calc(88dvh - var(--safe-t));
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 26px 26px 0 0;
  box-shadow: 0 -20px 60px -10px rgba(0, 0, 0, .7); transform: translateY(105%); transition: transform .5s cubic-bezier(.22, 1.18, .36, 1);
}
.sheet::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 60px; background: var(--surface); }
.size-lg .sheet { max-height: calc(94dvh - var(--safe-t)); }
.sheet-layer.open .sheet-backdrop { opacity: 1; }
.sheet-layer.open .sheet { transform: none; }
.sheet-layer.closing .sheet { transform: translateY(105%); transition: transform .3s cubic-bezier(.4, 0, .9, .5); }
.sheet-layer.closing .sheet-backdrop { opacity: 0; }
.sheet-grip { width: 42px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 10px auto 0; flex: none; cursor: grab; touch-action: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 12px; flex: none; touch-action: none; }
.sheet-head h2 { font: 800 22px/1.1 var(--display); }
.sheet-body { overflow-y: auto; padding: 4px 16px calc(24px + var(--safe-b)); overscroll-behavior: contain; display: grid; gap: 12px; align-content: start; }
.dialog-layer { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .7); opacity: 0; transition: opacity .2s; }
.dialog-layer.open { opacity: 1; }
.dialog { width: 100%; max-width: 380px; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 22px 18px 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); transform: scale(.9) translateY(10px); transition: transform .35s var(--spring); }
.dialog-layer.open .dialog { transform: none; }
.dialog-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--tc); background: color-mix(in srgb, var(--tc) 12%, transparent); }
.dialog-ic .ic { width: 24px; height: 24px; }
.dialog h3 { font: 800 22px/1.1 var(--display); text-wrap: balance; }
.dialog p { color: var(--muted); font-size: 14px; }
.dialog .field { width: 100%; text-align: left; margin-top: 4px; }
.dialog-err { color: var(--red) !important; font-size: 13px !important; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 6px; }
#toasts { position: fixed; z-index: 140; top: calc(var(--safe-t) + 12px); left: 16px; right: 16px; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; max-width: 460px; padding: 11px 16px 11px 12px; border-radius: 16px; font-size: 14px; font-weight: 600;
  background: rgba(24, 24, 28, .97); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .9); pointer-events: none;
  animation: toast-in .45s var(--spring) backwards;
}
.toast > .ic { color: var(--tc); flex: none; }
.toast.tone-good { --tc: var(--green); } .toast.tone-bad { --tc: var(--red); } .toast.tone-info { --tc: var(--violet-hi); } .toast.tone-money { --tc: var(--gold); }
.toast.out { animation: toast-out .3s ease forwards; }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 130; pointer-events: none; }


.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 4px; }
.amount { height: 50px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font: 800 18px/1 var(--display); transition: .2s; }
.amount.on { border-color: var(--violet); background: rgba(201, 162, 77, .16); color: #fff; box-shadow: 0 0 0 4px rgba(201, 162, 77, .12); }
.pix { display: grid; gap: 14px; }
.pix-amount { display: grid; justify-items: center; gap: 2px; text-align: center; }
.pix-amount small { font-size: 12.5px; color: var(--muted); }
.pix-amount b { font: 800 34px/1 var(--display); color: var(--green); font-variant-numeric: tabular-nums; }
.qr-wrap { position: relative; justify-self: center; padding: 10px; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 16px 40px -18px rgba(201, 162, 77, .8); }
.qr-wrap canvas, .qr-wrap svg { display: block; width: 198px; height: 198px; image-rendering: pixelated; }
.qr-scan { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(180deg, transparent, rgba(201, 162, 77, .35), transparent); animation: scan 2.4s ease-in-out infinite; }
.copy-line { display: flex; gap: 8px; }
.copy-line input { font: 12px var(--code) !important; color: var(--text-2) !important; }
.done { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 10px 0; }
.done-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: var(--violet-hi); background: rgba(201, 162, 77, .14); animation: pop .6s var(--spring); }
.done-ic .ic { width: 30px; height: 30px; }
.done h3 { font: 800 24px/1 var(--display); }
.steps { counter-reset: s; display: grid; gap: 8px; }
.steps li { counter-increment: s; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.steps li::before { content: counter(s); width: 24px; height: 24px; flex: none; border-radius: 8px; display: grid; place-items: center; font: 800 13px/1 var(--display); color: var(--violet-hi); background: rgba(201, 162, 77, .14); }
.drop { position: relative; display: grid; place-items: center; min-height: 150px; border-radius: 18px; border: 2px dashed var(--line-2); background: var(--bg-2); cursor: pointer; overflow: hidden; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--violet); background: rgba(201, 162, 77, .06); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-empty { display: grid; justify-items: center; gap: 4px; color: var(--muted); pointer-events: none; }
.drop-empty .ic { width: 30px; height: 30px; color: var(--violet-hi); }
.drop-empty b { color: var(--text); }
.drop img { max-height: 260px; object-fit: contain; pointer-events: none; }
.drop.has { border-style: solid; border-color: rgba(201, 162, 77, .5); }
.drop.has .drop-empty { display: none; }
.looks { display: grid; gap: 8px; margin-top: 4px; }
.look { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); text-align: left; transition: border-color .2s, background .2s, transform .2s; }
.look.banner { flex-wrap: wrap; }
.look.on { border-color: var(--violet); background: rgba(201, 162, 77, .14); box-shadow: 0 0 0 3px rgba(201, 162, 77, .12); }
.look.locked { opacity: .55; }
.look.locked .av, .look.locked .banner-sw { filter: grayscale(.7); }
.look-t { flex: 1; display: grid; gap: 2px; }
.look-t b { display: flex; align-items: center; gap: 6px; font: 700 17px/1.1 var(--display); }
.look-t small { font-size: 12px; color: var(--muted); }
.look-lock { color: var(--muted); }
.banner-sw { order: 3; width: 100%; height: 54px; border-radius: 12px; position: relative; overflow: hidden; }
.banner-sw::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 14px); }
.shake { animation: shake .45s ease; }
.notif-list { display: grid; gap: 6px; }
.notif-list li { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; }
.notif-list li.unread { border-color: rgba(201, 162, 77, .45); background: linear-gradient(90deg, rgba(201, 162, 77, .12), var(--surface-2)); }
.notif-list b { font-weight: 700; font-size: 14px; }
.notif-list p { color: var(--text-2); font-size: 13px; margin-top: 2px; }
.notif-list small { color: var(--faint); font-size: 11.5px; }
.n-ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--tc, var(--violet-hi)); background: color-mix(in srgb, var(--tc, #d9a93f) 13%, transparent); }
.n-ic.tone-good { --tc: var(--green); } .n-ic.tone-bad { --tc: var(--red); } .n-ic.tone-live { --tc: var(--red); }
.n-ic .ic { width: 17px; height: 17px; }
.shot-full { width: 100%; border-radius: 14px; }


.login { position: relative; min-height: calc(100dvh - 32px); display: grid; place-items: center; }
.login-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.login-bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.login-bg i:nth-child(1) { width: 60vmax; height: 60vmax; left: -20vmax; top: -25vmax; background: #5e4a22; }
.login-bg i:nth-child(2) { width: 40vmax; height: 40vmax; right: -15vmax; bottom: -10vmax; background: #4a3a18; opacity: .35; animation-duration: 18s; }
.login-bg i:nth-child(3) { width: 30vmax; height: 30vmax; left: 30%; top: 40%; background: #bf9a48; opacity: .25; animation-duration: 11s; }
.login-card { width: 100%; max-width: 420px; display: grid; gap: 16px; padding: 28px 20px 20px; border-radius: 28px; background: rgba(20, 20, 23, .84); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); }
.login-logo { justify-self: center; animation: pop .8s var(--spring) .1s backwards; }
.login-tag { text-align: center; color: var(--text-2); font-size: 14.5px; max-width: 30ch; justify-self: center; }
.demo { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.demo p { font-size: 12px; color: var(--muted); text-align: center; }


#splash { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg); transition: opacity .5s, transform .6s var(--ease-out); }
#splash.out { opacity: 0; transform: scale(1.06); pointer-events: none; }
#splash .logo { animation: pop .8s var(--spring) backwards; }
#splash .logo-mark { animation: glow 1.6s ease-in-out infinite; }
.splash-bar { position: absolute; bottom: calc(18% + var(--safe-b)); width: 120px; height: 3px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.splash-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--gold)); animation: load .9s ease-in-out infinite; }


.admin { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.a-main { min-width: 0; }
.a-side { display: none; }
.a-head { position: sticky; top: var(--safe-t); z-index: 30; display: flex; align-items: center; gap: 12px; margin: -16px -16px 0; padding: 12px 16px; background: rgba(11, 11, 13, .92); }
.a-head .h1 { font-size: 26px; margin-top: 4px; }
.a-head { margin-bottom: 14px; border-bottom: 1px solid var(--line); background: #0b0b0d; box-shadow: 0 calc(-1 * var(--safe-t) - 2px) 0 #0b0b0d; }
.a-pick { display: block; min-width: 0; text-align: left; padding: 4px 8px; margin: -4px -8px; border-radius: 14px; transition: background .2s; }
.a-pick:active { background: var(--surface); }
.a-pick-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.a-pick-row .h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.a-pick-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 4px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); color: var(--gold); }
.a-pick-ic .ic { width: 16px; height: 16px; }
.a-pick .dot-count { flex: none; margin-top: 4px; }
.a-menu { display: grid; gap: 4px; margin-bottom: 6px; }
.a-menu-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 15px; text-align: left; }
.a-menu-row > span { flex: 1; min-width: 0; }
.a-menu-row .ic { width: 18px; height: 18px; color: var(--muted); }
.a-menu-row.on { border-color: var(--gold); background: linear-gradient(180deg, rgba(214, 180, 101, .16), rgba(191, 154, 72, .08)); }
.a-menu-row.on .ic { color: var(--gold); }
.a-me { display: none; align-items: center; gap: 10px; }
.a-me b { display: block; font-size: 13.5px; }
.a-me small { display: block; font-size: 11.5px; color: var(--gold); }
.a-tabs { position: sticky; top: calc(var(--safe-t) + 74px); z-index: 29; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 14px; padding: 6px 16px 10px; background: rgba(11, 11, 13, .92); border-bottom: 1px solid var(--line); }
.a-tabs::-webkit-scrollbar { display: none; }
.a-tab { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 11px; color: var(--muted); font-weight: 600; font-size: 13.5px; background: var(--surface); border: 1px solid var(--line); transition: .2s; }
.a-tab .ic { width: 15px; height: 15px; }
.a-tab.on { color: var(--ink); background: linear-gradient(180deg, #d6b465, #bf9a48); border-color: transparent; }
.a-tab .dot-count, .a-link .dot-count { height: 17px; min-width: 17px; font-size: 10px; }
.a-body { display: grid; gap: 14px; animation: fade-up .4s var(--ease-out); }
.is-static .a-body { animation: none; }
.a-hello { color: var(--text-2); font-size: 14.5px; }
.todo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.todo-item { display: grid; justify-items: start; gap: 4px; padding: 14px; border-radius: 16px; text-align: left; background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease-out), border-color .2s; }
.todo-item:hover { transform: translateY(-2px); }
.todo-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); background: var(--surface-2); }
.todo-ic .ic { width: 16px; height: 16px; }
.todo-item b { font: 800 30px/1 var(--display); color: var(--faint); margin-top: 4px; }
.todo-item small { font-size: 12.5px; color: var(--muted); }
.todo-item.hot { border-color: rgba(212, 175, 90, .5); background: linear-gradient(160deg, rgba(212, 175, 90, .1), var(--surface) 70%); }
.todo-item.hot .todo-ic { color: var(--gold); background: rgba(212, 175, 90, .14); }
.todo-item.hot b { color: var(--gold-hi); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.kpi > div { display: grid; gap: 3px; min-width: 0; }
.kpi-ic { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--tc); background: color-mix(in srgb, var(--tc) 13%, transparent); }
.kpi-ic .ic { width: 17px; height: 17px; }
.kpi-num { font-size: clamp(19px, 5.4vw, 24px); font-weight: 800; line-height: 1.05; overflow-wrap: anywhere; }
.kpi small { font-size: 12px; color: var(--muted); }
.kpi em { font-style: normal; font-size: 11.5px; color: var(--tc); font-weight: 600; }
.spark { width: 96px; height: 30px; margin-top: 4px; }
.legend { display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.area-wrap { position: relative; }
.chart-readout { min-height: 22px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.chart-readout:empty::before { content: 'Toque no gráfico para ver cada dia'; color: var(--faint); }
.chart-readout span { display: inline-flex; align-items: center; gap: 5px; }
.chart-readout i { width: 8px; height: 8px; border-radius: 2px; }
.area-chart .cursor { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; }
.area-l { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.4s var(--ease-out) .15s backwards; }
.area-f { animation: fade-in .8s ease .5s backwards; }
.area-dot { transform-box: fill-box; transform-origin: center; animation: pop .5s var(--spring) 1.2s backwards; }
.a-cols { display: grid; gap: 14px; }
.a-list { display: grid; gap: 6px; }
.a-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); text-align: left; }
.a-row b { display: block; font-weight: 700; font-size: 14px; }
.a-row small { color: var(--muted); font-size: 12px; }
.log-list { display: grid; gap: 2px; }
.log { display: flex; align-items: flex-start; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--line); }
.log:last-child { border: 0; }
.log p { font-size: 13.5px; color: var(--text-2); }
.log p b { color: var(--text); }
.log small { font-size: 12px; color: var(--muted); }
.log .av { margin-top: 2px; }
.u-grid, .v-grid { display: grid; gap: 10px; }
.u-card { display: grid; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.u-card header { display: flex; gap: 12px; align-items: flex-start; }
.u-card header b { display: flex; align-items: center; font-weight: 700; font-size: 15.5px; }
.u-card header small { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.u-card .p-badges { justify-content: flex-start; margin-top: 6px; }
.u-card .kv { grid-template-columns: repeat(3, 1fr); gap: 6px; }
.u-card .kv > div { flex-direction: column; gap: 2px; background: var(--surface-2); padding: 8px 10px; border-radius: 10px; }
.u-card .kv dt { font-size: 11px; }
.u-card .kv dd { font: 700 15px/1 var(--display); font-variant-numeric: tabular-nums; }
.u-card.banned { border-color: rgba(251, 113, 133, .35); background: linear-gradient(160deg, rgba(251, 113, 133, .07), var(--surface) 60%); }
.ucell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ucell > span { min-width: 0; }
.ucell b { display: flex; align-items: center; font-weight: 700; }
.ucell small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.a-toolbar { display: flex; gap: 10px; align-items: center; }
.at-row { display: grid; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.at-main { display: grid; gap: 8px; padding: 14px; cursor: pointer; }
.at-main:hover { background: rgba(255, 255, 255, .015); }
.at-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.at-nums span { display: grid; gap: 2px; }
.at-nums small { font-size: 11px; color: var(--muted); }
.at-nums b { font: 700 15px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.at-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .15); }
.fin-body { display: grid; gap: 10px; }
.pend { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); position: relative; transition: opacity .28s, transform .28s; }
.pend.leaving { opacity: 0; transform: translateX(40px); }
.pend-amt { position: absolute; right: 14px; top: 14px; font: 800 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.pend .ucell { padding-right: 110px; }
.v-item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.v-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v-item:has(> .v-pair) { grid-template-columns: 1fr; }
.v-pair .v-shot { aspect-ratio: 3 / 4; }
.v-shot.empty small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.age-step { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.age-step b { color: var(--gold, #e5b64a); }
.v-shot { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; max-width: 100%; }
.v-shot img { width: 100%; height: 100%; object-fit: cover; }
.v-shot span { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 6px; font-size: 11.5px; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.v-shot span .ic { width: 13px; height: 13px; }
.v-info { display: grid; gap: 10px; align-content: start; min-width: 0; }
.v-info .kv.inline { grid-template-columns: 1fr 1fr; }
.report { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.report header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.report blockquote { margin: 0; padding: 10px 12px; border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; background: var(--surface-2); color: var(--text-2); font-size: 14px; }
.bc-preview { display: grid; gap: 6px; }
.bc-preview small { font-size: 12px; color: var(--muted); }
.bc-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.bc-item b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; }
.bc-item p { font-size: 13px; color: var(--text-2); margin: 2px 0; }
.bc-item small { font-size: 11.5px; color: var(--muted); }
.settings { gap: 14px; }
.danger-zone { border-color: rgba(251, 113, 133, .3); }
.mu-head { display: flex; gap: 14px; align-items: center; }
.mu-head h3 { font: 800 24px/1.05 var(--display); display: flex; align-items: center; }
.mu-head .p-badges { justify-content: flex-start; }
.mu-sec { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.mu-sec h4 { font: 700 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mu-sec.danger-zone h4 { color: var(--red); }
.sign-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.sign-toggle button { height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--muted); transition: .2s; }
.sign-toggle button .ic { width: 15px; height: 15px; }
.sign-toggle .on.good { background: rgba(52, 211, 153, .16); color: var(--green); }
.sign-toggle .on.bad { background: rgba(251, 113, 133, .16); color: var(--red); }
.place > span { display: flex; align-items: center; gap: 8px; }

@media (min-width: 640px) {
  .kpis { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .kpis.four { grid-template-columns: repeat(4, 1fr); }
  .todo { grid-template-columns: repeat(4, 1fr); }
  .u-grid, .v-grid { grid-template-columns: repeat(2, 1fr); }
  .a-me { display: flex; }
}
@media (min-width: 960px) {
  .a-cols { grid-template-columns: 1fr 1fr; align-items: start; }
  .u-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1040px) {
  .admin { grid-template-columns: 236px minmax(0, 1fr); gap: 28px; align-items: start; }
  .a-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; height: calc(100dvh - 32px); padding: 16px 12px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
  .a-side > .logo { padding: 4px 6px 8px; }
  .a-side > .eyebrow { padding: 0 8px; }
  .a-side-nav { display: grid; gap: 2px; }
  .a-link { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 11px; color: var(--muted); font-weight: 600; font-size: 14px; transition: .2s; text-align: left; }
  .a-link span { flex: 1; }
  .a-link:hover { color: var(--text); background: var(--surface-2); }
  .a-link.on { color: #fff; background: linear-gradient(90deg, rgba(201, 162, 77, .35), rgba(201, 162, 77, .08)); box-shadow: inset 2px 0 0 var(--violet-hi); }
  .a-link.back-app { margin-top: auto; }
  .a-tabs { display: none; }
  .a-head { margin: 0 0 8px; padding: 0 0 12px; top: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .a-head > .icon-btn { display: none; }
  .a-pick { pointer-events: none; } .a-pick-ic, .a-pick .dot-count { display: none; }
  .admin-mode #view { padding-top: 16px; }
}
@media (max-width: 640px) {
  .area-chart .axis { font-size: 17px; }
}
@media (max-width: 380px) {
  .h1 { font-size: 27px; }
  .hello { flex-wrap: wrap; align-items: flex-start; }
  .tiles3.four { grid-template-columns: repeat(2, 1fr); }
  .at-nums { grid-template-columns: repeat(2, 1fr); }
  .radio-list.row { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .v-item { grid-template-columns: 90px 1fr; }
  .lnav-lb { font-size: 10.5px; }
}


@keyframes in-right { from { opacity: 0; transform: translateX(28px); } }
@keyframes in-left { from { opacity: 0; transform: translateX(-28px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes drop-in { from { transform: translateY(-40px) scale(.7); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-5px) rotate(4deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(14deg); } 92% { transform: rotate(-12deg); } 95% { transform: rotate(8deg); } 98% { transform: rotate(-4deg); } }
@keyframes ink { to { transform: scale(1); opacity: 0; } }
@keyframes ripple-out { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes shine { 0%, 70% { transform: rotate(18deg) translateX(-160%); } 100% { transform: rotate(18deg) translateX(420%); } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-24px) scale(.94); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-16px) scale(.96); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes scan { 0%, 100% { transform: translateY(-40px); } 50% { transform: translateY(200px); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(6vmax, 4vmax) scale(1.1); } }
@keyframes glow { 0%, 100% { box-shadow: 0 4px 14px -4px rgba(201, 162, 77, .8); } 50% { box-shadow: 0 6px 34px 0 rgba(201, 162, 77, .9), 0 0 60px rgba(212, 175, 90, .35); } }
@keyframes load { from { transform: translateX(-110%); } to { transform: translateX(260%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


.h2 { font: 800 24px/1.05 var(--display); }
.nk { font-weight: 700; }
.lvl { display: inline-grid; place-items: center; min-width: 22px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 6px; font: 800 11px/1 var(--display); color: #17130b; background: linear-gradient(180deg, #e8cf92, #d4af5a); vertical-align: 2px; }
.gtag { display: inline-block; margin-left: 6px; padding: 1px 5px; border-radius: 5px; font: 800 10.5px/1.4 var(--display); letter-spacing: .06em; color: var(--violet-hi); background: rgba(201, 162, 77, .14); vertical-align: 2px; }
.ptitle { display: inline-block; padding: 2px 10px; border-radius: 999px; font: 700 12px/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); background: linear-gradient(90deg, rgba(212, 175, 90, .18), rgba(212, 175, 90, .04)); border: 1px solid rgba(212, 175, 90, .3); }
.lvl-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 7px; font: 800 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #17130b; background: linear-gradient(180deg, #e8cf92, #d4af5a); }
.tone-cyan-t { color: var(--cyan); } .tone-violet-t { color: var(--violet-hi); } .tone-red-t { color: var(--red); } .tone-gold-t { color: var(--gold); }
.offline-chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--red); background: rgba(251, 113, 133, .1); border: 1px solid rgba(251, 113, 133, .3); }
.offline-chip .ic { width: 14px; height: 14px; }


.btn.is-busy, .attach.is-busy, .send.is-busy { color: transparent !important; pointer-events: none; }
.btn.is-busy::after, .send.is-busy::after, .attach.is-busy::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.ghost.is-busy::after, .btn.outline.is-busy::after, .btn.danger-ghost.is-busy::after { border-color: rgba(220, 189, 120, .3); border-top-color: var(--violet-hi); }
.spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(220, 189, 120, .3); border-top-color: var(--violet-hi); animation: spin .8s linear infinite; }
.wait-line { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface-2); color: var(--text-2); font-size: 13.5px; }


.sk-wrap { display: grid; gap: 12px; }
.sk { display: block; height: 14px; border-radius: 8px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface-3) 40%, var(--surface) 80%); background-size: 200% 100%; animation: shimmer 1.2s ease-in-out infinite; }
.sk-hero { height: 170px; border-radius: 22px; }
.sk-card { height: 96px; border-radius: 18px; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sk-tile { height: 88px; border-radius: 16px; }


.btn.google { background: #fff; color: #1f1f1f; border-color: #fff; font-weight: 700; box-shadow: 0 10px 24px -12px rgba(255, 255, 255, .5); }
.btn.google:hover { filter: brightness(.96); }
.g-logo { width: 20px; height: 20px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.login-sent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); padding: 12px 14px; border-radius: 14px; background: rgba(201, 162, 77, .1); border: 1px solid rgba(201, 162, 77, .3); }
.login-sent .ic { color: var(--violet-hi); margin-top: 2px; }
.code-input { font: 800 28px/1 var(--display) !important; letter-spacing: .5em; text-align: center; padding-inline: 10px !important; }
.login-links { display: flex; justify-content: space-between; gap: 10px; }
.login-links .link:disabled { color: var(--muted); }
.login-terms { font-size: 11.5px; color: var(--muted); text-align: center; line-height: 1.5; }
.ban-card { text-align: center; justify-items: center; }
.ban-ic { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; color: var(--red); background: rgba(251, 113, 133, .12); border: 1px solid rgba(251, 113, 133, .35); }
.ban-ic .ic { width: 32px; height: 32px; }
.ban-left { font: 700 18px/1.2 var(--display); }
.ban-left b { color: var(--gold-hi); font-size: 24px; }


.verify-screen { position: fixed; inset: 0; z-index: 190; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; background: radial-gradient(60vmax 50vmax at 50% 30%, rgba(120, 96, 45, .28), transparent 70%), var(--bg); opacity: 0; transition: opacity .35s; --p: .12; }
.verify-screen.in { opacity: 1; }
.verify-screen.out { opacity: 0; transform: scale(1.04); transition: opacity .4s, transform .4s; }
.vs-orb { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.vs-orb > svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.vs-track { fill: none; stroke: var(--surface-3); stroke-width: 6; }
.vs-prog { fill: none; stroke: url(#none); stroke: var(--violet-hi); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); transition: stroke-dashoffset .8s var(--ease-out), stroke .3s; filter: drop-shadow(0 0 8px rgba(220, 189, 120, .7)); }
.success .vs-prog { stroke: var(--green); filter: drop-shadow(0 0 10px rgba(52, 211, 153, .8)); }
.fail .vs-prog { stroke: var(--red); }
.vs-shield, .vs-check { position: absolute; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; transition: transform .5s var(--spring), opacity .3s; }
.vs-shield { color: var(--ink); background: linear-gradient(145deg, #d6b465, #5e4a22); box-shadow: 0 16px 40px -10px rgba(120, 96, 45, .9); animation: breathe 1.6s ease-in-out infinite; }
.vs-shield .ic, .vs-check .ic { width: 40px; height: 40px; }
.vs-check { color: #03150d; background: linear-gradient(145deg, #6ef0bd, #22b884); opacity: 0; transform: scale(.4) rotate(-20deg); box-shadow: 0 16px 40px -10px rgba(52, 211, 153, .9); }
.success .vs-shield { opacity: 0; transform: scale(.5); }
.success .vs-check { opacity: 1; transform: none; }
.vs-scan { position: absolute; inset: 22px; border-radius: 50%; overflow: hidden; }
.vs-scan::after { content: ''; position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(220, 189, 120, .35), transparent); animation: scan-y 1.4s ease-in-out infinite; }
.success .vs-scan { display: none; }
.vs-title { font: 800 28px/1.05 var(--display); }
.vs-steps { display: grid; gap: 10px; text-align: left; min-width: min(320px, 86vw); }
.vs-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14px; opacity: .5; transform: translateY(6px); transition: opacity .3s, transform .4s var(--spring), border-color .3s, color .3s; }
.vs-steps li b { color: var(--text); font-weight: 700; word-break: break-all; }
.vs-steps li i { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2.5px solid var(--line-2); position: relative; }
.vs-steps li.run { opacity: 1; transform: none; color: var(--text-2); border-color: rgba(201, 162, 77, .4); }
.vs-steps li.run i { border-color: rgba(220, 189, 120, .3); border-top-color: var(--violet-hi); animation: spin .7s linear infinite; }
.vs-steps li.ok { opacity: 1; transform: none; color: var(--text); border-color: rgba(52, 211, 153, .4); }
.vs-steps li.ok i { border: 0; background: var(--green); animation: pop .4s var(--spring); }
.vs-steps li.ok i::after { content: ''; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #03150d; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }


.onboarding { gap: 16px; padding-top: 8px; }
.ob-head { display: flex; align-items: center; justify-content: space-between; }
.ob-dots { display: flex; gap: 6px; }
.ob-dots i { width: 26px; height: 6px; border-radius: 3px; background: var(--surface-3); transition: background .3s; }
.ob-dots i.on { background: linear-gradient(90deg, var(--violet), var(--gold)); }
.ob-avatar { position: relative; justify-self: center; display: grid; justify-items: center; gap: 8px; cursor: pointer; }
.ob-avatar input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ob-avatar > span, .ob-avatar img { width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; object-fit: cover; background: var(--surface-2); border: 2px dashed var(--line-2); color: var(--violet-hi); }
.ob-avatar img { border: 3px solid var(--violet); }
.ob-avatar > span .ic { width: 34px; height: 34px; }
.ob-avatar small { color: var(--violet-hi); font-weight: 700; font-size: 13px; }


.notice.warn { background: linear-gradient(90deg, rgba(212, 175, 90, .14), rgba(212, 175, 90, .03)); border-color: rgba(212, 175, 90, .4); }
.notice.warn > .ic { color: var(--gold); }
.lvl-chip { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); flex: none; }
.lvl-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 800 16px/1 var(--display); color: #17130b; background: radial-gradient(circle at 35% 30%, #fff3cf, #d4af5a 55%, #b7791f); box-shadow: 0 0 0 3px rgba(212, 175, 90, .2); flex: none; }
.lvl-n.big { width: 52px; height: 52px; font-size: 24px; }
.lvl-bar { display: grid; gap: 4px; min-width: 96px; text-align: left; }
.lvl-bar small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rail-item { flex: 0 0 min(84%, 320px); scroll-snap-align: start; display: grid; }
.payouts { display: grid; gap: 6px; }
.payouts li { display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 9px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.payouts b.pos { font: 700 16px/1 var(--display); font-variant-numeric: tabular-nums; }
.payouts small { display: block; font-size: 12px; color: var(--muted); }
.room-card { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: linear-gradient(170deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, transform .25s var(--ease-out); }
.room-card:hover { border-color: rgba(201, 162, 77, .45); transform: translateY(-1px); }
.room-card.featured { background: radial-gradient(100% 80% at 100% 0%, rgba(212, 175, 90, .12), transparent 60%), linear-gradient(170deg, var(--surface-2), var(--surface)); border-color: rgba(212, 175, 90, .35); }
.room-card header { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.room-code { font: 800 12px/1 var(--display); letter-spacing: .08em; color: var(--muted); padding: 5px 7px; border-radius: 7px; background: var(--bg-2); border: 1px solid var(--line); }
.room-card h4 { font: 700 21px/1.1 var(--display); text-wrap: balance; }
.room-host { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); text-align: left; }
.room-host .nk { color: var(--text-2); font-weight: 600; }
.room-money { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
.room-money > div { padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .04); }
.room-money small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.room-money b { font: 800 22px/1.15 var(--display); font-variant-numeric: tabular-nums; }
.mech-row { display: flex; flex-wrap: wrap; gap: 6px; }
.mech-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--text-2); background: rgba(201, 162, 77, .1); border: 1px solid rgba(201, 162, 77, .25); }
.mech-chip .ic { width: 13px; height: 13px; color: var(--violet-hi); }
.mech-chip b { color: var(--gold); font-weight: 700; }
.room-foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.room-foot > span:first-child { display: inline-flex; align-items: center; gap: 5px; }
.room-foot .ic { width: 14px; height: 14px; }
.room-hero { display: grid; gap: 10px; padding: 18px; border-radius: 22px; background: radial-gradient(120% 100% at 100% 0%, rgba(201, 162, 77, .22), transparent 60%), linear-gradient(170deg, #18181c, #121215); border: 1px solid rgba(201, 162, 77, .3); }
.room-hero .h1 { font-size: 32px; }
.room-hero .room-host { width: fit-content; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(0, 0, 0, .25); }
.room-card-secret { display: grid; gap: 12px; justify-items: start; padding: 16px; border-radius: 18px; background: linear-gradient(170deg, rgba(244, 63, 94, .14), rgba(244, 63, 94, .03)); border: 1px solid rgba(251, 113, 133, .4); }
.room-card-secret.locked { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 13.5px; background: var(--surface); border-color: var(--line); }
.vault { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); }
.vault.ok { border-color: rgba(212, 175, 90, .35); }
.vault.low { border-color: rgba(251, 113, 133, .45); }
.vault-ic { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; color: var(--gold); background: rgba(212, 175, 90, .12); }
.vault small { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.vault b { font: 800 24px/1.1 var(--display); font-variant-numeric: tabular-nums; display: block; }
.vault span { font-size: 12px; color: var(--text-2); }
.vault .big { font-size: 30px; }
.waitlist small { font-size: 12px; color: var(--muted); }
.wl-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.wl-item { position: relative; }
.wl-item .prio { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #17130b; }
.wl-item .prio .ic { width: 9px; height: 9px; }
.specials { display: grid; gap: 10px; }
.special { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1px solid rgba(212, 175, 90, .45); background: radial-gradient(100% 120% at 0% 0%, rgba(212, 175, 90, .22), transparent 60%), var(--surface); }
.special.lucky { border-color: rgba(103, 232, 249, .4); background: radial-gradient(100% 120% at 0% 0%, rgba(103, 232, 249, .16), transparent 60%), var(--surface); }
.special > span:first-child { position: absolute; right: -10px; top: -14px; opacity: .14; }
.special > span:first-child .ic { width: 90px; height: 90px; }
.special small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.special.lucky small { color: var(--cyan); }
.special b { font: 800 20px/1.1 var(--display); }
.special em { display: block; font-style: normal; font-size: 12.5px; color: var(--text-2); }
.plist { display: grid; gap: 6px; }
.prow { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 14px; background: var(--surface-2); text-align: left; }
.prow-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.prow small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.prow-side { display: grid; justify-items: end; gap: 2px; }
.prow-side b { font: 700 16px/1 var(--display); }
.prow-side small { color: var(--violet-hi); }
.prow-lines { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 10px 2px 56px; }
.prow-lines span { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--text-2); padding: 3px 8px; border-radius: 7px; background: rgba(52, 211, 153, .08); }
.prow-lines .ic { width: 12px; height: 12px; color: var(--green); }
.prow-lines b { color: var(--green); }
.mech-list { display: grid; gap: 6px; }
.mech-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.mech-list small { display: block; font-size: 12px; color: var(--muted); }
.mech-list b.gold { font: 700 17px/1 var(--display); white-space: nowrap; }
.mech-list b.gold small { display: inline; color: var(--muted); font-size: 11px; }
.mech-ic { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--violet-hi); background: rgba(201, 162, 77, .14); }
.msg-img { display: block; margin-top: 6px; border-radius: 12px; overflow: hidden; max-width: 240px; }
.msg-img img { width: 100%; max-height: 280px; object-fit: cover; }
.attach { position: relative; width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; color: var(--violet-hi); background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; }
.attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.org-actions { width: 100%; display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(212, 175, 90, .06); border: 1px solid rgba(212, 175, 90, .25); }


.reel { position: relative; overflow: hidden; height: 132px; border-radius: 18px; background: linear-gradient(90deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%), var(--surface-2); border: 1px solid var(--line-2); }
.reel-strip { display: flex; height: 100%; align-items: center; will-change: transform; }
.reel-card { flex: 0 0 88px; display: grid; justify-items: center; gap: 6px; padding: 8px 4px; font-size: 11.5px; font-weight: 600; color: var(--text-2); }
.reel-card span { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel-card.landed { color: var(--gold-hi); transform: scale(1.12); transition: transform .4s var(--spring); }
.reel-card.landed .av { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--gold), 0 0 26px rgba(212, 175, 90, .7); }
.reel-marker { position: absolute; z-index: 2; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--gold); box-shadow: 0 0 14px var(--gold); pointer-events: none; }
.reel-marker::before, .reel-marker::after { content: ''; position: absolute; left: 50%; margin-left: -8px; border: 8px solid transparent; }
.reel-marker::before { top: 0; border-top-color: var(--gold); }
.reel-marker::after { bottom: 0; border-bottom-color: var(--gold); }
.reel.tick .reel-marker { animation: tick .12s ease; }
.reel-label { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }
.reel-win { display: grid; justify-items: center; gap: 6px; padding: 16px 0 12px; text-align: center; }
.reel-win > .ic { width: 34px; height: 34px; color: var(--gold); animation: float 2.6s ease-in-out infinite; }
.reel-win b { font: 800 28px/1 var(--display); }
.reel-win span { color: var(--text-2); }


.res-head, .res-rows li { display: grid; grid-template-columns: 24px minmax(0, 1fr) 104px 58px 58px; align-items: center; gap: 8px; }
.res-head { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.res-head span:first-child { grid-column: 1 / 3; }
.res-head.no-min, .res-rows.no-min li { grid-template-columns: 24px minmax(0, 1fr) 104px 58px; }
.res-rows { display: grid; gap: 6px; }
.res-rows li { padding: 8px; border-radius: 12px; background: var(--surface-2); }
.res-name { min-width: 0; }
.res-name b, .res-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res-name small { font-size: 11px; color: var(--muted); }
.stepper { display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; height: 36px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.stepper button { height: 100%; display: grid; place-items: center; color: var(--violet-hi); }
.stepper button .ic { width: 15px; height: 15px; }
.stepper button:active { background: rgba(201, 162, 77, .2); }
.stepper b { text-align: center; font: 800 18px/1 var(--display); font-variant-numeric: tabular-nums; }
.bump-n { animation: bump .35s var(--spring); }
.res-in { width: 100%; height: 36px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); text-align: center; font: 700 16px/1 var(--display); outline: none; -moz-appearance: textfield; }
.res-in::-webkit-outer-spin-button, .res-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.res-in:focus { border-color: var(--violet); }
.king-set { border: 1px solid rgba(212, 175, 90, .35); border-radius: 14px; padding: 12px; margin: 0; display: grid; gap: 10px; }
.king-set select { width: 100%; min-height: 44px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); padding: 0 12px; }
.pv-list { display: grid; gap: 6px; }
.pv-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.pv-list small { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-2); margin-top: 3px; }
.pv-list small .ic { width: 12px; height: 12px; color: var(--green); }
.pv-list b.pos { font: 700 17px/1 var(--display); margin-top: 2px; }
.preview { display: grid; gap: 12px; }
.xp-details summary { cursor: pointer; color: var(--violet-hi); font-weight: 700; font-size: 13.5px; }
.xp-details ul { display: grid; gap: 4px; margin-top: 8px; }
.xp-details li { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); padding: 6px 10px; border-radius: 9px; background: var(--surface-2); }


.prize-rows { display: grid; gap: 8px; }
.prize-rows li { display: flex; align-items: center; gap: 10px; }
.mech-pick { display: grid; gap: 8px; }
.mech-pick li { display: grid; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; transition: border-color .2s; }
.mech-pick li.on { border-color: rgba(201, 162, 77, .45); }
.mech-pick .switch b { display: flex; align-items: center; gap: 6px; }
.mech-pick .switch b .ic { width: 15px; height: 15px; color: var(--violet-hi); }
.mech-pick .money-field em { position: absolute; right: 12px; bottom: 15px; font-size: 12px; color: var(--muted); font-style: normal; }
.calc.bad { background: rgba(251, 113, 133, .07); border-color: rgba(251, 113, 133, .45); }
.calc.bad b { color: var(--red); }
.calc small.red { color: var(--red); }


.paid-banner { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(90deg, rgba(52, 211, 153, .14), rgba(52, 211, 153, .03)); border: 1px solid rgba(52, 211, 153, .35); font-size: 13.5px; color: var(--text-2); }
.paid-banner .ic { color: var(--green); flex: none; }
.paid-banner b { color: var(--green); font: 800 18px/1 var(--display); }
.pod-earn { font-size: 11px; color: var(--green); font-weight: 700; }
.pod:disabled { opacity: 1; cursor: default; }
.my-guild { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 18px; text-align: left; background: linear-gradient(90deg, rgba(201, 162, 77, .16), var(--surface)); border: 1px solid rgba(201, 162, 77, .45); }
.my-guild small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.my-guild b { display: block; font: 700 19px/1.1 var(--display); }
.my-guild span:not(.g-tag) { font-size: 12.5px; color: var(--violet-hi); }
.g-tag { background: linear-gradient(145deg, color-mix(in srgb, var(--g1) 70%, #000), var(--g1)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 18px -8px var(--g1); }
.g-hero { background: radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--g1) 32%, transparent), transparent 70%), var(--surface); }
.vault-card { gap: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 34px; height: 34px; border-radius: 10px; background: var(--c); border: 2px solid transparent; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25); transition: transform .2s var(--spring); }
.swatch.on { border-color: #fff; transform: scale(1.08); }
.pay-rows { display: grid; gap: 8px; }
.pay-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) 128px; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface-2); }
.pay-rows small { display: block; font-size: 11.5px; color: var(--muted); }
.friend-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.friend-row .grow b { display: flex; align-items: center; flex-wrap: wrap; }
.friend-row small { display: block; font-size: 12px; color: var(--muted); }
.link-row { text-align: left; }
.av-wrap { position: relative; display: inline-grid; flex: none; }
.av-wrap .online { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2.5px var(--bg); }
.notif-btn { display: flex; gap: 12px; width: 100%; text-align: left; }
.bubble.has-img { padding: 5px 5px 6px; }
.bubble.has-img p { padding: 4px 8px 0; }
.bubble.has-img small { padding-right: 6px; }
.bubble .msg-img { margin: 0; }
.conv-head { justify-content: flex-start; }
.conv-head .conv-who { flex: 1; min-width: 0; }
.note-gold.small { padding: 8px 12px; font-size: 12.5px; }


#headsup { position: fixed; z-index: 150; top: calc(var(--safe-t) + 8px); left: 0; right: 0; display: grid; justify-items: center; gap: 8px; padding-inline: 10px; pointer-events: none; }
.hu { width: min(100%, 460px); pointer-events: auto; border-radius: 20px; background: rgba(26, 26, 30, .97); border: 1px solid var(--line-2); box-shadow: 0 20px 44px -12px rgba(0, 0, 0, .9), 0 0 0 1px rgba(220, 189, 120, .08); transform: translateY(calc(-100% - 20px)); opacity: 0; transition: transform .45s var(--spring), opacity .3s; overflow: hidden; }
.hu.in { transform: none; opacity: 1; }
.hu.out { transform: translateY(-120%); opacity: 0; transition: transform .35s ease, opacity .3s; }
.hu.tone-good { border-color: rgba(52, 211, 153, .45); }
.hu.tone-bad { border-color: rgba(251, 113, 133, .45); }
.hu-main { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: left; }
.hu-ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--violet-hi); background: rgba(201, 162, 77, .16); }
.hu.tone-good .hu-ic { color: var(--green); background: rgba(52, 211, 153, .14); }
.hu.tone-bad .hu-ic { color: var(--red); background: rgba(251, 113, 133, .14); }
.hu-text { flex: 1; min-width: 0; }
.hu-text b { display: block; font-size: 14px; }
.hu-text span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: var(--text-2); }
.hu-main small { align-self: flex-start; font-size: 11px; color: var(--muted); }
.hu-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.hu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; font-size: 13px; font-weight: 700; color: var(--violet-hi); }
.hu-btn + .hu-btn { border-left: 1px solid var(--line); }
.hu-btn .ic { width: 15px; height: 15px; }
.hu.replying .hu-actions { display: none; }
.hu-reply { display: flex; gap: 8px; padding: 0 10px 10px; }
.hu-reply input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); outline: none; }
.hu-reply input:focus { border-color: var(--violet); }
.hu-reply .send { width: 42px; height: 42px; border-radius: 12px; }
.hu-sent { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 42px; color: var(--green); font-weight: 700; font-size: 13px; }


.p-banner { position: relative; }
.p-edit { position: absolute; right: 10px; top: 10px; z-index: 2; background: rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .15); color: #fff; }
.p-av { position: relative; border-radius: 50%; }
.p-cam { position: absolute; right: 2px; bottom: 2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: var(--ink); box-shadow: 0 0 0 3px var(--bg); }
.p-cam .ic { width: 15px; height: 15px; }
.xp-card { display: grid; gap: 10px; width: 100%; padding: 14px; border-radius: 18px; text-align: left; background: radial-gradient(90% 120% at 0% 0%, rgba(212, 175, 90, .14), transparent 60%), var(--surface); border: 1px solid rgba(212, 175, 90, .3); }
.xp-card.static { cursor: default; }
.xp-top { display: flex; align-items: center; gap: 12px; }
.xp-top b { display: block; font: 700 18px/1.1 var(--display); }
.xp-top small { font-size: 12.5px; color: var(--muted); }
.held { display: block; color: var(--gold); font-size: 12.5px; margin-top: -8px; position: relative; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick { display: grid; justify-items: start; gap: 4px; padding: 14px; border-radius: 16px; text-align: left; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease-out); }
.quick:hover { border-color: var(--line-2); transform: translateY(-1px); }
.quick > span { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: var(--violet-hi); background: rgba(201, 162, 77, .14); margin-bottom: 4px; }
.quick b { font: 700 17px/1.1 var(--display); }
.quick small { font-size: 12px; color: var(--muted); }
.done-ic.ok { color: var(--green); background: rgba(52, 211, 153, .14); }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shop-item { display: grid; gap: 6px; align-content: start; padding: 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.shop-item.owned { border-color: rgba(52, 211, 153, .35); }
.shop-item b { font: 700 16px/1.1 var(--display); }
.shop-item small { font-size: 11.5px; color: var(--muted); min-height: 2.6em; }
.shop-item .btn, .shop-item .chip { justify-self: start; }
.shop-pv { height: 64px; display: grid; place-items: center; border-radius: 12px; background: var(--bg-2); overflow: hidden; }
.shop-pv .banner-sw { width: 100%; height: 100%; border-radius: 0; }
.prio-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #17130b; background: linear-gradient(180deg, #e8cf92, #d4af5a); }
.banner-sw.sm { width: 52px; height: 34px; order: 0; border-radius: 8px; flex: none; }
.look-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.look-row::-webkit-scrollbar { display: none; }
.look-pick { display: grid; justify-items: center; gap: 6px; width: 110px; padding: 10px; border-radius: 14px; background: var(--surface-2); border: 2px solid transparent; }
.look-pick.on { border-color: var(--violet); background: rgba(201, 162, 77, .14); }
.look-pick .banner-sw { width: 88px; height: 44px; order: 0; }
.look-pick small { font-size: 11.5px; color: var(--text-2); text-align: center; }
.sub-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.track { display: grid; gap: 8px; position: relative; }
.track li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); opacity: .7; }
.track li.on { opacity: 1; border-color: rgba(52, 211, 153, .35); }
.track li.next { opacity: 1; border-color: rgba(212, 175, 90, .55); box-shadow: 0 0 0 3px rgba(212, 175, 90, .1); }
.track-lv { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 800 15px/1 var(--display); color: var(--muted); background: var(--bg-2); border: 2px solid var(--line-2); }
.track li.on .track-lv { color: #17130b; background: linear-gradient(180deg, #e8cf92, #d4af5a); border-color: transparent; }
.track-pv { width: 64px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.track-pv .banner-sw { width: 100%; height: 100%; order: 0; border-radius: 0; }
.track-pv .ptitle { font-size: 9.5px; padding: 1px 6px; }
.track small { display: block; font-size: 11.5px; color: var(--muted); }
.xp-rules { display: grid; gap: 4px; }
.xp-rules li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); font-size: 13.5px; }
.xp-rules b { color: var(--gold); font-family: var(--display); }


.ff-review { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; }
.v-shot.empty { display: grid; place-items: center; color: var(--faint); aspect-ratio: 9 / 16; border-radius: 12px; background: var(--bg-2); }
.mini-log { display: grid; gap: 4px; font-size: 12.5px; color: var(--text-2); }
.mini-log li { padding: 6px 10px; border-radius: 9px; background: var(--surface-2); }
.dialog select { width: 100%; min-height: 44px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); padding: 0 12px; }

@media (max-width: 380px) {
  .res-head, .res-rows li { grid-template-columns: 22px minmax(0, 1fr) 96px 48px 48px; gap: 6px; }
  .pay-rows li { grid-template-columns: auto minmax(0, 1fr); }
  .pay-rows li .field { grid-column: 1 / -1; }
  .room-money b { font-size: 19px; }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes scan-y { 0%, 100% { transform: translateY(-40%); } 50% { transform: translateY(300%); } }
@keyframes tick { 0% { transform: scaleY(1); } 50% { transform: scaleY(1.08); box-shadow: 0 0 22px var(--gold); } 100% { transform: scaleY(1); } }
.dialog-layer.closing { pointer-events: none; }


.tier.t-base { --c: #a5b4cb; } .tier.t-intermediaria { --c: var(--green); } .tier.t-elite { --c: var(--violet-hi); }
.tier.t-dominio { --c: #ff7a59; } .tier.t-ancestral { --c: var(--gold); }
.off-tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 7px; font: 800 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #1a1205; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 0 16px -4px rgba(212, 175, 90, .7); }
.off-tag .ic { width: 12px; height: 12px; }
.off-host { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-2); }
.off-host b { color: var(--gold-hi); }
.logo-mark.sm { width: 24px; height: 24px; border-radius: 8px; }
.logo-mark.sm .ic { width: 14px; height: 14px; }
.room-card header { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.room-card.official { border-color: rgba(212, 175, 90, .45); background: radial-gradient(120% 90% at 100% 0%, rgba(212, 175, 90, .14), transparent 60%), linear-gradient(170deg, var(--surface-2), var(--surface)); }
.room-card.tier-ancestral { box-shadow: 0 0 0 1px rgba(212, 175, 90, .25), 0 18px 40px -26px rgba(212, 175, 90, .8); }
.room-card.tier-dominio { border-color: rgba(255, 122, 89, .45); }
.room-card.tier-elite { border-color: rgba(220, 189, 120, .45); }
.room-extra { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: var(--text-2); }
.room-extra span { display: inline-flex; align-items: center; gap: 5px; }
.room-extra .ic { width: 14px; height: 14px; color: var(--violet-hi); }
.room-extra .xp2 { color: var(--gold-hi); font-weight: 700; }
.room-extra .xp2 .ic { color: var(--gold); }
.per-line { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.mech-chip b small { font-size: 10px; color: var(--muted); font-weight: 700; margin-left: 1px; }
.room-hero.official { background: radial-gradient(90% 70% at 100% 0%, rgba(212, 175, 90, .16), transparent 65%), var(--surface); border-color: rgba(212, 175, 90, .35); }
.event-link { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border-radius: 14px; background: rgba(201, 162, 77, .12); border: 1px solid rgba(201, 162, 77, .35); color: var(--text); font-weight: 700; text-align: left; }
.event-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-link .ic { width: 16px; height: 16px; color: var(--violet-hi); flex: none; }


.split-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--surface-3); gap: 2px; }
.split-bar i { display: block; min-width: 4px; animation: grow-x .9s var(--ease-out) backwards; transform-origin: left; }
.sb-players { background: linear-gradient(90deg, #22c38e, var(--green)); }
.sb-creator { background: linear-gradient(90deg, var(--violet-deep), var(--violet)); }
.sb-platform { background: linear-gradient(90deg, #22a6c7, var(--cyan)); }
@keyframes grow-x { from { transform: scaleX(0); } }
.split-legend { display: grid; gap: 6px; }
.split-legend li { display: grid; grid-template-columns: 10px 1fr auto 40px; align-items: center; gap: 8px; font-size: 13px; }
.split-legend li > i { width: 10px; height: 10px; border-radius: 3px; }
.split-legend b { font-variant-numeric: tabular-nums; }
.split-legend small { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.calc .split-bar { margin: 8px 0 6px; }
.calc .split-legend { margin-bottom: 4px; }
.money-card .split-bar { height: 14px; }


.theme-card { position: relative; overflow: hidden; display: grid; gap: 12px; padding: 16px; border-radius: 20px; border: 1px solid rgba(212, 175, 90, .3); background: linear-gradient(150deg, rgba(212, 175, 90, .12), rgba(201, 162, 77, .1) 60%, var(--surface)); }
.theme-glow { position: absolute; width: 180px; height: 180px; right: -60px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 90, .35), transparent 70%); animation: float-glow 6s ease-in-out infinite; pointer-events: none; }
@keyframes float-glow { 50% { transform: translate(-16px, 14px) scale(1.1); } }
.theme-top { position: relative; display: grid; gap: 4px; }
.theme-top h3 { font: 800 30px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; background: linear-gradient(90deg, #fff, var(--gold-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-top .eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-hi); }
.theme-top .eyebrow .ic { width: 14px; height: 14px; }
.theme-base { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.theme-base .ic { width: 15px; height: 15px; color: var(--green); flex: none; }
.events-link { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: left; width: 100%; }
.events-link > .ic:first-child { width: 22px; height: 22px; color: var(--gold); }
.events-link span { flex: 1; display: grid; gap: 2px; }
.events-link small { color: var(--muted); font-size: 12.5px; }


.rail-item.wide { flex-basis: min(88%, 360px); }
.event-card { position: relative; overflow: hidden; display: grid; gap: 10px; padding: 16px; border-radius: 20px; cursor: pointer; border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--ev1, rgba(201, 162, 77, .22)), transparent 70%), var(--surface); transition: transform .25s var(--ease-out), border-color .2s; }
.event-card:hover { transform: translateY(-2px); border-color: var(--ev2, var(--violet)); }
.event-card.k-liga, .event-page.k-liga { --ev1: rgba(103, 232, 249, .2); --ev2: var(--cyan); }
.event-card.k-campeonato, .event-page.k-campeonato { --ev1: rgba(212, 175, 90, .24); --ev2: var(--gold); }
.event-card.k-intensivo, .event-page.k-intensivo { --ev1: rgba(52, 211, 153, .2); --ev2: var(--green); }
.event-card.k-copa, .event-page.k-copa { --ev1: rgba(251, 113, 133, .2); --ev2: var(--red); }
.ev-glow { position: absolute; right: -40px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, var(--ev1, rgba(201, 162, 77, .3)), transparent 70%); pointer-events: none; }
.event-card header, .event-hero .t-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; position: relative; }
.ev-kind { display: inline-flex; align-items: center; gap: 5px; font: 800 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ev2, var(--violet-hi)); }
.ev-kind .ic { width: 15px; height: 15px; }
.event-card h4 { font: 800 24px/1.05 var(--display); letter-spacing: .01em; position: relative; }
.ev-desc { color: var(--text-2); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-money { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ev-money div { padding: 8px 10px; border-radius: 12px; background: rgba(0, 0, 0, .22); display: grid; gap: 2px; }
.ev-money small { font-size: 11px; color: var(--muted); }
.ev-money b { font: 800 17px/1.1 var(--display); }
.event-card footer { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--muted); }
.event-card footer span { display: inline-flex; align-items: center; gap: 4px; }
.event-card footer .ic { width: 13px; height: 13px; }
.dot-live { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.2s ease-in-out infinite; }
.event-hero { position: relative; overflow: hidden; display: grid; gap: 12px; padding: 18px 16px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(165deg, var(--ev1, rgba(201, 162, 77, .22)), transparent 75%), var(--surface); }
.event-hero .h1 { position: relative; }
.ev-when { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.ev-when .ic { width: 15px; height: 15px; }
.champ-card { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 20px 16px; border-radius: 22px; border: 1px solid rgba(212, 175, 90, .5); background: radial-gradient(90% 80% at 50% 0%, rgba(212, 175, 90, .3), transparent 70%), var(--surface); overflow: hidden; }
.champ-card.sm { padding: 12px; }
.champ-card small { font: 800 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); }
.champ-card h2 { font: 800 30px/1 var(--display); text-transform: uppercase; }
.champ-card p { color: var(--text-2); font-size: 13px; }
.champ-crown .ic { width: 34px; height: 34px; color: var(--gold); filter: drop-shadow(0 0 12px rgba(212, 175, 90, .8)); animation: crown-bob 2.6s ease-in-out infinite; }
@keyframes crown-bob { 50% { transform: translateY(-4px) rotate(-4deg); } }
.champ-mem { display: flex; gap: 6px; }
.phases { display: grid; gap: 0; }
.phases li { position: relative; display: flex; gap: 12px; padding: 8px 0; }
.phases li:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 36px; bottom: -8px; width: 2px; background: var(--line-2); }
.phases li.done:not(:last-child)::after { background: var(--green); }
.ph-dot { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--display); background: var(--surface-3); color: var(--muted); border: 2px solid var(--line-2); position: relative; z-index: 1; }
.ph-dot .ic { width: 14px; height: 14px; }
.phases li.done .ph-dot { background: var(--green); border-color: var(--green); color: #05221a; }
.phases li.now .ph-dot { background: var(--violet); border-color: var(--violet-hi); color: var(--ink); box-shadow: 0 0 0 5px rgba(201, 162, 77, .2); }
.phases li div { display: grid; gap: 2px; }
.phases small { color: var(--muted); font-size: 12.5px; }
.stand { display: grid; gap: 6px; counter-reset: none; }
.stand li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; }
.stand li.in-zone { border-color: rgba(52, 211, 153, .35); background: linear-gradient(90deg, rgba(52, 211, 153, .1), var(--surface-2) 60%); }
.stand li.out { opacity: .55; }
.stand li.me { border-color: rgba(201, 162, 77, .6); }
.stand .rk { width: 30px; font: 800 17px/1 var(--display); color: var(--text-2); }
.stand li:nth-child(1) .rk { color: var(--gold); } .stand li:nth-child(2) .rk { color: #cbd5e1; } .stand li:nth-child(3) .rk { color: #d08a5b; }
.stand .grow { min-width: 0; display: grid; gap: 4px; }
.stand .grow > b { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 700; }
.st-mem { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.st-mem small { color: var(--muted); font-size: 11.5px; margin-left: 6px; }
.pts { font: 800 22px/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; text-align: right; }
.pts small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.g-tag.xs { width: auto; height: 20px; padding: 0 6px; border-radius: 6px; font-size: 11px; display: inline-grid; box-shadow: none; }
.pts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.pts-grid span { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; background: var(--surface-2); }
.pts-grid b { font: 800 20px/1 var(--display); color: var(--violet-hi); }
.pts-grid span:first-child b { color: var(--red); }
.pts-grid span:nth-child(2) b { color: var(--gold); }
.pts-grid small { font-size: 11px; color: var(--muted); }
.drops { display: grid; gap: 6px; }
.drop-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); text-align: left; }
.drop-row .grow { min-width: 0; display: grid; gap: 2px; }
.drop-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 14px; }
.drop-row small { color: var(--muted); font-size: 12px; }
.drop-n { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font: 800 14px/1 var(--display); background: var(--surface-3); color: var(--violet-hi); }
.how-list { display: grid; gap: 10px; }
.how-list li { display: flex; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.how-list .ic { width: 18px; height: 18px; color: var(--violet-hi); flex: none; margin-top: 1px; }
.ev-slot { margin-top: 6px; }
.pick-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.pick { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 34px; padding: 0 10px 0 4px; border-radius: 99px; background: var(--surface-3); font-size: 13px; font-weight: 600; }
.preset-grid { display: grid; gap: 8px; }
.preset { display: grid; grid-template-columns: 26px 1fr; gap: 2px 10px; padding: 12px; border-radius: 16px; text-align: left; border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--ev1, rgba(201, 162, 77, .2)), transparent 70%), var(--surface-2); }
.preset.k-liga { --ev1: rgba(103, 232, 249, .18); } .preset.k-campeonato { --ev1: rgba(212, 175, 90, .22); } .preset.k-intensivo { --ev1: rgba(52, 211, 153, .18); } .preset.k-copa { --ev1: rgba(251, 113, 133, .18); }
.preset .ic { width: 22px; height: 22px; grid-row: span 2; color: var(--gold-hi); }
.preset small { color: var(--muted); font-size: 12.5px; }
.ev-rows { display: grid; gap: 6px; }
.ev-rows li { display: flex; align-items: center; gap: 6px; }
.ev-rows li > input, .ev-rows li > select, .ev-rows .money-field { flex: 1; min-width: 0; }
.ev-rows input, .ev-rows select { height: 40px; padding: 0 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); width: 100%; }
.ev-rows .money-field { position: relative; display: flex; align-items: center; }
.ev-rows .money-field b { position: absolute; left: 10px; font-size: 12px; color: var(--muted); }
.ev-rows .money-field input { padding-left: 32px; }


.tpl-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tpl { flex: none; display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; text-align: left; background: var(--surface-2); border: 1px solid var(--line); min-width: 128px; }
.tpl b { font: 800 15px/1.1 var(--display); letter-spacing: .02em; }
.tpl small { color: var(--muted); font-size: 11.5px; }
.tpl.on { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(201, 162, 77, .2); }
.tpl.t-intermediaria b { color: var(--green); } .tpl.t-elite b { color: var(--violet-hi); } .tpl.t-dominio b { color: #ff7a59; } .tpl.t-ancestral b { color: var(--gold); }
.form-h.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.form-h.row > span { display: inline-flex; align-items: center; gap: 8px; }
.chip-line { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gold-hi); }
.chip-line .ic { width: 15px; height: 15px; }
.mech-vals { display: grid; grid-template-columns: 1fr 90px; gap: 8px; }
.mech-vals .field:only-child { grid-column: 1 / -1; }
.mech-pick .switch b .chip { margin-left: 6px; height: 18px; font-size: 10.5px; --tc: var(--cyan); font-style: normal; }
.check-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
.check { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 13px; }
.check input { accent-color: var(--violet); width: 16px; height: 16px; }


.g-week .stand li { background: var(--surface-2); }
.g-champ { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: linear-gradient(90deg, rgba(212, 175, 90, .16), transparent); border: 1px solid rgba(212, 175, 90, .35); }
.g-champ > .ic { width: 22px; height: 22px; color: var(--gold); }
.g-champ span { flex: 1; display: grid; gap: 2px; }
.g-champ small { font-size: 11.5px; color: var(--muted); }


.rev-row { justify-content: space-between; }
.kpis.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ideas { display: grid; gap: 10px; }
.ideas li { display: flex; gap: 10px; }
.ideas .ic { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 2px; }
.ideas span { display: grid; gap: 2px; }
.ideas small { color: var(--muted); font-size: 12.5px; }
.day-ed { border: 1px solid var(--line); border-radius: 14px; padding: 0 12px; background: var(--surface-2); }
.day-ed summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; cursor: pointer; list-style: none; }
.day-ed summary::-webkit-details-marker { display: none; }
.day-ed summary small { color: var(--gold-hi); font-size: 12.5px; }
.day-ed[open] { padding-bottom: 12px; }
.day-ed .grid3, .day-ed .grid2 { margin-top: 4px; }
.tpl-card.t-ancestral { border-color: rgba(212, 175, 90, .45); }
.tpl-card.t-dominio { border-color: rgba(255, 122, 89, .4); }
.fee-form { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .theme-glow, .champ-crown .ic, .split-bar i { animation: none; } }
.menu-row.danger { color: var(--red); border-color: rgba(251, 113, 133, .25); }


.push-kinds { display: grid; gap: 8px; margin: 14px 0 10px; padding: 0; list-style: none; }
.push-kinds li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.push-kinds li > svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--gold); }
.push-kinds span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.push-kinds b { display: block; font-size: 14px; color: var(--text); }


.conv-lock { display: flex; gap: 8px; align-items: flex-start; margin: 2px auto 8px; max-width: 420px; padding: 8px 12px; border-radius: 12px; font-size: 11.5px; line-height: 1.45; color: var(--muted); background: var(--surface); border: 1px solid var(--line); }
.conv-lock svg { flex: none; width: 14px; height: 14px; margin-top: 1px; color: var(--gold); }
.conv-older { align-self: center; margin: 0 auto 8px; }
.msg-miss { display: flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.msg-miss svg { width: 16px; height: 16px; }


.bubble.has-voice { min-width: 232px; padding: 8px 10px 6px; }
.voice { display: flex; align-items: center; gap: 10px; }
.voice-play { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: linear-gradient(180deg, #e2c47a, #b8923f); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); transition: transform .2s var(--spring); }
.voice-play:active { transform: scale(.92); }
.voice-play svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.voice-play[disabled] { opacity: .45; }
.bubble.me .voice-play { color: #c9a24d; background: #16130c; }
.voice-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 30px; }
.voice-wave i { flex: 1; min-width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .28); transition: background .15s; }
.voice-wave i.p { background: var(--gold-hi, #f0d58c); }
.bubble.me .voice-wave i { background: rgba(0, 0, 0, .28); }
.bubble.me .voice-wave i.p { background: #16130c; }
.voice-t { flex: none; min-width: 32px; font-size: 11.5px !important; font-variant-numeric: tabular-nums; text-align: right; margin: 0 !important; }


.composer.fixed { align-items: center; }
.composer .mic { display: none; }
.composer #dm-input:placeholder-shown ~ .send:not(.mic), .composer #dm-input.empty ~ .send:not(.mic) { display: none; }
.composer #dm-input:placeholder-shown ~ .mic, .composer #dm-input.empty ~ .mic { display: grid; }
.composer .rec-bar { display: none; flex: 1; align-items: center; gap: 10px; min-width: 0; }
.composer.recording > :not(.rec-bar) { display: none !important; }
.composer.recording .rec-bar { display: flex; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red, #ef4444); box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: rec-pulse 1.2s infinite; }
.rec-t { font-variant-numeric: tabular-nums; font-size: 15px; }
.rec-hint { flex: 1; font-size: 13px; color: var(--muted); }
.rec-x { color: var(--red, #ef4444); }
@keyframes rec-pulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .55); } 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
@media (prefers-reduced-motion: reduce) { .rec-dot { animation: none; } }


.audit-msgs { margin: 12px 0; padding: 10px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); max-height: 60vh; overflow-y: auto; }
.audit-msgs .who { display: block; text-align: left !important; font-weight: 700; color: var(--gold) !important; margin: 0 0 2px !important; }
.bubble.me .who { color: #16130c !important; }
.audit-msgs audio { width: 220px; max-width: 100%; }
.export-box { width: 100%; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 10px; border-radius: 12px; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); margin: 8px 0 12px; }


.ban-card { display: grid; gap: 10px; }
.ban-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ban-why { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.ban-why svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--red); }
.ban-card .chips { flex-wrap: wrap; }
.ban-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fine-print { margin: 12px 0 8px; padding: 10px 12px; border-radius: 12px; font-size: 11.5px; line-height: 1.5; color: var(--muted); background: var(--bg-2); border: 1px dashed var(--line-2); }
.fine-print b { color: var(--text-2, var(--text)); }


.ln-code-btn { margin: 10px 0 4px; }
.ln-card, .ln-block { display: grid; gap: 10px; }
.ln-block { padding: 14px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); }
.ln-block.mine { border-color: rgba(201, 162, 77, .45); box-shadow: inset 0 0 0 1px rgba(201, 162, 77, .12); }
.ln-head { display: flex; align-items: center; gap: 10px; }
.ln-head b { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.ln-head small { display: block; font-size: 12px; color: var(--muted); }
.ln-slots { display: flex; gap: 8px; }
.ln-slot { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--faint); border: 1.5px dashed var(--line-2); }
.ln-slot.on { border: 0; }
.ln-slot svg { width: 16px; height: 16px; }
.ln-slot.bench { width: 36px; height: 36px; align-self: center; opacity: .8; }
.ln-slot-sep { width: 1px; align-self: stretch; margin: 4px 2px; background: var(--line-2); }
.ln-member.bench { opacity: .78; border-style: dashed; }
.gl-opts { display: inline-flex; gap: 12px; }
.ln-block > .ln-head { flex-wrap: wrap; row-gap: 8px; }
.ln-block > .ln-head > .grow { flex: 1 1 100%; min-width: 0; }
.ln-block { min-width: 0; }
.ln-crown { position: absolute; top: -8px; right: -6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #16130c; color: var(--gold); border: 1px solid rgba(201, 162, 77, .5); }
.ln-crown svg { width: 12px; height: 12px; }
.ln-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.ln-member { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-align: left; min-width: 0; }
.ln-member span { min-width: 0; }
.ln-member b { display: flex; align-items: center; gap: 3px; font-size: 13px; overflow: hidden; white-space: nowrap; }
.ln-member b svg { flex: none; width: 13px; height: 13px; }
.ln-member small { font-size: 11.5px; color: var(--muted); }
.ln-member.empty { color: var(--faint); border-style: dashed; }
.ln-member.empty > svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; border: 1.5px dashed var(--line-2); }
.ln-syn { display: grid; gap: 6px; }
.ln-syn-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.ln-syn-top span { display: flex; align-items: center; gap: 6px; white-space: nowrap; flex: none; }
.ln-syn-top svg { width: 15px; height: 15px; color: var(--gold); }
.ln-syn-top small { color: var(--muted); text-align: right; font-size: 11.5px; line-height: 1.3; }
.ln-code { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px dashed rgba(201, 162, 77, .45); }
.ln-code > span { flex: 1; min-width: 120px; }
.ln-code small { display: block; font-size: 11px; color: var(--muted); }
.ln-code b { font-size: 20px; letter-spacing: 3px; color: var(--gold-hi); }
.ln-reqs { display: grid; gap: 8px; }
.ln-req { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.ln-req small { display: block; font-size: 12px; color: var(--muted); }
.ln-req em { display: block; font-size: 12.5px; margin-top: 2px; }
.ln-req-act { display: flex; align-items: center; gap: 6px; }



.place-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.place-row { padding: 10px; border-radius: 12px; background: var(--surface-2); display: grid; gap: 8px; border: 1px solid transparent; }
.place-row.top1 { border-color: rgba(233, 196, 106, .45); } .place-row.top2 { border-color: rgba(200, 208, 222, .35); } .place-row.top3 { border-color: rgba(205, 127, 70, .4); }
.place-top { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 8px; align-items: center; }
.place-top .field { margin: 0; }
.place-n { font: 800 18px/1 var(--display); text-align: center; color: var(--muted); }
.top1 .place-n { color: #e9c46a; } .top2 .place-n { color: #c8d0de; } .top3 .place-n { color: #cd7f46; }
.place-p { display: grid; grid-template-columns: 24px minmax(0, 1fr) 104px 58px; gap: 8px; align-items: center; }
.place-p.no-min { grid-template-columns: 24px minmax(0, 1fr) 104px; }


.wa-card { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); margin: 10px 0; }
.wa-card > svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.wa-card.ok > svg { color: var(--green); }
.wa-card b { display: block; font-size: 17px; }
.wa-card small { color: var(--muted); font-size: 12px; }
.wa-code { display: grid; justify-items: center; gap: 2px; padding: 14px; margin: 10px 0; border-radius: 14px; background: var(--bg-2); border: 1px dashed rgba(201, 162, 77, .5); }
.wa-code b { font-size: 28px; letter-spacing: .08em; color: var(--gold); }
.wa-code small { color: var(--muted); font-size: 12px; }
.radio span.via-opt { flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; padding: 10px 14px; }


.org-tag { --oc: #C9A24D; display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px; font: 800 14px/1 var(--display); letter-spacing: .04em; color: var(--oc); background: color-mix(in srgb, var(--oc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--oc) 45%, transparent); flex: none; }
.menu-row .org-tag { min-width: 36px; height: 36px; font-size: 12px; border-radius: 10px; }
.org-entry .cr-entry-t { display: grid; flex: 1; text-align: left; }
.org-entry .cr-entry-t small { color: var(--muted); font-size: 12px; }
.org-head { display: flex; gap: 14px; align-items: center; margin: 6px 0 14px; }
.org-head .org-tag { min-width: 58px; height: 58px; font-size: 18px; border-radius: 16px; }
.org-page .card { margin-bottom: 12px; }
.org-rank, .org-members, .org-cargos, .org-rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.org-rank li, .org-members li, .org-cargos li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); }
.org-rank .grow, .org-members .grow, .org-cargos .grow, .org-room .grow { min-width: 0; display: grid; }
.org-rank small, .org-members small, .org-cargos small, .org-room small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.org-members small .chip { font-size: 11px; padding: 1px 7px; }
.chip.lv-lider { color: var(--gold); border-color: rgba(201, 162, 77, .5); }
.chip.lv-gerente { color: var(--cyan, #58d6e8); }
.pos-n { width: 22px; text-align: center; color: var(--muted); font: 800 14px/1 var(--display); }
.org-rank-v { display: grid; justify-items: end; text-align: right; flex: none; }
.org-rank-v b { font-size: 14px; }
.org-room { display: flex; width: 100%; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); text-align: left; }
.hour-bars { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; align-items: end; height: 110px; padding: 6px 0 18px; }
.hour-bars span { position: relative; height: 100%; display: flex; align-items: flex-end; }
.hour-bars i { display: block; width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--gold), rgba(201, 162, 77, .35)); }
.hour-bars small { position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--muted); white-space: nowrap; }
.rank-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.org-grid { display: grid; gap: 8px; margin-top: 12px; }
.org-card { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); text-align: left; width: 100%; }
.org-card small { display: block; color: var(--muted); font-size: 12px; }
.org-add { margin-top: 10px; }
.org-page .sub-h, .a-body .card .sub-h { display: flex; justify-content: flex-start; gap: 8px; margin: 16px 0 8px; }
.org-page .tx-main, .a-body .card .tx-main { min-width: 0; }
.org-page .tx-main b, .a-body .card .tx-main b, .org-page .tx-main small, .a-body .card .tx-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-page .tx-row, .a-body .card .tx-row { max-width: 100%; }
.org-page .seg, .a-body .card .seg { margin: 8px 0 12px; }
.org-page .tx-list, .a-body .card .tx-list { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.org-page .tx-row, .a-body .card .tx-row { min-width: 0; }


.tag.org-badge { --oc: #C9A24D; display: inline-flex; align-items: center; gap: 6px; color: var(--oc); background: color-mix(in srgb, var(--oc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--oc) 40%, transparent); }
.tag.org-badge b { font: 800 11px/1 var(--display); letter-spacing: .05em; padding: 2px 5px; border-radius: 5px; background: color-mix(in srgb, var(--oc) 22%, transparent); }

.org-all-btn { margin-bottom: 12px; }
.org-all { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.org-all-row { display: flex; gap: 10px; align-items: center; width: 100%; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); text-align: left; }
.org-all-row .grow { min-width: 0; display: grid; gap: 2px; }
.org-all-row small { color: var(--muted); font-size: 12px; }
.org-all-row .org-tag { min-width: 40px; height: 40px; font-size: 12px; }
.org-bar { display: block; height: 5px; border-radius: 3px; background: var(--bg-2); overflow: hidden; margin-top: 4px; }
.org-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold), #f3d68a); }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip-row .chip { cursor: pointer; }
.chip-row .chip.on { color: #111; background: var(--gold); border-color: var(--gold); }
.radio-list.row.four { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); }
.gift-pick { border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.gift-pick-top { display: flex; gap: 10px; align-items: center; }
.gift-pick-top input { flex: 1; min-width: 0; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); padding: 0 12px; color: inherit; font: inherit; }
.gift-pick-top b { font-size: 12px; color: var(--gold); white-space: nowrap; }
.gift-opts { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow: auto; display: grid; gap: 4px; }
.gift-opts .check span { display: grid; }
.gift-opts .check small { color: var(--muted); font-size: 11px; }
.gift-list { display: grid; gap: 10px; margin-top: 12px; }
.gift-card header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.gift-code { font-size: 18px; letter-spacing: .08em; color: var(--gold); }
.gift-done { display: grid; justify-items: center; text-align: center; gap: 8px; }
.gift-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(201, 162, 77, .15); color: var(--gold); }
.gift-ic svg { width: 32px; height: 32px; }
.gift-items { list-style: none; margin: 0; padding: 0; width: 100%; max-height: 40vh; overflow: auto; display: grid; gap: 4px; text-align: left; }
.gift-items li { display: flex; gap: 8px; align-items: center; padding: 6px 10px; border-radius: 10px; background: var(--surface-2); font-size: 13px; }
.gift-uses { border: 0; padding: 0; margin: 0; }
.menu-row .org-tag { flex: 0 0 auto !important; width: auto !important; }

.menu-row.admin { display: flex; grid-template-columns: none; gap: 12px; }


.mm-head { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, rgba(201, 162, 77, .14), rgba(201, 162, 77, .03)); border: 1px solid rgba(201, 162, 77, .3); }
.mm-head .grow { min-width: 0; display: grid; }
.mm-head b { font: 800 17px/1.2 var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-head small { color: var(--muted); font-size: 12px; }
.mm-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 4px; }
.mm-q { display: grid; justify-items: center; gap: 3px; padding: 12px 4px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); text-align: center; }
.mm-q svg { width: 22px; height: 22px; color: var(--gold); }
.mm-q b { font-size: 12.5px; line-height: 1.1; }
.mm-q small { font-size: 10.5px; color: var(--muted); }
.mm-h { margin: 14px 2px 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sheet .menu { display: grid; gap: 8px; }
.mm-end { margin-top: 14px; }
.menu-row.pf-edit { margin-top: 14px; }

.tx-list { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.tx-row { min-width: 0; max-width: 100%; }
.tx-main { min-width: 0; }
.tx-main b, .tx-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-side { flex: none; text-align: right; }


.hello-card {
  position: relative; overflow: hidden; display: grid; gap: 12px; padding: 16px; border-radius: 22px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(212, 175, 90, .14), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--surface)) padding-box,
    linear-gradient(140deg, rgba(220, 189, 120, .55), rgba(255, 255, 255, .06) 45%, rgba(212, 175, 90, .45)) border-box;
  border: 1px solid transparent; box-shadow: 0 18px 40px -26px rgba(120, 96, 45, .7);
}
.hc-glow { position: absolute; width: 160px; height: 160px; left: -50px; bottom: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 90, .22), transparent 70%); pointer-events: none; }
.hc-main { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; flex-wrap: wrap; }
.hc-who { min-width: 0; }
.hc-nick { margin-top: 4px; font-size: 30px; line-height: 1.05; overflow-wrap: anywhere; }
.hc-nick .nk { font: inherit; }
.hello-card .lvl-chip { background: rgba(0, 0, 0, .25); }
.hc-stats { position: relative; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.hc-stat { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); font-size: 12px; color: var(--muted); white-space: nowrap; }
.hc-stat b { color: var(--text); font-weight: 800; font-variant-numeric: tabular-nums; }
.hc-stat .ic { width: 13px; height: 13px; color: var(--gold); }
.hc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.hc-dot.on { background: var(--red); box-shadow: 0 0 0 0 rgba(244, 63, 94, .6); animation: live-ping 1.6s infinite; }
@keyframes live-ping { 70% { box-shadow: 0 0 0 7px rgba(244, 63, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); } }
.head-acts { display: flex; align-items: center; gap: 8px; flex: none; }
.ev-chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 13px; background: var(--surface); border: 1px solid rgba(212, 175, 90, .35); color: var(--gold-hi); font-weight: 700; font-size: 13.5px; }
.ev-chip .ic { width: 16px; height: 16px; }
.ev-chip .dot-count { height: 17px; min-width: 17px; font-size: 10px; }


.cbg { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.cbg > .cbg-art { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.cbg > .cbg-art > svg { width: 100%; height: 100%; display: block; }
.cbg-img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); }
.cbg-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 10, .12), rgba(8, 8, 10, .42) 50%, rgba(8, 8, 10, .8)); }
.theme-card.has-bg, .room-card.has-bg { position: relative; overflow: hidden; isolation: isolate;
  background: #0b0b0d padding-box, linear-gradient(140deg, #f3d98f, rgba(212, 175, 90, .25) 35%, rgba(255, 255, 255, .08) 60%, #d4af5a) border-box;
  border: 1.5px solid transparent; box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(0, 0, 0, .4); }
.theme-card.has-bg > :not(.cbg), .room-card.has-bg > :not(.cbg) { position: relative; z-index: 1; }
.room-card.has-bg { padding-top: 16px; }
.room-card.has-bg .room-money > div, .room-card.has-bg .mech-chip, .room-card.has-bg .room-code { background: rgba(8, 8, 10, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.theme-card.has-bg .mech-chip { background: rgba(8, 8, 10, .55); }
.theme-card.has-bg { min-height: 170px; align-content: end; }
.cbg-tag { position: absolute !important; top: 12px; right: 12px; z-index: 2; padding: 4px 8px; border-radius: 8px; font: 800 11px/1 var(--display); letter-spacing: .1em; color: #0b0b0d; background: var(--oc, var(--gold)); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }


.bgp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bgp-opt { position: relative; overflow: hidden; height: 74px; border-radius: 13px; border: 2px solid var(--line); background: var(--surface); text-align: left; isolation: isolate; }
.bgp-opt.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 90, .25); }
.bgp-opt .cbg { border-radius: 11px; }
.bgp-opt .cbg-veil { background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 10, .8)); }
.bgp-opt > span { position: absolute; left: 8px; right: 8px; bottom: 6px; z-index: 1; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bgp-opt.none { display: grid; place-items: center; color: var(--muted); }
.bgp-opt.none > span { position: static; }
.bgp-lock { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: linear-gradient(150deg, rgba(212, 175, 90, .12), var(--surface)); border: 1px solid rgba(212, 175, 90, .35); }
.bgp-org { display: flex; align-items: center; gap: 10px; }
.gift-bal { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.gift-h, .gift-bal-line { display: flex; align-items: center; gap: 6px; justify-content: flex-start; text-align: left; }
.gift-h .ic { width: 15px; height: 15px; color: var(--gold); }
.gift-bal-line .ic, .gift-won .ic { width: 16px; height: 16px; color: var(--gold); }
.gift-won { display: flex; gap: 8px; align-items: flex-start; padding: 12px; border-radius: 14px; background: linear-gradient(150deg, rgba(212, 175, 90, .14), var(--surface)); border: 1px solid rgba(212, 175, 90, .35); text-align: left; }
.wal-test { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--cyan, #67e8f9); }
.org-card-pv { cursor: default; min-height: 120px; align-content: end; }
.welcome-card { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 8px 4px 4px; }
.welcome-card h3 { font: 800 28px/1 var(--display); color: var(--gold-hi); }
.welcome-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.wc-crown { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #17130b; background: radial-gradient(circle at 35% 30%, #fff3cf, #d4af5a 55%, #b7791f); box-shadow: 0 12px 30px -10px rgba(212, 175, 90, .7); }
.wc-crown .ic { width: 32px; height: 32px; }
.wc-bal { display: grid; gap: 2px; padding: 12px 22px; border-radius: 16px; background: var(--surface); border: 1px solid rgba(212, 175, 90, .4); }
.wc-bal small { font-size: 12px; color: var(--muted); }
.wc-bal b { font: 800 30px/1 var(--display); color: var(--gold); }
.gift-welcome { color: var(--text-2); font-size: 14px; line-height: 1.5; }
.invite-note { margin-top: 10px; }
.pod-empty { opacity: .45; }
.pod-empty .av { animation: none; }
.wal-test-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(103, 232, 249, .08); border: 1px solid rgba(103, 232, 249, .3); }
.wal-test-row small { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #67e8f9; }
.wal-test-row small .ic { width: 14px; height: 14px; }
.wal-test-row b { font: 800 16px/1 var(--display); color: #a5f3fc; }
.code-og { color: #17130b !important; background: linear-gradient(135deg, #fff1c4, #d4af5a) !important; border-color: transparent !important; }
.dono-tools h4 { display: flex; align-items: center; gap: 6px; color: var(--gold-hi); }
.dono-tools h4 .ic { width: 15px; height: 15px; }
.dono-tools .form { margin-bottom: 8px; }


.ag-how { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(150deg, rgba(212, 175, 90, .12), var(--surface)); border: 1px solid rgba(212, 175, 90, .3); font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.ag-how > span { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(212, 175, 90, .18); color: var(--gold); }
.ag-how > span .ic { width: 18px; height: 18px; }
.ag-card { display: grid; gap: 10px; }
.ag-card.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.ag-card.has-bg > :not(.cbg) { position: relative; z-index: 1; }
.ag-head { display: flex; align-items: flex-start; gap: 10px; }
.ag-name { display: block; font: 800 20px/1.1 var(--display); }
.ag-head small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.ag-head .chip .ic { width: 13px; height: 13px; }
.ag-sched { display: grid; gap: 6px; }
.ag-sched p { display: flex; align-items: center; gap: 6px; }
.ag-sched p .ic { width: 14px; height: 14px; }
.ag-days { display: flex; gap: 4px; }
.ag-days span { flex: 1; text-align: center; padding: 5px 0; border-radius: 8px; font: 700 12px/1 var(--display); color: var(--muted); background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.ag-days span.on { color: #17130b; background: var(--gold); border-color: transparent; }
.ag-runs { display: grid; gap: 4px; font-size: 12.5px; color: var(--text-2); }
.ag-runs .red { color: var(--red); }
.ag-pick { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ag-pick button { height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font: 800 14px/1 var(--display); color: var(--muted); }
.ag-pick button.on { background: var(--gold); color: #17130b; border-color: transparent; }
.ag-times { display: grid; gap: 6px; margin-bottom: 6px; }
.ag-times li { display: flex; gap: 8px; align-items: center; }
.ag-times input { flex: 1; }
.tpl.saved { border-color: rgba(212, 175, 90, .5); }
.tpl.saved .ic { width: 12px; height: 12px; vertical-align: -1px; }


.prize-extra-chip { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 3px 8px; border-radius: 999px; font: 700 11.5px/1.2 var(--display); color: var(--gold); background: rgba(212, 175, 90, .14); border: 1px solid rgba(212, 175, 90, .35); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prize-extra-chip .ic { width: 12px; height: 12px; flex: none; }
.prize-extra { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(212, 175, 90, .2), rgba(212, 175, 90, .05)); border: 1px solid rgba(212, 175, 90, .4); }
.prize-extra > .ic { width: 22px; height: 22px; color: var(--gold); flex: none; }
.prize-extra small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.prize-extra b { font: 800 16px/1.2 var(--display); color: var(--text); }
.gift-card { display: grid; gap: 10px; }
.gift-card.mine { background: linear-gradient(150deg, rgba(212, 175, 90, .18), var(--surface) 60%); border-color: rgba(212, 175, 90, .45); }
.gift-from { display: flex; align-items: center; gap: 10px; }
.gift-from small { display: block; font-size: 11px; color: var(--muted); }
.gift-note { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.45; white-space: pre-wrap; }
.gift-code { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px dashed rgba(212, 175, 90, .6); }
.gift-code b { flex: 1; min-width: 0; font-size: 16px; letter-spacing: .06em; color: var(--gold); word-break: break-all; }
.gift-list { display: grid; gap: 8px; }
.gift-list > li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.gift-list > li:first-child { border-top: 0; }
.gift-list small { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.gift-list.mine > li { align-items: flex-start; }
.gift-list.mine .grow { display: grid; gap: 6px; }


.ig-list { display: grid; gap: 12px; }
.ig-post { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.ig-thumb { position: relative; width: 96px; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.ig-thumb video, .ig-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-count { position: absolute; top: 6px; right: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(0, 0, 0, .7); color: #fff; font: 700 11px/1.4 var(--display); }
.ig-info { display: grid; gap: 8px; min-width: 0; }
.ig-info header { display: flex; flex-wrap: wrap; gap: 6px; }
.ig-info header .ic { width: 13px; height: 13px; }
.ig-when { font: 800 18px/1.1 var(--display); }
.ig-cap { margin: 0; font-size: 13.5px; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }


.vote-card { border-color: rgba(212, 175, 90, .45); }
.vote-opt { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 8px; padding: 12px; min-height: 56px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.vote-opt > .ic { flex: none; color: var(--gold); }
.vote-opt .grow { min-width: 0; display: grid; gap: 2px; }
.vote-opt small { color: var(--text-2); font-size: 13px; overflow-wrap: anywhere; }
.vote-opt em { flex: none; font-style: normal; font-size: 12px; color: var(--muted); }
.vote-opt.on { border-color: var(--gold); background: linear-gradient(90deg, rgba(212, 175, 90, .12), var(--surface-2)); }
.vote-opt.on > .ic:last-child { color: var(--gold); }
.vote-out { margin-top: 12px; }


.jn-widget { display: flex; align-items: center; gap: 12px; }
.jn-widget b { display: flex; align-items: center; gap: 6px; }
.jn-widget b svg { width: 18px; height: 18px; color: var(--gold, #f5c542); }
.jn-widget small { display: block; color: var(--muted, #9aa0aa); }
.jn-eds { display: grid; gap: 10px; }
.jn-ed { padding: 0; overflow: hidden; }
.jn-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; background: none; border: 0; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.jn-head small { display: block; color: var(--muted, #9aa0aa); }
.jn-head > svg { width: 18px; height: 18px; transition: transform .2s; }
.jn-ed.on .jn-head > svg { transform: rotate(180deg); }
.jn-date { display: grid; place-items: center; min-width: 52px; height: 44px; border-radius: 10px; background: linear-gradient(180deg, #2a2210, #15110a); border: 1px solid rgba(245, 197, 66, .35); color: var(--gold, #f5c542); font-weight: 800; letter-spacing: .02em; }
.jn-body { padding: 0 16px 16px; display: grid; gap: 12px; }
.jn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.jn-item { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.jn-item header { display: flex; gap: 6px; flex-wrap: wrap; }
.jn-item p { margin: 0; }
.jn-item .btn { justify-self: start; }
.jn-imp { display: flex; gap: 8px; align-items: flex-start; color: var(--gold, #f5c542); font-size: .92em; }
.jn-imp svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }


.bh-loader { display: grid; place-items: center; align-content: center; gap: 14px; min-height: 52vh; }
.bh-loader.sm { min-height: 180px; }
.bh-loader svg { width: 76px; height: auto; overflow: visible; }
.bh-loader.sm svg { width: 54px; }
.bh-loader .c-out { fill: none; stroke: var(--gold-hi); stroke-width: 16; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: crown-loop 1.9s cubic-bezier(.6, 0, .35, 1) infinite; }
.bh-loader .c-fill { fill: url(#bh-gold); opacity: 0; animation: crown-loop-fill 1.9s ease-in-out infinite; }
.bh-loader small { font-size: 12px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; }
@keyframes crown-loop { 0% { stroke-dashoffset: 1; } 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
@keyframes crown-loop-fill { 0%, 38% { opacity: 0; } 55%, 70% { opacity: 1; } 95%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bh-loader .c-out { animation: none; stroke-dashoffset: 0; } .bh-loader .c-fill { animation: crown-pulse 1.6s ease-in-out infinite; } }
@keyframes crown-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }


.pay-hero { display: grid; gap: 6px; padding: 8px 2px 4px; }
.pay-total { font: 800 clamp(44px, 13vw, 64px)/1 var(--display); color: var(--gold-hi); letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.pay-how { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--text-2); font-size: 14px; }
.pay-how b { color: var(--text); }
.pay-strip { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--text-2); font-size: 14px; text-align: left; }
.pay-strip > svg:first-child { color: var(--green); flex: none; }
.pay-strip span { flex: 1; min-width: 0; }
.pay-strip b { color: var(--text); }


.slot-n { flex: none; min-width: 26px; height: 26px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 7px; background: var(--surface-3); color: var(--text); font: 700 13px var(--display); font-variant-numeric: tabular-nums; }
.my-slot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 2px; }
.my-slot small { color: var(--muted); }
.my-slot b { font: 800 22px var(--display); color: var(--gold-hi); }


.spon-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .02em; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spon-tag .ic { width: 12px; height: 12px; flex: none; }
.spon-card { display: grid; gap: 12px; border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--line-2)); }
.spon-head { display: flex; align-items: center; gap: 12px; }
.spon-head small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.spon-head b { display: block; font-size: 18px; line-height: 1.2; }
.spon-head .muted { display: block; margin-top: 2px; }
.spon-logo { width: 56px; height: 56px; border-radius: 12px; object-fit: contain; background: var(--surface-2, var(--surface)); flex: none; }
.spon-logo.sm { width: 40px; height: 40px; border-radius: 10px; }
.spon-logo.empty { display: grid; place-items: center; font-weight: 800; color: var(--gold); }
.spon-coupon { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px dashed var(--gold); border-radius: var(--r-sm); }
.spon-coupon small { display: block; color: var(--muted); font-size: 12px; }
.spon-coupon b { font-size: 17px; letter-spacing: .06em; color: var(--gold); }
.spon-rooms { display: grid; gap: 6px; margin: 4px 0 8px; padding: 0; list-style: none; }
.spon-rooms li { display: grid; }
.spon-rooms small { color: var(--muted); font-size: 12px; }


.print-card { display: grid; gap: 10px; }
.print-ok { display: flex; gap: 8px; align-items: flex-start; color: var(--text-2); }
.print-ok > svg { color: var(--green); flex: none; margin-top: 2px; }
.print-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line-2)); border-radius: var(--r-sm); background: color-mix(in srgb, var(--gold) 8%, transparent); }
.print-bar b { display: flex; align-items: center; gap: 6px; }
.print-bar small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.print-list summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 700; padding: 4px 0; }
.print-list ul { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.print-list li { display: flex; align-items: center; gap: 10px; }
.print-list small { display: block; color: var(--muted); font-size: 12px; }
.print-thumb { width: 64px; height: 40px; border-radius: 8px; overflow: hidden; flex: none; padding: 0; border: 1px solid var(--line-2); }
.print-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }


.fav-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: auto; border-radius: 50%; color: var(--muted); background: transparent; flex: none; transition: color .2s, transform .2s; }
.fav-btn .ic { width: 18px; height: 18px; }
.fav-btn.on { color: var(--gold); }
.fav-btn.on .ic { fill: currentColor; }
.fav-btn:active { transform: scale(.88); }
.fav-btn.hero { width: 34px; height: 34px; background: color-mix(in srgb, var(--surface) 70%, transparent); }


.selo-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 10px 6px 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--green) 45%, transparent); background: color-mix(in srgb, var(--green) 10%, transparent); color: var(--green); font-size: 12.5px; font-weight: 800; }
.selo-tag .ic { width: 15px; height: 15px; }
.selo-tag .chev { opacity: .7; width: 13px; height: 13px; }
.selo-list { display: grid; gap: 12px; margin: 0 0 14px; padding: 0; list-style: none; }
.selo-list li { display: flex; gap: 12px; align-items: flex-start; }
.selo-list b { display: block; font-size: 14.5px; }
.selo-list small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.selo-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); }
.selo-ic .ic { width: 18px; height: 18px; }


.copa-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); font-size: 11px; font-weight: 800; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copa-tag .ic { width: 12px; height: 12px; flex: none; }
.copa-card { display: grid; gap: 12px; border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line-2)); }
.copa-head { display: flex; align-items: center; gap: 12px; }
.copa-head small, .copa-boost small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.copa-head b { display: block; font-size: 18px; line-height: 1.2; }
.copa-head .muted { display: block; }
.copa-boost { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--gold) 8%, transparent); }
.copa-boost b { display: block; font-size: 22px; color: var(--gold); font-variant-numeric: tabular-nums; }
.copa-boost .muted { display: block; }
.copa-top { display: flex; }
.copa-top span { margin-left: -8px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); }
.copa-top span:first-child { margin-left: 0; }


.age-ok { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--green) 10%, transparent); color: var(--green); margin-bottom: 12px; }
.age-ok.wait { background: color-mix(in srgb, var(--gold) 10%, transparent); color: var(--gold); }
.age-ok b { display: block; color: var(--text); }
.age-ok small { display: block; color: var(--muted); }
.age-ok > svg { width: 26px; height: 26px; flex: none; }


.rk-tag { --rk: #b07a4a; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--rk) 18%, transparent); color: var(--rk); font-size: 11px; font-weight: 800; white-space: nowrap; }
.rk-tag .ic { width: 12px; height: 12px; }
.rk-bronze { --rk: #c0814e; } .rk-prata { --rk: #c9ced6; } .rk-ouro { --rk: #e8b84a; } .rk-platina { --rk: #5fd0c4; }
.rk-diamante { --rk: #7fb2ff; } .rk-mestre { --rk: #c084fc; } .rk-coroa { --rk: #ff4d1a; }
.rk-card { --rk: #c0814e; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--rk) 40%, var(--line-2)); background: linear-gradient(135deg, color-mix(in srgb, var(--rk) 14%, var(--surface)), var(--surface)); text-align: left; margin: 10px 0; }
.rk-card small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rk-card b { display: block; font: italic 800 26px/1.1 var(--display, inherit); color: var(--rk); margin: 2px 0 6px; }
.rk-card .muted { display: block; margin-top: 6px; }
.rk-emb { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none; color: var(--rk); background: color-mix(in srgb, var(--rk) 16%, transparent); }
.rk-emb .ic { width: 28px; height: 28px; }
.rk-how { display: grid; gap: 6px; padding-left: 18px; color: var(--text-2); font-size: 13.5px; }
.rk-ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; }
.rk-step { --rk: #c0814e; display: grid; padding: 8px; border-radius: 10px; border: 1px solid var(--line-2); }
.rk-step b { color: var(--rk); font-size: 13px; } .rk-step small { color: var(--muted); font-size: 11px; }
.rk-step.on { border-color: var(--rk); background: color-mix(in srgb, var(--rk) 12%, transparent); }
.rk-hist, .rk-top { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rk-hist li, .rk-top li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rk-hist small { display: block; color: var(--muted); font-size: 12px; }
.rk-hist .neg { color: var(--red, #ff6b6b); }
.rk-pos { width: 22px; text-align: center; font-weight: 800; color: var(--muted); }
.rk-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.trail-card { display: grid; gap: 10px; }
.trail-top { display: flex; align-items: center; justify-content: space-between; }
.trail-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.trail-list li { display: flex; align-items: center; gap: 10px; }
.trail-list b { display: block; font-size: 14px; } .trail-list small { display: block; color: var(--muted); font-size: 12px; }
.trail-list em { font-style: normal; font-weight: 800; font-size: 12px; color: var(--gold); }
.trail-list li.ok { opacity: .6; }
.trail-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex: none; color: var(--muted); background: var(--surface-2); }
.trail-list li.ready .trail-ic { color: var(--gold); } .trail-list li.ok .trail-ic { color: var(--green); }
.trail-ic .ic { width: 16px; height: 16px; }

.mfa-steps { margin: 0 0 12px; padding-left: 20px; list-style: decimal; display: grid; gap: 6px; }
.mfa-qr { display: grid; place-items: center; margin: 8px auto; padding: 12px; width: max-content; background: #fff; border-radius: 14px; }
.mfa-qr img { display: block; width: 200px; height: 200px; }
.mfa-secret { word-break: break-all; font-size: 12px; user-select: all; }


.gg-gift { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(201, 162, 77, .12); border: 1px solid rgba(201, 162, 77, .4); color: var(--text); font-size: 13.5px; }
.gg-gift .ic { color: var(--gold); flex: none; }


.mb { display: grid; gap: 2px; margin-top: 6px; }
.mb-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.mb-row:last-child { border-bottom: 0; }
.mb-row span { min-width: 0; }
.mb-row small { display: block; color: var(--muted); font-size: 12px; }
.mb-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }


.seat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 8px 0 10px; }
.seat-chip { border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: rgba(0, 0, 0, .2); text-align: center; }
.seat-chip b { display: block; font-size: 22px; line-height: 1.1; }
.seat-chip small { display: block; color: var(--muted); font-size: 11.5px; }
.seat-chip.on { border-color: var(--gold, #e8a93a); }
.seat-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seat-opt { border: 1px solid var(--line); border-radius: 14px; padding: 10px 8px; background: rgba(0, 0, 0, .2); color: inherit; text-align: center; cursor: pointer; font: inherit; }
.seat-opt b { display: block; }
.seat-opt small { display: block; color: var(--muted); font-size: 11.5px; }
.seat-opt.on { border-color: var(--gold, #e8a93a); background: rgba(232, 169, 58, .12); }
.seat-use small { display: block; }
.seat-use { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(232, 169, 58, .5); background: rgba(232, 169, 58, .1); margin-bottom: 10px; }


.funil { list-style: none; margin: 10px 0 6px; padding: 0; display: grid; gap: 8px; }
.funil li { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 44px; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; }
.funil li span { font-size: 13px; }
.funil li i { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--gold), rgba(212, 175, 90, .35)); width: var(--w); min-width: 3px; }
.funil li b { text-align: right; font-variant-numeric: tabular-nums; }
.funil li small { grid-column: 2 / 4; color: var(--muted); font-size: 11.5px; }


.cc-card { display: grid; gap: 10px; }
.cc-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.cc-steps li { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 7px; font-size: 12px; color: var(--muted); background: var(--surface-2); }
.cc-steps li .ic { width: 14px; height: 14px; }
.cc-steps li.on { color: var(--green); background: rgba(52, 211, 153, .1); }
.cc-next { display: grid; gap: 8px; justify-items: start; }
.cc-mem { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; width: 100%; }
.cc-mem li { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.cc-mem li .ic { width: 14px; height: 14px; color: var(--red); flex: none; }
.cc-mem li.ok .ic { color: var(--green); }
.cc-mem li b { color: var(--text); }
.cc-txt { white-space: pre-line; margin: 8px 0 0; }


.gf-badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; margin-left: 8px; padding: 0 8px; border-radius: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; vertical-align: middle; color: #111013; background: linear-gradient(90deg, #FF4D1A, #FFB547); white-space: nowrap; }
.gf-badge .ic { width: 13px; height: 13px; }
.gf-item { box-shadow: inset 0 0 0 1px rgba(255, 77, 26, .45); }
.gf-hero { display: flex; align-items: center; gap: 12px; margin: 10px auto 4px; max-width: 420px; padding: 10px 14px; border-radius: 14px; text-align: left; background: linear-gradient(90deg, rgba(255, 77, 26, .18), rgba(255, 181, 71, .08)); border: 1px solid rgba(255, 77, 26, .45); }
.gf-hero > .ic { width: 28px; height: 28px; color: #FFB547; flex: none; }
.gf-hero b { display: block; color: #FFB547; font-size: 15px; }
.gf-hero small { display: block; color: var(--muted); font-size: 12px; }
.gf-ver { display: inline-flex; vertical-align: middle; margin-left: 5px; color: #FF4D1A; filter: drop-shadow(0 0 4px rgba(255, 120, 40, .55)); }
.gf-ver .ic { width: 1em; height: 1em; min-width: 15px; min-height: 15px; }
.gtag .gf-ver { margin-left: 3px; }
.gtag .gf-ver .ic { min-width: 11px; min-height: 11px; }


.theme-card.has-bg, .room-card.has-bg { contain: paint; }
.cbg { contain: strict; clip-path: inset(0); transform: translateZ(0); }


.gl-pick { display: grid; gap: 4px; max-height: 52vh; overflow: auto; }
.gl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 0; border-bottom: 1px solid var(--line); }
.gl-row .switch small { display: block; }
.gl-cap { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.gl-cap input { accent-color: #FF4D1A; }
.pz-svc { margin: 6px 0 14px; }
.pz-svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pz-svc-card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; text-align: left; background: var(--surface-2); border: 1px solid var(--line); }
.pz-svc-card .ic { width: 22px; height: 22px; color: #FFB547; flex: none; }
.pz-svc-card b { display: block; font-size: 13.5px; }
.pz-svc-card small { display: block; color: var(--muted); font-size: 11.5px; }
.pz-svc-card[disabled] { opacity: .55; }


.tag.age18 { gap: 4px; }
.chip-toggle { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 10px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 700; font-size: 13px; }
.chip-toggle.on { border-color: var(--green, #3ddc84); color: var(--fg, #fff); background: color-mix(in srgb, var(--green, #3ddc84) 14%, var(--surface)); }
.cta-bar.age-cta { flex-wrap: wrap; }
.cta-bar.age-cta > .btn { flex: 1 1 100%; justify-content: center; }
