:root {
  color-scheme: dark;
  --bg: #071005;
  --panel: rgba(35, 23, 13, 0.88);
  --panel-solid: #29190c;
  --ink: #fff8df;
  --cream: #fff8df;
  --muted: #e2cca7;
  --line: rgba(251, 209, 123, 0.28);
  --gold: #f4ca6d;
  --berry: #98364d;
  --field: #319313;
  --sunlit-field: #43aa20;
  --leaf: #67b62f;
  --deep-leaf: #123d16;
  --moss: #727f1d;
  --olive-shadow: #272e1d;
  --wood: #8a572e;
  --path-wood: #6d4327;
  --hut-brown: #543829;
  --dark-wood: #2a170c;
  --sea: #92dfd1;
  --danger: #e45c4f;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.5);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body {
  min-height: 100dvh;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(67, 170, 32, 0.24) 0 18%, transparent 18% 100%),
    linear-gradient(18deg, rgba(109, 67, 39, 0.38) 0 30%, transparent 30% 100%),
    linear-gradient(90deg, rgba(146, 223, 209, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #071005 0%, #2b1609 42%, #0b3514 100%);
  background-size: auto, auto, 76px 76px, auto;
  color: var(--ink);
}

button {
  border: 0;
  font: inherit;
}

.app-shell {
  width: 100vw;
  height: 100dvh;
  padding: clamp(10px, 2vw, 22px);
  background:
    linear-gradient(90deg, rgba(244, 202, 109, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(95, 180, 60, 0.06) 0 1px, transparent 1px 100%);
  background-size: 44px 44px;
}

.game-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.11), rgba(0, 0, 0, 0.22)),
    linear-gradient(140deg, rgba(67, 170, 32, 0.28), transparent 36%),
    linear-gradient(320deg, rgba(109, 67, 39, 0.42), transparent 42%),
    #11180d;
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 220, 0.04),
    inset 0 0 0 7px rgba(84, 56, 41, 0.28),
    inset 0 0 42px rgba(25, 10, 4, 0.52),
    var(--shadow);
}

.game-stage::before,
.game-stage::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.game-stage::before {
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(244, 202, 109, 0.2);
  border-radius: 28px;
  box-shadow:
    inset 0 0 0 3px rgba(12, 18, 8, 0.3),
    inset 0 0 36px rgba(244, 202, 109, 0.07);
}

.game-stage::after {
  z-index: 1;
  inset: 0;
  opacity: 0.16;
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(244, 202, 109, 0.5) 9% 9.6%, transparent 9.6% 100%),
    linear-gradient(0deg, transparent 0 13%, rgba(95, 180, 60, 0.52) 13% 13.8%, transparent 13.8% 100%);
  background-size: 86px 86px;
  mix-blend-mode: screen;
}

.game-stage[data-world="coastal-market"] {
  border-color: rgba(146, 223, 209, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.09), rgba(0, 0, 0, 0.18)),
    linear-gradient(140deg, rgba(146, 223, 209, 0.18), transparent 38%),
    linear-gradient(320deg, rgba(244, 202, 109, 0.22), transparent 44%),
    #0c1b1c;
}

.game-stage[data-world="mountain-hearth"] {
  border-color: rgba(213, 154, 93, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 220, 160, 0.08), rgba(0, 0, 0, 0.2)),
    linear-gradient(145deg, rgba(213, 154, 93, 0.22), transparent 42%),
    linear-gradient(320deg, rgba(164, 59, 66, 0.2), transparent 46%),
    #1c160f;
}

.game-stage[data-world="midnight-dessert-salon"] {
  border-color: rgba(166, 139, 216, 0.42);
  background:
    linear-gradient(180deg, rgba(216, 184, 255, 0.09), rgba(0, 0, 0, 0.22)),
    linear-gradient(145deg, rgba(166, 139, 216, 0.2), transparent 42%),
    linear-gradient(320deg, rgba(244, 202, 109, 0.14), transparent 46%),
    #16101f;
}

.game-stage[data-world="frost-cellar"] {
  border-color: rgba(143, 216, 207, 0.42);
  background:
    linear-gradient(180deg, rgba(215, 245, 239, 0.1), rgba(0, 0, 0, 0.24)),
    linear-gradient(145deg, rgba(143, 216, 207, 0.18), transparent 42%),
    linear-gradient(320deg, rgba(241, 184, 94, 0.14), transparent 48%),
    #111a1e;
}

.game-stage[data-world*="santorini"],
.game-stage[data-world*="venice"],
.game-stage[data-world*="amalfi"],
.game-stage[data-world*="cape-town"],
.game-stage[data-world*="mosel"] {
  border-color: rgba(126, 200, 216, 0.38);
  background:
    linear-gradient(180deg, rgba(222, 248, 255, 0.1), rgba(0, 0, 0, 0.2)),
    linear-gradient(145deg, rgba(126, 200, 216, 0.18), transparent 42%),
    linear-gradient(320deg, rgba(244, 202, 109, 0.16), transparent 46%),
    #0c1b1c;
}

.game-stage[data-world*="provence"],
.game-stage[data-world*="kyoto"],
.game-stage[data-world*="marrakech"],
.game-stage[data-world*="tokaj"] {
  border-color: rgba(183, 154, 219, 0.4);
  background:
    linear-gradient(180deg, rgba(235, 222, 255, 0.1), rgba(0, 0, 0, 0.22)),
    linear-gradient(145deg, rgba(183, 154, 219, 0.17), transparent 42%),
    linear-gradient(320deg, rgba(244, 215, 94, 0.15), transparent 46%),
    #151321;
}

.game-stage[data-world*="tuscany"],
.game-stage[data-world*="douro"],
.game-stage[data-world*="mendoza"],
.game-stage[data-world*="rioja"],
.game-stage[data-world*="barossa"] {
  border-color: rgba(212, 113, 79, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 220, 176, 0.1), rgba(0, 0, 0, 0.22)),
    linear-gradient(145deg, rgba(212, 113, 79, 0.18), transparent 42%),
    linear-gradient(320deg, rgba(139, 80, 48, 0.22), transparent 46%),
    #1c150f;
}

.game-root {
  position: absolute;
  inset: 0;
  z-index: 0;
  touch-action: none;
}

.game-root canvas {
  display: block;
}

.hud {
  position: absolute;
  z-index: 10;
  display: flex;
  --hud-score-width: clamp(164px, 18vw, 218px);
  --hud-cell-gap: 6px;
  --hud-cell-height: 38px;
  --hud-control-height: var(--hud-cell-height);
  --hud-cell-width: calc(var(--hud-score-width) / 3);
  --hud-power-width: var(--hud-score-width);
  gap: 12px;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

html[data-pairplay-pass="hud-compact-pass-v1"] .hud,
html[data-pairplay-pass="hud-controls-match-pass-v1"] .hud {
  --hud-score-width: clamp(102px, 30vw, 132px);
  --hud-cell-gap: 4px;
  --hud-cell-height: 20px;
  --hud-control-height: 20px;
  --hud-cell-width: calc(var(--hud-score-width) / 3);
  --hud-power-width: calc(var(--hud-cell-width) * 4);
  gap: 6px;
}

.hud-top {
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  left: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.hud-bottom {
  right: 14px;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 14px;
  align-items: flex-end;
  justify-content: space-between;
}

.hud.is-menu-hidden {
  display: none;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.hud.is-menu-hidden.hud-top {
  transform: translateY(-8px);
}

.hud.is-menu-hidden.hud-bottom {
  transform: translateY(8px);
}

.wine-card,
.score-strip,
.power-button,
.start-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.1), rgba(80, 47, 22, 0.14)),
    linear-gradient(135deg, rgba(63, 142, 20, 0.08), transparent 42%),
    var(--panel);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 223, 0.08),
    inset 0 -10px 22px rgba(44, 20, 8, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.24);
}

.wine-card {
  width: min(560px, calc(100vw - 28px));
  min-height: 118px;
  padding: clamp(14px, 2vw, 22px);
  border-radius: 20px;
}

.wine-kicker,
.score-strip span,
.eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.start-brand,
.age-brand {
  display: inline-grid;
  justify-items: center;
  gap: 2px;
}

.start-brand span,
.age-brand span,
.start-brand small,
.age-brand small {
  display: block;
  line-height: 1;
}

.start-brand small,
.age-brand small {
  color: rgba(255, 248, 223, 0.56);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.score-strip span {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(0.42rem, calc(var(--hud-cell-height) * 0.18), 0.54rem);
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wine-card h1 {
  margin: 6px 0 7px;
  font-size: clamp(2rem, 4.8vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.wine-card p,
.start-panel p {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.35;
}

.target-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  max-width: 100%;
  min-height: 46px;
  margin-top: 12px;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.target-preview-track {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding-bottom: 2px;
  scroll-padding-inline: 4px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 30px), transparent 100%);
  scrollbar-width: none;
}

.target-preview-track::-webkit-scrollbar {
  display: none;
}

.target-preview.is-dense-targets {
  align-items: start;
}

.target-preview.is-dense-targets .target-preview-track {
  flex-wrap: wrap;
  gap: 6px;
  overflow: visible;
  padding-bottom: 0;
  mask-image: none;
  scroll-snap-type: none;
}

.target-preview.is-dense-targets .target-preview-label {
  padding-top: 5px;
}

.target-preview.is-dense-targets .target-preview-names {
  grid-column: 1 / -1;
}

.target-preview.is-crowded-targets .target-preview-track {
  gap: 5px;
}

.target-preview.is-crowded-targets .target-preview-item {
  width: 44px;
  height: 44px;
}

.target-preview-label {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.target-preview-names {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  padding: 4px 8px;
  border: 1px solid rgba(244, 202, 109, 0.24);
  border-radius: 9px;
  background:
    linear-gradient(90deg, rgba(244, 202, 109, 0.1), rgba(146, 223, 209, 0.06)),
    rgba(13, 31, 12, 0.52);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.05;
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, 0.08);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.target-preview-goal {
  grid-column: 2;
  justify-self: start;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 3px 8px;
  border: 1px solid rgba(146, 223, 209, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(146, 223, 209, 0.13), rgba(244, 202, 109, 0.06)),
    rgba(7, 16, 5, 0.46);
  color: #dffaff;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, 0.08);
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.target-preview-goal:empty {
  display: none;
}

.target-preview.is-dense-targets .target-preview-goal {
  grid-column: 1 / -1;
}

.target-preview-unlock {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto auto minmax(0, 1fr);
  justify-self: start;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  padding: 3px 8px;
  border: 1px solid rgba(157, 202, 106, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(157, 202, 106, 0.13), rgba(244, 202, 109, 0.07)),
    rgba(8, 18, 8, 0.54);
  color: #e7ffd0;
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, 0.08);
  white-space: nowrap;
}

.target-preview-unlock.is-hidden {
  display: none;
}

.target-preview-unlock span,
.target-preview-unlock strong,
.target-preview-unlock small {
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.target-preview-unlock span {
  color: rgba(231, 255, 208, 0.72);
  font-size: 0.56rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.target-preview-unlock strong {
  color: #f6ffd6;
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.target-preview-unlock small {
  color: #dffaff;
  font-size: 0.62rem;
  font-weight: 850;
}

.target-preview-pressure {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto auto minmax(0, 1fr);
  justify-self: start;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  padding: 3px 8px;
  border: 1px solid rgba(244, 202, 109, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(244, 202, 109, 0.12), rgba(146, 223, 209, 0.06)),
    rgba(9, 18, 7, 0.56);
  color: #fff4c9;
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, 0.08);
  white-space: nowrap;
}

.target-preview-pressure.is-hidden {
  display: none;
}

.target-preview-pressure span,
.target-preview-pressure strong,
.target-preview-pressure small {
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.target-preview-pressure span {
  color: rgba(255, 244, 201, 0.72);
  font-size: 0.56rem;
  font-weight: 900;
  text-transform: uppercase;
}

.target-preview-pressure strong {
  color: #fff2ae;
  font-size: 0.68rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.target-preview-pressure small {
  color: #dffaff;
  font-size: 0.62rem;
  font-weight: 850;
}

.target-preview-pressure[data-pressure-level="medium"] {
  border-color: rgba(244, 202, 109, 0.42);
  background:
    linear-gradient(90deg, rgba(244, 202, 109, 0.18), rgba(146, 223, 209, 0.08)),
    rgba(38, 22, 9, 0.58);
}

.target-preview-pressure[data-pressure-level="high"] {
  border-color: rgba(255, 180, 105, 0.52);
  background:
    linear-gradient(90deg, rgba(255, 180, 105, 0.2), rgba(244, 202, 109, 0.08)),
    rgba(47, 16, 10, 0.62);
}

.target-preview-pressure[data-pressure-level="high"] strong {
  color: #ffd79a;
}

.target-preview-item {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(244, 199, 95, 0.32);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(245, 207, 130, 0.22), rgba(63, 142, 20, 0.12)),
    rgba(13, 31, 12, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.14),
    inset 0 -8px 14px rgba(42, 23, 12, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.18);
  transition:
    border-color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.target-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.38));
  transition:
    filter 160ms ease,
    transform 160ms ease;
}

.game-stage.is-reserve-icon-set .target-preview-item {
  border-color: rgba(146, 223, 209, 0.42);
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.2), rgba(244, 202, 109, 0.09)),
    rgba(10, 24, 18, 0.74);
}

.game-stage.is-reserve-icon-set .target-preview-item img {
  filter:
    saturate(1.22)
    contrast(1.08)
    hue-rotate(-12deg)
    drop-shadow(0 5px 7px rgba(0, 0, 0, 0.4));
  transform: scale(0.94) rotate(-1deg);
}

.target-preview[data-icon-set="reserve"] .target-preview-label::after {
  display: block;
  margin-top: 2px;
  color: #d6fff8;
  content: "Reserve mix";
  font-size: 0.54rem;
  letter-spacing: 0;
}

.target-preview-item.is-matched {
  border-color: rgba(159, 230, 129, 0.74);
  opacity: 0.64;
  transform: translateY(1px) scale(0.96);
}

.target-preview-item.is-matched img {
  filter: grayscale(0.18) drop-shadow(0 5px 7px rgba(0, 0, 0, 0.34));
}

.target-preview-item.is-next-target {
  border-color: rgba(244, 202, 109, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.2),
    inset 0 -8px 14px rgba(42, 23, 12, 0.28),
    0 0 0 1px rgba(146, 223, 209, 0.42),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.target-preview.is-flavor-flight-active .target-preview-item.is-flavor-flight-step:not(.is-matched) {
  border-color: rgba(146, 223, 209, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.2),
    inset 0 -8px 14px rgba(42, 23, 12, 0.24),
    0 0 0 1px rgba(244, 202, 109, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.target-preview.is-flavor-flight-active .target-preview-item.is-next-target {
  border-color: rgba(244, 202, 109, 0.96);
}

.target-preview.is-note-rush-active .target-preview-goal {
  border-color: rgba(244, 202, 109, 0.42);
  background:
    linear-gradient(90deg, rgba(244, 202, 109, 0.18), rgba(146, 223, 209, 0.08)),
    rgba(38, 22, 9, 0.56);
  color: #fff3bd;
}

.target-preview.is-note-rush-active .target-preview-item.is-note-rush-step:not(.is-matched) {
  border-color: rgba(244, 202, 109, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.2),
    inset 0 -8px 14px rgba(42, 23, 12, 0.26),
    0 0 0 1px rgba(146, 223, 209, 0.3),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.target-preview.is-note-rush-active .target-preview-item.is-note-rush-step:not(.is-matched)::after {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f4ca6d;
  box-shadow: 0 0 0 3px rgba(244, 202, 109, 0.18);
  content: "";
}

.target-preview.is-note-memory-active .target-preview-names,
.target-preview.is-note-memory-active .target-preview-goal {
  border-color: rgba(146, 223, 209, 0.38);
}

.target-preview.is-note-memory-cue-hidden .target-preview-names {
  background:
    linear-gradient(90deg, rgba(10, 24, 18, 0.74), rgba(42, 23, 12, 0.58)),
    rgba(7, 16, 5, 0.72);
  color: #d6fff8;
}

.target-preview.is-note-memory-cue-hidden .target-preview-goal {
  background:
    linear-gradient(90deg, rgba(146, 223, 209, 0.16), rgba(244, 202, 109, 0.08)),
    rgba(7, 16, 5, 0.68);
  color: #fff3bd;
}

.target-preview.is-palate-switch-active .target-preview-goal {
  border-color: rgba(146, 223, 209, 0.48);
  background:
    linear-gradient(90deg, rgba(146, 223, 209, 0.18), rgba(244, 202, 109, 0.1)),
    rgba(21, 37, 24, 0.62);
  color: #dffbf4;
}

.target-preview.is-palate-switch-active .target-preview-item.is-palate-switch-target:not(.is-matched) {
  border-color: rgba(146, 223, 209, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.22),
    inset 0 -8px 14px rgba(42, 23, 12, 0.22),
    0 0 0 2px rgba(146, 223, 209, 0.26),
    0 10px 20px rgba(146, 223, 209, 0.18);
}

.target-preview.is-palate-switch-active .target-preview-item.is-palate-switch-target:not(.is-matched)::after {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(10, 24, 20, 0.8);
  border-radius: 3px;
  background: #92dfd1;
  box-shadow: 0 0 0 3px rgba(146, 223, 209, 0.16);
  content: "";
  transform: rotate(45deg);
}

.target-preview-item.is-matched::before {
  position: absolute;
  right: -6px;
  bottom: 7px;
  width: 30px;
  height: 10px;
  border-radius: 4px;
  background: rgba(18, 61, 22, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(236, 255, 233, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.28);
  content: "";
  transform: rotate(-34deg);
}

.target-preview-item.is-matched::after {
  position: absolute;
  right: 7px;
  bottom: 10px;
  width: 8px;
  height: 4px;
  border: solid #ecffe9;
  border-width: 0 0 2px 2px;
  content: "";
  transform: rotate(-45deg);
}

.target-preview-item.is-target-pop {
  animation: target-check-pop 520ms ease-out;
}

@keyframes target-check-pop {
  0% {
    transform: translateY(0) scale(1);
  }

  42% {
    border-color: rgba(236, 255, 233, 0.92);
    box-shadow:
      inset 0 1px 0 rgba(255, 248, 220, 0.22),
      inset 0 -8px 14px rgba(42, 23, 12, 0.2),
      0 0 0 4px rgba(159, 230, 129, 0.16),
      0 12px 22px rgba(159, 230, 129, 0.2);
    transform: translateY(-2px) scale(1.1);
  }

  100% {
    transform: translateY(1px) scale(0.96);
  }
}

.score-strip {
  display: grid;
  width: var(--hud-score-width);
  min-width: 0;
  height: var(--hud-cell-height);
  box-sizing: border-box;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 12px;
}

.score-strip div {
  display: grid;
  box-sizing: border-box;
  grid-template-rows: minmax(0, 0.56rem) minmax(0, 1fr);
  align-items: center;
  align-content: center;
  justify-items: center;
  gap: 1px;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 3px 5px 4px;
  border-left: 1px solid var(--line);
  line-height: 1;
}

.score-strip div:first-child {
  border-left: 0;
}

.score-strip strong {
  display: block;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  align-self: center;
  font-variant-numeric: tabular-nums;
  font-size: clamp(0.68rem, calc(var(--hud-cell-height) * 0.34), 0.88rem);
  line-height: 0.98;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-pairplay-pass="hud-compact-pass-v1"] .score-strip span,
html[data-pairplay-pass="hud-controls-match-pass-v1"] .score-strip span {
  font-size: clamp(0.2rem, calc(var(--hud-cell-height) * 0.14), 0.3rem);
}

html[data-pairplay-pass="hud-compact-pass-v1"] .score-strip strong,
html[data-pairplay-pass="hud-controls-match-pass-v1"] .score-strip strong {
  font-size: clamp(0.38rem, calc(var(--hud-cell-height) * 0.28), 0.54rem);
}

html[data-pairplay-pass="hud-compact-pass-v1"] .score-strip div,
html[data-pairplay-pass="hud-controls-match-pass-v1"] .score-strip div {
  padding: 2px 4px 2px;
  gap: 0;
}

.message-pill {
  display: flex;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  width: fit-content;
  max-width: min(460px, 44vw);
  min-height: 0;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 9px;
  border: 1px solid rgba(244, 202, 109, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.1), rgba(80, 47, 22, 0.12)),
    rgba(18, 35, 14, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 223, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font-size: clamp(0.82rem, 1.04vw, 1rem);
  font-weight: 800;
  line-height: 1.16;
  overflow-wrap: break-word;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.56);
  text-wrap: pretty;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.message-pill > #message-text {
  min-width: 0;
  flex: 1 1 auto;
}

.message-pill.is-hidden {
  display: none;
}

.message-pill.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.message-pill.good {
  color: #ecffe9;
}

.message-pill.bad {
  color: #ffe8e6;
}

.streak-chip {
  display: grid;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 74px;
  min-height: 42px;
  place-items: center;
  padding: 6px 9px;
  border: 1px solid rgba(244, 202, 109, 0.48);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.18), rgba(146, 223, 209, 0.08)),
    rgba(13, 31, 12, 0.5);
  color: var(--gold);
  line-height: 1;
  text-align: center;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

.streak-chip span {
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.streak-chip strong {
  margin-top: 3px;
  color: #fff8df;
  font-size: 1.2rem;
}

.streak-chip.is-hidden {
  display: none;
}

.streak-chip.is-hot {
  border-color: rgba(255, 224, 118, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.16),
    0 0 0 2px rgba(244, 202, 109, 0.1),
    0 8px 18px rgba(244, 202, 109, 0.14);
  transform: translateY(-1px);
}

.streak-chip.is-hot strong {
  color: #fff3a8;
}

.streak-chip.is-milestone {
  border-color: rgba(255, 240, 168, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.22),
    0 0 0 3px rgba(244, 202, 109, 0.18),
    0 12px 24px rgba(244, 202, 109, 0.2);
  transform: translateY(-2px) scale(1.04);
}

.power-row {
  display: grid;
  width: var(--hud-power-width);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--hud-cell-gap);
  pointer-events: auto;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.game-stage.is-start-menu-open .power-row {
  display: none;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
}

.power-button,
.primary-action,
.secondary-action {
  cursor: pointer;
  color: var(--ink);
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background-color 140ms ease;
}

.power-button {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 100%;
  min-width: 0;
  height: var(--hud-control-height);
  min-height: 0;
  overflow: hidden;
  padding: 3px;
  border-radius: 12px;
  line-height: 1;
  text-align: center;
}

.power-button span {
  display: block;
  max-width: 100%;
  color: var(--muted);
  font-size: min(0.52rem, calc(var(--hud-control-height) * 0.18));
  font-weight: 800;
  line-height: 0.9;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.power-button strong {
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  margin-top: 0;
  overflow: hidden;
  font-size: clamp(0.68rem, calc(var(--hud-control-height) * 0.34), 0.88rem);
  line-height: 0.98;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-pairplay-pass="hud-compact-pass-v1"] .power-button span,
html[data-pairplay-pass="hud-controls-match-pass-v1"] .power-button span {
  font-size: clamp(0.2rem, calc(var(--hud-control-height) * 0.16), 0.28rem);
}

html[data-pairplay-pass="hud-compact-pass-v1"] .power-button strong,
html[data-pairplay-pass="hud-controls-match-pass-v1"] .power-button strong {
  font-size: clamp(0.34rem, calc(var(--hud-control-height) * 0.28), 0.48rem);
}

.pause-button {
  border-color: rgba(146, 223, 209, 0.34);
}

.pause-button strong {
  color: var(--sea);
}

.power-button:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
  border-color: rgba(244, 199, 95, 0.65);
}

.secondary-action {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(146, 223, 209, 0.34);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.12), rgba(18, 61, 22, 0.16)),
    rgba(14, 22, 14, 0.82);
  color: var(--cream);
  font: inherit;
  font-weight: 900;
}

.power-button.is-active {
  border-color: rgba(244, 202, 109, 0.78);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.28), rgba(146, 223, 209, 0.1)),
    rgba(38, 22, 9, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.18),
    0 0 0 1px rgba(244, 202, 109, 0.16);
}

.power-button.is-active span {
  color: #fff3bd;
}

.power-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.start-screen {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.32), rgba(12, 12, 12, 0.82)),
    linear-gradient(135deg, rgba(244, 199, 95, 0.14), transparent 58%);
}

.start-screen.is-post-run {
  align-content: start;
  align-items: start;
  justify-content: center;
  justify-items: center;
  place-items: start center;
  padding-block: clamp(14px, 3vh, 24px);
}

.start-screen.is-paused {
  align-content: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  padding: clamp(14px, 4vw, 24px);
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.04), rgba(12, 12, 12, 0.44)),
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), transparent 58%);
}

.start-screen.is-hidden {
  display: none;
}

.age-gate {
  position: absolute;
  z-index: 34;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
  background:
    linear-gradient(180deg, rgba(57, 3, 13, 0.56), rgba(25, 4, 8, 0.82)),
    url("./assets/site-vineyard-hero.jpg") center 46% / cover no-repeat;
}

.age-gate.is-hidden {
  display: none;
}

.age-gate-panel {
  width: min(470px, 100%);
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: #fffaf3;
  box-shadow: 0 34px 90px rgba(27, 3, 8, 0.48);
  color: #23171a;
  text-align: center;
}

.age-gate-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: #c41230;
  box-shadow: 0 12px 28px rgba(196, 18, 48, 0.22);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1;
}

.age-gate .age-brand {
  color: #c41230;
}

.age-gate .age-brand small {
  color: #78676a;
}

.age-gate-panel h2,
.age-gate-panel p {
  margin: 0;
}

.age-gate-panel h2 {
  max-width: 10ch;
  margin: 10px auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 7vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.age-gate-panel p:not(.eyebrow) {
  max-width: 360px;
  margin: 18px auto 0;
  color: #604f52;
  font-size: 0.88rem;
  line-height: 1.6;
}

.age-gate-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

.age-gate .primary-action,
.age-gate .secondary-action {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.age-gate .primary-action {
  border-color: transparent;
  background: #c41230;
  box-shadow: 0 12px 26px rgba(196, 18, 48, 0.2);
  color: #fff;
}

.age-gate .secondary-action {
  border-color: rgba(63, 31, 37, 0.16);
  background: rgba(255, 255, 255, 0.58);
  color: #23171a;
}

.age-gate.is-denied .age-gate-actions {
  grid-template-columns: 1fr;
}

.age-gate.is-denied #age-gate-no {
  display: none;
}

.age-gate-panel .age-gate-note {
  margin-top: 18px;
  color: #8b7a7d;
  font-size: 0.64rem;
}

@media (max-width: 520px) {
  .age-gate {
    align-items: end;
    padding: 0;
  }

  .age-gate-panel {
    width: 100%;
    padding: 32px 22px calc(24px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 28px 28px 0 0;
  }

  .age-gate-actions {
    grid-template-columns: 1fr;
  }
}

.start-panel {
  width: min(640px, 100%);
  padding: clamp(24px, 5vw, 44px);
  border-radius: 22px;
  text-align: center;
}

.start-panel h2 {
  margin: 8px auto 12px;
  max-width: 15ch;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.start-panel p {
  margin-inline: auto;
}

.start-screen.is-post-run .start-panel {
  padding: clamp(18px, 3vw, 34px);
}

.start-screen.is-post-run .start-panel h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 0.96;
}

.start-screen.is-post-run .start-panel.is-continue-choice h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.start-options {
  display: grid;
  gap: 10px;
  margin: 18px auto 4px;
  max-width: 620px;
}

.start-options.is-hidden {
  display: none;
}

.start-panel:not(.is-run-complete):not(.is-continue-choice) {
  width: min(600px, 100%);
}

.start-panel:not(.is-run-complete):not(.is-continue-choice) h2 {
  max-width: none;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
}

.start-panel:not(.is-run-complete):not(.is-continue-choice) #start-copy {
  max-width: 39ch;
  color: rgba(255, 248, 223, 0.74);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.start-panel.is-home-browsing:not(.is-run-complete):not(.is-continue-choice) .start-brand {
  margin-bottom: 2px;
  font-size: 0.62rem;
}

.start-panel.is-home-browsing:not(.is-run-complete):not(.is-continue-choice) .start-brand span,
.start-panel.is-home-browsing:not(.is-run-complete):not(.is-continue-choice) .start-brand small {
  line-height: 1;
}

.start-panel.is-home-browsing:not(.is-run-complete):not(.is-continue-choice) h2 {
  margin-block: 3px 7px;
  font-size: clamp(1.25rem, 2.7vw, 1.68rem);
  line-height: 1;
}

.start-panel.is-home-browsing:not(.is-run-complete):not(.is-continue-choice) #start-copy {
  display: none;
}

.start-panel.is-pause-panel {
  width: min(390px, calc(100vw - 36px));
  padding: clamp(14px, 3vw, 20px);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(35, 23, 13, 0.9), rgba(18, 15, 10, 0.84)),
    rgba(19, 16, 11, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 223, 0.1),
    0 14px 42px rgba(0, 0, 0, 0.32);
  text-align: left;
}

.start-panel.is-pause-panel .start-brand {
  display: none;
}

.start-panel.is-pause-panel h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.55rem, 4.4vw, 2.15rem);
  line-height: 1;
}

.start-panel.is-pause-panel #start-copy {
  display: block;
  max-width: none;
  margin-top: 5px;
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
}

.start-panel.is-pause-panel .primary-action {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: 12px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.pause-summary {
  gap: 8px;
  margin-top: 12px;
}

.pause-pour-card,
.pause-stat-row span {
  border: 1px solid rgba(255, 248, 223, 0.13);
  border-radius: 10px;
  background: rgba(9, 18, 12, 0.44);
}

.pause-pour-card {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
}

.pause-pour-card span,
.pause-pour-card strong,
.pause-pour-card small,
.pause-stat-row b,
.pause-stat-row strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pause-pour-card span,
.pause-stat-row b {
  color: rgba(244, 202, 109, 0.76);
  font-size: 0.5rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pause-pour-card strong {
  color: #fff8df;
  font-size: 0.92rem;
  font-weight: 950;
}

.pause-pour-card small {
  color: rgba(255, 248, 223, 0.56);
  font-size: 0.58rem;
  font-weight: 800;
}

.pause-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.pause-stat-row span {
  display: grid;
  min-height: 44px;
  align-content: center;
  gap: 4px;
  padding: 7px 5px;
  text-align: center;
}

.pause-stat-row strong {
  color: #fff8df;
  font-size: 0.9rem;
  font-weight: 950;
}

.home-start-shell {
  display: grid;
  gap: 10px;
}

.home-action-dock {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(244, 202, 109, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.08)),
    rgba(13, 20, 11, 0.72);
}

.home-action-button {
  display: grid;
  min-width: 0;
  min-height: 74px;
  place-items: center;
  gap: 5px;
  padding: 7px 5px;
  border: 1px solid rgba(255, 248, 223, 0.16);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(31, 43, 26, 0.74), rgba(14, 15, 10, 0.82)),
    rgba(14, 15, 10, 0.76);
  color: var(--cream);
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}

.home-action-button:hover,
.home-action-button:focus-visible {
  border-color: rgba(244, 202, 109, 0.72);
  outline: none;
}

