:root {
  --ink: #090b17;
  --ink-2: #101326;
  --panel: #181a2d;
  --panel-2: #22243c;
  --panel-3: #2d2f4c;
  --line: #505677;
  --line-soft: #303650;
  --cream: #f7e8c9;
  --cream-dim: #d8c9ac;
  --muted: #a0a5ba;
  --muted-2: #6c728c;
  --amber: #f3bd6b;
  --amber-deep: #b7764d;
  --coral: #e9858f;
  --teal: #6be0d2;
  --blue: #7cb6e9;
  --lime: #bdcf83;
  --violet: #b59ae8;
  --pink: #d67dca;
  --chrome: #c3c9d0;
  --danger: #e17782;
  --shadow: rgba(3, 3, 13, 0.52);
  color-scheme: dark;
  font-family: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  background: var(--ink);
}

* {
  box-sizing: border-box;
}

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

body {
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 78% 8%, rgba(181, 154, 232, 0.12), transparent 25%),
    radial-gradient(circle at 17% 76%, rgba(107, 224, 210, 0.06), transparent 24%),
    linear-gradient(rgba(181, 154, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 224, 210, 0.028) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px, 24px 24px;
  background-attachment: fixed;
  color: var(--cream);
  -webkit-font-smoothing: none;
  text-rendering: geometricPrecision;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

button:focus-visible,
input:focus-visible,
[draggable="true"]:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.app-shell {
  width: min(1540px, calc(100% - 42px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 0 28px;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 26px;
  min-height: 74px;
  padding: 0 4px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid rgba(181, 154, 232, 0.72);
  background: radial-gradient(circle at 36% 36%, rgba(243, 189, 107, 0.18), transparent 25%), var(--ink-2);
  box-shadow: inset 0 0 0 3px rgba(107, 224, 210, 0.06), 4px 4px 0 rgba(3, 3, 13, 0.32);
}

.brand-mark span {
  position: absolute;
  display: block;
}

.brand-mark .moon-disc {
  top: 8px;
  left: 9px;
  width: 17px;
  height: 17px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  background: #17172b;
  box-shadow: inset 5px -2px 0 rgba(243, 189, 107, 0.22);
}

.brand-mark .moon-orbit {
  top: 13px;
  left: -5px;
  width: 46px;
  height: 10px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  transform: rotate(-23deg);
}

.brand-mark .moon-dot {
  top: 7px;
  right: 6px;
  width: 4px;
  height: 4px;
  background: var(--pink);
  box-shadow: -24px 21px 0 var(--teal), 12px 15px 0 var(--amber);
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.4;
}

.brand-lockup h1 {
  margin: 2px 0 0;
  color: var(--cream);
  font-family: "Arial Black", "Helvetica Neue", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
}

.service-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(109, 198, 181, 0.13);
}

.status-divider {
  width: 1px;
  height: 14px;
  background: var(--line);
}

.mode-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.mode-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  transition: color 160ms ease, background 160ms ease;
}

.mode-tab:hover {
  color: var(--cream);
}

.mode-tab.is-active {
  color: var(--ink);
  background: var(--amber);
}

.tab-glyph {
  font-size: 10px;
}

.view {
  display: none;
  padding-top: 24px;
  animation: view-in 280ms ease both;
}

.view.is-visible {
  display: block;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 12px 34px var(--shadow);
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-chip,
.mode-label,
.panel-count {
  color: var(--teal);
  font-size: 9px;
  letter-spacing: 1px;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-chip i {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(228, 123, 110, 0.13);
}

.lounge-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.55fr) minmax(0, 2.15fr);
  gap: 18px;
  min-height: 650px;
}

.lounge-rail {
  display: flex;
  flex-direction: column;
  min-height: 650px;
  padding: 21px 19px 16px;
  background:
    linear-gradient(180deg, rgba(109, 198, 181, 0.04), transparent 36%),
    var(--panel);
}

.rail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rail-clock {
  margin-top: 46px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.rail-clock span {
  display: block;
  color: var(--cream);
  font-size: 38px;
  letter-spacing: 2px;
}

.rail-clock small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
}

.rail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}

.rail-stats div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rail-stats strong {
  color: var(--amber);
  font-size: 20px;
  font-weight: 500;
}

.rail-stats span {
  color: var(--muted);
  font-size: 9px;
}

.bar-note {
  margin-top: auto;
  padding: 20px 0 24px;
}

.note-pin {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 14px;
}

.bar-note p {
  margin: 0;
  color: var(--cream-dim);
  font-size: 12px;
  line-height: 1.9;
}

.bar-note small {
  display: block;
  margin-top: 13px;
  color: var(--muted-2);
  font-size: 9px;
}

.rail-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 1px;
}

.lounge-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 5px 2px 0;
}

.lounge-heading {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 86px;
}

.lounge-heading h2 {
  margin: 9px 0 0;
  color: var(--cream);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.pixel-moon {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  margin: 4px 21px 0 0;
  border: 1px solid rgba(181, 154, 232, 0.38);
  background: rgba(16, 19, 38, 0.48);
}

.pixel-moon span {
  display: none;
}

.pixel-moon::before {
  position: absolute;
  top: 11px;
  left: 12px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  background: #19192d;
  box-shadow: inset 6px -1px 0 rgba(243, 189, 107, 0.22);
  content: "";
}

.pixel-moon::after {
  position: absolute;
  top: 17px;
  left: -8px;
  width: 61px;
  height: 13px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  box-shadow: 0 -16px 0 -5px var(--pink), 0 0 11px rgba(107, 224, 210, 0.12);
  content: "";
  transform: rotate(-23deg);
}

.lounge-heading::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), transparent 38%, transparent 62%, var(--teal));
  content: "";
}

.mode-callout {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 59px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  background: var(--ink-2);
}

.callout-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--amber);
  border: 1px solid var(--line);
  font-size: 12px;
}

.mode-callout strong,
.mode-callout span {
  display: block;
}

.mode-callout strong {
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
}

.mode-callout div:nth-child(2) span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.callout-meta {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 1px;
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 17px;
}

.selection-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 15px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  background: var(--panel);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.selection-card:hover {
  border-color: var(--line);
  background: var(--panel-2);
  transform: translateY(-3px);
}

.selection-card.is-selected {
  border-color: var(--amber);
  background: var(--panel-2);
  box-shadow: inset 0 -3px 0 var(--amber);
}

.selection-card.is-selected::after {
  position: absolute;
  top: 10px;
  right: 11px;
  color: var(--amber);
  content: "SELECTED";
  font-size: 8px;
  letter-spacing: 1px;
}

.card-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 164px;
  margin: -2px -2px 13px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
}

.card-art-cocktail {
  align-items: stretch;
  justify-items: stretch;
  background: #101a21;
  box-shadow: inset 0 0 0 1px rgba(245, 230, 200, 0.04), inset 0 -22px 32px rgba(3, 8, 11, 0.28);
}

.cover-art-svg {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  shape-rendering: crispEdges;
}

.cover-art-caption {
  position: absolute;
  right: 10px;
  bottom: 9px;
  z-index: 2;
  padding: 3px 5px;
  border: 1px solid rgba(245, 230, 200, 0.17);
  color: rgba(245, 230, 200, 0.66);
  background: rgba(13, 20, 27, 0.55);
  font-size: 7px;
  letter-spacing: 1px;
}

.card-art-cocktail::before {
  bottom: 16px;
  z-index: 1;
  width: 86px;
  background: rgba(245, 230, 200, 0.36);
  box-shadow: 0 7px 0 rgba(89, 112, 117, 0.45);
}

.card-art-cocktail::after {
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  background: linear-gradient(90deg, rgba(13, 20, 27, 0.24), transparent 28%, transparent 72%, rgba(13, 20, 27, 0.28));
  box-shadow: none;
}

.card-art::before,
.card-art::after {
  position: absolute;
  content: "";
}

.card-art::before {
  bottom: 18px;
  width: 82px;
  height: 3px;
  background: var(--line);
  box-shadow: 0 7px 0 var(--line-soft);
}

.card-art::after {
  top: 15px;
  left: 16px;
  width: 3px;
  height: 3px;
  background: var(--amber);
  box-shadow: 83px 24px 0 var(--teal), 42px 13px 0 var(--coral), 67px 56px 0 var(--amber);
}

.card-glass {
  position: relative;
  z-index: 1;
  width: 45px;
  height: 61px;
  border: 2px solid var(--cream-dim);
  border-top: 0;
  transform: perspective(80px) rotateX(-4deg);
}

.card-glass::before {
  position: absolute;
  right: 3px;
  bottom: 4px;
  left: 3px;
  height: 25px;
  background: var(--drink-color, var(--amber));
  content: "";
}

.card-glass::after {
  position: absolute;
  top: -5px;
  left: -4px;
  width: 49px;
  height: 5px;
  border: 2px solid var(--cream-dim);
  border-bottom: 0;
  content: "";
}

.card-glass.is-highball {
  width: 38px;
  height: 76px;
}

.card-glass.is-highball::after {
  width: 42px;
}

.card-glass.is-martini {
  width: 0;
  height: 0;
  border-right: 24px solid transparent;
  border-bottom: 45px solid var(--cream-dim);
  border-left: 24px solid transparent;
}

.card-glass.is-martini::before {
  right: -16px;
  bottom: -39px;
  left: -16px;
  height: 25px;
  background: var(--drink-color, var(--coral));
}

.card-glass.is-martini::after {
  top: 44px;
  left: -1px;
  width: 3px;
  height: 31px;
  border: 0;
  background: var(--cream-dim);
  box-shadow: -9px 30px 0 3px var(--cream-dim);
}

.card-index {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
}

.selection-card h3 {
  margin: 6px 0 0;
  color: var(--cream);
  font-size: 18px;
  font-weight: 500;
}

.selection-card .card-subtitle {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 13px;
}

.card-tags span,
.flavor-tags span {
  padding: 4px 6px;
  border: 1px solid var(--line);
  color: var(--cream-dim);
  font-size: 8px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 8px;
}

.free-card .card-art {
  justify-items: start;
  padding-left: 23px;
}

.guest-silhouette {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 68px;
  background: var(--guest-color, var(--teal));
  clip-path: polygon(35% 0, 65% 0, 78% 22%, 100% 100%, 0 100%, 22% 22%);
}

.guest-silhouette::before {
  position: absolute;
  top: -2px;
  left: 15px;
  width: 24px;
  height: 24px;
  background: var(--guest-skin, #dfae84);
  content: "";
}

.guest-silhouette::after {
  position: absolute;
  top: 5px;
  left: 13px;
  width: 28px;
  height: 10px;
  background: var(--guest-hair, #26323c);
  content: "";
}

.lounge-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 19px;
}

.cta-hint {
  color: var(--muted);
  font-size: 9px;
}

.keycap {
  padding: 3px 5px;
  border: 1px solid var(--line);
  color: var(--cream-dim);
  font-size: 8px;
  letter-spacing: 0.5px;
}

.primary-button,
.subtle-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 39px;
  padding: 0 15px;
  cursor: pointer;
  font-size: 10px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.primary-button {
  color: var(--ink);
  background: var(--amber);
}

.primary-button:hover:not(:disabled) {
  background: #f4c879;
  transform: translateY(-2px);
}

.primary-button:disabled {
  color: var(--muted-2);
  background: var(--line-soft);
  cursor: not-allowed;
}

.button-glyph {
  font-size: 13px;
}

.subtle-button {
  color: var(--muted);
  border: 1px solid var(--line);
  background: transparent;
}

.subtle-button:hover {
  color: var(--cream);
  border-color: var(--cream-dim);
}

.bar-layout {
  display: grid;
  grid-template-columns: minmax(205px, 0.72fr) minmax(440px, 1.8fr) minmax(235px, 0.85fr);
  gap: 15px;
  align-items: start;
}

.order-column,
.kit-column {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
}

.order-panel,
.steps-panel,
.kit-panel,
.mix-panel {
  padding: 16px;
}

.order-panel {
  min-height: 440px;
}

.mode-label {
  color: var(--amber);
}

.guest-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 19px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line-soft);
}

.guest-avatar {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--amber);
  font-size: 14px;
}

.guest-avatar.is-person {
  background: var(--guest-color, var(--teal));
  color: var(--ink);
}

.guest-meta {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1px;
}

.guest-profile h2 {
  margin: 4px 0 3px;
  color: var(--cream);
  font-size: 18px;
  font-weight: 500;
}

.guest-profile p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.order-copy {
  min-height: 89px;
  padding: 16px 0 10px;
  color: var(--cream-dim);
  font-size: 10px;
  line-height: 1.85;
}

.order-copy strong {
  color: var(--amber);
  font-weight: 500;
}

.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.flavor-tags span {
  color: var(--teal);
  border-color: rgba(109, 198, 181, 0.35);
}

.ticket-rule {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 17px 0;
  color: var(--amber);
}

.ticket-rule span {
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.ticket-rule i {
  font-style: normal;
  font-size: 8px;
}

.recipe-target {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.target-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
}

.target-label strong {
  color: var(--cream-dim);
  font-size: 9px;
  font-weight: 500;
}

.measure-wrap {
  margin-top: 19px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.measure-wrap.is-hidden {
  display: none;
}

.measure-wrap label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.measure-wrap label strong {
  color: var(--amber);
  font-weight: 500;
}

.measure-wrap input {
  width: 100%;
  margin-top: 12px;
  accent-color: var(--amber);
}

.glass-choice-wrap {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.glass-choice-heading {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
}

.glass-choice-heading strong {
  color: var(--amber);
  font-size: 9px;
  font-weight: 500;
}

.glass-choice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 9px;
}

.glass-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 67px;
  padding: 4px 2px 5px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  background: var(--ink-2);
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.glass-choice:hover {
  border-color: var(--amber);
  color: var(--cream);
}

.glass-choice.is-selected {
  border-color: var(--teal);
  color: var(--cream);
  background: rgba(109, 198, 181, 0.1);
}

.glass-choice-art {
  display: block;
  flex: 0 0 37px;
  width: 45px;
  height: 55px;
  margin-top: -3px;
  margin-bottom: -3px;
  transform: scale(0.30);
  transform-origin: center 76%;
  pointer-events: none;
}

.glass-choice-art.is-highball {
  width: 38px;
  height: 72px;
  transform: scale(0.27);
}

.glass-choice-art.is-margarita,
.glass-choice-art.is-martini {
  flex-basis: 35px;
  margin-bottom: 0;
  transform: scale(0.25);
}

.glass-choice-copy {
  display: block;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.glass-choice-copy strong,
.glass-choice-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.glass-choice-copy strong {
  font-size: 8px;
  font-weight: 500;
}

.glass-choice-copy small {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 6px;
}

.steps-panel {
  min-height: 183px;
}

.steps-panel .panel-topline > span:last-child {
  color: var(--muted);
  font-size: 9px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-2);
  font-size: 9px;
}

.step-list li::before {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--line);
  color: var(--muted-2);
  content: "·";
  font-size: 10px;
}

.step-list li.is-done {
  color: var(--cream-dim);
}

.step-list li.is-done::before {
  border-color: var(--teal);
  color: var(--teal);
  content: "✓";
}

.step-list li.is-current {
  color: var(--amber);
}

.step-list li.is-current::before {
  border-color: var(--amber);
  color: var(--amber);
  content: "›";
}

.workbench-column {
  min-width: 0;
}

.workbench-frame {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(239, 184, 102, 0.06), transparent 16%, transparent 84%, rgba(109, 198, 181, 0.05)),
    var(--panel);
  box-shadow: 0 12px 34px var(--shadow);
}

.workbench-topline,
.bench-footer {
  display: flex;
  align-items: center;
  min-height: 37px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
}

.workbench-topline {
  gap: 11px;
}

.mix-state {
  margin-left: auto;
  color: var(--amber);
  font-size: 9px;
}

.workbench-light {
  width: 6px;
  height: 6px;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(109, 198, 181, 0.1);
}

.canvas-wrap {
  position: relative;
  min-height: 440px;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 27%, rgba(239, 184, 102, 0.08), transparent 31%),
    linear-gradient(180deg, rgba(13, 24, 30, 0.42), transparent 35%, rgba(19, 31, 37, 0.35)),
    #17232b;
}

#barCanvas,
#resultCanvas,
#radarCanvas {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

#barCanvas {
  width: 100%;
  height: auto;
  min-height: 360px;
  border: 1px solid #3e5559;
  background: #17252c;
  box-shadow: inset 0 0 0 2px rgba(8, 15, 19, 0.34), inset 0 -24px 24px rgba(8, 15, 19, 0.16);
}

.canvas-readout {
  position: absolute;
  right: 27px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.6px;
}

.canvas-readout span:first-child {
  color: var(--cream);
}

.canvas-toast {
  position: absolute;
  top: 29px;
  left: 50%;
  min-width: 110px;
  padding: 6px 8px;
  transform: translateX(-50%) translateY(-5px);
  opacity: 0;
  color: var(--ink);
  background: var(--cream);
  text-align: center;
  font-size: 8px;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.canvas-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bench-footer {
  gap: 9px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 0;
  color: var(--muted);
  font-size: 8px;
}

.bench-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bench-status .status-dot {
  width: 5px;
  height: 5px;
}

.bench-separator {
  width: 1px;
  height: 13px;
  margin-left: auto;
  background: var(--line);
}

.bench-fidelity {
  color: var(--muted);
}

.bench-fidelity strong {
  color: var(--teal);
  font-weight: 500;
}

.serve-bar {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 14px;
}

.serve-progress {
  flex: 1;
  height: 3px;
  background: var(--line-soft);
}

.serve-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--teal);
  transition: width 220ms ease;
}

