/* Pixel Ramen Rush — Warm 16-Bit Late-Night Yatai UI */
:root {
  --bg-deep: #120b14;
  --wood-dark: #251513;
  --wood-mid: #3d2119;
  --wood-edge: #6f3b24;
  --lantern-red: #ef4444;
  --lantern-gold: #fbbf24;
  --cream: #fdf4e3;
  --muted: #cbb9a8;
  --accent-cyan: #38bdf8;
  --accent-pink: #f472b6;
  --good-green: #34d399;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg-deep);
  color: var(--cream);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  user-select: none;
  -webkit-user-select: none;
}

.app-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #2a1426 0%, #120b14 70%);
}

/* ─── Top HUD ─── */
.top-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: linear-gradient(180deg, #2a1714 0%, #1c0f10 100%);
  border-bottom: 2px solid #5c3120;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
  flex-shrink: 0;
  z-index: 20;
  min-height: 46px;
}

.hud-left, .hud-center, .hud-right {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(15, 8, 12, 0.72);
  border: 1px solid rgba(251, 191, 36, 0.3);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.hud-shift {
  color: var(--lantern-gold);
  border-color: rgba(251, 191, 36, 0.55);
}

.hud-timer {
  color: #fde68a;
  font-variant-numeric: tabular-nums;
}

.hud-timer.urgent {
  color: #fca5a5;
  border-color: #ef4444;
  animation: pulseUrgent 0.6s infinite alternate;
}

@keyframes pulseUrgent {
  from { box-shadow: 0 0 0 rgba(239, 68, 68, 0.2); }
  to { box-shadow: 0 0 10px rgba(239, 68, 68, 0.75); }
}

.goal-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 118px;
}

.goal-text {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  color: #fef3c7;
  font-variant-numeric: tabular-nums;
}

.goal-bar {
  position: relative;
  height: 7px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(251, 191, 36, 0.35);
  overflow: hidden;
}

.goal-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #fde047);
  transition: width 0.22s ease;
}

.fever-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(18, 9, 14, 0.8);
  border: 1px solid rgba(239, 68, 68, 0.45);
}

.fever-wrap.fever-on {
  border-color: #fde047;
  background: linear-gradient(90deg, rgba(180, 35, 24, 0.9), rgba(217, 119, 6, 0.9));
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.7);
  animation: pulseUrgent 0.45s infinite alternate;
}

.fever-label {
  font-size: 11px;
  font-weight: 900;
  color: #fde047;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.fever-bar {
  width: 78px;
  height: 8px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.6);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.fever-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ef4444, #f97316, #fde047);
  transition: width 0.2s ease;
}

.combo-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d97706, #ef4444);
  color: #fff;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45);
  white-space: nowrap;
}

.combo-badge.hidden { display: none; }

.yen-pill {
  color: #fde047;
  border-color: rgba(250, 204, 21, 0.55);
  background: rgba(45, 28, 8, 0.85);
}

.icon-btn {
  appearance: none;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(46, 25, 20, 0.92);
  color: var(--cream);
  border-radius: 8px;
  height: 31px;
  padding: 0 8px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  transition: transform 0.1s ease, border-color 0.14s ease, background 0.14s ease;
}

.icon-btn:hover {
  border-color: var(--lantern-gold);
  background: #522b20;
  transform: translateY(-1px);
}

.icon-btn:active { transform: translateY(0); }

/* ─── Center Canvas Stage ─── */
.stage-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  background: #100914;
}

#stage {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  cursor: pointer;
  touch-action: manipulation;
}

.stage-toast {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(20, 10, 14, 0.92);
  border: 1.5px solid var(--lantern-gold);
  color: #fef08a;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 15;
  white-space: nowrap;
  max-width: 92vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stage-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Bottom Tactile Kitchen Prep Bar ─── */
.kitchen-dock {
  flex-shrink: 0;
  background: linear-gradient(180deg, #2b1713 0%, #1b0e0d 100%);
  border-top: 2px solid #753f24;
  padding: 7px 10px 6px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 8px;
  align-items: stretch;
  z-index: 18;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.55);
}

#boilers-group { order: 1; }
#broths-group { order: 2; }
#toppings-group { order: 3; }
#trash-btn { order: 4; }

.kitchen-top-row {
  display: contents;
}

.station-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(15, 8, 10, 0.55);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 10px;
  padding: 5px 7px;
  min-width: 0;
}

.station-title {
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #e5c39c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.station-row {
  display: flex;
  align-items: stretch;
  gap: 5px;
  flex: 1;
}

