.scene {
  min-height: 420px;
  margin-top: 22px;
  border: 1px solid #57575b;
  border-radius: 0;
  background: #202124;
  box-shadow: none;
}

.photo-scene {
  min-height: 420px;
  border-radius: 0;
  background-image: linear-gradient(90deg, rgba(8, 9, 10, 0.9) 0%, rgba(8, 9, 10, 0.18) 48%, rgba(8, 9, 10, 0.68) 100%), var(--scene-photo);
}

.photo-scene::before {
  background: linear-gradient(180deg, rgba(9, 10, 11, 0.66), transparent 42%, rgba(9, 10, 11, 0.88));
}

.photo-topline {
  top: 16px;
  right: 18px;
  left: 18px;
  color: rgba(240, 237, 228, 0.56);
  font-size: 0.56rem;
}

.photo-title {
  top: 56px;
  left: 20px;
}

.photo-eyebrow {
  color: var(--gold);
  font-size: 0.62rem;
}

.photo-title strong {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.photo-title small {
  color: rgba(240, 237, 228, 0.7);
  font-size: 0.75rem;
}

.photo-hud {
  right: 18px;
  bottom: 18px;
  border: 1px solid rgba(196, 155, 37, 0.55);
  border-radius: 0;
  background: rgba(20, 21, 23, 0.84);
  box-shadow: none;
}

.hud-label,
.hud-caption {
  color: #9d9a9a;
}

.hud-value {
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.hud-rule {
  background: #4b4b4f;
}

.hud-rule span {
  background: var(--gold);
}

.scene-cta {
  bottom: 18px;
  left: 18px;
  border: 1px solid var(--gold);
  border-radius: 0;
  color: #171719;
  background: var(--gold);
  box-shadow: none;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-credit {
  right: 18px;
  bottom: 4px;
  color: rgba(240, 237, 228, 0.4);
}

.photo-scene-result {
  background-position: center 45%;
}

.photo-scene-result .photo-title {
  max-width: 410px;
}

.photo-scene-result .photo-title strong {
  font-size: clamp(2rem, 4.2vw, 4.3rem);
}

.photo-result-notes {
  position: absolute;
  right: 20px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  max-width: 250px;
}

.photo-result-notes span {
  padding: 7px 9px;
  border: 1px solid rgba(196, 155, 37, 0.66);
  color: #e3c25d;
  background: rgba(20, 21, 23, 0.7);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.controls {
  gap: 12px;
  margin-top: 22px;
}

.action-coach {
  border: 1px solid rgba(196, 155, 37, 0.62);
  border-radius: 0;
  background: #202124;
  box-shadow: none;
}

.action-coach.is-ready {
  background: #202124;
}

.coach-arrow {
  border-radius: 50%;
  background: var(--gold);
}

.action-coach span,
.action-coach strong {
  color: var(--cream);
}

.action-coach p {
  color: #969499;
}

.choice-grid {
  gap: 1px;
  background: #3b3c40;
}

.choice-card {
  min-height: 125px;
  border: 0;
  border-radius: 0;
  background: #222326;
  box-shadow: none;
}

.choice-card strong {
  color: #e8e3d8;
  font-weight: 500;
}

.choice-card span {
  color: #8f8e93;
}

.choice-card em {
  color: var(--gold);
}

.choice-card:hover,
.choice-card.is-selected {
  border: 0;
  background: #2b2a25;
  box-shadow: inset 0 0 0 1px var(--gold);
}

.range-row {
  border: 1px solid #3b3c40;
  border-radius: 0;
  background: #202124;
}

.range-row label,
.range-row b {
  color: #a8a5a7;
}

input[type="range"] {
  accent-color: var(--gold);
}

.primary-btn,
.ghost-btn,
.tool-btn {
  border: 1px solid #6a5b29;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.primary-btn,
.primary-btn.needs-input {
  color: #171719;
  background: var(--gold);
}

.ghost-btn,
.tool-btn {
  color: #d7d3cb;
  background: transparent;
}

.primary-btn:hover:not(:disabled),
.ghost-btn:hover:not(:disabled),
.tool-btn:hover:not(:disabled) {
  color: #171719;
  background: #e2bf4e;
  transform: none;
  box-shadow: none;
}

.feedback {
  min-height: 72px;
  border-top: 1px solid #3b3c40;
  border-right: 0;
  border-bottom: 1px solid #3b3c40;
  border-left: 2px solid var(--gold);
  border-radius: 0;
  background: #202124;
  color: #9e9ba0;
}

.feedback strong {
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.stage-actions {
  margin-top: 22px;
}

.flavour-summary {
  gap: 13px;
}

.flavour-row {
  grid-template-columns: 1fr 74px 22px;
}

.flavour-row span:first-child,
.flavour-row strong {
  color: #99979b;
}

.flavour-track {
  height: 3px;
  border-radius: 0;
  background: #444549;
}

.flavour-track b {
  border-radius: 0;
  background: var(--gold);
}

.current-palette {
  border: 1px solid #3b3c40;
  border-radius: 0;
  background: #202124;
}

.current-palette h3 {
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
}

.current-palette p {
  color: #929197;
}

.note-chip {
  border: 1px solid #4b4b4f;
  border-radius: 0;
  color: #c7c4bb;
  background: transparent;
  font-size: 0.62rem;
}

.result-wrap {
  gap: 1px;
  background: #3b3c40;
}

.bottle-card,
.result-copy,
.taste-card,
.recommend-card {
  border: 0;
  border-radius: 0;
  background: #202124;
  box-shadow: none;
}

.bottle-card {
  min-height: 500px;
}

.result-copy {
  padding: 26px;
}

.result-copy h3 {
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-transform: uppercase;
}

.result-style {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-copy p {
  color: #9b999e;
}

.taste-card,
.recommend-card {
  border: 1px solid #3b3c40;
}

.taste-card span,
.recommend-card span {
  color: #858489;
}

.taste-card b,
.recommend-card b {
  color: #e7e2d7;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
}

.recommend-card p {
  color: #99979b;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 32px 0;
  color: #77777c;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.site-footer span:nth-child(2) {
  color: var(--gold);
}

@media (max-width: 1220px) {
  .game-shell {
    width: min(1180px, calc(100vw - 38px));
  }

  .game-board {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .ledger {
    grid-column: 1 / -1;
    min-height: auto;
    border-top: 1px solid #36373b;
    border-left: 0;
  }

  .flavour-summary {
    grid-template-columns: repeat(4, 1fr);
    display: grid;
  }
}

@media (max-width: 900px) {
  .game-shell {
    width: calc(100vw - 22px);
  }

  .site-nav {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .site-links {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr;
    padding: 36px 22px 26px;
  }

  .game-board {
    grid-template-columns: 1fr;
  }

  .timeline,
  .ledger,
  .stage-paper {
    min-height: auto;
  }

  .timeline {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid #36373b;
  }

  .timeline-step {
    display: inline-grid;
    width: 49%;
    vertical-align: top;
  }

  .stage-paper {
    padding: 22px 18px 28px;
  }

  .ledger {
    padding: 22px 18px;
  }

  .flavour-summary {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 22px 18px 0;
  }
}

/* Photo-led art direction: the interface frames the working photograph instead of drawing every object. */
:root {
  --paper: #d6cdbb;
  --paper-light: #f2ecdf;
  --paper-warm: #e8ddc9;
  --ink: #1d2925;
  --muted: #657069;
  --faint: rgba(29, 41, 37, 0.14);
  --line: rgba(29, 41, 37, 0.5);
  --night: #17211e;
  --green: #203b32;
  --moss: #6d7b62;
  --heather: #884a52;
  --amber: #b46e2a;
  --gold: #d4a14c;
  --copper: #a55f35;
  --sherry: #7b3e3c;
  --cream: #fbf6ea;
  --shadow: rgba(12, 20, 17, 0.28);
}

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(16, 31, 27, 0.96), rgba(39, 48, 42, 0.96) 23%, rgba(27, 36, 31, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 12px);
}

body::before {
  opacity: 0.22;
  background-image:
    radial-gradient(rgba(236, 223, 191, 0.28) 0.7px, transparent 0.7px),
    linear-gradient(105deg, transparent 0 47%, rgba(221, 168, 61, 0.12) 47.2% 47.35%, transparent 47.55%);
  background-size: 15px 15px, 100% 100%;
}

.game-shell {
  width: min(1580px, calc(100vw - 42px));
  padding: 28px 0 42px;
}

.topbar {
  padding: 7px 4px 22px;
}

.kicker,
.step-kicker,
.timeline-title,
.ledger-title,
.guide-label {
  color: #c78b43;
  letter-spacing: 0.14em;
}

h1 {
  color: #f2e7d2;
  font-size: clamp(2.35rem, 4.5vw, 4.65rem);
  line-height: 0.93;
  letter-spacing: -0.02em;
}

.subtitle {
  color: rgba(242, 231, 210, 0.72);
}

.progress-panel,
.timeline,
.ledger,
.stage-paper {
  border: 1px solid rgba(222, 192, 135, 0.58);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(8, 14, 12, 0.22), inset 0 1px rgba(255, 255, 255, 0.25);
}

.progress-panel {
  color: var(--ink);
  background: rgba(242, 236, 223, 0.94);
  transform: none;
}

.progress-track {
  height: 12px;
  border: 0;
  border-radius: 3px;
  background: #c9c1b1;
}

.progress-track span {
  background: linear-gradient(90deg, var(--green), var(--moss), var(--amber), var(--gold));
}

.timeline,
.ledger,
.stage-paper {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 40%),
    repeating-linear-gradient(-4deg, rgba(29, 41, 37, 0.025) 0 1px, transparent 1px 11px),
    var(--paper-light);
}

.timeline,
.ledger {
  min-height: 760px;
}

.timeline-step {
  border-radius: 9px;
}

.timeline-step:not(:disabled):hover,
.timeline-step.is-active {
  background: rgba(180, 110, 42, 0.14);
}

.timeline-index {
  border: 1px solid var(--line);
}

.timeline-step.is-done .timeline-index {
  background: var(--green);
}

.stage-paper {
  padding: 25px;
}

.stage-heading {
  border-bottom-color: rgba(29, 41, 37, 0.18);
}

.step-number {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 12px;
  color: var(--cream);
  background: var(--green);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 4px 5px 0 rgba(29, 41, 37, 0.16);
  transform: rotate(-3deg);
}

.scene {
  min-height: 420px;
  margin-top: 20px;
  border: 0;
  border-radius: 14px;
  background: #25312c;
  box-shadow: 0 14px 32px rgba(16, 23, 20, 0.25), inset 0 0 0 1px rgba(245, 228, 194, 0.25);
}

.scene::after {
  display: none;
}

.photo-scene {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
  background-color: #24332e;
  background-image: linear-gradient(90deg, rgba(9, 18, 15, 0.84) 0%, rgba(9, 18, 15, 0.25) 48%, rgba(9, 18, 15, 0.55) 100%), var(--scene-photo);
  background-position: center;
  background-size: cover;
}

.photo-scene::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(16, 30, 25, 0.52), transparent 42%, rgba(12, 20, 17, 0.78));
  mix-blend-mode: multiply;
}

.photo-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 52% 45%, transparent 0 35%, rgba(8, 15, 12, 0.4) 100%);
}

.photo-topline,
.photo-title,
.photo-hud,
.photo-credit,
.scene-cta {
  position: absolute;
  z-index: 2;
}

.photo-topline {
  top: 18px;
  right: 20px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 247, 228, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-title {
  top: 58px;
  left: 24px;
  max-width: 290px;
  color: #fff6e7;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.photo-eyebrow {
  display: block;
  color: #d7aa61;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.photo-title strong {
  display: block;
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 0.92;
}

.photo-title small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 246, 231, 0.82);
  font-size: 0.9rem;
}

.photo-hud {
  right: 20px;
  bottom: 22px;
  width: min(270px, calc(100% - 40px));
  padding: 15px 16px;
  border: 1px solid rgba(242, 223, 188, 0.55);
  border-radius: 9px;
  color: #f8efdf;
  background: rgba(24, 39, 33, 0.82);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.hud-label {
  color: #d7aa61;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hud-value {
  margin-top: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.hud-rule {
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 246, 231, 0.22);
}

.hud-rule span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5b765e, #d7aa61, #b85d3f);
}

.hud-caption {
  margin-top: 8px;
  color: rgba(255, 246, 231, 0.73);
  font-size: 0.75rem;
  line-height: 1.3;
}

.scene-cta {
  bottom: 22px;
  left: 20px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 246, 231, 0.72);
  border-radius: 7px;
  color: #1d2925;
  background: #f5e8cf;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(21, 31, 27, 0.35);
}

.scene-cta:hover {
  transform: translateY(-2px);
  background: #fff6e7;
}

.photo-credit {
  right: 20px;
  bottom: 7px;
  color: rgba(255, 246, 231, 0.54);
  font-size: 0.58rem;
}

.guide-main,
.guide-checklist,
.choice-card,
.range-row,
.feedback,
.bottle-card,
.result-copy,
.taste-card,
.recommend-card {
  border-color: rgba(29, 41, 37, 0.25);
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(29, 41, 37, 0.08);
}

.guide-main,
.guide-checklist,
.choice-card,
.range-row,
.feedback {
  background: rgba(251, 246, 234, 0.76);
}

.choice-card {
  min-height: 138px;
  border-width: 1px;
  box-shadow: 0 5px 13px rgba(29, 41, 37, 0.08);
}

.choice-card:nth-child(2n),
.choice-card:nth-child(3n) {
  transform: none;
}

.choice-card:hover,
.choice-card.is-selected {
  background: #fff7e8;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(180, 110, 42, 0.18), 0 8px 20px rgba(29, 41, 37, 0.12);
}

.action-coach {
  border: 1px solid rgba(29, 41, 37, 0.24);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(212, 161, 76, 0.28), rgba(251, 246, 234, 0.95));
  box-shadow: 0 6px 16px rgba(29, 41, 37, 0.11);
}