.home-action-button.is-selected {
  border-color: rgba(244, 202, 109, 0.94);
  background:
    linear-gradient(180deg, rgba(88, 58, 25, 0.84), rgba(22, 21, 13, 0.86)),
    rgba(25, 19, 10, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 223, 0.16),
    0 0 0 1px rgba(244, 202, 109, 0.12);
}

.home-action-button:disabled {
  cursor: default;
  opacity: 0.62;
}

.home-action-icon {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 248, 223, 0.22);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 248, 223, 0.28), transparent 52%),
    rgba(20, 52, 27, 0.74);
}

.home-action-icon::before,
.home-action-icon::after,
.home-action-icon i,
.home-action-icon i::before,
.home-action-icon i::after {
  position: absolute;
  display: block;
  content: "";
}

.home-action-icon.is-today::before {
  width: 13px;
  height: 16px;
  border: 2px solid rgba(244, 202, 109, 0.88);
  border-top-width: 4px;
  border-radius: 4px 4px 7px 7px;
}

.home-action-icon.is-today::after {
  top: 8px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(146, 223, 209, 0.82);
}

.home-action-icon.is-play::before {
  left: 12px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid rgba(244, 202, 109, 0.92);
}

.home-action-icon.is-play::after {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(146, 223, 209, 0.58);
  border-radius: 999px;
}

.home-action-icon.is-explore::before,
.home-action-icon.is-explore::after,
.home-action-icon.is-explore i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(244, 202, 109, 0.88);
}

.home-action-icon.is-explore::before {
  left: 7px;
  top: 17px;
}

.home-action-icon.is-explore::after {
  right: 7px;
  top: 8px;
}

.home-action-icon.is-explore i {
  left: 14px;
  top: 13px;
  background: rgba(146, 223, 209, 0.88);
}

.home-action-icon.is-learn::before {
  width: 17px;
  height: 14px;
  border: 2px solid rgba(244, 202, 109, 0.9);
  border-radius: 3px;
  transform: skewY(-4deg);
}

.home-action-icon.is-learn::after {
  width: 2px;
  height: 15px;
  background: rgba(244, 202, 109, 0.9);
}

.home-action-icon.is-sound::before,
.home-action-icon.is-sound::after,
.home-action-icon.is-sound i {
  bottom: 8px;
  width: 4px;
  border-radius: 999px;
  background: rgba(146, 223, 209, 0.88);
}

.home-action-icon.is-sound::before {
  left: 8px;
  height: 8px;
}

.home-action-icon.is-sound i {
  left: 14px;
  height: 14px;
  background: rgba(244, 202, 109, 0.9);
}

.home-action-icon.is-sound::after {
  right: 8px;
  height: 11px;
}

.home-action-icon.is-cellar::before {
  width: 17px;
  height: 15px;
  border: 2px solid rgba(244, 202, 109, 0.88);
  border-radius: 3px;
}

.home-action-icon.is-cellar::after {
  width: 17px;
  height: 2px;
  background: rgba(146, 223, 209, 0.78);
  box-shadow: 0 6px 0 rgba(146, 223, 209, 0.56);
}

.home-action-icon.is-cellar i {
  bottom: 6px;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(244, 202, 109, 0.9);
  box-shadow:
    6px 0 0 rgba(244, 202, 109, 0.72),
    -6px 0 0 rgba(244, 202, 109, 0.72);
}

.home-action-icon.is-store::before {
  top: 8px;
  width: 17px;
  height: 13px;
  border: 2px solid rgba(244, 202, 109, 0.88);
  border-radius: 3px 3px 5px 5px;
}

.home-action-icon.is-store::after {
  top: 6px;
  width: 9px;
  height: 6px;
  border: 2px solid rgba(146, 223, 209, 0.72);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.home-action-icon.is-store i {
  bottom: 7px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: rgba(146, 223, 209, 0.78);
}

.home-action-icon.is-account::before {
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(244, 202, 109, 0.88);
}

.home-action-icon.is-account::after {
  bottom: 6px;
  width: 17px;
  height: 9px;
  border-radius: 999px 999px 5px 5px;
  background: rgba(146, 223, 209, 0.72);
}

.home-action-button strong,
.home-action-button small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-action-button strong {
  color: #fff8df;
  font-size: 0.66rem;
  font-weight: 900;
}

.home-action-button small {
  color: rgba(255, 248, 223, 0.56);
  font-size: 0.5rem;
  font-weight: 800;
}

.home-next-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(146, 223, 209, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.13), rgba(244, 202, 109, 0.08)),
    rgba(13, 26, 12, 0.72);
  text-align: left;
}

.home-tutorial-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.95fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(244, 202, 109, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(143, 33, 61, 0.15), rgba(146, 223, 209, 0.08)),
    rgba(17, 15, 10, 0.58);
}

.home-start-shell[data-active-page="play"] .home-tutorial-intro {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 7px;
  padding: 7px;
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.08), rgba(146, 223, 209, 0.06)),
    rgba(12, 17, 10, 0.48);
}

.home-start-shell[data-active-page="play"] .home-tutorial-copy span {
  font-size: 0.48rem;
}

.home-start-shell[data-active-page="play"] .home-tutorial-copy strong {
  margin-top: 3px;
  font-size: 0.68rem;
}

.home-start-shell[data-active-page="play"] .home-tutorial-copy small {
  display: none;
}

.home-start-shell[data-active-page="play"] .home-tutorial-steps {
  gap: 4px;
}

.home-start-shell[data-active-page="play"] .home-tutorial-steps span {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 32px;
  place-items: center start;
  gap: 5px;
  padding: 4px 6px;
  text-align: left;
}

.home-start-shell[data-active-page="play"] .home-tutorial-steps b {
  width: 15px;
  height: 15px;
  font-size: 0.48rem;
}

.home-start-shell[data-active-page="play"] .home-tutorial-steps small {
  font-size: 0.48rem;
  line-height: 1;
}

.home-tutorial-copy,
.home-tutorial-steps span {
  min-width: 0;
}

.home-tutorial-copy span {
  color: rgba(244, 202, 109, 0.78);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-tutorial-copy strong {
  display: block;
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.05;
}

.home-tutorial-copy small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.66);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.15;
}

.home-tutorial-copy em {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 6px;
  padding: 4px 7px;
  border: 1px solid rgba(146, 223, 209, 0.26);
  border-radius: 999px;
  background: rgba(146, 223, 209, 0.1);
  color: #d6fff8;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
}

.home-tutorial-personal {
  display: grid;
  max-width: 100%;
  min-width: 0;
  margin-top: 6px;
  gap: 2px;
  padding: 6px 7px;
  border: 1px solid rgba(157, 202, 106, 0.28);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(157, 202, 106, 0.12), rgba(146, 223, 209, 0.07)),
    rgba(8, 18, 9, 0.48);
}

.home-tutorial-personal b,
.home-tutorial-personal strong,
.home-tutorial-personal span {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-tutorial-personal b {
  color: #9dca6a;
  font-size: 0.46rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.home-tutorial-personal strong {
  color: #fff8df;
  font-size: 0.58rem;
  font-weight: 950;
}

.home-tutorial-personal span {
  color: rgba(255, 248, 223, 0.64);
  font-size: 0.5rem;
  font-weight: 800;
}

.home-tutorial-voice {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 6px 9px;
  border: 1px solid rgba(146, 223, 209, 0.35);
  border-radius: 999px;
  background: rgba(146, 223, 209, 0.13);
  color: #d6fff8;
  font: inherit;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.home-tutorial-voice:hover,
.home-tutorial-voice:focus-visible {
  border-color: rgba(244, 202, 109, 0.62);
  background: rgba(244, 202, 109, 0.16);
  color: #fff8df;
}

.home-tutorial-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.home-tutorial-unlocks {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 5px;
}

.home-tutorial-steps span,
.home-tutorial-unlocks span {
  display: grid;
  min-height: 52px;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 6px 5px;
  border: 1px solid rgba(255, 248, 223, 0.14);
  border-radius: 7px;
  background: rgba(9, 20, 14, 0.42);
  text-align: center;
}

.home-tutorial-unlocks span {
  min-height: 48px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  padding: 5px 7px;
  text-align: left;
}

.home-tutorial-unlocks span[data-unlock-state="cleared"] {
  border-color: rgba(146, 223, 209, 0.18);
  background: rgba(9, 26, 19, 0.38);
}

.home-tutorial-unlocks span[data-unlock-state="current"] {
  border-color: rgba(244, 202, 109, 0.54);
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.16), rgba(146, 223, 209, 0.08)),
    rgba(24, 19, 10, 0.56);
}

.home-tutorial-unlocks span[data-unlock-state="next"] {
  border-color: rgba(146, 223, 209, 0.5);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.18), rgba(216, 111, 127, 0.08)),
    rgba(8, 22, 17, 0.52);
}

.home-tutorial-unlocks span[data-unlock-id="must"],
.home-tutorial-unlocks span[data-unlock-id="bottle"] {
  border-color: rgba(216, 111, 127, 0.32);
}

.home-tutorial-unlocks span[data-unlock-id="vine"] {
  border-color: rgba(157, 202, 106, 0.36);
}

.home-tutorial-steps b,
.home-tutorial-unlocks b {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: rgba(146, 223, 209, 0.18);
  color: #d6fff8;
  font-size: 0.58rem;
  font-weight: 900;
}

.home-tutorial-unlocks b {
  background: rgba(244, 202, 109, 0.16);
  color: #f4ca6d;
}

.home-tutorial-unlocks span[data-unlock-state="cleared"] b {
  background: rgba(146, 223, 209, 0.13);
  color: rgba(214, 255, 248, 0.68);
}

.home-tutorial-unlocks span[data-unlock-state="current"] b {
  background: rgba(244, 202, 109, 0.25);
  color: #fff1b7;
}

.home-tutorial-unlocks span[data-unlock-state="next"] b {
  background: rgba(146, 223, 209, 0.2);
  color: #d6fff8;
}

.home-tutorial-steps small,
.home-tutorial-unlocks small {
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.5rem;
  font-weight: 850;
  line-height: 1.05;
}

.home-loop-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.home-loop-strip span {
  display: grid;
  min-width: 0;
  min-height: 48px;
  align-content: center;
  gap: 3px;
  padding: 7px 6px;
  border: 1px solid rgba(244, 202, 109, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(143, 33, 61, 0.14), rgba(244, 202, 109, 0.06)),
    rgba(12, 17, 10, 0.58);
  text-align: center;
}

.home-loop-strip b,
.home-loop-strip strong,
.home-loop-strip small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-loop-strip b {
  color: rgba(244, 202, 109, 0.82);
  font-size: 0.46rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-loop-strip strong {
  color: #fff8df;
  font-size: 0.62rem;
  font-weight: 950;
}

.home-loop-strip small {
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.48rem;
  font-weight: 800;
}

.home-tutorial-unlocks small em {
  display: block;
  color: rgba(244, 202, 109, 0.72);
  font-size: 0.42rem;
  font-style: normal;
  line-height: 1;
}

.home-tutorial-unlocks i {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 248, 223, 0.56);
  font-size: 0.44rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 460px) {
  .home-tutorial-intro {
    grid-template-columns: 1fr;
  }
}

.home-action-dock.is-compact {
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
}

.home-menu-drawer .home-action-dock {
  padding: 0;
  border: 0;
  background: transparent;
}

.home-menu-drawer .home-action-button {
  min-height: 54px;
  gap: 4px;
  padding: 6px 4px;
}

.home-menu-drawer .home-action-icon {
  width: 25px;
  height: 25px;
}

.home-menu-drawer .home-action-button small {
  display: none;
}

.home-next-thumb {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 202, 109, 0.42);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 40%, rgba(244, 202, 109, 0.18), transparent 58%),
    rgba(19, 15, 10, 0.78);
}

.home-next-thumb img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.32));
}

.home-next-thumb b {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
}

.home-next-copy {
  min-width: 0;
}

.home-next-copy > span,
.home-next-copy > strong,
.home-next-copy > small,
.home-next-copy > em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-next-copy > span {
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-next-copy > strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: clamp(1.2rem, 3.8vw, 1.75rem);
  font-weight: 900;
  line-height: 1;
}

.home-next-copy > small {
  margin-top: 5px;
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
}

.home-next-copy > em {
  margin-top: 6px;
  color: rgba(255, 248, 223, 0.6);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
}

.home-next-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.home-next-meta i {
  padding: 4px 7px;
  border: 1px solid rgba(255, 248, 223, 0.16);
  border-radius: 999px;
  background: rgba(12, 20, 10, 0.48);
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.home-hazard-brief {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(98px, 1fr));
  gap: 5px;
  min-width: 0;
  margin-top: 8px;
}

.home-hazard-brief i {
  display: grid;
  min-width: 0;
  gap: 2px;
  padding: 5px 6px;
  border: 1px solid rgba(244, 202, 109, 0.18);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.08), rgba(146, 223, 209, 0.05)),
    rgba(9, 18, 12, 0.48);
  font-style: normal;
}

.home-hazard-brief b,
.home-hazard-brief small {
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-hazard-brief b {
  color: #fff8df;
  font-size: 0.52rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-hazard-brief small {
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.48rem;
  font-weight: 800;
}

.home-hazard-brief i[data-hazard-brief="splash"],
.home-hazard-brief i[data-hazard-brief="bottle"],
.home-hazard-brief i[data-hazard-brief="must"] {
  border-color: rgba(216, 111, 127, 0.38);
  background:
    linear-gradient(135deg, rgba(143, 33, 61, 0.2), rgba(244, 202, 109, 0.06)),
    rgba(17, 11, 12, 0.52);
}

.home-hazard-brief i[data-hazard-brief="vine"] {
  border-color: rgba(157, 202, 106, 0.44);
  background:
    linear-gradient(135deg, rgba(83, 111, 52, 0.24), rgba(146, 223, 209, 0.05)),
    rgba(11, 20, 10, 0.52);
}

.home-hazard-brief i[data-hazard-brief="drift"] {
  border-color: rgba(255, 235, 154, 0.42);
  background:
    linear-gradient(135deg, rgba(224, 183, 70, 0.16), rgba(146, 223, 209, 0.06)),
    rgba(20, 17, 9, 0.52);
}

.home-hazard-brief i[data-hazard-brief="cork"],
.home-hazard-brief i[data-hazard-brief="tempo"] {
  border-color: rgba(244, 202, 109, 0.42);
}

.home-hazard-brief i[data-hazard-brief="reserve"],
.home-hazard-brief i[data-hazard-brief="memory"] {
  border-color: rgba(146, 223, 209, 0.38);
}

.home-progress-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.home-progress-strip.is-browse-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.home-progress-strip span {
  display: grid;
  min-width: 0;
  min-height: 52px;
  align-content: center;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(255, 248, 223, 0.14);
  border-radius: 9px;
  background: rgba(17, 19, 11, 0.68);
  text-align: left;
}

.home-progress-strip.is-browse-summary span {
  min-height: 42px;
  padding: 7px 8px;
}

.home-progress-strip b,
.home-progress-strip strong,
.home-progress-strip small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-progress-strip b {
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-progress-strip strong {
  color: #fff8df;
  font-size: 0.78rem;
  font-weight: 900;
}

.home-progress-strip small {
  color: rgba(255, 248, 223, 0.56);
  font-size: 0.52rem;
  font-weight: 800;
}

.home-details-drawer {
  border: 1px solid rgba(146, 223, 209, 0.22);
  border-radius: 10px;
  background: rgba(12, 17, 9, 0.58);
  text-align: left;
}

.home-details-drawer summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  min-height: 48px;
  padding: 9px 11px;
  color: #fff8df;
  cursor: pointer;
  list-style: none;
}

.home-details-drawer summary::-webkit-details-marker {
  display: none;
}

.home-details-drawer summary::after {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(244, 202, 109, 0.42);
  border-radius: 999px;
  color: var(--gold);
  content: "+";
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.home-details-drawer[open] summary::after {
  content: "-";
}

.home-details-drawer summary span,
.home-details-drawer summary strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-details-drawer summary span {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-details-drawer summary strong {
  grid-column: 1;
  color: rgba(255, 248, 223, 0.64);
  font-size: 0.6rem;
  font-weight: 800;
}

.home-details-body {
  display: grid;
  gap: 8px;
  padding: 0 9px 9px;
}

.home-page-panel {
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(146, 223, 209, 0.26);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.07)),
    rgba(12, 17, 9, 0.68);
  text-align: left;
}

.home-start-shell[data-active-page="play"] .home-page-panel {
  gap: 7px;
  padding: 8px;
}

.home-start-shell[data-active-page="play"] .home-page-head small {
  display: none;
}

.home-start-shell[data-active-page="play"] .home-page-body {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.home-page-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 4px 8px;
  align-items: end;
}

.home-page-head span,
.home-page-head strong,
.home-page-head small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page-head span {
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page-head strong {
  color: #fff8df;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: right;
}

.home-page-head small {
  grid-column: 1 / -1;
  color: rgba(255, 248, 223, 0.64);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
}

.home-page-body {
  display: grid;
  max-height: min(430px, 42dvh);
  gap: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}

.home-page-body::-webkit-scrollbar,
.home-food-shelf::-webkit-scrollbar {
  width: 4px;
}

.home-page-body::-webkit-scrollbar-thumb,
.home-food-shelf::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(244, 202, 109, 0.28);
}

.home-choice-list,
.home-secondary-stack {
  display: grid;
  gap: 8px;
}

.home-choice-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-play-options .home-choice-list {
  grid-template-columns: minmax(0, 1fr);
}

.home-learn-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.home-learn-spotlight {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(148px, 0.58fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(146, 223, 209, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.12), rgba(244, 202, 109, 0.07)),
    rgba(8, 17, 10, 0.52);
}

.home-learn-spotlight-thumb {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 202, 109, 0.32);
  border-radius: 999px;
  background: rgba(12, 17, 9, 0.72);
}

.home-learn-spotlight-thumb img {
  width: 94%;
  height: 94%;
  object-fit: contain;
}

.home-learn-spotlight-copy,
.home-learn-spotlight-metrics {
  min-width: 0;
}

.home-learn-spotlight-copy span,
.home-learn-spotlight-copy strong,
.home-learn-spotlight-copy small,
.home-learn-spotlight-metrics b,
.home-learn-spotlight-metrics strong,
.home-learn-spotlight-metrics small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-learn-spotlight-copy span {
  color: var(--sea);
  font-size: 0.58rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.home-learn-spotlight-copy strong {
  margin-top: 4px;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 1000;
  line-height: 1.06;
  white-space: nowrap;
}

.home-learn-spotlight-copy small {
  display: -webkit-box;
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.62rem;
  font-weight: 820;
  line-height: 1.16;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-learn-spotlight-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.home-learn-spotlight-metrics span {
  display: grid;
  min-width: 0;
  min-height: 48px;
  align-content: center;
  gap: 3px;
  padding: 6px 5px;
  border: 1px solid rgba(255, 248, 223, 0.13);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.34);
  text-align: center;
}

.home-learn-spotlight-metrics b,
.home-learn-spotlight-metrics strong,
.home-learn-spotlight-metrics small {
  line-height: 1;
  white-space: nowrap;
}

.home-learn-spotlight-metrics b {
  color: rgba(255, 248, 223, 0.56);
  font-size: 0.48rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.home-learn-spotlight-metrics strong {
  color: var(--cream);
  font-size: 0.66rem;
  font-weight: 1000;
}

.home-learn-spotlight-metrics small {
  color: rgba(146, 223, 209, 0.72);
  font-size: 0.48rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-learn-reward-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(220px, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(244, 202, 109, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.09), rgba(146, 223, 209, 0.07)),
    rgba(13, 20, 10, 0.48);
}

.home-learn-reward-strip > div:first-child,
.home-learn-reward-metrics {
  min-width: 0;
}

.home-learn-reward-strip span,
.home-learn-reward-strip strong,
.home-learn-reward-strip b,
.home-learn-reward-strip small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-learn-reward-strip > div:first-child > span {
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.home-learn-reward-strip > div:first-child > strong {
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.86);
  font-size: 0.7rem;
  font-weight: 950;
}

.home-learn-reward-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.home-learn-reward-metrics span {
  display: grid;
  min-height: 38px;
  align-content: center;
  gap: 3px;
  padding: 5px 4px;
  border: 1px solid rgba(146, 223, 209, 0.16);
  border-radius: 8px;
  background: rgba(8, 16, 8, 0.42);
  text-align: center;
}

.home-learn-reward-metrics b {
  color: var(--cream);
  font-size: 0.66rem;
  font-weight: 1000;
}

.home-learn-reward-metrics small {
  color: rgba(146, 223, 209, 0.72);
  font-size: 0.46rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-learn-save-cards {
  display: inline-grid;
  align-items: center;
  justify-self: end;
  min-height: 28px;
  max-width: 110px;
  padding: 5px 10px;
  border: 1px solid rgba(244, 202, 109, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.16), rgba(146, 223, 209, 0.07)),
    rgba(18, 14, 10, 0.34);
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

button.home-learn-save-cards {
  cursor: pointer;
}

.home-learn-save-cards.is-synced {
  color: rgba(146, 223, 209, 0.86);
}

.learn-pairings-details,
.learn-mechanics-details,
.learn-lessons-details {
  border-color: rgba(146, 223, 209, 0.2);
  background: rgba(8, 16, 8, 0.34);
}

.home-sound-panel,
.home-pairing-browser {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(244, 202, 109, 0.22);
  border-radius: 8px;
  background: rgba(17, 15, 10, 0.56);
}

.home-mechanic-guide {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(146, 223, 209, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.09), rgba(216, 111, 127, 0.07)),
    rgba(8, 18, 12, 0.58);
}

.home-mechanic-guide-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  align-items: center;
  min-width: 0;
}

.home-mechanic-guide-head span,
.home-mechanic-guide-head strong,
.home-mechanic-guide-head small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-mechanic-guide-head span {
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-mechanic-guide-head strong {
  color: #d6fff8;
  font-size: 0.62rem;
  font-weight: 950;
  text-align: right;
}

.home-mechanic-guide-head small {
  grid-column: 1 / -1;
  color: rgba(255, 248, 223, 0.64);
  font-size: 0.56rem;
  font-weight: 800;
}

.home-mechanic-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 6px;
  min-width: 0;
}

.home-mechanic-guide-tile {
  display: grid;
  min-width: 0;
  min-height: 116px;
  align-content: start;
  gap: 4px;
  padding: 7px;
  border: 1px solid rgba(255, 248, 223, 0.13);
  border-radius: 8px;
  background: rgba(10, 18, 10, 0.56);
}

.home-mechanic-guide-tile.is-learned {
  border-color: rgba(146, 223, 209, 0.24);
  background: rgba(9, 26, 19, 0.44);
}

.home-mechanic-guide-tile.is-open {
  border-color: rgba(244, 202, 109, 0.36);
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.12), rgba(146, 223, 209, 0.06)),
    rgba(19, 18, 10, 0.56);
}

.home-mechanic-guide-tile.is-next {
  border-color: rgba(146, 223, 209, 0.52);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.16), rgba(216, 111, 127, 0.1)),
    rgba(8, 22, 17, 0.58);
}

.home-mechanic-guide-tile[data-mechanic-guide="bottle"],
.home-mechanic-guide-tile[data-mechanic-guide="must"],
.home-mechanic-guide-tile[data-mechanic-guide="splash"] {
  border-color: rgba(216, 111, 127, 0.34);
}

.home-mechanic-guide-tile[data-mechanic-guide="vine"] {
  border-color: rgba(157, 202, 106, 0.42);
}

.home-mechanic-guide-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.home-mechanic-guide-meta b,
.home-mechanic-guide-meta i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  line-height: 1;
}

.home-mechanic-guide-meta b {
  width: 24px;
  height: 20px;
  border-radius: 999px;
  background: rgba(244, 202, 109, 0.18);
  color: #f4ca6d;
  font-size: 0.56rem;
  font-weight: 950;
}

.home-mechanic-guide-meta i {
  overflow: hidden;
  color: rgba(214, 255, 248, 0.74);
  font-size: 0.46rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-mechanic-guide-tile strong,
.home-mechanic-guide-tile small,
.home-mechanic-guide-tile em,
.home-mechanic-guide-request {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.home-mechanic-guide-tile strong {
  color: #fff8df;
  font-size: 0.68rem;
  font-weight: 950;
  white-space: nowrap;
}

.home-mechanic-guide-tile small {
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.54rem;
  font-weight: 800;
}

.home-mechanic-guide-tile em {
  color: rgba(244, 202, 109, 0.68);
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.home-mechanic-guide-request {
  margin-top: 1px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 248, 223, 0.1);
  color: rgba(214, 255, 248, 0.68);
  font-size: 0.48rem;
  font-weight: 900;
  white-space: nowrap;
}

.home-sound-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-sound-head span,
.home-sound-head strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-sound-head span {
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-sound-head strong {
  color: rgba(255, 248, 223, 0.78);
  font-size: 0.62rem;
  font-weight: 900;
}

.home-sound-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.home-sound-option {
  display: grid;
  min-width: 0;
  min-height: 54px;
  gap: 4px;
  align-content: center;
  padding: 7px;
  border: 1px solid rgba(255, 248, 223, 0.14);
  border-radius: 8px;
  background: rgba(8, 16, 8, 0.58);
  color: #fff8df;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.home-sound-option.is-selected,
.home-sound-option:hover,
.home-sound-option:focus-visible {
  border-color: rgba(146, 223, 209, 0.72);
  outline: none;
}

.home-sound-option span,
.home-sound-option strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-sound-option span {
  color: var(--gold);
  font-size: 0.52rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-sound-option strong {
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.58rem;
  font-weight: 800;
}

.home-pairing-focus {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 7px;
  border: 1px solid rgba(146, 223, 209, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.12), rgba(244, 202, 109, 0.08)),
    rgba(7, 20, 10, 0.58);
}

.home-pairing-thumb {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 202, 109, 0.32);
  border-radius: 999px;
  background: rgba(12, 17, 9, 0.72);
}

.home-pairing-thumb img {
  width: 94%;
  height: 94%;
  object-fit: contain;
}

.home-pairing-copy,
.home-pairing-copy em,
.home-pairing-copy strong,
.home-pairing-copy small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-pairing-copy em {
  color: var(--gold);
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-pairing-copy strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 1rem;
  font-weight: 900;
}

.home-pairing-copy small {
  margin-top: 5px;
  color: rgba(255, 248, 223, 0.66);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: capitalize;
}

.home-practice-stack {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.home-peak-practice,
.home-arc-practice {
  display: grid;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(146, 223, 209, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.06)),
    rgba(8, 16, 8, 0.58);
}

.home-peak-practice {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  border-color: rgba(244, 202, 109, 0.24);
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.1), rgba(146, 223, 209, 0.06)),
    rgba(10, 18, 8, 0.58);
}

.home-arc-practice {
  grid-template-columns: minmax(0, 1fr) minmax(142px, 0.72fr);
}

.home-peak-practice.is-preview,
.home-arc-practice.is-preview {
  opacity: 0.82;
}

.home-peak-visual,
.home-peak-copy,
.home-peak-copy em,
.home-peak-copy strong,
.home-peak-copy small,
.home-peak-practice > i,
.home-arc-head,
.home-arc-head em,
.home-arc-head strong,
.home-arc-head small,
.home-arc-practice i,
.home-arc-food b {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-peak-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 248, 223, 0.12);
  border-radius: 8px;
  background: rgba(14, 23, 12, 0.58);
}

.home-peak-visual img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.home-peak-visual i {
  position: absolute;
  right: 5px;
  bottom: 7px;
  left: 5px;
  height: 6px;
  border-top: 2px solid rgba(223, 250, 255, 0.84);
  border-bottom: 1px solid rgba(244, 202, 109, 0.58);
  border-radius: 999px;
  transform: rotate(-8deg);
}