/* Boiler Slot Button */
.boiler-btn {
  position: relative;
  min-width: 66px;
  padding: 4px 6px;
  border-radius: 8px;
  border: 1.5px solid #6b4228;
  background: linear-gradient(180deg, #3b221a, #24130f);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-weight: 800;
  transition: transform 0.08s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.boiler-btn:hover { border-color: #fbbf24; transform: translateY(-1px); }
.boiler-btn:active { transform: scale(0.96); }

.boiler-btn.state-boiling {
  border-color: #fb923c;
  background: linear-gradient(180deg, #522514, #2f140c);
}

.boiler-btn.state-ready {
  border-color: #fde047;
  background: linear-gradient(180deg, #784212, #462309);
  box-shadow: 0 0 12px rgba(253, 224, 71, 0.55);
  animation: pulseReady 0.65s infinite alternate;
}

.boiler-btn.state-burned {
  border-color: #ef4444;
  background: linear-gradient(180deg, #451212, #240a0a);
}

@keyframes pulseReady {
  from { box-shadow: 0 0 4px rgba(253, 224, 71, 0.4); }
  to { box-shadow: 0 0 14px rgba(253, 224, 71, 0.9); }
}

.boiler-icon {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
}

.boiler-status {
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #fde68a;
  line-height: 1;
}

.boiler-bar {
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.boiler-bar-fill {
  height: 100%;
  width: 0%;
  background: #fb923c;
  transition: width 0.08s linear;
}

/* Ingredient Buttons (Broths & Toppings) */
.ing-btn {
  position: relative;
  min-width: 58px;
  flex: 1 1 0;
  padding: 4px 5px;
  border-radius: 8px;
  border: 1.5px solid rgba(251, 191, 36, 0.28);
  background: linear-gradient(180deg, #3c221b, #23120f);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: transform 0.08s ease, border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

.ing-btn:hover:not(:disabled) {
  border-color: var(--lantern-gold);
  background: linear-gradient(180deg, #522e22, #311912);
  transform: translateY(-1px);
}

.ing-btn:active:not(:disabled) { transform: scale(0.95); }

.ing-btn:disabled, .ing-btn.locked {
  opacity: 0.36;
  cursor: not-allowed;
  filter: grayscale(0.7);
}

.ing-btn.active-in-bowl {
  border-color: #34d399;
  background: linear-gradient(180deg, #164e3d, #0f2f27);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.ing-btn.needed-hint {
  border-color: rgba(253, 224, 71, 0.72);
  box-shadow: inset 0 0 8px rgba(251, 191, 36, 0.25);
}

.ing-icon {
  width: 30px;
  height: 30px;
  image-rendering: pixelated;
  display: block;
}

.ing-name {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.ing-key {
  position: absolute;
  top: 2px;
  left: 4px;
  font-size: 8.5px;
  font-weight: 900;
  color: rgba(253, 230, 138, 0.75);
}

.ing-check {
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 10px;
  color: #6ee7b7;
  font-weight: 900;
}

.trash-btn {
  min-width: 52px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1.5px solid rgba(239, 68, 68, 0.45);
  background: linear-gradient(180deg, #4b181b, #290c0f);
  color: #fecaca;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.trash-btn:hover { border-color: #f87171; background: #651f24; }
.trash-btn:active { transform: scale(0.95); }

/* ─── Footer Bar (studio-bar.js docks here cleanly!) ─── */
footer.footer-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 10px;
  min-height: 32px;
  background: #12090c;
  border-top: 1px solid rgba(251, 191, 36, 0.18);
  font-size: 11px;
  color: var(--muted);
  z-index: 19;
}

.footer-hint {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Modals & Overlays (position: fixed, cleanly responsive) ─── */
.overlay-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 5, 12, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.overlay-backdrop.hidden { display: none !important; }

.card {
  width: 100%;
  max-width: 540px;
  max-height: min(90dvh, 720px);
  overflow-y: auto;
  background: linear-gradient(180deg, #2b1718 0%, #1a0e13 100%);
  border: 2px solid #d97706;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(253, 224, 71, 0.25);
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: var(--cream);
}

.card-wide { max-width: 620px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #fde047;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 #3b170e;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(15, 8, 10, 0.65);
  color: var(--cream);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.hero-badge {
  display: inline-flex;
  align-self: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(248, 113, 113, 0.55);
  color: #fecaca;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.08;
  color: #fde047;
  text-shadow: 0 3px 0 #691b14, 0 0 18px rgba(251, 191, 36, 0.35);
}

.hero-sub {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: #e9d5c0;
  line-height: 1.4;
}

.challenge-banner {
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.28), rgba(239, 68, 68, 0.22));
  border: 1.5px solid #fbbf24;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #fef08a;
}

.challenge-banner.hidden { display: none; }

.shift-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.shift-chip {
  padding: 6px 4px;
  border-radius: 8px;
  border: 1.5px solid rgba(251, 191, 36, 0.28);
  background: rgba(18, 9, 12, 0.72);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 800;
}

.shift-chip.selected {
  border-color: #fde047;
  background: linear-gradient(180deg, #692816, #3d160e);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.shift-chip.locked {
  opacity: 0.38;
  cursor: not-allowed;
}

.shift-stars {
  font-size: 10px;
  color: #fbbf24;
  letter-spacing: 1px;
}

.btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-daily, .btn-endless {
  flex: 1 1 auto;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  border: 1.5px solid transparent;
  letter-spacing: 0.02em;
  transition: transform 0.1s ease, filter 0.14s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #f59e0b, #d97706);
  color: #1c0b07;
  border-color: #fde047;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.38);
}

.btn-daily {
  background: linear-gradient(180deg, #ef4444, #b91c1c);
  color: #fff;
  border-color: #fca5a5;
}

.btn-endless {
  background: linear-gradient(180deg, #7c3aed, #5b21b6);
  color: #fff;
  border-color: #c4b5fd;
}

.btn-secondary {
  background: rgba(45, 25, 23, 0.9);
  color: var(--cream);
  border-color: rgba(251, 191, 36, 0.35);
}

.btn-primary:hover, .btn-daily:hover, .btn-endless:hover, .btn-secondary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.ov-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.stat-box {
  background: rgba(14, 7, 10, 0.72);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label { font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.stat-val { font-size: 17px; font-weight: 900; color: #fde047; }

.cliffhanger-box {
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px dashed rgba(251, 191, 36, 0.55);
  font-size: 12px;
  color: #fef3c7;
  font-weight: 700;
  text-align: center;
}

.lb-submit-row {
  display: flex;
  gap: 7px;
  align-items: center;
}

.lb-input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: rgba(10, 5, 8, 0.85);
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
}

.share-preview {
  background: rgba(10, 5, 8, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 9px;
  padding: 8px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: #fde68a;
  white-space: pre-wrap;
  line-height: 1.4;
}

.share-preview.hidden { display: none; }

/* Shop & Recipe Lists */
.tabs-row {
  display: flex;
  gap: 6px;
}

.tab-btn {
  flex: 1;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: rgba(16, 8, 11, 0.72);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}

.tab-btn.active {
  background: linear-gradient(180deg, #b45309, #78350f);
  color: #fef08a;
  border-color: #fde047;
}

.shop-list, .recipe-list, .lb-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.shop-item, .recipe-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(15, 8, 12, 0.75);
  border: 1px solid rgba(251, 191, 36, 0.24);
}

.shop-item-info, .recipe-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.shop-item-name, .recipe-name {
  font-size: 13.5px;
  font-weight: 900;
  color: #fef3c7;
}

.shop-item-desc, .recipe-desc {
  font-size: 11.5px;
  color: var(--muted);
}

.shop-buy-btn {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #fbbf24;
  background: linear-gradient(180deg, #f59e0b, #b45309);
  color: #1c0b07;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.shop-buy-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #3b2a22;
  color: #cbb9a8;
  border-color: rgba(251, 191, 36, 0.2);
}

.recipe-item.discovered {
  border-color: rgba(250, 204, 21, 0.65);
  background: rgba(54, 31, 12, 0.55);
}

.lb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(15, 8, 12, 0.75);
  border: 1px solid rgba(251, 191, 36, 0.2);
  font-size: 13px;
  font-weight: 800;
}

.lb-rank { color: #fbbf24; width: 28px; }
.lb-name { flex: 1; color: var(--cream); }
.lb-score { color: #6ee7b7; font-variant-numeric: tabular-nums; }

.stars-big {
  text-align: center;
  font-size: 32px;
  color: #fbbf24;
  letter-spacing: 6px;
  text-shadow: 0 2px 10px rgba(251, 191, 36, 0.5);
  margin: -4px 0;
}

.how-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  text-align: center;
  color: #fde68a;
}

.how-step {
  background: rgba(14, 7, 10, 0.65);
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 8px;
  padding: 5px 4px;
}

/* ─── Responsive Mobile (390×844 zero horizontal overflow!) ─── */
@media (max-width: 820px) {
  .top-hud {
    padding: 5px 6px;
    gap: 5px;
    flex-wrap: wrap;
    min-height: auto;
  }
  .hud-left { flex: 1 1 auto; gap: 4px; }
  .hud-center { order: 3; width: 100%; justify-content: space-between; gap: 5px; }
  .hud-right { gap: 4px; }
  .hud-pill { padding: 3px 6px; font-size: 11px; }
  .goal-wrap { min-width: 84px; flex: 1; }
  .fever-bar { width: 64px; }
  .icon-btn { height: 28px; padding: 0 6px; font-size: 11.5px; }
  .icon-btn .btn-txt { display: none; }

  .kitchen-dock {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 5px 6px;
  }
  .kitchen-top-row {
  display: contents;
}

.station-group { padding: 4px 5px; }
  .station-title { font-size: 9px; }
  .station-row { flex-wrap: nowrap; gap: 4px; }
  .boiler-btn { min-width: 0; flex: 1 1 0; padding: 3px 4px; }
  .boiler-icon { width: 22px; height: 22px; }
  .ing-btn { min-width: 0; padding: 3px 2px; }
  .ing-icon { width: 24px; height: 24px; }
  .ing-name { font-size: 8.5px; }
  .ing-key { display: none; }
  .kitchen-top-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    gap: 5px;
  }
  #boilers-group, #broths-group, #toppings-group, #trash-btn { order: 0; }
  .trash-btn { min-width: 40px; padding: 4px; font-size: 10px; }
  footer.footer-bar { padding: 3px 7px; font-size: 10px; }
  .footer-hint { display: none; }
  .how-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-title { font-size: 23px; }
}
