/* ==========================================================================
   Animated Lamp Auth Styles — Adopted from Animated Login Form Lamp
   Integrated with PasteBin #2B2D31 / #D9DADC / #FFC93C & Inter Typography
   ========================================================================== */

:root,
[data-color="amber"] {
  --lamp-accent: #FFC93C;
  --lamp-glow: #ffe9a3;
  --lamp-secondary: #d49918;
  --beam-color: rgba(255, 201, 60, 0.22);
  --beam-start: rgba(255, 224, 130, 0.45);
  --beam-mid: rgba(255, 201, 60, 0.22);
  --beam-far: rgba(255, 185, 50, 0.08);
  --lamp-focus-glow: rgba(255, 201, 60, 0.2);

  --bg-dark: #0e1014;
  --bg-illuminated: #1c1f24;
  --card-bg: rgba(34, 36, 40, 0.82);
  --card-border: rgba(217, 218, 220, 0.14);
  --input-bg: rgba(255, 255, 255, 0.04);
  --input-border: rgba(217, 218, 220, 0.14);
  --text-primary: #FFFFFF;
  --text-muted: #D9DADC;
  --text-dim: rgba(217, 218, 220, 0.48);
  --danger: #FF6B6B;
  --success: #4ADE80;
}

[data-color="cyan"] {
  --lamp-accent: #00f0ff;
  --lamp-glow: #a6f9ff;
  --lamp-secondary: #009eb0;
  --beam-color: rgba(0, 240, 255, 0.2);
  --beam-start: rgba(160, 245, 255, 0.45);
  --beam-mid: rgba(0, 220, 255, 0.22);
  --beam-far: rgba(0, 180, 220, 0.08);
  --lamp-focus-glow: rgba(0, 240, 255, 0.18);
}

[data-color="rose"] {
  --lamp-accent: #ff3385;
  --lamp-glow: #ffa3c7;
  --lamp-secondary: #ba1656;
  --beam-color: rgba(255, 51, 133, 0.2);
  --beam-start: rgba(255, 160, 205, 0.45);
  --beam-mid: rgba(255, 70, 150, 0.22);
  --beam-far: rgba(255, 30, 110, 0.08);
  --lamp-focus-glow: rgba(255, 51, 133, 0.18);
}

[data-color="mint"] {
  --lamp-accent: #00e676;
  --lamp-glow: #b9f6ca;
  --lamp-secondary: #00964b;
  --beam-color: rgba(0, 230, 118, 0.2);
  --beam-start: rgba(180, 255, 215, 0.45);
  --beam-mid: rgba(0, 225, 115, 0.22);
  --beam-far: rgba(0, 170, 85, 0.08);
  --lamp-focus-glow: rgba(0, 230, 118, 0.18);
}

[data-color="moonlight"] {
  --lamp-accent: #D9DADC;
  --lamp-glow: #ffffff;
  --lamp-secondary: #8f949e;
  --beam-color: rgba(217, 218, 220, 0.22);
  --beam-start: rgba(255, 255, 255, 0.45);
  --beam-mid: rgba(217, 218, 220, 0.22);
  --beam-far: rgba(170, 180, 200, 0.08);
  --lamp-focus-glow: rgba(217, 218, 220, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.8s ease;
}

body[data-on="true"] {
  background-color: var(--bg-illuminated);
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

/* Ambient Radial Glow */
.ambient-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 38% 38%, var(--beam-color), transparent 65%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.8s ease, background 0.5s ease;
}

body[data-on="true"] .ambient-glow {
  opacity: 0.85;
}

#dustCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Top Navigation & Quick Controls */
.top-nav-corner {
  position: fixed;
  top: 22px;
  left: 26px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.corner-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 218, 220, 0.14);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.corner-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

.panda-pill {
  border-color: rgba(255, 201, 60, 0.36);
}

.quick-controls {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-palette {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 6px 12px;
  border-radius: 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.color-dot-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dot-color);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.color-dot-btn:hover {
  transform: scale(1.22);
  box-shadow: 0 0 10px var(--dot-color);
}

.color-dot-btn.active {
  transform: scale(1.2);
  border-color: #fff;
  box-shadow: 0 0 12px var(--dot-color);
}

.sound-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.sound-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: scale(1.05);
}

.sound-icon {
  width: 18px;
  height: 18px;
}

/* Scene Layout */
.scene-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 2rem 2.5rem;
  position: relative;
  z-index: 10;
  max-width: 1160px;
  margin: 0 auto;
  gap: 2rem;
}

