/* ============================================================
   MISI EKSPLORASI NUKLEAR — Futuristic Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg:          #020818;
  --panel:       rgba(2, 18, 52, 0.88);
  --panel-dark:  rgba(1, 8, 22, 0.96);
  --cyan:        #00d4ff;
  --cyan-dim:    rgba(0, 212, 255, 0.12);
  --green:       #00ff88;
  --green-dim:   rgba(0, 255, 136, 0.12);
  --red:         #ff4757;
  --red-dim:     rgba(255, 71, 87, 0.12);
  --orange:      #ffa502;
  --text:        #e0f4ff;
  --text-muted:  rgba(224, 244, 255, 0.55);
  --border:      rgba(0, 212, 255, 0.22);
  --border-hi:   rgba(0, 212, 255, 0.75);
  --glow-cyan:   0 0 22px rgba(0, 212, 255, 0.45);
  --glow-green:  0 0 22px rgba(0, 255, 136, 0.45);
  --glow-red:    0 0 22px rgba(255, 71, 87, 0.45);
  --font-h:      'Orbitron', monospace;
  --font-b:      'Rajdhani', sans-serif;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 25% 35%, rgba(0, 30, 90, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 65%, rgba(0, 15, 55, 0.35) 0%, transparent 50%);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ---- Particle canvas ---- */
#particle-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ---- App wrapper ---- */
#app {
  position: relative; z-index: 1;
  width: 100%; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* ---- Screens ---- */
.screen {
  position: absolute; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  overflow-y: auto;
  overflow-x: hidden;
}
.screen.active {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: all;
}

/* ---- Panel / Card ---- */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--glow-cyan), 0 30px 60px rgba(0,0,0,0.55),
              inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  position: relative;
  overflow: hidden;
}
/* Scanline overlay */
.panel::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,212,255,0.018) 2px, rgba(0,212,255,0.018) 4px
  );
  pointer-events: none; z-index: 0; border-radius: inherit;
}
/* Diagonal shimmer */
.panel::after {
  content: ''; position: absolute; inset: 0; border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(0,212,255,0.06) 0%, transparent 45%),
    linear-gradient(315deg, rgba(0,255,136,0.03) 0%, transparent 45%);
  pointer-events: none;
}
.panel > * { position: relative; z-index: 1; }

