body {
  min-height: 100dvh;
}

#app {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 7rem;
}

/* ---------- masthead ---------- */
.masthead {
  padding: calc(1.5rem + env(safe-area-inset-top)) 1.25rem 1.25rem;
  position: relative;
}
.masthead .eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.table-stub {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem 0.3rem 0.7rem;
  border: 1.5px dashed var(--ink);
  border-radius: 6px;
  position: relative;
}
.table-stub::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--herb);
  box-shadow: 0 0 0 3px rgba(61, 106, 75, 0.18);
}
.table-stub.none::before {
  background: var(--ink-3);
  box-shadow: none;
}
.home-link,
.my-orders-btn {
  border: 0;
  background: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.3rem 0;
}
.masthead h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 11vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 1.1rem 0 0.6rem;
  max-width: 12ch;
  animation: rise 0.7s var(--ease) both;
}
.masthead .tagline {
  color: var(--ink-2);
  margin: 0;
  max-width: 34ch;
  animation: rise 0.7s 0.08s var(--ease) both;
}
.masthead .rule {
  margin-top: 1.25rem;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 20px);
  opacity: 0.85;
  animation: draw 0.9s 0.15s var(--ease) both;
  transform-origin: left;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes draw {
  from {
    transform: scaleX(0);
  }
}

.notice {
  margin: 0 1.25rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  border-left: 4px solid var(--saffron);
  font-size: 0.95rem;
}

.waiter-control {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin-top: 0.85rem;
}
.waiter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: none;
  color: var(--ink);
  font-weight: 700;
}
.waiter-btn:hover,
.waiter-btn[aria-disabled="true"] {
  background: var(--paper-2);
}
.waiter-btn[aria-disabled="true"] {
  cursor: default;
  border-color: var(--line);
}
.waiter-message {
  color: var(--herb);
  font-size: 0.85rem;
}
.waiter-message.error {
  color: var(--paprika-deep);
}

/* ---------- category nav ---------- */
.menu-tools {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 0.4rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.diet-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.2rem;
  min-inline-size: 0;
  padding: 0.2rem;
  margin: 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
}
.menu-tools:has(.cat-nav[hidden]) {
  padding-bottom: 0.4rem;
}
.diet-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
.diet-option[data-diet="veg"] {
  --diet-color: var(--herb);
}
.diet-option[data-diet="non-veg"] {
  --diet-color: var(--paprika-deep);
}
.diet-option:not([data-diet="all"]) span::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--diet-color);
}
.diet-option input:checked + span {
  background: var(--paper);
  color: var(--diet-color, var(--ink));
  box-shadow: 0 1px 2px rgba(31, 26, 23, 0.18);
}
.diet-option input:focus-visible + span {
  outline: 2px solid var(--paprika-deep);
  outline-offset: -2px;
}
.cat-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.6rem 1.25rem;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.cat-nav ul::-webkit-scrollbar {
  display: none;
}
.cat-nav a {
  display: block;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  scroll-snap-align: start;
  transition: background 0.2s, color 0.2s;
}
.cat-nav a.active {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- menu ---------- */
.menu {
  padding: 0 1.25rem;
}
.cat {
  padding-top: 1.75rem;
  scroll-margin-top: 7.5rem;
}
.cat h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.cat h2 small {
  font-family: var(--condensed);
  font-size: 0.95rem;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}
.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  animation: rise 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 35ms);
}
.item:last-child {
  border-bottom: 0;
}
.item-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.item-name {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
}
.item-head .leader {
  flex: 1;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-4px);
  min-width: 1rem;
}
.item-price {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.item-desc {
  margin: 0.2rem 0 0;
  color: var(--ink-3);
  font-size: 0.93rem;
}
.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.45rem;
}
.item-side {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.item-img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--paper-2);
}
.add-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.15s var(--ease), background 0.15s, color 0.15s;
}
.add-btn:hover,
.add-btn.in-cart {
  background: var(--ink);
  color: var(--paper);
}
.add-btn:active {
  transform: scale(0.9);
}
.add-btn .qty {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--paprika);
  color: #fff;
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 0.8rem;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 0 5px;
}
.add-btn.bump {
  animation: bump 0.35s var(--ease);
}
@keyframes bump {
  40% {
    transform: scale(1.18);
  }
}

.empty {
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--ink-3);
}
.empty h2 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
}

/* ---------- cart bar ---------- */
.cart-bar {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), 600px);
  z-index: 30;
  border: 0;
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.95rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 18px 40px -14px rgba(31, 26, 23, 0.6);
  animation: slide-up 0.4s var(--ease);
  font-weight: 600;
}
.cart-bar .count {
  background: var(--paprika);
  border-radius: 999px;
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-family: var(--condensed);
  font-size: 1.05rem;
}
.cart-bar .total {
  margin-left: auto;
  font-family: var(--condensed);
  font-size: 1.25rem;
}
@keyframes slide-up {
  from {
    transform: translate(-50%, 120%);
  }
}