.serve-button {
  min-width: 110px;
}

.kit-panel {
  min-height: 440px;
  max-height: min(690px, calc(100vh - 170px));
  overflow-y: auto;
  scrollbar-color: var(--line) var(--ink-2);
  scrollbar-width: thin;
}

.vessel-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 9px 12px 0;
  background: #1b2a30;
}

.vessel-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  background: #16242a;
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease, transform 150ms ease;
}

.vessel-button:hover {
  border-color: var(--amber);
  color: var(--cream);
  transform: translateY(-1px);
}

.vessel-button.is-active {
  border-color: var(--teal);
  color: var(--cream);
  background: rgba(109, 198, 181, 0.1);
}

.vessel-button > span:last-child {
  min-width: 0;
}

.vessel-button strong,
.vessel-button small {
  display: block;
  white-space: nowrap;
}

.vessel-button strong {
  color: inherit;
  font-size: 10px;
  font-weight: 500;
}

.vessel-button small {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 7px;
}

.vessel-glyph {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 23px;
  height: 25px;
  border: 1px solid var(--line);
  color: var(--amber);
  font-size: 16px;
  line-height: 1;
}

.vessel-glyph-shaker {
  color: #b7c6c4;
  font-size: 15px;
}

.ingredient-categories {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.ingredient-category {
  border: 1px solid var(--line-soft);
  background: rgba(18, 31, 37, 0.56);
}

.category-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 31px;
  padding: 5px 8px;
  border: 0;
  color: var(--cream-dim);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.category-toggle:hover {
  background: rgba(109, 198, 181, 0.08);
}

.category-chevron {
  display: inline-block;
  width: 13px;
  color: var(--teal);
  font-size: 12px;
  transition: transform 150ms ease;
}

.ingredient-category.is-collapsed .category-chevron {
  transform: rotate(-90deg);
}

.category-title {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.category-title strong {
  font-size: 10px;
  font-weight: 500;
}

.category-title small {
  color: var(--muted-2);
  font-size: 7px;
  letter-spacing: 0.6px;
}

.category-count {
  margin-left: auto;
  color: var(--amber);
  font-size: 8px;
}

.ingredient-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 6px 6px;
}

.ingredient-category.is-collapsed .ingredient-category-list {
  display: none;
}

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

.garnish-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 54px;
  padding: 6px 3px 5px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  background: var(--ink-2);
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.garnish-option:hover {
  border-color: var(--amber);
  color: var(--cream);
}

.garnish-option.is-selected {
  border-color: var(--teal);
  color: var(--cream);
  background: rgba(109, 198, 181, 0.1);
}

.garnish-option strong {
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}

.garnish-option small {
  color: var(--muted-2);
  font-size: 6px;
  white-space: nowrap;
}

.garnish-swatch {
  position: relative;
  display: block;
  width: 25px;
  height: 19px;
}

.garnish-swatch::before,
.garnish-swatch::after {
  position: absolute;
  display: block;
  content: "";
}

.garnish-swatch.is-peel::before {
  top: 7px;
  left: 3px;
  width: 20px;
  height: 7px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.garnish-swatch.is-citrus::before {
  top: 1px;
  left: 5px;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent 46%, currentColor 48% 52%, transparent 54%), linear-gradient(-45deg, transparent 46%, currentColor 48% 52%, transparent 54%);
}

.garnish-swatch.is-cucumber::before {
  top: 1px;
  left: 6px;
  width: 13px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(25deg);
}

.garnish-swatch.is-cucumber::after {
  top: 5px;
  left: 12px;
  width: 2px;
  height: 9px;
  background: currentColor;
  box-shadow: -4px 2px 0 -0.5px currentColor, 4px -2px 0 -0.5px currentColor;
}

.garnish-swatch.is-herb::before {
  top: 1px;
  left: 11px;
  width: 3px;
  height: 18px;
  background: currentColor;
  transform: rotate(18deg);
}

.garnish-swatch.is-herb::after {
  top: 3px;
  left: 7px;
  width: 9px;
  height: 5px;
  border-radius: 70% 0;
  background: currentColor;
  box-shadow: 4px 5px 0 currentColor, -4px 5px 0 currentColor;
}

.garnish-swatch.is-berry::before {
  top: 3px;
  left: 7px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: currentColor;
}

.garnish-swatch.is-berry::after {
  top: 0;
  left: 12px;
  width: 4px;
  height: 5px;
  background: #6d9a68;
  transform: rotate(22deg);
}

.garnish-swatch.is-olive::before {
  top: 5px;
  left: 7px;
  width: 13px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: currentColor;
  transform: rotate(-18deg);
}

.garnish-swatch.is-olive::after {
  top: 8px;
  left: 12px;
  width: 3px;
  height: 3px;
  border: 1px solid rgba(245, 230, 200, 0.72);
  border-radius: 50%;
  background: #536235;
}

.garnish-swatch.is-salt::before {
  top: 6px;
  left: 3px;
  width: 20px;
  height: 7px;
  border-top: 2px dotted currentColor;
  border-bottom: 2px dotted currentColor;
}

.ingredient-list {
  display: block;
  margin-top: 14px;
}

.ingredient-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 52px;
  padding: 7px;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
  cursor: grab;
  user-select: none;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.ingredient-item:hover {
  border-color: var(--line);
  background: var(--panel-2);
  transform: translateY(-1px);
}

.ingredient-item:active {
  cursor: grabbing;
}

.ingredient-swatch {
  position: relative;
  flex: 0 0 auto;
  width: 29px;
  height: 33px;
  border: 0;
  background: transparent;
}

.ingredient-swatch::before,
.ingredient-swatch::after {
  position: absolute;
  display: block;
  content: "";
}

.ingredient-swatch.is-bottle::before {
  right: 5px;
  bottom: 1px;
  left: 5px;
  height: 24px;
  border: 1px solid rgba(245, 230, 200, 0.52);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 28%, rgba(0, 0, 0, 0.13) 85%),
    var(--ingredient-color, var(--amber));
  box-shadow: inset 2px 0 rgba(255, 255, 255, 0.12), inset -2px 0 rgba(11, 22, 25, 0.2), 0 2px 0 rgba(5, 12, 15, 0.4);
}

.ingredient-swatch.is-bottle::after {
  top: 2px;
  left: 10px;
  width: 9px;
  height: 10px;
  border: 1px solid rgba(245, 230, 200, 0.52);
  background: #d9c39a;
  box-shadow: 0 6px 0 -1px rgba(245, 230, 200, 0.68);
  transform: translateY(-1px);
}

.ingredient-swatch.is-whiskey::before {
  right: 2px;
  left: 2px;
  clip-path: polygon(23% 0, 77% 0, 88% 12%, 100% 22%, 100% 100%, 0 100%, 0 22%, 12% 12%);
}

.ingredient-swatch.is-whiskey::after {
  left: 9px;
  width: 11px;
  background: #b79058;
  box-shadow: 0 6px 0 -1px rgba(245, 230, 200, 0.74);
}

.ingredient-swatch.is-tequila::before {
  right: 4px;
  left: 4px;
  height: 26px;
  clip-path: polygon(27% 0, 73% 0, 87% 13%, 97% 22%, 100% 100%, 0 100%, 3% 22%, 13% 13%);
}

.ingredient-swatch.is-tequila::after {
  top: 1px;
  left: 10px;
  height: 9px;
  background: #c4af75;
  box-shadow: 0 13px 0 -1px rgba(245, 230, 200, 0.82);
}

.ingredient-swatch.is-rum::before {
  right: 7px;
  left: 7px;
  top: 6px;
  height: 26px;
  border-radius: 5px 5px 3px 3px;
}

.ingredient-swatch.is-rum::after {
  top: 1px;
  left: 11px;
  width: 7px;
  height: 7px;
  background: #e5e0c7;
  box-shadow: 0 14px 0 -1px rgba(245, 230, 200, 0.72);
}

.ingredient-swatch.is-gin::before {
  right: 8px;
  left: 8px;
  top: 5px;
  height: 27px;
  border-radius: 6px 6px 2px 2px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 32%, rgba(36, 71, 57, 0.12) 84%),
    var(--ingredient-color, var(--teal));
}

.ingredient-swatch.is-gin::after {
  top: 1px;
  left: 11px;
  width: 7px;
  height: 8px;
  background: #dfe7cc;
  box-shadow: 0 13px 0 -1px rgba(245, 230, 200, 0.78);
}

.ingredient-swatch.is-rye::before {
  right: 3px;
  left: 3px;
  height: 25px;
  clip-path: polygon(22% 0, 78% 0, 90% 14%, 100% 25%, 96% 100%, 4% 100%, 0 25%, 10% 14%);
}

.ingredient-swatch.is-rye::after {
  left: 9px;
  width: 11px;
  background: #bf8950;
  box-shadow: 0 6px 0 -1px rgba(245, 230, 200, 0.74);
}

.ingredient-swatch.is-vermouth::before {
  right: 6px;
  left: 6px;
  top: 5px;
  height: 27px;
  border-radius: 3px 3px 2px 2px;
  clip-path: polygon(16% 0, 84% 0, 100% 15%, 92% 100%, 8% 100%, 0 15%);
}

.ingredient-swatch.is-vermouth::after {
  top: 1px;
  left: 11px;
  width: 7px;
  height: 8px;
  background: #b3a983;
  box-shadow: 0 13px 0 -1px rgba(245, 230, 200, 0.7);
}

.ingredient-swatch.is-campari::before {
  right: 7px;
  left: 7px;
  top: 5px;
  height: 27px;
  border-radius: 2px 2px 4px 4px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.25), transparent 28%, rgba(49, 15, 15, 0.18) 82%),
    var(--ingredient-color, var(--coral));
}

.ingredient-swatch.is-campari::after {
  top: 1px;
  left: 10px;
  width: 9px;
  height: 7px;
  background: #d2b66c;
  box-shadow: 0 14px 0 -1px rgba(245, 230, 200, 0.76);
}

.ingredient-swatch.is-light::before {
  filter: saturate(0.72) brightness(1.12);
}

.ingredient-swatch.is-liqueur::before {
  right: 5px;
  left: 5px;
  top: 8px;
  height: 24px;
  border-radius: 2px;
}

.ingredient-swatch.is-liqueur::after {
  top: 2px;
  left: 10px;
  width: 9px;
  height: 8px;
  background: #bb8b49;
  box-shadow: 0 13px 0 -1px rgba(245, 230, 200, 0.76);
}

.ingredient-swatch.is-syrup::before {
  right: 3px;
  bottom: 2px;
  left: 3px;
  height: 20px;
  border-radius: 4px 4px 2px 2px;
}

.ingredient-swatch.is-syrup::after {
  top: 7px;
  left: 10px;
  width: 9px;
  height: 9px;
  background: #7c5339;
  box-shadow: 0 5px 0 -1px rgba(245, 230, 200, 0.64);
}

.ingredient-swatch.is-bitters::before {
  right: 9px;
  bottom: 1px;
  left: 9px;
  height: 22px;
  border-radius: 2px 2px 4px 4px;
}

.ingredient-swatch.is-bitters::after {
  top: 2px;
  left: 12px;
  width: 5px;
  height: 10px;
  background: #9a6b42;
  box-shadow: 0 7px 0 -1px rgba(245, 230, 200, 0.58);
}

.ingredient-swatch.is-soda::before {
  right: 5px;
  bottom: 1px;
  left: 5px;
  height: 25px;
  border-radius: 4px 4px 3px 3px;
  background:
    radial-gradient(circle at 35% 42%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 67% 68%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.5px),
    var(--ingredient-color, var(--teal));
}

.ingredient-swatch.is-soda::after {
  top: 2px;
  left: 10px;
  width: 9px;
  height: 7px;
  border: 1px solid rgba(245, 230, 200, 0.55);
  background: #c5e3dd;
  box-shadow: 0 14px 0 -1px rgba(245, 230, 200, 0.68);
}

.ingredient-swatch.is-produce::before {
  border: 1px solid rgba(245, 230, 200, 0.52);
}

.ingredient-swatch.is-lime::before {
  top: 4px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 47%, rgba(54, 121, 75, 0.65) 49% 52%, transparent 54%),
    linear-gradient(-45deg, transparent 47%, rgba(54, 121, 75, 0.65) 49% 52%, transparent 54%),
    var(--ingredient-color, var(--lime));
}

.ingredient-swatch.is-lime::after {
  top: 2px;
  left: 13px;
  width: 5px;
  height: 4px;
  border: 0;
  background: #4b9a70;
  transform: rotate(-25deg);
}

.ingredient-swatch.is-lemon::before {
  top: 4px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 47%, rgba(120, 121, 55, 0.56) 49% 52%, transparent 54%),
    linear-gradient(-45deg, transparent 47%, rgba(120, 121, 55, 0.56) 49% 52%, transparent 54%),
    var(--ingredient-color, var(--amber));
}

.ingredient-swatch.is-lemon::after {
  top: 2px;
  left: 13px;
  width: 5px;
  height: 4px;
  border: 0;
  background: #6d9a68;
  transform: rotate(-25deg);
}

.ingredient-swatch.is-mint::before {
  top: 4px;
  left: 5px;
  width: 19px;
  height: 26px;
  border: 0;
  background:
    linear-gradient(74deg, transparent 43%, rgba(220, 249, 196, 0.44) 45% 49%, transparent 51%),
    var(--ingredient-color, var(--lime));
  clip-path: polygon(48% 0, 88% 15%, 75% 42%, 100% 57%, 68% 64%, 74% 100%, 43% 77%, 12% 100%, 24% 62%, 0 52%, 29% 38%, 16% 13%);
}

.ingredient-swatch.is-mint::after {
  top: 0;
  left: 13px;
  width: 3px;
  height: 31px;
  border: 0;
  background: rgba(245, 230, 200, 0.5);
  transform: rotate(11deg);
}

.ingredient-swatch.is-produce {
  background: transparent;
}

.ingredient-swatch.is-produce::after {
  display: block;
}

.ingredient-swatch.is-bottle {
  background: transparent;
}

.ingredient-swatch.is-bottle::after {
  display: block;
}

.ingredient-swatch.is-bottle::before,
.ingredient-swatch.is-bottle::after {
  content: "";
}

.ingredient-copy {
  min-width: 0;
}

.ingredient-copy strong,
.ingredient-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ingredient-copy strong {
  color: var(--cream-dim);
  font-size: 8px;
  font-weight: 500;
}

.ingredient-copy span {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 7px;
}

.ingredient-measure {
  margin-left: auto;
  color: var(--amber);
  font-size: 8px;
}

.kit-divider {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 17px 0 11px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1px;
}

.kit-divider::after {
  flex: 1;
  height: 1px;
  background: var(--line-soft);
  content: "";
}

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

.tool-button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  padding: 6px 7px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  background: var(--ink-2);
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.tool-button:hover {
  border-color: var(--amber);
  color: var(--cream);
}

.tool-button.is-active {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(109, 198, 181, 0.08);
}

.tool-button.is-used {
  color: var(--cream-dim);
}

.tool-icon {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  color: var(--amber);
  font-size: 0;
}

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

.tool-icon-ice::before {
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  border: 1px solid currentColor;
  background: rgba(207, 239, 235, 0.24);
  transform: rotate(45deg);
}

.tool-icon-ice::after {
  top: 5px;
  left: 8px;
  width: 2px;
  height: 8px;
  background: rgba(245, 255, 238, 0.8);
  transform: rotate(45deg);
}

.tool-icon-shake::before {
  top: 6px;
  left: 6px;
  width: 11px;
  height: 14px;
  border: 1px solid currentColor;
  background: rgba(183, 198, 196, 0.18);
  clip-path: polygon(16% 0, 84% 0, 100% 22%, 92% 100%, 8% 100%, 0 22%);
}

.tool-icon-shake::after {
  top: 3px;
  left: 5px;
  width: 13px;
  height: 3px;
  border: 1px solid currentColor;
  background: #94a5a2;
}

.tool-icon-shake i::before {
  top: 11px;
  left: 8px;
  width: 8px;
  height: 1px;
  background: rgba(245, 255, 238, 0.8);
}

.tool-icon-stir::before {
  top: 3px;
  left: 11px;
  width: 2px;
  height: 17px;
  background: currentColor;
  transform: rotate(12deg);
}

.tool-icon-stir::after {
  top: 3px;
  left: 7px;
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.tool-icon-stir i::before {
  top: 6px;
  left: 10px;
  width: 4px;
  height: 4px;
  border: 1px solid rgba(245, 255, 238, 0.72);
  border-radius: 50%;
}

.tool-icon-muddle::before {
  top: 2px;
  left: 11px;
  width: 3px;
  height: 16px;
  background: #bf9869;
  transform: rotate(18deg);
}

.tool-icon-muddle::after {
  top: 16px;
  left: 6px;
  width: 12px;
  height: 3px;
  border: 1px solid currentColor;
  background: rgba(239, 184, 102, 0.42);
  transform: rotate(18deg);
}

.tool-icon-strain::before {
  top: 5px;
  left: 5px;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.tool-icon-strain::after {
  top: 10px;
  left: 7px;
  width: 9px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 -3px 0 rgba(245, 255, 238, 0.72), 0 3px 0 rgba(245, 255, 238, 0.72);
}

.tool-icon-strain i::before {
  top: 6px;
  left: 11px;
  width: 1px;
  height: 10px;
  background: rgba(245, 255, 238, 0.72);
}

.tool-icon-garnish::before {
  top: 4px;
  left: 6px;
  width: 11px;
  height: 11px;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 35%, 100% 35%, 70% 57%, 82% 100%, 50% 73%, 18% 100%, 30% 57%, 0 35%, 38% 35%);
}

.tool-icon-garnish::after {
  top: 14px;
  left: 11px;
  width: 2px;
  height: 7px;
  background: #6d9a68;
  transform: rotate(18deg);
}

.tool-copy strong,
.tool-copy span {
  display: block;
}

.tool-copy strong {
  color: inherit;
  font-size: 8px;
  font-weight: 500;
}

.tool-copy span {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 7px;
}

.mix-panel {
  min-height: 122px;
}

.mix-count,
.panel-topline #mixCount {
  color: var(--amber);
  font-size: 9px;
}