/* Corner accent brackets */
.corner-tl, .corner-tr, .corner-bl, .corner-br {
  position: absolute; width: 14px; height: 14px; z-index: 2;
}
.corner-tl { top:7px; left:7px;  border-top:  2px solid var(--cyan); border-left:  2px solid var(--cyan); }
.corner-tr { top:7px; right:7px; border-top:  2px solid var(--cyan); border-right: 2px solid var(--cyan); }
.corner-bl { bottom:7px; left:7px;  border-bottom:2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.corner-br { bottom:7px; right:7px; border-bottom:2px solid var(--cyan); border-right:2px solid var(--cyan); }

/* ---- Typography ---- */
.title-main {
  font-family: var(--font-h); font-weight: 900;
  text-transform: uppercase; letter-spacing: 3px; line-height: 1.1;
}
.title-main .accent {
  color: var(--cyan);
  text-shadow: 0 0 20px var(--cyan), 0 0 45px rgba(0,212,255,0.45);
}
.section-label {
  font-family: var(--font-h); font-size: 0.6rem;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--cyan); opacity: 0.85;
}
.badge {
  display: inline-block; padding: 3px 12px;
  border: 1px solid var(--cyan); border-radius: 3px;
  font-family: var(--font-h); font-size: 0.5rem;
  letter-spacing: 3px; color: var(--cyan); text-transform: uppercase;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 30px; border: none; border-radius: 7px;
  font-family: var(--font-h); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.45s ease;
}
.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, rgba(0,212,255,0.18), rgba(0,212,255,0.04));
  border: 1px solid var(--cyan); color: var(--cyan);
  text-shadow: 0 0 10px rgba(0,212,255,0.5);
  box-shadow: 0 0 18px rgba(0,212,255,0.2), inset 0 0 18px rgba(0,212,255,0.04);
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgba(0,212,255,0.32), rgba(0,212,255,0.12));
  box-shadow: 0 0 35px rgba(0,212,255,0.55), inset 0 0 20px rgba(0,212,255,0.08);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-success {
  background: linear-gradient(135deg, rgba(0,255,136,0.18), rgba(0,255,136,0.04));
  border: 1px solid var(--green); color: var(--green);
  text-shadow: 0 0 10px rgba(0,255,136,0.5);
  box-shadow: 0 0 18px rgba(0,255,136,0.2);
}
.btn-success:hover {
  background: linear-gradient(135deg, rgba(0,255,136,0.32), rgba(0,255,136,0.12));
  box-shadow: 0 0 35px rgba(0,255,136,0.55);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent; border: 1px solid rgba(224,244,255,0.18);
  color: var(--text-muted);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-lg  { padding: 16px 44px; font-size: 0.85rem; letter-spacing: 4px; }
.btn-sm  { padding: 8px 18px;  font-size: 0.62rem; letter-spacing: 2px; }
.btn-pulse { animation: btn-pulse 2.5s ease-in-out infinite; }

@keyframes btn-pulse {
  0%,100% { box-shadow: 0 0 16px rgba(0,212,255,0.28), inset 0 0 16px rgba(0,212,255,0.04); }
  50%      { box-shadow: 0 0 44px rgba(0,212,255,0.7),  inset 0 0 22px rgba(0,212,255,0.08),
                         0 0 80px rgba(0,212,255,0.25); }
}

/* ---- Atom animation (home screen) ---- */
.atom-wrap {
  width: 120px; height: 120px;
  position: relative; margin: 0 auto;
}
.atom-core {
  position: absolute; width: 18px; height: 18px;
  background: radial-gradient(circle, #00e5ff, #007db8);
  border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  box-shadow: 0 0 22px var(--cyan), 0 0 45px rgba(0,212,255,0.5),
              0 0 70px rgba(0,212,255,0.2);
  z-index: 3;
  animation: core-pulse 2.5s ease-in-out infinite;
}
@keyframes core-pulse {
  0%,100% { box-shadow: 0 0 18px var(--cyan), 0 0 35px rgba(0,212,255,0.4); }
  50%     { box-shadow: 0 0 30px var(--cyan), 0 0 60px rgba(0,212,255,0.7), 0 0 90px rgba(0,212,255,0.25); }
}
.orbit {
  position: absolute;
  width: 96px; height: 34px;
  top: 50%; left: 50%;
  margin-left: -48px; margin-top: -17px;
  border: 1.5px solid rgba(0,212,255,0.42);
  border-radius: 50%;
}
.orbit::before {
  content: ''; position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  top: -5px; left: calc(50% - 5px);
  background: radial-gradient(circle, #00ff88, #00b864);
  box-shadow: 0 0 12px var(--green), 0 0 24px rgba(0,255,136,0.4);
}
.o1 { animation: orb1 3.2s linear infinite; }
.o2 { animation: orb2 4.1s linear infinite; }
.o2::before { background: radial-gradient(circle, #00d4ff, #007db8); box-shadow: 0 0 12px var(--cyan); }
.o3 { animation: orb3 2.8s linear infinite; }
.o3::before { background: radial-gradient(circle, #a78bfa, #7c3aed); box-shadow: 0 0 12px rgba(167,139,250,0.9); }

@keyframes orb1 { from{transform:rotate(0deg)}   to{transform:rotate(360deg)} }
@keyframes orb2 { from{transform:rotate(60deg)}  to{transform:rotate(420deg)} }
@keyframes orb3 { from{transform:rotate(-60deg)} to{transform:rotate(300deg)} }

/* ---- Timer ---- */
.timer-display {
  font-family: var(--font-h); font-size: 2.4rem; font-weight: 700;
  color: var(--cyan); text-shadow: 0 0 22px rgba(0,212,255,0.7);
  letter-spacing: 4px; line-height: 1;
}
.timer-label {
  font-family: var(--font-h); font-size: 0.48rem;
  letter-spacing: 5px; color: var(--text-muted);
  text-transform: uppercase; margin-bottom: 5px;
}

/* ---- Station list ---- */
.station-list { display: flex; flex-direction: column; gap: 10px; }
.station-item {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: 9px;
  border: 1px solid rgba(224,244,255,0.08);
  background: rgba(0,0,0,0.28);
  transition: all 0.3s var(--ease);
}
.station-item.active {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: var(--glow-cyan);
  animation: station-glow 2.2s ease-in-out infinite;
  cursor: pointer;
}
.station-item.active:hover { transform: translateX(4px); }
.station-item.completed { border-color: rgba(0,255,136,0.38); background: var(--green-dim); }
.station-item.locked    { opacity: 0.38; filter: grayscale(0.7); }

@keyframes station-glow {
  0%,100% { box-shadow: 0 0 14px rgba(0,212,255,0.18); }
  50%     { box-shadow: 0 0 32px rgba(0,212,255,0.42), 0 0 60px rgba(0,212,255,0.12); }
}
.station-num  { font-family:var(--font-h); font-size:1.15rem; font-weight:700; color:var(--cyan); min-width:28px; }
.station-info { flex:1; }
.station-name { font-weight:600; font-size:0.92rem; color:var(--text); }
.station-zone { font-size:0.72rem; color:var(--text-muted); margin-top:2px; letter-spacing:1px; }
.station-icon { font-size:1.1rem; }

/* ---- Progress bar ---- */
.progress-bar {
  height: 3px; background: rgba(0,212,255,0.1);
  border-radius: 3px; overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 3px; box-shadow: 0 0 10px rgba(0,212,255,0.6);
  transition: width 0.8s ease;
}

/* ---- Code input boxes ---- */
.code-inputs {
  display: flex; gap: 12px; justify-content: center; margin: 1.4rem 0;
}
.code-box {
  width: 62px; height: 72px;
  background: var(--cyan-dim);
  border: 2px solid rgba(0,212,255,0.38);
  border-radius: 9px;
  text-align: center;
  font-family: var(--font-h); font-size: 1.9rem; font-weight: 700;
  color: var(--cyan); text-transform: uppercase;
  outline: none; transition: all 0.25s var(--ease);
  caret-color: var(--cyan);
}
.code-box:focus {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.14);
  box-shadow: 0 0 22px rgba(0,212,255,0.35);
}
.code-box.shake, .code-word-input.shake { animation: shake 0.42s ease; border-color:var(--red); background:var(--red-dim); }
.code-box.correct { border-color:var(--green); background:var(--green-dim); color:var(--green); }

.code-word-input {
  width: 100%; max-width: 360px;
  height: 64px; background: var(--cyan-dim);
  border: 2px solid rgba(0,212,255,0.38); border-radius: 9px;
  text-align: center;
  font-family: var(--font-h); font-size: 1.6rem; font-weight: 700;
  color: var(--cyan); text-transform: uppercase;
  outline: none; letter-spacing: 8px;
  transition: all 0.25s var(--ease);
}
.code-word-input:focus {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.14);
  box-shadow: 0 0 22px rgba(0,212,255,0.35);
}

@keyframes shake {
  0%,100%{transform:translateX(0)} 15%{transform:translateX(-10px)}
  30%{transform:translateX(10px)} 45%{transform:translateX(-8px)}
  60%{transform:translateX(8px)} 75%{transform:translateX(-5px)}
  90%{transform:translateX(5px)}
}

/* ---- Status messages ---- */
.status-msg {
  padding: 11px 18px; border-radius: 7px;
  font-weight: 600; font-size: 0.82rem;
  letter-spacing: 1.5px; text-transform: uppercase; text-align: center;
  transition: all 0.3s ease;
}
.status-msg.error  { background:var(--red-dim);   border:1px solid var(--red);   color:var(--red);   animation:fadeUp 0.3s ease; }
.status-msg.info   { background:var(--cyan-dim);  border:1px solid var(--cyan);  color:var(--cyan);  animation:fadeUp 0.3s ease; }
.status-msg.ok     { background:var(--green-dim); border:1px solid var(--green); color:var(--green); animation:fadeUp 0.3s ease; }

@keyframes fadeUp {
  from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)}
}

/* ---- Video placeholder ---- */
.video-placeholder {
  width: 100%; max-width: 380px; aspect-ratio: 16/9;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 9px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.video-placeholder::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,transparent 40%,rgba(0,212,255,0.025));
}
.video-placeholder:hover { border-color:rgba(0,212,255,0.5); background:var(--cyan-dim); }
.play-btn {
  width: 52px; height: 52px;
  border: 2px solid var(--cyan); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); font-size: 1.3rem;
  box-shadow: var(--glow-cyan); transition: all 0.3s ease;
}
.video-placeholder:hover .play-btn { transform:scale(1.12); box-shadow:0 0 38px rgba(0,212,255,0.65); }

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 1.4rem 0;
}

