:root {
  color-scheme: light;
  --bg: #f2b705;
  --bg-gradient:
    radial-gradient(1200px 800px at 20% 0%, rgba(0, 0, 0, 0.16), transparent 55%),
    radial-gradient(900px 700px at 100% 20%, rgba(0, 0, 0, 0.1), transparent 55%),
    var(--bg);
  --home-hero-bg:
    radial-gradient(900px 560px at 0% 0%, rgba(242, 183, 5, 0.26), transparent 58%),
    radial-gradient(760px 500px at 100% 100%, rgba(242, 183, 5, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(11, 13, 18, 0.84), rgba(11, 13, 18, 0.56)),
    #171107;
  --panel: #29241a;
  --panel-strong: #211e18;
  --page-text: #17130b;
  --panel-soft: rgba(255, 255, 255, 0.06);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.72);
  --border: rgba(255, 255, 255, 0.16);
  --border-soft: rgba(255, 255, 255, 0.1);
  --accent: #f2b705;
  --accent-dark: #0b0d12;
  --danger: #ff5c73;
  --ok: #2fe4ab;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --header-bg: rgba(11, 13, 18, 0.72);
  --header-border: rgba(255, 255, 255, 0.08);
  --footer-bg: rgba(11, 13, 18, 0.62);
  --drawer-solid: rgba(255, 255, 255, 0.96);
  --drawer-bg:
    radial-gradient(780px 520px at 0% 0%, rgba(242, 183, 5, 0.16), transparent 62%),
    var(--drawer-solid);
  --drawer-text: rgba(11, 13, 18, 0.92);
  --drawer-muted: rgba(11, 13, 18, 0.62);
  --drawer-border: rgba(11, 13, 18, 0.12);
  --drawer-surface: rgba(11, 13, 18, 0.06);
  --drawer-sep: rgba(11, 13, 18, 0.12);
  --drawer-chevron: rgba(11, 13, 18, 0.38);
  --drawer-link-active-bg: rgba(242, 183, 5, 0.22);
  --nav-hover-bg:
    linear-gradient(135deg, rgba(255, 216, 116, 0.26), rgba(255, 255, 255, 0.1) 45%, rgba(242, 183, 5, 0.18));
  --nav-hover-border: rgba(255, 216, 116, 0.58);
  --nav-hover-shadow:
    0 12px 24px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --drawer-link-hover-bg:
    linear-gradient(135deg, rgba(242, 183, 5, 0.28), rgba(255, 255, 255, 0.72) 52%, rgba(11, 13, 18, 0.08));
  --drawer-link-hover-border: rgba(242, 183, 5, 0.3);
  --drawer-link-hover-shadow:
    inset 4px 0 0 rgba(242, 183, 5, 0.84),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  --menu-add-bg:
    linear-gradient(135deg, rgba(255, 250, 230, 0.96), rgba(255, 216, 116, 0.9) 48%, rgba(242, 183, 5, 0.78));
  --menu-add-hover-bg:
    linear-gradient(135deg, rgba(255, 255, 245, 0.98), rgba(255, 225, 139, 0.94) 45%, rgba(242, 183, 5, 0.88));
  --menu-add-border: rgba(255, 216, 116, 0.64);
  --menu-add-text: rgba(11, 13, 18, 0.96);
  --menu-add-shadow:
    0 12px 26px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  --menu-add-added-bg:
    linear-gradient(135deg, rgba(225, 255, 244, 0.96), rgba(47, 228, 171, 0.84), rgba(20, 146, 112, 0.82));
  --menu-add-added-text: rgba(5, 29, 22, 0.98);
  --drawer-overlay-bg:
    linear-gradient(
      90deg,
      rgba(30, 20, 2, 0.12) 0%,
      rgba(20, 14, 4, 0.28) 42%,
      rgba(14, 11, 6, 0.5) 100%
    );
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --control-h: 44px;
  --font-body:
    "Plus Jakarta Sans",
    "Manrope",
    "Avenir Next",
    "Segoe UI",
    "Helvetica Neue",
    Arial,
    sans-serif;
  --font-display:
    "Sora",
    "Avenir Next Demi Bold",
    "Plus Jakarta Sans",
    "Segoe UI",
    "Helvetica Neue",
    Arial,
    sans-serif;
}

html[data-theme="dark"] {
  --page-text: #f3f3f3;
  color-scheme: dark;
  --bg: #0b0d12;
  --bg-gradient:
    radial-gradient(900px 700px at 18% 0%, rgba(242, 183, 5, 0.16), transparent 55%),
    radial-gradient(1200px 900px at 100% 10%, rgba(242, 183, 5, 0.08), transparent 55%),
    radial-gradient(900px 700px at 50% 120%, rgba(255, 255, 255, 0.05), transparent 55%),
    var(--bg);
  --home-hero-bg:
    radial-gradient(900px 560px at 0% 0%, rgba(242, 183, 5, 0.16), transparent 58%),
    radial-gradient(760px 500px at 100% 100%, rgba(242, 183, 5, 0.08), transparent 62%),
    #06080f;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --panel-soft: rgba(255, 255, 255, 0.05);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --border: rgba(255, 255, 255, 0.14);
  --border-soft: rgba(255, 255, 255, 0.09);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --header-bg: rgba(11, 13, 18, 0.6);
  --header-border: rgba(255, 255, 255, 0.08);
  --footer-bg: rgba(11, 13, 18, 0.7);
  --drawer-solid: rgba(11, 13, 18, 0.98);
  --drawer-bg:
    radial-gradient(900px 500px at 0% 0%, rgba(242, 183, 5, 0.14), transparent 60%),
    var(--drawer-solid);
  --drawer-text: rgba(255, 255, 255, 0.92);
  --drawer-muted: rgba(255, 255, 255, 0.72);
  --drawer-border: rgba(255, 255, 255, 0.14);
  --drawer-surface: rgba(255, 255, 255, 0.06);
  --drawer-sep: rgba(255, 255, 255, 0.12);
  --drawer-chevron: rgba(255, 255, 255, 0.38);
  --drawer-link-active-bg: rgba(242, 183, 5, 0.16);
  --nav-hover-bg:
    linear-gradient(135deg, rgba(242, 183, 5, 0.2), rgba(255, 255, 255, 0.08) 46%, rgba(105, 148, 219, 0.16));
  --nav-hover-border: rgba(242, 183, 5, 0.46);
  --nav-hover-shadow:
    0 14px 30px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --drawer-link-hover-bg:
    linear-gradient(135deg, rgba(242, 183, 5, 0.22), rgba(255, 255, 255, 0.08) 54%, rgba(105, 148, 219, 0.12));
  --drawer-link-hover-border: rgba(242, 183, 5, 0.28);
  --drawer-link-hover-shadow:
    inset 4px 0 0 rgba(242, 183, 5, 0.82),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --menu-add-bg:
    linear-gradient(135deg, rgba(255, 221, 132, 0.2), rgba(255, 255, 255, 0.08) 42%, rgba(242, 183, 5, 0.18) 68%, rgba(12, 14, 20, 0.92));
  --menu-add-hover-bg:
    linear-gradient(135deg, rgba(255, 221, 132, 0.28), rgba(255, 255, 255, 0.11) 44%, rgba(242, 183, 5, 0.24) 70%, rgba(12, 14, 20, 0.96));
  --menu-add-border: rgba(242, 183, 5, 0.48);
  --menu-add-text: rgba(255, 247, 225, 0.96);
  --menu-add-shadow:
    0 14px 30px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --menu-add-added-bg:
    linear-gradient(135deg, rgba(47, 228, 171, 0.24), rgba(255, 255, 255, 0.08), rgba(12, 14, 20, 0.92));
  --menu-add-added-text: rgba(219, 255, 244, 0.96);
  --drawer-overlay-bg:
    linear-gradient(
      90deg,
      rgba(5, 7, 13, 0.14) 0%,
      rgba(5, 7, 13, 0.34) 42%,
      rgba(5, 7, 13, 0.62) 100%
    );
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg-gradient);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.02;
  font-weight: 950;
}

h2 {
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.08;
}

h3 {
  font-size: 18px;
  line-height: 1.2;
}

p {
  margin: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.94em;
}