.mix-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 133px;
  margin-top: 12px;
  overflow-y: auto;
}

.empty-mix {
  margin: 0;
  color: var(--muted-2);
  font-size: 9px;
}

.mix-row {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--cream-dim);
  font-size: 8px;
}

.mix-row i {
  width: 7px;
  height: 7px;
  background: var(--ingredient-color, var(--amber));
}

.mix-row span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mix-row span:last-child {
  margin-left: auto;
  color: var(--muted);
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
  gap: 15px;
}

.result-main {
  padding: 20px;
}

.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.result-heading h2 {
  margin: 8px 0 0;
  color: var(--cream);
  font-size: 26px;
  font-weight: 500;
}

.score-badge {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--muted);
}

.score-badge strong {
  color: var(--amber);
  font-size: 39px;
  font-weight: 500;
}

.score-badge span {
  font-size: 10px;
}

.result-drink-stage {
  position: relative;
  margin-top: 15px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 26%, rgba(239, 184, 102, 0.09), transparent 36%),
    #17252c;
}

#resultCanvas {
  width: 100%;
  height: auto;
  min-height: 260px;
}

.result-caption {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 9px;
}

.result-caption span:first-child {
  color: var(--cream);
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.metric-card {
  padding: 10px;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
}

.metric-card span,
.metric-card strong {
  display: block;
}

.metric-card span {
  color: var(--muted);
  font-size: 8px;
}

.metric-card strong {
  margin-top: 7px;
  color: var(--cream);
  font-size: 18px;
  font-weight: 500;
}

.metric-card em {
  display: block;
  margin-top: 4px;
  color: var(--teal);
  font-size: 7px;
  font-style: normal;
}

.result-actions {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.result-side {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.radar-panel,
.feedback-panel {
  padding: 16px;
}

.target-key {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 7px;
}

.target-key i,
.target-key b {
  display: inline-block;
  width: 8px;
  height: 3px;
}

.target-key i {
  background: var(--coral);
}

.target-key b {
  background: var(--teal);
}

#radarCanvas {
  width: 100%;
  height: auto;
  margin-top: 13px;
}

.radar-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 3px;
}

.radar-legend span {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  color: var(--muted);
  font-size: 8px;
}

.radar-legend b {
  color: var(--cream-dim);
  font-weight: 500;
}

.feedback-panel {
  min-height: 190px;
}

.guest-note-mark {
  color: var(--amber);
  font-size: 19px;
}

.feedback-panel > p {
  margin: 22px 0 17px;
  color: var(--cream);
  font-size: 13px;
  line-height: 1.85;
}

.deviation-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.deviation-row {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  color: var(--muted);
  font-size: 8px;
}

.deviation-row strong {
  color: var(--coral);
  font-weight: 500;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  max-width: 260px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  color: var(--cream);
  background: var(--panel-2);
  box-shadow: 0 10px 24px var(--shadow);
  font-size: 9px;
  opacity: 0;
  transform: translateY(7px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-hidden {
  display: none !important;
}

/* Readability and glassware pass */
.eyebrow,
.section-kicker {
  font-size: 10px;
}

.service-status,
.mode-tab {
  font-size: 11px;
}

.rail-clock small,
.rail-stats span,
.bar-note small,
.cta-hint,
.callout-meta,
.card-index,
.card-footer,
.target-label,
.panel-count,
.mode-label {
  font-size: 10px;
}

.bar-note p {
  font-size: 14px;
}

.mode-callout div:nth-child(2) span,
.selection-card .card-subtitle {
  font-size: 11px;
}

.card-tags span,
.flavor-tags span {
  font-size: 9px;
}

.card-footer {
  letter-spacing: 0.1px;
}

.order-copy {
  font-size: 12px;
}

.guest-profile p,
.guest-meta,
.target-label strong,
.measure-wrap label,
.step-list li,
.bench-footer,
.canvas-readout,
.mix-row,
.deviation-row {
  font-size: 10px;
}

.ingredient-copy strong,
.tool-copy strong {
  font-size: 10px;
}

.ingredient-copy span,
.tool-copy span {
  font-size: 8px;
}

.ingredient-measure {
  font-size: 9px;
}

.metric-card span,
.metric-card em,
.radar-legend span,
.toast {
  font-size: 9px;
}

.metric-card strong {
  font-size: 20px;
}

.feedback-panel > p {
  font-size: 15px;
}

.card-glass.is-rocks {
  width: 54px;
  height: 57px;
  border-top: 0;
  border-radius: 0 0 5px 5px;
}

.card-glass.is-rocks::before {
  right: 4px;
  bottom: 4px;
  left: 4px;
  height: 26px;
  border-radius: 0 0 2px 2px;
}

.card-glass.is-rocks::after {
  top: -5px;
  left: -4px;
  width: 58px;
}

.card-glass.is-highball {
  width: 38px;
  height: 80px;
  border: 2px solid var(--cream-dim);
  border-radius: 2px 2px 5px 5px;
  transform: perspective(80px) rotateX(-2deg);
}

.card-glass.is-highball::before {
  right: 4px;
  bottom: 4px;
  left: 4px;
  height: 36px;
  border-radius: 0 0 3px 3px;
}

.card-glass.is-highball::after {
  top: -5px;
  left: -4px;
  width: 42px;
  height: 5px;
}

.card-glass.is-hurricane {
  width: 44px;
  height: 78px;
  border: 2px solid var(--cream-dim);
  border-radius: 48% 48% 20% 20% / 20% 20% 9% 9%;
  transform: perspective(100px) rotateX(-2deg);
}

.card-glass.is-hurricane::before {
  right: 5px;
  bottom: 5px;
  left: 5px;
  height: 37px;
  border-radius: 40% 40% 15% 15%;
}

.card-glass.is-hurricane::after {
  top: -5px;
  left: -4px;
  width: 46px;
  height: 5px;
}

.card-glass.is-margarita {
  width: 0;
  height: 0;
  border-right: 26px solid transparent;
  border-bottom: 47px solid var(--cream-dim);
  border-left: 26px solid transparent;
  transform: translateY(2px);
}

.card-glass.is-margarita::before {
  right: -18px;
  bottom: -40px;
  left: -18px;
  height: 25px;
  background: var(--drink-color, var(--amber));
  clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%);
}

.card-glass.is-margarita::after {
  top: 45px;
  left: -1px;
  width: 3px;
  height: 31px;
  border: 0;
  background: var(--cream-dim);
  box-shadow: -10px 30px 0 3px var(--cream-dim);
}

.card-glass.is-coupe {
  width: 60px;
  height: 38px;
  border: 2px solid var(--cream-dim);
  border-top: 0;
  border-radius: 0 0 31px 31px / 0 0 17px 17px;
}

.card-glass.is-coupe::before {
  right: 5px;
  bottom: 4px;
  left: 5px;
  height: 20px;
  border-radius: 0 0 25px 25px;
}

.card-glass.is-coupe::after {
  top: -5px;
  left: -4px;
  width: 64px;
  height: 5px;
}

.card-glass.is-martini {
  width: 0;
  height: 0;
  border-right: 27px solid transparent;
  border-bottom: 48px solid var(--cream-dim);
  border-left: 27px solid transparent;
}

.card-glass.is-martini::before {
  right: -18px;
  bottom: -41px;
  left: -18px;
  height: 26px;
  background: var(--drink-color, var(--coral));
  clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%);
}

.card-glass.is-martini::after {
  top: 46px;
  left: -1px;
  width: 3px;
  height: 31px;
  border: 0;
  background: var(--cream-dim);
  box-shadow: -10px 30px 0 3px var(--cream-dim);
}

/* MOONSHOT THEME PASS */
.panel {
  border-radius: 2px;
  border-color: rgba(181, 154, 232, 0.34);
  background:
    linear-gradient(180deg, rgba(34, 36, 60, 0.72), rgba(16, 19, 38, 0.96)),
    var(--panel);
  box-shadow:
    0 18px 42px rgba(3, 3, 13, 0.48),
    inset 0 1px 0 rgba(245, 232, 201, 0.04);
}

.topbar {
  border-bottom-color: rgba(181, 154, 232, 0.34);
}

.mode-switch {
  border-color: rgba(181, 154, 232, 0.55);
  box-shadow: 0 0 0 2px rgba(107, 224, 210, 0.06);
}

.mode-tab.is-active {
  box-shadow: inset 0 -2px 0 var(--pink), 3px 3px 0 rgba(3, 3, 13, 0.25);
}

.lounge-rail {
  position: relative;
  overflow: hidden;
  border-color: rgba(107, 224, 210, 0.32);
  background:
    linear-gradient(180deg, rgba(181, 154, 232, 0.08), transparent 35%),
    linear-gradient(90deg, rgba(107, 224, 210, 0.045), transparent 44%),
    var(--panel);
}

.lounge-rail::before {
  position: absolute;
  right: -94px;
  bottom: 128px;
  width: 270px;
  height: 98px;
  border: 1px solid rgba(181, 154, 232, 0.16);
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg);
}

.lounge-rail::after {
  position: absolute;
  top: 83px;
  right: 24px;
  width: 3px;
  height: 3px;
  background: var(--pink);
  box-shadow: 28px 17px 0 var(--teal), -19px 46px 0 var(--amber), 40px 64px 0 var(--violet);
  content: "";
  opacity: 0.78;
}

.rail-heading,
.rail-clock,
.rail-stats,
.bar-note,
.rail-footer {
  position: relative;
  z-index: 1;
}

.mode-callout {
  border-color: rgba(181, 154, 232, 0.38);
  border-left-color: var(--amber);
  background: rgba(16, 19, 38, 0.78);
  box-shadow: inset 0 1px 0 rgba(245, 232, 201, 0.04);
}

.callout-icon {
  border-color: rgba(107, 224, 210, 0.44);
  background: rgba(107, 224, 210, 0.06);
}

.selection-card {
  border-radius: 2px;
  border-color: rgba(80, 86, 119, 0.86);
  background:
    linear-gradient(180deg, rgba(34, 36, 60, 0.78), rgba(16, 19, 38, 0.92)),
    var(--panel);
  box-shadow: inset 0 0 0 1px rgba(181, 154, 232, 0.05);
}

.selection-card:hover {
  border-color: var(--teal);
  background: var(--panel-2);
  box-shadow: 0 8px 0 rgba(3, 3, 13, 0.24), inset 0 0 0 1px rgba(107, 224, 210, 0.08);
}

.selection-card.is-selected {
  border-color: var(--amber);
  box-shadow: inset 0 -3px 0 var(--amber), 0 0 0 1px rgba(243, 189, 107, 0.15);
}

.card-art {
  border-color: rgba(181, 154, 232, 0.36);
}

.card-art-cocktail {
  border-color: rgba(107, 224, 210, 0.36);
  box-shadow: inset 0 0 0 1px rgba(245, 232, 201, 0.05), inset 0 -22px 32px rgba(3, 8, 11, 0.3);
}

.keycap {
  border-color: var(--violet);
  color: var(--cream);
  background: rgba(181, 154, 232, 0.06);
}

.primary-button {
  border: 1px solid var(--amber);
  box-shadow: 4px 4px 0 rgba(3, 3, 13, 0.34);
}

.primary-button:hover:not(:disabled) {
  box-shadow: 2px 2px 0 rgba(3, 3, 13, 0.34);
}

.subtle-button {
  border-color: rgba(181, 154, 232, 0.55);
  background: rgba(16, 19, 38, 0.58);
}

.workbench-frame {
  border-color: rgba(107, 224, 210, 0.35);
  border-radius: 2px;
  box-shadow:
    0 18px 42px rgba(3, 3, 13, 0.48),
    inset 0 1px 0 rgba(245, 232, 201, 0.04);
}

.workbench-topline {
  border-bottom-color: rgba(181, 154, 232, 0.28);
  background: rgba(16, 19, 38, 0.32);
}

.canvas-wrap {
  background:
    radial-gradient(circle at 50% 27%, rgba(181, 154, 232, 0.09), transparent 31%),
    linear-gradient(180deg, rgba(13, 24, 30, 0.42), transparent 35%, rgba(19, 31, 37, 0.35)),
    #121b2c;
}

.kit-panel,
.mix-panel {
  border-color: rgba(181, 154, 232, 0.32);
}

.vessel-switch {
  border-bottom: 1px solid rgba(107, 224, 210, 0.2);
  background: #121529;
}

.vessel-button {
  border-color: rgba(80, 86, 119, 0.78);
  background: #101326;
}

.vessel-button.is-active {
  border-color: var(--teal);
  background: rgba(107, 224, 210, 0.1);
  box-shadow: inset 0 -2px 0 var(--violet);
}

.ingredient-category,
.garnish-option,
.tool-button,
.metric-card {
  border-color: rgba(80, 86, 119, 0.72);
  background: #101326;
}

.ingredient-category {
  background: rgba(16, 19, 38, 0.72);
}

.category-toggle:hover,
.garnish-option:hover,
.tool-button:hover {
  background: rgba(181, 154, 232, 0.08);
}

.garnish-option.is-selected,
.tool-button.is-active {
  border-color: var(--teal);
  background: rgba(107, 224, 210, 0.1);
}

.kit-divider {
  color: var(--violet);
}

.kit-divider::after {
  background: rgba(181, 154, 232, 0.28);
}

.mix-panel {
  background:
    linear-gradient(180deg, rgba(34, 36, 60, 0.66), rgba(16, 19, 38, 0.92)),
    var(--panel);
}

.result-main,
.radar-panel,
.feedback-panel {
  border-color: rgba(181, 154, 232, 0.34);
}

.result-drink-stage {
  border-color: rgba(107, 224, 210, 0.34);
  box-shadow: inset 0 0 0 1px rgba(245, 232, 201, 0.04);
}

.result-caption {
  border-top-color: rgba(181, 154, 232, 0.24);
}

.metric-card {
  box-shadow: inset 0 2px 0 rgba(107, 224, 210, 0.15);
}

.toast {
  border-color: var(--violet);
  background: #171a31;
  box-shadow: 4px 4px 0 rgba(3, 3, 13, 0.34);
}

/* Crisp labels and unified witness portraits. */
.eyebrow,
.section-kicker,
.card-index,
.cover-art-caption,
.guest-portrait-caption,
.panel-count,
.mode-label,
.guest-meta,
.vessel-button small,
.ingredient-copy span,
.tool-copy span,
.glass-choice-copy small,
.target-key {
  font-family: "Courier New", "Lucida Console", monospace;
  font-weight: 700;
  font-kerning: none;
  text-rendering: optimizeSpeed;
  font-variant-ligatures: none;
  -webkit-font-smoothing: none;
}

.guest-card-art {
  align-items: stretch;
  justify-items: stretch;
  padding: 0;
  background: #101a27;
  border-color: rgba(107, 224, 210, 0.36);
  box-shadow: inset 0 0 0 1px rgba(245, 232, 201, 0.05), inset 0 -22px 32px rgba(3, 8, 11, 0.3);
}

.guest-portrait-art {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  shape-rendering: crispEdges;
}

.guest-portrait-caption {
  position: absolute;
  right: 10px;
  bottom: 9px;
  z-index: 2;
  padding: 3px 5px;
  border: 1px solid rgba(245, 232, 201, 0.2);
  color: rgba(245, 232, 201, 0.76);
  background: rgba(13, 20, 27, 0.62);
  font-size: 8px;
  letter-spacing: 0.8px;
}

.guest-avatar.is-person {
  overflow: hidden;
  padding: 0;
  background: var(--ink-2);
  color: var(--cream);
}

.guest-avatar-art {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  shape-rendering: crispEdges;
}