.coach-arrow {
  border: 0;
  border-radius: 8px;
  background: var(--amber);
}

.primary-btn,
.ghost-btn,
.tool-btn {
  border-width: 1px;
  border-radius: 7px;
  box-shadow: 0 4px 0 rgba(29, 41, 37, 0.18);
}

.primary-btn {
  background: var(--green);
}

.primary-btn.needs-input {
  background: var(--amber);
}

.cut-bar {
  border-width: 1px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(29, 41, 37, 0.1);
}

.feedback {
  border-left: 4px solid var(--amber);
}

.flavour-track {
  border: 0;
  border-radius: 3px;
}

.flavour-track b {
  background: linear-gradient(90deg, var(--green), var(--amber), var(--heather));
}

.note-chip {
  border: 1px solid rgba(29, 41, 37, 0.24);
  border-radius: 5px;
  background: rgba(212, 161, 76, 0.14);
}

@media (max-width: 900px) {
  .game-shell {
    width: min(100% - 20px, 760px);
  }

  .photo-scene {
    min-height: 370px;
  }

  .photo-topline {
    font-size: 0.56rem;
  }

  .photo-title {
    top: 52px;
    left: 18px;
  }

  .photo-hud {
    right: 15px;
    bottom: 17px;
    width: 230px;
  }

  .scene-cta {
    bottom: 17px;
    left: 15px;
    max-width: 165px;
  }

  .photo-credit {
    display: none;
  }
}