button,
.button,
.btn {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--control-h);
  padding: 10px 14px;
  font: inherit;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

button:hover,
.button:hover,
.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(242, 183, 5, 0.46);
  transform: translateY(-1px);
}

button:active,
.button:active,
.btn:active {
  transform: translateY(0);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.button-primary,
button.button-primary,
.btn-primary {
  background: linear-gradient(180deg, #ffd874, var(--accent));
  border-color: rgba(242, 183, 5, 0.72);
  color: rgba(11, 13, 18, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.button-primary:hover,
button.button-primary:hover,
.btn-primary:hover {
  background: linear-gradient(180deg, #ffe097, #f2b705);
  color: rgba(11, 13, 18, 0.98);
}

.button-ghost {
  background: transparent;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

select option {
  background: #12141a;
  color: #fff;
}

label {
  font-weight: 800;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #0b0d12;
}

.app-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.appMain {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.appMain > :not(.pageHome) {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 22px);
}

.skipLink {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 100;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(11, 13, 18, 0.24);
  background: rgba(255, 255, 255, 0.98);
  color: rgba(11, 13, 18, 0.96);
  transform: translateY(-160%);
  transition: transform 140ms ease;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.skipLink:focus-visible {
  transform: translateY(0);
}

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

.surface,
.panel,
.empty-state,
.loyalty-card,
.item-card,
.game-board,
.game-panel,
.staff-order {
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@supports (backdrop-filter: blur(10px)) {
  .surface,
  .panel,
  .empty-state,
  .loyalty-card,
  .item-card,
  .game-board,
  .game-panel,
  .staff-order {
    backdrop-filter: blur(10px);
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.rowScroll,
.rowWrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.appHeader {
  padding: calc(10px + env(safe-area-inset-top, 0px)) 0 10px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(14px);
}

.appHeaderInner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.brandLink {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brandMarkStack {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.brandMark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brandMark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brandText {
  display: grid;
  line-height: 1.1;
}

.brandName {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
}

.brandTag {
  font-size: 12px;
}

.navDesktop {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navDesktop {
  scrollbar-width: none;
}

.navDesktop::-webkit-scrollbar {
  display: none;
}

.nav-form {
  margin: 0;
}

.nav-form button {
  white-space: nowrap;
}

.navDesktop .btn-secondary,
.nav-form button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
}

.navDesktop .btn-secondary::before,
.nav-form button::before,
.appHeaderMenuButton::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--nav-hover-bg);
  opacity: 0;
  transition: opacity 170ms ease;
}

.navDesktop .btn-secondary:hover,
.navDesktop .btn-secondary:focus-visible,
.nav-form button:hover,
.nav-form button:focus-visible {
  border-color: var(--nav-hover-border);
  background: var(--nav-hover-bg);
  box-shadow: var(--nav-hover-shadow);
  color: var(--text);
}

.navDesktop .btn-secondary:hover::before,
.navDesktop .btn-secondary:focus-visible::before,
.nav-form button:hover::before,
.nav-form button:focus-visible::before {
  opacity: 1;
}

.navDesktopLinkLabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.navDesktopBadge,
.dashCartBadge {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(242, 183, 5, 0.42);
  background: linear-gradient(180deg, #ffd874, var(--accent));
  color: rgba(11, 13, 18, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.accountWelcome {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(242, 183, 5, 0.26);
  background: rgba(242, 183, 5, 0.11);
  color: rgba(255, 242, 200, 0.96);
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.drawerWelcome {
  color: var(--drawer-text);
  border-color: rgba(242, 183, 5, 0.34);
  background: rgba(242, 183, 5, 0.18);
}

.appHeaderMenuButton {
  display: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 42px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
    rgba(11, 13, 18, 0.42);
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  touch-action: manipulation;
}

.appHeaderMenuButton:hover,
.appHeaderMenuButton:focus-visible {
  border-color: var(--nav-hover-border);
  background: var(--nav-hover-bg);
  box-shadow: var(--nav-hover-shadow);
}

.appHeaderMenuButton:hover::before,
.appHeaderMenuButton:focus-visible::before {
  opacity: 1;
}

.appHeaderMenuButton.iconButtonActive {
  border-color: rgba(242, 183, 5, 0.42);
  background:
    linear-gradient(180deg, rgba(242, 183, 5, 0.2), rgba(255, 255, 255, 0.08)),
    rgba(11, 13, 18, 0.58);
}

.appHeaderMenuButton:focus-visible {
  outline: 3px solid rgba(242, 183, 5, 0.72);
  outline-offset: 3px;
}

.appHeaderMenuLabel {
  line-height: 1;
}

.iconLines {
  width: 16px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
  opacity: 0.9;
}

.iconLines::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  border-top: 2px solid currentColor;
}

.iconButton {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid var(--drawer-border);
  background: var(--drawer-surface);
  color: var(--drawer-text);
  display: inline-grid;
  place-items: center;
}

.iconX {
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}

.themeToggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  box-shadow: none;
}

.themeToggle:hover {
  background: transparent;
  border-color: transparent;
}

.themeToggleTrack {
  position: relative;
  width: 66px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 164, 101, 0.45);
  background: linear-gradient(115deg, rgba(28, 22, 14, 0.92), rgba(13, 12, 11, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.themeToggleOrb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: radial-gradient(circle at 35% 28%, #ffe5b5 0%, #f6c56f 45%, #ad6d2e 100%);
  box-shadow:
    inset 0 -2px 5px rgba(0, 0, 0, 0.25),
    0 3px 8px rgba(0, 0, 0, 0.25);
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.themeToggleSun,
.themeToggleMoon {
  position: absolute;
  inset: 6px;
  border-radius: var(--radius-pill);
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.themeToggleSun {
  background: radial-gradient(circle at 30% 28%, #fff8e5 0%, #ffd67f 48%, #f4af31 100%);
}

.themeToggleMoon {
  background:
    radial-gradient(circle at 34% 30%, #fff 0 15%, transparent 16%),
    radial-gradient(circle at 68% 60%, #fff 0 10%, transparent 11%),
    radial-gradient(circle at 45% 40%, #dce9ff 0%, #96b6e9 58%, #4f6e98 100%);
  box-shadow: inset -2px -2px 4px rgba(14, 26, 45, 0.42);
  opacity: 0;
  transform: scale(0.45) translate(12px, -9px);
}

.themeToggleSpark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 245, 215, 0.92);
  opacity: 0.35;
}

.themeToggleSparkA {
  top: 4px;
  left: 4px;
}

.themeToggleSparkB {
  right: 3px;
  bottom: 4px;
}

.themeToggleText {
  display: grid;
  line-height: 1.02;
}

.themeToggleTitle {
  font-size: 13px;
  font-weight: 900;
}

.themeToggleSub {
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  opacity: 0.72;
}

.themeToggleDark .themeToggleTrack {
  border-color: rgba(112, 161, 241, 0.55);
  background: linear-gradient(115deg, rgba(11, 16, 29, 0.94), rgba(12, 20, 34, 0.86));
}

.themeToggleDark .themeToggleOrb {
  transform: translateX(30px);
  background: radial-gradient(circle at 35% 28%, #6e97d8 0%, #274164 58%, #0f1e33 100%);
  border-color: rgba(191, 213, 255, 0.3);
}

.themeToggleDark .themeToggleSun {
  opacity: 0;
  transform: scale(0.45) translate(-10px, 10px);
}

.themeToggleDark .themeToggleMoon {
  opacity: 1;
  transform: scale(1);
}

.themeToggleCompact {
  min-height: 32px;
}

.themeToggleCompact .themeToggleTrack {
  width: 58px;
  height: 32px;
}

.themeToggleCompact .themeToggleOrb {
  width: 24px;
  height: 24px;
}

.themeToggleCompact.themeToggleDark .themeToggleOrb {
  transform: translateX(26px);
}

.themeToggleCompact .themeToggleText {
  display: none;
}

.drawerOverlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--drawer-overlay-bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  backdrop-filter: blur(3px);
}

.drawerOverlayOpen {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 50;
  width: min(90vw, 420px);
  max-width: calc(100vw - 14px);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  padding:
    calc(14px + env(safe-area-inset-top, 0px))
    calc(14px + env(safe-area-inset-right, 0px))
    calc(14px + env(safe-area-inset-bottom, 0px))
    14px;
  border-left: 1px solid var(--drawer-border);
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
  background: var(--drawer-bg);
  color: var(--drawer-text);
  box-shadow: -20px 0 56px rgba(0, 0, 0, 0.34);
  transform: translateX(110%);
  visibility: hidden;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(18px);
}

.drawerOpen {
  visibility: visible;
  transform: translateX(0);
}

body.navOpen {
  overflow: hidden;
}

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

.drawerTop .brandText {
  display: grid;
}

.drawer .muted {
  color: var(--drawer-muted);
}

.drawer .pill {
  color: var(--drawer-muted);
  border-color: var(--drawer-border);
  background: var(--drawer-surface);
}

.drawer .themeToggle {
  color: var(--drawer-text);
}

.drawerContent {
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawerStatus,
.drawerLinks {
  border: 1px solid var(--drawer-border);
  border-radius: var(--radius-lg);
  background: var(--drawer-surface);
  overflow: hidden;
}

.drawerStatusRow,
.drawerLink {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 52px;
  padding: 12px 14px;
  border: 0;
  border-top: 1px solid var(--drawer-sep);
  background: transparent;
  color: var(--drawer-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: inherit;
  font-weight: 850;
  text-align: left;
  width: 100%;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.drawerLink::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--drawer-link-hover-bg);
  opacity: 0;
  transition: opacity 170ms ease;
}

.drawerLink:hover,
.drawerLink:focus-visible {
  border-top-color: var(--drawer-link-hover-border);
  background: var(--drawer-link-hover-bg);
  box-shadow: var(--drawer-link-hover-shadow);
  color: var(--drawer-text);
  transform: translateX(-1px);
}

.drawerLink:hover::before,
.drawerLink:focus-visible::before {
  opacity: 1;
}

.drawerStatusRow:first-child,
.drawerLink:first-child {
  border-top: 0;
}

.drawerStatusLabel {
  font-family: var(--font-display);
  font-weight: 950;
}

.drawerStatusMeta,
.drawerLinkLabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.drawerLinkMeta {
  margin-left: auto;
  color: var(--drawer-muted);
  font-size: 12px;
  font-weight: 850;
}

.drawerStatusValue {
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--drawer-border);
  color: var(--drawer-muted);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
}

.drawerStatusValueAccent {
  color: var(--drawer-text);
  border-color: rgba(242, 183, 5, 0.46);
  background: rgba(242, 183, 5, 0.18);
}

.drawerStatusChevron,
.drawerLink::after {
  color: var(--drawer-chevron);
  font-size: 18px;
}

.drawerLink::after {
  content: "›";
}

.drawerLinkBadge {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(242, 183, 5, 0.38);
  background: linear-gradient(180deg, rgba(255, 219, 132, 0.96), rgba(242, 183, 5, 0.92));
  color: rgba(11, 13, 18, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 950;
}

.drawer-form {
  margin: 0;
}

.messages {
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.message {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  background: rgba(11, 13, 18, 0.78);
  padding: 12px 14px;
}

.message-success {
  border-left-color: var(--ok);
}

.message-error {
  border-left-color: var(--danger);
}

.page {
  padding: calc(18px + env(safe-area-inset-top, 0px)) 0 calc(40px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 16px;
}

.appMain > .container.pageHome {
  flex: 1;
  display: flex;
  max-width: none;
  padding-inline: 0;
}

.pageHome {
  flex: 1;
  min-height: 0;
  padding: 0;
  gap: 0;
  background: var(--home-hero-bg);
  --home-content-max-width: min(100%, 1000px);
  --home-hero-pad-top: clamp(16px, 3vw, 28px);
  --home-hero-pad-inline: clamp(16px, 4.2vw, 42px);
  --home-hero-pad-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

.pageHome .dashHero {
  width: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  padding: var(--home-hero-pad-top) var(--home-hero-pad-inline) var(--home-hero-pad-bottom);
}

.pageHome :is(.dashMeta, .dashLead, .dashWidgets, .dashCtas, .dashFooter) {
  width: 100%;
  max-width: var(--home-content-max-width);
  margin-inline: auto;
  animation: homeEnter 230ms cubic-bezier(0.22, 1, 0.36, 1) var(--home-enter-delay, 0ms) both;
}

@keyframes homeEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashMeta {
  --home-enter-delay: 0ms;
  margin-top: 10px;
}

.dashLead {
  --home-enter-delay: 50ms;
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.dashLeadTitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 5.4vw, 48px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
}

.dashLeadSub {
  font-size: 14px;
  line-height: 1.65;
  max-width: 55ch;
}

.dashWidgets {
  --home-enter-delay: 90ms;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.widgetCard {
  min-height: 86px;
  padding: 14px;
  display: grid;
  gap: 8px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.06);
  transition:
    background 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.widgetCard:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(242, 183, 5, 0.36);
  transform: translateY(-1px);
}

.widgetTop {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.widgetTitle {
  font-family: var(--font-display);
  font-weight: 950;
  letter-spacing: 0;
}

.widgetHint {
  font-size: 12px;
  line-height: 1.5;
}

.dashProgress {
  margin-top: 4px;
  width: 100%;
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  overflow: hidden;
  appearance: none;
}

.dashProgress::-webkit-progress-bar {
  background: transparent;
}

.dashProgress::-webkit-progress-value,
.dashProgress::-moz-progress-bar {
  background: linear-gradient(90deg, rgba(242, 183, 5, 0.96), rgba(255, 255, 255, 0.36));
  border-radius: var(--radius-pill);
}

.dashCtas {
  --home-enter-delay: 130ms;
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.dashCtaPrimary,
.dashCtaSmall {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  transition:
    background 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.dashCtaPrimary {
  min-height: 74px;
  padding: 14px;
  border-color: rgba(242, 183, 5, 0.42);
  background: rgba(242, 183, 5, 0.18);
}

.dashCtaPrimary:hover,
.dashCtaSmall:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.dashCtaPrimaryTitle,
.dashCtaSmallTitle {
  display: block;
  font-family: var(--font-display);
  font-weight: 950;
  letter-spacing: 0;
}

.dashCtaPrimaryTitle {
  font-size: 17px;
}

.dashCtaPrimarySub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}

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

.dashCtaSmall {
  min-height: 50px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.dashCtaMeta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.dashArrow,
.dashCtaSmallArrow {
  font-weight: 950;
  opacity: 0.75;
}

.dashFooter {
  --home-enter-delay: 170ms;
  margin-top: auto;
  padding-top: 16px;
}

.dashFooterSingle {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.page-title,
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  margin-bottom: 18px;
}

.page-title {
  display: block;
}

/* Headings outside dark panels sit directly on the theme background. */
.page-title,
.section-heading,
.menuSectionHeader,
.page-title .eyebrow,
.page-title .lede,
.section-heading .eyebrow,
.menuSectionHeader .eyebrow {
  color: var(--page-text);
}

.eyebrow,
.item-category {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 650px;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dashboard-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto 26px;
}

.dashboard-strip div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.dashboard-strip strong,
.dashboard-strip span {
  display: block;
}

.dashboard-strip strong {
  font-size: 28px;
  line-height: 1;
}

.dashboard-strip span {
  color: var(--muted);
  margin-top: 6px;
}

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

.menuHero {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 4vw, 26px);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background:
    radial-gradient(720px 360px at 0% 0%, rgba(255, 255, 255, 0.1), transparent 62%),
    linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
}

.menuHeroText {
  display: grid;
  gap: 8px;
  max-width: 720px;
}

.menuHeroText h1 {
  font-size: clamp(34px, 8vw, 64px);
  line-height: 0.98;
}

.menuHeroText p {
  max-width: 58ch;
  font-size: clamp(14px, 2.2vw, 17px);
  line-height: 1.65;
}

.menuHeroActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cartLiveRegion {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.premiumMenuSection {
  scroll-margin-top: 92px;
}

.menuSectionHeader {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.menuSectionHeader h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 4vw, 34px);
}

.premiumItemGrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 1180px) {
  .premiumItemGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.item-card {
  min-height: 250px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.item-card p {
  color: var(--muted);
  line-height: 1.5;
}

.item-card.is-muted {
  opacity: 0.62;
}

.menuItemCard {
  min-height: 0;
  padding: 14px;
  border-radius: 18px;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    #29241a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.menuItemBody {
  display: grid;
  gap: 10px;
}

.menuItemTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.menuItemTop h3 {
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.15;
}

.menuItemDescription {
  min-height: 44px;
  font-size: 13px;
}

.card-actions {
  display: grid;
  grid-template-columns: minmax(58px, 82px) auto auto;
  align-items: center;
  gap: 8px;
}

.card-actions input {
  min-width: 0;
}

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

.menuAddForm {
  grid-template-columns: minmax(82px, 0.44fr) minmax(132px, 1fr);
  align-items: stretch;
}

.menuCustomize {
  grid-column: 1 / -1;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.menuCustomize summary {
  min-height: 42px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

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

.menuCustomize summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--muted);
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.menuCustomize[open] summary::after {
  content: "-";
}

.addOnChoices {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
}

.addOnChoice {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  font-size: 13px;
}

.addOnChoice input {
  width: auto;
  min-height: auto;
  accent-color: var(--accent);
}

.addOnChoice strong {
  white-space: nowrap;
}

.quantityControl {
  min-height: var(--control-h);
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px;
  align-items: center;
}

.quantityControl span:not(.sr-only) {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.quantityControl input {
  width: 100%;
  min-height: 30px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  text-align: right;
}

.menuAddButton {
  width: 100%;
  border-color: var(--menu-add-border);
  background: var(--menu-add-bg);
  color: var(--menu-add-text);
  box-shadow: var(--menu-add-shadow);
  font-weight: 950;
}

.menuAddButton:hover,
.menuAddButton:focus-visible {
  border-color: var(--menu-add-border);
  background: var(--menu-add-hover-bg);
  color: var(--menu-add-text);
}

.menuAddButton.isAdded {
  border-color: rgba(47, 228, 171, 0.5);
  background: var(--menu-add-added-bg);
  color: var(--menu-add-added-text);
}

.menuAddForm.isSubmitting .menuAddButton {
  opacity: 0.82;
}

.cartActionStatus {
  min-height: 17px;
  grid-column: 1 / -1;
  color: rgba(220, 255, 244, 0.94);
  font-size: 12px;
  font-weight: 850;
}

.lineAddOns {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.price {
  font-weight: 900;
}

.menu-section {
  margin-top: 28px;
}

.menu-section h2 {
  margin-bottom: 12px;
}

.panel,
.empty-state,
.loyalty-card {
  padding: 20px;
}

.empty-state {
  display: grid;
  gap: 14px;
  align-items: start;
}

.narrow {
  max-width: 640px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.form-panel p,
.form-panel > div:not(.checkoutPaymentActions) {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.feedbackAccountEmail {
  padding: 10px 12px;
  border: 1px solid rgba(242, 183, 5, 0.24);
  border-radius: var(--radius-md);
  background: rgba(242, 183, 5, 0.1);
  color: var(--muted);
  font-size: 13px;
}

.feedbackAccountEmail strong {
  color: rgba(255, 242, 200, 0.96);
}

.form-panel .helptext,
.form-panel ul,
.errorlist {
  color: var(--muted);
  font-size: 13px;
}

.form-panel ul,
.errorlist {
  margin: 0 0 16px;
  padding-left: 18px;
}

.summary-row,
.order-line,
.manager-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--border-soft);
  padding: 12px 0;
}

.order-line {
  grid-template-columns: minmax(180px, 1fr) 86px auto auto auto;
}

.order-line span,
.manager-row span,
.muted {
  color: var(--muted);
}

.status-pill,
.manager-row .status-pill {
  display: inline-flex;
  width: fit-content;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #ffd874, var(--accent));
  color: rgba(11, 13, 18, 0.96);
  font-weight: 900;
  padding: 6px 10px;
}

.paymentNotice {
  display: grid;
  gap: 4px;
  margin: 14px 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
}

.paymentNotice strong {
  color: var(--text);
}

.paymentNotice span {
  color: var(--muted);
}

.paymentNoticeSuccess {
  border-color: rgba(47, 228, 171, 0.42);
  background: linear-gradient(135deg, rgba(47, 228, 171, 0.16), rgba(255, 255, 255, 0.06));
}

.paymentNoticeSuccess strong {
  color: var(--ok);
}

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

.orderHistoryCard {
  display: grid;
  gap: 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 260px at 0% 0%, rgba(242, 183, 5, 0.12), transparent 60%),
    linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
  padding: 18px;
}

.orderHistoryCardTop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.orderHistoryCardTop h2 {
  margin: 0;
  font-size: 22px;
}

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

.orderHistoryMeta span {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 10px;
}

.orderHistoryItems {
  display: grid;
  gap: 8px;
  min-height: 72px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.orderHistoryCard .button {
  justify-self: start;
}

.loyalty-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(680px 360px at 0% 0%, rgba(242, 183, 5, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(11, 13, 18, 0.88), rgba(11, 13, 18, 0.62));
}

.loyalty-card-animated::before {
  content: "";
  position: absolute;
  inset: -45% auto -45% -30%;
  width: 42%;
  transform: rotate(14deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  animation: loyaltySheen 5.2s ease-in-out infinite;
  pointer-events: none;
}

.loyalty-card-copy,
.loyalty-qr-panel,
.stamps {
  position: relative;
  z-index: 1;
}

.loyalty-card h2 {
  font-size: clamp(18px, 4vw, 30px);
}

.loyaltyRewardSummary {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.loyaltyRewardSummary span,
.loyaltyRewardSummary strong {
  width: fit-content;
  max-width: 100%;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
}

.loyaltyRewardSummary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.loyaltyRewardSummary strong {
  color: rgba(255, 242, 200, 0.96);
  border-color: rgba(242, 183, 5, 0.28);
  background: rgba(242, 183, 5, 0.12);
  font-size: 13px;
}

.loyalty-card-code {
  overflow-wrap: anywhere;
}

.loyalty-qr-panel {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.loyalty-qr-panel .muted {
  margin: 0;
  text-align: center;
}

.loyalty-qr-frame {
  width: min(220px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.34),
    0 0 0 8px rgba(255, 255, 255, 0.08);
  padding: 10px;
  position: relative;
  animation: loyaltyQrFloat 3.8s ease-in-out infinite;
}

.loyalty-qr-frame::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 14%;
  height: 2px;
  border-radius: var(--radius-pill);
  background: rgba(47, 228, 171, 0.72);
  box-shadow: 0 0 18px rgba(47, 228, 171, 0.68);
  animation: loyaltyQrScan 2.6s ease-in-out infinite;
}

.loyaltyQr {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.stamps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 380px);
}

.loyaltyProgressBoard {
  grid-column: 1 / 2;
  width: min(100%, 420px);
  padding: 14px;
  border: 1px solid rgba(242, 183, 5, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(11, 13, 18, 0.34);
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

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

.loyaltyProgressTop span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.loyaltyProgressTop strong {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(242, 183, 5, 0.14);
  color: rgba(255, 242, 200, 0.96);
  font-size: 12px;
  font-weight: 950;
}

.loyaltyStampProgress {
  width: 100%;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  appearance: none;
}

.loyaltyStampProgress::-webkit-progress-bar {
  background: transparent;
}

.loyaltyStampProgress::-webkit-progress-value,
.loyaltyStampProgress::-moz-progress-bar {
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(242, 183, 5, 0.98), rgba(47, 228, 171, 0.78));
}

.stamps > span,
.loyaltyStamp {
  aspect-ratio: 1;
  border: 2px dashed rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 900;
}

.custom-stamps {
  width: 100%;
}

.loyaltyStamp {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.09), transparent 46%),
    rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.62);
}

.loyaltyStamp::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: -1;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.loyaltyStampIcon {
  font-family: var(--font-display);
  font-size: clamp(13px, 3vw, 18px);
  line-height: 1;
  letter-spacing: 0;
}

.loyaltyStampNumber {
  position: absolute;
  right: 8px;
  bottom: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  line-height: 1;
}

.stamps > .is-filled,
.loyaltyStamp.is-filled {
  border-color: rgba(242, 183, 5, 0.72);
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.32), transparent 42%),
    linear-gradient(145deg, rgba(255, 222, 132, 0.98), rgba(242, 183, 5, 0.92) 54%, rgba(176, 119, 0, 0.9));
  color: rgba(11, 13, 18, 0.96);
  box-shadow:
    0 0 0 4px rgba(242, 183, 5, 0.14),
    0 12px 22px rgba(0, 0, 0, 0.22);
}

.loyaltyStamp.is-filled::after {
  content: "";
  position: absolute;
  inset: -35%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-70%) rotate(18deg);
  animation: loyaltyStampFlash 2.8s ease-in-out infinite;
  animation-delay: calc(var(--stamp-index, 1) * 95ms);
}

.loyaltyStamp.is-filled .loyaltyStampNumber {
  color: rgba(11, 13, 18, 0.58);
}

.animated-stamps {
  justify-self: start;
}

.animated-stamps > span {
  animation: stampRise 420ms ease both;
  animation-delay: calc(var(--stamp-index, 1) * 50ms);
}

.staffPage {
  --staff-border: rgba(47, 228, 171, 0.18);
  --staff-surface: rgba(5, 11, 16, 0.68);
  --staff-surface-strong: rgba(5, 11, 16, 0.86);
}

.staffHero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid var(--staff-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(47, 228, 171, 0.18), transparent 62%),
    linear-gradient(135deg, rgba(5, 11, 16, 0.92), rgba(14, 19, 26, 0.76));
  box-shadow: var(--shadow);
}

.staffHero h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 0.98;
}

.staffHeroActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.staffAccessPill {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(47, 228, 171, 0.34);
  border-radius: var(--radius-pill);
  background: rgba(47, 228, 171, 0.12);
  color: rgba(220, 255, 244, 0.96);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.staffQuickButton {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
}

.staffQuickButton:hover {
  border-color: rgba(47, 228, 171, 0.34);
  background: rgba(47, 228, 171, 0.12);
}

.staffOpsStrip {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(150px, 0.5fr));
  gap: 10px;
}

.staffOpsCard {
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(47, 228, 171, 0.16);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(47, 228, 171, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(5, 11, 16, 0.7);
  display: grid;
  align-content: space-between;
  gap: 8px;
}

.staffOpsCard:hover {
  border-color: rgba(242, 183, 5, 0.34);
  background:
    linear-gradient(180deg, rgba(242, 183, 5, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(5, 11, 16, 0.74);
}

.staffOpsCard span,
.staffOpsCard small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.staffOpsCard strong {
  color: var(--text);
  font-size: clamp(20px, 4vw, 30px);
  line-height: 1.08;
}

.staffOpsPriority strong {
  font-size: clamp(18px, 3vw, 24px);
}

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

.staffStat {
  min-height: 90px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(5, 11, 16, 0.68);
  display: grid;
  align-content: space-between;
}

.staffStat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.staffStat strong {
  color: rgba(220, 255, 244, 0.96);
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1;
}

.staffWorkspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
  gap: 18px;
  align-items: start;
}

.staffPanel {
  padding: 18px;
  border: 1px solid var(--staff-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, var(--staff-surface-strong), var(--staff-surface));
  box-shadow: var(--shadow);
}

.staffPanelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.staffPanelHeader h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 26px);
}

.staffPanelHeader span {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(242, 183, 5, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(242, 183, 5, 0.12);
  color: rgba(255, 242, 200, 0.94);
  font-size: 12px;
  font-weight: 900;
}

.staff-list {
  display: grid;
  gap: 12px;
}

.staff-order {
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(5, 11, 16, 0.58);
  box-shadow: none;
}

.staff-order span {
  color: var(--muted);
}

.staff-order ul {
  margin: 12px 0;
  padding-left: 20px;
}

.staffEmptyState {
  margin: 0;
  color: var(--muted);
}

.staffOrderTop,
.staffOrderMeta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.staffOrderTop {
  align-items: flex-start;
}

.staffOrderTop strong,
.staffOrderTop span {
  display: block;
}

.staffOrderTop span {
  margin-top: 4px;
}

.staffOrderMeta {
  justify-content: flex-start;
  margin-top: 10px;
}

.staffOrderMeta > span,
.staffStatusPill,
.staffPaymentTag {
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
}

.staffStatusPill {
  color: rgba(220, 255, 244, 0.96);
  border-color: rgba(47, 228, 171, 0.28);
  background: rgba(47, 228, 171, 0.1);
}

.staffPaymentPaid {
  color: rgba(220, 255, 244, 0.96);
  border-color: rgba(47, 228, 171, 0.28);
  background: rgba(47, 228, 171, 0.12);
}

.staffPaymentPending {
  color: rgba(255, 242, 200, 0.96);
  border-color: rgba(242, 183, 5, 0.32);
  background: rgba(242, 183, 5, 0.13);
}

.staffPaymentDue {
  color: rgba(255, 226, 230, 0.98);
  border-color: rgba(255, 92, 115, 0.32);
  background: rgba(255, 92, 115, 0.12);
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.loyaltyScanner {
  display: grid;
  gap: 12px;
  margin: 14px 0 18px;
}

.loyaltyScannerViewport {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(47, 228, 171, 0.14), rgba(11, 13, 18, 0.34)),
    rgba(11, 13, 18, 0.48);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
}

.loyaltyScannerViewport video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.loyaltyScannerReticle {
  position: absolute;
  inset: 22%;
  border: 2px solid rgba(47, 228, 171, 0.82);
  border-radius: var(--radius-sm);
  box-shadow:
    0 0 0 999px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(47, 228, 171, 0.24);
}

.loyaltyScanner.isScanning .loyaltyScannerReticle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 12px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: rgba(47, 228, 171, 0.9);
  animation: scannerSweep 1.8s ease-in-out infinite;
}

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

.loyaltyScannerStatus {
  min-height: 18px;
  margin: 0;
}

@keyframes loyaltySheen {
  0%,
  58% {
    transform: translateX(0) rotate(14deg);
    opacity: 0;
  }

  72% {
    opacity: 1;
  }

  100% {
    transform: translateX(420%) rotate(14deg);
    opacity: 0;
  }
}

@keyframes loyaltyQrFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes loyaltyQrScan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }

  50% {
    transform: translateY(162px);
    opacity: 1;
  }
}

@keyframes stampRise {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.88);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loyaltyStampFlash {
  0%,
  62% {
    opacity: 0;
    transform: translateX(-70%) rotate(18deg);
  }

  76% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(70%) rotate(18deg);
  }
}

@keyframes scannerSweep {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }

  50% {
    transform: translateY(calc(100% + 80px));
    opacity: 1;
  }
}

.manager-table {
  display: grid;
}

.manager-row {
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
}

.appFooter {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: rgba(11, 13, 18, 0.62);
  backdrop-filter: blur(10px);
}

.appFooterInner {
  padding: 14px 0 calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.game-shell {
  display: grid;
  gap: 22px;
  padding-bottom: 48px;
}

.game-hero {
  min-height: 280px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(115deg, rgba(11, 13, 18, 0.94), rgba(47, 111, 115, 0.78)),
    url("/static/brand/ch-poster.260c86d2bd78.jpeg") center/cover;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.35fr);
  gap: 18px;
  align-items: end;
  padding: 28px;
  box-shadow: var(--shadow);
}

.game-hero h1 {
  font-size: clamp(40px, 7vw, 76px);
}

.game-save {
  align-self: start;
  justify-self: end;
  display: grid;
  gap: 10px;
  min-width: 220px;
}

.game-save span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  padding: 10px 12px;
  text-align: center;
}

.game-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(280px, 0.48fr) minmax(260px, 0.42fr);
  gap: 14px;
  align-items: start;
}

.game-board {
  min-height: 620px;
  padding: 22px;
  display: grid;
  gap: 20px;
  justify-items: center;
}

.bean-counter {
  text-align: center;
}

.bean-counter span {
  color: var(--muted);
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.bean-counter strong {
  display: block;
  font-size: clamp(54px, 12vw, 112px);
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.brew-button {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 28%, #fff7dc 0 30%, #d5723f 31% 56%, #8f321c 57% 100%);
  color: #fff;
  box-shadow:
    inset 0 -18px 36px rgba(0, 0, 0, 0.2),
    0 24px 50px rgba(143, 50, 28, 0.28);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.brew-button::after {
  content: "";
  position: absolute;
  width: 54%;
  height: 22%;
  right: -14%;
  top: 38%;
  border: 18px solid #8f321c;
  border-left: 0;
  border-radius: 0 999px 999px 0;
  z-index: -1;
}

.brew-button:active,
.brew-button.is-brewing {
  transform: scale(0.98);
}

.cup {
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 10px rgba(21, 32, 26, 0.08);
}

.cup img {
  width: 64%;
  height: 64%;
  object-fit: contain;
}

.brew-text {
  position: absolute;
  bottom: 20%;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bean-float {
  position: absolute;
  left: calc(50% - 22px);
  top: 28%;
  min-width: 44px;
  border-radius: var(--radius-pill);
  background: rgba(11, 13, 18, 0.94);
  color: #fff;
  padding: 6px 10px;
  font-weight: 900;
  animation: beanFloat 900ms ease-out forwards;
  pointer-events: none;
}

@keyframes beanFloat {
  from {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  to {
    opacity: 0;
    transform: translate(var(--float-x), -90px) scale(1.12);
  }
}

.game-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.game-stats div,
.roast-progress {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  padding: 14px;
}

.game-stats span,
.roast-progress span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.game-stats strong,
.roast-progress strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.roast-progress {
  width: 100%;
  display: grid;
  gap: 12px;
}

.roast-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.progress-track {
  height: 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-track span {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #c84d2a, var(--accent), #2f6f73);
  transition: width 180ms ease;
}

.game-panel {
  padding: 18px;
}

.upgrade-list,
.achievement-list {
  display: grid;
  gap: 10px;
}

.upgrade-card {
  width: 100%;
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 14px;
}

.upgrade-card strong,
.upgrade-card small,
.upgrade-meta span {
  display: block;
}

.upgrade-card small,
.upgrade-meta span,
.achievement-card small {
  color: var(--muted);
  line-height: 1.45;
}

.upgrade-card:disabled {
  background: rgba(255, 255, 255, 0.03);
}

.upgrade-meta {
  min-width: 84px;
  text-align: right;
}

.upgrade-meta strong {
  color: var(--accent);
}

.achievement-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 6px;
  padding: 14px;
}

.achievement-card.is-unlocked {
  border-color: rgba(47, 228, 171, 0.45);
  background: rgba(47, 228, 171, 0.1);
}

.achievement-badge {
  width: fit-content;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 8px;
  text-transform: uppercase;
}

.achievement-card.is-unlocked .achievement-badge {
  background: var(--ok);
  color: rgba(11, 13, 18, 0.96);
}

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

.surfaceFlat {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.cardTitle {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 950;
}

.cardBody {
  margin-top: 9px;
}

.boilerBusterPage {
  padding-bottom: 48px;
}

.boilerBusterHero {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(18px, 4vw, 26px);
  display: grid;
  gap: 16px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 62%),
    linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.boilerBusterHeader {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.boilerBusterHeading {
  display: grid;
  gap: 7px;
}

.boilerBusterTitle {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.02;
  font-weight: 950;
  font-family: var(--font-display);
}

.boilerBusterLead {
  max-width: 46ch;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.65;
  color: rgba(243, 241, 232, 0.9);
}

.boilerBusterStatus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.boilerBusterStatusPlaying {
  border-color: rgba(242, 183, 5, 0.42);
  background: rgba(242, 183, 5, 0.16);
}

.boilerBusterStatusWon {
  border-color: rgba(47, 228, 171, 0.4);
  background: rgba(47, 228, 171, 0.12);
}

.boilerBusterStatusLost {
  border-color: rgba(255, 92, 115, 0.42);
  background: rgba(255, 92, 115, 0.14);
}

.boilerBusterLayout {
  display: grid;
  gap: 12px;
}

.boilerBusterBoard {
  padding: clamp(14px, 3vw, 18px);
  display: grid;
  gap: 12px;
}

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

.boilerBusterStat {
  position: relative;
  min-height: 82px;
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.boilerBusterStatLabel {
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.boilerBusterStatValue {
  margin-top: 7px;
  font-size: clamp(20px, 4.8vw, 26px);
  line-height: 1.05;
  font-weight: 950;
}

.boilerBusterBestRibbon {
  position: absolute;
  top: 8px;
  right: 8px;
  min-height: 18px;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(242, 183, 5, 0.24);
  background: rgba(242, 183, 5, 0.14);
  color: rgba(255, 234, 161, 0.98);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.boilerBusterBestRibbonFlash {
  animation: boilerBusterRibbonFlash 1s ease;
}

@keyframes boilerBusterRibbonFlash {
  0% {
    transform: scale(0.88);
    opacity: 0;
  }

  40% {
    transform: scale(1.04);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.boilerBusterMeterCard {
  padding: clamp(12px, 2.5vw, 15px);
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(242, 183, 5, 0.08), transparent 48%),
    rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 11px;
}

.boilerBusterMeterTop {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.boilerBusterMeterTopSecondary {
  margin-top: 2px;
}

.boilerBusterMeterLabel {
  font-size: 12px;
  font-weight: 850;
}

.boilerBusterMeterHint {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.55;
}

.boilerBusterMeterValue {
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1;
  font-weight: 950;
}

.boilerBusterMeter {
  height: 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.boilerBusterMeterSecondary {
  background: rgba(255, 255, 255, 0.05);
}

.boilerBusterMeterFill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(47, 228, 171, 0.95), rgba(242, 183, 5, 0.95), rgba(255, 92, 115, 0.95));
  transition: width 180ms ease;
}

.boilerBusterMeterFillPressure {
  box-shadow: none;
}

.boilerBusterMeterFillCalm {
  background: linear-gradient(90deg, rgba(47, 228, 171, 0.94), rgba(77, 242, 193, 0.92));
}

.boilerBusterMeterFillSteady {
  background: linear-gradient(90deg, rgba(122, 220, 98, 0.94), rgba(188, 224, 94, 0.92));
}

.boilerBusterMeterFillRising {
  background: linear-gradient(90deg, rgba(224, 214, 76, 0.94), rgba(242, 183, 5, 0.94));
}

.boilerBusterMeterFillDanger {
  background: linear-gradient(90deg, rgba(255, 184, 59, 0.96), rgba(255, 131, 54, 0.94));
}

.boilerBusterMeterFillCritical {
  background: linear-gradient(90deg, rgba(255, 116, 96, 0.96), rgba(255, 92, 115, 0.96));
}

.boilerBusterMeterFillSecondary {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(242, 183, 5, 0.95));
}

.pressureTrack {
  position: relative;
}

.perfectBand {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 65%;
  width: 22%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(242, 183, 5, 0.1), rgba(255, 131, 54, 0.3), rgba(255, 92, 115, 0.16));
  box-shadow: inset 0 0 0 1px rgba(255, 184, 59, 0.24);
  opacity: 0.8;
  pointer-events: none;
}

.perfectBandActive {
  background: linear-gradient(90deg, rgba(242, 183, 5, 0.2), rgba(255, 131, 54, 0.46), rgba(255, 92, 115, 0.22));
  box-shadow:
    inset 0 0 0 1px rgba(255, 214, 130, 0.38),
    0 0 14px rgba(255, 146, 43, 0.24);
}

.pressureFill {
  position: relative;
  z-index: 2;
}

.pressureFill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 16%, rgba(255, 255, 255, 0.42) 50%, transparent 84%);
  transform: translateX(-115%);
  display: none;
}

.pressureFillHot::after {
  animation-duration: 760ms;
}

@keyframes boilerBusterPressureSweep {
  from {
    transform: translateX(-115%);
  }

  to {
    transform: translateX(115%);
  }
}

.pressureCoach {
  font-size: 13px;
  line-height: 1.6;
}

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

.meterTag {
  min-height: 22px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 249, 250, 0.88);
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1.25;
}

.meterTagActive,
.meterTagPerfect {
  border-color: rgba(242, 183, 5, 0.38);
  background: rgba(242, 183, 5, 0.16);
  color: rgba(255, 241, 194, 0.98);
}

.meterTagSteady {
  border-color: rgba(47, 228, 171, 0.3);
  background: rgba(47, 228, 171, 0.12);
  color: rgba(220, 255, 244, 0.96);
}

.meterTagClutch {
  border-color: rgba(255, 92, 115, 0.46);
  background: rgba(255, 92, 115, 0.18);
  color: rgba(255, 226, 232, 0.98);
}

.boilerBusterTapZone {
  width: 100%;
  min-height: 248px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(72% 72% at 50% 0%, rgba(255, 255, 255, 0.08), transparent 56%),
    linear-gradient(180deg, rgba(11, 13, 18, 0.07), rgba(11, 13, 18, 0.16));
  color: var(--text);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  touch-action: manipulation;
}

.boilerBusterTapZonePlaying {
  border-color: rgba(242, 183, 5, 0.42);
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(242, 183, 5, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(11, 13, 18, 0.12), rgba(11, 13, 18, 0.22));
}

.boilerBusterTapZoneWon {
  border-color: rgba(47, 228, 171, 0.42);
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(47, 228, 171, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(11, 13, 18, 0.1), rgba(11, 13, 18, 0.18));
}

.boilerBusterTapZoneLost {
  border-color: rgba(255, 92, 115, 0.5);
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(255, 92, 115, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(11, 13, 18, 0.14), rgba(11, 13, 18, 0.22));
}

.boilerBusterTapZone:active {
  transform: scale(0.992);
}

.boilerBusterTapZone:focus-visible {
  outline: 3px solid rgba(242, 183, 5, 0.82);
  outline-offset: 4px;
}

.boilerBusterMachine {
  position: relative;
  width: min(100%, 220px);
  height: 144px;
  z-index: 1;
}

.boilerBusterMachineGlow {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 36px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle, rgba(242, 183, 5, 0.36), transparent 72%);
  filter: none;
  opacity: 0.46;
}

.boilerBusterMachineTop {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 100px;
  height: 52px;
  transform: translateX(-50%);
  border-radius: 26px 26px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.06)),
    linear-gradient(120deg, rgba(62, 71, 85, 0.98), rgba(20, 24, 32, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 24px rgba(0, 0, 0, 0.25);
}

.boilerBusterMachineBody {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 172px;
  height: 94px;
  transform: translateX(-50%);
  border-radius: 38px 38px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(71, 82, 98, 0.98), rgba(19, 23, 31, 0.98));
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.12),
    inset 0 -16px 32px rgba(0, 0, 0, 0.24),
    0 12px 26px rgba(0, 0, 0, 0.28);
}

.boilerBusterGauge {
  --boiler-gauge-accent: rgba(47, 228, 171, 0.96);
  position: absolute;
  top: 26px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(212, 217, 227, 0.94) 58%, rgba(170, 177, 189, 0.96) 60%, transparent 61%),
    conic-gradient(
      from 220deg,
      rgba(47, 228, 171, 0.98) 0deg 62deg,
      rgba(147, 211, 99, 0.98) 62deg 116deg,
      rgba(242, 183, 5, 0.98) 116deg 156deg,
      rgba(255, 146, 43, 0.98) 156deg 194deg,
      rgba(255, 92, 115, 0.98) 194deg 320deg,
      rgba(255, 255, 255, 0.82) 320deg 360deg
    );
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.34),
    0 8px 16px rgba(0, 0, 0, 0.2),
    0 0 0 3px rgba(47, 228, 171, 0.16);
}

.boilerBusterGaugeCalm,
.boilerBusterNeedleCalm {
  --boiler-gauge-accent: rgba(47, 228, 171, 0.98);
}

.boilerBusterGaugeSteady,
.boilerBusterNeedleSteady {
  --boiler-gauge-accent: rgba(147, 211, 99, 0.98);
}

.boilerBusterGaugeRising,
.boilerBusterNeedleRising {
  --boiler-gauge-accent: rgba(242, 183, 5, 0.98);
}

.boilerBusterGaugeDanger,
.boilerBusterNeedleDanger {
  --boiler-gauge-accent: rgba(255, 146, 43, 0.98);
}

.boilerBusterGaugeCritical,
.boilerBusterNeedleCritical {
  --boiler-gauge-accent: rgba(255, 92, 115, 0.98);
}

.boilerBusterGaugeDot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(11, 13, 18, 0.94);
  transform: translate(-50%, -50%);
}

.boilerBusterNeedle {
  --boiler-gauge-accent: var(--danger);
  position: absolute;
  left: 29px;
  top: 28px;
  width: 24px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--boiler-gauge-accent);
  transform-origin: 0% 50%;
  transition: transform 180ms ease;
  box-shadow: none;
  will-change: transform;
}

.boilerBusterNeedle::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -3px;
  border-left: 7px solid var(--boiler-gauge-accent);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.gaugeWarning {
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.34),
    0 8px 16px rgba(0, 0, 0, 0.18),
    0 0 0 3px rgba(255, 92, 115, 0.2);
}

.needleAlarm {
  filter: none;
}

@keyframes boilerBusterGaugeWarning {
  50% {
    filter: saturate(1.35) brightness(1.08);
  }
}

@keyframes boilerBusterNeedleAlarm {
  50% {
    filter: brightness(1.22);
  }
}

.boilerBusterMeterCardCalm {
  border-color: rgba(47, 228, 171, 0.18);
}

.boilerBusterMeterCardSteady {
  border-color: rgba(147, 211, 99, 0.18);
}

.boilerBusterMeterCardRising {
  border-color: rgba(242, 183, 5, 0.2);
}

.boilerBusterMeterCardDanger {
  border-color: rgba(255, 146, 43, 0.22);
}

.boilerBusterMeterCardCritical {
  border-color: rgba(255, 92, 115, 0.24);
}

.boilerBusterValve {
  position: absolute;
  left: 44px;
  top: 46px;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05)),
    linear-gradient(120deg, rgba(90, 67, 24, 0.98), rgba(181, 134, 40, 0.96));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.boilerBusterValve::before,
.boilerBusterValve::after {
  content: "";
  position: absolute;
  border-radius: var(--radius-pill);
  background: rgba(255, 231, 167, 0.92);
}

.boilerBusterValve::before {
  left: -4px;
  right: -4px;
  top: 13px;
  height: 4px;
}

.boilerBusterValve::after {
  top: -4px;
  bottom: -4px;
  left: 13px;
  width: 4px;
}

.boilerBusterSteam {
  position: absolute;
  width: 34px;
  height: 76px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08) 72%, transparent);
  filter: none;
  opacity: 0;
  animation: none;
}

.boilerBusterTapZonePlaying .boilerBusterSteam {
  opacity: 0.38;
}

.boilerBusterTapZoneWon .boilerBusterSteam {
  opacity: 0.2;
}

.boilerBusterTapZoneLost .boilerBusterSteam {
  opacity: 0.5;
}

.boilerBusterSteamA {
  left: 46px;
  top: 0;
}

.boilerBusterSteamB {
  left: 94px;
  top: -6px;
  animation-delay: 0.24s;
}

.boilerBusterSteamC {
  right: 30px;
  top: 2px;
  animation-delay: 0.48s;
}

.boilerBusterSteamBurst {
  position: absolute;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  margin-top: -8px;
  border-radius: var(--radius-pill);
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.88) 0 28%, rgba(255, 255, 255, 0.38) 29% 54%, transparent 55%),
    radial-gradient(circle, rgba(242, 183, 5, 0.42), transparent 70%);
  filter: none;
  animation: boilerBusterSteamBurst 320ms ease-out forwards;
  will-change: opacity, transform;
}

@keyframes boilerBusterSteamBurst {
  from {
    opacity: 0.96;
    transform: scale(0.5);
  }

  to {
    opacity: 0;
    transform: scale(3.2) translateY(-10px);
  }
}

@keyframes boilerBusterSteam {
  0% {
    transform: translateY(18px) scale(0.84);
    opacity: 0;
  }

  30% {
    opacity: 0.65;
  }

  100% {
    transform: translateY(-18px) scale(1.08);
    opacity: 0;
  }
}

.boilerBusterTapCopy {
  display: grid;
  justify-items: center;
  gap: 6px;
  max-width: 34ch;
  text-align: center;
}

.boilerBusterTapTitle {
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.06;
  font-weight: 950;
  font-family: var(--font-display);
}

.boilerBusterTapSub,
.tapSubline {
  font-size: clamp(13px, 2.2vw, 15px);
  line-height: 1.62;
  color: rgba(243, 241, 232, 0.82);
}

.panelHint {
  margin: 3px auto 0;
  max-width: 40ch;
  font-size: clamp(12px, 1.9vw, 13px);
  line-height: 1.62;
  text-align: center;
}

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

.boilerBusterSide {
  display: grid;
  gap: 12px;
  align-content: start;
}

.boilerBusterNote {
  padding: 14px;
  border-radius: 18px;
}

.noteCopy {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(243, 241, 232, 0.88);
}

.boilerBusterMeta,
.metaRow {
  margin-top: 11px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

@media (min-width: 980px) {
  .boilerBusterLayout {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 720px) {
  .boilerBusterPage {
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .boilerBusterHero {
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
  }

  .boilerBusterHeader,
  .boilerBusterMeterTop {
    align-items: flex-start;
  }

  .boilerBusterTitle {
    font-size: clamp(30px, 10vw, 40px);
  }

  .boilerBusterLead {
    font-size: 13px;
    line-height: 1.5;
  }

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

  .boilerBusterStat {
    min-height: 70px;
    padding: 10px;
  }

  .boilerBusterTapZone {
    min-height: 224px;
    padding: 12px;
  }

  .boilerBusterActions {
    align-items: stretch;
  }

  .boilerBusterActions .btn {
    flex: 1 1 120px;
  }
}

@media (max-width: 420px) {
  .boilerBusterHero {
    padding: 12px;
  }

  .boilerBusterMachine {
    width: min(100%, 196px);
    height: 128px;
  }

  .boilerBusterMachineTop {
    width: 92px;
    height: 46px;
  }

  .boilerBusterMachineBody {
    width: 154px;
    height: 86px;
  }

  .boilerBusterGauge {
    top: 22px;
    right: 24px;
    width: 52px;
    height: 52px;
  }

  .boilerBusterNeedle {
    left: 26px;
    top: 25px;
    width: 21px;
  }

  .boilerBusterValve {
    left: 38px;
    top: 42px;
  }

  .boilerBusterTapTitle {
    font-size: 24px;
  }

  .meterTag {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .boilerBusterActions .btn {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .section-heading,
  .appFooterInner {
    align-items: flex-start;
    flex-direction: column;
  }

  .appHeader {
    padding: calc(10px + env(safe-area-inset-top, 0px)) 0 10px;
  }

  .appHeaderInner {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .appHeaderBrandLink {
    display: flex;
  }

  .appHeaderMenuButton {
    display: inline-flex;
  }

  .navDesktop {
    display: none;
  }

  .navDesktop .btn,
  .nav-form button {
    white-space: nowrap;
  }

  .two-column,
  .staffWorkspace,
  .staffOpsStrip,
  .loyalty-card,
  .orderHistoryList,
  .game-hero {
    grid-template-columns: 1fr;
  }

  .item-grid,
  .dashboard-strip,
  .staffStatsGrid,
  .dashWidgets {
    grid-template-columns: 1fr;
  }

  .order-line,
  .manager-row,
  .checkoutPaymentActions,
  .inline-form,
  .loyaltyScannerActions {
    grid-template-columns: 1fr;
  }

  .loyalty-qr-panel {
    justify-items: start;
  }

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

  .card-actions:not(.menuAddForm) {
    grid-template-columns: 1fr;
  }

  .game-hero {
    min-height: 0;
    padding: 16px;
    gap: 12px;
  }

  .game-hero h1 {
    font-size: clamp(32px, 10vw, 46px);
    line-height: 1.02;
  }

  .game-hero .lede {
    font-size: 15px;
    line-height: 1.5;
  }

  .game-save {
    justify-self: stretch;
    min-width: 0;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .game-save span {
    padding: 9px 10px;
    font-size: 13px;
  }

  .game-save button {
    min-height: 40px;
    padding-inline: 12px;
  }

  .game-board {
    min-height: auto;
    gap: 14px;
    padding: 16px;
  }

  .bean-counter strong {
    font-size: clamp(44px, 17vw, 74px);
  }

  .brew-button {
    width: min(260px, 72vw);
  }

  .brew-button::after {
    border-width: 12px;
  }

  .brew-text {
    bottom: 17%;
    font-size: clamp(18px, 6vw, 24px);
  }

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

  .game-stats div,
  .roast-progress {
    padding: 10px;
  }

  .game-stats span,
  .roast-progress span {
    font-size: 10px;
  }

  .game-stats strong,
  .roast-progress strong {
    font-size: 17px;
  }

  .game-panel {
    padding: 14px;
  }

  .upgrade-card {
    min-height: 76px;
    padding: 12px;
  }

  .roast-progress > div:first-child,
  .upgrade-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .upgrade-meta {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .menuHero {
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
  }

  .menuHeroActions .btn {
    flex: 1 1 132px;
  }

  .menuSectionHeader {
    align-items: flex-start;
  }

  .premiumMenuSection {
    margin-top: 22px;
    scroll-margin-top: 78px;
  }

  .menuItemCard {
    padding: 12px;
    gap: 12px;
  }

  .menuItemTop {
    gap: 10px;
  }

  .menuItemDescription {
    min-height: 0;
  }

  .game-shell {
    gap: 12px;
    padding-bottom: 26px;
  }

  .game-hero {
    margin-top: 10px;
    border-radius: 16px;
  }

  .game-save {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .game-grid {
    gap: 12px;
  }

  .roast-progress > div:first-child {
    grid-template-columns: 1fr;
  }

  .staffHero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .staffAccessPill {
    justify-self: start;
  }

  .staffHeroActions {
    justify-content: flex-start;
  }

  .pageHome {
    --home-content-max-width: 100%;
    --home-hero-pad-top: 14px;
    --home-hero-pad-inline: 14px;
    --home-hero-pad-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .pageHome .widgetCard {
    min-height: 60px;
    padding: 10px 11px 9px;
    border-radius: 14px;
  }

  .pageHome .widgetTitle {
    font-size: clamp(13px, 3.8vw, 15px);
  }

  .pageHome .widgetHint {
    font-size: clamp(10px, 3vw, 11px);
    line-height: 1.32;
  }

  .pageHome .dashCtas {
    gap: 7px;
  }

  .pageHome .dashCtaPrimary {
    min-height: 56px;
    padding: 10px 12px;
  }

  .pageHome .dashCtaPrimaryTitle {
    font-size: 14px;
  }

  .pageHome .dashCtaPrimarySub {
    font-size: 10px;
    line-height: 1.34;
  }

  .pageHome .dashCtaSmall {
    min-height: 40px;
    padding: 8px 10px;
  }

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

@media (max-width: 420px) {
  .appMain > :not(.pageHome) {
    width: min(100% - 20px, 1120px);
  }

  .container {
    padding-inline: 10px;
  }

  .appHeader .brandName {
    max-width: 152px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .appHeader .brandTag {
    display: none;
  }

  .appHeaderMenuLabel {
    display: none;
  }

  .appHeaderMenuButton {
    width: 44px;
    padding: 0;
    border-radius: 15px;
  }

  .drawer .brandText {
    display: grid;
  }

  .drawer {
    width: min(92vw, 380px);
  }

  .game-shell {
    gap: 10px;
  }

  .game-hero {
    padding: 14px;
  }

  .game-hero h1 {
    font-size: clamp(30px, 11vw, 40px);
  }

  .game-board {
    padding: 14px;
  }

  .menuHero {
    padding: 14px;
  }

  .menuHeroText h1 {
    font-size: clamp(32px, 11vw, 42px);
  }

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

  .menuAddForm {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .brew-button {
    width: min(230px, 70vw);
  }

  .cup {
    box-shadow: inset 0 0 0 7px rgba(21, 32, 26, 0.08);
  }

  .pageHome {
    --home-hero-pad-top: 12px;
    --home-hero-pad-inline: 10px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