/* ---- Success: animated checkmark ---- */
.check-circle {
  width: 80px; height: 80px;
  border: 3px solid var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem;
  box-shadow: var(--glow-green);
  animation: pop-in 0.45s cubic-bezier(0.18,0.89,0.32,1.28);
}
.check-circle svg {
  stroke: var(--green); stroke-width: 3; fill: none;
  width: 40px; height: 40px;
  stroke-dasharray: 60; stroke-dashoffset: 60;
  animation: draw-check 0.5s 0.25s ease forwards;
}
@keyframes pop-in {
  from{transform:scale(0);opacity:0} to{transform:scale(1);opacity:1}
}
@keyframes draw-check {
  to{stroke-dashoffset:0}
}

/* ---- Victory screen ---- */
.victory-panel {
  border-color: rgba(0,255,136,0.42);
  box-shadow: var(--glow-green), 0 30px 60px rgba(0,0,0,0.6);
}
.rocket {
  font-size: 4.5rem; display: block; margin: 0 auto 1.4rem;
  filter: drop-shadow(0 0 18px rgba(0,255,136,0.7));
  animation: rocket-launch 1.2s ease-out both;
}
@keyframes rocket-launch {
  0%   { transform: translateY(70px) rotate(-5deg); opacity:0; }
  60%  { transform: translateY(-18px) rotate(5deg);  opacity:1; }
  80%  { transform: translateY(6px)  rotate(0deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}
.victory-title {
  font-family: var(--font-h); font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.2rem);
  color: var(--green); letter-spacing: 6px;
  animation: glow-pulse-green 2.2s ease-in-out infinite;
}
@keyframes glow-pulse-green {
  0%,100%{ text-shadow:0 0 22px rgba(0,255,136,0.7), 0 0 44px rgba(0,255,136,0.3); }
  50%    { text-shadow:0 0 44px rgba(0,255,136,1),   0 0 88px rgba(0,255,136,0.6); }
}
.final-time-label { font-family:var(--font-h); font-size:0.48rem; letter-spacing:5px; color:var(--text-muted); text-transform:uppercase; }
.final-time       { font-family:var(--font-h); font-size:2rem; color:var(--cyan); text-shadow:0 0 16px rgba(0,212,255,0.7); margin-top:4px; }

/* ---- Spinner ---- */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(0,212,255,0.2);
  border-top-color: var(--cyan);
  border-radius: 50%; display: inline-block;
  animation: spin 0.65s linear infinite;
}
@keyframes spin { to{transform:rotate(360deg)} }

