/* Night City RP — neon blue on wet-night navy */
:root {
  --bg: #05070d; --bg2: #0a0f1c; --card: #0d1424; --card2: #111a2e; --line: #1c2740; --line2: #263453;
  --text: #e6eefb; --muted: #8b99b5; --neon: #2f8cf0; --neon2: #6fb6ff; --ice: #eaf6ff;
  --ok: #34d399; --warn: #fbbf24; --err: #f87171; --gold: #f5c451; --discord: #5865f2;
  --r: 14px; --glow: 0 0 6px rgba(47,140,240,.9), 0 0 18px rgba(47,140,240,.6), 0 0 42px rgba(47,140,240,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 Inter, system-ui, sans-serif; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; position: relative; z-index: 1; }
a { color: var(--neon2); text-decoration: none; }
a:hover { color: var(--ice); }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.2; }
h1, h2, .brand-t, .neon-h, .price, .stat b { font-family: 'Archivo Black', Inter, sans-serif; font-weight: 400; letter-spacing: .01em; }
img { max-width: 100%; }
kbd { background: var(--card2); border: 1px solid var(--line2); border-bottom-width: 3px; border-radius: 6px; padding: 0 6px; font: 600 12px Inter; }
.ic { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.pad { padding-top: 48px; padding-bottom: 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; } .tiny { font-size: 12px; }
.warn { color: var(--warn); } .err { color: var(--err); min-height: 1em; font-size: 13px; margin: 6px 0 0; }
.gold { color: var(--gold); }
.mono { font-family: ui-monospace, Consolas, monospace; }
.hidden { display: none !important; }

/* rain behind everything */
.rain { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .25;
  background-image: repeating-linear-gradient(105deg, transparent 0 22px, rgba(140,190,255,.10) 22px 23px, transparent 23px 61px);
  background-size: 240px 240px; animation: rain .6s linear infinite; }
@keyframes rain { to { background-position: -60px 240px; } }
@media (prefers-reduced-motion: reduce) { .rain, .sign span { animation: none !important; } }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(5,7,13,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ice); flex: none; }
.brand img { border-radius: 8px; }
.brand-t { font-size: 17px; color: var(--ice); text-shadow: var(--glow); white-space: nowrap; }
.brand-t b { color: var(--neon2); font-weight: 400; }
.brand-t.big { font-size: 22px; }
.links { display: flex; gap: 2px; margin: 0 auto; }
.links a { color: var(--muted); padding: 8px 11px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.links a:hover { color: var(--text); background: var(--card); }
.links a.on { color: var(--ice); background: var(--card2); box-shadow: inset 0 -2px 0 var(--neon); }
.side { display: flex; align-items: center; gap: 10px; flex: none; }
.burger { display: none; background: none; border: 0; color: var(--text); padding: 6px; cursor: pointer; }
.burger .ic { width: 24px; height: 24px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font: 600 13px Inter; white-space: nowrap; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--err); }
.status-pill.up i { background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.more-menu { position: relative; }
.more-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--muted); padding: 8px 11px; border-radius: 10px; font: 600 14px Inter; cursor: pointer; }
.more-btn:hover, .more-menu.open .more-btn { color: var(--text); background: var(--card); }
.more-btn.on { color: var(--ice); }
.more-btn .chev { width: 15px; height: 15px; vertical-align: 0; transition: transform .15s; }
.more-menu.open .chev { transform: rotate(180deg); }
.more-drop { display: none; position: absolute; left: 0; top: calc(100% + 8px); min-width: 180px; background: var(--card); border: 1px solid var(--line2); border-radius: 12px; padding: 6px; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.more-menu.open .more-drop { display: flex; flex-direction: column; }
.more-drop a { color: var(--text); }
.links .more-drop a.on { box-shadow: inset 2px 0 0 var(--neon); }
.play-btn { padding: 7px 14px; }
.me-menu { position: relative; }
.me-btn { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); color: var(--text); border-radius: 99px; padding: 3px 12px 3px 3px; cursor: pointer; font: 600 14px Inter; }
.me-btn img { border-radius: 50%; }
.me-btn span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-drop { display: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: var(--card); border: 1px solid var(--line2); border-radius: 12px; padding: 6px; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.me-menu.open .me-drop { display: block; }
.me-drop a { display: flex; gap: 9px; align-items: center; padding: 9px 10px; border-radius: 8px; color: var(--text); }
.me-drop a:hover { background: var(--card2); }

@media (max-width: 1020px) {
  .burger { display: block; order: 3; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 8px 16px 14px; margin: 0; }
  body.nav-open .links { display: flex; }
  .more-menu { display: contents; }
  .more-btn { display: none; }
  .more-drop { display: contents; }
  .play-btn { display: none; }
  .side { margin-left: auto; }
  .me-btn span { display: none; }
}
@media (max-width: 480px) { .brand-t { display: none; } .status-pill { font-size: 12px; padding: 4px 9px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--neon); color: #fff; border: 0; border-radius: 11px; padding: 11px 18px; font: 700 14px Inter; cursor: pointer; transition: .15s; box-shadow: 0 0 0 rgba(47,140,240,0); white-space: nowrap; }
.btn:hover { color: #fff; background: #3d98f7; box-shadow: 0 0 22px rgba(47,140,240,.55); transform: translateY(-1px); }
.btn.big { padding: 14px 24px; font-size: 15px; }
.btn.sm { padding: 7px 12px; font-size: 13px; }
.btn.wide { width: 100%; }
.btn.ghost { background: transparent; border: 1px solid var(--line2); color: var(--text); }
.btn.ghost:hover { border-color: var(--neon); box-shadow: none; }
.btn.discord { background: var(--discord); }
.btn.discord:hover { background: #6b77f5; box-shadow: 0 0 22px rgba(88,101,242,.5); }
.btn.danger { background: #b23b3b; } .btn.danger:hover { background: #c94848; box-shadow: none; }
.btn:disabled { opacity: .5; pointer-events: none; }
.icon-btn { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 8px; }
.icon-btn:hover { color: var(--text); background: var(--card2); }

/* cards + bits */
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.grid { display: grid; gap: 16px; }
.feats { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.feat h3 { font-size: 17px; margin-top: 12px; }
.feat p { margin: 0 0 10px; }
.feat-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(47,140,240,.12); color: var(--neon2); border: 1px solid rgba(47,140,240,.3); flex: none; }
.feat-ic .ic { width: 22px; height: 22px; }
.tag { display: inline-block; font: 700 11px Inter; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: var(--card2); border: 1px solid var(--line2); color: var(--muted); }
.tag.t-update { color: var(--neon2); border-color: rgba(47,140,240,.4); }
.tag.t-fix { color: var(--ok); border-color: rgba(52,211,153,.4); }
.tag.t-event { color: var(--gold); border-color: rgba(245,196,81,.4); }
.tag.t-news { color: #c4a5ff; border-color: rgba(196,165,255,.4); }
.tag.t-feature { color: #a78bfa; border-color: rgba(139,92,246,.45); }
.tag.t-store { color: #f472b6; border-color: rgba(236,72,153,.4); }
.tag.staff { color: #38d6f5; border-color: rgba(56,214,245,.4); vertical-align: middle; margin-left: 8px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font: 600 12px Inter; background: var(--card2); color: var(--muted); border: 1px solid var(--line2); white-space: nowrap; }
.pill.up, .pill.st-delivered, .pill.st-accepted { color: var(--ok); border-color: rgba(52,211,153,.35); }
.pill.st-paid, .pill.st-pending { color: var(--neon2); border-color: rgba(47,140,240,.35); }
.pill.st-waiting, .pill.st-manual { color: var(--warn); border-color: rgba(251,191,36,.35); }
.pill.st-refunded, .pill.st-disputed, .pill.st-failed, .pill.st-denied { color: var(--err); border-color: rgba(248,113,113,.35); }
/* business offers (/businesses + Staff panel → Business offers) */
.offer-pill.countered, .offer-pill.paid { color: var(--warn); border-color: rgba(251,191,36,.4); }
.offer-pill.accepted, .offer-pill.done { color: var(--ok); border-color: rgba(52,211,153,.4); }
.offer-pill.declined, .offer-pill.withdrawn { color: var(--err); border-color: rgba(248,113,113,.35); }
.sec-h { font-size: 24px; margin: 40px 0 16px; display: flex; align-items: center; gap: 10px; }
.sec-h .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--neon)); box-shadow: 0 0 10px var(--c, var(--neon)); }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec-row .sec-h { margin-bottom: 16px; }
.more { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; white-space: nowrap; }
.page-h { font-size: clamp(28px, 4vw, 40px); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.page-h .ic { width: 30px; height: 30px; color: var(--neon2); filter: drop-shadow(0 0 8px rgba(47,140,240,.7)); }
.flash { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); }
.flash.err { background: rgba(248,113,113,.1); border-color: rgba(248,113,113,.35); }
.note { display: flex; gap: 14px; align-items: flex-start; margin: 16px 0; }
.note > .ic { color: var(--neon2); width: 22px; height: 22px; margin-top: 2px; }
.back { display: inline-block; margin-bottom: 14px; font-weight: 600; }
.chip { background: var(--card); border: 1px solid var(--line); color: var(--muted); padding: 6px 14px; border-radius: 99px; font: 600 13px Inter; cursor: pointer; display: inline-block; }
.chip.on, .chip:hover { color: var(--ice); border-color: var(--neon); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 20px 0 8px; overflow-x: auto; }
.tab { padding: 10px 16px; color: var(--muted); font-weight: 700; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab.on { color: var(--ice); border-color: var(--neon); }

/* hero + neon sign */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.brick { position: absolute; inset: 0; opacity: .5;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(47,140,240,.22), transparent 60%),
    linear-gradient(180deg, transparent 60%, var(--bg)),
    repeating-linear-gradient(0deg, #1a1012 0 2px, transparent 2px 28px),
    repeating-linear-gradient(90deg, #1a1012 0 2px, transparent 2px 64px),
    #2a1a1c; }
.brick::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 32px, #1a1012 32px 34px, transparent 34px 64px); background-position: 0 28px; -webkit-mask: repeating-linear-gradient(0deg, transparent 0 28px, #000 28px 56px); mask: repeating-linear-gradient(0deg, transparent 0 28px, #000 28px 56px); }
.hero-in { position: relative; padding: 90px 16px 70px; text-align: center; }
.sign { display: inline-block; user-select: none; }
.sign-main { font: 400 clamp(44px, 10vw, 118px)/1 'Archivo Black', sans-serif; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 2px var(--ice); }
.sign-main span { display: inline-block; text-shadow: none; animation: lightup 11.4s infinite; animation-delay: calc(var(--i) * .18s); }
@keyframes lightup {
  0%, 2% { color: transparent; -webkit-text-stroke-color: #4b5a72; text-shadow: none; }
  3%, 5% { color: var(--ice); -webkit-text-stroke-color: var(--ice); text-shadow: var(--glow); }
  6% { color: transparent; -webkit-text-stroke-color: #4b5a72; text-shadow: none; }
  7%, 96% { color: var(--ice); -webkit-text-stroke-color: var(--ice); text-shadow: var(--glow); }
  100% { color: var(--ice); -webkit-text-stroke-color: var(--ice); text-shadow: var(--glow); }
}
.sign-sub { display: flex; align-items: center; gap: 18px; justify-content: center; margin-top: 14px; }
.sign-sub i { height: 3px; flex: 1; max-width: 260px; background: var(--ice); box-shadow: var(--glow); border-radius: 2px; }
.sign-sub span { font: 400 clamp(22px, 4vw, 40px) 'Archivo Black'; color: var(--ice); text-shadow: var(--glow); }
.lead { max-width: 640px; margin: 28px auto; font-size: 18px; color: #c4d2ea; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.stats { display: flex; justify-content: center; gap: 14px; margin-top: 44px; flex-wrap: wrap; }
.stat { background: rgba(13,20,36,.7); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 24px; min-width: 180px; backdrop-filter: blur(6px); }
.stat b { display: block; font-size: 30px; color: var(--ice); }
.stat b.up { color: var(--ok); text-shadow: 0 0 14px rgba(52,211,153,.5); }
.stat span { color: var(--muted); font-size: 13px; }

/* hero (big picture) */
.hero2 { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(86vh, 820px); border-bottom: 1px solid var(--line); background: var(--bg2); }
.page-home .hero2:first-child { margin-top: -65px; padding-top: 65px; } /* runs under the see-through header */
.hero2-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero2::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,7,13,.94) 0%, rgba(5,7,13,.78) 32%, rgba(5,7,13,.2) 62%, rgba(5,7,13,0) 80%), linear-gradient(180deg, rgba(5,7,13,0) 60%, var(--bg) 100%); }
.hero2.no-bg::after { background: radial-gradient(ellipse at 75% 30%, rgba(47,140,240,.18), transparent 60%); }
.hero2-in { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 88px; }
.hero2-live { display: inline-flex; align-items: center; gap: 8px; font: 600 13px Inter; color: #c4d2ea; padding: 6px 12px; border-radius: 99px; background: rgba(13,20,36,.6); border: 1px solid var(--line2); backdrop-filter: blur(6px); margin-bottom: 26px; }
.hero2-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--err); }
.hero2-live.up i { background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 2s infinite; }
.hero2-live b { color: var(--ice); }
.hero2-h { font: 800 clamp(46px, 7.4vw, 92px)/1 Inter, sans-serif; letter-spacing: -.035em; color: #fff; margin: 0; max-width: 11ch; }
.hero2-h span { display: block; color: var(--neon2); }
.hero2-lead { font-size: clamp(17px, 1.6vw, 20px); color: #c4d2ea; max-width: 520px; margin: 22px 0 34px; line-height: 1.55; }
.hero2 .cta { justify-content: flex-start; }
.hero2 .btn.ghost { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.hero2 .btn.ghost:hover { border-color: #fff; }
.hero2-facts { display: flex; gap: 40px; margin: 56px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); max-width: 520px; }
.hero2-facts dt { font: 700 26px Inter; color: #fff; letter-spacing: -.02em; }
.hero2-facts dd { margin: 0; color: var(--muted); font-size: 13px; }
@media (max-width: 700px) {
  .hero2 { min-height: 0; }
  .hero2::after { background: linear-gradient(180deg, rgba(5,7,13,.55) 0%, rgba(5,7,13,.85) 55%, var(--bg) 100%); }
  .hero2-facts { gap: 24px; }
}

/* highlights (3 big points) */
.hl { padding-top: 96px; padding-bottom: 40px; }
.hl-h { font: 800 clamp(28px, 3.4vw, 40px)/1.15 Inter, sans-serif; letter-spacing: -.025em; margin: 0 0 40px; }
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.hl-item { border-top: 1px solid var(--line2); padding-top: 22px; display: flex; flex-direction: column; }
.hl-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; margin-bottom: 18px; }
.hl-n { font: 600 13px ui-monospace, Consolas, monospace; color: var(--neon2); letter-spacing: .08em; }
.hl-item h3 { font: 700 21px/1.3 Inter, sans-serif; letter-spacing: -.01em; margin: 10px 0 10px; color: #fff; }
.hl-t { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.hl-t p { margin: 0 0 10px; }
.hl-a { margin-top: auto; padding-top: 8px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; }
.hl-a .ic { width: 16px; height: 16px; vertical-align: 0; transition: transform .15s; }
.hl-a:hover .ic { transform: translateX(3px); }
@media (max-width: 860px) { .hl-grid { grid-template-columns: 1fr; gap: 32px; } .hl { padding-top: 64px; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 20px 20px 66px; position: relative; display: flex; flex-direction: column; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 400 16px 'Archivo Black'; color: var(--ice); background: var(--neon); box-shadow: 0 0 16px rgba(47,140,240,.6); }
.posts { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post { color: var(--text); display: flex; flex-direction: column; gap: 8px; transition: .15s; }
.post:hover { border-color: var(--neon); color: var(--text); transform: translateY(-2px); }
.post h3 { margin: 0; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.strip img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; background: radial-gradient(ellipse at 0 0, rgba(47,140,240,.18), transparent 60%), var(--card); }
.cta-card .cta { justify-content: flex-start; }

/* rules */
.rule-sec { margin-top: 16px; }
.rule-sec h2 { display: flex; align-items: center; gap: 12px; font-size: 21px; }
.rule-sec .num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--neon); color: #fff; font-size: 16px; box-shadow: 0 0 14px rgba(47,140,240,.5); }
.rule-sec ol { list-style: none; padding: 0; margin: 10px 0 0; }
.rule-sec li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; }
.rn { color: var(--neon2); font-weight: 700; min-width: 34px; }

/* city */
.biz { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.biz-card { display: flex; align-items: center; gap: 14px; padding: 16px; }
.biz-card h3 { font-size: 15px; margin: 0; }
.biz-card .pill { margin-left: auto; }
.biz-card.vacant { opacity: .65; }

/* store */
.store-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.badge { background: #fff; color: var(--neon); border-radius: 99px; padding: 0 7px; font-size: 12px; min-width: 20px; }
.products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.product h3 { font-size: 16px; margin: 0; }
.pimg { aspect-ratio: 4/3; border-radius: 10px; background: radial-gradient(ellipse at 50% 60%, rgba(47,140,240,.18), transparent 70%), var(--bg2); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.pimg img { max-height: 100%; object-fit: contain; }
.pimg .ic { width: 48px; height: 48px; color: var(--neon2); }
.price { font-size: 22px; color: var(--ice); }
.price small { font: 500 13px Inter; color: var(--muted); margin-left: 4px; }
.product .btn { margin-top: auto; }
.gem-price { display: flex; align-items: center; gap: 6px; font: 700 18px Inter; color: #9fd0ff; margin-top: auto; }
.gem-price s { color: var(--muted); font-weight: 500; font-size: 14px; }
.ribbon { position: absolute; top: 12px; right: 12px; z-index: 2; font: 800 11px Inter; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: var(--neon); color: #fff; }
.ribbon.sale { background: #e5484d; }
.ribbon.popular { background: linear-gradient(90deg, #f59e0b, #f5c451); color: #241500; }
.swatches { display: flex; gap: 5px; flex-wrap: wrap; }
.swatches i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line2); }
.desc summary { cursor: pointer; color: var(--neon2); font-size: 13px; font-weight: 600; }
.desc div { font-size: 13px; color: var(--muted); }
.vip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.vip-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.vip-card img { max-height: 120px; }
.vip-card .btn { width: 100%; margin-top: auto; }
.vip-card.tier-0 { --t: #f5c451; } .vip-card.tier-1 { --t: #c9d6e8; } .vip-card.tier-2 { --t: #6fd3ff; } .vip-card.tier-3 { --t: #c084fc; }
.vip-card { border-top: 3px solid var(--t, var(--neon)); }
.vip-card h3 { color: var(--t); font-size: 22px; font-family: 'Archivo Black'; font-weight: 400; }
.table-card { padding: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; background: var(--bg2); }
tr:last-child td { border-bottom: 0; }
.vip-table td:not(:first-child), .vip-table th:not(:first-child) { text-align: center; }
.vip-table td:first-child { font-weight: 600; }

.drawer { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: .2s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: var(--bg2); border-left: 1px solid var(--line2); display: flex; flex-direction: column; transform: translateX(100%); transition: .25s; }
.drawer.open .drawer-in { transform: none; }
.drawer-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-h h2 { margin: 0; font-size: 20px; display: flex; gap: 10px; align-items: center; }
.cart-lines { flex: 1; overflow-y: auto; padding: 12px 20px; }
.cart-line { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: var(--card); }
.cart-line .nm { flex: 1; font-weight: 600; font-size: 14px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--line2); background: var(--card); color: var(--text); cursor: pointer; }
.cart-foot { padding: 18px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.total { display: flex; justify-content: space-between; font-size: 18px; }
.total b { font-family: 'Archivo Black'; font-weight: 400; }
.check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-in { max-width: 420px; }
.ok-ring { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(52,211,153,.15); color: var(--ok); border: 2px solid var(--ok); box-shadow: 0 0 20px rgba(52,211,153,.4); }
.ok-ring .ic { width: 30px; height: 30px; }

/* forms */
input, select, textarea { width: 100%; background: var(--bg); border: 1px solid var(--line2); color: var(--text); border-radius: 10px; padding: 10px 12px; font: 14px Inter; }
input[type=checkbox] { width: auto; }
input[type=color] { width: 80px; height: 42px; padding: 3px; cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(47,140,240,.2); }
.lbl { display: block; font-weight: 600; font-size: 13px; color: #c4d2ea; margin: 14px 0 6px; }
.form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.form .lbl { margin-bottom: -4px; }
.form > .btn { align-self: flex-start; }
.row-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-form input:not([type=hidden]):not([type=file]) { flex: 1; min-width: 180px; width: auto; }
.row-form select { width: auto; }
.form.row-form { flex-direction: row; align-items: center; }
.form.row-form > .btn { align-self: center; }
td .row-form { flex-wrap: nowrap; margin-bottom: 6px; }
.apply-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 20px; }
.apply-card { color: var(--text); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; transition: .15s; }
.apply-card:hover { border-color: var(--neon); color: var(--text); transform: translateY(-2px); }
.apply-card.closed { opacity: .55; }
.apply-card .apply-top { display: flex; align-items: center; gap: 10px; width: 100%; }
.apply-card .apply-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--neon); flex: none; box-shadow: 0 0 10px currentColor; }
.apply-card h3 { margin: 0; flex: 1; }
/* job application form (questions come from the business, set in game) */
.jq { padding: 14px 0; border-top: 1px solid var(--line2); }
.jq:first-of-type { border-top: 0; }
.jq .lbl { margin: 0 0 4px; font-size: 14px; color: var(--text); }
.jq .lbl .req { color: var(--err); margin-left: 3px; }
.jq .help { margin: 0 0 8px; }
.jq .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.jq .opts label { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line2); border-radius: 10px; cursor: pointer; font-size: 14px; }
.jq .opts label:has(input:checked) { border-color: var(--neon); background: rgba(47,140,240,.1); }
.jq .opts input { width: auto; margin: 0; }
.jq.bad input, .jq.bad textarea, .jq.bad select, .jq.bad .opts label { border-color: var(--err); }
.jq .jq-err { color: var(--err); margin: 6px 0 0; font-size: 13px; }
.pill.down { color: var(--err); border-color: rgba(248,113,113,.35); }
.japp-reply { margin-top: 4px; white-space: pre-wrap; }

/* account */
.profile { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.profile img { border-radius: 50%; border: 2px solid var(--neon); box-shadow: 0 0 16px rgba(47,140,240,.5); }
.profile h1 { margin: 0; font-size: 26px; }
.profile-stats { margin-left: auto; display: flex; gap: 12px; }
.profile-stats > div { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px; display: flex; flex-direction: column; min-width: 120px; }
.profile-stats b { font-size: 18px; display: flex; gap: 6px; align-items: center; }
.chars { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.char { display: flex; flex-direction: column; gap: 10px; }
.char-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.char-h h3 { margin: 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: 14px; }
.kv span { color: var(--muted); }
.bp-h { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.pbar { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; border: 1px solid var(--line); }
.pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--neon), #8b5cf6); box-shadow: 0 0 10px var(--neon); }

/* staff */
.team { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.member { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ava { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 400 26px 'Archivo Black'; color: #fff; background: var(--bg2); border: 2px solid var(--c); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 50%, transparent); margin-bottom: 6px; position: relative; overflow: hidden; }
.ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* updates + gallery */
.post-full { margin-top: 18px; scroll-margin-top: 90px; }
.post-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.prose p, .prose li { color: #c9d5ea; }
.prose ul { padding-left: 20px; }
.post-body p.subh { margin: 16px 0 0; color: var(--ice); font-family: 'Archivo Black'; letter-spacing: .02em; }
.post-body p.subh b { font-weight: 400; }
.post-body ul { margin: 6px 0 4px; }
.post-body li::marker { color: var(--neon2); }
.masonry { columns: 3 300px; column-gap: 12px; }
.shot { margin: 0 0 12px; break-inside: avoid; position: relative; cursor: zoom-in; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.shot img { display: block; width: 100%; }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 12px 10px; font-size: 13px; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.shot figcaption { display: flex; flex-direction: column; gap: 4px; }
.shot-cap { font-weight: 600; }
.shot-meta { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.shot-by { font-size: 12px; color: #d7e3f7; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; min-width: 0; }
.shot-at { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.shot-at .ic { width: 13px; height: 13px; vertical-align: 0; }
.like { display: inline-flex; align-items: center; gap: 5px; background: rgba(5,7,13,.55); border: 1px solid var(--line2); color: var(--text); border-radius: 99px; padding: 4px 10px; font: 600 12px Inter; cursor: pointer; flex: none; }
.like .ic { width: 15px; height: 15px; vertical-align: 0; }
.like:hover { border-color: #f472b6; color: #fff; }
.like.on { color: #f472b6; border-color: rgba(244,114,182,.6); }
.like.on .ic { fill: currentColor; }
.shot-crown { position: absolute; top: 8px; right: 8px; color: var(--gold); background: rgba(5,7,13,.7); border-radius: 99px; padding: 5px; display: grid; }
.shot-crown .ic { width: 16px; height: 16px; vertical-align: 0; }
.potw { position: relative; margin: 8px 0 24px; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(245,196,81,.45); box-shadow: 0 0 30px rgba(245,196,81,.12); cursor: zoom-in; }
.potw img { display: block; width: 100%; max-height: 560px; object-fit: cover; }
.potw figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.potw figcaption b { font-size: 18px; }
.potw-tag { color: var(--gold); font: 700 13px Inter; text-transform: uppercase; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 600px) { .potw figcaption { position: static; background: var(--card); padding: 12px 14px; } }
.thumb .tag-row { display: flex; flex-wrap: wrap; gap: 4px; }
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.9); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; border-radius: 10px; }

/* Play now: launching popup with fallback (no FiveM installed) */
.play-pop { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.75); display: grid; place-items: center; padding: 16px; }
.play-pop[hidden] { display: none; }
.play-box { width: 100%; max-width: 420px; background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--r); padding: 24px; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.play-box h3 { margin: 0; font-size: 20px; }
.play-box p { margin: 0; color: var(--muted); font-size: 14px; }
.play-spin { width: 34px; height: 34px; margin: 0 auto; border-radius: 50%; border: 3px solid var(--line2); border-top-color: var(--neon); animation: play-spin .8s linear infinite; }
@keyframes play-spin { to { transform: rotate(360deg); } }
.play-copy { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; padding: 6px 6px 6px 12px; text-align: left; }
.play-copy code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.play-box .cta { margin-top: 4px; }
.play-help { display: flex; flex-direction: column; gap: 12px; }
.play-help[hidden], .play-spin[hidden] { display: none; }

/* staff panel */
.app { margin-top: 10px; }
.app summary { cursor: pointer; }
.qa { margin-top: 12px; }
.qa p { margin: 2px 0 0; white-space: pre-wrap; }
.app .row-form { margin-top: 14px; }
.list-row { display: flex; gap: 12px; align-items: center; padding: 12px 16px; margin-top: 8px; }
.list-row b { flex: 1; }
.thumbs { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.thumb { padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.thumb img { aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; }
.thumb form { align-self: flex-end; }

/* rules docs (GitBook-style) */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 40px; padding-top: 36px; align-items: start; }
.docs-nav, .docs-toc { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; }
.docs-brand { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 12px; color: var(--ice); }
.docs-brand .ic { color: var(--neon2); }
.docs-search { margin-bottom: 12px; }
.docs-nav nav { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.docs-nav nav a { color: var(--muted); padding: 7px 14px; margin-left: -1px; border-left: 2px solid transparent; font-weight: 500; font-size: 14px; }
.docs-nav nav a:hover { color: var(--text); }
.docs-nav nav a.on { color: var(--ice); border-left-color: var(--neon); font-weight: 700; background: linear-gradient(90deg, rgba(47,140,240,.12), transparent); }
.docs-results { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.docs-results a { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.docs-results a b { color: var(--text); }
.docs-mobile { display: none; }
.docs-title { font-size: clamp(30px, 4vw, 42px); margin-bottom: 6px; }
.docs-sub { color: var(--muted); font-size: 17px; font-style: italic; margin: 0 0 18px; }
.doc-body { font-size: 15.5px; line-height: 1.7; }
.doc-body h2, .doc-body h3 { font-family: 'Archivo Black'; font-weight: 400; margin: 28px 0 10px; scroll-margin-top: 90px; letter-spacing: .02em; }
.doc-body h3 { font-size: 19px; }
.doc-body .anchor { opacity: 0; margin-left: 8px; color: var(--muted); font-family: Inter; }
.doc-body h2:hover .anchor, .doc-body h3:hover .anchor { opacity: 1; }
.doc-body hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.doc-body ul { padding-left: 22px; }
.doc-body li { margin: 6px 0; }
.doc-body li::marker { color: var(--neon2); }
.doc-body mark { background: none; color: #ffe066; text-shadow: 0 0 10px rgba(255,224,102,.5); }
.doc-body .doc-table { margin: 14px 0; }
.hint { display: flex; gap: 12px; padding: 12px 16px; border-radius: 12px; margin: 16px 0; border: 1px solid; }
.hint > .ic { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.hint p { margin: 0; }
.hint.info { background: rgba(47,140,240,.08); border-color: rgba(47,140,240,.35); } .hint.info > .ic { color: var(--neon2); }
.hint.success { background: rgba(52,211,153,.08); border-color: rgba(52,211,153,.35); } .hint.success > .ic { color: var(--ok); }
.hint.warning { background: rgba(251,191,36,.08); border-color: rgba(251,191,36,.35); } .hint.warning > .ic { color: var(--warn); }
.hint.danger { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.4); } .hint.danger > .ic { color: var(--err); }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.docs-pager a { display: flex; flex-direction: column; color: var(--text); padding: 14px 18px; }
.docs-pager a:hover { border-color: var(--neon); color: var(--text); }
.docs-pager a.next { text-align: right; grid-column: 2; }
.docs-toc { display: flex; flex-direction: column; gap: 8px; font-size: 13px; padding-left: 14px; border-left: 1px solid var(--line); }
.docs-toc a { color: var(--muted); }
.docs-toc a:hover { color: var(--ice); }
@media (max-width: 1100px) { .docs { grid-template-columns: 220px minmax(0, 1fr); } .docs-toc { display: none; } }
@media (max-width: 760px) {
  .docs { grid-template-columns: 1fr; gap: 12px; }
  .docs-nav { position: static; max-height: none; }
  .docs-nav nav, .docs-brand { display: none; }
  .docs-mobile { display: block; }
}
code { font: 13px ui-monospace, Consolas, monospace; background: var(--bg2); border: 1px solid var(--line2); border-radius: 5px; padding: 1px 5px; }

/* page builder blocks */
.pad-top { padding-top: 48px; }
.small-h { font-size: 18px; margin: 28px 0 12px; }
.linkcard { color: var(--text); transition: .15s; }
.linkcard:hover { color: var(--text); border-color: var(--neon); transform: translateY(-2px); }
.feat-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.feat .muted p { margin: 0 0 8px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.split.img-left .split-img { order: -1; }
.split.no-img { grid-template-columns: 1fr; max-width: 820px; }
.split-img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split.img-left .split-img { order: 0; } }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wide-img { margin: 0; }
.wide-img img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.faq { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.stats.left { justify-content: flex-start; margin-top: 0; }
a.stat { color: var(--text); }
.biz-img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; }
.biz-txt p { margin: 4px 0 0; }

/* staff panel editors */
.admin-tabs { flex-wrap: wrap; }
.ed-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 16px; }
.ed-field.ed-textarea, .ed-field.ed-doc, .ed-field.ed-list, .ed-field.ed-blocks, .ed-field.ed-image { grid-column: 1 / -1; }
.ed-field .lbl { margin-top: 8px; }
.ed-list { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ed-list > div { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.ed-row { background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px; padding: 6px 12px; }
.ed-row > .ed-group { display: none; padding: 4px 0 12px; }
.ed-row.open > .ed-group { display: grid; }
.ed-row.open { border-color: var(--neon); }
.ed-row .ed-row { background: var(--card); }
.ed-row-h { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.ed-row-h b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50vw; }
.ed-row-h .sp { flex: 1; }
.ed-row.open > .ed-row-h > .icon-btn:first-child { transform: rotate(90deg); }
.ed-blocks > select { max-width: 280px; }
.ed-img { display: flex; gap: 8px; align-items: center; }
.ed-prev { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line2); flex: none; }
.danger-t:hover { color: var(--err); }
.sticky-save { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 18px 0 12px; z-index: 5; }
form.dirty .sticky-save .btn:first-child { box-shadow: 0 0 22px rgba(47,140,240,.6); }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
@media (max-width: 800px) { .split2 { grid-template-columns: 1fr; } }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2px 14px; max-height: 420px; overflow-y: auto; padding: 8px; background: var(--bg2); border-radius: 10px; border: 1px solid var(--line); }
.perm-grid h4 { grid-column: 1 / -1; margin: 10px 0 2px; color: var(--neon2); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.check.off { opacity: .45; }
.dot-c { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); margin-right: 6px; }
.thumb input { padding: 4px 6px; }

/* footer */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--bg2); margin-top: 60px; padding: 34px 0; }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-in > div:first-child { max-width: 460px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.foot-links a { color: var(--muted); font-weight: 600; }
.foot-links a:hover { color: var(--ice); }

/* The City → LiveMap */
.lm-wrap { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; height: calc(100vh - 190px); min-height: 520px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #0a1626; }
.lm-side { background: var(--bg2); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; z-index: 2; }
.lm-side-in { overflow-y: auto; padding: 14px; flex: 1; }
.lm-side h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 8px; display: flex; justify-content: space-between; align-items: center; }
.lm-side h3 button { background: none; border: 0; color: var(--neon2); font: 600 12px Inter; cursor: pointer; text-transform: none; letter-spacing: 0; }
.lm-search { position: relative; }
.lm-search input { width: 100%; background: var(--card); border: 1px solid var(--line2); color: var(--text); border-radius: 10px; padding: 10px 12px; font: 500 14px Inter; }
.lm-search input:focus { outline: none; border-color: var(--neon); }
.lm-res { list-style: none; margin: 4px 0 0; padding: 0; position: absolute; left: 0; right: 0; z-index: 5; background: var(--card2); border: 1px solid var(--line2); border-radius: 10px; max-height: 300px; overflow-y: auto; }
.lm-res:empty { display: none; }
.lm-res li { padding: 9px 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); }
.lm-res li:hover { background: var(--card); color: var(--ice); }
.lm-res small { color: var(--muted); }
.lm-cat { display: flex; align-items: center; gap: 10px; padding: 6px 4px; cursor: pointer; font-weight: 600; font-size: 14px; border-radius: 8px; }
.lm-cat:hover { background: var(--card); }
.lm-cat input { accent-color: var(--neon); }
.lm-cat em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.lm-cat input:not(:checked) ~ * { opacity: .45; }
.lm-dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 22%, #0a0f1c); border: 1.5px solid var(--c); color: var(--c); flex: none; }
.lm-dot svg { width: 13px; height: 13px; }
.lm-regions { list-style: none; padding: 0; margin: 0; }
.lm-regions li { display: flex; justify-content: space-between; padding: 5px 4px; font-size: 13px; border-bottom: 1px dashed var(--line); }
.lm-regions b { color: var(--neon2); }
.lm-foot { padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
#livemap { height: 100%; background: #0a1626; font-family: Inter, sans-serif; }
#livemap .leaflet-tile { image-rendering: auto; }
.lm-pin span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 30%, #070b14); border: 2px solid var(--c); color: #fff; box-shadow: 0 0 10px color-mix(in srgb, var(--c) 70%, transparent), 0 2px 6px #000a; transition: transform .12s; }
.lm-pin span svg { width: 15px; height: 15px; }
.lm-pin:hover span { transform: scale(1.18); }
.lm-pin.open span::after, .lm-pin.closed span::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #070b14; background: var(--ok); }
.lm-pin.closed span::after { background: var(--err); }
.lm-pin span { position: relative; }
.lm-tip { background: var(--card2); color: var(--ice); border: 1px solid var(--line2); font: 600 12px Inter; box-shadow: none; }
.lm-tip::before { display: none; }
.lm-popup .leaflet-popup-content-wrapper { background: var(--card2); color: var(--text); border: 1px solid var(--line2); border-radius: 12px; padding: 0; overflow: hidden; }
.lm-popup .leaflet-popup-content { margin: 0; width: 260px !important; font: 14px Inter; }
.lm-popup .leaflet-popup-tip { background: var(--card2); }
.lm-popup a.leaflet-popup-close-button { color: var(--muted); }
.lm-pop img { width: 100%; height: 120px; object-fit: cover; display: block; }
.lm-pop-b { padding: 12px 14px; }
.lm-pop-b small { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; display: block; }
.lm-pop-b > b { font-size: 16px; display: block; margin: 2px 0 6px; color: var(--ice); }
.lm-pop-b p { margin: 6px 0; }
.lm-st { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; }
.lm-st.open { color: var(--ok); background: rgba(52,211,153,.12); }
.lm-st.closed { color: var(--err); background: rgba(248,113,113,.12); }
.lm-pop-a { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.lm-pop-a .btn { color: #fff; }
.lm-postal { background: #0d1424e6; border: 1px solid #8b99b5; color: #e6eefb; font: 700 12px Inter; display: grid !important; place-items: center; border-radius: 4px; }
.lm-postal.sm { font-size: 10px; border-color: #46556f; color: #b9c6dd; }
.lm-toggle { display: none; }
@media (max-width: 800px) {
  .lm-wrap { grid-template-columns: 1fr; height: calc(100vh - 150px); }
  .lm-side { position: absolute; inset: 0 auto 0 0; width: min(300px, 86%); transform: translateX(-100%); transition: transform .2s; z-index: 1001; }
  .lm-wrap.panel-open .lm-side { transform: none; }
  .lm-toggle { display: inline-flex; position: absolute; top: 10px; left: 10px; z-index: 1002; }
}#livemap[data-z="far"] .lm-pin span { transform: scale(.55); }
#livemap[data-z="mid"] .lm-pin span { transform: scale(.75); }
#livemap[data-z="far"] .lm-pin:hover span, #livemap[data-z="mid"] .lm-pin:hover span { transform: scale(1); }
.lm-side-in { scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }