*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.hidden { display: none !important; }

:root {
  --bg-start: #040510;
  --bg-end: #0b0e27;
  --panel: rgba(10, 15, 38, 0.72);
  --panel-2: rgba(16, 25, 59, 0.8);
  --line: rgba(0, 243, 255, 0.22);
  --cyan: #00f3ff;
  --pink: #ff007b;
  --mint: #00ff9d;
  --orange: #ffb300;
  --text: #f0f6ff;
  --dim: #8ba5d7;
}

html, body {
  height: 100%;
  color: var(--text);
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  touch-action: manipulation;
  background: 
    radial-gradient(120% 120% at 90% -10%, rgba(36, 63, 143, 0.25) 0%, transparent 48%),
    radial-gradient(90% 140% at -10% 110%, rgba(11, 109, 113, 0.2) 0%, transparent 48%),
    linear-gradient(165deg, var(--bg-start), var(--bg-end));
  position: relative;
}

/* TERMINAL MESH GRID OVERLAY */
.terminal-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  transition: filter 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
}

body.auth-locked .app-shell {
  filter: blur(8px) saturate(0.6);
  transform: scale(0.985);
  pointer-events: none;
  user-select: none;
}

header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--panel);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo { font-size: 1.4rem; }

.title {
  flex: 1;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cyan);
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.55);
  min-width: 0;
}

.nick {
  font-size: 0.76rem;
  font-family: "Orbitron", sans-serif;
  color: var(--dim);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.change-user-btn {
  border: 1px solid rgba(0, 243, 255, 0.35);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  color: #d2f6ff;
  background: rgba(0, 243, 255, 0.08);
  font-family: "Orbitron", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.change-user-btn:hover {
  background: rgba(0, 243, 255, 0.2);
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.backend-badge {
  font-family: "Orbitron", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid rgba(0, 243, 255, 0.45);
  border-radius: 6px;
  padding: 0.18rem 0.45rem;
  color: var(--cyan);
  text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
  box-shadow: inset 0 0 5px rgba(0, 243, 255, 0.1);
}

.backend-badge[data-mode="local"] {
  color: var(--orange);
  border-color: rgba(255, 179, 0, 0.45);
  text-shadow: 0 0 5px rgba(255, 179, 0, 0.5);
}

/* MISSION PANEL CARD */
.mission-block {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.85rem 1.1rem;
  background: var(--panel-2);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
}

.mission-progress {
  display: flex;
  gap: 0.38rem;
  font-size: 1.25rem;
}

.dot {
  color: rgba(139, 179, 255, 0.25);
  transition: all 0.25s ease;
}

.dot.active {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 243, 255, 0.85);
}

.dot.done {
  color: var(--mint);
  text-shadow: 0 0 12px rgba(0, 255, 157, 0.85);
}

.mission-label {
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.15rem;
}

.mission-target {
  font-size: 0.96rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mission-subtarget {
  font-size: 0.78rem;
  color: var(--cyan);
  margin-top: 0.25rem;
  font-family: "Orbitron", monospace;
  line-height: 1.4;
}

.winner-line,
.backend-info,
.command-legend {
  position: relative;
  z-index: 2;
  padding: 0.48rem 1.1rem;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(0, 243, 255, 0.12);
  font-family: "Orbitron", sans-serif;
}

.winner-line {
  color: var(--mint);
  background: rgba(6, 45, 34, 0.45);
  font-weight: 700;
  letter-spacing: 0.05em;
  border-left: 3px solid var(--mint);
}

.backend-info {
  color: var(--orange);
  background: rgba(58, 41, 10, 0.35);
  border-left: 3px solid var(--orange);
}

.command-legend {
  color: #b0c9f0;
  background: rgba(8, 14, 38, 0.65);
  font-family: "Orbitron", monospace;
  font-size: 0.7rem;
}

/* HISTORIC GLASSMOPRHIC CHAT */
.messages {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow-y: auto;
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.messages::-webkit-scrollbar { width: 5px; }
.messages::-webkit-scrollbar-thumb {
  background: rgba(0, 243, 255, 0.28);
  border-radius: 8px;
}

.msg {
  max-width: min(88%, 600px);
  border-radius: 14px;
  padding: 0.55rem 0.85rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(2, 6, 21, 0.4);
  transition: transform 0.2s ease, opacity 0.2s ease;
  animation: msgEnter 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28) both;
}

@keyframes msgEnter {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.msg-author {
  font-family: "Orbitron", sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
  letter-spacing: 0.05em;
}

.msg-text {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #f8fbff;
  word-break: break-word;
}

/* Chat bubble styling variants */
.msg.user {
  align-self: flex-start;
  background: rgba(14, 23, 56, 0.82);
  border: 1px solid rgba(0, 243, 255, 0.15);
}

.msg.self {
  align-self: flex-end;
  background: rgba(12, 45, 59, 0.78);
  border: 1px solid rgba(0, 243, 255, 0.4);
  box-shadow: 0 4px 18px rgba(0, 243, 255, 0.1);
}
.msg.self .msg-author {
  color: var(--cyan);
}

.msg.system {
  align-self: center;
  background: rgba(36, 44, 78, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 95%;
  font-size: 0.78rem;
  text-align: center;
}

.msg.success {
  align-self: center;
  background: rgba(5, 53, 34, 0.72);
  border: 1px solid rgba(0, 255, 157, 0.45);
  box-shadow: 0 4px 20px rgba(0, 255, 157, 0.15);
  max-width: 95%;
  text-align: center;
}
.msg.success .msg-author {
  color: var(--mint);
}
.msg.success .msg-text {
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 255, 157, 0.5);
}

.error-hint {
  position: relative;
  z-index: 2;
  padding: 0.48rem 1.1rem;
  font-size: 0.78rem;
  color: #ff8e8e;
  background: rgba(69, 18, 30, 0.55);
  border-top: 1px solid rgba(255, 112, 112, 0.35);
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.02em;
}

/* TERMINAL INPUT PANEL */
.input-area {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.65rem;
  padding: 0.75rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 23, 0.94);
  backdrop-filter: blur(14px);
}

#input {
  flex: 1;
  border: 1px solid rgba(0, 243, 255, 0.22);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  background: rgba(9, 15, 38, 0.94);
  color: #fff;
  font-family: "Consolas", monospace;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.25s ease;
}

#input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.25);
  background: rgba(14, 24, 59, 0.94);
}

#input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#send-btn {
  border: none;
  border-radius: 10px;
  padding: 0 1.25rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #03131d;
  background: linear-gradient(135deg, #00f3ff, #0099ff);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.35);
  transition: all 0.2s ease;
}

#send-btn:hover:not(:disabled) {
  filter: brightness(1.1);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.55);
}

#send-btn:disabled {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}

/* CELEBRATORY VICTORY MODAL */
.victory {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(2, 4, 13, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.victory-card {
  width: min(430px, 100%);
  background: linear-gradient(165deg, rgba(16, 27, 66, 0.98), rgba(6, 12, 33, 0.98));
  border: 1px solid rgba(0, 243, 255, 0.45);
  border-radius: 20px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: 
    0 25px 60px rgba(0,0,0,0.8),
    0 0 30px rgba(0, 243, 255, 0.15);
  animation: victoryModalEnter 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28) both;
}

@keyframes victoryModalEnter {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.victory-emoji {
  font-size: 3.2rem;
  margin-bottom: 0.4rem;
  animation: pulseB 1.5s ease-in-out infinite alternate;
}

.victory-card h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #d2f6ff;
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
  text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

.victory-card p {
  color: #c4d7f5;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.1rem;
}

.victory-close {
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.35rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  background: linear-gradient(135deg, #00ff9d, #00b36e);
  color: #032115;
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.35);
  transition: all 0.2s ease;
}

.victory-close:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 25px rgba(0, 255, 157, 0.55);
}

/* CYBERPUNK AUTH GATE / MODAL */
.name-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(3, 5, 15, 0.9);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.name-card {
  width: min(480px, 100%);
  background: linear-gradient(160deg, rgba(14, 20, 48, 0.96), rgba(8, 12, 33, 0.96));
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 24px;
  padding: 1.8rem 1.5rem 1.5rem;
  box-shadow:
    0 25px 65px rgba(0,0,0,0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.apple-logo {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  color: var(--cyan);
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 12px rgba(0, 243, 255, 0.65);
}

.name-card h2 {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
  color: #fff;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255,255,255,0.15);
}

.name-card p {
  font-size: 0.88rem;
  color: var(--dim);
  margin-bottom: 1.1rem;
  text-align: center;
}

#name-input {
  width: 100%;
  border: 1px solid rgba(0, 243, 255, 0.25);
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  background: rgba(6, 10, 26, 0.92);
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  outline: none;
  font-family: "Inter", sans-serif;
  transition: all 0.25s ease;
}

#name-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.25);
  background: rgba(10, 18, 48, 0.92);
}

#join-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 0.76rem 0.6rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #00f3ff, #0077ff);
  color: #03131d;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
  transition: all 0.25s ease;
}