/* Lamp Stage */
.lamp-stage {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  user-select: none;
}

.lamp-wrapper {
  position: relative;
  width: 400px;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lamp-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
  transition: filter 500ms ease, transform 500ms cubic-bezier(.2, .7, .2, 1);
  transform-origin: 54% 44%;
}

body[data-on="true"] .lamp-shade-body {
  filter: drop-shadow(0 0 12px var(--lamp-accent));
}

.shade-enamel-highlight,
.reflector-detail {
  pointer-events: none;
}

.svg-light-beam {
  opacity: 0;
  visibility: hidden;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

body[data-on="true"] .svg-light-beam {
  opacity: 1;
  visibility: visible;
  animation: beam-bloom 1.2s ease-out both;
}

@keyframes beam-bloom {
  from { opacity: .15; }
  to { opacity: 1; }
}

.shade-reflector-off { opacity: 1; }
.shade-reflector-on { opacity: 0; transition: opacity 0.35s ease; }
body[data-on="true"] .shade-reflector-on { opacity: 1; }

.bulb-glow-core { opacity: 0; transition: opacity 0.3s ease; }
body[data-on="true"] .bulb-glow-core { opacity: 0.95; animation: bulb-flicker-in 650ms ease-out both; }

@keyframes bulb-flicker-in {
  0% { opacity: 0; }
  22% { opacity: .55; }
  34% { opacity: .28; }
  48% { opacity: .9; }
  62% { opacity: .72; }
  100% { opacity: .95; }
}

.bulb-filament {
  stroke: #555;
  transition: stroke 0.3s ease, filter 0.3s ease;
}

body[data-on="true"] .bulb-filament {
  stroke: #fff;
  filter: drop-shadow(0 0 6px var(--lamp-accent));
}

.elastic-cord-path { transition: stroke 0.3s ease; }
body[data-on="true"] .elastic-cord-path {
  stroke: var(--lamp-glow);
  filter: drop-shadow(0 0 4px var(--lamp-accent));
}

.cord-bead-group { cursor: grab; touch-action: none; }
.cord-bead-group:active { cursor: grabbing; }

.bead-aura { transition: opacity 0.3s ease; }
body[data-on="true"] .bead-aura {
  opacity: 0.35;
  animation: pulseAura 2.2s infinite ease-in-out;
}

@keyframes pulseAura {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

.cord-tooltip {
  position: absolute;
  top: 360px;
  left: 175px;
  background: rgba(16, 19, 25, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #fff;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  animation: floatTooltip 2.2s infinite ease-in-out;
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
}

body[data-on="true"] .cord-tooltip {
  opacity: 0;
  transform: translateY(-8px);
}

.tooltip-arrow {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(16, 19, 25, 0.88);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@keyframes floatTooltip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Form Stage & Off Prompt */
.form-stage {
  flex: 1 1 440px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 540px;
}

.lamp-off-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 390px;
  padding: 2.5rem 2rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(217, 218, 220, 0.18);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.lamp-off-prompt:hover {
  background: rgba(255, 201, 60, 0.08);
  border-color: var(--lamp-accent);
  color: #fff;
  transform: translateY(-2px);
}

.prompt-icon {
  font-size: 2rem;
}

.prompt-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.prompt-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
}

body[data-on="true"] .lamp-off-prompt {
  display: none;
}

/* Login Card */
.login-card {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: 100%;
  max-width: 440px;
  background: var(--card-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 2.2rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  z-index: 10;
}

body[data-on="true"] .login-card {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  box-shadow:
    -20px 0 60px -15px var(--beam-color),
    0 30px 65px rgba(0, 0, 0, 0.55),
    inset 0 1px 2px rgba(255, 255, 255, 0.18);
}

body[data-on="false"] .login-card {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body[data-on="false"] .svg-light-beam,
body[data-on="false"] .ambient-glow {
  opacity: 0 !important;
  visibility: hidden !important;
}

body[data-on="false"] .shade-reflector-on,
body[data-on="false"] .bulb-glow-core {
  opacity: 0 !important;
}

body[data-on="false"] .bulb-filament {
  stroke: #555 !important;
  filter: none !important;
}

.card-header {
  margin-bottom: 1.35rem;
}

.card-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 0.7rem;
}

.mini-brand-badge {
  background: #fff;
  color: #2B2D31;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 9999px;
  letter-spacing: -0.02em;
}

.otp-security-pill {
  background: rgba(255, 201, 60, 0.15);
  border: 1px solid rgba(255, 201, 60, 0.35);
  color: var(--lamp-accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
}

.card-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.3rem;
}

.card-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  opacity: 0.82;
  line-height: 1.45;
}

/* Auth Tabs */
.auth-tabs {
  position: relative;
  display: flex;
  background: rgba(0, 0, 0, 0.32);
  padding: 4px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.3rem;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 9px 0;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease;
  text-align: center;
}

.auth-tab.active {
  color: #fff;
}

.tab-slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.auth-tabs[data-active="register"] .tab-slider {
  transform: translateX(100%);
}

/* Alerts & Hints */
.inline-alert {
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.38);
  color: #ffb8b8;
}

.inline-alert.success {
  background: rgba(74, 222, 128, 0.14);
  border-color: rgba(74, 222, 128, 0.38);
  color: #bbf7d0;
}

.gmail-hint {
  margin-top: 6px;
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.35;
}

.gmail-hint.error {
  color: var(--danger);
  font-weight: 600;
}

.gmail-hint.ok {
  color: var(--success);
  font-weight: 600;
}

/* Form Groups */
.form-group {
  margin-bottom: 1.05rem;
}

.dual-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.label-row label { margin-bottom: 0; }

.forgot-link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lamp-accent);
  cursor: pointer;
}