.home-peak-copy em,
.home-arc-head em {
  color: var(--gold);
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-peak-copy strong,
.home-arc-head strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.home-peak-copy small,
.home-arc-head small {
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.52rem;
  font-weight: 850;
  line-height: 1;
  text-transform: capitalize;
  white-space: nowrap;
}

.home-peak-practice > b {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  padding: 0 7px;
  border: 1px solid rgba(244, 202, 109, 0.3);
  border-radius: 999px;
  color: #f4ca6d;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  background: rgba(42, 23, 12, 0.64);
}

.home-peak-practice > i {
  display: -webkit-box;
  grid-column: 2 / -1;
  color: rgba(223, 250, 255, 0.74);
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.home-arc-chain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  min-width: 0;
}

.home-arc-food {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 3px;
  padding: 4px 3px;
  border: 1px solid rgba(255, 248, 223, 0.12);
  border-radius: 7px;
  background: rgba(14, 23, 12, 0.58);
}

.home-arc-food img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.home-arc-food b {
  width: 100%;
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.45rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.home-arc-practice i {
  display: -webkit-box;
  grid-column: 1 / -1;
  color: rgba(223, 250, 255, 0.74);
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-pairing-wines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 6px;
}

.home-pairing-wine {
  display: grid;
  min-width: 0;
  min-height: 102px;
  gap: 4px;
  align-content: start;
  padding: 7px;
  border: 1px solid color-mix(in srgb, var(--wine-hue, #f4ca6d) 54%, rgba(255, 248, 223, 0.18));
  border-radius: 8px;
  background:
    radial-gradient(circle at 16px 16px, color-mix(in srgb, var(--wine-accent, #f4ca6d) 34%, transparent), transparent 48px),
    linear-gradient(180deg, color-mix(in srgb, var(--wine-hue, #8f213d) 22%, rgba(17, 15, 10, 0.78)), rgba(8, 10, 7, 0.72));
  color: #fff8df;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.home-pairing-wine:not(.is-preview-only):hover,
.home-pairing-wine:focus-visible,
.home-pairing-wine.is-selected {
  border-color: rgba(244, 202, 109, 0.82);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 248, 223, 0.16);
}

.home-pairing-wine-swatch {
  width: 26px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wine-hue, #8f213d), var(--wine-accent, #f4ca6d));
}

.home-pairing-wine.is-preview-only {
  cursor: default;
  opacity: 0.78;
}

.home-pairing-wine.is-preview-only .home-pairing-wine-swatch {
  opacity: 0.72;
}

.home-pairing-wine strong,
.home-pairing-wine small,
.home-pairing-wine em {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1.05;
  text-overflow: ellipsis;
}

.home-pairing-wine strong,
.home-pairing-wine small {
  white-space: nowrap;
}

.home-pairing-wine-name-full,
.home-pairing-wine-name-short {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-pairing-wine-name-short {
  display: none;
}

.home-pairing-wine strong {
  color: #fff8df;
  font-size: 0.72rem;
  font-weight: 900;
}

.home-pairing-wine small {
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.52rem;
  font-weight: 900;
}

.home-pairing-wine em {
  display: -webkit-box;
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 800;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-pairing-wines.is-many-wines {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}

.home-pairing-wines.is-many-wines .home-pairing-wine {
  min-height: 76px;
}

.home-pairing-wines.is-many-wines .home-pairing-wine em {
  -webkit-line-clamp: 1;
}

.home-food-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  max-height: 184px;
  gap: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 7px 6px 6px;
  border: 1px solid rgba(146, 223, 209, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.06), rgba(18, 14, 10, 0.08)),
    rgba(8, 16, 8, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 223, 0.05),
    inset 0 -12px 14px rgba(8, 10, 7, 0.18);
  scrollbar-color: rgba(244, 202, 109, 0.36) transparent;
  scrollbar-width: thin;
}

.home-food-tile {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-width: 0;
  min-height: 46px;
  padding: 5px 6px;
  border: 1px solid rgba(255, 248, 223, 0.13);
  border-radius: 8px;
  background: rgba(8, 16, 8, 0.54);
  color: #fff8df;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.home-food-tile:hover,
.home-food-tile:focus-visible,
.home-food-tile.is-selected {
  border-color: rgba(146, 223, 209, 0.74);
  outline: none;
}

.home-food-tile span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 13, 10, 0.68);
}

.home-food-tile img {
  width: 94%;
  height: 94%;
  object-fit: contain;
}

.home-food-tile strong,
.home-food-tile small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-food-tile strong {
  color: #fff8df;
  font-size: 0.58rem;
  font-weight: 900;
}

.home-food-tile small {
  margin-top: 3px;
  color: rgba(255, 248, 223, 0.56);
  font-size: 0.48rem;
  font-weight: 800;
}

.daily-pour-card,
.route-select-list {
  display: grid;
  gap: 8px;
}

.route-select-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-level-picker {
  display: grid;
  gap: 8px;
}

.home-level-picker-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  min-width: 0;
  padding: 0 2px;
}

.home-level-picker-head span,
.home-level-picker-head strong,
.home-level-picker-head small {
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-level-picker-head span {
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-level-picker-head strong {
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 950;
}

.home-level-picker-head small {
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.54rem;
  font-weight: 850;
  text-align: right;
}

.home-level-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 7px;
}

.home-level-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 122px;
  gap: 5px;
  padding: 9px;
  border: 1px solid rgba(255, 248, 223, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 223, 0.06), rgba(0, 0, 0, 0.08)),
    rgba(16, 22, 13, 0.66);
  color: var(--cream);
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 223, 0.06),
    0 10px 22px rgba(0, 0, 0, 0.16);
}

button.home-level-card {
  cursor: pointer;
}

.home-level-card.is-open {
  border-color: rgba(146, 223, 209, 0.46);
}

.home-level-card.is-selected {
  outline: 2px solid rgba(244, 202, 109, 0.68);
  outline-offset: -2px;
}

.home-level-card.is-complete {
  border-color: rgba(244, 202, 109, 0.58);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.12), rgba(146, 223, 209, 0.08)),
    rgba(30, 24, 12, 0.7);
}

.home-level-card.is-locked {
  color: rgba(255, 248, 223, 0.58);
  opacity: 0.78;
}

.home-level-card[data-icon-set="reserve"] {
  border-color: rgba(146, 223, 209, 0.34);
}

.home-level-card[data-icon-set="reserve"]::after {
  position: absolute;
  right: 8px;
  bottom: 8px;
  color: rgba(214, 255, 248, 0.72);
  content: "Reserve";
  font-size: 0.48rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-level-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.home-level-card-top em,
.home-level-card-top b,
.home-level-card strong,
.home-level-card small,
.home-level-mechanic,
.home-level-mechanic b,
.home-level-mechanic em,
.home-level-progress {
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-level-card-top em {
  color: var(--gold);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.home-level-card-top b {
  padding: 3px 6px;
  border: 1px solid rgba(255, 248, 223, 0.12);
  border-radius: 999px;
  background: rgba(146, 223, 209, 0.1);
  color: #d6fff8;
  font-size: 0.48rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-level-card.is-locked .home-level-card-top b {
  background: rgba(255, 248, 223, 0.08);
  color: rgba(255, 248, 223, 0.62);
}

.home-level-card strong {
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 950;
}

.home-level-card small {
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.56rem;
  font-weight: 800;
}

.home-level-mechanic {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  padding: 5px 6px;
  border: 1px solid rgba(146, 223, 209, 0.18);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.06)),
    rgba(6, 16, 13, 0.34);
}

.home-level-mechanic b {
  color: #d6fff8;
  font-size: 0.48rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-level-mechanic em {
  color: rgba(255, 248, 223, 0.64);
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 800;
}

.home-level-mechanic-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  min-width: 0;
}

.home-level-mechanic-chips i {
  display: grid;
  min-width: 0;
  min-height: 30px;
  align-content: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(244, 202, 109, 0.16);
  border-radius: 7px;
  background: rgba(18, 14, 10, 0.32);
  font-style: normal;
  text-align: center;
}

.home-level-mechanic-chips b,
.home-level-mechanic-chips small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-level-mechanic-chips b {
  color: #fff8df;
  font-size: 0.48rem;
  font-weight: 1000;
}

.home-level-mechanic-chips small {
  color: rgba(146, 223, 209, 0.68);
  font-size: 0.4rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-mechanic-cues {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  min-width: 0;
}

.home-mechanic-cues i {
  min-width: 0;
  overflow: hidden;
  padding: 3px 2px;
  border: 1px solid rgba(244, 202, 109, 0.2);
  border-radius: 999px;
  background: rgba(244, 202, 109, 0.08);
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.42rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-mechanic-cues i[data-mechanic-cue="splash"],
.home-mechanic-cues i[data-mechanic-cue="bottle"],
.home-mechanic-cues i[data-mechanic-cue="must"],
.home-mechanic-cues i[data-mechanic-cue="vine"],
.home-mechanic-cues i[data-mechanic-cue="drift"] {
  border-color: rgba(216, 111, 127, 0.42);
  background: rgba(143, 33, 61, 0.2);
  color: #ffe2df;
}

.home-mechanic-cues i[data-mechanic-cue="vine"] {
  border-color: rgba(157, 202, 106, 0.48);
  background: rgba(83, 111, 52, 0.24);
  color: #eaffc2;
}

.home-mechanic-cues i[data-mechanic-cue="drift"] {
  border-color: rgba(255, 235, 154, 0.42);
  background: rgba(224, 183, 70, 0.16);
  color: #fff4ba;
}

.home-level-card .home-hazard-brief {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  margin-top: 0;
}

.home-level-card .home-hazard-brief i {
  min-height: 30px;
  padding: 4px;
}

.home-level-card .home-hazard-brief b {
  font-size: 0.4rem;
}

.home-level-card .home-hazard-brief small {
  font-size: 0.36rem;
}

.home-level-rounds {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  width: 100%;
  height: 7px;
}

.home-level-rounds i {
  border-radius: 99px;
  background: rgba(255, 248, 223, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 248, 223, 0.08);
}

.home-level-rounds i.is-done {
  background: linear-gradient(90deg, rgba(146, 223, 209, 0.9), rgba(244, 202, 109, 0.82));
}

.home-level-progress {
  max-width: calc(100% - 52px);
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.52rem;
  font-weight: 850;
}

.return-board {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(146, 223, 209, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.12), rgba(213, 154, 93, 0.08)),
    rgba(14, 18, 11, 0.64);
  text-align: left;
}

.return-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.return-board-head span,
.return-board-head strong,
.return-board-card span,
.return-board-card strong,
.return-board-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.return-board-head span {
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.return-board-head strong {
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.56rem;
  font-weight: 900;
}

.return-board-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.return-board-card {
  min-width: 0;
  min-height: 66px;
  padding: 8px 7px;
  border: 1px solid rgba(255, 248, 223, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(42, 31, 20, 0.62), rgba(18, 14, 10, 0.74)),
    rgba(18, 14, 10, 0.54);
  color: var(--cream);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 246, 219, 0.08);
  cursor: pointer;
}

.return-board-card:hover,
.return-board-card:focus-visible {
  border-color: rgba(244, 202, 109, 0.62);
  outline: none;
}

.return-board-card.is-preview-only {
  cursor: default;
  opacity: 0.66;
}

.return-board-card.is-selected {
  border-color: rgba(244, 202, 109, 0.86);
  background:
    linear-gradient(180deg, rgba(84, 58, 30, 0.82), rgba(25, 19, 12, 0.84)),
    rgba(28, 20, 12, 0.78);
}

.return-board-card.is-complete {
  border-color: rgba(146, 223, 209, 0.44);
}

.return-board-card.is-route,
.return-board-card.is-hearth {
  border-color: rgba(213, 154, 93, 0.36);
  background:
    linear-gradient(180deg, rgba(213, 154, 93, 0.13), rgba(42, 23, 12, 0.16)),
    rgba(26, 18, 12, 0.58);
}

.return-board-card.is-lesson {
  border-color: rgba(244, 202, 109, 0.34);
}

.return-board-card.is-music {
  border-color: rgba(146, 223, 209, 0.34);
}

.return-board-card span {
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.return-board-card strong {
  margin-top: 5px;
  color: #fff8df;
  font-size: 0.76rem;
  font-weight: 900;
}

.return-board-card strong b {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.return-board-card .return-board-value-short {
  display: none;
}

.return-board-card small {
  margin-top: 5px;
  color: rgba(255, 248, 223, 0.66);
  font-size: 0.56rem;
  font-weight: 800;
}

.tour-pass-card {
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(244, 202, 109, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.11), rgba(146, 223, 209, 0.1)),
    rgba(13, 31, 12, 0.58);
  text-align: left;
}

.tour-pass-head {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tour-pass-head span,
.tour-pass-head strong,
.tour-pass-head small,
.tour-pass-step em,
.tour-pass-step strong,
.tour-pass-step small,
.tour-pass-card p {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-pass-head span {
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.tour-pass-head strong {
  color: #fff8df;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.tour-pass-head small {
  color: rgba(146, 223, 209, 0.78);
  font-size: 0.54rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

.tour-pass-progress,
.tour-pass-step i {
  display: block;
  overflow: hidden;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 248, 223, 0.12);
}

.tour-pass-progress b,
.tour-pass-step i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(146, 223, 209, 0.92), rgba(244, 202, 109, 0.95));
}

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

.tour-pass-step {
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(255, 248, 223, 0.14);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.42);
}

.tour-pass-step.is-active {
  border-color: rgba(244, 202, 109, 0.48);
  background: rgba(54, 45, 18, 0.44);
}

.tour-pass-step.is-complete {
  border-color: rgba(146, 223, 209, 0.44);
  background: rgba(20, 54, 27, 0.34);
}

.tour-pass-step.is-locked {
  opacity: 0.62;
}

.tour-pass-step em {
  color: rgba(255, 248, 223, 0.6);
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.tour-pass-step strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.tour-pass-step i {
  height: 4px;
  margin-top: 5px;
}

.tour-pass-step small {
  margin-top: 5px;
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.5rem;
  font-weight: 800;
  line-height: 1;
}

.tour-pass-card p {
  margin: 0;
  color: rgba(255, 248, 223, 0.66);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
}

.vintage-rank-card {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(146, 223, 209, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.12), rgba(244, 202, 109, 0.08)),
    rgba(13, 31, 12, 0.56);
  text-align: left;
}

.vintage-rank-head {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.vintage-rank-head span,
.vintage-rank-head strong,
.vintage-rank-head small,
.vintage-rank-signals em,
.vintage-rank-signals strong,
.vintage-rank-card p {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vintage-rank-head span {
  color: rgba(146, 223, 209, 0.84);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.vintage-rank-head strong {
  color: #fff8df;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.vintage-rank-head small {
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

.vintage-rank-progress,
.vintage-rank-signals i {
  display: block;
  overflow: hidden;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 248, 223, 0.12);
}

.vintage-rank-progress b,
.vintage-rank-signals i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(146, 223, 209, 0.95), rgba(244, 202, 109, 0.95));
}

.vintage-rank-signals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.vintage-rank-signals span {
  min-width: 0;
  padding: 5px;
  border: 1px solid rgba(255, 248, 223, 0.12);
  border-radius: 7px;
  background: rgba(18, 14, 10, 0.36);
}

.vintage-rank-signals em {
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.46rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.vintage-rank-signals strong {
  margin-top: 3px;
  color: #fff8df;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}

.vintage-rank-signals i {
  height: 3px;
  margin-top: 4px;
}

.vintage-rank-card p {
  margin: 0;
  color: rgba(255, 248, 223, 0.66);
  font-size: 0.56rem;
  font-weight: 820;
  line-height: 1;
}

.post-run-detail .vintage-rank-card {
  margin-top: 7px;
}

.post-run-detail .tour-pass-card {
  margin-top: 8px;
}

.chapter-completion-card {
  display: grid;
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(244, 202, 109, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.13), rgba(146, 223, 209, 0.1)),
    rgba(20, 35, 16, 0.58);
  text-align: left;
}

.chapter-completion-head {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.chapter-completion-head span,
.chapter-completion-head strong,
.chapter-completion-head small,
.chapter-completion-markers em,
.chapter-completion-markers strong,
.chapter-completion-markers small,
.chapter-completion-next span,
.chapter-completion-next strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chapter-completion-head span {
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapter-completion-head strong {
  color: #fff8df;
  font-size: 0.86rem;
  font-weight: 900;
}

.chapter-completion-head small {
  color: rgba(146, 223, 209, 0.78);
  font-size: 0.54rem;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.chapter-completion-markers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.chapter-completion-markers span {
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(255, 248, 223, 0.14);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.42);
}

.chapter-completion-markers em {
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.chapter-completion-markers strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.68rem;
  font-weight: 900;
}

.chapter-completion-markers small {
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.5rem;
  font-weight: 800;
}

.chapter-completion-next {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 7px;
  padding: 6px 7px;
  border: 1px solid rgba(146, 223, 209, 0.18);
  border-radius: 7px;
  background: rgba(9, 20, 14, 0.38);
}

.chapter-completion-next span {
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.56rem;
  font-weight: 850;
}

.chapter-completion-next strong {
  color: rgba(146, 223, 209, 0.9);
  font-size: 0.56rem;
  font-weight: 900;
  text-align: right;
}

.daily-request-card {
  display: grid;
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(244, 202, 109, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.1), rgba(34, 58, 29, 0.16)),
    rgba(18, 14, 10, 0.66);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 246, 219, 0.08);
}

.daily-request-card[data-world="coastal-market"] {
  border-color: rgba(146, 223, 209, 0.34);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.12), rgba(34, 58, 29, 0.14)),
    rgba(18, 14, 10, 0.64);
}

.daily-request-card[data-world="mountain-hearth"] {
  border-color: rgba(213, 154, 93, 0.42);
  background:
    linear-gradient(135deg, rgba(213, 154, 93, 0.16), rgba(63, 32, 23, 0.18)),
    rgba(18, 14, 10, 0.68);
}

.daily-request-card[data-world="midnight-dessert-salon"] {
  border-color: rgba(166, 139, 216, 0.42);
  background:
    linear-gradient(135deg, rgba(166, 139, 216, 0.16), rgba(244, 202, 109, 0.08)),
    rgba(18, 14, 10, 0.68);
}

.daily-request-card[data-world="frost-cellar"] {
  border-color: rgba(143, 216, 207, 0.4);
  background:
    linear-gradient(135deg, rgba(143, 216, 207, 0.16), rgba(241, 184, 94, 0.08)),
    rgba(10, 22, 24, 0.68);
}

.daily-request-card.is-complete {
  border-color: rgba(159, 230, 129, 0.52);
}

.daily-request-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.daily-request-head span,
.daily-request-head strong,
.daily-request-head small,
.daily-request-copy strong,
.daily-request-copy small,
.daily-request-copy i,
.daily-request-task span,
.daily-request-task strong,
.daily-request-task small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-request-head span {
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.daily-request-head strong {
  color: #fff8df;
  font-size: 0.76rem;
  font-weight: 900;
}

.daily-request-head small {
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.55rem;
  font-weight: 900;
}

.daily-request-body {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.daily-request-thumb {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 202, 109, 0.38);
  border-radius: 8px;
  background: rgba(24, 18, 12, 0.82);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.daily-request-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.daily-request-copy {
  min-width: 0;
}

.daily-request-copy strong {
  color: #fff8df;
  font-size: 0.78rem;
  font-weight: 900;
}

.daily-request-copy small {
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.58rem;
  font-weight: 800;
}

.daily-request-copy i {
  margin-top: 4px;
  color: rgba(244, 202, 109, 0.78);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 900;
}

.daily-request-mixline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 5px 7px;
  border: 1px solid rgba(146, 223, 209, 0.18);
  border-radius: 7px;
  background: rgba(9, 20, 14, 0.38);
}

.daily-request-mixline span,
.daily-request-mixline strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-request-mixline span {
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.daily-request-mixline strong {
  color: rgba(146, 223, 209, 0.9);
  font-size: 0.56rem;
  font-weight: 900;
}

.daily-request-tasks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.daily-request-task {
  min-width: 0;
  min-height: 48px;
  padding: 7px 6px;
  border: 1px solid rgba(255, 248, 223, 0.16);
  border-radius: 8px;
  background: rgba(16, 13, 9, 0.62);
  color: #fff8df;
  text-align: left;
  cursor: pointer;
}

.daily-request-task:hover,
.daily-request-task:focus-visible {
  border-color: rgba(244, 202, 109, 0.66);
  outline: none;
}

.daily-request-task.is-selected {
  border-color: rgba(244, 202, 109, 0.9);
  background: rgba(84, 58, 30, 0.58);
}

.daily-request-task.is-done {
  border-color: rgba(159, 230, 129, 0.42);
  background: rgba(20, 54, 27, 0.46);
}

.daily-request-task span {
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.daily-request-task strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.68rem;
  font-weight: 900;
}

.daily-request-task small {
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.5rem;
  font-weight: 800;
}

.start-option {
  display: grid;
  min-height: 82px;
  align-content: center;
  gap: 5px;
  padding: 11px 9px;
  border: 1px solid rgba(255, 244, 209, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(42, 31, 20, 0.76), rgba(18, 14, 10, 0.78)),
    rgba(15, 13, 10, 0.74);
  color: var(--cream);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 246, 219, 0.1);
  cursor: pointer;
}

.start-option:hover,
.start-option:focus-visible {
  border-color: rgba(244, 202, 109, 0.62);
  outline: none;
}

.start-option.is-selected {
  border-color: rgba(244, 202, 109, 0.95);
  background:
    linear-gradient(180deg, rgba(84, 58, 30, 0.86), rgba(25, 19, 12, 0.86)),
    rgba(28, 20, 12, 0.82);
}

.start-option.is-complete {
  border-color: rgba(146, 223, 209, 0.44);
}

.route-start-option {
  position: relative;
  padding-top: 22px;
}

.route-start-option span {
  padding-right: 46px;
}

.route-start-option::after {
  position: absolute;
  top: 6px;
  right: 7px;
  max-width: calc(100% - 14px);
  overflow: hidden;
  padding: 3px 6px;
  border: 1px solid rgba(255, 248, 223, 0.12);
  border-radius: 999px;
  background: rgba(146, 223, 209, 0.1);
  color: #d6fff8;
  content: attr(data-route-badge);
  font-size: 0.5rem;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.route-start-option.is-route-open {
  border-color: rgba(146, 223, 209, 0.48);
}

.route-start-option.is-route-complete {
  border-color: rgba(244, 202, 109, 0.58);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.13), rgba(18, 61, 22, 0.12)),
    rgba(42, 23, 12, 0.62);
}

.route-start-option.is-route-locked {
  border-color: rgba(255, 248, 223, 0.14);
  color: rgba(255, 248, 223, 0.6);
  cursor: default;
  opacity: 0.72;
}

.route-start-option.is-route-locked::after {
  background: rgba(255, 248, 223, 0.08);
  color: rgba(255, 248, 223, 0.66);
}

.route-start-option.is-route-locked strong,
.route-start-option.is-route-locked small {
  color: rgba(255, 248, 223, 0.58);
}

.start-option span,
.start-option strong,
.start-option small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-option span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.start-option strong {
  font-size: 0.84rem;
  letter-spacing: 0;
}

.start-option small {
  color: rgba(255, 248, 224, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
}

.daily-pour-card .start-option {
  min-height: 86px;
  grid-template-columns: 1fr auto;
}

.daily-pour-card .start-option span,
.daily-pour-card .start-option strong,
.daily-pour-card .start-option small {
  grid-column: 1;
}

.daily-pour-card .start-option::after {
  content: attr(data-daily-badge);
  align-self: center;
  grid-column: 2;
  grid-row: 1 / span 3;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(146, 223, 209, 0.14);
  color: #d6fff8;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.daily-passport-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  width: min(178px, 100%);
  margin-top: 2px;
}

.daily-pour-card .start-option .daily-passport-strip .daily-stamp {
  grid-column: auto;
  height: var(--daily-stamp-height, 5px);
  border-radius: 999px;
  background: rgba(255, 248, 223, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 223, 0.12);
}

.daily-stamp.is-filled {
  background: linear-gradient(90deg, #f4ca6d, #92dfd1);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 223, 0.35),
    0 0 10px rgba(146, 223, 209, 0.16);
}

.daily-calendar-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  width: 100%;
  margin-top: 2px;
}

.daily-pour-card .start-option .daily-calendar-strip {
  grid-column: 1 / -1;
}

.daily-pour-card .start-option .daily-calendar-strip .daily-calendar-day {
  display: grid;
  grid-column: auto;
  min-width: 0;
  min-height: 23px;
  place-items: center;
  gap: 1px;
  padding: 3px 2px;
  border: 1px solid rgba(255, 248, 223, 0.14);
  border-radius: 7px;
  background: rgba(18, 14, 10, 0.42);
  color: rgba(255, 248, 223, 0.62);
  letter-spacing: 0;
  line-height: 1;
  overflow: hidden;
  text-align: center;
  text-overflow: clip;
  text-transform: none;
  white-space: normal;
}

.daily-calendar-day b,
.daily-calendar-day em {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-overflow: clip;
  white-space: nowrap;
}

.daily-calendar-day b {
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.48rem;
}

.daily-calendar-day em {
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.46rem;
}

.daily-calendar-day.is-complete {
  border-color: rgba(146, 223, 209, 0.48);
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.13), rgba(18, 61, 22, 0.12)),
    rgba(13, 31, 12, 0.48);
}

.daily-calendar-day.is-complete em {
  color: #d6fff8;
}

.daily-calendar-day.is-protected,
.daily-calendar-day.is-freeze-ready {
  border-color: rgba(146, 223, 209, 0.52);
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.12), rgba(72, 111, 180, 0.1)),
    rgba(12, 28, 32, 0.48);
}

.daily-calendar-day.is-protected em,
.daily-calendar-day.is-freeze-ready em {
  color: #d6fff8;
}

.daily-calendar-day.is-today {
  border-color: rgba(244, 202, 109, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 223, 0.11),
    0 0 12px rgba(244, 202, 109, 0.12);
}

.daily-calendar-day.is-upcoming {
  opacity: 0.72;
}

.daily-calendar-day.is-missed {
  opacity: 0.58;
}

.passport-reward-track {
  display: grid;
  grid-column: 1 / -1;
  gap: 4px;
  min-width: 0;
  margin-top: 1px;
}

.daily-pour-card .start-option .passport-reward-track,
.daily-pour-card .start-option .passport-reward-track span,
.daily-pour-card .start-option .passport-reward-track strong,
.daily-pour-card .start-option .passport-reward-track small {
  grid-column: auto;
}

.passport-reward-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.passport-reward-head span,
.passport-reward-head strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.passport-reward-head span {
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.passport-reward-head strong {
  color: #d6fff8;
  font-size: 0.58rem;
  font-weight: 900;
}

.passport-reward-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
}

.passport-reward-tier {
  display: flex;
  min-width: 0;
  min-height: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  padding: 3px 5px;
  border: 1px solid rgba(255, 248, 223, 0.16);
  border-radius: 7px;
  background: rgba(18, 14, 10, 0.48);
  color: rgba(255, 248, 223, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 248, 223, 0.06);
}

.passport-reward-tier b,
.passport-reward-tier strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.passport-reward-tier b {
  color: rgba(255, 248, 223, 0.7);
  font-size: 0.52rem;
  font-weight: 900;
}

.passport-reward-tier strong {
  color: rgba(255, 248, 223, 0.78);
  font-size: 0.56rem;
  font-weight: 900;
}

.passport-reward-tier.is-ready,
.passport-reward-tier.is-claimed,
.passport-reward-tier.is-new {
  border-color: rgba(146, 223, 209, 0.44);
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.11), rgba(244, 202, 109, 0.07)),
    rgba(13, 31, 12, 0.5);
}

.passport-reward-tier.is-new {
  border-color: rgba(244, 202, 109, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 223, 0.12),
    0 0 14px rgba(244, 202, 109, 0.16);
}

.passport-reward-tier.is-claimed strong,
.passport-reward-tier.is-new strong {
  color: #d6fff8;
}

.passport-reward-track.is-summary {
  padding: 8px;
  border: 1px solid rgba(146, 223, 209, 0.26);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.09), rgba(18, 61, 22, 0.1)),
    rgba(13, 31, 12, 0.38);
}

.home-cellar-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.home-routes-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.home-route-focus-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(146, 223, 209, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.12), rgba(244, 202, 109, 0.07)),
    rgba(8, 17, 10, 0.52);
}

.home-route-focus-head {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.home-route-focus-head span,
.home-route-focus-head strong,
.home-route-focus-head small,
.home-route-focus-card p {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-route-focus-head span {
  color: var(--sea);
  font-size: 0.58rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.home-route-focus-head strong {
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 1000;
  line-height: 1.06;
  white-space: nowrap;
}

.home-route-focus-head small {
  color: rgba(255, 248, 223, 0.66);
  font-size: 0.62rem;
  font-weight: 820;
  line-height: 1.16;
  white-space: normal;
}

.home-route-focus-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  min-width: 0;
}

.home-route-focus-metrics span {
  display: grid;
  min-width: 0;
  min-height: 48px;
  align-content: center;
  gap: 3px;
  padding: 6px 5px;
  border: 1px solid rgba(255, 248, 223, 0.13);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.34);
  text-align: center;
}

.home-route-focus-metrics b,
.home-route-focus-metrics strong,
.home-route-focus-metrics small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-route-focus-metrics b {
  color: rgba(255, 248, 223, 0.56);
  font-size: 0.48rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.home-route-focus-metrics strong {
  color: var(--cream);
  font-size: 0.66rem;
  font-weight: 1000;
}

.home-route-focus-metrics small {
  color: rgba(146, 223, 209, 0.72);
  font-size: 0.48rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-route-focus-card p {
  margin: 0;
  padding: 6px 8px;
  border: 1px solid rgba(244, 202, 109, 0.16);
  border-radius: 7px;
  background: rgba(18, 14, 10, 0.28);
  color: rgba(244, 202, 109, 0.9);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: normal;
}

.home-route-reward-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(220px, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(244, 202, 109, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.09), rgba(146, 223, 209, 0.07)),
    rgba(13, 20, 10, 0.48);
}

.home-route-reward-strip > div:first-child,
.home-route-reward-metrics {
  min-width: 0;
}

.home-route-reward-strip span,
.home-route-reward-strip strong,
.home-route-reward-strip b,
.home-route-reward-strip small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-route-reward-strip > div:first-child > span {
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.home-route-reward-strip > div:first-child > strong {
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.86);
  font-size: 0.7rem;
  font-weight: 950;
}

.home-route-reward-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.home-route-reward-metrics span {
  display: grid;
  min-height: 38px;
  align-content: center;
  gap: 3px;
  padding: 5px 4px;
  border: 1px solid rgba(146, 223, 209, 0.16);
  border-radius: 8px;
  background: rgba(8, 16, 8, 0.42);
  text-align: center;
}

.home-route-reward-metrics b {
  color: var(--cream);
  font-size: 0.66rem;
  font-weight: 1000;
}

.home-route-reward-metrics small {
  color: rgba(146, 223, 209, 0.72);
  font-size: 0.46rem;
  font-weight: 900;
  text-transform: uppercase;
}

.routes-map-details,
.routes-tour-details {
  border-color: rgba(146, 223, 209, 0.2);
  background: rgba(8, 16, 8, 0.34);
}

.home-cellar-today-card {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(220px, 1.18fr);
  align-items: stretch;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(146, 223, 209, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.11), rgba(244, 202, 109, 0.08)),
    rgba(10, 22, 11, 0.52);
}

.home-cellar-today-card > div:first-child,
.home-cellar-metrics {
  min-width: 0;
}

.home-cellar-today-card span,
.home-cellar-today-card strong,
.home-cellar-today-card small,
.home-cellar-metrics b {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-cellar-today-card > div:first-child > span {
  color: var(--sea);
  font-size: 0.58rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.home-cellar-today-card > div:first-child > strong {
  margin-top: 4px;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 1000;
  line-height: 1.05;
}

.home-cellar-today-card > div:first-child > small {
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.66);
  font-size: 0.62rem;
  font-weight: 820;
  line-height: 1.16;
  white-space: normal;
}

.home-cellar-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.home-cellar-metrics span {
  display: grid;
  min-width: 0;
  min-height: 48px;
  align-content: center;
  gap: 3px;
  padding: 6px 5px;
  border: 1px solid rgba(255, 248, 223, 0.13);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.34);
  text-align: center;
}

.home-cellar-metrics b,
.home-cellar-metrics strong,
.home-cellar-metrics small {
  line-height: 1;
  white-space: nowrap;
}

.home-cellar-metrics b {
  color: rgba(255, 248, 223, 0.56);
  font-size: 0.48rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.home-cellar-metrics strong {
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 1000;
}

.home-cellar-metrics small {
  color: rgba(146, 223, 209, 0.72);
  font-size: 0.48rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cellar-tools-details {
  border-color: rgba(146, 223, 209, 0.2);
  background: rgba(8, 16, 8, 0.34);
}

.cellar-calendar-card {
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(146, 223, 209, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.11), rgba(244, 202, 109, 0.08)),
    rgba(13, 31, 12, 0.58);
  text-align: left;
}

.cellar-calendar-head,
.cellar-calendar-foot {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cellar-calendar-head span,
.cellar-calendar-head strong,
.cellar-calendar-head small,
.cellar-calendar-foot span,
.cellar-calendar-foot strong,
.cellar-calendar-day b,
.cellar-calendar-day strong,
.cellar-calendar-day em,
.cellar-calendar-day small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cellar-calendar-head span {
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cellar-calendar-head strong {
  color: #fff8df;
  font-size: 0.76rem;
  font-weight: 900;
}

.cellar-calendar-head small {
  color: rgba(146, 223, 209, 0.84);
  font-size: 0.54rem;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.cellar-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.cellar-calendar-day {
  min-width: 0;
  min-height: 52px;
  padding: 6px 5px;
  border: 1px solid rgba(255, 248, 223, 0.14);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 248, 223, 0.06);
}

.cellar-calendar-day.is-ready {
  border-color: rgba(244, 202, 109, 0.6);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.14), rgba(42, 31, 20, 0.22)),
    rgba(18, 14, 10, 0.54);
}

.cellar-calendar-day.is-complete {
  border-color: rgba(146, 223, 209, 0.52);
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.13), rgba(18, 61, 22, 0.14)),
    rgba(13, 31, 12, 0.52);
}

.cellar-calendar-day.is-freeze-ready {
  border-color: rgba(146, 223, 209, 0.54);
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.13), rgba(72, 111, 180, 0.12)),
    rgba(12, 28, 32, 0.5);
}

.cellar-calendar-day[data-world="mountain-hearth"] {
  border-color: rgba(213, 154, 93, 0.34);
}

.cellar-calendar-day[data-world="midnight-dessert-salon"] {
  border-color: rgba(166, 139, 216, 0.34);
}