/* ---------- sheets ---------- */
.sheet {
  border: 0;
  padding: 0;
  margin: auto auto 0;
  width: min(100%, 640px);
  max-height: 92dvh;
  border-radius: 22px 22px 0 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 -20px 60px -20px rgba(31, 26, 23, 0.5);
  overflow: hidden;
}
.sheet[open] {
  display: flex;
  flex-direction: column;
  animation: sheet-in 0.35s var(--ease);
}
.sheet::backdrop {
  background: rgba(31, 26, 23, 0.45);
  backdrop-filter: blur(2px);
}
@keyframes sheet-in {
  from {
    transform: translateY(100%);
  }
}
.sheet-body {
  padding: 1.5rem 1.25rem 1rem;
  overflow-y: auto;
}
.sheet-foot {
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: var(--paper);
}
.sheet-foot .btn {
  flex: 1;
  padding: 1em;
  font-size: 1rem;
}
.sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
  margin: 0.6rem auto 0;
}
.sheet h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.9rem;
  margin: 0 0 0.4rem;
  line-height: 1.05;
}
.sheet .close-x {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--paper-2);
  display: grid;
  place-items: center;
}
.sheet-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.stepper button {
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
}
.stepper button:active {
  background: var(--paper-3);
}
.stepper output {
  min-width: 2ch;
  text-align: center;
  font-family: var(--condensed);
  font-size: 1.25rem;
  font-weight: 600;
}
.stepper.sm button {
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
}

.cart-lines {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
}
.cart-line .name {
  font-weight: 600;
}
.cart-line .note {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  color: var(--paprika-deep);
  font-style: italic;
}
.cart-line .line-total {
  font-family: var(--condensed);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: right;
}
.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
  margin: 0.5rem 0 1.25rem;
}
.cart-summary .amount {
  font-family: var(--condensed);
  font-size: 1.6rem;
}
.form-stack {
  display: grid;
  gap: 0.9rem;
}
.fine {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin: 0.75rem 0 0;
}
.error-line {
  color: var(--paprika-deep);
  font-weight: 600;
  font-size: 0.92rem;
  min-height: 1.2em;
}