/* FINAL_COOL_DARK_OVERRIDE */
:root {
  color-scheme: dark;
  --paper: #111316;
  --paper-light: #17191d;
  --paper-warm: #202329;
  --ink: #d7dbe0;
  --muted: #8d949d;
  --line: #343a42;
  --night: #0b0d10;
  --green: #252a31;
  --moss: #69737e;
  --heather: #9c7078;
  --amber: #aab2bb;
  --gold: #c8ced5;
  --copper: #69737e;
  --sherry: #70484f;
  --cream: #e0e4e8;
}

body,
.game-shell,
.timeline,
.ledger,
.stage-paper,
.progress-panel,
.guide-main,
.guide-checklist,
.action-coach,
.choice-card,
.range-row,
.feedback,
.current-palette,
.result-copy,
.taste-card,
.recommend-card {
  color: #d7dbe0 !important;
  background: #17191d !important;
  border-color: #343a42 !important;
  box-shadow: none !important;
}

body {
  background: #0f1114 !important;
}

body::before {
  opacity: 0.08 !important;
}

.timeline,
.ledger {
  background: #14161a !important;
}

.progress-panel,
.guide-main,
.guide-checklist,
.action-coach,
.range-row,
.feedback,
.current-palette,
.result-copy,
.taste-card,
.recommend-card {
  background: #1d2025 !important;
}