#join-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.55);
}

.continue-as-btn {
  width: 100%;
  margin-top: 0.65rem;
  border: 1px solid rgba(0, 243, 255, 0.25);
  border-radius: 12px;
  padding: 0.7rem 0.6rem;
  background: rgba(14, 20, 48, 0.45);
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.continue-as-btn:hover {
  background: rgba(0, 243, 255, 0.1);
  border-color: var(--cyan);
}

.auth-divider {
  position: relative;
  margin: 1.15rem 0 0.95rem;
  text-align: center;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid rgba(0, 243, 255, 0.15);
}

.auth-divider span {
  position: relative;
  display: inline-block;
  padding: 0 0.8rem;
  background: #0b1029;
  color: var(--dim);
  font-family: "Orbitron", sans-serif;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-toggle-btn,
.admin-login-btn {
  width: 100%;
  border-radius: 12px;
  padding: 0.7rem 0.6rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.admin-toggle-btn {
  border: 1px solid rgba(255, 0, 123, 0.3);
  background: rgba(255, 0, 123, 0.05);
  color: var(--pink);
}

.admin-toggle-btn:hover {
  background: rgba(255, 0, 123, 0.15);
  border-color: var(--pink);
}

.admin-panel {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

#admin-password-input {
  width: 100%;
  border: 1px solid rgba(255, 0, 123, 0.25);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  background: rgba(6, 10, 26, 0.92);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.25s ease;
}

#admin-password-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 15px rgba(255, 0, 123, 0.25);
  background: rgba(20, 10, 26, 0.92);
}

.admin-login-btn {
  border: none;
  background: linear-gradient(135deg, #ff007b, #9900ff);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 123, 0.25);
}

.admin-login-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 25px rgba(255, 0, 123, 0.5);
}

.auth-error {
  margin-top: 0.75rem;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  color: #ff8b98;
  background: rgba(69, 18, 25, 0.65);
  border: 1px solid rgba(255, 139, 152, 0.35);
}

/* --- INTERACTIVE BINARY KEYBOARD --- */
.keyboard-toggle-btn {
  border: 1px solid rgba(0, 243, 255, 0.35);
  border-radius: 10px;
  width: 46px;
  background: rgba(9, 15, 38, 0.85);
  color: var(--cyan);
  font-weight: bold;
  font-size: 0.95rem;
  font-family: "Orbitron", monospace;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  user-select: none;
}

.keyboard-toggle-btn:hover {
  border-color: var(--cyan);
  background: rgba(14, 25, 58, 0.9);
}

.keyboard-toggle-btn.active {
  background: var(--cyan);
  color: #03131d;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.65);
  border-color: #fff;
}

.binary-keyboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.65rem 0.8rem;
  background: rgba(5, 8, 22, 0.96);
  border-top: 1px solid rgba(0, 243, 255, 0.15);
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
  backdrop-filter: blur(12px);
}

.bin-btn {
  border-radius: 12px;
  padding: 0.85rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: "Orbitron", monospace;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 5px currentColor;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.bin-btn:active {
  transform: scale(0.96);
}

.bin-btn.neon-cyan {
  border: 1px solid rgba(0, 243, 255, 0.35);
  background: rgba(11, 24, 54, 0.75);
  color: var(--cyan);
}

.bin-btn.neon-cyan:active {
  background: var(--cyan);
  color: #03131d;
  box-shadow: 0 0 18px rgba(0, 243, 255, 0.7);
}

.bin-btn.neon-mint {
  border: 1px solid rgba(0, 255, 157, 0.35);
  background: rgba(10, 48, 38, 0.75);
  color: var(--mint);
  font-size: 1.05rem;
}

.bin-btn.neon-mint:active {
  background: var(--mint);
  color: #032115;
  box-shadow: 0 0 18px rgba(0, 255, 157, 0.7);
}

.bin-btn.neon-orange {
  border: 1px solid rgba(255, 179, 0, 0.35);
  background: rgba(54, 40, 15, 0.75);
  color: var(--orange);
  font-size: 1.2rem;
}

.bin-btn.neon-orange:active {
  background: var(--orange);
  color: #211603;
  box-shadow: 0 0 18px rgba(255, 179, 0, 0.7);
}

.binary-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.1rem;
  background: rgba(12, 45, 59, 0.55);
  border-top: 1px solid rgba(0, 243, 255, 0.22);
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
}

.preview-label {
  color: var(--dim);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.preview-text {
  color: var(--mint);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 1rem;
  text-shadow: 0 0 12px rgba(0, 255, 157, 0.65);
}

/* --- CHEATSHEET ACCORDION --- */
.cheatsheet-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 1.1rem;
  background: rgba(8, 15, 38, 0.88);
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
  font-size: 0.76rem;
  color: var(--dim);
  cursor: pointer;
  user-select: none;
  font-family: "Orbitron", sans-serif;
  transition: all 0.2s ease;
}

.cheatsheet-toggle:hover {
  background: rgba(15, 27, 64, 0.9);
  color: #fff;
}

.cheatsheet-toggle .chevron {
  font-size: 0.6rem;
  transition: transform 0.24s ease;
}

.cheatsheet-toggle.active .chevron {
  transform: rotate(180deg);
}

.cheatsheet-content {
  background: rgba(6, 10, 26, 0.94);
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
  padding: 0.65rem 1.1rem;
  transition: all 0.3s ease;
  max-height: 180px;
  overflow-y: auto;
}

.cheatsheet-content::-webkit-scrollbar {
  width: 4px;
}

.cheatsheet-content::-webkit-scrollbar-thumb {
  background: rgba(0, 243, 255, 0.3);
  border-radius: 4px;
}

.cheatsheet-content.hidden {
  display: none;
}

.cheatsheet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem 0.6rem;
}

