:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html { min-height: 100%; background: #020617; }
body { margin: 0; min-height: 100vh; background: #020617; color: #f1f5f9; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
form { margin: 0; }

body > header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.10); background: rgba(2,6,23,.94); backdrop-filter: blur(14px); }
body > header > div, body > main { width: min(100% - 2rem, 80rem); margin-inline: auto; }
body > header > div { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
body > header nav { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
body > main { padding-block: 2rem; }

.panel { border: 1px solid rgba(255,255,255,.10); border-radius: 1rem; background: rgba(15,23,42,.72); box-shadow: 0 20px 55px rgba(0,0,0,.18); }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: .75rem; padding: .65rem 1rem; border: 0; font-size: .875rem; font-weight: 700; transition: .18s ease; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.button-primary { background: #fbbf24; color: #020617; }
.button-primary:hover { background: #fcd34d; }
.button-secondary { border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.05); color: #f1f5f9; }
.button-secondary:hover { background: rgba(255,255,255,.10); }
.nav-link { display: inline-flex; align-items: center; border: 0; border-radius: .55rem; padding: .55rem .7rem; background: transparent; color: #cbd5e1; transition: .18s ease; }
.nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.input { display: block; width: 100%; border: 1px solid rgba(255,255,255,.10); border-radius: .75rem; background: rgba(2,6,23,.72); color: #fff; padding: .65rem .85rem; outline: none; }
.input:focus { border-color: rgba(251,191,36,.55); box-shadow: 0 0 0 3px rgba(251,191,36,.10); }
.input::placeholder { color: #475569; }
.label { display: block; margin-bottom: .5rem; font-size: .875rem; font-weight: 600; color: #cbd5e1; }
.error { margin-top: .45rem; font-size: .875rem; color: #fda4af; }
.badge { display: inline-flex; border: 1px solid rgba(255,255,255,.10); border-radius: 999px; background: rgba(255,255,255,.05); padding: .25rem .7rem; font-size: .75rem; font-weight: 700; color: #cbd5e1; }
.message { max-width: 88%; border: 1px solid rgba(255,255,255,.05); border-radius: 1rem 1rem 1rem .3rem; background: rgba(30,41,59,.72); padding: .75rem 1rem; }
.message-mine { margin-left: auto; border-color: rgba(251,191,36,.10); border-radius: 1rem 1rem .3rem 1rem; background: rgba(251,191,36,.10); }
.chat-scroll { scrollbar-color: #334155 transparent; }

/* Layout helpers used by the first chat stage. */
.flex { display: flex; } .grid { display: grid; } .block { display: block; } .inline-flex { display: inline-flex; } .hidden { display: none !important; }
.flex-1 { flex: 1 1 0%; } .flex-col { flex-direction: column; } .flex-wrap { flex-wrap: wrap; } .shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; } .items-start { align-items: flex-start; } .items-end { align-items: flex-end; } .items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; } .justify-center { justify-content: center; }
.self-end { align-self: flex-end; }
.gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; } .gap-5 { gap: 1.25rem; } .gap-12 { gap: 3rem; }
.space-y-3 > * + * { margin-top: .75rem; } .space-y-4 > * + * { margin-top: 1rem; } .space-y-5 > * + * { margin-top: 1.25rem; }
.mx-auto { margin-left: auto; margin-right: auto; } .ml-8 { margin-left: 2rem; } .mr-12 { margin-right: 3rem; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; } .mt-7 { margin-top: 1.75rem; } .mt-8 { margin-top: 2rem; }
.mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; } .px-2\.5 { padding-left: .625rem; padding-right: .625rem; } .px-4 { padding-left: 1rem; padding-right: 1rem; } .px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; } .py-3 { padding-top: .75rem; padding-bottom: .75rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-8 { padding-top: 2rem; padding-bottom: 2rem; } .py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pt-6 { padding-top: 1.5rem; }
.w-full { width: 100%; } .w-10 { width: 2.5rem; } .w-16 { width: 4rem; } .h-10 { height: 2.5rem; } .h-16 { height: 4rem; } .h-fit { height: fit-content; }
.max-w-md { max-width: 28rem; } .max-w-2xl { max-width: 42rem; } .max-w-3xl { max-width: 48rem; } .max-w-7xl { max-width: 80rem; }
.min-h-screen { min-height: 100vh; } .min-h-12 { min-height: 3rem; } .min-h-32 { min-height: 8rem; } .min-h-\[65vh\] { min-height: 65vh; } .min-h-\[70vh\] { min-height: 70vh; } .min-w-0 { min-width: 0; }
.overflow-hidden { overflow: hidden; } .overflow-y-auto { overflow-y: auto; } .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resize-none { resize: none; }
.rounded-xl { border-radius: .75rem; } .rounded-2xl { border-radius: 1rem; } .rounded-full { border-radius: 999px; } .rounded-bl-md { border-bottom-left-radius: .375rem; } .rounded-br-md { border-bottom-right-radius: .375rem; }
.border { border-width: 1px; border-style: solid; } .border-t { border-top: 1px solid rgba(255,255,255,.10); } .border-b { border-bottom: 1px solid rgba(255,255,255,.10); }
.border-white\/10 { border-color: rgba(255,255,255,.10); } .border-white\/5 { border-color: rgba(255,255,255,.05); }
.bg-slate-950 { background: #020617; } .bg-slate-900 { background: #0f172a; } .bg-slate-800 { background: #1e293b; } .bg-amber-400 { background: #fbbf24; }
.bg-amber-400\/20 { background: rgba(251,191,36,.20); } .bg-amber-400\/10 { background: rgba(251,191,36,.10); } .bg-emerald-400\/10 { background: rgba(52,211,153,.10); } .bg-white\/5 { background: rgba(255,255,255,.05); }
.text-white { color: #fff; } .text-slate-100 { color: #f1f5f9; } .text-slate-200 { color: #e2e8f0; } .text-slate-300 { color: #cbd5e1; } .text-slate-400 { color: #94a3b8; } .text-slate-500 { color: #64748b; } .text-slate-950 { color: #020617; }
.text-amber-300 { color: #fcd34d; } .text-amber-400 { color: #fbbf24; } .text-emerald-200 { color: #a7f3d0; } .text-emerald-300 { color: #6ee7b7; } .text-rose-300 { color: #fda4af; }
.text-\[11px\] { font-size: 11px; } .text-xs { font-size: .75rem; } .text-sm { font-size: .875rem; } .text-lg { font-size: 1.125rem; } .text-xl { font-size: 1.25rem; } .text-2xl { font-size: 1.5rem; } .text-3xl { font-size: 1.875rem; } .text-5xl { font-size: 3rem; }
.font-semibold { font-weight: 600; } .font-bold { font-weight: 700; } .font-black { font-weight: 900; }
.leading-6 { line-height: 1.5rem; } .leading-7 { line-height: 1.75rem; } .leading-8 { line-height: 2rem; } .leading-tight { line-height: 1.15; }
.tracking-tight { letter-spacing: -.025em; } .tracking-wider { letter-spacing: .05em; } .uppercase { text-transform: uppercase; }
.text-center { text-align: center; } .whitespace-pre-wrap { white-space: pre-wrap; } .break-words { overflow-wrap: break-word; }
.transition { transition: .18s ease; }
.divide-y > * + * { border-top: 1px solid rgba(255,255,255,.05); }

@media (hover:hover) {
  .hover\:underline:hover { text-decoration: underline; }
  .hover\:bg-white\/5:hover { background: rgba(255,255,255,.05); }
  .hover\:text-slate-300:hover { color: #cbd5e1; }
  .group:hover .group-hover\:text-amber-300 { color: #fcd34d; }
}
@media (min-width: 640px) {
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-6xl { font-size: 3.75rem; }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-\[1\.1fr_\.9fr\] { grid-template-columns: 1.1fr .9fr; }
  .lg\:grid-cols-\[minmax\(0\,1fr\)_260px\] { grid-template-columns: minmax(0,1fr) 260px; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1280px) {
  .xl\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  body > header > div { align-items: flex-start; padding-block: .8rem; flex-direction: column; }
  body > header nav { width: 100%; }
  .message { max-width: 95%; }
}

/* Stage 2 social/private-message helpers. */
.mb-4 { margin-bottom: 1rem; }
.gap-6 { gap: 1.5rem; }
.border-emerald-400\/20 { border-color: rgba(52,211,153,.20); }
.border-rose-400\/20 { border-color: rgba(251,113,133,.20); }
.bg-rose-400\/10 { background: rgba(251,113,133,.10); }
.text-rose-200 { color: #fecdd3; }
select.input { appearance: auto; }

/* Stage 3 notifications and moderation. */
.nav-count { display:inline-flex; min-width:1.25rem; align-items:center; justify-content:center; margin-left:.25rem; border-radius:999px; padding:.12rem .38rem; background:#fbbf24; color:#020617; font-size:10px; font-weight:900; }
.nav-count-danger { background:#fb7185; color:#fff; }
.border-amber-400\/20 { border-color: rgba(251,191,36,.20); }
.inline-flex { display:inline-flex; }
.space-y-5 > * + * { margin-top:1.25rem; }
.message-system { display:flex; align-items:center; justify-content:center; gap:.5rem; margin:.65rem auto; color:#94a3b8; font-size:.75rem; text-align:center; }
.message-system::before, .message-system::after { content:""; width:2.25rem; height:1px; background:rgba(255,255,255,.10); }
.message-system time { color:#475569; font-size:11px; }
select.input { appearance:auto; }

/* Stage 5 groups. */
.lg\:grid-cols-2 { grid-template-columns: 1fr; }
.md\:col-span-2 { grid-column: span 2 / span 2; }
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lg\:grid-cols-\[minmax\(0\,1fr\)_300px\] { grid-template-columns: minmax(0,1fr) 300px; }
}

/* Stage 6 profile media and wall. */
.h-8 { height: 2rem; } .w-8 { width: 2rem; }
.h-20 { height: 5rem; } .w-20 { width: 5rem; }
.h-24 { height: 6rem; } .w-24 { width: 6rem; }
.rounded-lg { border-radius: .5rem; }
.min-h-28 { min-height: 7rem; }
.min-w-\[240px\] { min-width: 240px; }
.max-w-full { max-width: 100%; }
.max-h-\[520px\] { max-height: 520px; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.object-cover { object-fit: cover; } .object-contain { object-fit: contain; }
.bg-black\/20 { background: rgba(0,0,0,.20); }
.bg-white\/\[0\.03\] { background: rgba(255,255,255,.03); }
.text-slate-600 { color: #475569; }
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
}
@media (min-width: 768px) {
  .md\:grid-cols-\[1fr_1fr_auto\] { grid-template-columns: 1fr 1fr auto; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
}
.h-full { height: 100%; }
.max-w-5xl { max-width: 64rem; }
.mb-5 { margin-bottom: 1.25rem; } .mb-7 { margin-bottom: 1.75rem; }
.ml-2 { margin-left: .5rem; } .mt-4 { margin-top: 1rem; }
.p-3 { padding: .75rem; } .pt-4 { padding-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Stage 7 wallet and gifts. */
.wallet-balance-card { min-width: 160px; border:1px solid rgba(251,191,36,.18); border-radius:1rem; background:rgba(251,191,36,.08); padding:1rem 1.25rem; text-align:right; }
.wallet-balance-card strong { display:block; margin:.15rem 0; color:#fcd34d; font-size:2rem; line-height:1; }
.gift-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.gift-card { min-width:0; }
.gift-emoji { font-size:2.75rem; line-height:1; }
.min-h-12 { min-height:3rem; }
.shrink-0 { flex-shrink:0; }
@media (min-width: 768px) { .gift-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (min-width: 1024px) { .gift-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }

/* Stage 8: progress / rating */
.progress-track{height:.5rem;overflow:hidden;border-radius:9999px;background:rgba(255,255,255,.08)}
.progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#f59e0b,#fcd34d);transition:width .25s ease}
.rank-number{min-width:3rem;font-weight:900;color:#64748b}.rank-number-top{color:#fbbf24}
.achievement-chip{display:inline-flex;align-items:center;gap:.35rem;border:1px solid rgba(255,255,255,.1);border-radius:9999px;background:rgba(255,255,255,.04);padding:.35rem .65rem;font-size:.75rem;color:#e2e8f0}
.achievement-locked{opacity:.6}.achievement-unlocked{border-color:rgba(251,191,36,.22)}
@media (min-width:640px){.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-\[1fr_auto\]{grid-template-columns:1fr auto}}
.text-\[10px\]{font-size:10px;line-height:1.2}

/* Stage 9: live updates and mentions. */
.message-mentioned{border-color:rgba(251,191,36,.5);box-shadow:0 0 0 1px rgba(251,191,36,.12),inset 3px 0 0 #fbbf24}
.live-toast-stack{position:fixed;right:1rem;bottom:1rem;z-index:60;display:flex;width:min(24rem,calc(100vw - 2rem));flex-direction:column;gap:.65rem;pointer-events:none}
.live-toast{pointer-events:auto;display:flex;flex-direction:column;gap:.2rem;border:1px solid rgba(251,191,36,.24);border-radius:.9rem;background:rgba(15,23,42,.97);padding:.9rem 1rem;box-shadow:0 18px 48px rgba(0,0,0,.35);transition:opacity .25s ease,transform .25s ease}
.live-toast:hover{border-color:rgba(251,191,36,.45)}
.live-toast-label{color:#fbbf24;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.live-toast-text{color:#e2e8f0;font-size:.875rem;line-height:1.35rem}
.live-toast-hide{opacity:0;transform:translateY(.5rem)}

/* Stage 12: publications / content. */
.min-h-20{min-height:5rem}.content-editor{min-height:20rem;line-height:1.65}.content-body{font-size:1rem;line-height:1.8}.content-meta-grid{display:grid;grid-template-columns:1fr;gap:.75rem}.content-meta-grid>div{border:1px solid rgba(255,255,255,.08);border-radius:.85rem;background:rgba(255,255,255,.03);padding:.9rem 1rem}.content-meta-grid span{display:block;color:#64748b;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.content-meta-grid strong{display:block;margin-top:.3rem;color:#e2e8f0}.border-l-2{border-left-width:2px}.border-amber-400\/50{border-color:rgba(251,191,36,.5)}.pl-4{padding-left:1rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.text-lg{font-size:1.125rem}.text-4xl{font-size:2.25rem}
@media (min-width:640px){.sm\:p-8{padding:2rem}.sm\:text-4xl{font-size:2.25rem}}
@media (min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.content-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Stage 13: audio / video media library. */
.media-audio-player{display:block;width:100%;height:40px;color-scheme:dark}.media-audio-card{overflow:hidden}.media-video-frame{position:relative;overflow:hidden;width:100%;aspect-ratio:16/9;background:#000}.media-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.media-video-placeholder{display:flex;min-height:14rem;align-items:center;justify-content:center;gap:.75rem;background:radial-gradient(circle at 50% 35%,rgba(251,191,36,.14),rgba(2,6,23,.96) 62%);color:#fcd34d}.media-video-placeholder span{font-size:2rem}.media-video-placeholder a{font-weight:800}.media-video-card{min-width:0}

/* Stage 14: room bots. */
.message-bot {
    border-color: rgba(34,211,238,.20);
    background: rgba(8,145,178,.10);
    box-shadow: inset 3px 0 0 rgba(34,211,238,.45);
}
.bot-name { color: #67e8f9; }


/* Stage 15: transfers, shop and premium effects. */
.shop-grid{display:grid;grid-template-columns:1fr;gap:1rem}.shop-card{min-width:0}.shop-emoji{font-size:2.5rem;line-height:1}.premium-vip-badge{display:inline-flex;align-items:center;border:1px solid rgba(251,191,36,.28);border-radius:9999px;background:rgba(251,191,36,.12);padding:.12rem .38rem;color:#fcd34d;font-size:9px;font-weight:900;letter-spacing:.06em;vertical-align:middle}.premium-name-gold{color:#fcd34d!important;text-shadow:0 0 14px rgba(251,191,36,.18)}.premium-profile-highlight{border-color:rgba(251,191,36,.28)!important;background:linear-gradient(135deg,rgba(251,191,36,.07),rgba(255,255,255,.025))!important;box-shadow:0 0 0 1px rgba(251,191,36,.05),0 18px 55px rgba(251,191,36,.04)}.premium-effect-chip{display:inline-flex;align-items:center;border:1px solid rgba(251,191,36,.2);border-radius:9999px;background:rgba(251,191,36,.08);padding:.35rem .65rem;color:#fde68a;font-size:.75rem;font-weight:700}.w-full{width:100%}.button:disabled{cursor:not-allowed;opacity:.5}
@media (min-width:640px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Stage 16: classic Chat0 games. */
.game-grid{display:grid;grid-template-columns:1fr;gap:1rem}.game-card{min-width:0}.game-icon{display:flex;width:3.5rem;height:3.5rem;align-items:center;justify-content:center;border:1px solid rgba(251,191,36,.18);border-radius:1rem;background:rgba(251,191,36,.07);font-size:2rem;line-height:1}.game-result-win{border-color:rgba(52,211,153,.25)!important;background:linear-gradient(135deg,rgba(52,211,153,.07),rgba(15,23,42,.72))!important}.game-result-loss{border-color:rgba(251,113,133,.22)!important;background:linear-gradient(135deg,rgba(251,113,133,.06),rgba(15,23,42,.72))!important}.game-result-draw{border-color:rgba(148,163,184,.18)!important}.game-symbols{padding:1rem;text-align:center;font-size:clamp(2.6rem,10vw,5rem);letter-spacing:.15em;line-height:1}.game-dice{color:#fcd34d;font-size:1.4rem;font-weight:900;letter-spacing:.04em}@media (min-width:640px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Stage 17: Mafia. */
.mafia-hero{border-color:rgba(244,63,94,.2)!important;background:radial-gradient(circle at 80% 0%,rgba(190,24,93,.14),transparent 40%),rgba(15,23,42,.72)!important}
.mafia-room-header{border-color:rgba(244,63,94,.16)!important}
.mafia-phase{display:inline-flex;align-items:center;border:1px solid rgba(148,163,184,.18);border-radius:9999px;background:rgba(148,163,184,.08);padding:.4rem .7rem;color:#cbd5e1;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.mafia-phase-registration{border-color:rgba(251,191,36,.25);background:rgba(251,191,36,.1);color:#fde68a}.mafia-phase-night{border-color:rgba(129,140,248,.28);background:rgba(99,102,241,.12);color:#c7d2fe}.mafia-phase-day{border-color:rgba(56,189,248,.28);background:rgba(14,165,233,.1);color:#bae6fd}
.mafia-timer-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-top:1px solid rgba(255,255,255,.08);padding-top:1rem;color:#94a3b8;font-size:.85rem}.mafia-timer-row strong{color:#fff;font-size:1.35rem;font-variant-numeric:tabular-nums}
.mafia-role-card{position:relative;overflow:hidden}.mafia-role-card:after{content:"";position:absolute;right:-3rem;top:-3rem;width:10rem;height:10rem;border-radius:9999px;filter:blur(8px);opacity:.12;pointer-events:none}.mafia-role-town:after{background:#34d399}.mafia-role-mafia:after{background:#fb7185}.mafia-role-maniac:after{background:#c084fc}
.mafia-chat-log{max-height:34rem;overflow-y:auto}.mafia-chat-message{border-bottom:1px solid rgba(255,255,255,.05);padding:1rem}.mafia-chat-system{background:rgba(251,191,36,.045)}.mafia-chat-mafia{background:rgba(244,63,94,.07);box-shadow:inset 3px 0 0 rgba(244,63,94,.35)}.mafia-chat-private{background:rgba(34,211,238,.05);box-shadow:inset 3px 0 0 rgba(34,211,238,.3)}
.opacity-60{opacity:.6}.text-violet-300{color:#d8b4fe}.text-cyan-300{color:#67e8f9}.break-words{overflow-wrap:anywhere}.whitespace-pre-wrap{white-space:pre-wrap}.tracking-wider{letter-spacing:.05em}
@media (min-width:1024px){.lg\:grid-cols-\[minmax\(0\,1fr\)_320px\]{grid-template-columns:minmax(0,1fr) 320px}}

/* Stage 18: game city core. */
.city-hero{border-color:rgba(34,197,94,.18)!important;background:radial-gradient(circle at 85% 0%,rgba(34,197,94,.12),transparent 42%),rgba(15,23,42,.72)!important}.city-grid{display:grid;grid-template-columns:1fr;gap:1rem}.city-card{min-width:0;transition:transform .18s ease,border-color .18s ease}.city-card:hover{transform:translateY(-2px);border-color:rgba(74,222,128,.2)}.city-icon{display:flex;width:3.5rem;height:3.5rem;align-items:center;justify-content:center;border:1px solid rgba(74,222,128,.18);border-radius:1rem;background:rgba(34,197,94,.07);font-size:2rem;line-height:1}.city-icon-small{width:2.4rem;height:2.4rem;border-radius:.75rem;font-size:1.25rem}.city-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.city-stats>div{border:1px solid rgba(255,255,255,.08);border-radius:.85rem;background:rgba(255,255,255,.03);padding:.85rem 1rem}.city-stats span{display:block;color:#64748b;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.city-stats strong{display:block;margin-top:.25rem;color:#f1f5f9;font-size:1.25rem}.opacity-60{opacity:.6}
@media (min-width:640px){.city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.city-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1024px){.city-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