.cellar-calendar-day b {
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.46rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cellar-calendar-day strong {
  margin-top: 5px;
  color: #fff8df;
  font-size: 0.64rem;
  font-weight: 900;
}

.cellar-calendar-day em {
  margin-top: 5px;
  color: var(--gold);
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.cellar-calendar-day small {
  margin-top: 4px;
  color: rgba(146, 223, 209, 0.76);
  font-size: 0.48rem;
  font-weight: 900;
}

.cellar-calendar-foot {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  padding: 5px 7px;
  border: 1px solid rgba(255, 248, 223, 0.11);
  border-radius: 7px;
  background: rgba(18, 14, 10, 0.36);
}

.cellar-calendar-foot span {
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.54rem;
  font-weight: 850;
}

.cellar-calendar-foot strong {
  color: rgba(244, 202, 109, 0.9);
  font-size: 0.54rem;
  font-weight: 900;
  text-align: right;
}

.daily-return-brief {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(112px, 0.36fr);
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(146, 223, 209, 0.3);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.14), rgba(244, 202, 109, 0.08)),
    rgba(13, 31, 12, 0.46);
  text-align: left;
}

.daily-return-thumb {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 223, 0.18);
  border-radius: 10px;
  background: rgba(18, 14, 10, 0.58);
}

.daily-return-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.34));
}

.daily-return-thumb b {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.daily-return-copy,
.daily-return-copy em,
.daily-return-copy strong,
.daily-return-copy small,
.daily-return-copy i,
.daily-return-weekly,
.daily-return-weekly span,
.daily-return-weekly strong {
  display: block;
  min-width: 0;
}

.daily-return-copy em {
  overflow: hidden;
  color: var(--gold);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.daily-return-copy strong {
  margin-top: 3px;
  overflow: hidden;
  color: #fff8df;
  font-size: 0.86rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-return-copy small {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 248, 223, 0.74);
  font-size: 0.62rem;
  font-weight: 780;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-return-copy i {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(146, 223, 209, 0.72);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-return-weekly {
  padding: 7px 8px;
  border: 1px solid rgba(255, 248, 223, 0.14);
  border-radius: 10px;
  background: rgba(18, 14, 10, 0.42);
}

.daily-return-weekly span {
  overflow: hidden;
  color: rgba(255, 248, 223, 0.64);
  font-size: 0.52rem;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.daily-return-weekly strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.96rem;
  line-height: 1;
}

.daily-return-weekly i {
  display: block;
  height: 5px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 248, 223, 0.12);
  font-style: normal;
}

.daily-return-weekly b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #92dfd1, #f4ca6d);
}

.season-map-card {
  display: grid;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid rgba(146, 223, 209, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.1), rgba(42, 31, 20, 0.5)),
    rgba(15, 13, 10, 0.66);
  text-align: left;
}

.season-map-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  align-items: end;
}

.season-map-head span,
.season-map-head strong,
.season-map-head small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-map-head span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.season-map-head strong {
  color: #fff8df;
  font-size: 0.78rem;
}

.season-map-head small {
  grid-column: 1 / -1;
  color: rgba(255, 248, 224, 0.7);
  font-size: 0.62rem;
  font-weight: 800;
}

.season-map-nodes {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
}

.season-map-node {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 78px;
  grid-template-rows: auto 1fr auto auto;
  place-items: center;
  gap: 3px;
  padding: 6px 4px 5px;
  border: 1px solid rgba(255, 248, 223, 0.18);
  border-radius: 8px;
  background: rgba(21, 18, 12, 0.72);
  color: rgba(255, 248, 223, 0.52);
  cursor: pointer;
  font-family: inherit;
}

.season-map-node::before {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 248, 223, 0.24);
  content: "";
}

.season-map-node[data-world="coastal-market"]::before {
  background: rgba(146, 223, 209, 0.72);
}

.season-map-node[data-world="mountain-hearth"]::before {
  background: rgba(213, 154, 93, 0.82);
}

.season-map-node[data-world="midnight-dessert-salon"]::before {
  background: rgba(166, 139, 216, 0.82);
}

.season-map-node[data-world="frost-cellar"]::before {
  background: rgba(143, 216, 207, 0.82);
}

.season-map-node[data-world="ember-lounge"]::before {
  background: rgba(226, 139, 84, 0.86);
}

.season-map-node b,
.season-map-node strong,
.season-map-node small {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-map-node b {
  color: rgba(255, 248, 223, 0.64);
  font-size: 0.5rem;
  font-weight: 900;
}

.season-map-node-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 202, 109, 0.22);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 248, 223, 0.16), transparent 56%),
    rgba(8, 16, 8, 0.68);
}

.season-map-node-icon img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.32));
}

.season-map-node strong {
  color: #fff8df;
  font-size: 0.62rem;
}

.season-map-node small {
  color: rgba(255, 248, 223, 0.56);
  font-size: 0.48rem;
  font-weight: 800;
}

.season-map-node.is-complete {
  border-color: rgba(244, 202, 109, 0.46);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.16), rgba(18, 61, 22, 0.1)),
    rgba(42, 23, 12, 0.66);
  color: #fff8df;
}

.season-map-node.is-current {
  border-color: rgba(146, 223, 209, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 223, 0.14),
    0 0 0 1px rgba(146, 223, 209, 0.12),
    0 8px 16px rgba(146, 223, 209, 0.08);
}

.season-map-node.is-locked {
  opacity: 0.62;
}

.season-map-node.is-route-node {
  border-color: rgba(244, 202, 109, 0.64);
}

.season-map-node.is-inspected {
  border-color: rgba(146, 223, 209, 0.9);
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.16), rgba(244, 202, 109, 0.08)),
    rgba(21, 18, 12, 0.76);
}

.season-map-node.is-world-start {
  box-shadow: inset 0 3px 0 rgba(146, 223, 209, 0.22);
}

.season-map-detail {
  display: grid;
  gap: 3px;
  padding: 7px 8px;
  border: 1px solid rgba(146, 223, 209, 0.24);
  border-radius: 8px;
  background: rgba(12, 28, 13, 0.42);
}

.season-map-detail span,
.season-map-detail strong,
.season-map-detail small,
.season-map-detail em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-map-detail span {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.season-map-detail strong {
  color: #fff8df;
  font-size: 0.76rem;
}

.season-map-detail small,
.season-map-detail em {
  color: rgba(255, 248, 223, 0.7);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 800;
}

.chapter-roadmap-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.chapter-roadmap-node {
  display: grid;
  min-width: 0;
  gap: 2px;
  padding: 6px 7px;
  border: 1px solid rgba(255, 248, 223, 0.14);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.48);
  color: rgba(255, 248, 223, 0.66);
}

.chapter-roadmap-node b,
.chapter-roadmap-node strong,
.chapter-roadmap-node small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chapter-roadmap-node b {
  color: var(--gold);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chapter-roadmap-node strong {
  color: #fff8df;
  font-size: 0.66rem;
}

.chapter-roadmap-node small {
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.54rem;
  font-weight: 800;
}

.chapter-roadmap-node.is-current,
.chapter-roadmap-node.is-complete {
  border-color: rgba(146, 223, 209, 0.42);
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.11), rgba(18, 61, 22, 0.09)),
    rgba(13, 31, 12, 0.48);
}

.chapter-roadmap-node.is-next {
  border-color: rgba(244, 202, 109, 0.5);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.13), rgba(42, 23, 12, 0.14)),
    rgba(22, 17, 10, 0.56);
}

.chapter-roadmap-node.is-locked {
  opacity: 0.72;
}

.next-chapter-preview {
  display: grid;
  gap: 6px;
  padding: 7px;
  border: 1px solid rgba(244, 202, 109, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(213, 154, 93, 0.12), rgba(146, 223, 209, 0.07)),
    rgba(19, 15, 10, 0.58);
}

.next-chapter-preview.is-open {
  border-color: rgba(244, 202, 109, 0.42);
  background:
    linear-gradient(135deg, rgba(213, 154, 93, 0.16), rgba(166, 139, 216, 0.1)),
    rgba(24, 16, 11, 0.62);
}

.next-chapter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
}

.next-chapter-head span,
.next-chapter-head strong,
.next-chapter-head small,
.next-chapter-worlds b,
.next-chapter-worlds strong,
.next-chapter-worlds small,
.next-chapter-worlds em,
.next-chapter-pour-list b,
.next-chapter-pour-list strong,
.next-chapter-pour-list small,
.next-chapter-pour-list i {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.next-chapter-head span {
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.next-chapter-head strong {
  color: #fff8df;
  font-size: 0.72rem;
  line-height: 1;
  text-align: right;
}

.next-chapter-head small {
  grid-column: 1 / -1;
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.05;
}

.next-chapter-worlds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.next-chapter-worlds span {
  min-width: 0;
  padding: 6px 7px;
  border: 1px solid rgba(213, 154, 93, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(213, 154, 93, 0.12), rgba(244, 202, 109, 0.06)),
    rgba(42, 23, 12, 0.46);
}

.next-chapter-worlds span[data-world="midnight-dessert-salon"] {
  border-color: rgba(166, 139, 216, 0.32);
  background:
    linear-gradient(135deg, rgba(166, 139, 216, 0.12), rgba(146, 223, 209, 0.06)),
    rgba(24, 16, 32, 0.46);
}

.next-chapter-worlds b,
.next-chapter-pour-list b {
  color: var(--gold);
  font-size: 0.5rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.next-chapter-worlds strong {
  margin-top: 3px;
  color: #fff8df;
  font-size: 0.66rem;
  line-height: 1;
}

.next-chapter-worlds small,
.next-chapter-worlds em {
  margin-top: 3px;
  color: rgba(255, 248, 223, 0.64);
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.06;
}

.next-chapter-worlds em {
  color: rgba(146, 223, 209, 0.68);
}

.next-chapter-pour-list {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
}

.next-chapter-pour-list span {
  min-width: 0;
  min-height: 44px;
  padding: 5px 3px;
  border: 1px solid rgba(244, 202, 109, 0.18);
  border-radius: 7px;
  background: rgba(18, 14, 10, 0.48);
  text-align: center;
}

.next-chapter-pour-list span[data-world="midnight-dessert-salon"] {
  border-color: rgba(166, 139, 216, 0.24);
}

.next-chapter-pour-list span.is-playable {
  border-color: rgba(244, 202, 109, 0.56);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.16), rgba(213, 154, 93, 0.09)),
    rgba(36, 22, 12, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 248, 223, 0.1);
}

.next-chapter-pour-list span.is-complete {
  border-color: rgba(146, 223, 209, 0.46);
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.15), rgba(244, 202, 109, 0.08)),
    rgba(13, 31, 12, 0.58);
}

.next-chapter-pour-list strong {
  margin-top: 2px;
  color: #fff8df;
  font-size: 0.62rem;
  line-height: 1;
}

.next-chapter-pour-list small,
.next-chapter-pour-list i {
  margin-top: 2px;
  color: rgba(255, 248, 223, 0.56);
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.next-chapter-pour-list i {
  color: rgba(146, 223, 209, 0.64);
}

.route-chapter-preview {
  position: relative;
  overflow: visible;
  border-color: rgba(143, 216, 207, 0.34);
  background:
    linear-gradient(135deg, rgba(143, 216, 207, 0.13), rgba(241, 184, 94, 0.08)),
    rgba(10, 22, 24, 0.68);
}

.route-chapter-preview::before,
.route-chapter-preview::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.route-chapter-preview::before {
  inset: 0;
  background:
    linear-gradient(116deg, transparent 0 33%, rgba(214, 255, 248, 0.1) 33.5% 34.5%, transparent 35% 100%),
    linear-gradient(180deg, rgba(255, 248, 223, 0.04), transparent 54%);
}

.route-chapter-preview::after {
  right: 9px;
  bottom: 8px;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241, 184, 94, 0.7), transparent);
  transform: rotate(-18deg);
}

.route-chapter-preview > * {
  position: relative;
  z-index: 1;
}

.route-chapter-preview .next-chapter-worlds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-chapter-preview .next-chapter-worlds span[data-world="frost-cellar"],
.next-chapter-pour-list span[data-world="frost-cellar"] {
  border-color: rgba(143, 216, 207, 0.36);
  background:
    linear-gradient(135deg, rgba(143, 216, 207, 0.13), rgba(241, 184, 94, 0.06)),
    rgba(10, 24, 26, 0.5);
}

.route-chapter-preview .next-chapter-worlds span[data-world="ember-lounge"],
.next-chapter-pour-list span[data-world="ember-lounge"] {
  border-color: rgba(241, 184, 94, 0.34);
  background:
    linear-gradient(135deg, rgba(241, 184, 94, 0.14), rgba(164, 59, 66, 0.07)),
    rgba(34, 19, 12, 0.5);
}

.route-chapter-preview .next-chapter-worlds span[data-world="library-cellar"] {
  border-color: rgba(166, 139, 216, 0.3);
  background:
    linear-gradient(135deg, rgba(166, 139, 216, 0.12), rgba(143, 216, 207, 0.06)),
    rgba(22, 18, 30, 0.48);
}

.route-chapter-preview .next-chapter-worlds span.is-planned {
  opacity: 0.78;
}

.route-chapter-preview .next-chapter-pour-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.next-chapter-pour-list span.is-planned {
  opacity: 0.7;
}

.route-chapter-focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.route-chapter-focus span {
  min-width: 0;
  padding: 6px 7px;
  border: 1px solid rgba(255, 248, 223, 0.14);
  border-radius: 7px;
  background: rgba(18, 14, 10, 0.42);
}

.route-chapter-focus b,
.route-chapter-focus strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-chapter-focus b {
  color: rgba(143, 216, 207, 0.84);
  font-size: 0.48rem;
  font-weight: 900;
  text-transform: uppercase;
}

.route-chapter-focus strong {
  margin-top: 3px;
  color: rgba(255, 248, 223, 0.76);
  font-size: 0.56rem;
  font-weight: 900;
}

.pairing-lesson-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(146, 223, 209, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.14), rgba(244, 202, 109, 0.08)),
    rgba(13, 31, 12, 0.54);
  text-align: left;
}

.pairing-lesson-card[data-world="coastal-market"] {
  border-color: rgba(146, 223, 209, 0.36);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.17), rgba(244, 202, 109, 0.06)),
    rgba(10, 28, 24, 0.58);
}

.pairing-lesson-card[data-world="mountain-hearth"] {
  border-color: rgba(213, 154, 93, 0.42);
  background:
    linear-gradient(135deg, rgba(213, 154, 93, 0.18), rgba(164, 59, 66, 0.08)),
    rgba(35, 21, 12, 0.6);
}

.pairing-lesson-card[data-world="midnight-dessert-salon"] {
  border-color: rgba(166, 139, 216, 0.42);
  background:
    linear-gradient(135deg, rgba(166, 139, 216, 0.18), rgba(244, 202, 109, 0.08)),
    rgba(24, 16, 32, 0.6);
}

.pairing-lesson-card[data-world="frost-cellar"] {
  border-color: rgba(143, 216, 207, 0.42);
  background:
    linear-gradient(135deg, rgba(143, 216, 207, 0.18), rgba(241, 184, 94, 0.08)),
    rgba(10, 22, 24, 0.6);
}

.pairing-lesson-thumb {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 223, 0.18);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.58);
}

.pairing-lesson-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pairing-lesson-thumb b {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
}

.pairing-lesson-copy,
.pairing-lesson-copy em,
.pairing-lesson-copy strong,
.pairing-lesson-copy small,
.pairing-lesson-copy i,
.pairing-lesson-progress,
.pairing-lesson-progress b,
.pairing-lesson-progress i {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pairing-lesson-copy em {
  color: var(--muted);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pairing-lesson-copy strong {
  margin-top: 2px;
  color: #fff8df;
  font-size: 0.84rem;
  line-height: 1.04;
}

.pairing-lesson-copy small {
  margin-top: 3px;
  color: rgba(255, 248, 223, 0.76);
  font-size: 0.64rem;
  font-weight: 800;
}

.pairing-lesson-copy i {
  margin-top: 2px;
  color: rgba(146, 223, 209, 0.76);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 900;
}

.pairing-lesson-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 4px;
  padding: 4px 6px;
  border: 1px solid rgba(244, 202, 109, 0.18);
  border-radius: 6px;
  background: rgba(18, 14, 10, 0.36);
}

.pairing-lesson-progress b {
  color: rgba(255, 248, 223, 0.64);
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pairing-lesson-progress i {
  margin-top: 0;
  color: rgba(146, 223, 209, 0.88);
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 900;
}

.season-goals-card {
  display: grid;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(244, 202, 109, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.08), rgba(18, 61, 22, 0.1)),
    rgba(15, 13, 10, 0.6);
  text-align: left;
}

.season-goals-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.season-goals-head span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.season-goals-head strong {
  color: #fff8df;
  font-size: 0.78rem;
  line-height: 1;
}

.season-goal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.season-goal-chip {
  min-width: 0;
  padding: 7px 7px 6px;
  border: 1px solid rgba(255, 248, 223, 0.16);
  border-radius: 8px;
  background: rgba(21, 18, 12, 0.64);
}

.season-goal-chip span,
.season-goal-chip strong,
.season-goal-chip small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-goal-chip span {
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.56rem;
  font-weight: 900;
  text-transform: uppercase;
}

.season-goal-chip strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.82rem;
}

.season-goal-chip small {
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.54rem;
  font-weight: 800;
}

.season-goal-chip i {
  display: block;
  height: 4px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 248, 223, 0.12);
  font-style: normal;
}

.season-goal-chip b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f4ca6d, #92dfd1);
}

.season-goal-chip.is-ready,
.season-goal-chip.is-new {
  border-color: rgba(244, 202, 109, 0.62);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.16), rgba(18, 61, 22, 0.12)),
    rgba(42, 23, 12, 0.66);
}

.season-goal-chip.is-claimed {
  border-color: rgba(146, 223, 209, 0.38);
}

.season-goal-chip[data-goal="blitz-tasting"] {
  border-color: rgba(146, 223, 209, 0.28);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.08)),
    rgba(14, 23, 12, 0.64);
}

.season-goal-chip[data-goal="blitz-tasting"] b {
  background: linear-gradient(90deg, #92dfd1, #f4ca6d);
}

.start-panel.is-run-complete {
  align-self: start;
  width: min(880px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: clamp(14px, 2.2vw, 18px);
  border-color: rgba(244, 202, 109, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 223, 0.12),
    inset 0 -10px 22px rgba(44, 20, 8, 0.16),
    0 16px 48px rgba(244, 202, 109, 0.16),
    var(--shadow);
  scrollbar-width: none;
}

.start-panel.is-run-complete::-webkit-scrollbar {
  display: none;
}

.start-panel.is-continue-choice {
  width: min(720px, 100%);
  padding: clamp(18px, 3.4vw, 32px);
}

.start-panel.is-run-complete h2 {
  max-width: 15ch;
  font-size: clamp(2.1rem, 4.2vw, 3.7rem);
  line-height: 0.92;
}

.start-panel.is-continue-choice h2 {
  max-width: 14ch;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 0.92;
}

.start-panel.is-run-complete .primary-action {
  min-height: 52px;
  margin-top: 8px;
}

.start-panel.is-continue-choice .primary-action {
  min-height: 54px;
  margin-top: 14px;
}

.run-summary {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.run-summary.is-hidden {
  display: none;
}

.account-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.account-panel.is-glass-empty {
  margin-top: 8px;
}

.account-status-card,
.account-form,
.account-save-card,
.account-mechanic-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(244, 202, 109, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 248, 223, 0.08), rgba(18, 61, 22, 0.1)),
    rgba(14, 23, 12, 0.52);
}

.account-panel.is-glass-empty .account-status-card,
.account-panel.is-glass-empty .account-form {
  border-color: rgba(146, 223, 209, 0.32);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.08)),
    rgba(10, 22, 14, 0.62);
}

.account-status-card span,
.account-status-card strong,
.account-status-card small,
.account-status-card em,
.account-mechanic-head span,
.account-mechanic-head strong,
.account-mechanic-head small,
.account-form-head span,
.account-form-head strong,
.account-form-head small {
  display: block;
  min-width: 0;
}

.account-status-card span,
.account-mechanic-head span,
.account-form-head span {
  color: var(--sea);
  font-size: 0.7rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-status-card strong,
.account-mechanic-head strong,
.account-form-head strong {
  margin-top: 2px;
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.05;
}

.account-status-card small,
.account-mechanic-head small,
.account-form-head small {
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.account-status-message {
  margin-top: 6px;
  color: rgba(255, 248, 223, 0.76);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.account-status-message.is-good {
  color: #92dfd1;
}

.account-status-message.is-bad {
  color: #ffb19a;
}

.account-mechanic-card {
  display: grid;
  gap: 8px;
}

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

.account-mechanic-stats span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 6px;
  border: 1px solid rgba(146, 223, 209, 0.14);
  border-radius: 9px;
  background: rgba(18, 14, 10, 0.34);
}

.account-mechanic-stats b,
.account-mechanic-stats small,
.account-mechanic-stats em {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-mechanic-stats b {
  color: var(--gold);
  font-size: 0.94rem;
  line-height: 1;
}

.account-mechanic-stats small {
  color: var(--cream);
  font-size: 0.64rem;
  font-weight: 1000;
  line-height: 1.05;
  text-transform: uppercase;
}

.account-mechanic-stats em {
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.12;
}

.account-mechanic-focus,
.account-mechanic-training {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(146, 223, 209, 0.22);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.06)),
    rgba(8, 16, 8, 0.42);
}

.account-mechanic-focus span,
.account-mechanic-focus strong,
.account-mechanic-focus small,
.account-mechanic-training span,
.account-mechanic-training strong,
.account-mechanic-training small,
.account-mechanic-training em,
.account-mechanic-training b {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-mechanic-focus span,
.account-mechanic-training span {
  color: var(--sea);
  font-size: 0.62rem;
  font-weight: 1000;
  line-height: 1.05;
  text-transform: uppercase;
}

.account-mechanic-focus strong,
.account-mechanic-training strong {
  color: var(--cream);
  font-size: 0.86rem;
  line-height: 1.05;
}

.account-mechanic-focus small,
.account-mechanic-training small {
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.66rem;
  font-weight: 820;
  line-height: 1.16;
}

.account-mechanic-training {
  border-color: rgba(244, 202, 109, 0.24);
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.1), rgba(146, 223, 209, 0.05)),
    rgba(18, 14, 8, 0.48);
}

.account-mechanic-training em,
.account-mechanic-training b {
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.12;
}

.account-mechanic-training b {
  color: var(--gold);
}

.account-personalization-cue {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(157, 202, 106, 0.22);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(157, 202, 106, 0.1), rgba(146, 223, 209, 0.06)),
    rgba(9, 18, 9, 0.42);
}

.account-personalization-cue b,
.account-personalization-cue strong,
.account-personalization-cue span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-personalization-cue b {
  color: #9dca6a;
  font-size: 0.62rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.account-personalization-cue strong {
  color: var(--cream);
  font-size: 0.86rem;
  line-height: 1.05;
}

.account-personalization-cue span {
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.66rem;
  font-weight: 820;
  line-height: 1.16;
}

.account-pressure-profile {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(157, 202, 106, 0.22);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(157, 202, 106, 0.1), rgba(216, 111, 127, 0.06)),
    rgba(8, 16, 8, 0.44);
}

.account-pressure-profile span,
.account-pressure-profile strong,
.account-pressure-profile small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-pressure-profile > span {
  color: #9dca6a;
  font-size: 0.62rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.account-pressure-profile > strong {
  color: var(--cream);
  font-size: 0.86rem;
  line-height: 1.05;
}

.account-pressure-profile > small {
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.66rem;
  font-weight: 820;
  line-height: 1.16;
}

.account-pressure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  min-width: 0;
}

.account-pressure-grid i {
  display: grid;
  position: relative;
  min-width: 0;
  overflow: hidden;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(255, 248, 223, 0.12);
  border-radius: 8px;
  background: rgba(10, 18, 10, 0.48);
  color: rgba(255, 248, 223, 0.72);
  font-style: normal;
}

.account-pressure-grid i[data-pressure-state="steady"] {
  border-color: rgba(146, 223, 209, 0.28);
}

.account-pressure-grid i[data-pressure-state="needs-practice"] {
  border-color: rgba(255, 177, 154, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 177, 154, 0.12), rgba(244, 202, 109, 0.06)),
    rgba(30, 12, 8, 0.46);
}

.account-pressure-grid i[data-pressure-state="locked"] {
  opacity: 0.58;
}

.account-pressure-grid b,
.account-pressure-grid em,
.account-pressure-grid small {
  display: block;
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-pressure-grid b {
  color: var(--cream);
  font-size: 0.62rem;
  font-weight: 1000;
}

.account-pressure-grid em {
  color: var(--gold);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 1000;
}

.account-pressure-grid small {
  color: rgba(255, 248, 223, 0.58);
  font-size: 0.54rem;
  font-weight: 850;
}

.account-pressure-grid i > span {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 248, 223, 0.1);
}

.account-pressure-grid i > span::after {
  display: block;
  width: var(--pressure-fill, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(146, 223, 209, 0.78), rgba(244, 202, 109, 0.86));
  content: "";
}

.account-mechanic-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.account-mechanic-track i {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(255, 248, 223, 0.14);
  border-radius: 8px;
  background: rgba(8, 16, 8, 0.42);
  color: rgba(255, 248, 223, 0.62);
  font-style: normal;
}

.account-mechanic-track i[data-account-mechanic-state="learned"] {
  border-color: rgba(146, 223, 209, 0.34);
  color: var(--sea);
}

.account-mechanic-track i[data-account-mechanic-state="open"],
.account-mechanic-track i[data-account-mechanic-state="next"] {
  border-color: rgba(244, 202, 109, 0.34);
  color: var(--gold);
}

.account-mechanic-track b,
.account-mechanic-track span,
.account-mechanic-track small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-mechanic-track b {
  font-size: 0.62rem;
  font-weight: 1000;
  line-height: 1;
}

.account-mechanic-track span {
  color: var(--cream);
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1.05;
}

.account-mechanic-track small {
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.account-form {
  display: grid;
  gap: 8px;
}

.profile-auth-shell > .account-form,
.account-form.is-profile-update {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-auth-shell > .account-form .account-form-head,
.profile-auth-shell > .account-form .account-check,
.profile-auth-shell > .account-form .account-choice-group,
.profile-auth-shell > .account-form .account-select-label,
.profile-auth-shell > .account-form .account-form-more,
.profile-auth-shell > .account-form .primary-action,
.account-form.is-profile-update .account-form-head,
.account-form.is-profile-update .account-check,
.account-form.is-profile-update .account-choice-group,
.account-form.is-profile-update .account-select-label,
.account-form.is-profile-update .account-form-more,
.account-form.is-profile-update .primary-action {
  grid-column: 1 / -1;
}

.account-form label,
.account-select-label {
  display: grid;
  gap: 4px;
  text-align: left;
}

.account-form label > span,
.account-choice-group legend {
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"],
.account-form select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(146, 223, 209, 0.22);
  border-radius: 8px;
  background: rgba(8, 16, 8, 0.64);
  color: var(--cream);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  outline: none;
  padding: 8px 10px;
}

.account-form input:focus,
.account-form select:focus {
  border-color: rgba(244, 202, 109, 0.74);
}

.account-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(244, 202, 109, 0.2);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.42);
}

.account-choice-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.account-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.account-choice-grid label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid rgba(146, 223, 209, 0.18);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.36);
}

.account-choice-grid span,
.account-check span {
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.account-form-more {
  padding: 0;
  overflow: hidden;
  border-color: rgba(146, 223, 209, 0.18);
  background: rgba(8, 16, 8, 0.34);
}

.account-form-more summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 34px 7px 8px;
  cursor: pointer;
  list-style: none;
}

.account-form-more summary::-webkit-details-marker {
  display: none;
}

.account-form-more summary::after {
  position: absolute;
  right: 9px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(244, 202, 109, 0.34);
  border-radius: 999px;
  color: var(--gold);
  content: "+";
  font-size: 0.78rem;
  font-weight: 1000;
  line-height: 17px;
  text-align: center;
}

.account-form-more[open] summary::after {
  content: "-";
}

.account-form-more summary span,
.account-form-more summary strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-form-more summary span {
  color: var(--sea);
  font-size: 0.58rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.account-form-more summary strong {
  color: rgba(255, 248, 223, 0.82);
  font-size: 0.68rem;
}

.account-form-more .account-choice-group {
  padding: 0 8px 8px;
}

.account-form-more > label,
.account-form-more > .account-select-label {
  margin: 0 8px 8px;
}

.account-form.is-compact-signup .account-check {
  grid-column: 1 / 2;
}

.account-form.is-compact-signup .primary-action {
  grid-column: 2 / 3;
  align-self: stretch;
  min-height: 38px;
  margin-top: 0;
}

.account-save-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.account-save-metrics span {
  display: block;
  min-width: 0;
  padding: 8px;
  border-radius: 10px;
  background: rgba(18, 14, 10, 0.36);
}

.account-save-metrics b,
.account-save-metrics small {
  display: block;
}

.account-save-metrics b {
  color: var(--gold);
  font-size: 1.05rem;
}

.account-save-metrics small {
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.68rem;
  font-weight: 900;
}

.account-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 8px;
}

.profile-home-panel,
.home-store-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.profile-hero-card,
.profile-identity-card,
.profile-quick-card,
.profile-mechanic-snapshot,
.profile-account-details,
.account-form-more,
.home-points-primer,
.home-store-points-card,
.home-store-wallet,
.home-store-note,
.store-offer-details,
.store-offer-section-head {
  min-width: 0;
  border: 1px solid rgba(244, 202, 109, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 223, 0.07), rgba(18, 61, 22, 0.1)),
    rgba(14, 23, 12, 0.5);
}

.profile-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.profile-hero-card.is-signup-focus {
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  padding: 8px 9px;
}

.profile-hero-card div,
.profile-quick-card {
  min-width: 0;
}

.profile-hero-card span,
.profile-hero-card strong,
.profile-hero-card small,
.profile-hero-card b,
.profile-identity-card span,
.profile-identity-card strong,
.profile-identity-card small,
.profile-quick-card span,
.profile-quick-card strong,
.profile-quick-card small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.profile-hero-card span,
.profile-identity-card span,
.profile-quick-card span,
.profile-account-details summary span {
  color: var(--sea);
  font-size: 0.62rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.profile-hero-card strong {
  margin-top: 3px;
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.05;
}

.profile-hero-card.is-signup-focus strong {
  font-size: 0.88rem;
}

.profile-hero-card small,
.profile-quick-card small {
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.68rem;
  font-weight: 820;
  line-height: 1.18;
}

.profile-hero-card.is-signup-focus small {
  margin-top: 2px;
  font-size: 0.62rem;
}

.profile-hero-card.is-signup-focus .account-status-message {
  margin-top: 4px;
  font-size: 0.62rem;
  line-height: 1.16;
}

.profile-hero-card b {
  align-self: stretch;
  display: grid;
  min-width: 76px;
  place-items: center;
  padding: 7px 9px;
  border: 1px solid rgba(146, 223, 209, 0.22);
  border-radius: 9px;
  background: rgba(8, 16, 8, 0.42);
  color: var(--gold);
  font-size: 0.68rem;
  line-height: 1.1;
  text-align: center;
}

.profile-identity-card {
  display: grid;
  gap: 5px;
  padding: 9px;
  border-color: rgba(146, 223, 209, 0.28);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.12), rgba(244, 202, 109, 0.05)),
    rgba(8, 18, 12, 0.52);
}

.profile-identity-card strong {
  color: var(--cream);
  font-size: 0.9rem;
  line-height: 1.05;
}

.profile-identity-card small {
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.64rem;
  font-weight: 820;
  line-height: 1.12;
}

.profile-identity-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  min-width: 0;
}

.profile-identity-facts i {
  min-width: 0;
  overflow: hidden;
  padding: 5px 6px;
  border: 1px solid rgba(146, 223, 209, 0.18);
  border-radius: 7px;
  background: rgba(18, 14, 10, 0.34);
  color: rgba(214, 255, 248, 0.84);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-metrics-grid,
.home-store-wallet {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.profile-metrics-grid span,
.home-store-wallet span {
  display: grid;
  min-width: 0;
  min-height: 50px;
  align-content: center;
  gap: 3px;
  padding: 7px 6px;
  border: 1px solid rgba(146, 223, 209, 0.16);
  border-radius: 9px;
  background: rgba(18, 14, 10, 0.36);
  text-align: center;
}

.profile-metrics-grid b,
.profile-metrics-grid small,
.home-store-wallet b,
.home-store-wallet small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-metrics-grid b,
.home-store-wallet b {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 1000;
}

.profile-metrics-grid small,
.home-store-wallet small {
  color: rgba(255, 248, 223, 0.66);
  font-size: 0.56rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-points-primer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(188px, 0.86fr);
  gap: 8px;
  align-items: stretch;
  padding: 8px;
  border-color: rgba(146, 223, 209, 0.24);
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.1), rgba(146, 223, 209, 0.08)),
    rgba(11, 22, 12, 0.5);
}

.home-points-primer > div:first-child,
.home-points-steps {
  min-width: 0;
}

.home-points-primer span,
.home-points-primer strong,
.home-points-primer small,
.home-points-steps b {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-points-primer > div:first-child > span {
  color: var(--sea);
  font-size: 0.58rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.home-points-primer > div:first-child > strong {
  margin-top: 3px;
  color: var(--cream);
  font-size: 0.88rem;
  line-height: 1.05;
}

.home-points-primer > div:first-child > small {
  margin-top: 3px;
  color: rgba(255, 248, 223, 0.66);
  font-size: 0.62rem;
  font-weight: 820;
  line-height: 1.16;
  white-space: normal;
}

.home-points-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.home-points-steps span {
  display: grid;
  min-height: 44px;
  align-content: center;
  gap: 3px;
  padding: 6px 5px;
  border: 1px solid rgba(244, 202, 109, 0.18);
  border-radius: 8px;
  background: rgba(16, 14, 9, 0.38);
  text-align: center;
}

.home-points-steps b {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 1000;
  line-height: 1;
}

.home-points-steps small {
  color: rgba(255, 248, 223, 0.6);
  font-size: 0.5rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.profile-quick-card {
  display: grid;
  gap: 4px;
  padding: 9px;
}

.profile-quick-card.is-profile-core {
  border-color: rgba(146, 223, 209, 0.24);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.05)),
    rgba(9, 20, 12, 0.48);
}

.profile-mechanic-snapshot,
.home-level-mechanic-profile {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 9px;
  border-color: rgba(146, 223, 209, 0.28);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.12), rgba(244, 202, 109, 0.06)),
    rgba(8, 17, 10, 0.5);
}

.profile-mechanic-head,
.home-level-mechanic-profile-head {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.profile-mechanic-head span,
.profile-mechanic-head strong,
.profile-mechanic-head small,
.home-level-mechanic-profile-head span,
.home-level-mechanic-profile-head strong,
.home-level-mechanic-profile-head small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-mechanic-head span,
.home-level-mechanic-profile-head span {
  color: var(--sea);
  font-size: 0.6rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.profile-mechanic-head strong,
.home-level-mechanic-profile-head strong {
  color: var(--cream);
  font-size: 0.88rem;
  line-height: 1.06;
  white-space: nowrap;
}

.profile-mechanic-head small,
.home-level-mechanic-profile-head small {
  color: rgba(255, 248, 223, 0.66);
  font-size: 0.66rem;
  font-weight: 820;
  line-height: 1.14;
}

.mechanic-profile-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  min-width: 0;
}

.mechanic-profile-facts span {
  display: grid;
  min-width: 0;
  min-height: 44px;
  align-content: center;
  gap: 3px;
  padding: 6px 5px;
  border: 1px solid rgba(244, 202, 109, 0.17);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.34);
  text-align: center;
}

.mechanic-profile-facts span.is-wide {
  grid-column: 1 / -1;
  min-height: 40px;
  text-align: left;
}

.mechanic-profile-facts b,
.mechanic-profile-facts small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mechanic-profile-facts b {
  color: #fff8df;
  font-size: 0.66rem;
  font-weight: 1000;
}

.mechanic-profile-facts small {
  color: rgba(146, 223, 209, 0.72);
  font-size: 0.5rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-quick-card.is-slim {
  border-color: rgba(146, 223, 209, 0.24);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.06)),
    rgba(8, 16, 8, 0.42);
}

.profile-quick-card strong {
  color: var(--cream);
  font-size: 0.88rem;
  line-height: 1.08;
}

.profile-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 3px;
}

.profile-pill-list i {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 4px 7px;
  border: 1px solid rgba(146, 223, 209, 0.2);
  border-radius: 999px;
  background: rgba(8, 18, 14, 0.42);
  color: rgba(214, 255, 248, 0.84);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-auth-shell {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.profile-auth-shell > .account-form,
.profile-account-body .account-form.is-profile-update {
  padding: 8px 9px;
  border-color: rgba(146, 223, 209, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.06)),
    rgba(8, 18, 12, 0.54);
}

.profile-auth-shell > .account-form .account-form-head strong,
.profile-account-body .account-form.is-profile-update .account-form-head strong {
  font-size: 0.88rem;
}

.profile-auth-shell > .account-form .account-form-head small,
.profile-account-body .account-form.is-profile-update .account-form-head small {
  font-size: 0.66rem;
  line-height: 1.16;
}

.account-form.is-profile-update input[readonly] {
  color: rgba(255, 248, 223, 0.62);
}

.profile-account-details {
  padding: 0;
  overflow: hidden;
}

.profile-account-details summary {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}

.profile-account-details summary::-webkit-details-marker {
  display: none;
}

.profile-account-details summary::after {
  justify-self: end;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(244, 202, 109, 0.32);
  border-radius: 999px;
  color: var(--gold);
  content: "+";
  font-size: 0.8rem;
  font-weight: 1000;
  line-height: 17px;
  text-align: center;
}

.profile-account-details[open] summary::after {
  content: "-";
}

.profile-account-details summary strong {
  min-width: 0;
  overflow: hidden;
  color: var(--cream);
  font-size: 0.76rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-account-body {
  display: grid;
  gap: 8px;
  padding: 0 9px 9px;
}

.profile-account-body .account-form,
.profile-account-body .account-mechanic-card {
  padding: 9px;
  border-radius: 9px;
}

.profile-account-body .account-mechanic-card {
  max-height: 380px;
  overflow: auto;
  scrollbar-color: rgba(146, 223, 209, 0.36) transparent;
  scrollbar-width: thin;
}

.profile-account-body .account-mechanic-card::-webkit-scrollbar {
  width: 4px;
}

.profile-account-body .account-mechanic-card::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(146, 223, 209, 0.36);
}

.home-page-panel.is-store .store-offer-list {
  margin-top: 0;
}

.home-page-panel.is-store .store-offer-preview {
  margin-top: 0;
}

.store-offer-details {
  padding: 0;
  overflow: hidden;
  border-color: rgba(146, 223, 209, 0.2);
  background: rgba(8, 16, 8, 0.34);
}

.store-offer-details summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 34px 8px 9px;
  cursor: pointer;
  list-style: none;
}

.store-offer-details summary::-webkit-details-marker {
  display: none;
}

.store-offer-details summary::after {
  position: absolute;
  right: 10px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(244, 202, 109, 0.34);
  border-radius: 999px;
  color: var(--gold);
  content: "+";
  font-size: 0.78rem;
  font-weight: 1000;
  line-height: 17px;
  text-align: center;
}

.store-offer-details[open] summary::after {
  content: "-";
}

.store-offer-details summary span,
.store-offer-details summary strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-offer-details summary span {
  color: var(--sea);
  font-size: 0.58rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.store-offer-details summary strong {
  color: rgba(255, 248, 223, 0.84);
  font-size: 0.72rem;
}

.store-offer-details .store-offer-list {
  padding: 0 8px 8px;
}

.store-partner-readiness {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  padding: 0 8px 8px;
}

.store-partner-readiness span {
  display: grid;
  min-width: 0;
  min-height: 42px;
  align-content: center;
  gap: 3px;
  padding: 6px 5px;
  border: 1px solid rgba(146, 223, 209, 0.18);
  border-radius: 8px;
  background: rgba(8, 18, 14, 0.38);
  text-align: center;
}

.store-partner-readiness b,
.store-partner-readiness small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-partner-readiness b {
  color: rgba(255, 248, 223, 0.9);
  font-size: 0.58rem;
  font-weight: 1000;
}

.store-partner-readiness small {
  color: rgba(146, 223, 209, 0.72);
  font-size: 0.46rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-store-note {
  display: block;
  padding: 8px 9px;
  color: rgba(255, 248, 223, 0.62);
  font-size: 0.62rem;
  font-weight: 820;
  line-height: 1.15;
}

.home-store-points-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.72fr);
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
}

.home-store-save-points {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(244, 202, 109, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.16), rgba(146, 223, 209, 0.07)),
    rgba(18, 14, 10, 0.34);
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

button.home-store-save-points {
  cursor: pointer;
}

.home-store-save-points.is-synced {
  color: rgba(146, 223, 209, 0.86);
}

.home-store-points-card > div:first-child,
.store-offer-section-head {
  display: grid;
  gap: 3px;
}

.home-store-points-card span,
.home-store-points-card strong,
.home-store-points-card small,
.store-offer-section-head span,
.store-offer-section-head strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-store-points-card > div:first-child > span,
.store-offer-section-head span {
  color: var(--sea);
  font-size: 0.62rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.home-store-points-card > div:first-child > strong {
  color: var(--cream);
  font-size: 0.9rem;
  line-height: 1.05;
}

.home-store-points-card > div:first-child > small,
.store-offer-section-head strong {
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.68rem;
  font-weight: 820;
  line-height: 1.16;
}

.store-offer-section-head {
  padding: 8px 9px;
  border-color: rgba(146, 223, 209, 0.2);
  background: rgba(8, 16, 8, 0.36);
}

.home-store-points-card .home-store-wallet {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-store-points-card .home-store-wallet span {
  min-height: 38px;
  padding: 5px 4px;
}

.store-points-details .home-points-primer {
  margin: 0 8px 8px;
  border-color: rgba(146, 223, 209, 0.18);
  background: rgba(8, 16, 8, 0.26);
}

.run-summary-stats,
.collection-ledger,
.reward-stage-track,
.reward-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.run-summary-stats > div,
.collection-ledger > div,
.reward-stage,
.reward-path > div,
.run-summary-offer {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid rgba(244, 202, 109, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.09), rgba(18, 61, 22, 0.1)),
    rgba(13, 31, 12, 0.42);
}

.run-summary-stats span,
.run-summary-stats strong,
.collection-ledger span,
.collection-ledger strong,
.collection-ledger small,
.reward-stage span,
.reward-stage strong,
.reward-stage small,
.reward-path span,
.reward-path strong,
.reward-path small,
.run-summary-offer span,
.run-summary-offer strong,
.run-summary-offer small {
  display: block;
  min-width: 0;
}

.run-summary-stats span,
.collection-ledger span,
.reward-stage span,
.reward-path span,
.run-summary-offer > span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.run-summary-stats strong {
  margin-top: 4px;
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
}

.reward-stage-track {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.reward-stage {
  position: relative;
  overflow: hidden;
  border-color: rgba(244, 202, 109, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.06), rgba(18, 61, 22, 0.1)),
    rgba(13, 31, 12, 0.36);
  opacity: 0.48;
  text-align: left;
  transform: translateY(8px) scale(0.98);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.reward-stage::before {
  position: absolute;
  top: 0;
  right: 12px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(244, 202, 109, 0.82), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.32);
  transform-origin: center;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.reward-stage.is-revealed {
  border-color: rgba(244, 202, 109, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.12),
    0 8px 20px rgba(244, 202, 109, 0.1);
  opacity: 1;
  transform: none;
}

.reward-stage.is-revealed::before {
  opacity: 1;
  transform: scaleX(1);
}

.reward-stage[data-tone="points"].is-revealed,
.reward-stage[data-tone="store"].is-revealed,
.reward-stage[data-tone="route"].is-revealed,
.reward-stage[data-tone="daily"].is-revealed,
.reward-stage[data-tone="lesson"].is-revealed,
.reward-stage[data-tone="precision"].is-revealed,
.reward-stage[data-tone="arc"].is-revealed,
.reward-stage[data-tone="mastery"].is-revealed {
  border-color: rgba(146, 223, 209, 0.42);
}

.reward-stage[data-tone="daily"].is-revealed::before,
.reward-stage[data-tone="lesson"].is-revealed::before,
.reward-stage[data-tone="precision"].is-revealed::before,
.reward-stage[data-tone="arc"].is-revealed::before,
.reward-stage[data-tone="mastery"].is-revealed::before {
  background: linear-gradient(90deg, transparent, rgba(146, 223, 209, 0.86), transparent);
}

.reward-stage[data-tone="precision"].is-revealed {
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.12),
    0 8px 18px rgba(244, 202, 109, 0.08);
}

.reward-stage[data-tone="arc"].is-revealed {
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.14),
    0 8px 20px rgba(146, 223, 209, 0.1);
}

.reward-stage[data-tone="mastery"].is-revealed {
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.12),
    0 8px 20px rgba(146, 223, 209, 0.12);
}

.reward-stage strong {
  margin-top: 4px;
  overflow: hidden;
  color: #fff8df;
  font-size: 1rem;
  line-height: 1.02;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reward-stage small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reward-path {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reward-path > div {
  padding: 9px 10px;
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.12), rgba(18, 61, 22, 0.1)),
    rgba(42, 23, 12, 0.48);
  text-align: left;
}

.reward-path > div.is-next-session {
  border-color: rgba(146, 223, 209, 0.42);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.15), rgba(244, 202, 109, 0.1)),
    rgba(13, 31, 12, 0.58);
}

.reward-path > div.is-next-session span {
  color: rgba(146, 223, 209, 0.86);
}

.reward-path strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 1.08rem;
  line-height: 1;
}

.reward-path small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.1;
}

.reward-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8px;
}

.reward-card {
  position: relative;
  display: grid;
  min-height: 122px;
  align-content: end;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(244, 202, 109, 0.38);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.16), transparent 42%),
    linear-gradient(90deg, rgba(146, 223, 209, 0.08), transparent 36%),
    linear-gradient(160deg, rgba(109, 31, 54, 0.88), rgba(42, 23, 12, 0.9) 62%, rgba(18, 61, 22, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.24);
  text-align: left;
}

.reward-card.is-rare {
  border-color: rgba(244, 202, 109, 0.74);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.2), transparent 44%),
    linear-gradient(90deg, rgba(146, 223, 209, 0.1), transparent 38%),
    linear-gradient(160deg, rgba(143, 33, 61, 0.9), rgba(106, 61, 24, 0.92) 58%, rgba(18, 61, 22, 0.84));
}

.reward-card-rack {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  max-width: 52%;
  gap: 4px;
  justify-content: flex-end;
}

.pairing-card-chip {
  position: relative;
  display: grid;
  width: 34px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(244, 202, 109, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.13), rgba(42, 23, 12, 0.34)),
    rgba(13, 31, 12, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.24);
}

.pairing-card-chip.is-rarity-uncommon {
  border-color: rgba(146, 223, 209, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.14),
    0 0 0 1px rgba(146, 223, 209, 0.1),
    0 4px 10px rgba(0, 0, 0, 0.24);
}

.pairing-card-chip.is-rarity-rare {
  border-color: rgba(115, 175, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.14),
    0 0 0 1px rgba(115, 175, 255, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.24);
}

.pairing-card-chip.is-rarity-epic {
  border-color: rgba(207, 142, 255, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.14),
    0 0 0 1px rgba(207, 142, 255, 0.16),
    0 4px 12px rgba(42, 16, 68, 0.28);
}

.pairing-card-chip.is-rarity-legendary {
  border-color: rgba(255, 203, 91, 0.94);
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.18), rgba(84, 45, 13, 0.36)),
    rgba(42, 31, 10, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.2),
    0 0 0 1px rgba(255, 203, 91, 0.2),
    0 5px 14px rgba(73, 49, 12, 0.3);
}

.pairing-card-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px 3px 10px;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.34));
}

.pairing-card-chip i {
  position: absolute;
  right: 3px;
  bottom: 2px;
  left: 3px;
  color: var(--gold);
  font-size: 0.46rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pairing-card-chip b {
  position: absolute;
  top: 2px;
  left: 2px;
  display: grid;
  width: 12px;
  height: 12px;
  place-items: center;
  border-radius: 999px;
  background: rgba(9, 20, 14, 0.72);
  color: rgba(255, 248, 223, 0.88);
  font-size: 0.42rem;
  font-weight: 900;
  line-height: 1;
}

.pairing-card-chip.is-more {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.reward-card span {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.reward-card strong {
  margin-top: 5px;
  color: #fff8df;
  font-size: 1.12rem;
  line-height: 1.02;
}

.reward-card.has-card-rack > strong {
  max-width: calc(100% - 172px);
  overflow-wrap: break-word;
}

.reward-card small,
.collection-ledger small,
.run-summary-offer small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.25;
}

.reward-card small {
  margin-top: 6px;
  font-size: 0.72rem;
}

.collection-ledger {
  grid-template-columns: 1fr;
}

.collection-ledger > div {
  display: grid;
  grid-template-columns: minmax(64px, 0.35fr) minmax(72px, 0.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  text-align: left;
}

.collection-ledger strong {
  color: var(--gold);
  font-size: 1.08rem;
  line-height: 1;
}

.collection-ledger small {
  font-size: 0.72rem;
}

.flight-passport {
  display: flex;
  min-width: 0;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 7px;
  border: 1px solid rgba(244, 202, 109, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.07), rgba(18, 61, 22, 0.12)),
    rgba(13, 31, 12, 0.36);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.flight-passport::-webkit-scrollbar {
  display: none;
}

.flight-star-chip {
  display: grid;
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 34px;
  place-items: center;
  gap: 3px;
  padding: 5px 7px;
  border: 1px solid rgba(244, 202, 109, 0.26);
  border-radius: 10px;
  background: rgba(42, 23, 12, 0.44);
}

.flight-star-chip span {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
}

.flight-star-chip div {
  display: flex;
  gap: 2px;
}

.flight-star-chip i {
  display: block;
  width: 9px;
  height: 9px;
  background: rgba(255, 248, 223, 0.18);
  clip-path: polygon(50% 0, 61% 34%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 34%);
}

.flight-star-chip i.is-lit {
  background: #f4ca6d;
  filter: drop-shadow(0 0 4px rgba(244, 202, 109, 0.34));
}

.flight-star-chip.is-empty {
  opacity: 0.48;
}

.flight-star-chip.is-service-complete {
  border-color: rgba(159, 230, 129, 0.56);
  background:
    linear-gradient(180deg, rgba(159, 230, 129, 0.1), rgba(244, 202, 109, 0.08)),
    rgba(42, 23, 12, 0.5);
}

.continue-panel {
  margin-top: 16px;
}

.continue-state-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 8px;
}

.continue-state-strip > div {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(146, 223, 209, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.06)),
    rgba(13, 31, 12, 0.46);
}

.continue-state-strip span,
.continue-state-strip strong,
.continue-state-strip small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.continue-state-strip span {
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.continue-state-strip strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.86rem;
  line-height: 1;
}

.continue-state-strip small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 780;
  line-height: 1.05;
}

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

.continue-options > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(244, 202, 109, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.08), rgba(18, 61, 22, 0.12)),
    rgba(13, 31, 12, 0.46);
  text-align: left;
}

.continue-options span,
.continue-options strong,
.continue-options small {
  display: block;
}

.continue-options span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.continue-options strong {
  margin-top: 5px;
  color: #fff8df;
  font-size: 1.05rem;
  line-height: 1;
}

.continue-options small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}

.continue-action {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid rgba(244, 202, 109, 0.48);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(248, 216, 135, 0.96), rgba(201, 135, 54, 0.96));
  color: #20150c;
  cursor: pointer;
  font-weight: 900;
}

.continue-action.is-preview-only {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.1), rgba(146, 223, 209, 0.08)),
    rgba(13, 31, 12, 0.5);
  color: var(--muted);
  cursor: default;
}

.continue-action:disabled,
.continue-action.is-preview-only {
  filter: grayscale(0.42);
  opacity: 0.5;
}

.run-summary-offer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  text-align: left;
}

.run-summary-offer strong {
  color: #fff8df;
  font-size: 1rem;
}

.run-summary-offer small {
  display: none;
}

.post-run-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.post-run-action {
  min-width: 0;
  min-height: 52px;
  padding: 9px 10px;
  border: 1px solid rgba(244, 202, 109, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.08), rgba(18, 61, 22, 0.1)),
    rgba(13, 31, 12, 0.46);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.post-run-action.is-active {
  border-color: rgba(244, 202, 109, 0.72);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.22), rgba(138, 87, 46, 0.16)),
    rgba(42, 23, 12, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.14),
    0 8px 20px rgba(244, 202, 109, 0.12);
}

.post-run-action span,
.post-run-action small,
.post-run-detail span,
.post-run-detail strong,
.post-run-detail small {
  display: block;
  min-width: 0;
}

.post-run-action span,
.post-run-detail span {
  overflow: hidden;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.post-run-action small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 750;
  line-height: 1.12;
}

.post-run-detail {
  min-width: 0;
  padding: 8px 14px;
  border: 1px solid rgba(244, 202, 109, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(244, 202, 109, 0.08), transparent 42%),
    rgba(13, 31, 12, 0.42);
  text-align: left;
}

.post-run-detail strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.98rem;
  line-height: 1.08;
}

.post-run-detail small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 720;
  line-height: 1.22;
}

.post-run-detail[data-active-action="book"] > span,
.post-run-detail[data-active-action="book"] > strong,
.post-run-detail[data-active-action="book"] > small,
.post-run-detail[data-active-action="book"] .pairing-note-list {
  display: none;
}

.next-session-cue {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.6fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  padding: 7px 8px;
  border: 1px solid rgba(146, 223, 209, 0.3);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.13), rgba(244, 202, 109, 0.08)),
    rgba(13, 31, 12, 0.54);
}

.next-session-cue span,
.next-session-cue strong,
.next-session-cue small {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.next-session-cue span {
  color: rgba(146, 223, 209, 0.82);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.next-session-cue strong {
  margin: 0;
  color: #fff8df;
  font-size: 0.76rem;
}

.next-session-cue small {
  margin: 0;
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.58rem;
  font-weight: 800;
}

.post-run-next-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(176px, auto);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(146, 223, 209, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.13), rgba(244, 202, 109, 0.1)),
    rgba(13, 31, 12, 0.6);
}

.post-run-next-route span,
.post-run-next-route strong,
.post-run-next-route small {
  display: block;
  min-width: 0;
}

.post-run-next-route span {
  color: var(--sea);
  font-size: 0.64rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.post-run-next-route strong {
  margin-top: 3px;
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1;
}

.post-run-next-route small {
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.post-run-next-route .primary-action {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.post-run-mechanic-unlock {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(244, 202, 109, 0.26);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.1), rgba(216, 111, 127, 0.08)),
    rgba(16, 20, 12, 0.6);
}

.post-run-mechanic-unlock > div,
.post-run-mechanic-unlock > em {
  min-width: 0;
}

.post-run-mechanic-unlock span,
.post-run-mechanic-unlock strong,
.post-run-mechanic-unlock small,
.post-run-mechanic-unlock em {
  display: block;
  min-width: 0;
}

.post-run-mechanic-unlock span {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.post-run-mechanic-unlock strong {
  margin-top: 3px;
  color: var(--cream);
  font-size: 0.96rem;
  line-height: 1.05;
}

.post-run-mechanic-unlock small,
.post-run-mechanic-unlock em {
  margin-top: 4px;
  color: rgba(255, 248, 223, 0.72);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
}

.post-run-mechanic-unlock .home-mechanic-cues {
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 4px;
}

.post-run-mechanic-unlock .home-mechanic-cues i {
  padding: 4px 5px;
  font-size: 0.5rem;
}

.post-run-mechanic-unlock .home-hazard-brief {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  margin-top: 0;
}

.post-run-mechanic-unlock .home-hazard-brief i {
  min-height: 34px;
}

.collection-book-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  margin-top: 8px;
  padding: 0 2px 7px;
  border-bottom: 1px solid rgba(244, 202, 109, 0.18);
}

.collection-book-status span,
.collection-book-status strong,
.collection-book-status small {
  display: block;
  min-width: 0;
}

.collection-book-status span {
  grid-column: 1 / -1;
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.collection-book-status strong {
  overflow: hidden;
  color: #fff8df;
  font-size: 0.78rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-book-status small {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.05;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-compass {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
}

.collection-compass-card {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(146, 223, 209, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.06)),
    rgba(13, 31, 12, 0.46);
  color: var(--ink);
  cursor: default;
  text-align: left;
}

button.collection-compass-card {
  cursor: pointer;
}

button.collection-compass-card:hover,
button.collection-compass-card:focus-visible {
  border-color: rgba(244, 202, 109, 0.58);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.12),
    0 0 0 2px rgba(146, 223, 209, 0.12);
}

.collection-compass-card.is-reward {
  border-color: rgba(146, 223, 209, 0.56);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.16), rgba(244, 202, 109, 0.1)),
    rgba(13, 31, 12, 0.58);
}

.collection-compass-card span,
.collection-compass-card strong,
.collection-compass-card small,
.collection-compass-card em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-compass-card span {
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.collection-compass-card strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.76rem;
  line-height: 1.05;
}

.collection-compass-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 780;
  line-height: 1.08;
}

.collection-compass-card em {
  margin-top: 5px;
  color: rgba(146, 223, 209, 0.78);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.recall-drill-card {
  display: grid;
  gap: 7px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(146, 223, 209, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.12), rgba(244, 202, 109, 0.08)),
    rgba(13, 31, 12, 0.5);
}

.recall-drill-card.is-complete {
  border-color: rgba(159, 230, 129, 0.48);
}

.recall-drill-card.is-locked {
  border-color: rgba(255, 248, 223, 0.16);
  opacity: 0.76;
}

.recall-drill-head,
.recall-drill-body {
  display: grid;
  min-width: 0;
}

.recall-drill-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.recall-drill-head span,
.recall-drill-head strong,
.recall-drill-body em,
.recall-drill-body b,
.recall-drill-body small,
.recall-drill-choice {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recall-drill-head span {
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.recall-drill-head strong {
  color: rgba(146, 223, 209, 0.9);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.recall-drill-body {
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.recall-drill-thumb {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 223, 0.16);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.58);
}

.recall-drill-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.34));
}

.recall-drill-thumb b {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
}

.recall-drill-body em {
  color: rgba(244, 202, 109, 0.82);
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.recall-drill-body b {
  margin-top: 3px;
  color: #fff8df;
  font-size: 0.78rem;
  line-height: 1.05;
}

.recall-drill-body small {
  margin-top: 3px;
  color: rgba(255, 248, 223, 0.68);
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.08;
}

.recall-drill-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.recall-drill-choice {
  display: flex;
  align-items: center;
  min-height: 36px;
  width: 100%;
  padding: 6px 7px;
  border: 1px solid rgba(255, 248, 223, 0.15);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.48);
  color: rgba(255, 248, 223, 0.78);
  font: inherit;
  font-size: 0.56rem;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.recall-drill-choice:hover,
.recall-drill-choice:focus-visible {
  border-color: rgba(244, 202, 109, 0.58);
  outline: none;
}

.recall-drill-choice.is-selected {
  border-color: rgba(244, 202, 109, 0.5);
  background: rgba(74, 49, 18, 0.5);
  color: #fff8df;
}

.recall-drill-choice.is-correct {
  border-color: rgba(159, 230, 129, 0.58);
  background: rgba(20, 54, 27, 0.46);
  color: #fff8df;
}

.recall-drill-choice:disabled,
.recall-drill-choice.is-preview-only {
  cursor: default;
  opacity: 0.78;
}

.pairing-note-list,
.lesson-journal-list,
.collection-set-list,
.store-offer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.pairing-note-card,
.lesson-journal-card,
.collection-set-card,
.store-offer-button {
  min-width: 0;
  border: 1px solid rgba(244, 202, 109, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.08), rgba(18, 61, 22, 0.1)),
    rgba(42, 23, 12, 0.46);
}

.pairing-note-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 6px;
}

.lesson-journal-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 7px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.12), rgba(244, 202, 109, 0.08)),
    rgba(13, 31, 12, 0.5);
}

.lesson-journal-card.is-learned {
  border-color: rgba(146, 223, 209, 0.48);
}

.lesson-journal-card.is-next {
  border-color: rgba(244, 202, 109, 0.5);
}

.lesson-journal-card.is-focus {
  border-color: rgba(255, 248, 223, 0.2);
}

.lesson-journal-thumb {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 223, 0.16);
  border-radius: 8px;
  background: rgba(18, 14, 10, 0.58);
}

.lesson-journal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.34));
}

.lesson-journal-thumb b {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
}

.pairing-note-card img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.34));
}

.pairing-note-card span,
.pairing-note-card strong,
.pairing-note-card small,
.lesson-journal-card em,
.lesson-journal-card strong,
.lesson-journal-card small,
.store-offer-button span,
.store-offer-button strong,
.store-offer-button small {
  display: block;
  min-width: 0;
}

.lesson-journal-card em {
  overflow: hidden;
  color: var(--gold);
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.lesson-journal-card strong {
  margin-top: 3px;
  overflow: hidden;
  color: #fff8df;
  font-size: 0.68rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-journal-card small {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 760;
  line-height: 1.1;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pairing-note-card span {
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
}

.pairing-note-card strong {
  margin-top: 3px;
  overflow: hidden;
  color: #fff8df;
  font-size: 0.72rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pairing-note-card small {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.collection-set-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.collection-set-card {
  padding: 7px 8px;
}

.collection-set-card.is-complete {
  border-color: rgba(244, 202, 109, 0.52);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.14), rgba(18, 61, 22, 0.12)),
    rgba(42, 23, 12, 0.58);
}

.collection-set-card.is-new-milestone {
  border-color: rgba(146, 223, 209, 0.68);
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.14), rgba(244, 202, 109, 0.1)),
    rgba(42, 23, 12, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 223, 0.12),
    0 0 18px rgba(146, 223, 209, 0.12);
}

.collection-set-card.is-tier-reserve,
.collection-set-card.is-tier-complete {
  border-color: rgba(244, 202, 109, 0.44);
}

.collection-set-card span,
.collection-set-card strong,
.collection-set-card small,
.collection-set-card i,
.collection-set-card b {
  display: block;
  min-width: 0;
}

.collection-set-card span {
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.collection-set-card strong {
  margin-top: 4px;
  overflow: hidden;
  color: #fff8df;
  font-size: 0.76rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-set-card i {
  height: 5px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 248, 223, 0.12);
  font-style: normal;
}

.collection-set-card b {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f4ca6d, #92dfd1);
}

.collection-set-card.is-tier-tasting b {
  background: linear-gradient(90deg, #d7e7bd, #f4ca6d);
}

.collection-set-card.is-tier-cellar b {
  background: linear-gradient(90deg, #f4ca6d, #d7e7bd);
}

.collection-set-card.is-tier-reserve b,
.collection-set-card.is-tier-complete b {
  background: linear-gradient(90deg, #f4ca6d, #92dfd1, #fff8df);
}

.route-book-status {
  border-bottom-color: rgba(146, 223, 209, 0.24);
}

.world-music-deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.world-music-card {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(146, 223, 209, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.06)),
    rgba(13, 31, 12, 0.46);
}

.world-music-card[data-world="coastal-market"] {
  border-color: rgba(146, 223, 209, 0.34);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.14), rgba(244, 202, 109, 0.06)),
    rgba(10, 28, 24, 0.52);
}

.world-music-card[data-world="mountain-hearth"] {
  border-color: rgba(213, 154, 93, 0.4);
  background:
    linear-gradient(135deg, rgba(213, 154, 93, 0.18), rgba(164, 59, 66, 0.08)),
    rgba(35, 21, 12, 0.56);
}

.world-music-card[data-world="midnight-dessert-salon"] {
  border-color: rgba(166, 139, 216, 0.38);
  background:
    linear-gradient(135deg, rgba(166, 139, 216, 0.15), rgba(146, 223, 209, 0.06)),
    rgba(24, 16, 32, 0.54);
}

.world-music-card[data-world="frost-cellar"] {
  border-color: rgba(143, 216, 207, 0.4);
  background:
    linear-gradient(135deg, rgba(143, 216, 207, 0.16), rgba(241, 184, 94, 0.08)),
    rgba(10, 22, 24, 0.56);
}

.world-music-card.is-preview {
  border-color: rgba(244, 202, 109, 0.36);
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.13), rgba(146, 223, 209, 0.06)),
    rgba(42, 23, 12, 0.5);
}

.world-music-card span,
.world-music-card strong,
.world-music-card small,
.world-music-card em,
.world-music-card i,
.world-music-card b {
  display: block;
  min-width: 0;
}

.world-music-card span {
  overflow: hidden;
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.world-music-card strong {
  margin-top: 4px;
  overflow: hidden;
  color: #fff8df;
  font-size: 0.76rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-music-card i {
  height: 5px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 248, 223, 0.12);
  font-style: normal;
}

.world-music-card b {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #92dfd1, #f4ca6d);
}

.world-music-card.is-preview b {
  background: linear-gradient(90deg, rgba(244, 202, 109, 0.2), rgba(146, 223, 209, 0.24));
}

.world-stem-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  margin-top: 6px;
}

.world-stem-rail span {
  min-width: 0;
  padding: 4px 3px;
  border: 1px solid rgba(255, 248, 223, 0.12);
  border-radius: 6px;
  background: rgba(9, 14, 8, 0.42);
}

.world-stem-rail span.is-unlocked {
  border-color: rgba(146, 223, 209, 0.34);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.13), rgba(244, 202, 109, 0.08)),
    rgba(10, 30, 21, 0.48);
}

.world-stem-rail span.is-locked {
  opacity: 0.62;
}

.world-stem-rail span b,
.world-stem-rail span small {
  overflow: hidden;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-stem-rail span b {
  height: auto;
  border-radius: 0;
  background: none;
  color: rgba(255, 248, 223, 0.84);
  font-size: 0.42rem;
  font-weight: 900;
  text-transform: uppercase;
}

.world-stem-rail span small {
  margin-top: 3px;
  color: rgba(146, 223, 209, 0.72);
  font-size: 0.42rem;
  font-weight: 840;
}

.world-music-card small,
.world-music-card em {
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 780;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-music-card em {
  color: rgba(146, 223, 209, 0.7);
  font-style: normal;
}

.world-atlas-card {
  display: grid;
  gap: 7px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid rgba(244, 202, 109, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.08), rgba(146, 223, 209, 0.07)),
    rgba(16, 19, 12, 0.5);
}

.world-atlas-head {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.world-atlas-head span,
.world-atlas-head strong,
.world-atlas-head small,
.world-atlas-chapter-head span,
.world-atlas-chapter-head strong,
.world-atlas-place b,
.world-atlas-place strong,
.world-atlas-place small,
.world-atlas-place em {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-atlas-head span,
.world-atlas-chapter-head span {
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 900;
  text-transform: uppercase;
}

.world-atlas-head strong {
  color: #fff8df;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.08;
  white-space: normal;
}

.world-atlas-head small {
  color: rgba(146, 223, 209, 0.72);
  font-size: 0.54rem;
  font-weight: 820;
  text-align: right;
}

.world-atlas-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  min-width: 0;
}

.world-atlas-chapter {
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(255, 248, 223, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 223, 0.05), rgba(0, 0, 0, 0)),
    rgba(9, 14, 8, 0.34);
  box-shadow: inset 0 2px 0 var(--atlas-accent, var(--gold));
}

.world-atlas-chapter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
}

.world-atlas-chapter-head strong {
  color: rgba(255, 248, 223, 0.78);
  font-size: 0.54rem;
  font-weight: 900;
  text-align: right;
}

.world-atlas-chapter-head span {
  line-height: 1.05;
  white-space: normal;
}

.world-atlas-places {
  display: grid;
  gap: 4px;
  margin-top: 5px;
}

.world-atlas-place {
  min-width: 0;
  padding: 5px 5px 5px 24px;
  border: 1px solid rgba(255, 248, 223, 0.13);
  border-radius: 7px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--atlas-accent, #f4ca6d) 16%, transparent), rgba(0, 0, 0, 0)),
    rgba(12, 15, 10, 0.52);
  position: relative;
}

.world-atlas-place b {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--atlas-accent, var(--gold));
  color: #1d1409;
  font-size: 0.46rem;
  font-weight: 950;
  line-height: 14px;
  text-align: center;
}

.world-atlas-place strong {
  color: #fff8df;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.05;
  white-space: normal;
}

.world-atlas-place small,
.world-atlas-place em {
  margin-top: 3px;
  color: rgba(255, 248, 223, 0.56);
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 800;
}

.world-atlas-place em {
  color: rgba(146, 223, 209, 0.68);
}

.world-atlas-place.is-active,
.world-atlas-place.is-complete {
  border-color: rgba(146, 223, 209, 0.38);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--atlas-accent, #92dfd1) 24%, transparent), rgba(146, 223, 209, 0.04)),
    rgba(13, 31, 12, 0.56);
}

.world-atlas-place.is-preview {
  border-color: rgba(244, 202, 109, 0.34);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--atlas-accent, #f4ca6d) 22%, transparent), rgba(244, 202, 109, 0.04)),
    rgba(36, 22, 12, 0.54);
}

.world-atlas-place.is-planned {
  opacity: 0.7;
}

.route-progress-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.route-progress-card.is-route-open {
  border-color: rgba(146, 223, 209, 0.42);
}

.route-progress-card.is-route-open b {
  background: linear-gradient(90deg, #92dfd1, #f4ca6d);
}

.route-progress-card.is-route-complete {
  border-color: rgba(244, 202, 109, 0.58);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.16), rgba(18, 61, 22, 0.16)),
    rgba(42, 23, 12, 0.6);
}

.route-progress-card.is-route-new-open,
.route-progress-card.is-route-new-complete {
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.16),
    0 0 0 1px rgba(146, 223, 209, 0.14),
    0 8px 20px rgba(146, 223, 209, 0.1);
}

.route-progress-card.is-route-new-complete {
  border-color: rgba(244, 202, 109, 0.76);
}

.route-progress-card.is-route-locked {
  opacity: 0.72;
}

.route-progress-card.is-route-locked b {
  background: linear-gradient(90deg, rgba(255, 248, 223, 0.18), rgba(146, 223, 209, 0.32));
}

.collection-set-card small {
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-set-card.route-progress-card small {
  line-height: 1.08;
  white-space: normal;
}

.store-offer-button {
  min-height: 46px;
  padding: 7px 8px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.store-offer-button.is-recommended {
  border-color: rgba(146, 223, 209, 0.56);
  background:
    linear-gradient(180deg, rgba(146, 223, 209, 0.16), rgba(244, 202, 109, 0.1)),
    rgba(42, 23, 12, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.14),
    0 8px 18px rgba(146, 223, 209, 0.08);
}

.store-offer-button.is-active {
  border-color: rgba(244, 202, 109, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.16),
    0 8px 18px rgba(244, 202, 109, 0.1);
}

.store-offer-button span {
  overflow: hidden;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.store-offer-button strong {
  margin-top: 5px;
  color: #fff8df;
  font-size: 0.86rem;
  line-height: 1;
}

.store-offer-button small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1;
}

.store-offer-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(210px, 0.92fr);
  gap: 8px 10px;
  margin-top: 8px;
  padding: 8px 9px;
  border: 1px solid rgba(146, 223, 209, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.12), rgba(244, 202, 109, 0.08) 52%, transparent),
    rgba(12, 28, 13, 0.58);
}

.store-offer-preview[data-offer-kind="route_pack"] {
  border-color: rgba(146, 223, 209, 0.42);
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.16), rgba(244, 202, 109, 0.1) 52%, transparent),
    rgba(12, 28, 13, 0.62);
}

.store-offer-preview[data-offer-kind="partner_offer"] {
  border-color: rgba(244, 202, 109, 0.34);
  background:
    linear-gradient(135deg, rgba(244, 202, 109, 0.12), rgba(146, 223, 209, 0.08) 52%, transparent),
    rgba(22, 19, 10, 0.58);
}

.store-offer-preview > div:first-child {
  min-width: 0;
}

.store-offer-preview > div:first-child > span,
.store-offer-preview strong,
.store-offer-preview small,
.store-offer-preview em {
  display: block;
  min-width: 0;
}

.store-offer-preview strong {
  overflow: hidden;
  margin-top: 3px;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-offer-preview small {
  display: block;
  overflow: hidden;
  color: rgba(255, 248, 223, 0.76);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-offer-preview em {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: rgba(146, 223, 209, 0.78);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 820;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-offer-preview-meta,
.store-offer-preview-items {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.store-offer-preview-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-offer-preview-meta span,
.store-offer-preview-items span {
  min-width: 0;
  border: 1px solid rgba(244, 202, 109, 0.18);
  border-radius: 8px;
  background: rgba(42, 23, 12, 0.42);
  text-align: center;
}

.store-offer-preview-meta span {
  padding: 5px;
}

.store-offer-preview-meta b {
  display: block;
  overflow: hidden;
  color: #fff8df;
  font-size: 0.72rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-offer-preview-meta small {
  margin-top: 3px;
  font-size: 0.52rem;
  line-height: 1;
}

.store-offer-preview-items {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-offer-preview-items span {
  padding: 5px 6px;
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  white-space: normal;
}

.store-offer-preview-action {
  grid-column: 1 / -1;
  min-height: 34px;
  border: 1px solid rgba(244, 202, 109, 0.52);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(248, 216, 135, 0.96), rgba(201, 135, 54, 0.96));
  color: #20150c;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.post-run-detail[data-active-action="store"] {
  padding: 8px 10px;
}

.post-run-detail[data-active-action="store"] > small,
.post-run-detail[data-active-action="wallet"] > span,
.post-run-detail[data-active-action="wallet"] > strong,
.post-run-detail[data-active-action="wallet"] > small {
  display: none;
}

.post-run-detail[data-active-action="wallet"] {
  padding: 8px 10px;
}

.post-run-detail[data-active-action="wallet"] .reward-ledger-stats {
  margin-top: 0;
}

.wallet-continue-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.8fr);
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 9px;
  border: 1px solid rgba(146, 223, 209, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.12), rgba(244, 202, 109, 0.08)),
    rgba(12, 28, 13, 0.58);
}

.wallet-continue-plan.is-saving {
  border-color: rgba(244, 202, 109, 0.28);
}

.wallet-continue-plan span,
.wallet-continue-plan strong,
.wallet-continue-plan small,
.wallet-continue-plan b {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-continue-plan > div:first-child span {
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.wallet-continue-plan > div:first-child strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.9rem;
  line-height: 1;
}

.wallet-continue-plan > div:first-child small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 780;
  line-height: 1.08;
}

.wallet-continue-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.wallet-continue-metrics span {
  padding: 5px;
  border: 1px solid rgba(244, 202, 109, 0.18);
  border-radius: 8px;
  background: rgba(42, 23, 12, 0.42);
  text-align: center;
}

.wallet-continue-metrics b {
  color: #fff8df;
  font-size: 0.7rem;
  line-height: 1;
}

.wallet-continue-metrics small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.5rem;
  font-weight: 820;
  line-height: 1;
  text-transform: uppercase;
}

.post-run-detail[data-active-action="wallet"] .reward-ledger-row small {
  display: none;
}

.run-record-grid,
.run-record-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.run-record-grid > div,
.run-record-flow > div {
  min-width: 0;
  border: 1px solid rgba(244, 202, 109, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.08), rgba(18, 61, 22, 0.1)),
    rgba(42, 23, 12, 0.46);
}

.run-record-grid > div {
  padding: 7px 8px;
}

.run-record-flow > div {
  padding: 7px 6px;
  text-align: center;
}

.run-record-grid span,
.run-record-grid strong,
.run-record-grid small,
.run-record-flow span,
.run-record-flow strong {
  display: block;
  min-width: 0;
}

.run-record-grid span,
.run-record-flow span {
  overflow: hidden;
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.run-record-grid strong,
.run-record-flow strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.88rem;
  line-height: 1;
}

.run-record-grid small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 760;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.run-record-flow > div[data-state="strong"] {
  border-color: rgba(244, 202, 109, 0.5);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.16), rgba(18, 61, 22, 0.12)),
    rgba(42, 23, 12, 0.58);
}

.reward-ledger-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.reward-ledger-stats > div,
.reward-ledger-row {
  min-width: 0;
  border: 1px solid rgba(244, 202, 109, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.08), rgba(18, 61, 22, 0.1)),
    rgba(42, 23, 12, 0.46);
}

.reward-ledger-stats > div {
  padding: 7px 8px;
}

.reward-ledger-stats span,
.reward-ledger-stats strong,
.reward-ledger-row span,
.reward-ledger-row strong,
.reward-ledger-row em,
.reward-ledger-row small {
  display: block;
  min-width: 0;
}

.reward-ledger-stats span,
.reward-ledger-row span {
  overflow: hidden;
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.reward-ledger-stats strong {
  margin-top: 4px;
  color: #fff8df;
  font-size: 0.9rem;
  line-height: 1;
}

.reward-ledger-list {
  display: grid;
  gap: 5px;
  margin-top: 7px;
}

.reward-ledger-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
}

.reward-ledger-row strong {
  overflow: hidden;
  color: #fff8df;
  font-size: 0.78rem;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reward-ledger-row em {
  color: var(--gold);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.reward-ledger-row small {
  grid-column: 2 / 4;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 720;
  line-height: 1.08;
}

.offer-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 0;
}

.offer-steps span {
  padding: 6px 8px;
  border: 1px solid rgba(244, 202, 109, 0.22);
  border-radius: 999px;
  background: rgba(13, 31, 12, 0.5);
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.primary-action {
  min-width: 210px;
  min-height: 64px;
  margin-top: 28px;
  padding: 0 24px;
  border: 1px solid rgba(244, 199, 95, 0.7);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8d887, #c98736 58%, #7b4b29);
  color: #20150c;
  font-size: 1.15rem;
  font-weight: 900;
}

.start-panel.is-home-browsing:not(.is-run-complete):not(.is-continue-choice) .primary-action {
  justify-self: center;
  min-width: 0;
  width: min(100%, 206px);
  min-height: 36px;
  margin-top: 8px;
  padding-inline: 12px;
  border-color: rgba(244, 202, 109, 0.48);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.86), rgba(199, 128, 48, 0.88)),
    rgba(92, 61, 24, 0.82);
  font-size: 0.78rem;
}

@media (max-width: 800px) {
  .hud {
    --hud-score-width: clamp(164px, 48vw, 214px);
    --hud-cell-height: 38px;
  }

  html[data-pairplay-pass="hud-compact-pass-v1"] .hud,
  html[data-pairplay-pass="hud-controls-match-pass-v1"] .hud {
    --hud-score-width: clamp(96px, 30vw, 120px);
    --hud-cell-height: 20px;
    --hud-cell-gap: 4px;
    --hud-control-height: 20px;
    --hud-cell-width: calc(var(--hud-score-width) / 3);
    --hud-power-width: calc(var(--hud-cell-width) * 4);
    gap: 5px;
  }

  .app-shell {
    padding: 6px;
  }

  .game-stage {
    min-height: calc(100dvh - 12px);
    border: 1px solid rgba(251, 209, 123, 0.22);
    border-radius: 28px;
  }

  .game-stage::before {
    inset: 6px;
    border-radius: 22px;
  }

  .hud-top,
  .hud-bottom {
    right: 10px;
    left: 10px;
  }

  .hud-top {
    flex-direction: column;
  }

  .wine-card {
    min-height: 104px;
    padding: 13px 14px;
  }

  .score-strip {
    width: var(--hud-score-width);
    min-width: 0;
    align-self: flex-end;
  }

  .score-strip div {
    min-width: 0;
    height: 100%;
    min-height: 0;
    padding: 4px 8px 5px;
  }

  .hud-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .message-pill {
    max-width: calc(100vw - 32px);
  }

  .power-row {
    width: var(--hud-power-width);
    align-self: flex-end;
  }

  .power-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .hud {
    --hud-score-width: clamp(152px, 50vw, 198px);
    --hud-cell-gap: 5px;
    --hud-cell-height: 34px;
    gap: 7px;
  }

  html[data-pairplay-pass="hud-compact-pass-v1"] .hud,
  html[data-pairplay-pass="hud-controls-match-pass-v1"] .hud {
    --hud-score-width: clamp(84px, 34vw, 108px);
    --hud-cell-height: 18px;
    --hud-cell-gap: 4px;
    --hud-control-height: 18px;
    --hud-cell-width: calc(var(--hud-score-width) / 3);
    --hud-power-width: calc(var(--hud-cell-width) * 4);
    gap: 4px;
  }

  .hud-top,
  .hud-bottom {
    right: 10px;
    left: 10px;
  }

  .hud-top {
    top: max(8px, env(safe-area-inset-top));
  }

  .hud-bottom {
    bottom: max(8px, env(safe-area-inset-bottom));
    gap: 7px;
  }

  .wine-card {
    width: 100%;
    min-height: 0;
    padding: 9px 11px 10px;
  }

  .wine-kicker {
    font-size: 0.5rem;
  }

  .score-strip span {
    font-size: clamp(0.4rem, calc(var(--hud-cell-height) * 0.18), 0.5rem);
    line-height: 1;
  }

  .wine-card h1 {
    margin: 3px 0 4px;
    font-size: clamp(1.45rem, 6.4vw, 1.95rem);
    line-height: 1;
  }

  .wine-card p {
    overflow: hidden;
    font-size: 0.88rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .target-preview {
    min-height: 36px;
    margin-top: 7px;
    gap: 6px;
  }

  .target-preview-label {
    font-size: 0.66rem;
  }

  .target-preview-names {
    font-size: 0.68rem;
    padding: 3px 6px;
    border-radius: 8px;
  }

  .target-preview-goal {
    padding: 3px 6px;
    font-size: 0.58rem;
  }

  .target-preview-pressure {
    gap: 5px;
    padding: 3px 6px;
  }

  .target-preview-pressure span {
    font-size: 0.5rem;
  }

  .target-preview-pressure strong {
    font-size: 0.58rem;
  }

  .target-preview-pressure small {
    font-size: 0.54rem;
  }

  .target-preview-item {
    width: 40px;
    height: 40px;
  }

  .target-preview.is-dense-targets {
    gap: 5px;
  }

  .target-preview.is-dense-targets .target-preview-track {
    gap: 5px;
  }

  .target-preview.is-dense-targets .target-preview-item {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .target-preview.is-crowded-targets .target-preview-track {
    gap: 4px;
  }

  .target-preview.is-crowded-targets .target-preview-item {
    width: 32px;
    height: 32px;
  }

  .score-strip {
    width: var(--hud-score-width);
    border-radius: 8px;
  }

  .score-strip div {
    height: 100%;
    min-height: 0;
    grid-template-rows: minmax(0, 0.52rem) minmax(0, 1fr);
    padding: 3px 6px 4px;
  }

  .score-strip strong {
    font-size: clamp(0.66rem, calc(var(--hud-cell-height) * 0.34), 0.82rem);
    line-height: 0.98;
  }

  html[data-pairplay-pass="hud-compact-pass-v1"] .score-strip span,
  html[data-pairplay-pass="hud-controls-match-pass-v1"] .score-strip span {
    font-size: clamp(0.16rem, calc(var(--hud-cell-height) * 0.12), 0.26rem);
  }

  html[data-pairplay-pass="hud-compact-pass-v1"] .score-strip strong,
  html[data-pairplay-pass="hud-controls-match-pass-v1"] .score-strip strong {
    font-size: clamp(0.3rem, calc(var(--hud-cell-height) * 0.26), 0.44rem);
    line-height: 0.98;
  }

  html[data-pairplay-pass="hud-compact-pass-v1"] .score-strip div,
  html[data-pairplay-pass="hud-controls-match-pass-v1"] .score-strip div {
    padding: 2px 3px 2px;
    grid-template-rows: minmax(0, 0.42rem) minmax(0, 1fr);
    line-height: 0.98;
  }

  .message-pill {
    gap: 9px;
    max-width: min(330px, calc(100vw - 28px));
    padding: 7px 10px;
    font-size: 0.78rem;
    line-height: 1.12;
  }

  .streak-chip {
    min-width: 58px;
    min-height: 36px;
    padding: 5px 7px;
    border-radius: 12px;
  }

  .streak-chip span {
    font-size: 0.54rem;
  }

  .streak-chip strong {
    font-size: 1.05rem;
  }

  .power-row {
    width: var(--hud-power-width);
    gap: var(--hud-cell-gap);
  }

  .power-button {
    width: 100%;
    height: var(--hud-control-height);
    min-height: 0;
    padding: 2px;
    border-radius: 8px;
  }

  .power-button span {
    font-size: clamp(0.4rem, calc(var(--hud-control-height) * 0.18), 0.5rem);
  }

  .power-button strong {
    font-size: clamp(0.66rem, calc(var(--hud-control-height) * 0.34), 0.82rem);
    line-height: 0.98;
  }

  html[data-pairplay-pass="hud-compact-pass-v1"] .power-button span,
  html[data-pairplay-pass="hud-controls-match-pass-v1"] .power-button span {
    font-size: clamp(0.18rem, calc(var(--hud-control-height) * 0.12), 0.24rem);
  }

  html[data-pairplay-pass="hud-compact-pass-v1"] .power-button strong,
  html[data-pairplay-pass="hud-controls-match-pass-v1"] .power-button strong {
    font-size: clamp(0.28rem, calc(var(--hud-control-height) * 0.24), 0.4rem);
    line-height: 0.98;
  }

  .start-screen {
    padding: 12px;
  }

  .start-panel {
    padding: 18px 14px;
  }

  .start-panel.is-run-complete {
    max-height: calc(100dvh - 24px);
    padding: 12px;
  }

  .start-panel.is-continue-choice {
    padding: 18px 16px;
  }

  .start-panel h2 {
    max-width: 10ch;
    margin-block: 6px 10px;
    font-size: clamp(2rem, 9.2vw, 3.05rem);
  }

  .start-panel #start-copy {
    max-width: 32ch;
    font-size: 0.92rem;
    line-height: 1.18;
  }

  .start-options {
    gap: 8px;
    margin-top: 14px;
  }

  .return-board {
    gap: 5px;
    padding: 7px;
  }

  .return-board-head strong {
    display: none;
  }

  .return-board-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    overflow: visible;
    padding-bottom: 2px;
    scroll-snap-type: none;
  }

  .return-board-list::-webkit-scrollbar {
    height: 0;
  }

  .return-board-card {
    flex: initial;
    min-height: 58px;
    padding: 7px 6px;
    scroll-snap-align: none;
  }

  .return-board-card strong {
    font-size: 0.72rem;
  }

  .return-board-card small {
    font-size: 0.54rem;
  }

  .tour-pass-card {
    gap: 5px;
    padding: 7px;
  }

  .tour-pass-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }

  .tour-pass-head strong {
    display: none;
  }

  .tour-pass-head small {
    font-size: 0.5rem;
  }

  .tour-pass-steps {
    gap: 4px;
  }

  .tour-pass-step {
    padding: 5px 4px;
    text-align: center;
  }

  .tour-pass-step strong {
    font-size: 0.62rem;
  }

  .tour-pass-step small,
  .tour-pass-card p {
    display: none;
  }

  .chapter-completion-card {
    gap: 5px;
    padding: 7px;
  }

  .chapter-completion-head {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    gap: 6px;
  }

  .chapter-completion-head small {
    grid-column: 1 / -1;
    font-size: 0.5rem;
    text-align: left;
  }

  .chapter-completion-markers {
    gap: 4px;
  }

  .chapter-completion-markers span {
    padding: 5px 4px;
    text-align: center;
  }

  .chapter-completion-markers strong {
    font-size: 0.6rem;
  }

  .chapter-completion-markers small {
    display: none;
  }

  .chapter-completion-next {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    padding: 5px 6px;
  }

  .chapter-completion-next strong {
    text-align: left;
  }

  .vintage-rank-card {
    gap: 5px;
    padding: 7px;
  }

  .vintage-rank-head {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    gap: 6px;
  }

  .vintage-rank-head span {
    font-size: 0.48rem;
  }

  .vintage-rank-head strong {
    font-size: 0.72rem;
  }

  .vintage-rank-head small {
    grid-column: 1 / -1;
    font-size: 0.5rem;
    text-align: left;
  }

  .vintage-rank-signals {
    gap: 4px;
  }

  .vintage-rank-signals span {
    padding: 4px;
    text-align: center;
  }

  .vintage-rank-signals strong {
    font-size: 0.56rem;
  }

  .vintage-rank-card p {
    display: none;
  }

  .home-cellar-today-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding: 7px;
  }

  .home-cellar-today-card > div:first-child > strong {
    font-size: 0.82rem;
  }

  .home-cellar-today-card > div:first-child > small {
    font-size: 0.58rem;
  }

  .home-cellar-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .home-cellar-metrics span {
    min-height: 40px;
    padding: 5px 4px;
  }

  .home-cellar-metrics strong {
    font-size: 0.62rem;
  }

  .home-route-focus-card {
    gap: 7px;
    padding: 7px;
  }

  .home-route-focus-head strong {
    font-size: 0.82rem;
  }

  .home-route-focus-head small {
    font-size: 0.58rem;
  }

  .home-route-focus-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .home-route-focus-metrics span {
    min-height: 40px;
    padding: 5px 4px;
  }

  .home-route-focus-metrics strong {
    font-size: 0.62rem;
  }

  .home-route-reward-strip {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 7px;
  }

  .home-route-reward-strip > div:first-child {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 7px;
  }

  .home-route-reward-strip > div:first-child > strong {
    margin-top: 0;
    text-align: right;
  }

  .home-route-reward-metrics span {
    min-height: 36px;
    padding: 5px 4px;
  }

  .daily-request-card {
    gap: 6px;
    padding: 8px;
  }

  .daily-request-body {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 7px;
  }

  .daily-request-thumb {
    width: 38px;
    height: 38px;
  }

  .daily-request-task {
    min-height: 44px;
    padding: 6px;
  }

  .daily-request-task strong {
    font-size: 0.64rem;
  }

  .route-select-list {
    display: flex;
    grid-template-columns: none;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }

  .route-select-list::-webkit-scrollbar {
    height: 0;
  }

  .route-start-option {
    flex: 0 0 min(142px, 38vw);
    scroll-snap-align: start;
  }

  .start-option {
    min-height: 62px;
    padding: 9px 8px;
  }

  .start-option span {
    font-size: 0.56rem;
  }

  .start-option strong {
    font-size: 0.78rem;
  }

  .start-option small {
    font-size: 0.66rem;
  }

  .daily-pour-card .start-option {
    min-height: 78px;
  }

  .daily-passport-strip {
    --daily-stamp-height: 4px;
    gap: 3px;
  }

  .daily-passport-strip .daily-stamp {
    height: 4px;
  }

  .daily-calendar-strip {
    gap: 2px;
    margin-top: 1px;
  }

  .daily-pour-card .start-option .daily-calendar-strip .daily-calendar-day {
    min-height: 20px;
    padding: 2px;
  }

  .daily-calendar-day b,
  .daily-calendar-day em {
    font-size: 0.44rem;
  }

  .passport-reward-track {
    gap: 3px;
  }

  .passport-reward-head {
    display: none;
  }

  .passport-reward-tier {
    min-height: 19px;
    padding: 3px 4px;
  }

  .passport-reward-tier b,
  .passport-reward-tier strong {
    font-size: 0.5rem;
  }

  .cellar-calendar-card {
    gap: 5px;
    padding: 7px;
  }

  .cellar-calendar-head {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: 6px;
  }

  .cellar-calendar-head small {
    grid-column: 1 / -1;
    font-size: 0.5rem;
    text-align: left;
  }

  .cellar-calendar-days {
    gap: 3px;
  }

  .cellar-calendar-day {
    min-height: 44px;
    padding: 5px 3px;
    text-align: center;
  }

  .cellar-calendar-day b {
    font-size: 0.42rem;
  }

  .cellar-calendar-day strong {
    margin-top: 4px;
    font-size: 0.56rem;
  }

  .cellar-calendar-day em {
    margin-top: 4px;
    font-size: 0.46rem;
  }

  .cellar-calendar-day small {
    display: none;
  }

  .cellar-calendar-foot {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    padding: 5px 6px;
  }

  .cellar-calendar-foot strong {
    text-align: left;
  }

  .daily-return-brief {
    grid-template-columns: 36px minmax(0, 1fr) 68px;
    gap: 6px;
    padding: 6px 7px;
  }

  .daily-return-thumb {
    width: 36px;
    height: 36px;
  }

  .daily-return-copy em {
    font-size: 0.48rem;
  }

  .daily-return-copy strong {
    font-size: 0.74rem;
  }

  .daily-return-copy small {
    font-size: 0.56rem;
  }

  .daily-return-copy i,
  .daily-return-weekly span {
    display: none;
  }

  .daily-return-weekly {
    padding: 6px;
  }

  .daily-return-weekly strong {
    margin-top: 0;
    font-size: 0.78rem;
  }

  .daily-return-weekly i {
    height: 4px;
    margin-top: 5px;
  }

  .season-map-card {
    gap: 5px;
    padding: 7px 8px;
  }

  .season-map-head small {
    display: none;
  }

  .season-map-nodes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .season-map-node {
    min-height: 72px;
    padding: 5px 4px;
  }

  .season-map-node b {
    font-size: 0.48rem;
  }

  .season-map-node-icon {
    width: 30px;
    height: 30px;
  }

  .season-map-node strong {
    font-size: 0.6rem;
  }

  .season-map-node small {
    font-size: 0.47rem;
  }

  .season-map-detail {
    display: none;
  }

  .chapter-roadmap-strip {
    display: none;
  }

  .next-chapter-preview {
    gap: 5px;
    padding: 6px;
  }

  .next-chapter-head {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .next-chapter-head strong {
    font-size: 0.68rem;
    text-align: left;
  }

  .next-chapter-head small {
    display: none;
  }

  .next-chapter-worlds {
    display: none;
  }

  .route-chapter-preview .next-chapter-worlds {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
  }

  .route-chapter-preview .next-chapter-worlds span {
    padding: 4px 3px;
    text-align: center;
  }

  .route-chapter-preview .next-chapter-worlds b {
    font-size: 0.42rem;
  }

  .route-chapter-preview .next-chapter-worlds strong {
    margin-top: 2px;
    font-size: 0.52rem;
  }

  .route-chapter-preview .next-chapter-worlds small,
  .route-chapter-preview .next-chapter-worlds em {
    display: none;
  }

  .route-chapter-focus {
    gap: 3px;
  }

  .route-chapter-focus span {
    padding: 4px 3px;
    text-align: center;
  }

  .route-chapter-focus b {
    font-size: 0.4rem;
  }

  .route-chapter-focus strong {
    font-size: 0.48rem;
  }

  .next-chapter-pour-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
  }

  .next-chapter-pour-list span {
    min-height: 28px;
    padding: 3px 2px;
  }

  .next-chapter-pour-list b {
    font-size: 0.42rem;
  }

  .next-chapter-pour-list strong {
    font-size: 0.54rem;
  }

  .next-chapter-pour-list small {
    display: none;
  }

  .next-chapter-pour-list i {
    font-size: 0.4rem;
  }

  .pairing-lesson-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 7px;
    padding: 6px 7px;
  }

  .pairing-lesson-thumb {
    width: 38px;
    height: 38px;
  }

  .pairing-lesson-copy em {
    font-size: 0.48rem;
  }

  .pairing-lesson-copy strong {
    font-size: 0.74rem;
  }

  .pairing-lesson-copy small {
    font-size: 0.58rem;
  }

  .pairing-lesson-copy i {
    display: none;
  }

  .season-goals-card {
    gap: 5px;
    padding: 7px 8px;
  }

  .season-goal-list {
    gap: 4px;
  }

  .season-goal-chip {
    padding: 6px 5px;
  }

  .season-goal-chip span {
    font-size: 0.5rem;
  }

  .season-goal-chip strong {
    font-size: 0.72rem;
  }

  .season-goal-chip small {
    display: none;
  }

  .start-panel.is-run-complete h2 {
    max-width: 13ch;
    font-size: clamp(1.8rem, 8.2vw, 2.55rem);
  }

  .start-panel.is-run-complete #start-copy {
    display: none;
  }

  .start-panel.is-continue-choice h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 9.2vw, 3rem);
  }

  .primary-action {
    width: 100%;
    min-height: 62px;
  }

  .start-panel.is-home-browsing:not(.is-run-complete):not(.is-continue-choice) .primary-action {
    width: min(100%, 240px);
    min-height: 38px;
    margin-top: 6px;
    font-size: 0.76rem;
  }

  .start-panel.is-run-complete .primary-action {
    min-height: 48px;
    margin-top: 5px;
  }

  .run-summary {
    gap: 6px;
    margin-top: 10px;
  }

  .run-summary-stats > div {
    padding: 8px;
  }

  .run-summary-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reward-stage-track {
    grid-template-columns: repeat(5, minmax(64px, 1fr));
    gap: 5px;
  }

  .reward-stage {
    padding: 8px 6px;
    text-align: center;
  }

  .reward-stage strong {
    font-size: 0.88rem;
  }

  .reward-stage small {
    display: none;
  }

  .reward-path {
    gap: 6px;
  }

  .reward-path > div {
    padding: 8px 7px;
    text-align: center;
  }

  .reward-path strong {
    font-size: 0.98rem;
  }

  .reward-path small,
  .post-run-detail small {
    display: none;
  }

  .reward-board {
    grid-template-columns: 1fr;
  }

  .reward-card {
    min-height: 104px;
  }

  .collection-ledger > div {
    grid-template-columns: minmax(58px, 0.36fr) minmax(48px, 0.24fr) minmax(0, 1fr);
  }

  .start-panel.is-run-complete .flight-passport,
  .start-panel.is-run-complete .run-summary-offer {
    display: none;
  }

  .start-panel.is-run-complete[data-post-run-action="store"] .collection-ledger {
    display: none;
  }

  .start-panel.is-run-complete[data-post-run-action="store"] .reward-stage-track {
    display: none;
  }

  .post-run-actions {
    position: sticky;
    z-index: 3;
    top: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin-inline: -2px;
    padding: 3px;
    border: 1px solid rgba(244, 202, 109, 0.16);
    border-radius: 12px;
    background:
      linear-gradient(180deg, rgba(42, 31, 20, 0.92), rgba(18, 14, 10, 0.88)),
      rgba(13, 31, 12, 0.9);
    box-shadow: 0 8px 18px rgba(6, 4, 2, 0.2);
  }

  .post-run-action {
    min-height: 42px;
    padding: 8px 6px;
    text-align: center;
  }

  .post-run-action span {
    display: none;
  }

  .post-run-action small {
    display: none;
  }

  .post-run-action::before {
    display: block;
    overflow: hidden;
    color: var(--gold);
    content: attr(data-short-label);
    font-size: 0.58rem;
    font-weight: 900;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .post-run-detail {
    padding: 8px 10px;
  }

  .next-session-cue {
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: 5px;
    margin-top: 6px;
    padding: 6px;
  }

  .next-session-cue span {
    font-size: 0.48rem;
  }

  .next-session-cue strong {
    font-size: 0.66rem;
  }

  .next-session-cue small {
    display: block;
    font-size: 0.5rem;
  }

  .post-run-next-route {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 8px;
  }

  .post-run-next-route strong {
    font-size: 0.92rem;
  }

  .post-run-next-route small {
    font-size: 0.62rem;
  }

  .post-run-next-route .primary-action {
    min-height: 42px;
    font-size: 0.76rem;
  }

  .post-run-mechanic-unlock {
    gap: 6px;
    padding: 8px;
  }

  .post-run-mechanic-unlock span {
    font-size: 0.52rem;
  }

  .post-run-mechanic-unlock strong {
    font-size: 0.82rem;
  }

  .post-run-mechanic-unlock small,
  .post-run-mechanic-unlock em {
    font-size: 0.58rem;
  }

  .post-run-mechanic-unlock .home-mechanic-cues i {
    font-size: 0.44rem;
  }

  .post-run-mechanic-unlock .home-hazard-brief {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .post-run-mechanic-unlock .home-hazard-brief i {
    min-height: 30px;
  }

  .collection-book-status {
    grid-template-columns: 1fr;
    gap: 3px;
    margin-top: 6px;
    padding-bottom: 6px;
  }

  .collection-book-status strong {
    font-size: 0.72rem;
  }

  .collection-book-status small {
    font-size: 0.56rem;
    text-align: left;
  }

  .collection-compass {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 6px;
  }

  .collection-compass-card {
    padding: 6px;
    text-align: center;
  }

  .collection-compass-card strong {
    font-size: 0.68rem;
  }

  .collection-compass-card small {
    display: block;
    font-size: 0.5rem;
  }

  .collection-compass-card em {
    font-size: 0.48rem;
  }

  .recall-drill-card {
    gap: 5px;
    margin-top: 6px;
    padding: 7px;
  }

  .recall-drill-body {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 7px;
  }

  .recall-drill-thumb {
    width: 34px;
    height: 34px;
  }

  .post-run-detail[data-active-action="book"] .recall-drill-body small {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .recall-drill-choices {
    gap: 4px;
  }

  .recall-drill-choice {
    display: -webkit-box;
    min-height: 40px;
    padding: 5px 6px;
    font-size: 0.52rem;
    line-height: 1.05;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .pairing-note-list,
  .lesson-journal-list,
  .collection-set-list {
    grid-template-columns: 1fr;
  }

  .pairing-note-card:nth-child(n + 2),
  .lesson-journal-card:nth-child(n + 3),
  .collection-set-card:nth-child(n + 3) {
    display: none;
  }

  .lesson-journal-card {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 5px 6px;
  }

  .lesson-journal-thumb {
    width: 34px;
    height: 34px;
  }

  .lesson-journal-card small {
    display: -webkit-box;
    -webkit-line-clamp: 1;
  }

  .pairing-note-card {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 5px 6px;
  }

  .pairing-note-card img {
    width: 34px;
    height: 34px;
  }

  .collection-set-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-top: 6px;
  }

  .route-progress-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world-music-deck {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }

  .world-music-deck::-webkit-scrollbar {
    height: 0;
  }

  .world-music-card {
    padding: 6px;
    scroll-snap-align: start;
  }

  .world-music-card strong {
    font-size: 0.7rem;
  }

  .world-stem-rail {
    gap: 2px;
    margin-top: 5px;
  }

  .world-stem-rail span {
    padding: 3px 2px;
  }

  .world-stem-rail span b {
    font-size: 0;
  }

  .world-stem-rail span b::before {
    content: attr(data-short);
    font-size: 0.46rem;
  }

  .world-stem-rail span small {
    display: none;
  }

  .world-music-card em {
    display: none;
  }

  .world-atlas-card {
    gap: 6px;
    padding: 6px;
  }

  .world-atlas-head {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 1fr);
    gap: 6px;
  }

  .world-atlas-head strong {
    font-size: 0.62rem;
    text-align: right;
  }

  .world-atlas-head small {
    display: none;
  }

  .world-atlas-grid {
    grid-auto-columns: minmax(136px, 42%);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }

  .world-atlas-grid::-webkit-scrollbar {
    height: 0;
  }

  .world-atlas-chapter {
    padding: 5px;
    scroll-snap-align: start;
  }

  .world-atlas-place {
    padding: 5px 5px 5px 23px;
  }

  .world-atlas-place strong {
    font-size: 0.56rem;
  }

  .world-atlas-place em {
    display: none;
  }

  .route-progress-card:nth-child(n + 3) {
    display: block;
  }

  .route-progress-card:nth-child(n + 4) {
    display: none;
  }

  .collection-set-card {
    padding: 6px;
    text-align: center;
  }

  .post-run-detail[data-active-action="routes"] .route-progress-card small {
    display: block;
    margin-top: 4px;
    font-size: 0.52rem;
    line-height: 1.08;
  }

  .post-run-detail[data-active-action="routes"] .world-music-card small {
    display: block;
    margin-top: 4px;
    font-size: 0.5rem;
    line-height: 1.08;
  }

  .collection-set-card strong {
    font-size: 0.72rem;
  }

  .collection-set-card i {
    margin-top: 5px;
  }

  .pairing-note-card small,
  .collection-set-card small,
  .store-offer-button small {
    display: none;
  }

  .post-run-detail[data-active-action="routes"] .route-progress-card small {
    display: block;
  }

  .store-offer-list {
    gap: 5px;
    margin-top: 7px;
  }

  .store-offer-button {
    min-height: 44px;
    padding: 7px 6px;
    text-align: center;
  }

  .store-offer-button span {
    white-space: normal;
  }

  .store-offer-preview {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 6px;
    padding: 7px;
  }

  .store-offer-preview > div:first-child small {
    display: none;
  }

  .store-offer-preview em {
    display: block;
    white-space: normal;
  }

  .store-offer-preview small {
    display: block;
  }

  .store-offer-preview strong {
    font-size: 0.82rem;
    white-space: normal;
  }

  .store-offer-preview-meta b {
    font-size: 0.66rem;
  }

  .store-offer-preview-action {
    min-height: 32px;
  }

  .run-record-grid,
  .run-record-flow {
    gap: 5px;
    margin-top: 7px;
  }

  .run-record-grid > div,
  .run-record-flow > div {
    padding: 6px 5px;
    text-align: center;
  }

  .run-record-grid span,
  .run-record-flow span {
    font-size: 0.52rem;
    white-space: normal;
  }

  .run-record-grid strong,
  .run-record-flow strong {
    font-size: 0.76rem;
  }

  .run-record-grid small {
    display: none;
  }

  .reward-ledger-stats {
    gap: 5px;
    margin-top: 7px;
  }

  .reward-ledger-stats > div {
    padding: 6px;
    text-align: center;
  }

  .reward-ledger-stats span {
    white-space: normal;
  }

  .reward-ledger-list {
    margin-top: 6px;
  }

  .reward-ledger-row {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    padding: 5px 6px;
  }

  .flight-passport {
    padding: 6px;
  }

  .flight-star-chip {
    min-width: 44px;
  }

  .continue-options {
    grid-template-columns: 1fr;
  }

  .continue-state-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .continue-state-strip > div {
    padding: 6px;
    text-align: center;
  }

  .continue-state-strip strong {
    font-size: 0.72rem;
  }

  .continue-state-strip small {
    font-size: 0.5rem;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) {
    width: min(100%, 430px);
    padding: 16px 14px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) h2 {
    margin-block: 4px 8px;
    max-width: 13ch;
    font-size: clamp(1.65rem, 7.2vw, 2.35rem);
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .start-options {
    gap: 7px;
    margin-top: 8px;
  }

  .home-start-shell {
    gap: 7px;
  }

  .home-action-dock {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
  }

  .home-action-dock.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-action-button {
    min-height: 50px;
    gap: 3px;
    padding: 5px 2px 4px;
  }

  .home-action-icon {
    width: 24px;
    height: 24px;
  }

  .home-action-button strong {
    font-size: 0.5rem;
  }

  .account-choice-grid,
  .account-mechanic-stats,
  .account-mechanic-track,
  .account-actions {
    grid-template-columns: 1fr;
  }

  .account-mechanic-stats,
  .account-mechanic-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-action-button small {
    display: none;
  }

  .home-menu-drawer .home-action-button {
    min-height: 48px;
  }

  .home-start-shell[data-active-page="play"] > .home-menu-drawer {
    display: none;
  }

  .home-next-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 9px;
    padding: 9px;
  }

  .home-next-thumb {
    width: 58px;
    height: 58px;
    border-radius: 9px;
  }

  .home-next-copy > span {
    font-size: 0.52rem;
  }

  .home-next-copy > strong {
    font-size: 1.08rem;
  }

  .home-next-copy > small,
  .home-next-copy > em {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
  }

  .home-next-copy > small {
    font-size: 0.64rem;
    -webkit-line-clamp: 2;
  }

  .home-next-copy > em {
    margin-top: 5px;
    font-size: 0.56rem;
    -webkit-line-clamp: 1;
  }

  .home-next-meta {
    gap: 4px;
    margin-top: 6px;
  }

  .home-next-meta i {
    padding: 3px 5px;
    font-size: 0.48rem;
  }

  .home-hazard-brief {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-top: 6px;
  }

  .home-hazard-brief i {
    padding: 4px 5px;
  }

  .home-hazard-brief b {
    font-size: 0.46rem;
  }

  .home-hazard-brief small {
    font-size: 0.42rem;
  }

  .home-tutorial-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-loop-strip {
    gap: 5px;
  }

  .home-loop-strip span {
    min-height: 42px;
    gap: 2px;
    padding: 6px 4px;
  }

  .home-loop-strip strong {
    font-size: 0.55rem;
  }

  .home-loop-strip small {
    font-size: 0.42rem;
  }

  .home-progress-strip {
    gap: 5px;
  }

  .home-progress-strip.is-browse-summary {
    gap: 4px;
  }

  .home-progress-strip span {
    min-height: 40px;
    gap: 3px;
    padding: 6px 4px;
  }

  .home-progress-strip.is-browse-summary span {
    min-height: 34px;
    padding: 5px 4px;
  }

  .home-progress-strip b {
    font-size: 0.4rem;
  }

  .home-progress-strip strong {
    font-size: 0.6rem;
  }

  .home-progress-strip small {
    font-size: 0.42rem;
  }

  .home-details-drawer summary {
    min-height: 42px;
    padding: 8px 9px;
  }

  .home-details-body {
    gap: 7px;
    padding: 0 7px 7px;
  }

  .home-page-panel {
    gap: 6px;
    padding: 7px;
  }

  .home-page-head {
    gap: 3px 7px;
  }

  .home-page-head span {
    font-size: 0.5rem;
  }

  .home-page-head strong {
    font-size: 0.74rem;
  }

  .home-page-head small {
    font-size: 0.54rem;
  }

  .home-page-body {
    max-height: min(340px, 43dvh);
    gap: 6px;
  }

  .home-choice-list,
  .home-sound-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .home-sound-panel,
  .home-pairing-browser,
  .home-mechanic-guide {
    gap: 6px;
    padding: 6px;
  }

  .home-mechanic-guide-head {
    gap: 2px 6px;
  }

  .home-mechanic-guide-head span {
    font-size: 0.48rem;
  }

  .home-mechanic-guide-head strong,
  .home-mechanic-guide-head small {
    font-size: 0.5rem;
  }

  .home-mechanic-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .home-mechanic-guide-tile {
    min-height: 100px;
    gap: 3px;
    padding: 6px;
  }

  .home-mechanic-guide-meta b {
    width: 22px;
    height: 18px;
    font-size: 0.5rem;
  }

  .home-mechanic-guide-meta i {
    font-size: 0.4rem;
  }

  .home-mechanic-guide-tile strong {
    font-size: 0.58rem;
  }

  .home-mechanic-guide-tile small {
    display: -webkit-box;
    font-size: 0.46rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
  }

  .home-mechanic-guide-tile em,
  .home-mechanic-guide-request {
    font-size: 0.42rem;
  }

  .home-learn-spotlight {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 7px;
    padding: 7px;
  }

  .home-learn-spotlight-thumb {
    width: 48px;
    height: 48px;
  }

  .home-learn-spotlight-copy strong {
    font-size: 0.84rem;
  }

  .home-learn-spotlight-copy small {
    font-size: 0.58rem;
    -webkit-line-clamp: 2;
  }

  .home-learn-spotlight-metrics {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .home-learn-spotlight-metrics span {
    min-height: 40px;
    padding: 5px 4px;
  }

  .home-learn-spotlight-metrics strong {
    font-size: 0.62rem;
  }

  .home-learn-reward-strip {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 7px;
  }

  .home-learn-reward-strip > div:first-child {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 7px;
  }

  .home-learn-reward-strip > div:first-child > strong {
    margin-top: 0;
    text-align: right;
  }

  .home-learn-reward-metrics span {
    min-height: 36px;
    padding: 5px 4px;
  }

  .home-learn-save-cards {
    justify-self: stretch;
    max-width: none;
    min-height: 30px;
  }

  .home-pairing-focus {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 7px;
    padding: 6px;
    order: 1;
  }

  .home-pairing-thumb {
    width: 48px;
    height: 48px;
  }

  .home-pairing-copy strong {
    font-size: 0.84rem;
  }

  .home-practice-stack {
    gap: 5px;
    order: 4;
  }

  .home-peak-practice,
  .home-arc-practice {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 6px;
  }

  .home-peak-practice {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .home-peak-visual {
    width: 38px;
    height: 38px;
  }

  .home-peak-visual img {
    width: 30px;
    height: 30px;
  }

  .home-peak-copy strong,
  .home-arc-head strong {
    font-size: 0.68rem;
  }

  .home-peak-copy small,
  .home-peak-practice > i,
  .home-arc-head small,
  .home-arc-practice i {
    font-size: 0.46rem;
  }

  .home-peak-practice > b {
    min-width: 30px;
    height: 26px;
    padding: 0 6px;
    font-size: 0.58rem;
  }

  .home-arc-practice i {
    -webkit-line-clamp: 1;
  }

  .home-arc-food {
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    padding: 3px 4px;
  }

  .home-arc-food img {
    width: 24px;
    height: 24px;
  }

  .home-arc-food b {
    text-align: left;
  }

  .home-pairing-wines {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 5px;
    order: 3;
  }

  .home-pairing-wine {
    min-height: 88px;
    padding: 6px;
  }

  .home-pairing-wine strong {
    font-size: 0.62rem;
  }

  .home-pairing-wine small {
    font-size: 0.46rem;
  }

  .home-pairing-wine em {
    font-size: 0.46rem;
  }

  .home-pairing-wines.is-many-wines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-pairing-wines.is-many-wines .home-pairing-wine {
    min-height: 58px;
    gap: 3px;
  }

  .home-pairing-wines.is-many-wines .home-pairing-wine-name-full {
    display: none;
  }

  .home-pairing-wines.is-many-wines .home-pairing-wine-name-short {
    display: block;
  }

  .home-pairing-wines.is-many-wines .home-pairing-wine em {
    display: none;
  }

  .home-pairing-wines.is-many-wines .home-pairing-wine-swatch {
    height: 7px;
  }

  .home-food-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 132px;
    gap: 5px;
    order: 2;
  }

  .home-food-tile {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 40px;
    gap: 5px;
    padding: 4px 5px;
  }

  .home-food-tile span {
    width: 30px;
    height: 30px;
  }

  .home-food-tile strong {
    font-size: 0.52rem;
  }

  .home-food-tile small {
    font-size: 0.44rem;
  }
}

@media (max-width: 640px) and (max-height: 720px) {
  .home-start-shell[data-active-page="play"] .home-loop-strip,
  .home-start-shell[data-active-page="play"] .home-play-options {
    display: none;
  }

  .hud {
    --hud-cell-height: 34px;
  }

  html[data-pairplay-pass="hud-compact-pass-v1"] .hud,
  html[data-pairplay-pass="hud-controls-match-pass-v1"] .hud {
    --hud-cell-height: 16px;
    --hud-control-height: 16px;
    --hud-cell-width: calc(var(--hud-score-width) / 3);
    --hud-power-width: calc(var(--hud-cell-width) * 4);
  }

  html[data-pairplay-pass="hud-compact-pass-v1"] .score-strip span,
  html[data-pairplay-pass="hud-controls-match-pass-v1"] .score-strip span {
    font-size: clamp(0.14rem, calc(var(--hud-cell-height) * 0.1), 0.2rem);
  }

  html[data-pairplay-pass="hud-compact-pass-v1"] .score-strip strong,
  html[data-pairplay-pass="hud-controls-match-pass-v1"] .score-strip strong {
    font-size: clamp(0.24rem, calc(var(--hud-cell-height) * 0.22), 0.34rem);
  }

  html[data-pairplay-pass="hud-compact-pass-v1"] .power-button span,
  html[data-pairplay-pass="hud-controls-match-pass-v1"] .power-button span {
    font-size: clamp(0.14rem, calc(var(--hud-control-height) * 0.1), 0.18rem);
  }

  html[data-pairplay-pass="hud-compact-pass-v1"] .power-button strong,
  html[data-pairplay-pass="hud-controls-match-pass-v1"] .power-button strong {
    font-size: clamp(0.22rem, calc(var(--hud-control-height) * 0.2), 0.3rem);
  }

  .hud-top {
    gap: 6px;
  }

  .wine-card {
    padding-block: 8px;
  }

  .wine-card h1 {
    font-size: clamp(1.3rem, 5.8vw, 1.7rem);
  }

  .wine-card p {
    display: none;
  }

  .target-preview {
    min-height: 32px;
    margin-top: 6px;
  }

  .target-preview-names {
    display: block;
    font-size: 0.6rem;
    line-height: 1;
    padding: 3px 6px;
  }

  .target-preview-goal {
    font-size: 0.52rem;
    padding: 3px 6px;
  }

  .target-preview-pressure {
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 4px;
    padding: 3px 6px;
  }

  .target-preview-pressure span {
    font-size: 0.44rem;
  }

  .target-preview-pressure strong {
    font-size: 0.5rem;
  }

  .target-preview-pressure small {
    font-size: 0.48rem;
  }

  .target-preview-item {
    width: 36px;
    height: 36px;
  }

  .target-preview.is-dense-targets .target-preview-item {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .target-preview.is-crowded-targets .target-preview-item {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .target-preview.is-dense-targets .target-preview-track {
    max-height: 60px;
    align-content: start;
    overflow: hidden;
  }

  .target-preview-item.is-target-pop {
    animation-duration: 440ms;
  }

  .target-preview.is-note-rush-active .target-preview-item.is-note-rush-step:not(.is-matched)::after {
    right: 4px;
    top: 4px;
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 2px rgba(244, 202, 109, 0.16);
  }

  .target-preview.is-palate-switch-active .target-preview-item.is-palate-switch-target:not(.is-matched)::after {
    right: 4px;
    top: 4px;
    width: 7px;
    height: 7px;
    border-width: 1px;
    box-shadow: 0 0 0 2px rgba(146, 223, 209, 0.16);
  }

  .route-chapter-preview {
    gap: 3px;
    padding: 5px;
  }

  .route-chapter-preview .next-chapter-worlds,
  .route-chapter-preview .next-chapter-pour-list,
  .route-chapter-focus {
    gap: 2px;
  }

  .route-chapter-preview .next-chapter-worlds span {
    padding: 3px 2px;
  }

  .route-chapter-preview .next-chapter-worlds b {
    font-size: 0.38rem;
  }

  .route-chapter-preview .next-chapter-worlds strong {
    font-size: 0.48rem;
  }

  .route-chapter-focus {
    display: none;
  }

  .route-chapter-preview .next-chapter-pour-list span {
    min-height: 24px;
    padding: 2px;
  }

  .route-chapter-preview .next-chapter-pour-list b,
  .route-chapter-preview .next-chapter-pour-list i {
    display: none;
  }

  .route-chapter-preview .next-chapter-pour-list strong {
    margin-top: 0;
    font-size: 0.5rem;
  }

  .score-strip div {
    height: 100%;
    min-height: 0;
    padding-block: 2px 3px;
  }

  .score-strip span {
    font-size: clamp(0.38rem, calc(var(--hud-cell-height) * 0.18), 0.48rem);
  }

  .score-strip strong {
    font-size: clamp(0.64rem, calc(var(--hud-cell-height) * 0.34), 0.78rem);
    line-height: 0.98;
  }

  .message-pill {
    font-size: 0.76rem;
  }

  .start-panel {
    padding: 16px 14px;
  }

  .start-panel h2 {
    margin-block: 5px 8px;
    font-size: clamp(1.55rem, 8.2vw, 2.1rem);
  }

  .start-panel #start-copy {
    display: none;
  }

  .start-options {
    gap: 5px;
    margin-top: 7px;
  }

  .return-board {
    gap: 4px;
    padding: 6px;
  }

  .return-board-head {
    display: none;
  }

  .return-board-list {
    gap: 4px;
  }

  .return-board-card {
    flex-basis: min(112px, 30vw);
    min-height: 44px;
    padding: 5px;
  }

  .return-board-card span {
    font-size: 0.46rem;
  }

  .return-board-card strong {
    margin-top: 4px;
    font-size: 0.64rem;
  }

  .return-board-card.has-short-value .return-board-value-full {
    display: none;
  }

  .return-board-card.has-short-value .return-board-value-short {
    display: block;
  }

  .return-board-card small {
    display: none;
  }

  .tour-pass-card {
    gap: 4px;
    padding: 6px;
  }

  .tour-pass-head {
    display: none;
  }

  .tour-pass-progress {
    height: 4px;
  }

  .tour-pass-steps {
    gap: 3px;
  }

  .tour-pass-step {
    padding: 4px 3px;
    border-radius: 7px;
  }

  .tour-pass-step em {
    font-size: 0.43rem;
  }

  .tour-pass-step strong {
    margin-top: 3px;
    font-size: 0.56rem;
  }

  .tour-pass-step i {
    height: 3px;
    margin-top: 4px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .vintage-rank-card.is-start {
    gap: 4px;
    padding: 6px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .vintage-rank-card.is-start .vintage-rank-head small,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .vintage-rank-card.is-start .vintage-rank-signals,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .vintage-rank-card.is-start p {
    display: none;
  }

  .start-panel.is-run-complete .chapter-completion-card {
    gap: 4px;
    padding: 6px;
  }

  .start-panel.is-run-complete .chapter-completion-head small,
  .start-panel.is-run-complete .chapter-completion-next {
    display: none;
  }

  .start-panel.is-run-complete .chapter-completion-markers span {
    padding: 4px 3px;
  }

  .start-panel.is-run-complete .chapter-completion-markers em {
    font-size: 0.42rem;
  }

  .start-panel.is-run-complete .chapter-completion-markers strong {
    font-size: 0.54rem;
  }

  .daily-request-card {
    gap: 4px;
    padding: 6px;
  }

  .daily-request-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .daily-request-head small {
    display: none;
  }

  .daily-request-body {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 6px;
  }

  .daily-request-thumb {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .daily-request-copy strong {
    font-size: 0.68rem;
  }

  .daily-request-copy small {
    display: none;
  }

  .daily-request-copy i {
    font-size: 0.5rem;
  }

  .daily-request-mixline {
    padding: 4px 6px;
  }

  .daily-request-mixline span {
    font-size: 0.44rem;
  }

  .daily-request-mixline strong {
    font-size: 0.5rem;
  }

  .daily-request-tasks {
    gap: 4px;
  }

  .daily-request-task {
    min-height: 38px;
    padding: 5px;
  }

  .daily-request-task span {
    font-size: 0.45rem;
  }

  .daily-request-task strong {
    margin-top: 3px;
    font-size: 0.58rem;
  }

  .daily-request-task small {
    display: none;
  }

  .home-food-shelf {
    max-height: 88px;
  }

  .home-pairing-wines.is-many-wines {
    max-height: 116px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 2px;
    scrollbar-color: rgba(244, 202, 109, 0.36) transparent;
    scrollbar-width: thin;
  }

  .home-pairing-wines.is-many-wines::-webkit-scrollbar {
    width: 4px;
  }

  .home-pairing-wines.is-many-wines::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(244, 202, 109, 0.34);
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .season-goals-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .season-map-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .route-select-list {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .season-goals-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .season-map-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .route-select-list {
    display: grid;
  }

  .route-select-list {
    gap: 5px;
  }

  .start-option {
    min-height: 48px;
    padding: 6px;
  }

  .start-option strong {
    font-size: 0.72rem;
  }

  .start-option small {
    display: none;
  }

  .daily-pour-card .start-option {
    min-height: 64px;
  }

  .daily-pour-card .start-option small {
    display: block;
    font-size: 0.58rem;
    line-height: 1;
  }

  .daily-passport-strip {
    --daily-stamp-height: 4px;
    gap: 2px;
    margin-top: 0;
  }

  .daily-passport-strip .daily-stamp {
    height: 4px;
  }

  .daily-calendar-strip {
    gap: 2px;
    margin-top: 0;
  }

  .daily-pour-card .start-option .daily-calendar-strip .daily-calendar-day {
    min-height: 17px;
    padding: 2px 1px;
    border-radius: 6px;
  }

  .daily-calendar-day b {
    display: none;
  }

  .daily-calendar-day em {
    font-size: 0.42rem;
  }

  .daily-pour-card .start-option .passport-reward-track {
    display: none;
  }

  .cellar-calendar-card {
    gap: 4px;
    padding: 6px;
  }

  .cellar-calendar-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cellar-calendar-head span {
    font-size: 0.46rem;
  }

  .cellar-calendar-head strong {
    font-size: 0.64rem;
  }

  .cellar-calendar-head small,
  .cellar-calendar-foot,
  .cellar-calendar-day:nth-child(n + 6) {
    display: none;
  }

  .cellar-calendar-days {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
  }

  .cellar-calendar-day {
    min-height: 34px;
    padding: 4px 3px;
  }

  .cellar-calendar-day b {
    display: none;
  }

  .cellar-calendar-day strong {
    margin-top: 0;
    font-size: 0.52rem;
  }

  .cellar-calendar-day em {
    margin-top: 3px;
    font-size: 0.42rem;
  }

  .season-map-card {
    gap: 4px;
    padding: 6px 7px;
  }

  .season-map-head small {
    display: none;
  }

  .season-map-node {
    min-height: 66px;
    padding: 5px 4px;
  }

  .season-map-node-icon {
    width: 28px;
    height: 28px;
  }

  .season-map-node small {
    display: block;
    font-size: 0.45rem;
  }

  .season-map-detail {
    display: none;
  }

  .chapter-roadmap-strip {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .next-chapter-preview {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .next-chapter-preview {
    display: grid;
  }

  .post-run-detail[data-active-action="routes"] .next-chapter-preview {
    margin-top: 4px;
  }

  .pairing-lesson-card {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .pairing-lesson-card {
    display: grid;
  }

  .season-goals-card {
    gap: 4px;
    padding: 6px 7px;
  }

  .season-goals-head {
    display: none;
  }

  .season-goal-list {
    gap: 3px;
  }

  .season-goal-chip {
    padding: 4px;
  }

  .season-goal-chip i {
    margin-top: 3px;
  }

  .primary-action {
    min-height: 52px;
    margin-top: 10px;
  }

  .post-run-detail[data-active-action="store"] {
    padding: 6px 8px;
  }

  .post-run-detail[data-active-action="store"] .store-offer-preview {
    grid-template-columns: 1fr;
  }

  .post-run-detail[data-active-action="store"] .store-offer-preview-meta {
    display: none;
  }

  .post-run-detail[data-active-action="store"] > span,
  .post-run-detail[data-active-action="store"] > strong {
    display: none;
  }

  .post-run-detail[data-active-action="routes"] .route-progress-card small {
    display: none;
  }

  .post-run-detail[data-active-action="routes"] .world-music-deck {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 5px;
  }

  .post-run-detail[data-active-action="routes"] .world-music-card {
    padding: 5px;
  }

  .post-run-detail[data-active-action="routes"] .world-music-card strong {
    margin-top: 3px;
    font-size: 0.68rem;
  }

  .post-run-detail[data-active-action="routes"] .world-music-card i {
    height: 4px;
    margin-top: 4px;
  }

  .post-run-detail[data-active-action="routes"] .world-stem-rail {
    margin-top: 4px;
  }

  .post-run-detail[data-active-action="routes"] .world-music-card small,
  .post-run-detail[data-active-action="routes"] .world-music-card em {
    display: none;
  }

  .post-run-detail[data-active-action="routes"] .world-atlas-card {
    gap: 5px;
    margin-top: 5px;
    padding: 5px;
  }

  .post-run-detail[data-active-action="routes"] .world-atlas-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .post-run-detail[data-active-action="routes"] .world-atlas-head span,
  .post-run-detail[data-active-action="routes"] .world-atlas-head strong {
    font-size: 0.54rem;
    text-align: left;
  }

  .post-run-detail[data-active-action="routes"] .world-atlas-head small {
    display: none;
  }

  .post-run-detail[data-active-action="routes"] .world-atlas-grid {
    grid-auto-columns: minmax(118px, 48%);
  }

  .post-run-detail[data-active-action="routes"] .world-atlas-chapter {
    padding: 4px;
  }

  .post-run-detail[data-active-action="routes"] .world-atlas-chapter-head strong {
    font-size: 0.48rem;
  }

  .post-run-detail[data-active-action="routes"] .world-atlas-place {
    padding: 4px 4px 4px 21px;
  }

  .post-run-detail[data-active-action="routes"] .world-atlas-place b {
    top: 4px;
    left: 4px;
    width: 13px;
    height: 13px;
    font-size: 0.42rem;
    line-height: 13px;
  }

  .post-run-detail[data-active-action="routes"] .world-atlas-place strong {
    font-size: 0.5rem;
  }

  .post-run-detail[data-active-action="routes"] .world-atlas-place small,
  .post-run-detail[data-active-action="routes"] .world-atlas-place em {
    display: none;
  }

  .store-offer-list {
    margin-top: 0;
  }

  .store-offer-button {
    min-height: 38px;
    padding: 5px;
  }

  .store-offer-button strong {
    margin-top: 3px;
    font-size: 0.76rem;
  }

  .store-offer-preview {
    grid-template-columns: minmax(0, 1fr) minmax(128px, 0.7fr);
    gap: 5px;
    margin-top: 5px;
    padding: 6px;
  }

  .store-offer-preview strong {
    margin-top: 2px;
  }

  .store-offer-preview-items {
    display: none;
  }

  .store-offer-preview-action {
    min-height: 30px;
    font-size: 0.76rem;
  }

  .streak-chip {
    min-width: 52px;
    min-height: 32px;
    padding: 4px 6px;
  }

  .power-button {
    height: var(--hud-control-height);
    min-height: 0;
    padding-block: 2px;
  }

  .power-button span {
    font-size: clamp(0.38rem, calc(var(--hud-control-height) * 0.18), 0.48rem);
  }

  .power-button strong {
    font-size: clamp(0.64rem, calc(var(--hud-control-height) * 0.34), 0.78rem);
    line-height: 0.98;
  }

  .run-summary {
    gap: 4px;
    margin-top: 6px;
  }

  .run-summary-stats > div,
  .collection-ledger > div,
  .reward-stage,
  .reward-path > div,
  .run-summary-offer,
  .continue-options > div {
    padding: 8px 7px;
  }

  .run-summary-stats strong,
  .collection-ledger strong,
  .reward-stage strong,
  .reward-path strong {
    font-size: 1rem;
  }

  .start-panel.is-run-complete {
    padding: 7px 10px;
  }

  .start-panel.is-continue-choice {
    padding: 12px 14px;
  }

  .start-panel.is-run-complete .eyebrow {
    display: none;
  }

  .start-panel.is-run-complete h2 {
    margin-block: 0 6px;
    font-size: clamp(1.55rem, 7.2vw, 1.95rem);
  }

  .start-panel.is-continue-choice h2 {
    margin-block: 4px 6px;
    font-size: clamp(1.72rem, 8.2vw, 2.2rem);
  }

  .start-panel.is-run-complete #start-copy {
    display: none;
  }

  .start-panel.is-continue-choice #start-copy {
    font-size: 0.82rem;
    line-height: 1.15;
  }

  .start-panel.is-run-complete .primary-action {
    min-height: 42px;
    margin-top: 4px;
  }

  .start-panel.is-continue-choice .primary-action {
    min-height: 48px;
    margin-top: 10px;
  }

  .reward-card {
    min-height: 76px;
    padding: 10px 12px;
  }

  .reward-card-rack {
    top: 8px;
    right: 8px;
  }

  .pairing-card-chip {
    width: 30px;
    height: 36px;
  }

  .collection-ledger > div {
    padding: 6px 8px;
  }

  .collection-ledger small,
  .reward-card small,
  .reward-path small,
  .run-summary-offer small {
    font-size: 0.64rem;
  }

  .collection-ledger {
    display: none;
  }

  .reward-path > div {
    padding: 7px 6px;
  }

  .reward-stage-track {
    gap: 4px;
  }

  .reward-stage {
    padding: 7px 5px;
  }

  .reward-stage span {
    font-size: 0.54rem;
  }

  .reward-stage strong {
    font-size: 0.78rem;
  }

  .reward-path small {
    display: none;
  }

  .run-summary-offer small {
    display: none;
  }

  .post-run-action {
    min-height: 36px;
    padding: 7px 4px;
    border-radius: 9px;
  }

  .post-run-action small,
  .post-run-detail small {
    display: none;
  }

  .post-run-action::before {
    font-size: 0.5rem;
  }

  .post-run-detail {
    padding: 6px 8px;
  }

  .post-run-detail strong {
    font-size: 0.84rem;
  }

  .next-session-cue {
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.82fr) minmax(0, 1fr);
    margin-top: 4px;
    padding: 5px;
  }

  .next-session-cue span {
    font-size: 0.43rem;
  }

  .next-session-cue strong {
    font-size: 0.58rem;
  }

  .next-session-cue small {
    display: block;
    font-size: 0.46rem;
  }

  .post-run-mechanic-unlock {
    gap: 5px;
    padding: 7px;
  }

  .post-run-mechanic-unlock span {
    font-size: 0.46rem;
  }

  .post-run-mechanic-unlock strong {
    font-size: 0.72rem;
  }

  .post-run-mechanic-unlock small,
  .post-run-mechanic-unlock em {
    font-size: 0.5rem;
  }

  .post-run-mechanic-unlock .home-mechanic-cues i {
    font-size: 0.4rem;
  }

  .post-run-mechanic-unlock .home-hazard-brief i {
    min-height: 28px;
    padding: 4px;
  }

  .post-run-detail[data-active-action="book"] > span,
  .post-run-detail[data-active-action="book"] > strong {
    display: none;
  }

  .post-run-detail[data-active-action="book"] .collection-compass {
    margin-top: 4px;
  }

  .post-run-detail[data-active-action="book"] .collection-compass-card {
    padding: 5px;
  }

  .post-run-detail[data-active-action="book"] .collection-compass-card span {
    font-size: 0.48rem;
  }

  .post-run-detail[data-active-action="book"] .collection-compass-card strong {
    margin-top: 3px;
    font-size: 0.62rem;
  }

  .post-run-detail[data-active-action="book"] .collection-compass-card small {
    display: none;
  }

  .post-run-detail[data-active-action="book"] .collection-compass-card em {
    margin-top: 3px;
    font-size: 0.46rem;
  }

  .post-run-detail[data-active-action="book"] .recall-drill-card {
    gap: 4px;
    margin-top: 4px;
    padding: 5px;
  }

  .post-run-detail[data-active-action="book"] .recall-drill-head {
    display: none;
  }

  .post-run-detail[data-active-action="book"] .recall-drill-body {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 6px;
  }

  .post-run-detail[data-active-action="book"] .recall-drill-thumb {
    width: 30px;
    height: 30px;
  }

  .post-run-detail[data-active-action="book"] .recall-drill-body em {
    font-size: 0.46rem;
  }

  .post-run-detail[data-active-action="book"] .recall-drill-body b {
    margin-top: 2px;
    font-size: 0.68rem;
  }

  .post-run-detail[data-active-action="book"] .recall-drill-body small {
    display: -webkit-box;
    margin-top: 2px;
    font-size: 0.5rem;
    line-height: 1.05;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .post-run-detail[data-active-action="book"] .recall-drill-choices {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .post-run-detail[data-active-action="book"] .recall-drill-choice {
    min-height: 26px;
    padding: 4px 6px;
    font-size: 0.5rem;
    line-height: 1;
    -webkit-line-clamp: 1;
  }

  .post-run-detail[data-active-action="book"]:has(.recall-drill-card:not(.is-locked)) .lesson-journal-list,
  .post-run-detail[data-active-action="book"]:has(.recall-drill-card:not(.is-locked)) .collection-set-list {
    display: none;
  }

  .post-run-detail[data-active-action="book"] .pairing-note-list {
    margin-top: 0;
  }

  .post-run-detail[data-active-action="book"] .lesson-journal-list {
    margin-top: 0;
  }

  .post-run-detail[data-active-action="book"] .lesson-journal-card:nth-child(n + 2) {
    display: none;
  }

  .post-run-detail[data-active-action="book"] .lesson-journal-card {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 4px 5px;
  }

  .post-run-detail[data-active-action="book"] .lesson-journal-thumb {
    width: 30px;
    height: 30px;
  }

  .post-run-detail[data-active-action="book"] .lesson-journal-card strong {
    margin-top: 2px;
    font-size: 0.76rem;
  }

  .post-run-detail[data-active-action="book"] .lesson-journal-card small {
    display: none;
  }

  .post-run-detail[data-active-action="book"] .collection-set-list {
    margin-top: 4px;
  }

  .post-run-detail[data-active-action="book"] .pairing-note-card {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 4px 5px;
  }

  .post-run-detail[data-active-action="book"] .pairing-note-card img {
    width: 30px;
    height: 30px;
  }

  .post-run-detail[data-active-action="book"] .pairing-note-card strong {
    margin-top: 2px;
    font-size: 0.76rem;
  }

  .post-run-detail[data-active-action="book"] .collection-set-card {
    padding: 5px;
  }

  .post-run-detail[data-active-action="book"] .collection-set-card span {
    font-size: 0.5rem;
  }

  .post-run-detail[data-active-action="book"] .collection-set-card strong {
    margin-top: 3px;
    font-size: 0.68rem;
  }

  .post-run-detail[data-active-action="book"] .collection-set-card i {
    height: 4px;
    margin-top: 4px;
  }

  .post-run-detail[data-active-action="book"] .collection-set-card small {
    display: block;
    margin-top: 4px;
    font-size: 0.5rem;
    line-height: 1;
  }

  .post-run-detail[data-active-action="wallet"] > span,
  .post-run-detail[data-active-action="wallet"] > strong {
    display: none;
  }

  .post-run-detail[data-active-action="wallet"] .reward-ledger-stats {
    margin-top: 0;
  }

  .post-run-detail[data-active-action="wallet"] .wallet-continue-plan {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-bottom: 5px;
    padding: 6px;
  }

  .post-run-detail[data-active-action="wallet"] .wallet-continue-plan > div:first-child strong {
    margin-top: 3px;
    font-size: 0.78rem;
  }

  .post-run-detail[data-active-action="wallet"] .wallet-continue-plan > div:first-child small {
    display: none;
  }

  .post-run-detail[data-active-action="wallet"] .wallet-continue-metrics span {
    padding: 4px;
  }

  .post-run-detail[data-active-action="wallet"] .reward-ledger-stats > div {
    padding: 5px;
  }

  .post-run-detail[data-active-action="wallet"] .reward-ledger-stats span {
    font-size: 0.52rem;
  }

  .post-run-detail[data-active-action="wallet"] .reward-ledger-stats strong {
    margin-top: 2px;
    font-size: 0.76rem;
  }

  .post-run-detail[data-active-action="wallet"] .reward-ledger-list {
    margin-top: 4px;
  }

  .post-run-detail[data-active-action="wallet"] .reward-ledger-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    padding: 4px 5px;
  }

  .post-run-detail[data-active-action="wallet"] .reward-ledger-row:nth-child(n + 2),
  .post-run-detail[data-active-action="wallet"] .reward-ledger-row small {
    display: none;
  }

  .post-run-detail[data-active-action="record"] > span,
  .post-run-detail[data-active-action="record"] > strong {
    display: none;
  }

  .post-run-detail[data-active-action="record"] .run-record-grid,
  .post-run-detail[data-active-action="record"] .run-record-flow {
    margin-top: 0;
  }

  .post-run-detail[data-active-action="record"] .run-record-flow {
    margin-top: 4px;
  }

  .continue-state-strip {
    margin-bottom: 5px;
  }

  .continue-state-strip small,
  .continue-options small {
    display: none;
  }

  .offer-steps span {
    padding-block: 5px;
  }

  .flight-passport {
    gap: 5px;
    padding: 5px;
  }

  .flight-star-chip {
    min-height: 30px;
    padding: 4px 6px;
  }

  .continue-panel {
    margin-top: 8px;
  }

  .continue-options {
    gap: 6px;
  }

  .continue-options small {
    font-size: 0.62rem;
  }

  .continue-action {
    min-height: 38px;
    margin-top: 7px;
  }
}

@media (max-width: 640px) and (min-height: 721px) and (max-height: 900px) {
  .start-panel:not(.is-run-complete):not(.is-continue-choice) #start-copy {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-pour-card .start-option {
    min-height: 70px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-pour-card .start-option .passport-reward-track {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-calendar-day b {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-calendar-day em {
    font-size: 0.42rem;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .cellar-calendar-card {
    gap: 4px;
    padding: 6px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .cellar-calendar-foot {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .vintage-rank-card.is-start {
    gap: 4px;
    padding: 6px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .vintage-rank-card.is-start .vintage-rank-head small,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .vintage-rank-card.is-start .vintage-rank-signals,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .vintage-rank-card.is-start p {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .tour-pass-card.is-start {
    gap: 4px;
    padding: 6px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .tour-pass-card.is-start .tour-pass-head,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .tour-pass-card.is-start p {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .tour-pass-card.is-start .tour-pass-step {
    padding: 4px 3px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .tour-pass-card.is-start .tour-pass-step i {
    height: 3px;
    margin-top: 4px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .next-chapter-preview {
    gap: 4px;
    padding: 6px 7px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .next-chapter-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .next-chapter-head small {
    display: block;
    max-width: 16ch;
    font-size: 0.5rem;
    text-align: right;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .next-chapter-pour-list {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-request-card {
    gap: 4px;
    padding: 6px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-request-body {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-request-task {
    min-height: 38px;
    padding: 5px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-request-task small {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .pairing-lesson-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .season-map-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .season-goals-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .route-select-list {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .pairing-lesson-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .season-map-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .season-goals-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .route-select-list {
    display: grid;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .primary-action {
    min-height: 54px;
    margin-top: 8px;
  }
}

@media (min-width: 641px) and (max-height: 800px) {
  .start-panel:not(.is-run-complete):not(.is-continue-choice) {
    padding: 12px 30px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) h2 {
    margin-block: 2px 6px;
    max-width: 16ch;
    font-size: clamp(1.85rem, 2.8vw, 2.3rem);
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) #start-copy {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .start-options {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    margin-top: 8px;
    max-width: 560px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-pour-card .start-option {
    min-height: 58px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .cellar-calendar-card {
    gap: 5px;
    padding: 7px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .cellar-calendar-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .cellar-calendar-head small,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .cellar-calendar-foot {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .cellar-calendar-days {
    gap: 3px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .cellar-calendar-day {
    min-height: 40px;
    padding: 5px 3px;
    text-align: center;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .cellar-calendar-day b {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .cellar-calendar-day strong {
    margin-top: 0;
    font-size: 0.56rem;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .cellar-calendar-day small {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-pour-card .start-option .daily-calendar-strip,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-pour-card .start-option .passport-reward-track {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .tour-pass-card.is-start {
    gap: 5px;
    padding: 7px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .tour-pass-card.is-start p,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .tour-pass-card.is-start .tour-pass-step small {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .tour-pass-card.is-start .tour-pass-step {
    padding: 5px 6px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-request-card {
    gap: 5px;
    padding: 7px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-request-body,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-request-mixline,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-request-task small {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .daily-request-task {
    min-height: 40px;
    padding: 5px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .season-map-card {
    gap: 4px;
    padding: 6px 8px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .season-map-node {
    min-height: 70px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .season-map-detail {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .chapter-roadmap-node {
    padding: 5px 6px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .chapter-roadmap-node small {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .chapter-roadmap-strip {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .next-chapter-preview,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .next-chapter-pour-list {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .pairing-lesson-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 7px;
    padding: 6px 8px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .pairing-lesson-thumb {
    width: 38px;
    height: 38px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .pairing-lesson-copy i {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .pairing-lesson-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .season-goals-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .route-select-list {
    display: none;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .next-chapter-preview,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .pairing-lesson-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .season-goals-card,
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-details-drawer[open] .route-select-list {
    display: grid;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .start-option {
    min-height: 62px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .route-start-option {
    min-height: 58px;
    padding-top: 18px;
    padding-bottom: 7px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .route-start-option::after {
    top: 5px;
    padding: 2px 5px;
    font-size: 0.48rem;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .primary-action {
    min-height: 42px;
    margin-top: 4px;
  }

  .start-panel.is-run-complete .collection-ledger,
  .start-panel.is-run-complete .flight-passport,
  .start-panel.is-run-complete .reward-path {
    display: none;
  }

  .start-panel.is-run-complete[data-post-run-action="store"] .reward-stage-track,
  .start-panel.is-run-complete[data-post-run-action="store"] .reward-card small {
    display: none;
  }

  .start-panel.is-run-complete[data-post-run-action="store"] .reward-card {
    min-height: 86px;
    padding: 10px 14px;
  }
}

.start-panel:not(.is-run-complete):not(.is-continue-choice) .home-page-body .pairing-lesson-card,
.start-panel:not(.is-run-complete):not(.is-continue-choice) .home-page-body .season-goals-card,
.start-panel:not(.is-run-complete):not(.is-continue-choice) .home-page-body .season-map-card,
.start-panel:not(.is-run-complete):not(.is-continue-choice) .home-page-body .next-chapter-preview,
.start-panel:not(.is-run-complete):not(.is-continue-choice) .home-page-body .route-select-list {
  display: grid;
}

.start-panel:not(.is-run-complete):not(.is-continue-choice) .home-page-body .route-chapter-preview .next-chapter-pour-list {
  display: grid;
}

.start-panel:not(.is-run-complete):not(.is-continue-choice) .home-page-body .home-route-list {
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  height: auto;
  overflow: visible;
  position: relative;
  padding-bottom: 0;
  scroll-snap-type: none;
}

@media (max-width: 640px) {
  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-page-body .home-route-list {
    grid-template-columns: minmax(0, 1fr);
    height: 218px;
    max-height: 218px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 7px 6px 6px;
    border: 1px solid rgba(146, 223, 209, 0.2);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(146, 223, 209, 0.07), rgba(18, 14, 10, 0.08)),
      rgba(13, 20, 14, 0.34);
    box-shadow:
      inset 0 1px 0 rgba(255, 248, 223, 0.05),
      inset 0 -14px 16px rgba(8, 10, 7, 0.2);
    scrollbar-color: rgba(146, 223, 209, 0.4) transparent;
    scrollbar-width: thin;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-page-body .home-route-list::-webkit-scrollbar {
    width: 4px;
  }

  .start-panel:not(.is-run-complete):not(.is-continue-choice) .home-page-body .home-route-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(146, 223, 209, 0.4);
  }

  .home-level-picker-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-level-picker-head span {
    grid-column: 1 / -1;
  }

  .home-level-picker-head small {
    display: none;
  }

  .home-level-list {
    grid-template-columns: minmax(0, 1fr);
    max-height: 304px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 7px 6px 6px;
    border: 1px solid rgba(146, 223, 209, 0.2);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(146, 223, 209, 0.07), rgba(18, 14, 10, 0.08)),
      rgba(13, 20, 14, 0.34);
    scrollbar-color: rgba(146, 223, 209, 0.4) transparent;
    scrollbar-width: thin;
  }

  .home-level-list::-webkit-scrollbar {
    width: 4px;
  }

  .home-level-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(146, 223, 209, 0.4);
  }

  .home-level-card {
    min-height: 112px;
    padding: 8px;
  }

  .home-level-card strong {
    font-size: 0.72rem;
  }

  .home-level-progress {
    font-size: 0.5rem;
  }

  .home-level-mechanic {
    padding: 4px 5px;
  }

  .home-level-mechanic em {
    font-size: 0.48rem;
  }
}

.post-run-detail[data-active-action="book"] .collection-book-status small,
.post-run-detail[data-active-action="book"] .collection-set-card small {
  display: block;
}

.start-screen.is-paused .start-panel.is-pause-panel {
  width: min(390px, calc(100vw - 28px));
  padding: clamp(12px, 3vw, 18px);
}

.start-screen.is-paused .start-panel.is-pause-panel h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.45rem, 6vw, 2rem);
}

.start-screen.is-paused .start-panel.is-pause-panel #start-copy {
  display: block;
  font-size: 0.74rem;
}

.start-screen.is-paused .start-panel.is-pause-panel .primary-action {
  min-height: 42px;
  margin-top: 10px;
  font-size: 0.88rem;
}

@media (max-width: 700px) {
  .profile-hero-card {
    grid-template-columns: 1fr;
  }

  .profile-hero-card b {
    min-height: 34px;
    align-self: auto;
  }

  .profile-metrics-grid,
  .home-store-wallet {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-points-primer {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 7px;
  }

  .home-points-primer > div:first-child > small {
    font-size: 0.58rem;
  }

  .home-points-steps span {
    min-height: 38px;
    padding: 5px 4px;
  }

  .profile-auth-shell > .account-form,
  .account-form.is-profile-update {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .profile-auth-shell > .account-form {
    padding: 7px;
  }

  .profile-auth-shell > .account-form label,
  .profile-auth-shell > .account-form .account-select-label {
    gap: 3px;
  }

  .profile-auth-shell > .account-form label > span,
  .profile-auth-shell > .account-form .account-choice-group legend {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
  }

  .profile-auth-shell > .account-form input[type="text"],
  .profile-auth-shell > .account-form input[type="email"],
  .profile-auth-shell > .account-form input[type="password"],
  .profile-auth-shell > .account-form select,
  .account-form.is-profile-update input[type="text"],
  .account-form.is-profile-update input[type="email"],
  .account-form.is-profile-update input[type="password"],
  .account-form.is-profile-update select {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  .profile-auth-shell > .account-form input[type="email"],
  .account-form.is-profile-update input[type="email"] {
    font-size: 0.58rem;
    font-weight: 800;
  }

  .profile-auth-shell > .account-form .account-check {
    min-height: 34px;
    padding: 6px 8px;
  }

  .profile-auth-shell > .account-form .account-check span {
    font-size: 0.68rem;
  }

  .profile-auth-shell > .account-form .primary-action {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 0.76rem;
  }

  .account-form.is-compact-signup .account-check,
  .account-form.is-compact-signup .primary-action {
    grid-column: 1 / -1;
  }

  .home-store-points-card {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 6px 7px;
  }

  .home-store-points-card .home-store-wallet {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-offer-section-head {
    padding: 7px;
  }

  .profile-account-details summary {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .profile-account-details summary::after {
    position: absolute;
    right: 10px;
  }

  .profile-account-details summary strong {
    padding-right: 26px;
    white-space: normal;
  }

  .profile-account-body .account-mechanic-card {
    max-height: 320px;
  }

  .mechanic-profile-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-mechanic-head strong,
  .home-level-mechanic-profile-head strong {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .start-panel.is-home-browsing:not(.is-run-complete):not(.is-continue-choice) .primary-action {
    width: min(100%, 188px);
    min-height: 34px;
    margin-top: 5px;
    padding-inline: 10px;
    font-size: 0.7rem;
  }

  .home-start-shell[data-active-page="play"] > .home-menu-drawer {
    display: block;
  }

  .home-start-shell[data-active-page="play"] > .home-menu-drawer summary {
    min-height: 36px;
    padding: 6px 8px;
  }

  .home-start-shell[data-active-page="play"] > .home-menu-drawer summary span {
    font-size: 0.54rem;
  }

  .home-start-shell[data-active-page="play"] > .home-menu-drawer summary strong {
    font-size: 0.52rem;
  }

  .home-start-shell[data-active-page="play"] > .home-menu-drawer summary::after {
    width: 20px;
    height: 20px;
    font-size: 0.84rem;
  }
}

@media (max-width: 360px) {
  .pause-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-metrics-grid b,
  .home-store-wallet b,
  .mechanic-profile-facts b {
    font-size: 0.78rem;
  }

  .home-level-mechanic-chips b {
    font-size: 0.44rem;
  }
}

/* Account and entry experience audit pass. */
.home-profile-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(146, 223, 209, 0.24);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.06)),
    rgba(8, 18, 12, 0.58);
  text-align: left;
}

.home-profile-entry > div,
.home-profile-entry span,
.home-profile-entry strong {
  display: block;
  min-width: 0;
}

.home-profile-entry span {
  color: var(--sea);
  font-size: 0.56rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-profile-entry strong {
  margin-top: 2px;
  overflow: hidden;
  color: rgba(255, 248, 223, 0.78);
  font-size: 0.64rem;
  line-height: 1.15;
  text-overflow: ellipsis;
}

.home-profile-entry button,
.account-auth-switch button {
  min-height: 44px;
  border: 1px solid rgba(244, 202, 109, 0.34);
  border-radius: 9px;
  background: rgba(20, 30, 17, 0.82);
  color: var(--cream);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 950;
}

.home-profile-entry button {
  padding-inline: 10px;
  white-space: nowrap;
}

.account-auth-experience,
.account-auth-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.account-auth-panel[hidden] {
  display: none;
}

.account-auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(146, 223, 209, 0.22);
  border-radius: 10px;
  background: rgba(8, 16, 8, 0.56);
}

.account-auth-switch button[aria-selected="true"] {
  border-color: rgba(244, 202, 109, 0.82);
  background:
    linear-gradient(180deg, rgba(244, 202, 109, 0.3), rgba(88, 58, 25, 0.38)),
    rgba(22, 28, 15, 0.9);
  color: #fff8df;
}

.account-auth-panel > .account-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 9px;
  border: 1px solid rgba(146, 223, 209, 0.26);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(146, 223, 209, 0.1), rgba(244, 202, 109, 0.06)),
    rgba(8, 18, 12, 0.54);
}

.account-auth-panel > .account-form .account-form-head,
.account-auth-panel > .account-form .account-check,
.account-auth-panel > .account-form .account-form-more,
.account-auth-panel > .account-form .account-privacy-note,
.account-auth-panel > .account-form .primary-action,
.account-auth-panel > .account-form .secondary-action {
  grid-column: 1 / -1;
}

.account-confirmation-note {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid rgba(244, 202, 109, 0.42);
  border-radius: 9px;
  background: rgba(84, 52, 20, 0.32);
  text-align: left;
}

.account-confirmation-note span,
.account-confirmation-note strong,
.account-confirmation-note small {
  display: block;
}

.account-confirmation-note span {
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 1000;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.account-confirmation-note strong {
  overflow-wrap: anywhere;
  color: var(--cream);
  font-size: 0.76rem;
}

.account-confirmation-note small,
.account-privacy-note {
  color: rgba(255, 248, 223, 0.66);
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: left;
}

.account-privacy-note {
  grid-column: 1 / -1;
  padding: 1px 2px;
}

.account-status-message {
  display: block;
  margin-top: 4px;
  line-height: 1.25;
}

.account-form button:disabled,
.account-actions button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.account-reset-link {
  grid-column: 1 / -1;
  min-height: 38px;
  border: 0;
  background: transparent;
  color: rgba(255, 248, 223, 0.78);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-form.is-password-update {
  margin-top: 8px;
  padding: 9px;
  border: 1px solid rgba(244, 202, 109, 0.34);
  border-radius: 9px;
  background: rgba(84, 52, 20, 0.24);
}

.home-page-panel.is-account .home-page-body {
  max-height: min(450px, 52dvh);
}

@media (max-width: 700px) {
  .home-action-dock:not(.is-compact) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-action-dock:not(.is-compact) .home-action-button {
    min-height: 46px;
  }

  .account-auth-panel > .account-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .account-auth-panel > .account-form > * {
    grid-column: 1 / -1;
  }

  .account-form input[type="text"],
  .account-form input[type="email"],
  .account-form input[type="password"],
  .account-form select {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 1rem;
  }

  .account-form .primary-action,
  .account-form .secondary-action,
  .account-form .account-reset-link,
  .account-check {
    min-height: 44px;
  }

  .start-panel.is-home-browsing:not(.is-run-complete):not(.is-continue-choice) .account-form .primary-action {
    width: 100%;
    min-height: 44px;
    margin-top: 0;
    font-size: 0.82rem;
  }

  .home-page-panel.is-account .home-page-body {
    max-height: min(430px, 51dvh);
  }
}

@media (max-width: 420px) {
  .home-profile-entry {
    gap: 7px;
  }

  .home-profile-entry strong {
    display: -webkit-box;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-profile-entry button {
    padding-inline: 8px;
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