h1,
h2,
h3,
h4,
#stepTitle,
.photo-title strong,
.result-copy h3,
.guide-main h3,
.choice-card strong,
.taste-card b,
.recommend-card b,
.action-coach strong,
.feedback strong,
.progress-panel span {
  color: #e3e6ea !important;
}

.subtitle,
.timeline-note,
.guide-main p,
.guide-step,
.guide-step b,
.choice-card span,
.range-row label,
.range-row b,
.action-coach p,
.feedback,
.result-copy p,
.recommend-card p,
.current-palette p,
.photo-title small,
.hud-caption,
.photo-credit {
  color: #9299a2 !important;
}

.kicker,
.step-kicker,
.timeline-title,
.ledger-title,
.guide-label,
.photo-eyebrow,
.result-style,
.hud-label {
  color: #aeb6bf !important;
}

.site-nav,
.site-footer {
  display: none !important;
}

.game-shell {
  width: min(1540px, calc(100vw - 36px)) !important;
  padding: 24px 0 34px !important;
  border: 0 !important;
}

.topbar {
  grid-template-columns: minmax(520px, 1fr) 318px !important;
  padding: 6px 4px 20px !important;
}

.game-board {
  grid-template-columns: 260px minmax(680px, 1fr) 330px !important;
  gap: 18px !important;
  border: 0 !important;
}