/* ---------- order status ---------- */
.status-view {
  padding: calc(1.5rem + env(safe-area-inset-top)) 1.25rem 2rem;
}
.receipt {
  background: #fbf7f0;
  border-radius: 4px;
  padding: 1.5rem 1.25rem 2rem;
  position: relative;
  box-shadow: var(--shadow);
  margin-top: 1.25rem;
  animation: rise 0.6s var(--ease) both;
  --tooth: 10px;
  -webkit-mask: radial-gradient(var(--tooth) at 50% 100%, #0000 98%, #000) 50% / calc(var(--tooth) * 2) 100% repeat-x;
  mask: radial-gradient(var(--tooth) at 50% 100%, #0000 98%, #000) 50% / calc(var(--tooth) * 2) 100% repeat-x;
}
.receipt .order-no {
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 4.2rem;
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.receipt .meta {
  color: var(--ink-3);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}
.status-headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.05;
  margin: 1.5rem 0 0.3rem;
}
.status-sub {
  color: var(--ink-2);
  margin: 0 0 1.25rem;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}
.steps li {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.steps li::before {
  content: "";
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--paper-3);
  margin-bottom: 0.45rem;
}
.steps li.done {
  color: var(--ink);
}
.steps li.done::before {
  background: var(--herb);
}
.steps li.current::before {
  background: linear-gradient(90deg, var(--saffron) 0 50%, var(--paper-3) 50% 100%);
  background-size: 200% 100%;
  animation: progress 1.6s linear infinite;
}
@keyframes progress {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
.status-cancelled .steps li::before {
  background: var(--paper-3);
  animation: none;
}
.receipt-lines {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1.5px dashed var(--line);
}
.receipt-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.receipt-lines .q {
  font-family: var(--condensed);
  font-weight: 700;
  margin-right: 0.4rem;
}
.receipt-total {
  display: flex;
  justify-content: space-between;
  margin-top: 0.9rem;
  font-weight: 700;
}
.receipt-total span:last-child {
  font-family: var(--condensed);
  font-size: 1.4rem;
}
.status-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.other-orders {
  margin-top: 2rem;
}
.other-orders h3 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.other-orders a {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--paper-3);
}
.pill.ready {
  background: var(--herb);
  color: #fff;
}
.pill.preparing {
  background: var(--saffron);
  color: var(--ink);
}
.ready-flash {
  animation: ready-pulse 1.2s var(--ease) 3;
}
@keyframes ready-pulse {
  50% {
    box-shadow: 0 0 0 10px rgba(61, 106, 75, 0.25), var(--shadow);
  }
}

/* ---------- bill & pay ---------- */
.eyebrow-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.bill-btn {
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-weight: 600;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.bill-view .receipt {
  overflow: hidden;
}
.bill-sums {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.bill-sums > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.bill-sums .paid-line {
  color: var(--herb);
  font-weight: 600;
}
.paid-stamp {
  position: absolute;
  top: 1.4rem;
  right: 1rem;
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--herb);
  border: 3px solid var(--herb);
  border-radius: 8px;
  padding: 0.05em 0.45em;
  transform: rotate(-9deg);
  opacity: 0.85;
  animation: stamp 0.45s var(--ease) both;
}
@keyframes stamp {
  from {
    transform: rotate(-9deg) scale(1.8);
    opacity: 0;
  }
}
.pay-notice {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  border-left: 4px solid var(--herb);
  font-size: 0.93rem;
  color: var(--ink-2);
}
.pay-notice b {
  display: block;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.pay-notice.wait {
  border-left-color: var(--saffron);
}
.link {
  border: 0;
  background: none;
  padding: 0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink);
}
.pay {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.6rem;
}
.pay-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.45rem;
  margin: 0 0 0.25rem;
}
.pay-opt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  border: 1.5px solid var(--line);
  background: #fbf7f0;
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
  transition: border-color 0.15s, transform 0.15s var(--ease), background 0.15s;
}
.pay-opt:hover,
.pay-opt.open {
  border-color: var(--ink);
}
.pay-opt:active {
  transform: scale(0.99);
}
.pay-opt[disabled] {
  opacity: 0.5;
  pointer-events: none;
}
.pay-opt .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
}
.pay-opt b {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.05rem;
}
.pay-opt small {
  display: block;
  color: var(--ink-3);
  font-size: 0.88rem;
}
.pay-opt .go {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-3);
  transition: transform 0.2s var(--ease);
}
.pay-opt.open .go {
  transform: rotate(90deg);
}
.pay-panel {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
  animation: rise 0.3s var(--ease) both;
}
.pay-panel p {
  margin: 0;
}
.upi-apps {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.upi-apps .btn {
  flex: 1;
}
.upi-qr {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  text-align: center;
}
.upi-qr img {
  background: #fff;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.upi-qr figcaption {
  font-size: 0.85rem;
  color: var(--ink-3);
  max-width: 30ch;
}
.upi-id {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.upi-id span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.upi-id code {
  font-family: var(--condensed);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.demo-badge {
  display: inline-block;
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--ink);
}
.demo-badge.big {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
}
.demo-card {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--paper-2);
}

/* ---------- location check ---------- */
.loc-note {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  font-size: 0.85rem;
  color: var(--ink-2);
}
.loc-note svg {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--herb);
}

