/* Evexity MVP — design tokens follow the landing page */
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url(../fonts/dm-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url(../fonts/dm-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-display: swap; src: url(../fonts/dm-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url(../fonts/dm-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: italic; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-italic.woff2) format('woff2'); }

:root {
  --ink: #0B0D14; --ink-2: #3A3C47; --muted: #7A7C88;
  --paper: #FAFAF8; --paper-2: #F2F1EE; --card: #FFFFFF;
  --line: rgba(11, 13, 20, .09); --line-2: rgba(11, 13, 20, .16);
  --green: #1D9E75; --green-d: #0F6E56; --green-l: #E1F5EE;
  --coral: #D85A30; --coral-d: #993C1D; --coral-l: #FAECE7;
  --amber: #BA7517; --amber-d: #854F0B; --amber-l: #FAEEDA;
  --blue: #378ADD; --blue-d: #185FA5; --blue-l: #E6F1FB;
  --purple: #7B2D8B; --purple-l: #F3E8F7; --violet: #534AB7; --violet-l: #EEEDFE;
  --red: #E24B4A;
  --r: 14px; --r-lg: 20px;
  --shadow: 0 8px 30px rgba(11, 13, 20, .10);
  --shadow-lg: 0 20px 60px rgba(11, 13, 20, .18);
  --hdr: 56px; --nav: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: var(--sans); background: var(--paper-2); color: var(--ink); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.small, small { font-size: 12.5px; }
.tc { text-align: center; } .tl { text-align: left; } .tr { text-align: right; }
.row { display: flex; align-items: center; } .between { justify-content: space-between; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; } .flex1 { flex: 1; } .minw0 { min-width: 0; }
.mt4 { margin-top: 4px; } .mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }
.mb8 { margin-bottom: 8px; } .mb12 { margin-bottom: 12px; } .mb16 { margin-bottom: 16px; } .ml-auto { margin-left: auto; }
.pos { color: var(--green); } .neg { color: var(--red); }

/* ── App frame ── */
#app { max-width: 480px; margin: 0 auto; height: 100dvh; background: var(--paper); display: flex; flex-direction: column; position: relative; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.boot { flex: 1; display: grid; place-items: center; }
.boot img { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hdr { height: calc(var(--hdr) + var(--safe-t)); padding: var(--safe-t) 16px 0; display: flex; align-items: center; justify-content: space-between; background: rgba(250, 250, 248, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); flex-shrink: 0; z-index: 20; }
.hdr-logo { height: 26px; width: auto; }
.hdr-right { display: flex; align-items: center; gap: 8px; }
.hdr-pc { font-size: 12px; font-weight: 600; color: var(--green-d); background: var(--green-l); padding: 5px 10px; border-radius: 99px; }
.hdr-xp { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 99px; }
.hdr-xp b { font-weight: 700; }
.hdr-xp.bump { animation: bump .6s ease; }
@keyframes bump { 30% { transform: scale(1.15); background: var(--green); } }

main { flex: 1; position: relative; overflow: hidden; }
.screen { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.screen-pad { padding: 16px 16px calc(28px); }
.screen-head { margin: 4px 0 14px; }
.screen-head h1 { font-size: 34px; line-height: 1.05; }
.screen-head p { font-size: 13.5px; margin-top: 2px; }

.tabbar { height: calc(var(--nav) + var(--safe-b)); padding-bottom: var(--safe-b); display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-top: 1px solid var(--line); flex-shrink: 0; z-index: 20; }
.tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #8A8C96; font-size: 10.5px; font-weight: 500; position: relative; }
.tabbar svg { width: 23px; height: 23px; }
.tabbar button.on { color: var(--green); }
.tabbar button.on::before { content: ''; position: absolute; top: 0; left: 28%; right: 28%; height: 2.5px; border-radius: 0 0 3px 3px; background: var(--green); }
.nav-dot { position: absolute; top: 9px; right: calc(50% - 16px); width: 8px; height: 8px; border-radius: 50%; background: var(--coral); border: 2px solid #fff; }

/* ── Buttons & form controls ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 99px; font-weight: 600; font-size: 14.5px; text-decoration: none; transition: transform .1s, opacity .2s, background .2s; white-space: nowrap; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; }
.btn-lg { height: 52px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-amber { background: var(--amber); color: #fff; }
.btn-blue { background: var(--blue-d); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-ghost { background: #fff; border: 1px solid var(--line-2); color: var(--ink); }
.link { color: var(--ink-2); font-size: 12.5px; font-weight: 500; padding: 4px 0; }
.xp-chip { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--green-l); color: var(--green-d); }
.btn .xp-chip { background: rgba(255, 255, 255, .22); color: inherit; }
.btn-ghost .xp-chip { background: var(--green-l); color: var(--green-d); }
.xp-chip.neg { background: #FCEBEB; color: var(--red); }

.lbl { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea, select {
  width: 100%; border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 13px; background: #fff; outline: none; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 80px; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(29, 158, 117, .14); }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.form-err { color: var(--red); font-size: 13px; font-weight: 500; min-height: 18px; margin: 10px 0 8px; }
.fineprint { font-size: 11.5px; color: var(--muted); margin-top: 12px; line-height: 1.5; }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; cursor: pointer; }
.switch-row small { font-size: 12px; }
.switch { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 99px; background: #D9D8D3; position: relative; flex-shrink: 0; cursor: pointer; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch:checked { background: var(--green); }
.switch:checked::after { transform: translateX(18px); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin-top: 16px; cursor: pointer; }
.check-row input { width: 20px; height: 20px; accent-color: var(--green); flex-shrink: 0; margin-top: 1px; }

.chips { display: flex; gap: 7px; }
.chips.wrap { flex-wrap: wrap; }
.chips-scroll { overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 34px; padding: 0 13px; border-radius: 99px; background: #fff; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio span { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line-2); font-size: 13px; cursor: pointer; }
.chip-radio input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-radio input:focus-visible + span { outline: 2px solid var(--green); }

.seg { display: flex; background: #EAE9E4; padding: 3px; border-radius: 12px; gap: 2px; }
.seg button { flex: 1; height: 36px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.seg4 button { font-size: 12px; padding: 0 4px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.amber { background: var(--amber); } .dot.blue { background: var(--blue); }

/* ── Cards & lists ── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card.pad, .pad { padding: 14px; }
.card-list { display: flex; flex-direction: column; gap: 10px; }
.sec-h { font-size: 15px; font-weight: 700; margin: 22px 0 10px; display: flex; align-items: center; gap: 8px; }
.sub-h { font-size: 13px; font-weight: 700; margin: 18px 0 8px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.count { font-size: 11px; background: var(--paper-2); padding: 1px 8px; border-radius: 99px; color: var(--ink-2); }
.empty { text-align: center; color: var(--muted); padding: 32px 16px; font-size: 14px; }
.meta { font-size: 12.5px; color: var(--muted); }
.banner { padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
.banner.warn { background: #FFF4E5; color: #7A4A06; border: 1px solid #F3D9AE; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.stat-row > div { padding: 12px 6px; text-align: center; border-right: 1px solid var(--line); }
.stat-row > div:last-child { border-right: 0; }
.stat-row b { display: block; font-size: 20px; font-weight: 700; }
.stat-row span { font-size: 11.5px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--paper-2); color: var(--ink-2); flex-shrink: 0; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.lg { width: 52px; height: 52px; font-size: 18px; background: rgba(255, 255, 255, .12); color: #fff; }
.tag { display: inline-flex; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.tag-Safety, .tag-safety { background: var(--coral-l); color: #712B13; }
.tag-Civic { background: var(--green-l); color: var(--green-d); }
.tag-Discussion { background: var(--purple-l); color: var(--purple); }
.tag-Recommend { background: var(--blue-l); color: #0C447C; }
.tag-business { background: var(--amber-l); color: var(--amber-d); }
.tag-public { background: var(--blue-l); color: var(--blue-d); }
.cat-Safety { background: var(--coral-l); color: #712B13; } .cat-Civic { background: var(--green-l); color: var(--green-d); }
.cat-Discussion { background: var(--purple-l); color: var(--purple); } .cat-Recommend { background: var(--blue-l); color: #0C447C; }
.pill-ok, .pill-pending, .pill-xp, .pill-neg, .pill-mine { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.pill-ok { background: var(--green-l); color: var(--green-d); }
.pill-pending { background: #FFF4E5; color: #7A4A06; }
.pill-xp { background: var(--green-l); color: var(--green-d); }
.pill-neg { background: #FCEBEB; color: var(--red); }
.pill-mine { background: var(--violet-l); color: var(--violet); }
.pill-mine.sm { font-size: 10px; padding: 1px 7px; }

/* ── Map ── */
.map-screen { position: absolute; inset: 0; }
#leaflet { position: absolute; inset: 0; background: #E8EEE4; }
.leaflet-container { font-family: var(--sans); }
.leaflet-control-attribution { font-size: 9.5px; }
.map-top { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 500; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.map-top > * { pointer-events: auto; }
.score-card { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .97); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow); width: 100%; }
.score-ring { --p: 70; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--green-d); flex-shrink: 0;
  background: radial-gradient(closest-side, #fff 78%, transparent 80% 100%), conic-gradient(var(--green) calc(var(--p) * 1%), #E8E6E0 0); }
.score-name { font-size: 13.5px; font-weight: 700; }
.score-bar { height: 5px; background: #E8E6E0; border-radius: 99px; margin: 5px 0 4px; overflow: hidden; }
.score-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #5DCAA5); border-radius: 99px; }
.score-sub { font-size: 11.5px; color: var(--muted); }
.map-top .chip { box-shadow: 0 2px 10px rgba(0, 0, 0, .08); border-color: transparent; }
.map-top .chip.on { border-color: var(--ink); }
.map-btn { position: absolute; z-index: 500; background: #fff; box-shadow: var(--shadow); border-radius: 12px; height: 42px; }
.legend-btn { left: 12px; bottom: 18px; padding: 0 14px; font-size: 13px; font-weight: 600; }
.gps-btn { right: 12px; bottom: 76px; width: 42px; display: grid; place-items: center; color: var(--blue-d); }
.fab { position: absolute; z-index: 500; right: 12px; bottom: 18px; height: 48px; padding: 0 18px; border-radius: 99px; background: var(--coral); color: #fff; font-weight: 700; font-size: 14.5px; box-shadow: 0 10px 30px rgba(216, 90, 48, .45); display: inline-flex; align-items: center; gap: 6px; }
.fab span { font-size: 20px; line-height: 1; }

.pin-wrap { background: none; border: 0; }
.pin { position: relative; width: 34px; height: 46px; display: flex; flex-direction: column; align-items: center; }
.pin-head { width: 32px; height: 32px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; border: 2.5px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .25); }
.pin-head span { transform: rotate(45deg); font-size: 14px; line-height: 1; }
.pin-safety .pin-head { background: var(--coral); }
.pin-business .pin-head { background: var(--amber); }
.pin-public .pin-head { background: var(--blue); }
.pin.pulse::before { content: ''; position: absolute; top: 2px; left: 1px; width: 32px; height: 32px; border-radius: 50%; background: var(--coral); opacity: .5; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { transform: scale(2.2); opacity: 0; } }
.pin-crown { position: absolute; top: -12px; right: -6px; font-size: 15px; font-style: normal; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)); }
.pin-bar { display: flex; width: 26px; height: 4px; border-radius: 3px; overflow: hidden; margin-top: 6px; box-shadow: 0 0 0 1.5px #fff; }
.pin-bar span, .rbar span { display: block; height: 100%; }
.g { background: var(--green); } .n { background: #C9C7BF; } .b { background: var(--red); }
.me-dot { background: var(--blue); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 6px rgba(55, 138, 221, .25); }

.placing-ui { display: none; }
.map-screen.placing .placing-ui { display: block; }
.map-screen.placing .fab, .map-screen.placing .legend-btn, .map-screen.placing .gps-btn, .map-screen.placing .map-top { display: none; }
.crosshair { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); z-index: 600; pointer-events: none; }
.crosshair .pin { animation: hover 1.2s ease-in-out infinite; transform-origin: bottom center; }
.crosshair .pin-head { width: 40px; height: 40px; border-width: 3px; box-shadow: 0 0 0 6px rgba(216, 90, 48, .25), 0 6px 16px rgba(0, 0, 0, .3); }
.crosshair::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 14px; height: 6px; margin-left: -7px; border-radius: 50%; background: rgba(0, 0, 0, .35); }
@keyframes hover { 50% { transform: translateY(-8px); } }
.placing-bar { position: absolute; left: 10px; right: 10px; bottom: 14px; z-index: 600; background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 10px; }
.placing-bar .row .btn { flex: 1; }
.placing-bar p { font-size: 14px; line-height: 1.35; }
.placing-bar small { color: var(--muted); }

.legend { display: flex; flex-direction: column; gap: 14px; }
.legend > div { display: flex; align-items: center; gap: 14px; }
.legend .pin { flex-shrink: 0; width: 44px; align-items: center; }
.legend p { font-size: 14px; line-height: 1.35; }
.legend small { color: var(--muted); }

/* ── Sheets ── */
#overlay-root { position: fixed; inset: 0; pointer-events: none; z-index: 1000; }
.sheet-wrap { position: absolute; inset: 0; pointer-events: auto; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(11, 13, 20, .45); opacity: 0; transition: opacity .25s; }
.sheet { position: relative; width: 100%; max-width: 480px; max-height: 92dvh; background: var(--paper); border-radius: 22px 22px 0 0; transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.sheet-grip { width: 40px; height: 5px; border-radius: 99px; background: #D5D3CC; margin: 9px auto 0; flex-shrink: 0; }
.sheet-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); font-size: 14px; color: var(--ink-2); z-index: 2; }
.sheet-body { padding: 14px 18px calc(22px + var(--safe-b)); overflow-y: auto; overscroll-behavior: contain; }
.sheet-title { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; padding-right: 36px; }
.sheet-center .sheet-body { padding-top: 6px; }
@media (min-width: 520px) {
  .sheet-wrap { align-items: center; }
  .sheet { border-radius: 22px; transform: translateY(30px) scale(.98); opacity: 0; transition: transform .25s, opacity .25s; max-height: 86dvh; }
  .sheet-wrap.open .sheet { opacity: 1; }
  .sheet-grip { display: none; }
}

/* ── Toasts ── */
#toast-host { position: fixed; top: calc(var(--safe-t) + 64px); left: 50%; transform: translateX(-50%); width: min(440px, calc(100% - 24px)); z-index: 2000; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 11px 14px; border-radius: 14px; font-size: 13.5px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(-10px); transition: all .25s; line-height: 1.4; }
.toast.show { opacity: 1; transform: none; }
.toast-xp { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.toast-xp .xp-chip { font-size: 13px; padding: 4px 10px; }
.toast-warn { background: #3A2A10; }
.toast-badge { background: linear-gradient(120deg, #2A1F3D, #0B0D14); }
.badge-pop-ico { font-size: 26px; }

/* ── Incident / place sheets ── */
.inc-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.inc-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--coral-l); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.verified { background: var(--green-l); color: var(--green-d); font-size: 13px; padding: 9px 12px; border-radius: 10px; }
.unverified { background: #FFF4E5; color: #7A4A06; font-size: 13px; padding: 9px 12px; border-radius: 10px; }
.inc-photo { border-radius: 12px; margin-top: 12px; max-height: 240px; width: 100%; object-fit: cover; }
.inc-desc { font-size: 15px; margin-top: 12px; color: var(--ink-2); }
.witness-list { display: flex; flex-direction: column; gap: 8px; }
.witness { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; }
.witness b { font-size: 12px; }
.witness-form { margin-top: 10px; }
.ok-note { background: var(--green-l); color: var(--green-d); padding: 10px 12px; border-radius: 10px; font-size: 13.5px; margin-top: 10px; }
.place-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; flex-shrink: 0; }
.place-ico.business { background: var(--amber-l); } .place-ico.public { background: var(--blue-l); }
.place-ico.lg { width: 52px; height: 52px; font-size: 25px; }
.rbar { display: flex; height: 7px; border-radius: 99px; overflow: hidden; background: #EEE; }
.rbar.thin { height: 5px; margin: 6px 0 4px; max-width: 180px; }
.rbar-empty { font-size: 11.5px; color: var(--muted); margin: 4px 0 2px; }
.rlegend { display: flex; gap: 12px; font-size: 12.5px; margin-top: 8px; flex-wrap: wrap; }
.inf-box { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 16px 0 12px; }
.inf-box small { display: block; color: var(--muted); font-size: 12px; }
.inf-crown { font-size: 26px; }

/* ── Check-in ── */
.loc-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin-bottom: 12px; }
.loc-card.demo { background: linear-gradient(120deg, #F4F1FB, #fff); }
.loc-ico { font-size: 22px; }
.loc-card small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }
.place-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; cursor: pointer; }
.place-name { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.influencer-line { font-size: 12px; color: var(--ink-2); }
.review-prompt { display: flex; align-items: center; gap: 12px; background: var(--green-l); border-radius: var(--r); padding: 12px; }
.review-prompt small { display: block; }
.verify { text-align: center; padding: 10px 0 4px; }
.verify .sheet-title { padding: 0; margin-top: 10px; }
.radar { width: 120px; height: 120px; margin: 6px auto 0; position: relative; display: grid; place-items: center; }
.radar span { font-size: 34px; position: relative; z-index: 1; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; animation: ring 1.8s ease-out infinite; }
.radar i:nth-child(2) { animation-delay: .9s; }
@keyframes ring { 0% { transform: scale(.3); opacity: .8; } 100% { transform: scale(1); opacity: 0; } }
.verify-ico { width: 76px; height: 76px; margin: 6px auto 0; border-radius: 50%; display: grid; place-items: center; font-size: 34px; }
.verify.ok .verify-ico { background: var(--green); color: #fff; font-weight: 700; animation: pop .4s ease; }
.verify.fail .verify-ico { background: var(--coral-l); }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.1); } }
.xp-earned { display: inline-block; margin-top: 12px; font-size: 22px; font-weight: 700; color: var(--green-d); background: var(--green-l); padding: 6px 18px; border-radius: 99px; }
.inf-win { background: var(--amber-l); color: var(--amber-d); padding: 10px 12px; border-radius: 12px; margin-top: 12px; font-size: 14px; }
.rate3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rate3 input { position: absolute; opacity: 0; }
.rate3 span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; font-size: 28px; cursor: pointer; transition: all .15s; }
.rate3 b { font-size: 13px; }
.rate3 input:checked + span { border-color: var(--ink); background: var(--paper-2); transform: translateY(-2px); }

/* ── Feed ── */
.compose-bar { display: flex; align-items: center; gap: 10px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 6px 6px 8px; font-size: 14px; }
.sort-row { display: flex; gap: 14px; margin: 12px 2px 8px; }
.sort-row button { font-size: 13px; font-weight: 600; color: var(--muted); }
.sort-row button.on { color: var(--ink); }
.posts { display: flex; flex-direction: column; gap: 10px; }
.post { display: flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 10px 6px; }
.votes { display: flex; flex-direction: column; align-items: center; width: 36px; flex-shrink: 0; }
.votes b { font-size: 13px; font-weight: 700; margin: 1px 0; }
.vote { width: 30px; height: 26px; border-radius: 8px; color: #A9AAB2; font-size: 14px; display: grid; place-items: center; }
.vote:disabled { opacity: .35; cursor: default; }
.vote.up.on { color: var(--green); background: var(--green-l); }
.vote.down.on { color: var(--red); background: #FCEBEB; }
.post-main { flex: 1; min-width: 0; }
.post-head { display: flex; align-items: center; gap: 8px; }
.post-head .meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.author { color: var(--ink); font-weight: 600; }
.rank-mini { color: var(--green-d); font-weight: 500; }
.post-text { font-size: 14.5px; margin: 8px 0 6px; color: var(--ink-2); overflow-wrap: anywhere; }
.post-photo { border-radius: 10px; max-height: 260px; width: 100%; object-fit: cover; margin-bottom: 6px; }
.post-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.comments { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 6px; }
.comment { display: flex; gap: 4px; padding: 6px 0; }
.comment .votes { width: 30px; }
.comment .votes b { font-size: 12px; }
.comment .vote { width: 24px; height: 20px; font-size: 11px; }
.comment p { font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.comment-form { display: flex; gap: 8px; margin-top: 6px; }
.comment-form input { padding: 8px 12px !important; font-size: 14px !important; border-radius: 99px !important; }

/* ── Petitions ── */
.pet { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.pet.mine { border-color: #CFCBF5; box-shadow: 0 0 0 3px var(--violet-l); }
.pet-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pet h3 { font-size: 16.5px; line-height: 1.3; margin: 8px 0 4px; }
.pet-desc { font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; }
.pbar { position: relative; height: 8px; background: var(--paper-2); border-radius: 99px; margin: 12px 0 6px; }
.pbar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green), #5DCAA5); }
.pbar .ms { position: absolute; top: -3px; width: 3px; height: 14px; border-radius: 2px; background: #CFCDC6; transform: translateX(-50%); }
.pbar .ms.hit { background: var(--green-d); }
.pbar-meta { font-size: 13px; }
.ms-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ms-row span { font-size: 11px; padding: 3px 8px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); }
.ms-row span.hit { background: var(--green-l); color: var(--green-d); font-weight: 600; }
.outcome { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.outcome.ok { background: var(--green-l); color: var(--green-d); } .outcome.part { background: var(--amber-l); color: var(--amber-d); } .outcome.no { background: #FCEBEB; color: var(--red); }
.council { margin-top: 10px; background: var(--paper-2); border-left: 3px solid var(--green); padding: 10px 12px; border-radius: 0 10px 10px 0; font-size: 13.5px; color: var(--ink-2); }
.big-ico { font-size: 44px; margin: 6px 0 8px; }

/* ── Area ── */
.area-select { width: auto !important; padding: 8px 12px !important; font-weight: 700; border-radius: 99px !important; }
.intel-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(11, 13, 20, .06); }
.intel-hero { background: var(--green); color: #fff; padding: 16px 18px; }
.intel-hero h3 { font-size: 19px; }
.intel-hero p { font-size: 12.5px; opacity: .85; }
.intel-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.intel-stats > div { padding: 12px; text-align: center; border-right: 1px solid var(--line); }
.intel-stats > div:last-child { border-right: 0; }
.intel-stats strong { display: block; font-size: 20px; }
.intel-stats span { font-size: 11.5px; color: var(--muted); }
.compare-preview { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--blue-l); padding: 12px 16px; text-align: left; }
.compare-preview p { font-size: 13px; color: #0C447C; flex: 1; }
.compare-tag { padding: 6px 13px; background: var(--blue-d); color: #fff; border-radius: 99px; font-size: 12.5px; font-weight: 600; }
.intel-row { display: flex; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); }
.intel-row:last-child { border-bottom: 0; }
.irow-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
.intel-row p { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.basis-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.basis { font-size: 11px; color: var(--muted); background: var(--paper-2); padding: 2px 8px; border-radius: 99px; }
.basis.low { background: #FFF4E5; color: #7A4A06; }
.mbar { display: inline-block; height: 6px; background: var(--paper-2); border-radius: 99px; overflow: hidden; flex: 1; }
.mbar span { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.bd-row { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 5px 0; }
.bd-row span:first-child { width: 112px; color: var(--ink-2); }
.bd-row b { width: 30px; text-align: right; }
.vibe { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-top: 8px; }
.vibe > div { display: flex; align-items: center; gap: 6px; }
.vibe small { width: 74px; color: var(--muted); font-size: 11.5px; }
.vibe b { font-size: 12px; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 10px; }
.spark > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; }
.spark span { width: 100%; max-width: 26px; background: var(--coral); opacity: .8; border-radius: 4px 4px 2px 2px; min-height: 3px; }
.spark small { font-size: 10px; color: var(--muted); }
.locked { position: relative; }
.locked > *:not(.lock-over) { filter: blur(3px); opacity: .6; pointer-events: none; }
.lock-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px; background: rgba(250, 250, 248, .55); font-size: 13.5px; }
.lock { font-size: 11px; font-weight: 600; color: var(--violet); background: var(--violet-l); padding: 2px 8px; border-radius: 99px; }
.heat { display: grid; grid-template-columns: 62px repeat(var(--cols), 1fr); gap: 3px; align-items: center; }
.heat .hm { text-align: center; font-size: 10px; color: var(--muted); }
.heat .hc { font-size: 11px; color: var(--ink-2); }
.heat i { aspect-ratio: 1; border-radius: 4px; background: rgba(216, 90, 48, var(--a)); }
.heat i.blur { background: repeating-linear-gradient(45deg, #ECEAE4, #ECEAE4 3px, #F4F3EF 3px, #F4F3EF 6px); }
.heat-legend { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.heat-legend span { width: 70px; height: 7px; border-radius: 99px; background: linear-gradient(90deg, rgba(216, 90, 48, .1), var(--coral)); }
.heat-legend small { font-size: 11px; }
.heat-wrap.locked .lock-over { background: rgba(250, 250, 248, .7); }
table.cmp { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13.5px; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.cmp th { padding: 10px 8px; text-align: center; background: var(--paper-2); font-size: 14px; }
.cmp th small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }
.cmp td { padding: 9px 8px; border-top: 1px solid var(--line); text-align: center; }
.cmp td:first-child { text-align: left; color: var(--ink-2); }
.cmp td.win { color: var(--green-d); font-weight: 700; background: rgba(29, 158, 117, .06); }
.cmp tr.lk td:not(:first-child) { color: #C5C4BE; letter-spacing: 2px; }
.upsell { margin-top: 12px; background: linear-gradient(120deg, var(--violet-l), #fff); border: 1px solid #DCD9F7; padding: 14px; border-radius: 14px; }
.upsell p { font-size: 13px; color: var(--ink-2); margin: 4px 0 10px; }

/* ── Profile ── */
.rank-hero { background: radial-gradient(120% 140% at 100% 0%, #2A1F3D 0%, var(--ink) 60%); color: #fff; border-radius: var(--r-lg); padding: 18px; position: relative; overflow: hidden; }
.rank-hero::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: url(../img/emblem.png) center/contain no-repeat; opacity: .12; }
.hero-name { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-sub { font-size: 12.5px; opacity: .65; }
.verified-badge { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green); font-size: 11px; vertical-align: 2px; }
.rank-pill { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; white-space: nowrap; position: relative; z-index: 1; }
.xp-big { margin-top: 16px; font-size: 14px; opacity: .85; }
.xp-big b { font-size: 34px; font-weight: 700; opacity: 1; letter-spacing: -.02em; }
.xp-bar { height: 8px; background: rgba(255, 255, 255, .14); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.card .xp-bar, .lp-sheet .xp-bar { background: var(--paper-2); }
.xp-bar.sm { height: 6px; margin: 8px 0 6px; }
.xp-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #7EE2BD); border-radius: 99px; transition: width .6s ease; }
.xp-bar-meta { font-size: 11.5px; opacity: .7; margin-top: 6px; }
.ladder { display: flex; align-items: center; margin-top: 14px; }
.ladder span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: rgba(255, 255, 255, .08); filter: grayscale(1); opacity: .5; }
.ladder span.on { filter: none; opacity: 1; background: rgba(255, 255, 255, .16); }
.ladder i { flex: 1; height: 2px; background: rgba(255, 255, 255, .12); }
.perks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.perks span { font-size: 11.5px; background: rgba(255, 255, 255, .1); padding: 3px 9px; border-radius: 99px; }
.streak b { font-size: 14px; }
.days { display: flex; justify-content: space-between; margin: 10px 0 6px; }
.days span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.days i { width: 16px; height: 16px; border-radius: 50%; background: var(--paper-2); }
.days span.on i { background: linear-gradient(135deg, #F6A24A, var(--coral)); }
.days small { font-size: 10px; color: var(--muted); }
.localplus { text-align: left; display: flex; flex-direction: column; gap: 6px; }
.localplus small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.localplus.on { background: linear-gradient(135deg, #EEEDFE, #fff); border-color: #DCD9F7; }
.invite { display: flex; align-items: center; gap: 12px; }
.invite small { display: block; }
.code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; margin-top: 6px; font-weight: 600; }
.survey-card { display: flex; align-items: center; gap: 12px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.survey-card small { display: block; }
.survey-card.done { background: #FBFBF9; }
.sv-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.sv-ico.xl { width: 72px; height: 72px; font-size: 34px; margin: 4px auto 12px; border-radius: 20px; }
.done-tick { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.sv-progress { height: 6px; background: var(--paper-2); border-radius: 99px; overflow: hidden; margin: 6px 40px 14px 0; }
.sv-progress span { display: block; height: 100%; background: var(--green); transition: width .3s; }
.sv-q { font-size: 19px; line-height: 1.35; margin-bottom: 14px; }
.sv-opts { display: flex; flex-direction: column; gap: 8px; }
.sv-opts button { text-align: left; padding: 13px 15px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line-2); font-size: 15px; font-weight: 500; }
.sv-opts button.on { border-color: var(--green); background: var(--green-l); color: var(--green-d); }
.sv-opts.scale { flex-direction: row; }
.sv-opts.scale button { flex: 1; text-align: center; font-size: 18px; font-weight: 700; padding: 14px 0; }
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.b-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; background: var(--paper-2); filter: grayscale(1); opacity: .45; }
.badge b { font-size: 11px; line-height: 1.2; }
.badge small { font-size: 9.5px; color: var(--muted); line-height: 1.2; }
.badge.got .b-ico { filter: none; opacity: 1; background: linear-gradient(135deg, #FFF3D6, #FAEEDA); box-shadow: 0 0 0 2px #F3D9AE; }
.badge:not(.got) b { color: var(--muted); }
.badge-xl { width: 96px; height: 96px; margin: 8px auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 44px; background: var(--paper-2); filter: grayscale(1); opacity: .5; }
.badge-xl.got { filter: none; opacity: 1; background: linear-gradient(135deg, #FFF3D6, #FAEEDA); box-shadow: 0 0 0 4px #F3D9AE; }
.lb-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.lb-row:last-child { border-bottom: 0; }
.lb-row.me { background: var(--green-l); }
.lb-row small { display: block; font-size: 11.5px; }
.lb-row b { font-size: 13.5px; }
.lb-pos { width: 24px; text-align: center; font-weight: 700; color: var(--muted); }
.lb-xp { font-size: 14px; }
.log-row { display: flex; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); gap: 10px; }
.log-row:last-child { border-bottom: 0; }
.log-row b { font-size: 13.5px; } .log-row small { display: block; }
.set-row { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.card .switch-row { margin: 0; }
.card .switch-row + .switch-row { border-top: 1px solid var(--line); }
.demo { padding: 0; }
.demo summary { padding: 14px; font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; }
.demo summary::-webkit-details-marker { display: none; }
.demo summary small { font-weight: 400; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 14px; }
.demo-grid button { text-align: left; font-size: 12.5px; padding: 10px; border-radius: 10px; background: var(--paper-2); line-height: 1.3; }
.demo-grid button:active { background: #E5E3DC; }
.demo-grid .danger { color: var(--red); grid-column: span 2; text-align: center; }
.lp-sheet .lp-head { background: linear-gradient(120deg, var(--violet), var(--purple)); color: #fff; border-radius: 16px; padding: 18px; margin: 4px 36px 14px 0; }
.lp-head span { font-family: var(--serif); font-size: 30px; font-weight: 600; display: block; line-height: 1; }
.lp-head small { opacity: .85; }
.perk-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; font-size: 14.5px; text-align: left; }
.rules { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; margin-top: 10px; }
.steps { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin: 12px 0; font-size: 15px; }

/* ── Photo picker ── */
.photo-pick { display: block; cursor: pointer; }
.photo-pick input { display: none; }
.photo-prev { display: grid; place-items: center; min-height: 64px; border: 1.5px dashed var(--line-2); border-radius: 12px; color: var(--muted); font-size: 14px; background: #fff; overflow: hidden; }
.photo-prev img { max-height: 180px; width: 100%; object-fit: cover; }

/* ── Celebration ── */
.celebrate { text-align: center; position: relative; padding-top: 8px; }
.celebrate-ico { font-size: 60px; animation: pop .6s ease; position: relative; z-index: 1; }
.celebrate h2 { font-size: 32px; margin: 6px 0 4px; }
.celebrate .perk-list { display: inline-flex; }
.confetti { position: absolute; inset: -20px 0 auto; height: 180px; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -10px; left: calc(var(--i) * 5.5%); width: 7px; height: 12px; border-radius: 2px; background: hsl(calc(var(--i) * 40), 70%, 55%); animation: fall 1.6s ease-in calc(var(--i) * .05s) forwards; }
@keyframes fall { to { transform: translateY(200px) rotate(540deg); opacity: 0; } }

/* ── Onboarding ── */
#app.onboard { background: radial-gradient(120% 60% at 100% 0%, rgba(123, 45, 139, .10), transparent 60%), radial-gradient(100% 50% at 0% 100%, rgba(29, 158, 117, .12), transparent 60%), var(--paper); overflow-y: auto; }
.ob { padding: calc(36px + var(--safe-t)) 24px calc(28px + var(--safe-b)); display: flex; flex-direction: column; min-height: 100%; }
.ob-emblem { width: 76px; height: 76px; animation: spin 40s linear infinite; }
.ob-emblem.sm { width: 52px; height: 52px; }
.ob-logo { height: 44px; width: auto; margin: 4px 0 26px; align-self: flex-start; }
.ob h1 { font-size: 42px; line-height: 1.04; margin-bottom: 22px; }
.ob h1 em { color: var(--purple); }
.ob h2 { font-size: 34px; margin: 16px 0 6px; }
.ob-points { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; flex: 1; }
.ob-points li { display: flex; gap: 14px; align-items: flex-start; }
.ob-points li > span { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.ob-points b { font-size: 15px; display: block; }
.ob-points small { color: var(--muted); font-size: 13px; }
.ob-form form { margin-top: 8px; }
.first-xp { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 6px; text-align: left; }
.first-xp button { display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.first-xp b { flex: 1; font-weight: 600; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; display: inline-block; animation: spin .7s linear infinite; }
.example { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); padding: 1px 6px; border-radius: 4px; }
.offline-bar { background: #3A2A10; color: #fff; font-size: 12.5px; text-align: center; padding: 6px 12px; }
.mod-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.mod-btn { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: #FCEBEB; color: var(--red); }
.flag-btn { font-size: 12px; color: var(--muted); }
.queue-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.setup { padding: 32px 24px; }
.setup code { background: var(--paper-2); padding: 2px 6px; border-radius: 6px; font-size: 13px; }
