:root {
  --sj-bg: #071018;
  --sj-panel: #0e1b26;
  --sj-panel-2: #142635;
  --sj-line: #294255;
  --sj-text: #f4f8fb;
  --sj-muted: #9db3c2;
  --sj-blue: #55b0ff;
  --sj-green: #52dc87;
  --sj-yellow: #ffe174;
  --sj-red: #ff7c7c;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--sj-text);
  background:
    radial-gradient(circle at 15% 0%, rgba(45, 119, 164, .22), transparent 36rem),
    linear-gradient(145deg, #071018, #0b1721 50%, #071018);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.sj-shell { width: min(1160px, calc(100% - 28px)); margin: 0 auto; }
.sj-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.sj-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; }
.sj-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--sj-text); border-radius: 10px; letter-spacing: -.08em; }
.sj-nav-links { display: flex; gap: 16px; color: var(--sj-muted); font-size: .92rem; }
.sj-nav-links a { text-decoration: none; }
.sj-main { min-height: calc(100vh - 90px); display: grid; place-items: center; padding: 32px 0 70px; }
.sj-hero { width: min(900px, 100%); text-align: center; }
.sj-kicker { margin: 0 0 12px; color: var(--sj-blue); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(3.2rem, 10vw, 7.4rem); line-height: .9; letter-spacing: -.065em; }
.sj-subtitle { margin: 13px 0 0; font-size: clamp(1.15rem, 3vw, 2rem); font-weight: 700; color: #d8e7f2; }
.sj-description { max-width: 650px; margin: 22px auto 0; color: var(--sj-muted); font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.65; }
.sj-explorer { width: 100%; display: grid; grid-template-columns: minmax(210px, 260px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.sj-explorer-sidebar { position: sticky; top: 20px; min-height: calc(100vh - 150px); display: flex; flex-direction: column; padding: 22px 22px 18px; border: 1px solid var(--sj-line); border-radius: 18px; background: rgba(9, 20, 29, .88); }
.sj-explorer-sidebar h1 { font-size: clamp(3.3rem, 4vw, 3.8rem); }
.sj-explorer-intro { margin: 17px 0 0; color: var(--sj-muted); line-height: 1.55; }
.sj-explorer-menu { display: grid; gap: 3px; margin-top: 32px; }
.sj-explorer-label { margin: 18px 10px 7px; color: var(--sj-blue); font-size: .7rem; font-weight: 850; letter-spacing: .15em; }
.sj-explorer-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 10px; border-radius: 9px; color: var(--sj-muted); text-decoration: none; font-size: .9rem; transition: color .18s ease, background .18s ease, transform .18s ease; }
.sj-explorer-menu a:hover,.sj-explorer-menu a:focus-visible,.sj-explorer-menu a.active { color: var(--sj-text); background: rgba(85,176,255,.1); transform: translateX(3px); }
.sj-explorer-menu a span { color: #6f899b; font-size: .75rem; }
.sj-explorer-note { margin: auto 0 0; padding-top: 30px; color: #6f899b; font-size: .75rem; line-height: 1.55; }
.sj-explorer-gallery { min-width: 0; }
.sj-gallery-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.sj-gallery-header h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.035em; }
.sj-gallery-count { flex: 0 0 auto; color: var(--sj-muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.sj-challenge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sj-experience-card { min-width: 0; overflow: hidden; border: 1px solid var(--sj-line); border-radius: 17px; background: rgba(14,27,38,.96); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; scroll-margin-top: 24px; }
.sj-experience-card:hover { transform: translateY(-3px); border-color: rgba(85,176,255,.7); box-shadow: 0 22px 46px rgba(0,0,0,.24); }
.sj-experience-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(280px, 1.15fr) minmax(280px, 1fr); }
.sj-experience-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.sj-experience-visual { position: relative; min-height: 210px; overflow: hidden; background: #09141d; }
.featured .sj-experience-visual { min-height: 360px; }
.sj-experience-body { padding: clamp(19px, 3vw, 28px); }
.sj-experience-body h2 { margin: 11px 0 10px; font-size: clamp(1.4rem, 3vw, 2.25rem); line-height: 1.05; }
.sj-experience-body p { margin: 0; color: var(--sj-muted); line-height: 1.55; }
.sj-experience-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #7790a2; font-size: .66rem; font-weight: 850; letter-spacing: .11em; }
.sj-live-dot { color: var(--sj-green); }
.sj-live-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.sj-experience-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.sj-experience-tags span { padding: 6px 8px; border: 1px solid var(--sj-line); border-radius: 999px; color: #bdd1df; font-size: .68rem; }
.sj-experience-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 24px; }
.sj-card-link { display: inline-flex; gap: 8px; margin-top: 20px; color: var(--sj-blue); font-size: .76rem; font-weight: 850; letter-spacing: .08em; }
.sj-card-link.muted { color: #708899; }
.sj-visual-label { position: absolute; left: 14px; bottom: 13px; z-index: 5; padding: 6px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; color: #eaf6ff; background: rgba(4,11,16,.62); font-size: .63rem; font-weight: 850; letter-spacing: .12em; backdrop-filter: blur(6px); }
.sj-traffic-visual { background: radial-gradient(circle at 50% 50%, rgba(85,176,255,.2), transparent 36%), linear-gradient(145deg, #0d2535, #071018); }
.sj-road { position: absolute; background: #253846; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.sj-road.horizontal { left: -5%; right: -5%; top: 39%; height: 22%; }
.sj-road.vertical { top: -8%; bottom: -8%; left: 40%; width: 20%; }
.sj-road.horizontal::after,.sj-road.vertical::after { content: ""; position: absolute; opacity: .55; }
.sj-road.horizontal::after { left: 0; right: 0; top: 50%; border-top: 2px dashed var(--sj-yellow); }
.sj-road.vertical::after { top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--sj-yellow); }
.sj-signal { position: absolute; z-index: 3; width: 14px; height: 14px; border: 3px solid #071018; border-radius: 50%; background: var(--sj-green); box-shadow: 0 0 14px var(--sj-green); }
.sj-signal.signal-a { left: 36%; top: 34%; }.sj-signal.signal-b { right: 35%; bottom: 33%; background: var(--sj-red); box-shadow: 0 0 14px var(--sj-red); }
.sj-vehicle { position: absolute; z-index: 2; width: 31px; height: 13px; border-radius: 4px; background: var(--sj-blue); box-shadow: 0 4px 10px rgba(0,0,0,.38); }
.sj-vehicle.vehicle-a { left: 13%; top: 44%; }.sj-vehicle.vehicle-b { right: 12%; top: 53%; background: #f1f6f9; }.sj-vehicle.vehicle-c { left: 47%; top: 14%; width: 13px; height: 31px; background: var(--sj-yellow); }
.sj-vision-visual { background: linear-gradient(rgba(0,0,0,.14),rgba(0,0,0,.35)), repeating-linear-gradient(90deg,#173346 0,#173346 1px,transparent 1px,transparent 48px), linear-gradient(145deg,#0e3147,#071018); }
.sj-scan-line { position: absolute; left: 0; right: 0; top: 44%; height: 2px; background: var(--sj-green); box-shadow: 0 0 18px var(--sj-green); }
.sj-detection { position: absolute; padding: 5px; border: 2px solid var(--sj-green); color: var(--sj-green); font: 700 .58rem ui-monospace,monospace; }
.sj-detection::after { content: ""; display: block; width: 64px; height: 37px; margin-top: 4px; background: rgba(82,220,135,.08); }
.sj-detection.detection-a { left: 15%; top: 22%; }.sj-detection.detection-b { right: 14%; top: 39%; border-color: var(--sj-yellow); color: var(--sj-yellow); }
.sj-next-visual { display: grid; place-items: center; background: radial-gradient(circle at center,rgba(85,176,255,.14),transparent 45%), repeating-linear-gradient(45deg,rgba(255,255,255,.025) 0,rgba(255,255,255,.025) 1px,transparent 1px,transparent 17px),#0a151e; }
.sj-next-visual > span:first-child { color: #5c7587; font-size: 5rem; font-weight: 200; }
.sj-experience-card.upcoming { border-style: dashed; }
.sj-experience-card.upcoming:hover { transform: none; border-color: var(--sj-line); box-shadow: none; }
.sj-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 230px)); justify-content: center; gap: 12px; margin-top: 32px; }
.sj-button { min-height: 54px; border: 1px solid var(--sj-line); border-radius: 12px; padding: 13px 18px; color: var(--sj-text); background: var(--sj-panel); font-weight: 850; letter-spacing: .04em; text-decoration: none; display: inline-grid; place-items: center; }
.sj-button.primary { color: #06121a; background: var(--sj-blue); border-color: transparent; }
.sj-button.good { color: #06130b; background: var(--sj-green); border-color: transparent; }
.sj-button:disabled { opacity: .45; cursor: not-allowed; }
.sj-card { width: min(680px, 100%); margin: 0 auto; padding: clamp(20px, 4vw, 34px); border: 1px solid var(--sj-line); border-radius: 20px; background: rgba(14, 27, 38, .96); box-shadow: 0 26px 70px rgba(0,0,0,.26); }
.sj-card.wide { width: min(1040px, 100%); }
.sj-card h1 { font-size: clamp(2rem, 7vw, 4.4rem); }
.sj-card h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 4vw, 2.3rem); }
.sj-muted { color: var(--sj-muted); }
.sj-form { display: grid; gap: 16px; margin-top: 24px; }
.sj-field { display: grid; gap: 7px; text-align: left; }
.sj-field span { color: var(--sj-muted); font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.sj-field input, .sj-field select { width: 100%; min-height: 54px; border: 1px solid var(--sj-line); border-radius: 12px; padding: 12px 14px; color: var(--sj-text); background: #09141d; }
.sj-code-input { text-align: center; font-size: 2rem; letter-spacing: .25em; font-weight: 850; font-variant-numeric: tabular-nums; }
.sj-row { display: flex; gap: 10px; align-items: center; }
.sj-row > * { flex: 1; }
.sj-error { min-height: 1.3em; margin: 10px 0 0; color: var(--sj-red); }
.sj-success { color: var(--sj-green); }
.sj-room-code { margin: 14px 0; color: var(--sj-yellow); font-size: clamp(3rem, 12vw, 7.5rem); line-height: 1; font-weight: 900; letter-spacing: .11em; font-variant-numeric: tabular-nums; }
.sj-identity { margin: 20px 0 8px; font-size: clamp(1.25rem, 4vw, 2rem); font-weight: 800; }
.sj-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0; }
.sj-stat { padding: 15px; border: 1px solid var(--sj-line); border-radius: 13px; background: var(--sj-panel-2); }
.sj-stat span { display: block; color: var(--sj-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.sj-stat strong { display: block; margin-top: 5px; font-size: 1.35rem; }
.sj-player-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sj-player-chip { padding: 8px 11px; border: 1px solid var(--sj-line); border-radius: 999px; background: #09141d; }
.sj-table-wrap { overflow-x: auto; margin-top: 18px; }
.sj-table { width: 100%; border-collapse: collapse; min-width: 670px; }
.sj-table th, .sj-table td { padding: 11px 10px; border-bottom: 1px solid var(--sj-line); text-align: right; }
.sj-table th { color: var(--sj-muted); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.sj-table th:nth-child(2), .sj-table td:nth-child(2) { text-align: left; }
.sj-table tr:last-child td { border-bottom: 0; }
.sj-status { display: inline-block; padding: 5px 8px; border-radius: 999px; color: #cfe5f5; background: rgba(85,176,255,.12); font-size: .76rem; }
.sj-separator { height: 1px; margin: 24px 0; background: var(--sj-line); }
.sj-final-total { margin: 18px 0; padding: 20px; border: 1px solid rgba(82,220,135,.55); border-radius: 15px; background: rgba(82,220,135,.08); }
.sj-final-total strong { display: block; font-size: clamp(2rem, 8vw, 4rem); color: var(--sj-green); }
.sj-hidden { display: none !important; }
.sj-pulse { animation: sjPulse 1.5s ease-in-out infinite; }
@keyframes sjPulse { 50% { opacity: .55; } }
@media (max-width: 650px) {
  .sj-nav-links { display: none; }
  .sj-actions { grid-template-columns: 1fr; }
  .sj-row { align-items: stretch; flex-direction: column; }
  .sj-stat-grid { grid-template-columns: 1fr; }
  .sj-main { align-items: start; padding-top: 22px; }
  .sj-explorer { grid-template-columns: 1fr; }
  .sj-explorer-sidebar { position: static; min-height: auto; }
  .sj-explorer-menu { grid-template-columns: 1fr 1fr; gap: 6px; }
  .sj-explorer-label { grid-column: 1 / -1; }
  .sj-explorer-note { display: none; }
  .sj-gallery-header { align-items: start; flex-direction: column; }
  .sj-challenge-grid { grid-template-columns: 1fr; }
  .sj-experience-card.featured { grid-column: auto; grid-template-columns: 1fr; }
  .featured .sj-experience-visual { min-height: 240px; }
  .sj-experience-actions { grid-template-columns: 1fr; }
}