/* ---------- feedback ---------- */
.feedback {
  margin-top: 1.75rem;
  padding: 1.15rem 1.1rem 1.2rem;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  animation: rise 0.6s var(--ease) both;
}
.feedback.big {
  border-style: solid;
  border-color: var(--ink);
  background: #fbf7f0;
}
.feedback h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 0;
}
.feedback.big h3 {
  font-size: 1.7rem;
}
.feedback p {
  margin: 0.25rem 0 0.95rem;
  color: var(--ink-2);
  font-size: 0.93rem;
}
.feedback-btns {
  display: grid;
  gap: 0.55rem;
}
.fb-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  transition: border-color 0.15s, transform 0.15s var(--ease);
}
.fb-btn:hover {
  border-color: var(--ink);
}
.fb-btn:active {
  transform: scale(0.99);
}
.fb-btn b {
  display: block;
  font-size: 1rem;
}
.fb-btn small {
  display: block;
  color: var(--ink-3);
  font-size: 0.85rem;
}
.fb-btn .stars {
  color: var(--saffron);
  font-size: 1rem;
  letter-spacing: -0.05em;
  width: 4.4rem;
  flex: 0 0 auto;
}
.fb-btn .ig {
  width: 4.4rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--paprika);
}
.fb-btn.google {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.fb-btn.google small {
  color: var(--paper-3);
}
.menu-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  margin: 2.5rem 1.25rem 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.menu-foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.menu-foot a span {
  color: var(--saffron);
}
.menu-foot svg {
  width: 18px;
  height: 18px;
}

/* ---------- contact details at checkout ---------- */
.contact {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem 0.95rem;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.contact legend {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0 0.3rem;
}
.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.92rem;
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  accent-color: var(--herb);
  flex: 0 0 auto;
}

/* ---------- Wi-Fi & games ---------- */
.wait-card {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}
.wait-card > div {
  flex: 1;
}
.wait-card b {
  display: block;
}
.wait-card span {
  font-size: 0.9rem;
  color: var(--paper-3);
}
.wait-card .btn {
  background: var(--saffron);
  color: var(--ink);
  border-color: var(--saffron);
}
.fun-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fun-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.05;
  margin: 1.25rem 0 1rem;
}
.ready-bar {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--herb);
  color: #fff;
  font-weight: 700;
  text-align: left;
  animation: rise 0.5s var(--ease) both;
}
.wifi-card {
  background: #fbf7f0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.1rem 0.9rem;
  margin-bottom: 1.5rem;
}
.wifi-head {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}
.wifi-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--herb);
}
.wifi-head small {
  display: block;
  color: var(--ink-3);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.wifi-head b {
  font-size: 1.2rem;
  word-break: break-all;
}
.wifi-pass {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
}
.wifi-pass span {
  font-size: 0.8rem;
  color: var(--ink-3);
}
.wifi-pass code {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 600;
  word-break: break-all;
  user-select: all;
}
.wifi-qr {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}
.wifi-qr summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-2);
}
.wifi-qr img {
  display: block;
  margin: 0.8rem auto 0;
  border-radius: 6px;
  background: #fff;
  padding: 6px;
}
.wifi-qr .fine {
  text-align: center;
}
.game-list {
  display: grid;
  gap: 0.6rem;
}
.game-pick {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  border: 1.5px solid var(--line);
  background: #fbf7f0;
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  transition: border-color 0.15s, transform 0.15s var(--ease);
}
.game-pick:hover {
  border-color: var(--ink);
}
.game-pick:active {
  transform: scale(0.99);
}
.game-pick .gi {
  font-size: 1.7rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--paper-2);
}
.game-pick b {
  display: block;
  font-size: 1.05rem;
}
.game-pick small {
  color: var(--ink-3);
  font-size: 0.88rem;
}
.game-pick .go {
  font-size: 1.6rem;
  color: var(--ink-3);
}
.game-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.game-area {
  position: relative;
}
.game-stats {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-bottom: 0.75rem;
}
.game-stats b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.game-foot {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.game-over {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1rem;
  background: rgba(244, 237, 225, 0.92);
  border-radius: var(--radius);
  animation: rise 0.4s var(--ease) both;
}
.game-over[hidden] {
  display: none;
}
.game-over b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.8rem;
}
.game-over span {
  color: var(--ink-2);
  max-width: 28ch;
  margin-bottom: 0.4rem;
}
.mem-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: 0.5rem;
}
.mem-card {
  aspect-ratio: 3 / 4;
  border: 0;
  padding: 0;
  background: none;
  perspective: 600px;
  position: relative;
}
.mem-card span {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  backface-visibility: hidden;
  transition: transform 0.35s var(--ease);
}
.mem-card .back {
  background: var(--paprika) repeating-linear-gradient(45deg, transparent 0 6px, rgba(255, 255, 255, 0.12) 6px 12px);
  border: 2px solid var(--paprika-deep);
}
.mem-card .face {
  background: #fbf7f0;
  border: 2px solid var(--line);
  font-size: clamp(1.4rem, 7vw, 2.2rem);
  transform: rotateY(180deg);
}
.mem-card.up .back {
  transform: rotateY(180deg);
}
.mem-card.up .face {
  transform: rotateY(0);
}
.mem-card.matched .face {
  border-color: var(--herb);
  background: #eef3ea;
}
.catch-wrap {
  position: relative;
}
.catch {
  display: block;
  width: 100%;
  height: min(60vh, 460px);
  border-radius: var(--radius);
  background: linear-gradient(#fbf7f0, var(--paper-2));
  border: 1.5px solid var(--line);
  touch-action: none;
}
.xo-mode {
  display: flex;
  background: var(--paper-2);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 0.9rem;
}
.xo-mode button {
  flex: 1;
  border: 0;
  background: none;
  border-radius: 999px;
  padding: 0.45rem;
  font-weight: 600;
  color: var(--ink-2);
}
.xo-mode button.on {
  background: var(--ink);
  color: var(--paper);
}
.xo-status {
  text-align: center;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.xo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 330px;
  margin: 0 auto;
}
.xo-cell {
  aspect-ratio: 1;
  border: 0;
  border-radius: 10px;
  background: #fbf7f0;
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-family: var(--condensed);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
}
.xo-cell.x {
  color: var(--paprika);
}
.xo-cell.o {
  color: var(--herb);
}
.xo-cell.win {
  background: var(--saffron);
  color: var(--ink);
}
.xo-cell[disabled] {
  cursor: default;
}
