.r-guest {
  --r-brand:#c2410c;
  --r-brand-ink:#9a3412;
  background: #fff;
  min-height: 100%;
  padding-bottom: 96px;
  position: relative;
}
.r-hero {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #6b3a22;
}
.r-plate {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.r-plate-a {
  width: 150px;
  height: 150px;
  left: -30px;
  top: 30px;
  background: #d9a066;
  box-shadow:
    inset 0 0 0 35px #f4ece2,
    inset 0 0 0 42px #7c9a3d,
    0 10px 30px rgba(0, 0, 0, .35);
}
.r-plate-b {
  width: 118px;
  height: 118px;
  right: 36px;
  top: -14px;
  background: #c2410c;
  box-shadow:
    inset 0 0 0 30px #f4ece2,
    inset 0 0 0 37px #fbbf24,
    0 10px 30px rgba(0, 0, 0, .35);
}
.r-plate-c {
  width: 78px;
  height: 78px;
  right: -14px;
  top: 96px;
  background: #65a30d;
  box-shadow: inset 0 0 0 17px #f4ece2, 0 10px 30px rgba(0, 0, 0, .35);
}
.r-hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 18px 14px;
  background: rgba(20, 10, 5, .72);
  color: #fff;
}
.r-name {
  font: 700 26px/1.1 "Space Grotesk", sans-serif;
  letter-spacing: -.01em;
}
.r-meta {
  font-size: 13px;
  opacity: .85;
  margin-top: 2px;
}
.r-cats {
  position: sticky;
  top: 58px;
  z-index: 5;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid #f0ebe4;
  scrollbar-width: none;
}
.r-cat {
  border: 1px solid #eadfd3;
  background: #fffaf5;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 36px;
}
.r-sec {
  padding: 6px 0 4px;
  scroll-margin-top: 112px;
}
.r-sec-title {
  font: 700 18px "Space Grotesk", sans-serif;
  padding: 14px 16px 4px;
}
.r-item {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid #f4f0ea;
  padding: 14px 16px;
}
.r-item:active {
  background: #fffaf5;
}
.r-item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.r-item-name {
  font-weight: 700;
  font-size: 15px;
}
.r-item-desc {
  font-size: 13px;
  color: #7a7470;
  line-height: 1.35;
}
.r-item-price {
  font-weight: 700;
  font-size: 14px;
  margin-top: 4px;
}
.r-add {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--r-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 20px/1 Inter;
}
.r-orders {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px;
  scroll-margin-top: 120px;
}
.r-orders:not(:empty) {
  padding: 14px 16px 4px;
}
.r-order {
  border: 1px solid #eadfd3;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fffaf5;
}
.r-order-ready {
  border-color: #86efac;
  background: #f0fdf4;
}
.r-order-top {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}
.r-order-status {
  font-size: 13px;
  color: #57534e;
  margin: 2px 0 8px;
}
.r-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #a8a29e;
}
.r-steps span {
  border-top: 3px solid #e7e5e4;
  padding-top: 4px;
}
.r-steps span.on {
  border-color: var(--r-brand);
  color: var(--r-brand-ink);
}
.r-order-ready .r-steps span.on {
  border-color: #16a34a;
  color: #166534;
}
.r-cartbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  width: min(428px, calc(100vw - 32px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--r-brand);
  color: #fff;
  border: 0;
  border-radius: 16px;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(154, 52, 18, .35);
}
.r-cartbar.bump {
  animation: r-bump .35s ease;
}
@keyframes r-bump {
  50% {
    transform: translateX(-50%) scale(1.04);
  }
}
.r-sheet-wrap {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  background: rgba(20, 14, 10, .45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.r-sheet {
  width: min(460px, 100vw);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 20px 18px max(20px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.r-sheet-head h3 {
  font: 700 20px "Space Grotesk", sans-serif;
}
.r-mods {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.r-mods-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #78716c;
  margin-top: 6px;
}
.r-opt {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #eee7df;
  border-radius: 12px;
  font-size: 15px;
}
.r-opt input {
  width: 18px;
  height: 18px;
  accent-color: var(--r-brand);
}
.r-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.r-note input,
.r-tip-custom {
  border: 1px solid #e7e0d8;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  font-size: 16px;
}
.r-primary {
  background: var(--r-brand);
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 15px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}
.r-primary:disabled {
  background: #d6d3d1;
  color: #78716c;
  cursor: default;
}
.r-ghost {
  background: none;
  border: 0;
  color: #57534e;
  font-weight: 600;
  padding: 8px;
}
.r-fine {
  font-size: 12px;
  color: #78716c;
  text-align: center;
}
.r-cart-lines {
  display: flex;
  flex-direction: column;
}
.r-line {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f4f0ea;
}
.r-line-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.r-line-mods {
  font-size: 12.5px;
  color: #b45309;
}
.r-line-note {
  font-size: 12.5px;
  color: #78716c;
  font-style: italic;
  overflow-wrap: anywhere;
}
.r-line-price {
  font-weight: 700;
  font-size: 14px;
  min-width: 64px;
  text-align: right;
}
.r-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--r-brand);
  border-radius: 18px;
  padding: 2px 4px;
  color: var(--r-brand);
  font-weight: 700;
}
.r-stepper button {
  background: none;
  border: 0;
  width: 28px;
  height: 28px;
  font-size: 18px;
  color: inherit;
}
.r-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.3fr;
  gap: 8px;
}
.r-tip {
  border: 1.5px solid #e7e0d8;
  background: #fff;
  border-radius: 12px;
  padding: 10px 0;
  font-weight: 700;
}
.r-tip.on {
  border-color: var(--r-brand);
  color: var(--r-brand-ink);
  background: #fff7ed;
}
.r-tip-custom {
  min-width: 0;
  padding: 10px;
}
.r-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
}
.r-sum {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #57534e;
}
.r-sum-total {
  font-size: 17px;
  font-weight: 700;
  color: #1c1917;
  margin-top: 4px;
}
.k-root {
  background: #0f1117;
  color: #e8e9ed;
  min-height: calc(100vh - 100px);
  padding: 16px;
}
.k-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.k-stat {
  background: #171a22;
  border: 1px solid #262a35;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}
.k-stat-v {
  font: 700 22px "Space Grotesk", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.k-stat:last-child .k-stat-v {
  font-size: 15px;
  padding-top: 6px;
}
.k-stat-k {
  font-size: 12px;
  color: #8b90a0;
}
.k-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  align-items: start;
}
.k-empty {
  color: #8b90a0;
  padding: 24px 4px;
}
.k-ticket {
  background: #171a22;
  border: 1px solid #262a35;
  border-top: 5px solid #22c55e;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.k-ticket[data-age=warn] {
  border-top-color: #f59e0b;
}
.k-ticket[data-age=late] {
  border-top-color: #ef4444;
}
.k-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.k-id {
  font: 700 22px "Space Grotesk", sans-serif;
  margin-right: 8px;
}
.k-source {
  font-size: 13px;
  color: #a4a8b3;
}
.k-timer {
  font:
    700 18px "JetBrains Mono",
    ui-monospace,
    monospace;
  color: #86efac;
  background: rgba(34, 197, 94, .12);
  padding: 4px 8px;
  border-radius: 8px;
}
.k-ticket[data-age=warn] .k-timer {
  color: #fbbf24;
  background: rgba(245, 158, 11, .12);
}
.k-ticket[data-age=late] .k-timer {
  color: #f87171;
  background: rgba(239, 68, 68, .14);
}
.k-lines {
  list-style: none;
  border-top: 1px solid #262a35;
}
.k-lines li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #262a35;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.k-lines li div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.k-qty {
  font-family:
    "JetBrains Mono",
    ui-monospace,
    monospace;
  color: #fb923c;
  min-width: 28px;
}
.k-mod {
  font-size: 13px;
  font-weight: 600;
  color: #f87171;
}
.k-note {
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  color: #c4c8d4;
  overflow-wrap: anywhere;
}
.k-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.k-status {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b90a0;
}
.k-ticket[data-status=cooking] .k-status {
  color: #fb923c;
}
.k-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 15px;
}
.k-btn-new {
  background: #2a2f3a;
  color: #e8e9ed;
}
.k-btn-cooking {
  background: #22c55e;
  color: #052e16;
}
.k-done-title {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8b90a0;
  margin: 22px 0 8px;
}
.k-done {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.k-done-row {
  display: flex;
  gap: 14px;
  align-items: baseline;
  color: #8b90a0;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid #1e222c;
}
.k-done-row .k-id {
  font-size: 16px;
  color: #c4c8d4;
}
.k-done-at {
  margin-left: auto;
  font-family:
    "JetBrains Mono",
    ui-monospace,
    monospace;
  font-size: 13px;
}
@media (max-width:600px) {
  .k-root {
    padding: 12px;
  }
  .k-strip {
    grid-template-columns: 1fr 1fr;
  }
  .k-stat:last-child {
    display: none;
  }
  .k-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .r-cartbar.bump {
    animation: none;
  }
}