.timeline,
.ledger,
.stage-paper {
  min-height: 720px !important;
  border: 1px solid #343a42 !important;
  border-radius: 7px !important;
}

.timeline,
.ledger {
  padding: 18px 15px !important;
}

.stage-paper {
  padding: 24px !important;
}

.stage-heading,
.timeline-title,
.ledger-title {
  border-color: #343a42 !important;
}

.step-number,
.timeline-index {
  border-color: #aeb6bf !important;
  color: #d7dbe0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.timeline-step.is-done .timeline-index {
  color: #111316 !important;
  background: #aeb6bf !important;
}

.timeline-step:not(:disabled):hover,
.timeline-step.is-active {
  border-left-color: #c8ced5 !important;
  background: #20242a !important;
}

.scene {
  border-color: #4b535d !important;
  background: #0f1114 !important;
}

.photo-scene {
  filter: none !important;
  background-image: linear-gradient(90deg, rgba(7, 9, 12, 0.94), rgba(12, 16, 22, 0.52) 52%, rgba(7, 9, 12, 0.9)), var(--scene-photo) !important;
  background-color: #11151a !important;
  background-blend-mode: normal, luminosity !important;
}

.photo-scene::before {
  z-index: 0 !important;
  background: linear-gradient(180deg, rgba(8, 10, 13, 0.78), transparent 38%, rgba(7, 9, 11, 0.96)) !important;
}

.photo-scene::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: rgba(18, 24, 31, 0.18);
  mix-blend-mode: saturation;
}

.photo-topline,
.photo-title,
.photo-hud,
.scene-cta,
.photo-credit,
.photo-result-notes {
  z-index: 3 !important;
}

.photo-topline,
.photo-title,
.photo-title strong,
.photo-title small,
.hud-value {
  color: #e3e6ea !important;
}

.photo-hud {
  border-color: #56606b !important;
  background: rgba(12, 15, 19, 0.92) !important;
  color: #d7dbe0 !important;
}

.hud-rule,
.progress-track,
.flavour-track {
  background: #3b424b !important;
}

.hud-rule span,
.progress-track span,
.flavour-track b {
  background: #aeb6bf !important;
}

.scene-cta,
.primary-btn,
.primary-btn.needs-input {
  border-color: #c8ced5 !important;
  color: #111316 !important;
  background: #c8ced5 !important;
  box-shadow: none !important;
}