/* ---- Modal ---- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity:1; pointer-events:all; }
.modal-box {
  background: var(--panel-dark);
  border: 1px solid var(--cyan); border-radius: 14px;
  padding: 2rem; max-width: 400px; width: 100%;
  box-shadow: var(--glow-cyan), 0 24px 48px rgba(0,0,0,0.7);
  animation: modal-in 0.3s var(--ease);
}
@keyframes modal-in {
  from{transform:scale(0.88);opacity:0} to{transform:scale(1);opacity:1}
}

/* ---- Objective list (briefing) ---- */
.obj-list { list-style:none; display:flex; flex-direction:column; gap:10px; margin:0.8rem 0; }
.obj-list li { display:flex; gap:12px; align-items:flex-start; font-size:0.9rem; color:var(--text-muted); }
.obj-list li::before { content:'▸'; color:var(--cyan); flex-shrink:0; margin-top:2px; }
.obj-list li strong { color:var(--text); }

/* ---- Screen-specific layouts ---- */

/* Home */
#screen-home .home-wrap {
  display:flex; flex-direction:column; align-items:center; gap:1.6rem;
  text-align:center; max-width:500px; width:100%;
}
.home-title { font-size: clamp(1.5rem, 5vw, 2.4rem); }
.home-sub   { color:var(--text-muted); font-size:0.95rem; line-height:1.65; }
.team-input-wrap { width:100%; display:flex; flex-direction:column; gap:10px; }
.team-input {
  width:100%; padding:14px 18px;
  background:var(--cyan-dim); border:1px solid rgba(0,212,255,0.28);
  border-radius:9px; color:var(--text);
  font-family:var(--font-b); font-size:1rem; font-weight:500;
  outline:none; transition:all 0.25s ease; text-align:center;
}
.team-input:focus { border-color:var(--cyan); background:rgba(0,212,255,0.1); box-shadow:0 0 22px rgba(0,212,255,0.22); }
.team-input::placeholder { color:rgba(224,244,255,0.28); }

