/* order.theroboburger.com: Kiosk 2's screens on a phone (light only; the kiosk's tokens, fonts, photo and condiment discs) */
@font-face { font-family: 'Futura Medium'; src: url(/media/FuturaMedium.woff) format('woff'); font-display: swap; }
@font-face { font-family: 'Futura Bold'; src: url(/media/FuturaBold.woff) format('woff'); font-display: swap; }
:root {
  --bg: #FAF7F3; --surface: #FFFFFF; --band: #F1EBE4; --ink: #1A1410; --ink-2: #4A3B30; --ink-3: #6B5A4C; --ink-4: #9C8C7E;
  --rule: #E7DED5; --red: #C22126; --red-deep: #7E1014; --red-ink: #A10600;
  --ready-bg: #E6F5E9; --ready-fg: #0B5D1E; --ready-dot: #1F9D45; --cook-bg: #FFF4DC; --cook-fg: #5C3A00;
  --problem-bg: #FDECEC; --problem-fg: #8A1C1C;
  --shadow: 0 1px 2px rgba(26, 20, 16, .06), 0 8px 24px rgba(26, 20, 16, .08);
  --font: 'Futura Medium', 'Futura', 'Century Gothic', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --font-bold: 'Futura Bold', 'Futura', 'Century Gothic', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --pad: 20px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.4 var(--font); -webkit-text-size-adjust: 100%; }
main { max-width: 480px; margin: 0 auto; min-height: 100dvh; background: var(--bg); position: relative; }
@media (min-width: 520px) { body { background: var(--band); } main { box-shadow: 0 0 60px rgba(26, 20, 16, .10); } }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 6px 0; }
.loading { padding: 40vh 0 0; text-align: center; color: var(--ink-3); }

/* every screen: a quiet entrance */
.scr { min-height: 100dvh; display: flex; flex-direction: column; }
.scr.enter .body, .scr.enter .dock { animation: rise .32s cubic-bezier(.2, .7, .2, 1) both; }
.scr.enter .dock { animation-delay: .06s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .scr.enter .body, .scr.enter .dock { animation: none; } }
.body { padding: 0 var(--pad); flex: 1; }
.dock { position: sticky; bottom: 0; padding: 14px var(--pad) calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(250, 247, 243, 0), var(--bg) 22px); z-index: 5; }

/* the kiosk's photo, faded into the page */
.photo { position: relative; height: min(58vh, 460px); background: #2b2420 url(/page/hero.jpg) center 38% / cover no-repeat; }
.photo.short { height: min(30vh, 230px); background-position: center 30%; }
.photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 45%; background: linear-gradient(rgba(250, 247, 243, 0), var(--bg)); pointer-events: none; }
.plain-top { padding-top: 4px; }
.topbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(12px + env(safe-area-inset-top)) var(--pad) 0; }
.pill { padding: 9px 14px; border-radius: 99px; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(0, 0, 0, .10); backdrop-filter: blur(6px); }
.mark { font: 13px/1 var(--font-bold); letter-spacing: .16em; color: var(--ink); }
.mark span { color: var(--red); }
.logo { height: 22px; width: auto; display: block; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .10); font: 14px var(--font-bold); }
.back { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(0, 0, 0, .10); display: grid; place-items: center; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.back .ic { width: 22px; height: 22px; }

/* type */
.eyebrow { font: 13px/1.2 var(--font-bold); letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); margin: 6px 0 6px; }
h1 { font: 32px/1.08 var(--font-bold); margin: 0 0 8px; letter-spacing: -.01em; }
h2 { font: 13px/1.2 var(--font-bold); letter-spacing: .14em; text-transform: uppercase; color: var(--red-ink); margin: 28px 0 10px; }
.sub, .fine { color: var(--ink-3); font-size: 15px; }
.fine { text-align: center; margin-top: 16px; }

/* the big red button: the kiosk's, with its depth */
.btn { display: block; width: 100%; padding: 18px 20px; border: 0; border-radius: 99px; background: var(--red); color: #fff; font: 21px/1.15 var(--font-bold);
  box-shadow: 0 5px 0 var(--red-deep), 0 10px 24px rgba(194, 33, 38, .22); transition: transform .08s, box-shadow .08s; }
.btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--red-deep), 0 6px 14px rgba(194, 33, 38, .2); }
.btn:disabled { background: #E4DDD6; color: #6E6259; box-shadow: none; }
.btn .sub { display: block; font: 13px var(--font); opacity: .9; margin-top: 3px; color: #fff; }
.link { display: block; margin: 14px auto 0; background: none; border: 0; padding: 8px 4px; color: var(--ink-2); font: 15px var(--font); text-decoration: underline; text-underline-offset: 3px; }

/* start: the kiosk's start screen */
.start .body { margin-top: -36px; position: relative; z-index: 2; }
.where { font: 14px var(--font-bold); color: var(--ink-3); letter-spacing: .02em; }
.tag { display: inline-block; margin-bottom: 8px; padding: 5px 10px; border-radius: 99px; font: 11px var(--font-bold); letter-spacing: .1em; }
.tag.test { background: var(--problem-bg); color: var(--problem-fg); }
.price { font: 64px/1 var(--font-bold); letter-spacing: -.02em; margin: 6px 0 6px; }
.price sup { font-size: .42em; vertical-align: .95em; margin-right: 2px; }
.what { font-size: 17px; color: var(--ink-2); }
.open { display: flex; align-items: center; gap: 8px; font: 15px var(--font-bold); color: var(--ready-fg); }
.open i { width: 9px; height: 9px; border-radius: 50%; background: var(--ready-dot); box-shadow: 0 0 0 4px rgba(31, 157, 69, .15); }
.steps { list-style: none; padding: 0; margin: 22px 0 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.steps li { display: flex; flex-direction: column; gap: 8px; padding: 12px 10px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); font-size: 13px; line-height: 1.25; color: var(--ink-2); }
.steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 13px var(--font-bold); }
.brandfoot { margin-top: 14px; display: flex; justify-content: center; }

/* choose: the classic in one tap, or my condiments */
.choose .body { margin-top: -24px; position: relative; z-index: 2; }
.card { width: 100%; display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 18px 18px; border-radius: 20px; text-align: left; }
.card span { flex: 1; min-width: 0; }
.card b { display: block; font: 21px/1.15 var(--font-bold); }
.card small { display: block; margin-top: 4px; font-size: 14px; }
.card em { font: 22px var(--font-bold); font-style: normal; }
.card.classic { border: 0; background: var(--red); color: #fff; box-shadow: 0 5px 0 var(--red-deep), 0 12px 26px rgba(194, 33, 38, .22); }
.card.classic small { color: rgba(255, 255, 255, .88); }
.card.own { border: 2px solid var(--ink); background: var(--surface); }
.card.own small { color: var(--ink-3); }
.card.own em { font-size: 18px; }
.card .ic { width: 22px; height: 22px; }

/* condiments: the 2024 discs, a tick when added */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px 12px; border-radius: 18px;
  border: 2px solid transparent; background: var(--surface); box-shadow: var(--shadow); transition: border-color .15s, transform .1s; }
.tile:active { transform: scale(.97); }
.tile.on { border-color: var(--ink); }
.tile .disc { width: 78px; height: 78px; border-radius: 50%; background: var(--band) center / 100% no-repeat; }
.tile .tick { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--ready-dot); color: #fff; display: grid; place-items: center; border: 2px solid #fff; }
.tile .tick .ic { width: 15px; height: 15px; stroke-width: 3; }
.tile b { font: 16px var(--font-bold); margin-top: 4px; }
.tile small { display: inline-flex; align-items: center; gap: 3px; font: 11px var(--font-bold); letter-spacing: .06em; }
.tile small .ic { width: 12px; height: 12px; stroke-width: 3; }
.tile small.added { color: var(--ready-fg); }
.tile small.add { color: var(--ink-3); }
.tile .incl { font-size: 11px; color: var(--ink-4); }
.summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.summary span { min-width: 0; font-size: 15px; }
.summary small { display: block; font: 11px var(--font-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.summary b { font: 22px var(--font-bold); }

/* checkout */
.bill { margin-top: 14px; padding: 6px 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; font-size: 16px; }
.row + .row { border-top: 1px solid var(--rule); }
.row.muted { color: var(--ink-3); }
.row.total { font: 22px var(--font-bold); }
.note { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 16px; font-size: 15px; line-height: 1.35; }
.note b { font-family: var(--font-bold); }
.note.good { background: var(--ready-bg); color: var(--ready-fg); }
.note.good .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--ready-dot); color: #fff; display: grid; place-items: center; flex: none; }
.note.good .dot .ic { width: 15px; height: 15px; stroke-width: 3; }
.note.warm { background: var(--cook-bg); color: var(--cook-fg); }
.note.warm .ic { width: 22px; height: 22px; margin-top: 1px; }
.note.soft { background: var(--band); color: var(--ink-2); }
.note.bad { background: var(--problem-bg); color: var(--problem-fg); }
.pay { display: grid; gap: 10px; margin-top: 4px; }
.field { display: flex; margin-top: 10px; }
input { flex: 1; min-width: 0; padding: 15px 16px; border-radius: 14px; border: 2px solid var(--rule); font: 17px var(--font-bold); letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--ink); }
input:focus { outline: none; border-color: var(--ink); }
.link.staff { font-size: 13px; color: var(--ink-3); }
.cardpay { display: grid; gap: 12px; margin-top: 14px; }
.pe:empty { display: none; }
.pe { padding: 14px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }

/* the code: the kiosk's paid screen on the phone */
.code .body { padding-top: 14px; }
.orderno small { display: block; font-size: 15px; color: var(--ink-3); }
.orderno b { display: block; font: 64px/1 var(--font-bold); letter-spacing: -.02em; margin: 2px 0 8px; }
.ticket { position: relative; margin-top: 10px; padding: 18px 18px 16px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); text-align: center; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 46px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); }
.ticket::before { left: -9px; } .ticket::after { right: -9px; }
.tk-where { font: 13px var(--font-bold); color: var(--ink-3); padding-bottom: 14px; margin-bottom: 12px; border-bottom: 2px dashed var(--rule); }
.ticket svg { width: min(64vw, 260px); height: auto; display: block; margin: 4px auto 10px; }
.digits { font: 21px var(--font-bold); letter-spacing: .08em; word-spacing: .25em; }
.items { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.it { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 99px; background: var(--band); font: 13px var(--font-bold); }
.it i { width: 24px; height: 24px; border-radius: 50%; background: center / 100% no-repeat; }
.valid { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.track { margin-top: 16px; padding: 16px 18px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.now-line b { display: block; font: 19px var(--font-bold); }
.now-line small { display: block; color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.track ol { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 0; }
.track li { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0; color: var(--ink-4); font-size: 15px; }
.track li i { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink-4); background: #fff; flex: none; }
.track li + li::before { content: ""; position: absolute; left: 7px; top: -9px; height: 18px; width: 2px; background: var(--rule); }
.track li.done { color: var(--ink-2); }
.track li.done i { background: var(--ready-dot); border-color: var(--ready-dot); }
.track li.done + li::before, .track li.done + li.done::before { background: var(--ready-dot); }
.track li.now { color: var(--ink); font-family: var(--font-bold); }
.track li.now i { border-color: var(--red); background: #fff; box-shadow: 0 0 0 5px rgba(194, 33, 38, .14); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(194, 33, 38, .05); } }
@media (prefers-reduced-motion: reduce) { .track li.now i { animation: none; } }
.how { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.foot { margin: 26px 0 calc(20px + env(safe-area-inset-bottom)); color: var(--ink-3); font-size: 13px; text-align: center; }

/* the bare address: the RoboBurgers taking phone orders */
.find .body { margin-top: -20px; position: relative; z-index: 2; }
.find .cards { display: grid; gap: 12px; margin-top: 16px; }
.unit-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); color: inherit; text-decoration: none; }
.unit-card i { width: 64px; height: 64px; border-radius: 14px; background: url(/page/hero_sm.jpg) center / cover; flex: none; }
.unit-card span { flex: 1; min-width: 0; }
.unit-card b { display: block; font: 17px/1.2 var(--font-bold); }
.unit-card small { display: block; margin-top: 3px; font: 12px var(--font-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); }
.unit-card .ic { color: var(--ink-3); }

/* start my burger from the phone: on the code screen, while the code is unused */
.startbox { margin: 6px 0 14px; }
.startbox .fine { margin-top: 10px; }

/* closed: why, and when to come back (never an Order button the unit cannot honour) */
.closed { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; background: var(--cook-bg); color: var(--cook-fg); box-shadow: var(--shadow); }
.closed b { font: 19px var(--font-bold); }
.closed span { font-size: 15px; }
.dock .link { margin-top: 8px; }