.scene-cta:hover,
.primary-btn:hover:not(:disabled) {
  background: #e3e6ea !important;
}

.ghost-btn,
.tool-btn {
  border-color: #56606b !important;
  color: #d7dbe0 !important;
  background: #1b1e23 !important;
  box-shadow: none !important;
}

.ghost-btn:hover:not(:disabled),
.tool-btn:hover:not(:disabled) {
  color: #111316 !important;
  background: #c8ced5 !important;
}

.choice-grid {
  background: #343a42 !important;
}

.choice-card:hover,
.choice-card.is-selected,
.choice-grid.is-hotspot .choice-card,
.choice-grid.is-urgent .choice-card {
  border-color: #c8ced5 !important;
  background: #292e35 !important;
  box-shadow: inset 0 0 0 1px #c8ced5 !important;
}

.range-row,
.cut-bar,
.feedback {
  border-color: #343a42 !important;
}

.feedback {
  border-left-color: #9c7078 !important;
}

.note-chip {
  border-color: #4b535d !important;
  color: #bfc5cc !important;
  background: transparent !important;
}

.cut-bar {
  background: linear-gradient(90deg, #4e5862 0 34%, #aeb6bf 34% 69%, #363d46 69% 100%) !important;
}

.cut-labels {
  color: #111316 !important;
}

.cut-marker {
  border-color: #111316 !important;
  background: #e3e6ea !important;
  box-shadow: 0 0 0 4px rgba(227, 230, 234, 0.22) !important;
}

.result-wrap {
  background: #343a42 !important;
}

.bottle-card {
  border-color: #343a42 !important;
  background: #0b0d10 !important;
}

.bottle-photo {
  filter: grayscale(0.62) brightness(0.66) contrast(1.16) !important;
}

.bottle-label-overlay {
  color: #272b30 !important;
  background: rgba(207, 212, 217, 0.9) !important;
}

.bottle-label-overlay span,
.bottle-label-overlay small {
  color: #5e666f !important;
}

@media (max-width: 1220px) {
  .game-board {
    grid-template-columns: 230px 1fr !important;
  }

  .ledger {
    grid-column: 1 / -1 !important;
    min-height: auto !important;
  }
}

@media (max-width: 900px) {
  .game-shell {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
  }

  .topbar,
  .game-board,
  .guide-card,
  .choice-grid,
  .range-row,
  .result-wrap,
  .taste-grid,
  .recommend-grid {
    grid-template-columns: 1fr !important;
  }

  .timeline,
  .stage,
  .ledger,
  .stage-paper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: auto !important;
  }

  .stage-paper {
    padding: 18px !important;
  }
}

/* COLOR_RECOVERY_FOR_PHOTOS */
.photo-scene {
  filter: none !important;
  background-blend-mode: normal !important;
  background-image: linear-gradient(90deg, rgba(7, 9, 12, 0.72), rgba(12, 16, 22, 0.18) 52%, rgba(7, 9, 12, 0.66)), var(--scene-photo) !important;
}

.photo-scene::before {
  background: linear-gradient(180deg, rgba(8, 10, 13, 0.56), transparent 38%, rgba(7, 9, 11, 0.78)) !important;
}

.photo-scene::after {
  display: none !important;
}

.bottle-photo {
  filter: saturate(0.88) brightness(0.78) contrast(1.08) !important;
}

.bottle-label-overlay {
  top: 41% !important;
  left: 32% !important;
  width: 36% !important;
  min-height: 31% !important;
  border: 1px solid #69737e !important;
  color: #e0e4e8 !important;
  background: rgba(31, 35, 41, 0.95) !important;
  box-shadow: inset 0 0 0 1px rgba(224, 228, 232, 0.08), 0 4px 14px rgba(0, 0, 0, 0.32) !important;
}

.bottle-label-overlay span,
.bottle-label-overlay small {
  color: #aeb6bf !important;
}

.bottle-label-overlay strong {
  color: #e0e4e8 !important;
}

.photo-result-notes span {
  border-color: #5b6570 !important;
  color: #d5dbe1 !important;
  background: rgba(18, 21, 26, 0.84) !important;
}