/* Briefing / Code / Instructions / Success / Victory panels */
.briefing-panel, .code-panel, .success-panel, .victory-panel {
  max-width: 500px; width:100%; padding:2.2rem 2rem;
}
.stations-panel, .instructions-panel { max-width: 560px; width:100%; padding:2rem; }

/* Station header bar (instructions screen) */
.stn-header { display:flex; align-items:center; gap:14px; padding-bottom:1.4rem; margin-bottom:1.4rem; border-bottom:1px solid var(--border); }
.stn-badge {
  width:46px; height:46px; flex-shrink:0;
  border:2px solid var(--cyan); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-h); font-size:1rem; font-weight:700;
  color:var(--cyan); box-shadow:0 0 16px rgba(0,212,255,0.32);
}
.stn-desc { color:var(--text-muted); line-height:1.7; font-size:0.9rem; margin-bottom:1.4rem; }

/* Stations header row */
.stn-list-header {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:1.4rem; padding-bottom:1.4rem; border-bottom:1px solid var(--border);
}

/* Action row */
.action-row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }

/* Code entry centering */
.code-center { display:flex; justify-content:center; }

/* ---- Utility ---- */
.text-cyan    { color:var(--cyan); }
.text-green   { color:var(--green); }
.text-red     { color:var(--red); }
.text-muted   { color:var(--text-muted); }
.text-center  { text-align:center; }
.w-full       { width:100%; }
.flex         { display:flex; }
.flex-col     { flex-direction:column; }
.items-center { align-items:center; }
.justify-center{ justify-content:center; }
.gap-1        { gap:0.5rem; }
.gap-2        { gap:1rem; }
.mt-1         { margin-top:0.5rem; }
.mt-2         { margin-top:1rem; }
.mt-3         { margin-top:1.5rem; }
.mb-1         { margin-bottom:0.5rem; }
.mb-2         { margin-bottom:1rem; }
.mb-3         { margin-bottom:1.5rem; }
.hidden       { display:none !important; }

/* ---- Hide number input spinner arrows ---- */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar            { width:4px; }
::-webkit-scrollbar-track      { background:transparent; }
::-webkit-scrollbar-thumb      { background:rgba(0,212,255,0.3); border-radius:2px; }
::-webkit-scrollbar-thumb:hover{ background:rgba(0,212,255,0.6); }

/* ---- Responsive ---- */
@media (max-width:480px) {
  .briefing-panel,.code-panel,.success-panel,.victory-panel,
  .stations-panel,.instructions-panel { padding:1.4rem; }
  .code-box { width:52px; height:60px; font-size:1.55rem; }
  .timer-display { font-size:1.9rem; }
  .victory-title { letter-spacing:3px; }
}
@media (max-height:600px) {
  .screen { align-items:flex-start; padding-top:0.5rem; }
  .briefing-panel,.code-panel,.success-panel,.victory-panel,
  .stations-panel,.instructions-panel { padding:1.2rem; }
  .divider { margin:0.8rem 0; }
}
