:root {
  --bg-0: #2a2019;
  --bg-1: #352820;
  --bg-2: #443228;
  --panel: #241b15;
  --panel-soft: #31251d;
  --line: rgba(255, 255, 255, 0.11);
  --gold: #d5a546;
  --gold-2: #c69937;
  --gold-soft: rgba(213, 165, 70, 0.18);
  --text: #f4f4f4;
  --text-soft: #b8b8b8;
  --danger: #de6b6b;
  --success: #82c893;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(1200px 540px at 10% -20%, rgba(237, 192, 106, 0.3) 0%, transparent 56%),
    radial-gradient(980px 440px at 95% -20%, rgba(184, 122, 77, 0.24) 0%, transparent 62%),
    linear-gradient(180deg, #4b372b 0%, #2a2019 100%);
  font-family: "Avenir Next", "Segoe UI", Tahoma, sans-serif;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  display: grid;
  place-items: center;
  padding: 14px;
  touch-action: pan-y;
  overscroll-behavior-y: none;
}

html.app-native-shell body,
body.app-native-shell {
  display: block;
  place-items: initial;
  padding: 0;
  min-height: 100dvh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior-y: none;
}

html.app-native-shell .app-shell,
body.app-native-shell .app-shell {
  width: 100vw;
  max-width: none;
  min-height: 100dvh;
  height: 100dvh;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  padding-top: max(0px, calc(env(safe-area-inset-top, 0px) - 8px));
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

html.app-native-shell .app-tabbar,
body.app-native-shell .app-tabbar {
  left: 8px;
  right: 8px;
  width: auto;
  max-width: none;
  transform: none;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}

html.app-native-shell .app-promo-spotlight,
body.app-native-shell .app-promo-spotlight {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 24;
  animation: none;
  padding-bottom: 8px;
}

html.app-native-shell .app-promo-kicker,
body.app-native-shell .app-promo-kicker {
  position: static;
  margin-top: 4px;
  text-align: left;
}

html.app-native-shell .app-promo-line-shift,
body.app-native-shell .app-promo-line-shift {
  position: static;
  justify-content: flex-start;
  text-align: left;
  margin-top: 2px;
}

.app-shell {
  width: 100%;
  max-width: 430px;
  min-height: min(900px, calc(100svh - 28px));
  height: min(900px, calc(100svh - 28px));
  border-radius: 30px;
  padding: 16px 14px calc(104px + env(safe-area-inset-bottom, 0px));
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(150deg, rgba(236, 193, 113, 0.2) 0%, transparent 28%),
    linear-gradient(180deg, rgba(63, 46, 36, 0.96) 0%, rgba(40, 30, 24, 0.96) 100%);
  border: 1px solid rgba(213, 165, 70, 0.25);
  box-shadow:
    0 28px 54px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.app-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(213, 165, 70, 0.88);
}

.app-brand h1 {
  margin: 6px 0 0;
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.06;
  font-size: clamp(24px, 5vw, 30px);
  color: #f4e6bd;
}

.app-sub {
  margin: 7px 0 0;
  font-size: 12px;
  color: #a7a7a7;
}

.app-top-actions {
  display: flex;
  gap: 8px;
}

.app-icon-btn {
  border: 1px solid rgba(213, 165, 70, 0.45);
  background: rgba(213, 165, 70, 0.08);
  color: #efcf89;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.app-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.app-install-banner {
  margin: 0 0 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(213, 165, 70, 0.5);
  background:
    linear-gradient(140deg, rgba(213, 165, 70, 0.2) 0%, rgba(49, 37, 29, 0.92) 52%, rgba(35, 27, 21, 0.97) 100%),
    #261d17;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

.app-install-main h3 {
  margin: 3px 0 4px;
  font-size: 17px;
  font-family: "Avenir Next", "Segoe UI", Tahoma, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff3d2;
}

.app-install-main p {
  margin: 0;
  color: #d6c7ab;
  font-size: 12px;
}

.app-install-kicker {
  margin: 0;
  color: #efcc84;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 900;
}

.app-install-actions {
  margin-top: 9px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 7px;
  align-items: center;
}

.app-install-primary {
  padding-inline: 11px;
}

.app-install-secondary {
  white-space: nowrap;
}

.app-install-dismiss {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: #ddd;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.app-install-inline {
  margin-top: 9px;
  border: 1px solid rgba(213, 165, 70, 0.42);
  border-radius: 13px;
  background: rgba(15, 11, 9, 0.55);
  padding: 10px;
}

.app-install-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.app-install-sheet[hidden] {
  display: none !important;
}

.app-install-sheet {
  display: none !important;
}

.app-install-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
}

.app-install-sheet-card {
  position: relative;
  width: min(420px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(213, 165, 70, 0.48);
  background:
    linear-gradient(160deg, rgba(213, 165, 70, 0.16), rgba(35, 27, 20, 0.96) 42%, rgba(25, 20, 16, 0.98)),
    #241b15;
  padding: 13px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.55);
}

.app-install-steps {
  margin: 0;
  padding-left: 19px;
  color: #ece0c6;
  font-size: 14px;
  line-height: 1.48;
}

.app-install-steps li + li {
  margin-top: 4px;
}

body.app-sheet-open {
  overflow: hidden;
}

.app-chip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #c4c4c4;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1.15;
}

.app-chip.is-open {
  border-color: rgba(130, 200, 147, 0.42);
  color: #92d3a2;
  background: rgba(130, 200, 147, 0.11);
}

.app-chip.is-closed {
  border-color: rgba(222, 107, 107, 0.36);
  color: #ef9a9a;
  background: rgba(222, 107, 107, 0.11);
}

.app-chip-link {
  margin-left: auto;
  text-decoration: none;
}

.app-promo-spotlight {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  padding: 8px 11px;
  border-radius: 11px;
  border: 1px solid rgba(255, 205, 98, 0.9);
  background:
    linear-gradient(120deg, rgba(255, 196, 74, 0.46), rgba(114, 67, 20, 0.28) 42%, rgba(33, 25, 19, 0.98) 100%),
    #251c16;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.48),
    0 0 18px rgba(255, 188, 55, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: appPromoPulse 1.9s ease-in-out infinite;
}

.app-promo-kicker {
  margin: 4px 0 0;
  position: static;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.11em;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 224, 150, 0.72);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.app-promo-line {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  color: #f2e7cd;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.app-promo-line + .app-promo-line {
  margin-top: 2px;
}

.app-promo-line-shift {
  position: static;
  justify-content: flex-start;
  margin-top: 2px;
  text-align: left;
}

.app-promo-line strong {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: #fff7e0;
}

.app-promo-percent {
  font-size: 1.9em;
  line-height: 0.95;
  font-weight: 900;
  color: #ffd64b;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 10px rgba(255, 215, 98, 0.74),
    0 0 24px rgba(255, 176, 40, 0.48),
    0 2px 8px rgba(0, 0, 0, 0.35);
}

.app-promo-code {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(241, 207, 128, 0.72);
  background: rgba(241, 207, 128, 0.16);
  color: #ffe4a3;
  font-weight: 800;
  letter-spacing: 0.03em;
}

@keyframes appPromoPulse {
  0%, 100% {
    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.48),
      0 0 0 rgba(236, 183, 82, 0),
      inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.56),
      0 0 28px rgba(255, 189, 58, 0.52),
      inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
}

.app-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  padding: 18px 16px 17px;
  margin-bottom: 10px;
  border: 1px solid rgba(213, 165, 70, 0.45);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.app-hero.is-open {
  background:
    linear-gradient(155deg, rgba(244, 201, 117, 0.42), rgba(161, 103, 25, 0.24) 38%, rgba(36, 25, 19, 0.97) 100%),
    #251b14;
}

.app-hero.is-closed {
  background:
    linear-gradient(155deg, rgba(194, 97, 97, 0.34), rgba(88, 36, 36, 0.2) 40%, rgba(36, 25, 19, 0.97) 100%),
    #251b14;
}

.app-hero::before {
  content: "";
  position: absolute;
  right: -48px;
  top: -54px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(248, 214, 146, 0.52) 0%, rgba(248, 214, 146, 0) 72%);
  pointer-events: none;
  z-index: -1;
}

.app-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 208, 131, 0.88), transparent);
  opacity: 0.95;
}

.app-hero-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(245, 208, 131, 0.45);
  background: rgba(245, 208, 131, 0.12);
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: #f4d996;
  text-transform: uppercase;
}

.app-hero h2 {
  margin: 10px 0 6px;
  font-size: clamp(27px, 6.6vw, 33px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #fff8ea;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
}

.app-hero p {
  margin: 0;
  color: #d8d8d8;
}

.app-hero-slogan {
  margin-top: 2px;
  font-size: 13px;
  color: #f3dfb0 !important;
  font-weight: 700;
}

.app-hero-hours {
  margin-top: 8px !important;
  color: #dfd5c1 !important;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.app-hero .app-actions {
  margin-top: 12px;
}

.app-hero .app-btn-primary {
  box-shadow: 0 8px 20px rgba(199, 142, 51, 0.42);
}

.app-card {
  margin-bottom: 10px;
  border-radius: 16px;
  padding: 13px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.app-card h2,
.app-card h3,
.app-card h4 {
  margin: 0 0 8px;
  color: #f0d08e;
  font-family: "Times New Roman", Georgia, serif;
  letter-spacing: 0.06em;
}

.app-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.app-card-head a {
  color: #efc76d;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.app-grid {
  display: grid;
  gap: 10px;
}

.app-grid-2 {
  grid-template-columns: 1fr;
}

.app-list {
  display: grid;
  gap: 8px;
}

.app-row {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  background: var(--panel-soft);
}

.app-menu-item {
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, transform .12s ease;
}

.app-menu-item:active {
  transform: scale(0.995);
}

.app-row p {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 12px;
}

.app-row-right {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.app-row-right span {
  font-size: 13px;
  font-weight: 800;
  color: #f3d186;
}

.app-row-stack {
  grid-template-columns: 1fr;
}

.app-row-main {
  display: grid;
  gap: 2px;
}

.app-btn {
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 10px 13px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.app-btn-primary {
  background: linear-gradient(180deg, #f2ce7a 0%, #d5a546 60%, #a77522 100%);
  color: #111;
  border-color: rgba(213, 165, 70, 0.5);
}

.app-btn-primary:hover {
  filter: brightness(1.04);
}

.app-btn-ghost {
  background: #221a14;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.app-hero-soft-actions {
  margin-top: 10px;
}

.app-hero-soft-actions .app-mini-btn {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: #d6c7af;
}

.app-actions-col {
  display: grid;
  gap: 8px;
}

.app-mini-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #221a14;
  color: #ececec;
  border-radius: 10px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.app-mini-btn-danger {
  border-color: rgba(222, 107, 107, 0.45);
  color: #f2a3a3;
}

.app-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-pill {
  border: 1px solid rgba(213, 165, 70, 0.4);
  background: rgba(213, 165, 70, 0.1);
  color: #f0ce85;
  border-radius: 999px;
  text-decoration: none;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.app-home-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-home-cat-pill {
  border: 1px solid rgba(213, 165, 70, 0.38);
  background: rgba(213, 165, 70, 0.08);
  color: #f0ce85;
  border-radius: 999px;
  text-decoration: none;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.app-hours-list {
  display: grid;
  gap: 6px;
}

.app-hours-list p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.app-hours-list span {
  color: #b7b7b7;
}

.app-hours-list strong {
  color: #edd29a;
  font-weight: 700;
}

.app-popular-grid {
  display: grid;
  gap: 9px;
}

.app-popular-card {
  border-radius: 14px;
  border: 1px solid rgba(213, 165, 70, 0.34);
  background:
    linear-gradient(150deg, rgba(213, 165, 70, 0.16) 0%, rgba(35, 26, 20, 0.94) 34%, rgba(27, 20, 15, 0.97) 100%),
    #211810;
  padding: 10px 11px;
  display: grid;
  gap: 8px;
}

.app-popular-kicker {
  margin: 0;
  color: #d7b16e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-popular-title {
  margin: 4px 0 0;
  color: #f6ead0;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  font-family: "Avenir Next", "Segoe UI", Tahoma, sans-serif;
}

.app-popular-desc {
  margin: 5px 0 0;
  color: #c8beb0;
  font-size: 12px;
  line-height: 1.35;
}

.app-popular-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.app-popular-price {
  font-size: 20px;
  font-weight: 900;
  color: #f3d186;
  letter-spacing: 0.01em;
}

.app-popular-add {
  min-width: 126px;
  padding: 9px 12px;
}

.app-input,
.app-form input,
.app-form textarea,
textarea.app-input {
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #17110d;
  color: var(--text);
  padding: 10px 11px;
  font-size: 16px;
  font-family: inherit;
  -webkit-appearance: none;
}

.app-input:focus,
.app-form input:focus,
.app-form textarea:focus {
  outline: none;
  border-color: rgba(213, 165, 70, 0.72);
  box-shadow: 0 0 0 3px rgba(213, 165, 70, 0.16);
}

.app-form {
  display: grid;
  gap: 8px;
}

.app-form label {
  font-size: 12px;
  color: #b8b8b8;
  font-weight: 700;
}

.app-inline-link {
  justify-self: start;
  margin-top: -2px;
  color: #e6c87e;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.app-inline-link:hover,
.app-inline-link:focus-visible {
  color: #f5d98f;
  text-decoration: underline;
}

.app-inline-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.app-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  left: -9999px;
  opacity: 0;
}

.app-alert {
  border-radius: 11px;
  padding: 9px 10px;
  font-size: 13px;
}

.app-alert-error {
  border: 1px solid rgba(222, 107, 107, 0.44);
  background: rgba(222, 107, 107, 0.12);
  color: #f0aaaa;
}

.app-alert-success {
  border: 1px solid rgba(130, 200, 147, 0.45);
  background: rgba(130, 200, 147, 0.12);
  color: #9fdfaf;
}

.app-info-note {
  margin-top: 8px;
  border: 1px solid rgba(213, 165, 70, 0.3);
  background: rgba(213, 165, 70, 0.08);
  border-radius: 11px;
  padding: 10px;
}

.app-info-note strong {
  display: block;
  margin-bottom: 4px;
  color: #f0d08e;
  font-size: 13px;
}

.app-info-note p {
  margin: 2px 0;
  color: #d8c9aa;
  font-size: 12px;
}

.app-muted {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
}

.app-inline {
  margin: 0;
}

.app-badge-line {
  margin: 8px 0 0;
}

.app-badge {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(213, 165, 70, 0.45);
  background: rgba(213, 165, 70, 0.08);
  color: #efcb80;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 800;
}

.app-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.app-profile-grid span {
  display: block;
}

.app-link-row {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  padding: 10px;
  text-decoration: none;
  color: #efefef;
  background: var(--panel-soft);
  font-weight: 700;
}

/* Prevent iOS auto-detected phone links from breaking account typography. */
.app-shell a[href^="tel"],
.app-shell a[x-apple-data-detectors],
.app-shell a[x-apple-data-detectors-type="telephone"] {
  color: inherit !important;
  text-decoration: none !important;
  font: inherit !important;
}

.app-qty-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.app-qty {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
}

.inline,
.inline-block {
  display: inline;
}

.app-summary {
  margin-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 10px;
  display: grid;
  gap: 6px;
}

.app-summary p {
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.app-summary .total {
  font-size: 18px;
}

.app-order-items {
  margin: 8px 0 0;
  padding-left: 16px;
  font-size: 12px;
  color: #bcbcbc;
}

.app-order-items li {
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.app-order-tracking {
  margin-top: 10px;
  border: 1px solid rgba(213, 165, 70, 0.22);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 8px;
}

.app-track-head {
  display: grid;
  gap: 7px;
}

.app-track-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0ce85;
}

.app-track-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.app-track-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(213, 165, 70, 0.32);
  background: rgba(213, 165, 70, 0.08);
  color: #efcb80;
}

.app-track-pill.is-state-new {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #ddd0ba;
}

.app-track-pill.is-state-assigned,
.app-track-pill.is-prep-preparing {
  border-color: rgba(213, 165, 70, 0.38);
  background: rgba(213, 165, 70, 0.1);
  color: #f0ce85;
}

.app-track-pill.is-state-driving {
  border-color: rgba(109, 154, 230, 0.45);
  background: rgba(109, 154, 230, 0.1);
  color: #bdd7ff;
}

.app-track-pill.is-state-done,
.app-track-pill.is-prep-ready {
  border-color: rgba(117, 195, 135, 0.45);
  background: rgba(117, 195, 135, 0.12);
  color: #b9ebb9;
}

.app-track-pill.is-state-problem {
  border-color: rgba(222, 107, 107, 0.44);
  background: rgba(222, 107, 107, 0.12);
  color: #f0aaaa;
}

.app-track-meta {
  display: grid;
  gap: 4px;
}

.app-track-meta p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
}

.app-track-link {
  width: 100%;
  justify-content: center;
}

.app-tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(402px, calc(100vw - 28px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  padding: 8px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  z-index: 90;
  background: var(--panel);
  border: 1px solid rgba(213, 165, 70, 0.3);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.app-tab {
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  border-radius: 10px;
  padding: 9px 4px;
  color: #c8b28a;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.app-tab.active {
  background: linear-gradient(180deg, #efc97d 0%, #d5a546 70%, #a77522 100%);
  color: #121212;
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(6, 6, 6, 0.34);
  display: grid;
  place-items: end center;
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition: none;
}

.app-nav-mask {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.app-nav-mask.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.app-nav-busy .app-shell,
body.app-nav-busy .app-tabbar {
  pointer-events: none;
}

.app-modal.is-visible {
  pointer-events: auto;
}

.app-modal[hidden] {
  display: none !important;
}

.app-modal-card {
  width: min(430px, 100%);
  max-height: min(80svh, 660px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 19px;
  border: 1px solid rgba(213, 165, 70, 0.46);
  padding: 14px 14px 12px;
  background:
    linear-gradient(145deg, rgba(213, 165, 70, 0.16) 0%, rgba(29, 21, 16, 0.96) 24%, rgba(15, 11, 9, 0.98) 100%),
    #16110d;
  display: grid;
  gap: 10px;
  scrollbar-width: thin;
  transform: none;
  opacity: 1;
  transition: none;
  will-change: auto;
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.66),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.app-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.app-modal-open .app-shell {
  overflow: hidden;
}

.app-form-inline {
  margin-bottom: 10px;
}

.app-stepper {
  display: inline-flex;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.app-stepper button {
  border: 0;
  background: #221a14;
  color: #f0f0f0;
  padding: 8px 11px;
  font-weight: 900;
  cursor: pointer;
}

.app-stepper strong {
  min-width: 34px;
  display: grid;
  place-items: center;
  background: #2b2119;
}

.app-extras-wrap h4 {
  margin: 0 0 8px;
}

.app-extras-wrap {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px;
  background: #211912;
}

.app-extras-list {
  display: block;
  min-height: 176px;
}

.app-extras-list.is-loading {
  display: grid;
  align-content: center;
}

.app-extras-list.is-loading .app-muted {
  margin: 0;
  text-align: center;
}

.app-extra-shell {
  display: grid;
  gap: 8px;
}

.app-extra-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.app-extra-tab {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #2a2018;
  color: #ddd5ca;
  border-radius: 11px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.app-extra-tab.is-active {
  border-color: rgba(213, 165, 70, 0.6);
  background: rgba(213, 165, 70, 0.15);
  color: #f0d79c;
}

.app-extra-tab-count {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
}

.app-extra-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 150px;
  overflow: auto;
  padding: 1px;
}

.app-extra-panel.is-active {
  display: grid;
}

.app-extra-chip {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #2b2119;
  color: #eae4db;
  border-radius: 12px;
  text-align: left;
  padding: 8px 38px 8px 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.app-extra-chip-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.app-extra-chip-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-extra-chip-price {
  font-size: 12px;
  line-height: 1;
  color: #e9ca86;
  font-weight: 700;
  white-space: nowrap;
}

.app-extra-chip-price.is-empty {
  opacity: 0;
  min-width: 44px;
}

.app-extra-chip-mark {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: transparent;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.app-extra-chip.is-selected {
  border-color: rgba(213, 165, 70, 0.68);
  background: linear-gradient(180deg, rgba(213, 165, 70, 0.25), rgba(213, 165, 70, 0.12));
}

.app-extra-chip.is-selected .app-extra-chip-mark {
  color: #0f0f0f;
  background: #f0ce85;
  border-color: rgba(213, 165, 70, 0.8);
}

.app-extra-chip-ohne {
  border-color: rgba(155, 177, 204, 0.35);
}

.app-extra-chip-ohne.is-selected {
  border-color: rgba(155, 177, 204, 0.62);
  background: linear-gradient(180deg, rgba(122, 143, 171, 0.28), rgba(122, 143, 171, 0.12));
}

.app-extra-group {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  padding: 9px;
  display: grid;
  gap: 8px;
}

.app-extra-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.app-card-foot {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  position: sticky;
  bottom: -1px;
  padding-top: 8px;
  background: linear-gradient(180deg, rgba(26, 20, 16, 0), rgba(26, 20, 16, 0.96) 35%);
}

.app-total {
  margin: 0 auto 0 0;
  font-size: 22px;
  font-weight: 900;
  color: #f5d48d;
}

.app-modal-error {
  width: 100%;
  margin: 0;
  font-size: 12px;
  color: #f0a6a6;
  font-weight: 700;
}

@media (max-width: 440px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  body {
    padding: 0;
  }

  .app-shell {
    max-width: none;
    min-height: 100svh;
    height: 100svh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .app-tabbar {
    width: calc(100% - 16px);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .app-extra-panel {
    grid-template-columns: 1fr;
    max-height: 140px;
  }

  html.app-native-shell,
  body.app-native-shell {
    height: 100dvh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  html.app-native-shell .app-shell,
  body.app-native-shell .app-shell {
    min-height: 100dvh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  html.app-native-shell .app-tabbar,
  body.app-native-shell .app-tabbar {
    width: auto;
  }

}

@supports (-webkit-touch-callout: none) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}