@media (max-width: 1180px) {
  .app-shell {
    width: min(100% - 28px, 1100px);
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .service-status {
    display: none;
  }

  .bar-layout {
    grid-template-columns: minmax(190px, 0.72fr) minmax(390px, 1.5fr);
  }

  .kit-column {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .kit-panel,
  .mix-panel {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .app-shell {
    width: min(100% - 20px, 620px);
    padding-top: 14px;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-bottom: 13px;
  }

  .mode-switch {
    width: 100%;
  }

  .mode-tab {
    flex: 1;
    justify-content: center;
  }

  .lounge-grid,
  .result-layout,
  .bar-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .lounge-rail {
    display: none;
  }

  .lounge-heading h2 {
    font-size: 22px;
  }

  .selection-grid {
    grid-template-columns: 1fr;
  }

  .selection-card {
    min-height: 210px;
  }

  .card-art {
    height: 110px;
  }

  .lounge-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .order-column {
    display: grid;
    grid-template-columns: 1fr;
  }

  .order-panel {
    min-height: 0;
  }

  .steps-panel {
    min-height: 0;
  }

  .canvas-wrap {
    min-height: 0;
  }

  #barCanvas {
    min-height: 0;
  }

  .kit-column {
    display: flex;
  }

  .result-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-actions {
    flex-direction: column;
  }
}

/* MATERIAL PASS: smoked glass, walnut, brass, and printed-paper UI. */
:root {
  --ink: #0b0d0f;
  --ink-2: #151719;
  --panel: #211b18;
  --panel-2: #2b2420;
  --panel-3: #3a3028;
  --line: #705a46;
  --line-soft: #44372d;
  --cream: #f0e2c8;
  --cream-dim: #cfbea0;
  --muted: #a89d8e;
  --muted-2: #746b61;
  --amber: #d7a363;
  --amber-deep: #89583e;
  --coral: #b96f61;
  --teal: #72aaa0;
  --blue: #849da5;
  --lime: #a9ad7a;
  --violet: #877b6c;
  --pink: #b67a6e;
  --chrome: #c8c5b9;
  --danger: #b86c65;
  --shadow: rgba(0, 0, 0, 0.66);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

html {
  background: #090a0b;
}

body {
  position: relative;
  isolation: isolate;
  background-color: #0b0d0f;
  background-image:
    radial-gradient(circle at 76% 8%, rgba(213, 159, 94, 0.12), transparent 29%),
    radial-gradient(circle at 12% 56%, rgba(95, 139, 126, 0.1), transparent 31%),
    linear-gradient(135deg, rgba(255, 233, 192, 0.025), transparent 38%),
    linear-gradient(315deg, rgba(121, 77, 51, 0.06), transparent 48%);
  background-size: auto;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background:
    radial-gradient(ellipse at 20% 24%, rgba(255, 248, 223, 0.07), transparent 22%),
    radial-gradient(ellipse at 83% 72%, rgba(0, 0, 0, 0.34), transparent 33%),
    linear-gradient(108deg, transparent 0 39%, rgba(255, 232, 190, 0.025) 39.2%, transparent 39.6% 100%);
  background-repeat: no-repeat;
  mix-blend-mode: screen;
}

.brand-lockup h1,
.lounge-heading h2,
.selection-card h3,
.result-heading h2,
.guest-profile h2,
.order-copy strong,
.mode-callout strong {
  font-family: Baskerville, "Iowan Old Style", "Times New Roman", serif;
  letter-spacing: 0.25px;
}

.brand-lockup h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2.4px;
}

.lounge-heading h2 {
  font-size: 30px;
}

.selection-card h3 {
  font-size: 20px;
}

.panel,
.mode-callout,
.selection-card,
.workbench-frame,
.kit-panel,
.mix-panel,
.result-main,
.radar-panel,
.feedback-panel,
.metric-card {
  border-color: rgba(213, 163, 99, 0.34);
  border-radius: 5px;
  background:
    linear-gradient(145deg, rgba(255, 244, 214, 0.065), transparent 22%),
    linear-gradient(180deg, rgba(57, 43, 34, 0.97), rgba(20, 17, 16, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 214, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.62),
    0 16px 38px rgba(0, 0, 0, 0.48);
}

.topbar {
  border-bottom-color: rgba(213, 163, 99, 0.35);
}

.brand-mark {
  border-color: rgba(218, 167, 100, 0.82);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 239, 195, 0.2), transparent 24%),
    linear-gradient(145deg, #453125, #131313 67%);
  box-shadow: inset 0 0 0 3px rgba(214, 161, 94, 0.12), inset 0 -5px 9px rgba(0, 0, 0, 0.55), 4px 5px 0 rgba(0, 0, 0, 0.34);
}

.brand-mark .moon-disc {
  border-color: #e1b26e;
  background: radial-gradient(circle at 30% 28%, #f3d39a, #9a683f 62%, #3c2720 63%);
  box-shadow: inset 4px -2px 0 rgba(78, 45, 29, 0.32), 0 0 8px rgba(225, 178, 110, 0.24);
}

.brand-mark .moon-orbit {
  border-color: rgba(115, 170, 160, 0.78);
}

.mode-switch {
  padding: 4px;
  border-color: rgba(213, 163, 99, 0.52);
  border-radius: 5px;
  background: linear-gradient(180deg, #29211d, #111314);
  box-shadow: inset 0 1px 0 rgba(255, 236, 200, 0.1), inset 0 -2px 0 rgba(0, 0, 0, 0.62), 0 5px 12px rgba(0, 0, 0, 0.32);
}

.mode-tab {
  min-height: 35px;
  border-radius: 3px;
  font-size: 11px;
}

.mode-tab.is-active {
  color: #231812;
  background: linear-gradient(180deg, #e3b777, #a96d43);
  box-shadow: inset 0 1px 0 rgba(255, 246, 217, 0.52), inset 0 -2px 0 rgba(102, 55, 34, 0.5), 0 2px 5px rgba(0, 0, 0, 0.34);
}

.lounge-rail {
  border-color: rgba(207, 153, 91, 0.38);
  background:
    radial-gradient(circle at 68% 13%, rgba(222, 172, 101, 0.11), transparent 23%),
    linear-gradient(160deg, rgba(76, 50, 34, 0.35), transparent 42%),
    linear-gradient(180deg, #241c19, #111314 78%);
  box-shadow: inset 0 1px 0 rgba(255, 242, 214, 0.08), inset -1px 0 0 rgba(0, 0, 0, 0.48), 0 18px 42px rgba(0, 0, 0, 0.46);
}

.lounge-rail::before {
  border-color: rgba(214, 161, 94, 0.19);
  box-shadow: 0 0 24px rgba(214, 161, 94, 0.06);
}

.lounge-rail::after {
  background: var(--amber);
  box-shadow: 28px 17px 0 var(--teal), -19px 46px 0 var(--coral), 40px 64px 0 var(--violet);
}

.lounge-heading::after {
  background: linear-gradient(90deg, rgba(215, 163, 99, 0.76), transparent 44%, transparent 68%, rgba(114, 170, 160, 0.66));
}

.pixel-moon {
  border-color: rgba(211, 163, 99, 0.48);
  background: linear-gradient(145deg, rgba(73, 53, 39, 0.64), rgba(14, 16, 15, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 243, 212, 0.12), 0 4px 10px rgba(0, 0, 0, 0.34);
}

.pixel-moon::before {
  border-color: var(--amber);
  background: radial-gradient(circle at 28% 26%, #f1d49a, #9f6f45 62%, #3e2920 63%);
  box-shadow: inset 5px -2px 0 rgba(68, 40, 27, 0.34), 0 0 8px rgba(215, 163, 99, 0.18);
}

.pixel-moon::after {
  border-color: rgba(114, 170, 160, 0.78);
  box-shadow: 0 -16px 0 -5px var(--coral), 0 0 11px rgba(114, 170, 160, 0.12);
}

.mode-callout {
  border-left-color: var(--amber);
  background: linear-gradient(135deg, rgba(79, 52, 37, 0.58), rgba(20, 18, 17, 0.82));
}

.callout-icon {
  border-color: rgba(215, 163, 99, 0.58);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 242, 207, 0.16), transparent 28%), #30231c;
  box-shadow: inset 0 1px 0 rgba(255, 238, 204, 0.18), inset 0 -2px 0 rgba(0, 0, 0, 0.54);
}

.selection-card {
  border-color: rgba(125, 99, 75, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 239, 202, 0.055), transparent 24%),
    linear-gradient(180deg, #32271f, #171617 82%);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 221, 0.1),
    inset 0 -2px 0 rgba(0, 0, 0, 0.58),
    0 9px 19px rgba(0, 0, 0, 0.32);
}

.selection-card:hover {
  border-color: var(--amber);
  background:
    linear-gradient(145deg, rgba(255, 239, 202, 0.1), transparent 25%),
    linear-gradient(180deg, #3c2e23, #1b1817 82%);
  transform: translateY(-3px) rotateX(1deg);
  box-shadow: inset 0 1px 0 rgba(255, 246, 221, 0.14), inset 0 -2px 0 rgba(0, 0, 0, 0.58), 0 13px 24px rgba(0, 0, 0, 0.46);
}

.selection-card.is-selected {
  border-color: #e0ad68;
  box-shadow: inset 0 -3px 0 var(--amber), inset 0 1px 0 rgba(255, 248, 219, 0.18), 0 0 0 1px rgba(224, 173, 104, 0.2), 0 10px 24px rgba(0, 0, 0, 0.44);
}

.card-art,
.guest-card-art {
  border-color: rgba(196, 150, 91, 0.5);
  border-radius: 3px;
  background: linear-gradient(145deg, #26302c, #0f1313 70%);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, 0.14), inset 0 -12px 20px rgba(0, 0, 0, 0.42), 0 4px 9px rgba(0, 0, 0, 0.26);
}

.card-art-cocktail {
  border-color: rgba(206, 159, 96, 0.62);
  background: linear-gradient(145deg, #26302c, #111514 68%);
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, 0.16), inset 0 -22px 32px rgba(0, 0, 0, 0.42), 0 5px 12px rgba(0, 0, 0, 0.32);
}

.card-art-cocktail::after {
  background: linear-gradient(105deg, rgba(255, 243, 211, 0.14), transparent 26%, transparent 70%, rgba(0, 0, 0, 0.22));
}

.cover-art-svg,
.guest-portrait-art,
.guest-avatar-art {
  image-rendering: auto;
  shape-rendering: geometricPrecision;
}

.cover-art-fallback,
.cover-art-fallback-svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cover-art-fallback {
  z-index: 0;
}

.cover-art-fallback-svg {
  image-rendering: pixelated;
  shape-rendering: crispEdges;
}

.cover-art-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cover-art-caption,
.guest-portrait-caption {
  border-color: rgba(233, 190, 123, 0.38);
  color: rgba(250, 231, 193, 0.84);
  background: linear-gradient(180deg, rgba(34, 26, 21, 0.72), rgba(8, 9, 9, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 244, 211, 0.12), 0 2px 5px rgba(0, 0, 0, 0.28);
}

.guest-card-art {
  background: linear-gradient(145deg, #273430, #101514 70%);
}

.guest-avatar.is-person {
  border: 1px solid rgba(212, 163, 98, 0.46);
  border-radius: 50%;
  background: #171716;
  box-shadow: inset 0 1px 0 rgba(255, 245, 216, 0.12), 0 3px 8px rgba(0, 0, 0, 0.36);
}

.guest-avatar-art {
  width: 100%;
  height: 100%;
}

.primary-button,
.subtle-button,
.keycap,
.vessel-button,
.ingredient-category,
.garnish-option,
.tool-button,
.ingredient-item,
.glass-choice {
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, 0.1), inset 0 -2px 0 rgba(0, 0, 0, 0.48), 0 3px 7px rgba(0, 0, 0, 0.24);
}

.primary-button {
  color: #241911;
  border-color: #e2b373;
  background: linear-gradient(180deg, #e4b879, #a96c43);
  box-shadow: inset 0 1px 0 rgba(255, 248, 221, 0.54), inset 0 -2px 0 rgba(104, 52, 31, 0.46), 3px 4px 0 rgba(0, 0, 0, 0.32);
}

.primary-button:hover:not(:disabled) {
  background: linear-gradient(180deg, #f0ca8c, #b5784c);
  box-shadow: inset 0 1px 0 rgba(255, 248, 221, 0.6), inset 0 -2px 0 rgba(104, 52, 31, 0.46), 1px 2px 0 rgba(0, 0, 0, 0.32);
}

.subtle-button,
.keycap {
  border-color: rgba(180, 137, 89, 0.6);
  background: linear-gradient(180deg, rgba(72, 52, 39, 0.78), rgba(24, 20, 18, 0.92));
}

.subtle-button:hover {
  border-color: var(--amber);
  color: var(--cream);
  background: linear-gradient(180deg, rgba(99, 68, 46, 0.82), rgba(29, 23, 19, 0.94));
}

.workbench-frame {
  border-color: rgba(196, 148, 88, 0.5);
}

.workbench-topline {
  border-bottom-color: rgba(204, 157, 96, 0.34);
  background: linear-gradient(180deg, rgba(74, 51, 37, 0.54), rgba(21, 18, 17, 0.42));
}

.canvas-wrap {
  background:
    radial-gradient(circle at 52% 21%, rgba(215, 163, 99, 0.11), transparent 32%),
    linear-gradient(180deg, rgba(37, 49, 46, 0.7), rgba(15, 19, 18, 0.96) 72%),
    #151a19;
}

.kit-panel,
.mix-panel,
.result-main,
.radar-panel,
.feedback-panel {
  border-color: rgba(190, 143, 87, 0.42);
}

.vessel-switch {
  border-bottom-color: rgba(202, 154, 95, 0.3);
  background: linear-gradient(180deg, #2d251f, #171514);
}

.vessel-button,
.ingredient-category,
.garnish-option,
.tool-button,
.metric-card,
.ingredient-item,
.glass-choice {
  border-color: rgba(118, 91, 68, 0.76);
  background: linear-gradient(145deg, rgba(77, 55, 41, 0.62), rgba(22, 20, 18, 0.92));
}

.vessel-button:hover,
.category-toggle:hover,
.garnish-option:hover,
.tool-button:hover,
.ingredient-item:hover,
.glass-choice:hover {
  border-color: var(--amber);
  background: linear-gradient(145deg, rgba(106, 72, 46, 0.72), rgba(26, 21, 18, 0.96));
}

.vessel-button.is-active,
.garnish-option.is-selected,
.tool-button.is-active,
.glass-choice.is-selected {
  border-color: var(--teal);
  background: linear-gradient(145deg, rgba(72, 115, 105, 0.52), rgba(25, 35, 31, 0.94));
  box-shadow: inset 0 1px 0 rgba(229, 255, 231, 0.18), inset 0 -2px 0 rgba(17, 47, 42, 0.62), 0 3px 8px rgba(0, 0, 0, 0.3);
}

.tool-icon {
  border-color: rgba(204, 166, 111, 0.66);
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(239, 230, 202, 0.22), rgba(71, 79, 72, 0.1) 44%, rgba(13, 16, 15, 0.5));
  box-shadow: inset 1px 1px 0 rgba(255, 249, 224, 0.22), inset -2px -2px 0 rgba(0, 0, 0, 0.38), 0 2px 5px rgba(0, 0, 0, 0.26);
}

.mix-panel {
  background: linear-gradient(145deg, rgba(67, 48, 38, 0.62), rgba(19, 17, 16, 0.94));
}

.metric-card {
  box-shadow: inset 0 2px 0 rgba(114, 170, 160, 0.28), inset 0 -2px 0 rgba(0, 0, 0, 0.42), 0 3px 7px rgba(0, 0, 0, 0.22);
}

.result-drink-stage {
  border-color: rgba(199, 152, 92, 0.48);
  background: linear-gradient(145deg, rgba(68, 52, 40, 0.56), rgba(17, 20, 19, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 243, 212, 0.12), inset 0 -16px 24px rgba(0, 0, 0, 0.36);
}

.toast {
  border-color: rgba(214, 162, 96, 0.7);
  border-radius: 4px;
  background: linear-gradient(180deg, #3a2b22, #171413);
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.14), 4px 5px 0 rgba(0, 0, 0, 0.34);
}

.ingredient-swatch.is-bottle::before,
.ingredient-swatch.is-bottle::after {
  filter: saturate(0.82) contrast(1.08);
}

.ingredient-swatch.is-bottle::before {
  border-color: rgba(250, 233, 199, 0.66);
  box-shadow: inset 2px 0 rgba(255, 255, 255, 0.2), inset -3px 0 rgba(9, 12, 11, 0.28), 1px 2px 3px rgba(0, 0, 0, 0.34);
}

.ingredient-swatch.is-bottle::after {
  border-color: rgba(239, 214, 166, 0.7);
  box-shadow: 0 6px 0 -1px rgba(255, 240, 202, 0.74), 0 1px 3px rgba(0, 0, 0, 0.28);
}

.guest-profile p,
.order-copy,
.selection-card .card-subtitle,
.bar-note p {
  color: #c7b99e;
}

.eyebrow,
.section-kicker,
.card-index,
.panel-count,
.mode-label,
.guest-meta,
.vessel-button small,
.ingredient-copy span,
.tool-copy span,
.glass-choice-copy small,
.target-key {
  font-family: "Courier New", "Lucida Console", monospace;
  font-weight: 700;
  letter-spacing: 0.7px;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* PIXEL MATERIAL PASS: a tighter grid and engraved typography. */
:root {
  --pixel-font: "SFMono-Regular", "Courier New", "Hiragino Sans GB", "PingFang SC", sans-serif;
}

body,
button,
input,
textarea,
select {
  font-family: var(--pixel-font);
  font-weight: 500;
  letter-spacing: 0;
  -webkit-font-smoothing: none;
  text-rendering: geometricPrecision;
  font-variant-ligatures: none;
}

.brand-lockup h1,
.lounge-heading h2,
.selection-card h3,
.result-heading h2,
.guest-profile h2,
.order-copy strong,
.mode-callout strong {
  font-family: var(--pixel-font);
  font-weight: 700;
  letter-spacing: 0.2px;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.72), 0 0 1px rgba(255, 232, 190, 0.26);
  -webkit-font-smoothing: none;
  text-rendering: optimizeSpeed;
}

.brand-lockup h1 {
  font-size: 22px;
  letter-spacing: 2px;
}

.lounge-heading h2 {
  font-size: 27px;
  line-height: 1.35;
}

.selection-card h3 {
  font-size: 18px;
  line-height: 1.4;
}

.selection-card .card-subtitle,
.guest-profile p,
.order-copy,
.bar-note p,
.mode-callout div:nth-child(2) span {
  font-family: var(--pixel-font);
  font-size: 11px;
  line-height: 1.75;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.48);
}

.eyebrow,
.section-kicker,
.card-index,
.card-footer,
.cover-art-caption,
.guest-portrait-caption,
.panel-count,
.mode-label,
.guest-meta,
.vessel-button small,
.ingredient-copy span,
.tool-copy span,
.glass-choice-copy small,
.target-key,
.live-chip,
.callout-meta,
.mix-count,
.canvas-readout,
.bench-footer,
.rail-footer {
  font-family: var(--pixel-font);
  font-weight: 700;
  letter-spacing: 0.7px;
  -webkit-font-smoothing: none;
  text-rendering: optimizeSpeed;
}

/* Every glass preview is drawn from the same 96x104 coordinate system. */
.glass-choice-list {
  gap: 7px;
  margin-top: 10px;
}

.glass-choice {
  position: relative;
  justify-content: space-between;
  min-height: 103px;
  padding: 7px 3px 8px;
  border-color: rgba(167, 126, 79, 0.74);
  background:
    linear-gradient(145deg, rgba(255, 243, 207, 0.08), transparent 32%),
    linear-gradient(180deg, #3a2a21, #171514 86%);
  box-shadow: inset 0 1px 0 rgba(255, 241, 205, 0.15), inset 0 -2px 0 rgba(0, 0, 0, 0.62), 0 3px 8px rgba(0, 0, 0, 0.28);
}

.glass-choice::before {
  position: absolute;
  inset: 3px;
  pointer-events: none;
  border: 1px solid rgba(255, 232, 184, 0.08);
  content: "";
}

.glass-choice:hover {
  transform: translateY(-1px);
  border-color: var(--amber);
}

.glass-choice.is-selected {
  border-color: var(--teal);
  background:
    linear-gradient(145deg, rgba(155, 218, 193, 0.16), transparent 34%),
    linear-gradient(180deg, #25433d, #172522 86%);
  box-shadow: inset 0 1px 0 rgba(224, 255, 227, 0.22), inset 0 -2px 0 rgba(12, 42, 36, 0.7), 0 3px 8px rgba(0, 0, 0, 0.3);
}

.glass-choice-art-svg {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 0 78px;
  width: 76px;
  height: 78px;
  overflow: visible;
  pointer-events: none;
  shape-rendering: geometricPrecision;
}

.glass-choice-copy {
  position: relative;
  z-index: 1;
  padding: 0 2px;
}

.glass-choice-copy strong {
  font-family: var(--pixel-font);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.glass-choice-copy small {
  margin-top: 4px;
  font-family: var(--pixel-font);
  font-size: 7px;
  letter-spacing: 1px;
}

/* Shared bottle grid: cap, neck, shoulder, label, and heel stay on one axis. */
.ingredient-item {
  min-height: 57px;
  padding: 8px 9px;
  background:
    linear-gradient(145deg, rgba(255, 239, 202, 0.08), transparent 28%),
    linear-gradient(180deg, #3a2b22, #1a1715 86%);
}

.ingredient-swatch {
  width: 38px;
  height: 41px;
}

.ingredient-swatch.is-bottle::before {
  top: 7px;
  right: 5px;
  bottom: 1px;
  left: 5px;
  height: auto;
  border: 1px solid rgba(250, 231, 193, 0.72);
  border-radius: 2px 2px 4px 4px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 27%, rgba(0, 0, 0, 0.2) 86%),
    linear-gradient(180deg, transparent 0 39%, rgba(240, 221, 181, 0.86) 39% 57%, transparent 57%),
    var(--ingredient-color, var(--amber));
  box-shadow: inset 2px 0 rgba(255, 255, 255, 0.2), inset -3px 0 rgba(8, 12, 11, 0.28), 1px 2px 3px rgba(0, 0, 0, 0.38);
  clip-path: polygon(31% 0, 69% 0, 73% 9%, 88% 16%, 98% 25%, 100% 100%, 0 100%, 2% 25%, 12% 16%, 27% 9%);
}

.ingredient-swatch.is-bottle::after {
  top: 1px;
  left: 14px;
  width: 10px;
  height: 7px;
  border: 1px solid rgba(251, 231, 188, 0.8);
  border-radius: 1px;
  background: linear-gradient(90deg, #d8c18b, #f3e4b5 42%, #8c6b45);
  box-shadow: inset 0 -2px 0 rgba(76, 46, 28, 0.3), 0 1px 2px rgba(0, 0, 0, 0.42);
  transform: none;
}

.ingredient-swatch.is-whiskey::before,
.ingredient-swatch.is-rye::before {
  clip-path: polygon(29% 0, 71% 0, 75% 9%, 90% 17%, 100% 27%, 98% 100%, 2% 100%, 0 27%, 10% 17%, 25% 9%);
}

.ingredient-swatch.is-tequila::before {
  clip-path: polygon(35% 0, 65% 0, 68% 8%, 82% 14%, 96% 24%, 100% 100%, 0 100%, 4% 24%, 18% 14%, 32% 8%);
}

.ingredient-swatch.is-rum::before,
.ingredient-swatch.is-gin::before {
  border-radius: 6px 6px 4px 4px;
  clip-path: none;
}

.ingredient-swatch.is-gin::before {
  right: 8px;
  left: 8px;
  border-radius: 7px 7px 3px 3px;
}

.ingredient-swatch.is-bitters::before {
  right: 10px;
  left: 10px;
  border-radius: 3px 3px 5px 5px;
  clip-path: none;
}

.ingredient-swatch.is-syrup::before,
.ingredient-swatch.is-liqueur::before,
.ingredient-swatch.is-vermouth::before,
.ingredient-swatch.is-campari::before,
.ingredient-swatch.is-soda::before {
  clip-path: none;
}

.ingredient-swatch.is-syrup::before {
  right: 7px;
  left: 7px;
  border-radius: 5px 5px 3px 3px;
}

.ingredient-copy strong {
  font-family: var(--pixel-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.ingredient-copy span {
  font-size: 8px;
}

.ingredient-measure {
  font-family: var(--pixel-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.56);
}

.mode-tab,
.primary-button,
.subtle-button,
.category-toggle,
.vessel-button,
.tool-button,
.garnish-option,
.keycap {
  font-family: var(--pixel-font);
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.58);
}

.mode-tab:active,
.primary-button:active:not(:disabled),
.subtle-button:active,
.vessel-button:active,
.tool-button:active,
.garnish-option:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.34), inset 0 -1px 0 rgba(255, 240, 203, 0.12);
}

.category-toggle {
  position: relative;
  border-top: 1px solid rgba(255, 234, 195, 0.12);
  background: linear-gradient(180deg, rgba(105, 72, 47, 0.78), rgba(42, 29, 22, 0.94));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.46);
}

.category-toggle::after {
  position: absolute;
  right: 8px;
  bottom: 3px;
  left: 8px;
  height: 1px;
  background: rgba(231, 193, 133, 0.14);
  content: "";
}

.tool-button {
  min-height: 47px;
  background: linear-gradient(145deg, rgba(107, 76, 51, 0.72), rgba(23, 20, 18, 0.95));
}

.tool-button.is-active,
.tool-button:hover {
  background: linear-gradient(145deg, rgba(84, 135, 119, 0.72), rgba(23, 37, 32, 0.96));
}

.tool-icon {
  width: 27px;
  height: 27px;
  border-color: rgba(233, 191, 123, 0.72);
  background: linear-gradient(145deg, rgba(244, 232, 199, 0.26), rgba(62, 63, 56, 0.1) 44%, rgba(12, 14, 13, 0.54));
}

.card-tags span,
.flavor-tags span {
  font-family: var(--pixel-font);
  font-weight: 700;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.52);
}

.cover-art-svg {
  filter: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.34)) saturate(0.9) contrast(1.08);
}

.card-art-cocktail::before {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(237, 195, 126, 0.72) 20%, rgba(237, 195, 126, 0.72) 80%, transparent);
  box-shadow: 0 7px 0 rgba(112, 82, 57, 0.62);
}

/* Keep the pixel grid in proportions and labels, while Chinese copy stays crisp. */
body,
button,
input,
textarea,
select,
.brand-lockup h1,
.lounge-heading h2,
.selection-card h3,
.result-heading h2,
.guest-profile h2,
.order-copy strong,
.mode-callout strong,
.selection-card .card-subtitle,
.guest-profile p,
.order-copy,
.bar-note p,
.mode-callout div:nth-child(2) span {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.brand-lockup h1,
.lounge-heading h2,
.selection-card h3,
.result-heading h2,
.guest-profile h2 {
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.72), 0 0 1px rgba(255, 232, 190, 0.18);
}

@media (max-width: 860px) {
  .glass-choice {
    min-height: 101px;
  }

  .glass-choice-art-svg {
    width: 72px;
    height: 76px;
  }
}

/* TYPE CALIBRATION: one CJK-capable UI face, one deliberately small archive face. */
:root {
  --ui-font: "Hiragino Sans", "PingFang SC", "Hiragino Kaku Gothic ProN", -apple-system, BlinkMacSystemFont, sans-serif;
  --code-font: "SFMono-Regular", "SFNSMono", "Roboto Mono", "Courier New", monospace;
}

body,
button,
input,
textarea,
select {
  font-family: var(--ui-font);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "kern" 1;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.brand-lockup h1,
.eyebrow,
.section-kicker,
.card-index,
.cover-art-caption,
.guest-portrait-caption,
.panel-count,
.mode-label,
.guest-meta,
.vessel-button small,
.ingredient-copy span,
.tool-copy span,
.glass-choice-copy small,
.target-key,
.live-chip,
.callout-meta,
.mix-count,
.canvas-readout,
.bench-footer,
.rail-footer,
.keycap {
  font-family: var(--code-font);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: none;
  text-rendering: optimizeSpeed;
}

.lounge-heading h2,
.selection-card h3,
.result-heading h2,
.guest-profile h2,
.order-copy,
.order-copy strong,
.guest-profile p,
.selection-card .card-subtitle,
.bar-note p,
.mode-callout strong,
.mode-callout div:nth-child(2) span,
.service-status,
.rail-clock small,
.rail-stats span,
.category-title strong,
.card-footer,
.card-footer span:first-child,
.card-tags span,
.glass-choice-copy strong,
.ingredient-copy strong,
.ingredient-measure,
.tool-copy strong,
.garnish-option strong,
.garnish-option small,
.primary-button,
.subtle-button,
.mode-tab,
.category-toggle,
.vessel-button,
.tool-button,
.flavor-tags span,
.target-label,
.target-label strong,
.step-list,
.mix-row,
.deviation-row,
.metric-card,
.result-caption,
.feedback-panel > p {
  font-family: var(--ui-font);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.brand-lockup h1,
.lounge-heading h2,
.selection-card h3,
.result-heading h2,
.guest-profile h2,
.order-copy strong,
.mode-callout strong {
  letter-spacing: 0.035em;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.72), 0 0 1px rgba(255, 232, 190, 0.18);
}

.lounge-heading h2 {
  font-weight: 700;
}

.selection-card h3,
.result-heading h2,
.guest-profile h2 {
  font-weight: 650;
}

.card-tags,
.flavor-tags {
  gap: 6px;
}

.card-tags span,
.flavor-tags span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 4px 9px 3px;
  border: 1px solid rgba(205, 158, 96, 0.62);
  border-radius: 2px;
  color: #f0ddbd;
  background:
    linear-gradient(180deg, rgba(255, 239, 199, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(94, 63, 42, 0.88), rgba(35, 25, 20, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 216, 0.2),
    inset 0 -2px 0 rgba(0, 0, 0, 0.48),
    0 2px 4px rgba(0, 0, 0, 0.22);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.55);
}

.card-tags span::before,
.flavor-tags span::before {
  width: 3px;
  height: 3px;
  margin-right: 5px;
  border: 1px solid rgba(255, 237, 193, 0.55);
  border-radius: 50%;
  background: rgba(232, 184, 112, 0.92);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.42);
  content: "";
}

.flavor-tags span {
  border-color: rgba(113, 174, 161, 0.66);
  color: #c4e1d3;
  background:
    linear-gradient(180deg, rgba(210, 246, 220, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(46, 83, 73, 0.9), rgba(22, 35, 31, 0.96));
}

.flavor-tags span::before {
  background: rgba(132, 202, 178, 0.92);
}

.card-footer {
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.025em;
}

.card-footer span:last-child {
  font-family: var(--code-font);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.card-index,
.cover-art-caption,
.guest-portrait-caption,
.panel-count,
.guest-meta,
.callout-meta,
.vessel-button small,
.ingredient-copy span,
.tool-copy span,
.glass-choice-copy small,
.target-key,
.live-chip {
  letter-spacing: 0.08em;
}

.service-status,
.rail-clock span,
.rail-stats strong,
.score-badge strong,
.score-badge span,
.category-count,
.ingredient-measure,
.mix-count,
.metric-card strong,
.metric-card span,
.metric-card em,
.target-label strong,
.panel-topline > #stepCount,
.bench-fidelity strong {
  font-family: var(--ui-font);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.ingredient-measure,
.category-count,
.mix-count,
.score-badge strong,
.metric-card strong,
.bench-fidelity strong {
  font-weight: 650;
}

.mode-tab,
.primary-button,
.subtle-button,
.category-toggle,
.vessel-button,
.tool-button,
.garnish-option {
  letter-spacing: 0.015em;
}

.garnish-option small,
.vessel-button small,
.tool-copy span,
.ingredient-copy span {
  font-family: var(--code-font);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.glass-choice-copy strong,
.ingredient-copy strong,
.tool-copy strong,
.category-title strong,
.garnish-option strong {
  font-weight: 650;
}

.canvas-readout,
.bench-footer,
.rail-footer {
  font-family: var(--ui-font);
  font-size: 10px;
  letter-spacing: 0.025em;
}

.canvas-readout span:first-child,
.bench-fidelity strong {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
  .card-tags span,
  .flavor-tags span {
    min-height: 22px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 9px;
  }
}

/* Classic archive covers are intentionally hard-edged pixel plates. */
.cover-art-svg {
  image-rendering: pixelated;
  shape-rendering: crispEdges;
  filter: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.38)) saturate(0.94) contrast(1.08);
}

.card-art-cocktail {
  background:
    linear-gradient(180deg, rgba(107, 157, 137, 0.08), transparent 48%),
    #101918;
}

/* Garnish controls are small service trays, not flat icon tiles. */
.garnish-option {
  --garnish-color: var(--amber);
  position: relative;
  isolation: isolate;
  min-height: 72px;
  padding: 8px 4px 7px;
  overflow: hidden;
  border: 1px solid rgba(177, 133, 81, 0.7);
  border-radius: 3px;
  color: #d8c8a8;
  background:
    linear-gradient(145deg, rgba(255, 242, 209, 0.12), transparent 30%),
    linear-gradient(180deg, #4a3426 0%, #2a211b 46%, #171615 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 220, 0.22),
    inset 0 -3px 0 rgba(0, 0, 0, 0.56),
    0 3px 7px rgba(0, 0, 0, 0.34);
  transform: translateY(0);
  transition: border-color 130ms ease, color 130ms ease, background 130ms ease, box-shadow 130ms ease, transform 130ms ease;
}

.garnish-option::before {
  position: absolute;
  z-index: 0;
  inset: 3px;
  border: 1px solid rgba(255, 235, 192, 0.1);
  content: "";
  pointer-events: none;
}

.garnish-option::after {
  position: absolute;
  right: 8px;
  bottom: 4px;
  left: 8px;
  height: 2px;
  background: var(--garnish-color);
  box-shadow: 0 1px 0 rgba(255, 243, 204, 0.28);
  content: "";
  opacity: 0.42;
  pointer-events: none;
}

.garnish-option:hover {
  border-color: var(--garnish-color);
  color: #f4e7c7;
  background:
    linear-gradient(145deg, rgba(255, 242, 209, 0.18), transparent 30%),
    linear-gradient(180deg, #60432d 0%, #30251d 46%, #1a1816 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 220, 0.28),
    inset 0 -3px 0 rgba(0, 0, 0, 0.56),
    0 5px 10px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(220, 171, 102, 0.12);
  transform: translateY(-1px);
}

.garnish-option.is-selected {
  border-color: var(--garnish-color);
  color: #f3ead5;
  background:
    linear-gradient(145deg, rgba(208, 244, 218, 0.14), transparent 32%),
    linear-gradient(180deg, #315048 0%, #233933 48%, #172320 100%);
  box-shadow:
    inset 0 1px 0 rgba(235, 255, 231, 0.26),
    inset 0 -3px 0 rgba(6, 27, 24, 0.72),
    0 4px 9px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(116, 202, 170, 0.2);
}

.garnish-option.is-selected::after {
  opacity: 0.82;
  box-shadow: 0 0 5px var(--garnish-color), 0 1px 0 rgba(255, 247, 215, 0.3);
}

.garnish-option:active {
  box-shadow:
    inset 0 2px 0 rgba(0, 0, 0, 0.38),
    inset 0 -1px 0 rgba(255, 239, 200, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.38);
  transform: translateY(1px);
}

.garnish-option:focus-visible {
  outline: 2px solid rgba(224, 177, 105, 0.9);
  outline-offset: 2px;
}

.garnish-option .garnish-swatch {
  z-index: 1;
  width: 25px;
  height: 19px;
  color: var(--garnish-color);
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.48));
  transform: scale(1.14);
  transform-origin: center;
}

.garnish-option strong,
.garnish-option small {
  position: relative;
  z-index: 1;
}

.garnish-option strong {
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.15;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.58);
}

.garnish-option small {
  margin-top: 1px;
  color: rgba(226, 211, 180, 0.64);
  font-size: 7px;
  line-height: 1;
}

/* Replace abstract line glyphs with low-resolution ingredient specimens. */
.garnish-option {
  min-height: 78px;
}

.garnish-option .garnish-swatch-svg {
  display: grid;
  place-items: center;
  width: 48px;
  height: 34px;
  transform: none;
}

.garnish-swatch-svg::before,
.garnish-swatch-svg::after {
  display: none !important;
  content: none !important;
}

.garnish-sprite {
  display: block;
  width: 48px;
  height: 32px;
  overflow: visible;
  image-rendering: pixelated;
  shape-rendering: crispEdges;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.46));
}

/* Ice service uses the same hand-finished material language as the garnish trays. */
.ice-choice-wrap {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(205, 166, 111, 0.2);
}

.ice-choice-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 2px 8px;
  color: #b9ad99;
  font-family: var(--code-font);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.ice-choice-heading strong {
  color: #e7d7b5;
  font-family: var(--ui-font);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

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

.ice-choice {
  --ice-color: #b7dfe0;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-height: 78px;
  padding: 7px 3px 6px;
  overflow: hidden;
  border: 1px solid rgba(157, 142, 110, 0.72);
  border-radius: 3px;
  color: #d7cbb1;
  background:
    linear-gradient(145deg, rgba(247, 242, 221, 0.13), transparent 31%),
    linear-gradient(180deg, #3e4038 0%, #292b27 47%, #171a19 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 224, 0.24),
    inset 0 -3px 0 rgba(0, 0, 0, 0.56),
    0 3px 7px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transform: translateY(0);
  transition: border-color 130ms ease, color 130ms ease, background 130ms ease, box-shadow 130ms ease, transform 130ms ease;
}

.ice-choice::before {
  position: absolute;
  z-index: 0;
  inset: 3px;
  border: 1px solid rgba(233, 249, 233, 0.13);
  content: "";
  pointer-events: none;
}

.ice-choice::after {
  position: absolute;
  right: 8px;
  bottom: 4px;
  left: 8px;
  height: 2px;
  background: var(--ice-color);
  box-shadow: 0 1px 0 rgba(255, 255, 234, 0.32);
  content: "";
  opacity: 0.46;
  pointer-events: none;
}

.ice-choice:hover {
  border-color: var(--ice-color);
  color: #f2ecd6;
  background:
    linear-gradient(145deg, rgba(228, 255, 246, 0.17), transparent 31%),
    linear-gradient(180deg, #4b554e 0%, #303832 47%, #1a211f 100%);
  box-shadow:
    inset 0 1px 0 rgba(246, 255, 232, 0.3),
    inset 0 -3px 0 rgba(0, 0, 0, 0.58),
    0 5px 10px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(174, 226, 215, 0.13);
  transform: translateY(-1px);
}

.ice-choice.is-selected {
  border-color: #b9e0d7;
  color: #f2eedc;
  background:
    linear-gradient(145deg, rgba(221, 255, 245, 0.18), transparent 32%),
    linear-gradient(180deg, #39534f 0%, #263d38 49%, #172522 100%);
  box-shadow:
    inset 0 1px 0 rgba(235, 255, 237, 0.3),
    inset 0 -3px 0 rgba(6, 27, 24, 0.72),
    0 4px 9px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(133, 215, 197, 0.22);
}

.ice-choice.is-selected::after {
  opacity: 0.9;
  box-shadow: 0 0 5px var(--ice-color), 0 1px 0 rgba(255, 255, 236, 0.36);
}

.ice-choice:active {
  box-shadow:
    inset 0 2px 0 rgba(0, 0, 0, 0.4),
    inset 0 -1px 0 rgba(255, 255, 228, 0.18),
    0 1px 2px rgba(0, 0, 0, 0.38);
  transform: translateY(1px);
}

.ice-choice:focus-visible {
  outline: 2px solid rgba(196, 231, 216, 0.9);
  outline-offset: 2px;
}

.ice-choice-swatch {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 34px;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.5));
}

.ice-choice-sprite {
  display: block;
  width: 48px;
  height: 32px;
  overflow: visible;
  image-rendering: pixelated;
  shape-rendering: crispEdges;
}

.ice-choice strong,
.ice-choice small {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ice-choice strong {
  color: inherit;
  font-family: var(--ui-font);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.1;
}

.ice-choice small {
  color: rgba(219, 222, 201, 0.66);
  font-family: var(--code-font);
  font-size: 6px;
  letter-spacing: 0.06em;
  line-height: 1;
}

/* Instrumentation pass: brass controls, glass bezels, and quiet electronic
   readouts share one physical language across the dossier and result screen. */
.measure-wrap {
  position: relative;
  padding: 15px 7px 17px;
  border-top-color: rgba(214, 161, 94, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 226, 168, 0.035), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 241, 201, 0.04), inset 0 -1px 0 rgba(0, 0, 0, 0.38);
}

.measure-wrap::before {
  position: absolute;
  top: 4px;
  left: 7px;
  width: 4px;
  height: 4px;
  border: 1px solid rgba(223, 180, 111, 0.62);
  background: #4b3829;
  box-shadow: inset 1px 1px 0 rgba(255, 239, 192, 0.28), 0 1px 2px rgba(0, 0, 0, 0.36);
  content: "";
}

.measure-wrap::after {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #79c9b7;
  box-shadow: 0 0 0 2px rgba(121, 201, 183, 0.12), 0 0 7px rgba(121, 201, 183, 0.5);
  content: "";
}

.measure-wrap label {
  position: relative;
  z-index: 1;
  color: #c0b09a;
  font-family: var(--ui-font);
  font-size: 11px;
  letter-spacing: 0.015em;
}

.measure-wrap label strong {
  color: #efb866;
  font-family: var(--code-font);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.72), 0 0 5px rgba(239, 184, 102, 0.12);
}

.measure-slider-shell {
  position: relative;
  margin-top: 15px;
  padding: 12px 0 5px;
}

.measure-slider-shell::before {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 15px;
  border: 1px solid rgba(119, 91, 66, 0.72);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(255, 241, 201, 0.08), transparent 32%, rgba(0, 0, 0, 0.3)),
    #171a1b;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.46), inset 0 -1px 0 rgba(242, 196, 126, 0.08), 0 2px 4px rgba(0, 0, 0, 0.3);
  content: "";
}

.measure-slider-scale {
  position: absolute;
  top: -1px;
  right: 1px;
  left: 1px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(206, 181, 143, 0.62);
  font-family: var(--code-font);
  font-size: 7px;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.measure-slider-scale i {
  flex: 1;
  height: 5px;
  border-top: 1px solid rgba(213, 170, 103, 0.44);
  border-bottom: 1px solid rgba(99, 77, 57, 0.42);
  background: repeating-linear-gradient(90deg, rgba(234, 195, 132, 0.5) 0 1px, transparent 1px 9.09%);
}

.measure-wrap input {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  appearance: none;
  border: 0;
  outline: 0;
  background:
    linear-gradient(180deg, rgba(255, 230, 174, 0.48), rgba(255, 230, 174, 0.04)) center / 100% 2px no-repeat,
    linear-gradient(90deg, #e8ae64 0 var(--measure-progress, 18.18%), #323537 var(--measure-progress, 18.18%) 100%) center / 100% 8px no-repeat;
  cursor: ew-resize;
}

.measure-wrap input::-webkit-slider-runnable-track {
  height: 10px;
  border: 0;
  background: transparent;
}

.measure-wrap input::-webkit-slider-thumb {
  width: 31px;
  height: 25px;
  margin-top: -7px;
  appearance: none;
  border: 1px solid #f5d49b;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(255, 249, 221, 0.64), transparent 19%, transparent 78%, rgba(95, 57, 32, 0.34)),
    linear-gradient(180deg, #f2c47d 0%, #bd7b48 48%, #75462f 100%);
  box-shadow:
    inset 1px 1px 0 rgba(255, 252, 226, 0.76),
    inset -2px -2px 0 rgba(77, 41, 29, 0.5),
    0 2px 0 rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(43, 28, 21, 0.72);
  cursor: grab;
}

.measure-wrap input:active::-webkit-slider-thumb {
  cursor: grabbing;
  box-shadow: inset 1px 2px 0 rgba(67, 35, 25, 0.42), inset -1px -1px 0 rgba(255, 231, 180, 0.32), 0 1px 0 rgba(0, 0, 0, 0.58);
  transform: translateY(1px);
}

.measure-wrap input::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 4px;
  background: #323537;
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 232, 177, 0.12);
}

.measure-wrap input::-moz-range-progress {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(180deg, #f2c47d, #a9653f);
  box-shadow: inset 0 1px 0 rgba(255, 245, 204, 0.46), inset 0 -2px 0 rgba(94, 46, 30, 0.42);
}

.measure-wrap input::-moz-range-thumb {
  width: 29px;
  height: 23px;
  border: 1px solid #f5d49b;
  border-radius: 7px;
  background: linear-gradient(180deg, #f2c47d 0%, #bd7b48 48%, #75462f 100%);
  box-shadow: inset 1px 1px 0 rgba(255, 252, 226, 0.76), inset -2px -2px 0 rgba(77, 41, 29, 0.5), 0 2px 0 rgba(0, 0, 0, 0.52);
}

.measure-wrap input:focus-visible {
  outline: 2px solid rgba(116, 170, 160, 0.82);
  outline-offset: 4px;
}

.rail-clock {
  position: relative;
  margin-top: 34px;
  padding: 18px 14px 18px;
  border: 1px solid rgba(199, 151, 89, 0.62);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(255, 239, 202, 0.08), transparent 32%),
    linear-gradient(180deg, #34261f, #151717 82%);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 207, 0.18),
    inset 0 -3px 0 rgba(0, 0, 0, 0.54),
    0 5px 12px rgba(0, 0, 0, 0.3);
}

.rail-clock::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(237, 200, 139, 0.13);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
  content: "";
  pointer-events: none;
}

.rail-clock::after {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #74aaa0;
  box-shadow: 0 0 0 2px rgba(116, 170, 160, 0.13), 0 0 8px rgba(116, 170, 160, 0.6);
  content: "";
}

.rail-clock span {
  position: relative;
  z-index: 1;
  color: #f1d6a0;
  font-family: var(--code-font);
  font-size: 38px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 3px;
  line-height: 1;
  text-shadow: 1px 2px 0 rgba(62, 31, 23, 0.84), 0 0 8px rgba(239, 184, 102, 0.13);
}

.rail-clock small {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid rgba(214, 161, 94, 0.22);
  color: #a99a85;
  font-family: var(--code-font);
  font-size: 9px;
  letter-spacing: 0.08em;
}

#serviceClock {
  display: inline-block;
  padding: 2px 5px;
  border: 1px solid rgba(116, 170, 160, 0.38);
  color: #83c5b4;
  background: rgba(16, 37, 35, 0.62);
  box-shadow: inset 0 1px 0 rgba(232, 255, 224, 0.12), 0 0 5px rgba(116, 170, 160, 0.1);
  font-family: var(--code-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.radar-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 239, 202, 0.07), transparent 30%),
    linear-gradient(180deg, #30241e, #131716 78%);
  box-shadow: inset 0 1px 0 rgba(255, 243, 210, 0.12), inset 0 -3px 0 rgba(0, 0, 0, 0.52), 0 8px 18px rgba(0, 0, 0, 0.34);
}

.radar-panel::before {
  position: absolute;
  inset: 6px;
  z-index: 0;
  border: 1px solid rgba(233, 194, 128, 0.14);
  content: "";
  pointer-events: none;
}

.radar-panel .panel-topline,
.radar-panel #radarCanvas,
.radar-panel .radar-legend {
  position: relative;
  z-index: 1;
}

.radar-panel .panel-topline {
  padding-bottom: 9px;
  border-bottom-color: rgba(109, 198, 181, 0.2);
}

#radarCanvas {
  margin: 13px auto 0;
  border: 1px solid rgba(116, 170, 160, 0.34);
  background: #0b1516;
  box-shadow:
    inset 0 0 0 2px rgba(5, 10, 11, 0.64),
    inset 0 0 22px rgba(52, 151, 135, 0.1),
    0 3px 7px rgba(0, 0, 0, 0.42);
}

.radar-legend {
  margin-top: 8px;
  padding: 7px 8px 6px;
  border: 1px solid rgba(194, 147, 88, 0.32);
  background: linear-gradient(180deg, rgba(20, 36, 35, 0.82), rgba(12, 18, 18, 0.9));
  box-shadow: inset 0 1px 0 rgba(236, 245, 212, 0.08), inset 0 -2px 0 rgba(0, 0, 0, 0.42);
}

.radar-legend span {
  color: #aeb8a4;
  font-family: var(--code-font);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.radar-legend span:nth-child(odd)::before,
.radar-legend span:nth-child(even)::before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 4px;
  border-radius: 50%;
  background: #70c7b6;
  box-shadow: 0 0 5px rgba(112, 199, 182, 0.48);
  content: "";
}

.radar-legend span:nth-child(odd)::before {
  background: #d28a76;
  box-shadow: 0 0 5px rgba(210, 138, 118, 0.42);
}

.radar-legend b {
  color: #e5c481;
  font-family: var(--code-font);
  font-size: 9px;
  text-shadow: 0 0 5px rgba(229, 196, 129, 0.14);
}

.canvas-readout span:nth-child(2) {
  color: #a9cbc0;
}

.canvas-readout span:nth-child(3) {
  color: #efb866;
  font-family: var(--code-font);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 6px rgba(239, 184, 102, 0.16);
}

.result-caption span:last-child {
  margin-left: auto;
  color: #efb866;
  font-family: var(--code-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

@media (max-width: 860px) {
  .result-caption {
    flex-wrap: wrap;
    gap: 5px 10px;
  }

  .result-caption span:last-child {
    margin-left: auto;
  }
}

.tool-button:disabled,
.tool-button.is-locked {
  border-color: rgba(118, 91, 68, 0.42);
  color: rgba(165, 154, 137, 0.52);
  background: linear-gradient(145deg, rgba(57, 43, 34, 0.5), rgba(18, 17, 16, 0.82));
  cursor: not-allowed;
  filter: saturate(0.52);
  opacity: 0.72;
}

.tool-button:disabled:hover,
.tool-button.is-locked:hover {
  border-color: rgba(118, 91, 68, 0.42);
  color: rgba(165, 154, 137, 0.52);
  transform: none;
}

.tool-button.is-locked .tool-icon {
  color: #9c7252;
}

.tool-button.is-locked .tool-copy span::after {
  margin-left: 4px;
  color: #c4935d;
  content: "LOCK";
  font-size: 6px;
  letter-spacing: 0.08em;
}

.tool-icon-flame::before {
  top: 5px;
  left: 8px;
  width: 9px;
  height: 15px;
  border: 1px solid currentColor;
  background: linear-gradient(180deg, #e77e42 0 48%, #f2c55f 49% 72%, #66c4ba 73%);
  clip-path: polygon(50% 0, 76% 29%, 100% 48%, 88% 100%, 14% 100%, 0 51%, 27% 34%);
  box-shadow: 0 0 5px rgba(231, 126, 66, 0.34);
}

.tool-icon-flame::after {
  top: 17px;
  left: 5px;
  width: 15px;
  height: 2px;
  background: #66c4ba;
  box-shadow: 0 2px 0 rgba(237, 184, 102, 0.62);
}

.tool-icon-flame i::before {
  top: 8px;
  left: 11px;
  width: 3px;
  height: 6px;
  background: #fff1b4;
  clip-path: polygon(50% 0, 100% 47%, 82% 100%, 18% 100%, 0 47%);
}

.glass-choice[data-glass-choice="shot"] .glass-choice-art-svg {
  transform: translateY(4px) scale(0.92);
}

.glass-choice[data-glass-choice="flute"] .glass-choice-art-svg {
  transform: translateY(-1px) scale(0.94);
}

/* New archive ingredients keep their own silhouettes while sharing the same
   bottle glass, foil cap, and pixel-lit produce language. */
.ingredient-swatch.is-scotch::before {
  clip-path: polygon(28% 0, 72% 0, 76% 9%, 91% 17%, 100% 27%, 98% 100%, 2% 100%, 0 27%, 9% 17%, 24% 9%);
  background:
    linear-gradient(90deg, rgba(255,255,255,.34), transparent 27%, rgba(0,0,0,.2) 86%),
    linear-gradient(180deg, transparent 0 39%, rgba(244,218,165,.82) 39% 57%, transparent 57%),
    var(--ingredient-color, #b47a43);
}

.ingredient-swatch.is-cherry-liqueur::before,
.ingredient-swatch.is-coffee::before,
.ingredient-swatch.is-amaretto::before {
  right: 7px;
  left: 7px;
  border-radius: 4px 4px 3px 3px;
  clip-path: none;
}

.ingredient-swatch.is-cherry-liqueur::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.36), transparent 28%, rgba(0,0,0,.22) 88%),
    linear-gradient(180deg, transparent 0 38%, rgba(238,177,135,.8) 38% 56%, transparent 56%),
    var(--ingredient-color, #9d3f4b);
}

.ingredient-swatch.is-coffee::before {
  right: 9px;
  left: 9px;
  border-radius: 5px 5px 4px 4px;
  background:
    linear-gradient(90deg, rgba(255,245,214,.3), transparent 25%, rgba(0,0,0,.28) 85%),
    linear-gradient(180deg, transparent 0 40%, rgba(225,194,140,.7) 40% 57%, transparent 57%),
    var(--ingredient-color, #4a2c25);
}

.ingredient-swatch.is-amaretto::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.36), transparent 27%, rgba(0,0,0,.2) 86%),
    linear-gradient(180deg, transparent 0 39%, rgba(244,218,165,.82) 39% 57%, transparent 57%),
    var(--ingredient-color, #a96d39);
}

.ingredient-swatch.is-irish-cream::before,
.ingredient-swatch.is-absinthe::before,
.ingredient-swatch.is-champagne::before,
.ingredient-swatch.is-dr-pepper::before {
  clip-path: none;
}

.ingredient-swatch.is-irish-cream::before {
  right: 7px;
  left: 7px;
  border-radius: 5px 5px 3px 3px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.48), transparent 27%, rgba(0,0,0,.15) 86%),
    linear-gradient(180deg, transparent 0 38%, rgba(255,245,214,.9) 38% 58%, transparent 58%),
    var(--ingredient-color, #d3c08b);
}

.ingredient-swatch.is-absinthe::before {
  right: 8px;
  left: 8px;
  border-radius: 4px 4px 4px 4px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.4), transparent 25%, rgba(0,0,0,.18) 86%),
    linear-gradient(180deg, transparent 0 37%, rgba(229,239,178,.76) 37% 58%, transparent 58%),
    var(--ingredient-color, #a7bd78);
}

.ingredient-swatch.is-champagne::before {
  top: 7px;
  right: 8px;
  bottom: 1px;
  left: 8px;
  border-radius: 3px 3px 5px 5px;
  background:
    radial-gradient(circle at 32% 56%, rgba(255,255,255,.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 68% 34%, rgba(255,255,255,.72) 0 1px, transparent 1.5px),
    var(--ingredient-color, #e7dca7);
}

.ingredient-swatch.is-champagne::after {
  left: 12px;
  width: 12px;
  background: linear-gradient(90deg, #d7c08a, #fff4d2 42%, #8e724b);
}

.ingredient-swatch.is-dr-pepper::before {
  right: 7px;
  left: 7px;
  border-radius: 5px 5px 4px 4px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.28), transparent 27%, rgba(0,0,0,.3) 86%),
    linear-gradient(180deg, transparent 0 39%, rgba(211,166,107,.72) 39% 57%, transparent 57%),
    var(--ingredient-color, #71372f);
}

.ingredient-swatch.is-coconut::before {
  right: 6px;
  left: 6px;
  border-radius: 4px 4px 3px 3px;
  clip-path: polygon(31% 0, 69% 0, 72% 9%, 87% 16%, 98% 25%, 100% 100%, 0 100%, 2% 25%, 13% 16%, 28% 9%);
  background:
    linear-gradient(90deg, rgba(255,255,255,.48), transparent 27%, rgba(0,0,0,.14) 86%),
    linear-gradient(180deg, transparent 0 37%, rgba(247,239,210,.9) 37% 60%, transparent 60%),
    var(--ingredient-color, #e5d7af);
}

.ingredient-swatch.is-coconut::after {
  left: 13px;
  width: 9px;
  background: linear-gradient(90deg, #d7c08a, #fff4d2 42%, #8e724b);
}

.ingredient-swatch.is-grenadine::before {
  right: 10px;
  left: 10px;
  border-radius: 3px 3px 5px 5px;
  clip-path: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.34), transparent 26%, rgba(0,0,0,.24) 86%),
    linear-gradient(180deg, transparent 0 39%, rgba(246,190,137,.72) 39% 57%, transparent 57%),
    var(--ingredient-color, #b73748);
}

.ingredient-swatch.is-tonic::before,
.ingredient-swatch.is-cola::before {
  right: 7px;
  left: 7px;
  border-radius: 5px 5px 4px 4px;
  clip-path: none;
}

.ingredient-swatch.is-tonic::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.42), transparent 27%, rgba(0,0,0,.16) 86%),
    linear-gradient(180deg, transparent 0 39%, rgba(240,246,209,.88) 39% 57%, transparent 57%),
    var(--ingredient-color, #c6d8ba);
}

.ingredient-swatch.is-cola::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.3), transparent 27%, rgba(0,0,0,.28) 86%),
    linear-gradient(180deg, transparent 0 39%, rgba(210,169,111,.76) 39% 57%, transparent 57%),
    var(--ingredient-color, #6d3c2e);
}

.ingredient-swatch.is-tonic::after,
.ingredient-swatch.is-cola::after {
  left: 12px;
  width: 11px;
  background: linear-gradient(90deg, #d7d7bd, #f4ebc2 42%, #817251);
  box-shadow: inset 0 -2px 0 rgba(76, 46, 28, 0.3), 0 1px 2px rgba(0,0,0,.42);
}

.ingredient-swatch.is-orange::before,
.ingredient-swatch.is-pineapple::before {
  top: 4px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(245,230,200,.52);
}

.ingredient-swatch.is-orange::before {
  background:
    linear-gradient(45deg, transparent 47%, rgba(183,105,42,.55) 49% 52%, transparent 54%),
    linear-gradient(-45deg, transparent 47%, rgba(183,105,42,.55) 49% 52%, transparent 54%),
    var(--ingredient-color, #e1a14e);
}

.ingredient-swatch.is-pineapple::before {
  border-radius: 4px;
  background:
    linear-gradient(45deg, transparent 44%, rgba(139,118,47,.66) 46% 50%, transparent 52%),
    linear-gradient(-45deg, transparent 44%, rgba(139,118,47,.66) 46% 50%, transparent 52%),
    var(--ingredient-color, #d4c36e);
}

.ingredient-swatch.is-orange::after,
.ingredient-swatch.is-pineapple::after {
  top: 1px;
  left: 13px;
  width: 5px;
  height: 6px;
  border: 0;
  background: #6d9a68;
  transform: rotate(-25deg);
}

/* FINAL PIXEL UNIFICATION: the lounge, kit, cards, and result chrome use the
   same fine-grid typography and hard-edged material treatment as the bar art. */
:root {
  --pixel-ui-font: "SFMono-Regular", "Courier New", "Lucida Console", "PingFang SC", "Hiragino Sans GB", monospace;
}

body,
button,
input,
textarea,
select,
.brand-lockup h1,
.lounge-heading h2,
.selection-card h3,
.result-heading h2,
.guest-profile h2,
.order-copy,
.order-copy strong,
.guest-profile p,
.selection-card .card-subtitle,
.bar-note p,
.mode-callout strong,
.mode-callout div:nth-child(2) span,
.service-status,
.rail-clock span,
.rail-clock small,
.rail-stats span,
.rail-stats strong,
.mode-tab,
.primary-button,
.subtle-button,
.category-toggle,
.vessel-button,
.tool-button,
.garnish-option,
.ingredient-copy strong,
.ingredient-copy span,
.ingredient-measure,
.glass-choice-copy strong,
.glass-choice-copy small,
.ice-choice strong,
.ice-choice small,
.card-tags span,
.flavor-tags span,
.target-label,
.target-label strong,
.step-list,
.mix-row,
.metric-card,
.result-caption,
.feedback-panel > p,
.canvas-readout,
.bench-footer {
  font-family: var(--pixel-ui-font) !important;
  -webkit-font-smoothing: none !important;
  text-rendering: optimizeSpeed !important;
  font-variant-ligatures: none;
}

body,
button,
input,
textarea,
select {
  letter-spacing: 0;
}

.brand-lockup h1,
.lounge-heading h2,
.selection-card h3,
.result-heading h2,
.guest-profile h2 {
  letter-spacing: 0.035em;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.82), 0 0 1px rgba(255, 232, 190, 0.2);
}

.panel,
.mode-callout,
.selection-card,
.workbench-frame,
.kit-panel,
.mix-panel,
.result-main,
.radar-panel,
.feedback-panel,
.metric-card,
.mode-tab,
.primary-button,
.subtle-button,
.vessel-button,
.tool-button,
.ingredient-item,
.ingredient-category,
.garnish-option,
.glass-choice,
.ice-choice {
  border-radius: 2px;
}

.panel,
.mode-callout,
.selection-card,
.workbench-frame,
.kit-panel,
.mix-panel,
.result-main,
.radar-panel,
.feedback-panel {
  box-shadow:
    inset 0 1px 0 rgba(255, 242, 214, 0.11),
    inset 0 -2px 0 rgba(0, 0, 0, 0.62),
    3px 4px 0 rgba(0, 0, 0, 0.28);
}

.selection-card,
.mode-tab,
.primary-button,
.subtle-button,
.vessel-button,
.tool-button,
.ingredient-item,
.ingredient-category,
.garnish-option,
.glass-choice,
.ice-choice {
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 220, 0.16),
    inset 0 -2px 0 rgba(0, 0, 0, 0.56),
    2px 3px 0 rgba(0, 0, 0, 0.26);
}

.selection-card:hover,
.tool-button:hover,
.garnish-option:hover,
.glass-choice:hover,
.ice-choice:hover,
.ingredient-item:hover {
  transform: translate(-1px, -1px);
}

.card-art,
.card-art-cocktail,
.guest-card-art,
.result-drink-stage,
.canvas-wrap {
  border-radius: 1px;
  image-rendering: pixelated;
}

.card-art-cocktail::after {
  background: repeating-linear-gradient(0deg, rgba(255, 244, 214, 0.035) 0 1px, transparent 1px 4px), linear-gradient(90deg, rgba(13, 20, 27, 0.22), transparent 28%, transparent 72%, rgba(13, 20, 27, 0.24));
}

.cover-art-svg,
.guest-portrait-art,
.guest-avatar-art,
.glass-choice-art-svg,
.ice-choice-sprite,
.garnish-sprite {
  image-rendering: pixelated !important;
  shape-rendering: crispEdges !important;
}

.ingredient-swatch {
  image-rendering: pixelated;
  filter: saturate(0.92) contrast(1.08);
}

.rail-clock {
  border-radius: 2px;
  background:
    repeating-linear-gradient(0deg, rgba(119, 180, 164, 0.035) 0 1px, transparent 1px 4px),
    linear-gradient(145deg, rgba(255, 239, 202, 0.08), transparent 32%),
    linear-gradient(180deg, #34261f, #151717 82%);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 207, 0.18),
    inset 0 -3px 0 rgba(0, 0, 0, 0.54),
    3px 4px 0 rgba(0, 0, 0, 0.32);
}

.rail-clock span {
  font-family: var(--pixel-ui-font) !important;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.12em;
  -webkit-font-smoothing: none !important;
  text-shadow: 2px 2px 0 rgba(62, 31, 23, 0.86), 0 0 4px rgba(239, 184, 102, 0.16);
}

.rail-clock small,
#serviceClock,
.canvas-readout,
.result-caption span:last-child {
  font-family: var(--pixel-ui-font) !important;
  -webkit-font-smoothing: none !important;
  text-rendering: optimizeSpeed !important;
}

.selection-card h3,
.lounge-heading h2,
.result-heading h2 {
  font-weight: 700;
}

.selection-card .card-subtitle,
.order-copy,
.guest-profile p,
.bar-note p,
.mode-callout div:nth-child(2) span,
.feedback-panel > p {
  line-height: 1.65;
}

/* STRUCTURAL PIXEL FRAME: page chrome now uses the same stepped brass rails as
   the bar canvas instead of thin web-card outlines. */
.topbar {
  border-bottom: 3px solid #56432f !important;
  box-shadow: 0 2px 0 rgba(225, 174, 101, 0.26), 0 5px 0 rgba(0, 0, 0, 0.46);
}

.mode-switch {
  padding: 3px;
  border: 2px solid #5b4634 !important;
  border-radius: 0 !important;
  background: #151616;
  box-shadow: inset 0 1px 0 rgba(255, 239, 197, 0.12), 3px 4px 0 rgba(0, 0, 0, 0.34);
}

.mode-tab {
  min-height: 32px;
  border: 2px solid transparent;
  border-radius: 0 !important;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.42);
}

.mode-tab.is-active {
  border-color: #d8a15e;
  box-shadow: inset 0 1px 0 rgba(255, 247, 214, 0.56), inset 0 -3px 0 rgba(94, 46, 29, 0.48), 2px 2px 0 rgba(0, 0, 0, 0.28);
}

.panel,
.mode-callout,
.selection-card,
.workbench-frame,
.kit-panel,
.mix-panel,
.result-main,
.radar-panel,
.feedback-panel,
.lounge-rail {
  border-width: 3px !important;
  border-style: solid !important;
  border-color: #624a36 !important;
  border-radius: 0 !important;
  box-shadow:
    inset 0 0 0 1px rgba(14, 18, 18, 0.92),
    inset 0 2px 0 rgba(237, 193, 122, 0.22),
    inset 2px 0 0 rgba(237, 193, 122, 0.08),
    inset 0 -3px 0 rgba(0, 0, 0, 0.68),
    4px 5px 0 rgba(0, 0, 0, 0.34);
}

.panel::after,
.workbench-frame::after,
.selection-card::before,
.mode-callout::after {
  position: absolute;
  right: 5px;
  bottom: 5px;
  left: 5px;
  height: 2px;
  background: linear-gradient(90deg, rgba(215, 163, 99, 0.46) 0 18%, transparent 18% 42%, rgba(111, 170, 160, 0.36) 42% 66%, transparent 66% 84%, rgba(215, 163, 99, 0.32) 84% 100%);
  content: "";
  pointer-events: none;
}

.selection-card::before {
  top: 5px;
  right: 5px;
  bottom: auto;
  left: 5px;
  z-index: 3;
  opacity: 0.42;
}

.selection-card.is-selected::before {
  background: linear-gradient(90deg, #efb866 0 30%, transparent 30% 54%, #74aaa0 54% 100%);
  opacity: 0.85;
}

.panel-topline,
.workbench-topline,
.vessel-switch,
.kit-divider,
.serve-bar,
.result-caption {
  border-width: 2px !important;
}

.vessel-switch {
  border: 2px solid #4e4032 !important;
  border-radius: 0 !important;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.5);
}

.vessel-button,
.tool-button,
.ingredient-category,
.ingredient-item,
.garnish-option,
.glass-choice,
.ice-choice,
.metric-card,
.subtle-button,
.primary-button {
  border-width: 2px !important;
  border-radius: 0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 220, 0.18),
    inset 0 -2px 0 rgba(0, 0, 0, 0.58),
    2px 3px 0 rgba(0, 0, 0, 0.28);
}

.vessel-button:hover,
.tool-button:hover,
.ingredient-item:hover,
.garnish-option:hover,
.glass-choice:hover,
.ice-choice:hover,
.subtle-button:hover,
.primary-button:hover:not(:disabled) {
  transform: translate(-1px, -1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 221, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.58),
    3px 4px 0 rgba(0, 0, 0, 0.3);
}

.tool-icon,
.vessel-glyph {
  border-width: 2px !important;
  border-radius: 0 !important;
  box-shadow: inset 1px 1px 0 rgba(255, 249, 224, 0.2), inset -2px -2px 0 rgba(0, 0, 0, 0.42);
}

.ingredient-category-list,
.garnish-list,
.ice-choice-list,
.tool-list {
  gap: 8px;
}

.card-art,
.card-art-cocktail,
.guest-card-art,
.result-drink-stage,
.canvas-wrap,
.radar-panel #radarCanvas {
  border-width: 2px !important;
  border-radius: 0 !important;
  box-shadow:
    inset 0 0 0 1px rgba(6, 12, 14, 0.84),
    inset 0 2px 0 rgba(241, 213, 164, 0.16),
    inset 0 -3px 0 rgba(0, 0, 0, 0.56),
    2px 3px 0 rgba(0, 0, 0, 0.28);
}

.cover-art-caption,
.guest-portrait-caption,
.card-tags span,
.flavor-tags span,
.target-label,
.target-key,
.callout-meta,
.live-chip {
  border-radius: 0 !important;
}

.card-tags span,
.flavor-tags span {
  border-width: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 246, 220, 0.13), 2px 2px 0 rgba(0, 0, 0, 0.24);
}

.rail-clock {
  border-width: 3px !important;
  border-radius: 0 !important;
  box-shadow:
    inset 0 0 0 1px rgba(13, 17, 17, 0.9),
    inset 0 2px 0 rgba(239, 192, 122, 0.22),
    inset 0 -3px 0 rgba(0, 0, 0, 0.64),
    3px 4px 0 rgba(0, 0, 0, 0.34);
}

.rail-clock::before {
  inset: 7px;
  border-width: 2px;
  border-radius: 0;
}

/* PIXEL BOTTLE / PRODUCE SPRITES: no smooth pill silhouettes or circular CSS
   blobs; every thumbnail is built from stepped shoulders, square caps and
   discrete highlight bands like the bar's Canvas bottles. */
.ingredient-swatch.is-bottle {
  width: 31px;
  height: 35px;
  image-rendering: pixelated;
}

.ingredient-swatch.is-bottle::before {
  top: 8px !important;
  right: 4px !important;
  bottom: 0 !important;
  left: 4px !important;
  border: 2px solid rgba(246, 229, 190, 0.82) !important;
  border-radius: 0 !important;
  clip-path: polygon(28% 0, 72% 0, 76% 9%, 91% 18%, 100% 29%, 100% 100%, 0 100%, 0 29%, 9% 18%, 24% 9%) !important;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.38) 0 14%, transparent 14% 28%, rgba(0, 0, 0, 0.22) 28% 82%, rgba(4, 8, 9, 0.42) 82% 100%),
    linear-gradient(180deg, rgba(255, 242, 199, 0.1) 0 25%, rgba(242, 221, 174, 0.86) 25% 48%, transparent 48% 100%),
    var(--ingredient-color, var(--amber)) !important;
  box-shadow:
    inset 2px 0 0 rgba(255, 255, 255, 0.22),
    inset -3px 0 0 rgba(7, 13, 14, 0.34),
    2px 2px 0 rgba(5, 10, 12, 0.58) !important;
}

.ingredient-swatch.is-bottle::after {
  top: 1px !important;
  left: 12px !important;
  width: 9px !important;
  height: 8px !important;
  border: 2px solid rgba(251, 232, 188, 0.9) !important;
  border-radius: 0 !important;
  background:
    linear-gradient(90deg, #b69762 0 22%, #f3e5b5 22% 58%, #80623f 58% 100%) !important;
  box-shadow:
    inset 0 -2px 0 rgba(78, 46, 27, 0.36),
    2px 1px 0 rgba(4, 9, 11, 0.5) !important;
}

.ingredient-swatch.is-whiskey::before,
.ingredient-swatch.is-rye::before,
.ingredient-swatch.is-scotch::before {
  clip-path: polygon(25% 0, 75% 0, 78% 10%, 94% 20%, 100% 29%, 100% 100%, 0 100%, 0 29%, 6% 20%, 22% 10%) !important;
}

.ingredient-swatch.is-tequila::before,
.ingredient-swatch.is-vodka::before {
  clip-path: polygon(34% 0, 66% 0, 70% 9%, 84% 16%, 96% 25%, 100% 100%, 0 100%, 4% 25%, 16% 16%, 30% 9%) !important;
}

.ingredient-swatch.is-rum::before,
.ingredient-swatch.is-gin::before,
.ingredient-swatch.is-vermouth::before {
  clip-path: polygon(27% 0, 73% 0, 75% 11%, 91% 17%, 97% 25%, 97% 100%, 3% 100%, 3% 25%, 9% 17%, 25% 11%) !important;
}

.ingredient-swatch.is-bitters::before {
  right: 9px !important;
  left: 9px !important;
  clip-path: polygon(31% 0, 69% 0, 77% 12%, 88% 20%, 88% 100%, 12% 100%, 12% 20%, 23% 12%) !important;
}

.ingredient-swatch.is-coffee::before,
.ingredient-swatch.is-cherry-liqueur::before,
.ingredient-swatch.is-amaretto::before,
.ingredient-swatch.is-irish-cream::before,
.ingredient-swatch.is-absinthe::before,
.ingredient-swatch.is-coconut::before,
.ingredient-swatch.is-grenadine::before,
.ingredient-swatch.is-tonic::before,
.ingredient-swatch.is-cola::before,
.ingredient-swatch.is-dr-pepper::before,
.ingredient-swatch.is-champagne::before {
  clip-path: polygon(25% 0, 75% 0, 75% 9%, 90% 17%, 96% 25%, 96% 100%, 4% 100%, 4% 25%, 10% 17%, 25% 9%) !important;
}

.ingredient-swatch.is-produce {
  width: 31px;
  height: 35px;
  image-rendering: pixelated;
}

.ingredient-swatch.is-produce::before {
  top: 5px !important;
  left: 3px !important;
  width: 25px !important;
  height: 25px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: 2px 2px 0 rgba(8, 14, 14, 0.52) !important;
}

.ingredient-swatch.is-lime::before,
.ingredient-swatch.is-lemon::before,
.ingredient-swatch.is-orange::before {
  clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%) !important;
  background:
    linear-gradient(45deg, transparent 44% 48%, rgba(57, 107, 64, 0.74) 49% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 44% 48%, rgba(57, 107, 64, 0.74) 49% 52%, transparent 53%),
    var(--ingredient-color, var(--lime)) !important;
}

.ingredient-swatch.is-orange::before {
  background:
    linear-gradient(45deg, transparent 44% 48%, rgba(174, 83, 40, 0.72) 49% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 44% 48%, rgba(174, 83, 40, 0.72) 49% 52%, transparent 53%),
    var(--ingredient-color, var(--amber)) !important;
}

.ingredient-swatch.is-pineapple::before {
  clip-path: polygon(22% 0, 78% 0, 100% 22%, 100% 78%, 78% 100%, 22% 100%, 0 78%, 0 22%) !important;
  background:
    linear-gradient(45deg, transparent 42% 47%, rgba(139, 118, 47, 0.76) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 42% 47%, rgba(139, 118, 47, 0.76) 48% 52%, transparent 53%),
    var(--ingredient-color, #d4c36e) !important;
}

.ingredient-swatch.is-mint::before {
  clip-path: polygon(45% 0, 82% 12%, 74% 35%, 100% 52%, 67% 64%, 75% 100%, 43% 77%, 12% 100%, 24% 62%, 0 52%, 29% 38%, 16% 13%) !important;
  box-shadow: 2px 2px 0 rgba(8, 14, 14, 0.5) !important;
}

/* Fine-pixel alignment pass: the cap, neck and bottle body share one exact
   center line, while one-pixel highlights keep the sprite from looking coarse. */
.ingredient-swatch.is-bottle::before {
  border-width: 1px !important;
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.28),
    inset -2px 0 0 rgba(7, 13, 14, 0.4),
    2px 2px 0 rgba(5, 10, 12, 0.58) !important;
}

.ingredient-swatch.is-bottle::after {
  left: 50% !important;
  width: 11px !important;
  height: 8px !important;
  border-width: 1px !important;
  transform: translateX(-50%) !important;
  box-shadow:
    inset 0 -1px 0 rgba(78, 46, 27, 0.42),
    1px 1px 0 rgba(4, 9, 11, 0.52) !important;
}

.ingredient-swatch.is-produce::before {
  box-shadow:
    inset 1px 1px 0 rgba(255, 247, 196, 0.34),
    inset -2px -2px 0 rgba(52, 73, 52, 0.42),
    2px 2px 0 rgba(8, 14, 14, 0.52) !important;
}

.ingredient-swatch.is-lime::before,
.ingredient-swatch.is-lemon::before,
.ingredient-swatch.is-orange::before,
.ingredient-swatch.is-pineapple::before {
  background-position: 0 0, 0 0, 0 0 !important;
  background-size: auto, auto, auto !important;
}

.ingredient-swatch.is-lime::before,
.ingredient-swatch.is-lemon::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 224, 0.32) 0 12%, transparent 12% 84%, rgba(44, 90, 57, 0.22) 84% 100%),
    linear-gradient(0deg, rgba(42, 91, 57, 0.38) 0 11%, transparent 11% 88%, rgba(255, 252, 199, 0.18) 88% 100%),
    linear-gradient(45deg, transparent 44% 48%, rgba(57, 107, 64, 0.74) 49% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 44% 48%, rgba(57, 107, 64, 0.74) 49% 52%, transparent 53%),
    var(--ingredient-color, var(--lime)) !important;
}

.ingredient-swatch.is-orange::before {
  background:
    linear-gradient(90deg, rgba(255, 244, 187, 0.34) 0 12%, transparent 12% 84%, rgba(141, 65, 36, 0.24) 84% 100%),
    linear-gradient(0deg, rgba(142, 65, 37, 0.38) 0 11%, transparent 11% 88%, rgba(255, 231, 147, 0.2) 88% 100%),
    linear-gradient(45deg, transparent 44% 48%, rgba(174, 83, 40, 0.72) 49% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 44% 48%, rgba(174, 83, 40, 0.72) 49% 52%, transparent 53%),
    var(--ingredient-color, var(--amber)) !important;
}

.ingredient-swatch.is-pineapple::before {
  background:
    linear-gradient(90deg, rgba(255, 244, 183, 0.32) 0 12%, transparent 12% 84%, rgba(116, 83, 42, 0.24) 84% 100%),
    linear-gradient(0deg, rgba(122, 83, 38, 0.4) 0 12%, transparent 12% 88%, rgba(255, 238, 161, 0.18) 88% 100%),
    linear-gradient(45deg, transparent 42% 47%, rgba(139, 118, 47, 0.76) 48% 52%, transparent 53%),
    linear-gradient(-45deg, transparent 42% 47%, rgba(139, 118, 47, 0.76) 48% 52%, transparent 53%),
    var(--ingredient-color, #d4c36e) !important;
}

/* Glass choice cards and quantity control use the same stepped frame language
   as the back-bar objects: thick rails, square corners and no soft pill ends. */
.glass-choice {
  min-height: 106px;
  border: 3px solid #614a36 !important;
  border-radius: 0 !important;
  box-shadow:
    inset 0 0 0 1px rgba(12, 19, 19, 0.9),
    inset 0 2px 0 rgba(239, 193, 122, 0.18),
    inset 0 -3px 0 rgba(0, 0, 0, 0.64),
    3px 4px 0 rgba(0, 0, 0, 0.3) !important;
}

.glass-choice::before {
  inset: 5px !important;
  border: 2px solid rgba(246, 220, 171, 0.12) !important;
  border-radius: 0 !important;
}

.glass-choice-art-svg {
  shape-rendering: crispEdges !important;
  image-rendering: pixelated !important;
  filter: contrast(1.13) saturate(0.92);
}

.glass-choice-art-svg * {
  vector-effect: non-scaling-stroke;
}

.glass-choice-copy strong {
  font-weight: 700;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.72);
}

