:root {
  --bg: #F8F5FC;
  --card: #FFFFFF;
  --ink: #261E33;
  --muted: #776D86;
  --line: #E8E1F2;
  --brand: #7C4DBC;
  --brand-ink: #FFFFFF;
  --brand-soft: #F1EAFB;
  --ok: #15803D;
  --ok-soft: #DCFCE7;
  --warn: #B45309;
  --warn-soft: #FEF3C7;
  --bad: #B91C1C;
  --bad-soft: #FEE2E2;
  --info: #1D4ED8;
  --info-soft: #DBEAFE;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(60, 40, 90, .06), 0 4px 16px rgba(60, 40, 90, .07);
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.45;
  padding-bottom: calc(var(--nav-h) + var(--safe-b) + 72px);
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Header */
.top { background: var(--brand); color: var(--brand-ink); }
.top-inner { max-width: 1120px; margin: 0 auto; padding: 14px 16px 16px; display: flex; align-items: center; gap: 12px; }
.brand { flex: 1; min-width: 0; }
.top .site-logo { width: 40px; height: 40px; flex: none; }
.brand-name { font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: 13px; opacity: .9; display: flex; gap: 8px; align-items: center; margin-top: 2px; }
.table-badge { background: rgba(255,255,255,.2); border-radius: 999px; padding: 1px 10px; font-weight: 600; }
.table-badge:empty { display: none; }
.age-badge { cursor: pointer; }
.lang { border: 1.5px solid rgba(255,255,255,.6); border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: 13px; color: #fff; }
/* Nút đổi ngôn ngữ: chỉ 1 lá cờ của ngôn ngữ SẼ chuyển sang (đang VI → cờ Anh, đang EN → cờ Việt Nam) */
.lang-flag { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 44px; min-height: 36px; padding: 6px 8px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; }
.lang-flag img { display: block; width: 30px; height: 20px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang-flag:hover { border-color: var(--brand); }
.lang-flag:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Công cụ dính */
.view { max-width: 1120px; margin: 0 auto; }
.sticky-tools { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: 12px 16px 0; }
.search { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; padding: 11px 0; color: var(--ink); min-width: 0; }
.search input::-webkit-search-cancel-button { display: none; }
.search:focus-within { border-color: var(--brand); }
.clear { font-size: 22px; line-height: 1; color: var(--muted); padding: 0 4px; }
.chips { display: flex; gap: 8px; padding: 10px 0 0; overflow-x: auto; scrollbar-width: none; }
.chip { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cats { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-top: 8px; }
.chips::-webkit-scrollbar, .cats::-webkit-scrollbar { display: none; }
.cat { flex: none; padding: 10px 12px; font-weight: 500; color: var(--muted); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.cat.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

/* Danh sách món */
.menu-list { padding: 4px 16px 16px; }
.cat-title { font-size: 17px; font-weight: 700; margin: 18px 0 10px; scroll-margin-top: 150px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.dish { display: flex; gap: 12px; background: var(--card); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); text-align: left; width: 100%; position: relative; }
.dish.off { opacity: .55; }
.thumb { flex: none; position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; font-size: 46px; background: linear-gradient(135deg, #EDE3FA, #FAF7FF); }
/* Ảnh luôn lấp đầy khung, cắt phần thừa, không bao giờ tràn (kể cả ảnh dọc chụp điện thoại) */
.thumb img, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dish-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dish-name { font-weight: 600; font-size: 15.5px; }
.dish-desc { color: var(--muted); font-size: 13px; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 6px; }
.price { font-weight: 700; color: var(--brand); }
.tag { position: absolute; top: 8px; left: 8px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; border-radius: 6px; padding: 1px 6px; }
.soldout { font-size: 12px; font-weight: 600; color: var(--bad); background: var(--bad-soft); padding: 2px 8px; border-radius: 6px; }

.add { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center; }
.stepper { display: inline-flex; align-items: center; gap: 2px; background: var(--brand-soft); border-radius: 999px; padding: 2px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--brand); font-weight: 600; }
.stepper button:last-child { background: var(--brand); color: #fff; }
.stepper span { min-width: 24px; text-align: center; font-weight: 700; }
.stepper.lg button { width: 40px; height: 40px; }
.stepper.lg span { min-width: 34px; font-size: 17px; }

.empty { text-align: center; color: var(--muted); padding: 48px 16px; }

/* Nav dưới */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; background: var(--card); border-top: 1px solid var(--line); height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b); }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; color: var(--muted); position: relative; }
.tab.active { color: var(--brand); font-weight: 600; }
.dot { position: absolute; top: 10px; left: calc(50% + 10px); width: 9px; height: 9px; border-radius: 50%; background: var(--bad); }

/* Giỏ nổi */
.cart-bar { position: fixed; z-index: 29; left: 16px; right: 16px; bottom: calc(var(--nav-h) + var(--safe-b) + 10px); max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(124, 77, 188, .35); font-weight: 600; }
.cart-bar strong { margin-left: auto; }
.cart-count { background: #fff; color: var(--brand); min-width: 26px; height: 26px; border-radius: 13px; display: grid; place-items: center; font-size: 13px; padding: 0 6px; }
.fab { position: fixed; z-index: 28; right: 16px; bottom: calc(var(--nav-h) + var(--safe-b) + 74px); width: 50px; height: 50px; border-radius: 50%; background: var(--card); color: var(--brand); box-shadow: var(--shadow), 0 0 0 1px var(--line); display: grid; place-items: center; }

/* Sheet */
.overlay { position: fixed; inset: 0; background: rgba(30, 20, 45, .45); z-index: 40; animation: fade .15s; }
.sheet { position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; background: var(--card); border-radius: 18px 18px 0 0; padding: 0 0 calc(16px + var(--safe-b)); animation: up .2s ease-out; }
.sheet-head { position: sticky; top: 0; background: var(--card); display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); z-index: 1; }
.sheet-head h3 { margin: 0; font-size: 17px; }
.x { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); font-size: 22px; line-height: 1; }
.sheet-body { padding: 16px; }
.sheet-foot { padding: 12px 16px 0; position: sticky; bottom: 0; background: var(--card); }
.hero { position: relative; overflow: hidden; height: 240px; flex: none; display: grid; place-items: center; font-size: 110px; background: linear-gradient(135deg, #EDE3FA, #FAF7FF); }
.sheet-body { position: relative; background: var(--card); }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

.field { display: block; margin-top: 14px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field textarea, .field input, .field select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; outline: 0; resize: vertical; }
.field textarea:focus, .field input:focus { border-color: var(--brand); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px; font-weight: 600; width: 100%; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:disabled { opacity: .5; }
.btn.ghost { background: var(--brand-soft); color: var(--brand); }
.btn.line { border: 1px solid var(--line); background: #fff; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.actions-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }

.cart-line { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cart-line .thumb { width: 56px; height: 56px; font-size: 28px; }
.cart-line .grow { flex: 1; min-width: 0; }
.cart-line .note-in { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 4px 0; font-size: 13px; outline: 0; background: transparent; margin-top: 4px; }

/* Lịch sử */
.panel { background: var(--card); margin: 12px 16px; border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.panel h2 { font-size: 17px; margin: 0 0 6px; }
.order { border-top: 1px solid var(--line); padding: 12px 0; }
.order:first-of-type { border-top: 0; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.order-line { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.order-line small { display: block; color: var(--muted); }
.status { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.st-pending { background: var(--warn-soft); color: var(--warn); }
.st-confirmed { background: var(--info-soft); color: var(--info); }
.st-served { background: var(--ok-soft); color: var(--ok); }
.st-cancelled { background: var(--bad-soft); color: var(--bad); text-decoration: line-through; }
.total-panel strong { font-size: 20px; color: var(--brand); }
.info-panel { font-size: 14px; color: var(--muted); }
.info-panel b { color: var(--ink); }

.toast { position: fixed; z-index: 60; left: 50%; top: 16px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; max-width: calc(100% - 32px); box-shadow: var(--shadow); animation: fade .2s; }

.pick-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.pick-table button { padding: 14px 0; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; }
.pick-age { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.pick-age button { font-size: 28px; padding: 16px 0 10px; display: grid; gap: 2px; }
.pick-age button small { font-size: 13px; font-weight: 500; color: var(--muted); }
.pick-age button.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.pay-opt { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; margin-top: 10px; width: 100%; text-align: left; }
.pay-opt.active { border-color: var(--brand); background: var(--brand-soft); }
.pay-opt .ico { font-size: 26px; }

/* Máy tính */
@media (min-width: 720px) {
  .hero { height: 300px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .thumb { width: 110px; height: 110px; }
  .sheet { left: 50%; right: auto; bottom: 50%; transform: translate(-50%, 50%); width: 520px; border-radius: 18px; max-height: 86vh; animation: fade .15s; }
  .bottom-nav { justify-content: center; }
  .tab { flex: 0 0 180px; flex-direction: row; gap: 8px; font-size: 14px; }
  .dot { top: 18px; left: auto; right: 22px; }
  .fab { bottom: calc(var(--nav-h) + 20px); right: 24px; }
  .panel { max-width: 720px; margin: 16px auto; }
}
@media (min-width: 1040px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .dish { flex-direction: column; padding: 0; overflow: hidden; }
  .dish .thumb { width: 100%; height: 170px; border-radius: 0; font-size: 80px; }
  .dish .dish-body { padding: 10px 14px 14px; }
}
.dish { cursor: pointer; }

/* Trả yêu thương */
.stars { letter-spacing: -2px; font-size: 15px; }
.stars-sm { white-space: nowrap; color: var(--muted); font-size: 14px; }
.total-panel .row-between { align-items: flex-start; }
.total-panel strong { font-size: 16px !important; text-align: right; line-height: 1.6; }
.cart-bar strong { font-size: 15px; }
.btn.sm { padding: 8px 12px; font-size: 14px; width: auto; border-radius: 10px; flex: none; }
.btn.line { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.pay-line { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); }
.pay-line.is-paid { background: var(--ok-soft); }
.pay-line .pay-emoji { font-size: 26px; }
.pay-line .grow, .love-row .grow { flex: 1; min-width: 0; }
.pay-line small, .love-row small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.love-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--brand-soft); border-radius: 12px; margin-bottom: 8px; }
.love-row .ico { font-size: 28px; }
.spin-info { font-size: 13.5px; color: var(--brand); background: var(--brand-soft); padding: 10px 12px; border-radius: 10px; margin: 14px 0 0; }

/* Vòng quay */
.spin-box { text-align: center; padding: 28px 20px 20px; }
.spin-title { color: var(--muted); font-weight: 600; }
.spin-emoji { font-size: 96px; line-height: 1.2; margin: 10px 0 4px; }
.spin-emoji.pop { animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
.spin-name { font-size: 22px; font-weight: 600; min-height: 32px; }
.spin-name b { color: var(--brand); font-size: 30px; }
.spin-hint { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
@keyframes pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }

/* Câu hỏi */
.quiz-prog { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; font-weight: 600; }
.quiz-prog .dots { display: flex; gap: 5px; }
.quiz-prog .dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.quiz-prog .dots i.on { background: var(--ok); }
.quiz-q { font-size: 18px; font-weight: 600; line-height: 1.5; margin: 14px 0; }
.qv-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: none; padding: 0; }
.qv-2 > div { background: var(--brand-soft); border-radius: 14px; padding: 8px 6px 12px; font-size: 30px; }
.qv-2 small { display: block; font-size: 13px; letter-spacing: 0; font-weight: 600; color: var(--brand); margin-bottom: 4px; }
.quiz-visual { font-size: 34px; line-height: 1.35; text-align: center; background: var(--brand-soft); border-radius: 14px; padding: 14px 10px; margin: 0 0 14px; word-break: break-word; letter-spacing: 2px; white-space: pre-wrap; }
.quiz-choices { display: grid; gap: 8px; }
.choice { text-align: left; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; font-weight: 500; }
.choice:not(:disabled):active { background: var(--brand-soft); }
.choice:disabled { opacity: .6; }
.choice.right { border-color: var(--ok); background: var(--ok-soft); opacity: 1; }
.choice.wrong { border-color: var(--bad); background: var(--bad-soft); opacity: 1; }
.quiz-ok, .quiz-bad { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.quiz-ok { background: var(--ok-soft); color: var(--ok); font-size: 18px; }
.quiz-bad { background: var(--bad-soft); color: var(--bad); }
.quiz-ok small, .quiz-bad small { display: block; color: var(--ink); font-weight: 400; font-size: 14px; margin-top: 4px; }

/* Nhóm lựa chọn của món (Vị, Mì, Topping…) */
.opt-group { margin-top: 18px; border-radius: 12px; transition: box-shadow .2s; }
.opt-group.missing { box-shadow: 0 0 0 2px var(--bad); padding: 6px; }
.opt-title { font-weight: 600; font-size: 16px; margin-bottom: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.opt-title small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.opt-title small b { color: var(--brand); font-weight: 600; }
.opt { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 13px 14px; margin-bottom: 8px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 15.5px; }
.opt-name small { display: block; color: var(--brand); font-size: 13px; font-weight: 600; margin-top: 2px; }
.opt .mark { flex: none; width: 22px; height: 22px; border: 2px solid #C9BEDA; display: grid; place-items: center; }
.opt.single .mark { border-radius: 50%; }
.opt.multi .mark { border-radius: 6px; }
.opt.on { border-color: var(--brand); background: var(--brand-soft); }
.opt.on .mark { border-color: var(--brand); background: var(--brand); }
.opt.single.on .mark { box-shadow: inset 0 0 0 4px #fff; }
.opt.multi.on .mark::after { content: '✓'; color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }
.opt-sum { display: block; width: 100%; text-align: left; margin-top: 4px; padding: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.opt-sum u { color: var(--brand); text-decoration: none; font-weight: 600; margin-left: 4px; white-space: nowrap; }
.opt-sum.bad { color: var(--bad); }

/* Bấm ảnh món để xem toàn cảnh */
/* Slideshow ảnh trong trang món */
.gallery { display: block; }
.g-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; padding: 0; border: 0; cursor: zoom-in; background: #1c1526; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--ink); font-size: 26px; line-height: 1; box-shadow: var(--shadow); z-index: 2; }
.g-nav.prev { left: 10px; } .g-nav.next { right: 10px; }
.g-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; z-index: 2; }
.g-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: width .2s; }
.g-dots i.on { width: 18px; border-radius: 4px; background: #fff; }
.g-count { position: absolute; left: 10px; top: 10px; background: rgba(20, 14, 30, .62); color: #fff; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; z-index: 2; pointer-events: none; }
.gallery .zoom-hint { z-index: 2; }
.img-n { position: absolute; left: 14px; top: 76px; z-index: 1; background: rgba(20, 14, 30, .62); color: #fff; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; pointer-events: none; }
@media (hover: none) { .g-nav { display: none; } }
@media (min-width: 720px) { .img-n { top: 94px; } }
@media (min-width: 1040px) { .img-n { left: 10px; top: 140px; } }
.zoom-hint { position: absolute; right: 10px; bottom: 10px; background: rgba(20, 14, 30, .62); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.viewer { position: fixed; inset: 0; z-index: 70; background: rgba(12, 8, 20, .94); display: flex; flex-direction: column; animation: fade .15s; }
.viewer[hidden] { display: none !important; }
.viewer-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 56px 12px 8px; }
.viewer-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.viewer.zoomed .viewer-stage { display: block; overflow: auto; -webkit-overflow-scrolling: touch; padding: 0; }
.viewer.zoomed .viewer-stage img { max-width: none; max-height: none; height: auto; margin: 0 auto; display: block; border-radius: 0; cursor: zoom-out; }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; font-size: 32px; line-height: 1; }
.viewer-nav.prev { left: 12px; } .viewer-nav.next { right: 12px; }
.viewer.single .viewer-nav, .viewer.zoomed .viewer-nav { display: none; }
.viewer-cap em { font-style: normal; font-weight: 500; opacity: .8; margin-left: 6px; }
.viewer-x { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; font-size: 28px; line-height: 1; }
.viewer-cap { color: #fff; text-align: center; padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.viewer-cap b { display: block; font-size: 16px; margin-bottom: 2px; }
.viewer-cap span { opacity: .75; font-size: 12.5px; }