.forgot-link:hover { text-decoration: underline; }

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 14px;
  transition: all 0.25s ease;
}

.input-wrapper:hover {
  border-color: rgba(217, 218, 220, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.input-wrapper:focus-within {
  border-color: var(--lamp-accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px var(--lamp-focus-glow);
}

.field-icon {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--text-dim);
  pointer-events: none;
  transition: color 0.25s ease;
}

.input-wrapper:focus-within .field-icon {
  color: var(--lamp-accent);
}

.input-wrapper input {
  width: 100%;
  padding: 12px 40px 12px 42px;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
}

.input-wrapper input::placeholder {
  color: var(--text-dim);
  font-weight: 400;
}

.input-wrapper input.otp-input-box {
  padding: 13px 16px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: var(--lamp-accent);
}

.eye-toggle {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.eye-toggle:hover { color: #fff; }
.eye-icon { width: 17px; height: 17px; }

/* Submit Button */
.submit-btn {
  position: relative;
  width: 100%;
  padding: 13.5px 16px;
  margin-top: 0.25rem;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--lamp-accent) 0%, var(--lamp-secondary) 100%);
  color: #161920;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(0, 0, 0, 0.55), 0 0 24px var(--beam-color);
}

.submit-btn:disabled {
  opacity: 0.65;
  pointer-events: none;
}

.btn-glow-layer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}

.submit-btn:hover .btn-glow-layer { left: 150%; }

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-arrow {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}

.submit-btn:hover .btn-arrow { transform: translateX(4px); }

.btn-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(0, 0, 0, 0.25);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.text-link-btn {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.text-link-btn:hover { color: var(--lamp-accent); }

.otp-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 0.9rem;
}

.ghost-mini-btn {
  padding: 7px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(217, 218, 220, 0.16);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.ghost-mini-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.ghost-mini-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Divider & Footer */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.35rem 0 0.85rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.divider-text {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--text-dim);
}

.card-footer-meta a {
  color: var(--lamp-accent);
  font-weight: 600;
}

.card-footer-meta a:hover { text-decoration: underline; }

/* Success Overlay */
.success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  padding: 2.2rem;
  z-index: 30;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.success-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.success-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.success-ring svg { width: 28px; height: 28px; }

.success-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.45rem;
}

.success-box p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.35rem;
}

.reset-demo-btn {
  background: var(--lamp-accent);
  border: none;
  color: #161920;
  padding: 10px 22px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 960px) {
  .scene-container {
    flex-direction: column;
    padding-top: 76px;
    gap: 1.25rem;
  }
  .lamp-stage { flex: 0 0 auto; height: 320px; }
  .lamp-wrapper { width: 320px; height: 360px; transform: scale(0.88); }
  .form-stage { width: 100%; min-height: auto; }
  .login-card { max-width: 440px; padding: 1.9rem 1.6rem; }
}

@media (max-width: 580px) {
  .top-nav-corner { top: 14px; left: 14px; }
  .panda-pill { display: none; }
  .quick-controls { top: 14px; right: 14px; }
  .dual-row { grid-template-columns: 1fr; gap: 0; }
}