.cheatsheet-grid span {
  font-family: "Orbitron", monospace;
  font-size: 0.74rem;
  color: #c4d7f5;
  white-space: nowrap;
}

.cheatsheet-grid span strong {
  color: var(--cyan);
  text-shadow: 0 0 5px rgba(0, 243, 255, 0.4);
}

@media (max-width: 600px) {
  .cheatsheet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 440px) {
  .cheatsheet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE MEDIA QUERIES */
@media (max-width: 720px) {
  header { padding: 0.7rem 0.9rem; }
  .title { font-size: 0.92rem; letter-spacing: 0.04em; }
  .change-user-btn {
    padding: 0.28rem 0.55rem;
    font-size: 0.6rem;
  }
  .mission-block { padding: 0.75rem 0.9rem; gap: 0.85rem; }
  .mission-progress { font-size: 1.1rem; }
  .mission-target { font-size: 0.88rem; }
  .mission-subtarget { font-size: 0.74rem; }
  .command-legend { font-size: 0.66rem; }
  #send-btn { padding: 0 0.85rem; font-size: 0.76rem; }
  .name-card { border-radius: 20px; padding: 1.4rem 1.1rem 1.2rem; }
  .bin-btn { padding: 0.7rem; font-size: 1.35rem; }
  .bin-btn.neon-mint { font-size: 1rem; }
  .bin-btn.neon-orange { font-size: 1.1rem; }
}