.measure-slider-shell::before {
  height: 17px;
  border: 2px solid #634b37 !important;
  border-radius: 0 !important;
  box-shadow:
    inset 0 2px 0 rgba(240, 194, 124, 0.2),
    inset 0 -3px 0 rgba(0, 0, 0, 0.64),
    2px 3px 0 rgba(0, 0, 0, 0.32);
}

.measure-slider-scale i {
  height: 7px;
  border-top: 2px solid rgba(213, 170, 103, 0.6);
  border-bottom: 1px solid rgba(99, 77, 57, 0.56);
  background: repeating-linear-gradient(90deg, rgba(234, 195, 132, 0.75) 0 2px, transparent 2px 9.09%);
}

.measure-wrap input {
  background:
    linear-gradient(180deg, rgba(255, 230, 174, 0.55), rgba(255, 230, 174, 0.04)) center / 100% 2px no-repeat,
    linear-gradient(90deg, #e8ae64 0 var(--measure-progress, 18.18%), #323537 var(--measure-progress, 18.18%) 100%) center / 100% 10px no-repeat;
}

.measure-wrap input::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 0;
}

.measure-wrap input::-webkit-slider-thumb {
  width: 34px;
  height: 28px;
  margin-top: -9px;
  border: 2px solid #f5d49b;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 249, 221, 0.66) 0 16%, transparent 16% 78%, rgba(95, 57, 32, 0.36) 78% 100%),
    linear-gradient(180deg, #f2c47d 0%, #bd7b48 48%, #75462f 100%);
  clip-path: polygon(10% 0, 90% 0, 100% 14%, 100% 86%, 90% 100%, 10% 100%, 0 86%, 0 14%);
  box-shadow:
    inset 2px 2px 0 rgba(255, 252, 226, 0.76),
    inset -3px -3px 0 rgba(77, 41, 29, 0.5),
    3px 3px 0 rgba(0, 0, 0, 0.58) !important;
}

.measure-wrap input::-moz-range-track {
  height: 10px;
  border: 0;
  border-radius: 0;
}

.measure-wrap input::-moz-range-progress {
  height: 10px;
  border-radius: 0;
}

.measure-wrap input::-moz-range-thumb {
  width: 30px;
  height: 24px;
  border: 2px solid #f5d49b;
  border-radius: 0;
  background: linear-gradient(180deg, #f2c47d 0%, #bd7b48 48%, #75462f 100%);
  clip-path: polygon(10% 0, 90% 0, 100% 14%, 100% 86%, 90% 100%, 10% 100%, 0 86%, 0 14%);
  box-shadow: inset 2px 2px 0 rgba(255, 252, 226, 0.76), inset -3px -3px 0 rgba(77, 41, 29, 0.5), 3px 3px 0 rgba(0, 0, 0, 0.58);
}

.ingredient-swatch-svg {
  display: grid !important;
  place-items: center;
  width: 36px !important;
  height: 36px !important;
  border: 0 !important;
  background: transparent !important;
  filter: none !important;
}

.ingredient-swatch-pixel {
  display: block;
  width: 36px;
  height: 30px;
  image-rendering: pixelated;
  shape-rendering: crispEdges;
  filter: saturate(0.94) contrast(1.12);
}

/* Load witness portraits from the page base URL so project-site deployments
   do not depend on nested SVG image URL resolution. */
.guest-portrait-image {
  position: absolute;
  top: 10%;
  left: 36.6667%;
  z-index: 1;
  display: block;
  width: 26.6667%;
  height: 56.4706%;
  object-fit: cover;
  object-position: center;
  background: #ddd5ca;
  image-rendering: pixelated;
  shape-rendering: crispEdges;
}

.guest-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
  shape-rendering: crispEdges;
}

/* Lounge instrument readouts: hard-edged numerals without scanlines. */
.rail-clock {
  background:
    linear-gradient(145deg, rgba(255, 239, 202, 0.09), transparent 34%),
    linear-gradient(180deg, #34261f 0%, #191817 80%, #111515 100%) !important;
}

.rail-clock span,
.rail-stats strong,
#serviceClock {
  font-family: var(--pixel-ui-font) !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  -webkit-font-smoothing: none !important;
  text-rendering: optimizeSpeed !important;
  text-shadow:
    2px 2px 0 rgba(46, 25, 19, 0.86),
    0 0 5px rgba(239, 184, 102, 0.16);
}

.rail-clock span {
  font-size: 37px !important;
}

.rail-clock small {
  font-family: var(--pixel-ui-font) !important;
  font-size: 12px !important;
  letter-spacing: 0.08em;
  -webkit-font-smoothing: none !important;
  text-rendering: optimizeSpeed !important;
}

.rail-stats strong {
  display: block;
  min-height: 24px;
  color: #efbd70;
  font-size: 22px !important;
  line-height: 1;
}

.rail-stats span,
.service-status {
  font-family: var(--pixel-ui-font) !important;
  -webkit-font-smoothing: none !important;
  text-rendering: optimizeSpeed !important;
}

.rail-stats span {
  font-size: 10px !important;
  letter-spacing: 0.04em;
}

.service-status {
  font-size: 12px !important;
  letter-spacing: 0.04em;
}

#serviceClock {
  font-size: 14px !important;
}

/* Result instruments: larger readouts keep the measured flavor values legible. */
.metric-card {
  padding: 12px 11px 11px;
}

.metric-card span,
.metric-card em {
  font-size: 10px !important;
}

.metric-card strong {
  margin-top: 8px;
  font-family: var(--pixel-ui-font) !important;
  font-size: 26px !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  -webkit-font-smoothing: none !important;
  text-rendering: optimizeSpeed !important;
  text-shadow: 2px 2px 0 rgba(46, 25, 19, 0.86), 0 0 5px rgba(239, 184, 102, 0.14);
}

.radar-legend span {
  font-family: var(--pixel-ui-font) !important;
  font-size: 10px !important;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: none !important;
  text-rendering: optimizeSpeed !important;
}

.radar-legend b {
  margin-left: 4px;
  font-family: var(--pixel-ui-font) !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: none !important;
  text-rendering: optimizeSpeed !important;
  text-shadow: 1px 1px 0 rgba(46, 25, 19, 0.78);
}

/* GLOBAL TYPE SCALE: a restrained 15% lift for readable desktop text while
   keeping the clock, radar numerals, and pixel artwork at stable dimensions. */
.eyebrow,
.section-kicker,
.card-index,
.panel-count,
.mode-label,
.guest-meta,
.callout-meta,
.live-chip,
.keycap {
  font-size: 10px !important;
}

.brand-lockup h1 {
  font-size: 24px !important;
}

.service-status {
  font-size: 13px !important;
}

.mode-tab {
  font-size: 12px !important;
}

.lounge-heading h2,
.result-heading h2 {
  font-size: 30px !important;
}

.mode-callout strong {
  font-size: 16px !important;
}

.mode-callout div:nth-child(2) span {
  font-size: 11px !important;
}

.selection-card h3 {
  font-size: 21px !important;
}

.selection-card .card-subtitle,
.order-copy,
.bar-note p,
.feedback-panel > p {
  font-size: 12px !important;
}

.card-tags span,
.flavor-tags span,
.card-footer,
.card-footer span:first-child,
.cta-hint {
  font-size: 11px !important;
}

.card-footer span:last-child {
  font-size: 10px !important;
}

.primary-button,
.subtle-button,
.vessel-button,
.tool-button,
.category-toggle {
  font-size: 12px !important;
}

.guest-profile h2 {
  font-size: 21px !important;
}

.guest-profile p,
.guest-meta,
.target-label,
.target-label strong,
.measure-wrap label,
.step-list,
.bench-footer,
.canvas-readout,
.mix-row,
.deviation-row {
  font-size: 11px !important;
}

.ingredient-copy strong,
.tool-copy strong,
.glass-choice-copy strong,
.ice-choice strong,
.garnish-option strong {
  font-size: 11px !important;
}

.ingredient-copy span,
.tool-copy span,
.glass-choice-copy small,
.ice-choice small,
.garnish-option small {
  font-size: 8px !important;
}

.ingredient-measure,
.category-count,
.mix-count,
.ice-choice-heading,
.ice-choice-heading strong,
.glass-choice-heading,
.glass-choice-heading strong {
  font-size: 11px !important;
}

.result-caption,
.metric-card span,
.metric-card em {
  font-size: 11px !important;
}

@media (max-width: 1180px) {
  .lounge-heading h2,
  .result-heading h2 {
    font-size: 26px !important;
  }

  .selection-card h3,
  .guest-profile h2 {
    font-size: 19px !important;
  }

  .selection-card .card-subtitle,
  .order-copy,
  .bar-note p,
  .feedback-panel > p {
    font-size: 11px !important;
  }
}
