/* ============================================================
   Bái Hè 白鶴 — modern Chinese restaurant, white theme
   Fictional brand built as a portfolio template.

   The premise: Chinese food is ordered for the table rather than per
   person, so the menu is a tool for composing a table, not a list to
   read. Every colour decision serves that — the page is paper, the
   dishes carry the only real colour, and vermilion is reserved
   exclusively for "you did something".
   ============================================================ */

:root {
  --paper: #faf8f4;
  --paper-2: #f4f0e9;
  --card: #fffdfa;
  --ink: #1f1c18;
  --ink-2: #55504a;
  --ink-3: #8b847a;
  --line: #e6e0d6;
  --line-2: #d6cec1;
  --red: #c8443c;
  --red-deep: #a5332c;
  --red-wash: #fdf1ef;
  --jade: #4a7c64;

  --serif: 'Noto Serif SC', Georgia, 'Songti SC', serif;
  --sans: 'Inter', 'Noto Sans SC', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.15rem, 4.5vw, 5rem);
  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 0.8rem 1.2rem; background: var(--red); color: #fff; }
.skip:focus { left: 0.75rem; top: 0.75rem; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.25; }
p { line-height: 1.7; color: var(--ink-2); }

/* ---------- seal ---------- */
.logo-seal {
  display: inline-grid;
  place-items: center;
  width: 1.9em; height: 1.9em;
  background: var(--red);
  color: #fff;
  font-family: var(--serif);
  font-size: 0.72em;
  border-radius: 3px;
  line-height: 1;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  font-size: 0.9rem; font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--red); transform: translateY(-2px); }
.btn-line { border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 90;
  padding: 1rem var(--pad);
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s, background 0.35s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-inner { max-width: var(--maxw); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.logo-word em { font-style: normal; color: var(--ink-3); margin-left: 0.4em; font-weight: 400; }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a { font-size: 0.9rem; color: var(--ink-2); position: relative; padding-block: 0.25rem; transition: color 0.25s; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(3.5rem, 9vw, 7rem) var(--pad) clamp(2.5rem, 6vw, 4.5rem); }
.hero-inner { max-width: var(--maxw); margin-inline: auto; display: flex; justify-content: space-between; gap: 2rem; }
.hero-copy { max-width: 46rem; }
.eyebrow {
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1.6rem;
}
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1.08; letter-spacing: -0.015em; }
.hero h1 em { font-style: normal; color: var(--red); }
.lede { max-width: 34rem; font-size: clamp(1rem, 1.4vw, 1.12rem); margin-top: 1.6rem; }
.hero-actions { display: flex; gap: 0.75rem; margin-top: 2.2rem; flex-wrap: wrap; }
/* Vertical Chinese as a typographic column — the one place the page uses the
   writing direction as ornament rather than as content. */
.hero-vertical {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: var(--ink-3);
  border-right: 1px solid var(--line);
  padding-right: 1.2rem;
  align-self: flex-start;
}

/* ---------- section furniture ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) var(--pad); }
.sec-head { max-width: var(--maxw); margin: 0 auto clamp(2rem, 4vw, 3rem); }
.sec-head .rule { display: block; width: 34px; height: 2px; background: var(--red); margin-bottom: 1.2rem; }
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.sec-head h2 em { font-style: normal; color: var(--ink-3); font-weight: 400; margin-left: 0.5em; }
.sec-head p { margin-top: 0.6rem; font-size: 0.95rem; }

/* ============================================================
   MENU + TABLE
   ============================================================ */
.layout {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

/* ---------- filters ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem;
  padding-bottom: 1.4rem; margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}
.filter-set { display: flex; align-items: center; gap: 0.5rem; }
.filter-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-right: 0.2rem; }
.chip {
  padding: 0.42rem 0.9rem; border: 1px solid var(--line-2); border-radius: 2px;
  font-size: 0.85rem; color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.heat-ctl { display: flex; gap: 0.3rem; }
.heat-ctl button {
  width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 2px;
  display: grid; place-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.heat-ctl button:hover { border-color: var(--red); }
.heat-ctl button.is-on { background: var(--red-wash); border-color: var(--red); }
.heat-ctl i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); display: block; }
.heat-ctl button.is-on i { background: var(--red); }

/* ---------- courses ---------- */
.course { margin-bottom: 2.6rem; }
.course h3 {
  display: flex; align-items: baseline; gap: 0.7rem;
  font-size: 1.05rem; padding-bottom: 0.7rem; margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.course h3 span { color: var(--red); font-size: 1.25rem; }

/* ---------- dish ---------- */
.dish {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: center;
  text-align: left;
  padding: 1.05rem 1.1rem;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  border-radius: 3px;
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease), transform 0.2s var(--ease);
}
.dish:last-child { border-bottom-color: transparent; }
.dish:hover { background: var(--card); border-color: var(--line); }
.dish:active { transform: scale(0.988); }

.dish-art { width: 62px; height: 62px; transition: transform 0.4s var(--ease); }
.dish:hover .dish-art { transform: scale(1.07) rotate(-4deg); }

.dish-en { display: block; font-family: var(--serif); font-size: 1.02rem; font-weight: 600; }
.dish-zh { display: block; font-family: var(--serif); font-size: 0.86rem; color: var(--ink-2); margin-top: 0.1rem; }
.dish-zh i { font-style: italic; color: var(--ink-3); font-size: 0.82em; margin-left: 0.3em; }
.dish-note { display: block; font-size: 0.84rem; color: var(--ink-3); margin-top: 0.35rem; line-height: 1.55; }

.dish-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.price { font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.price::before { content: '$'; color: var(--ink-3); margin-right: 1px; }
.heat { display: flex; gap: 2px; }
.heat i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); display: block; }

/* Selected: vermilion, the only place on the page it appears as a fill. */
.dish.is-on { background: var(--red-wash); border-color: rgba(200, 68, 60, 0.35); }
.dish.is-on .dish-en { color: var(--red-deep); }

/* The seal stamps on when a dish is placed — a chop mark, the same gesture as
   signing off an order. It is the click's receipt. */
.seal {
  position: absolute;
  top: 0.7rem; right: 0.8rem;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--serif);
  font-size: 0.8rem;
  border-radius: 3px;
  opacity: 0;
  transform: scale(1.9) rotate(-18deg);
  pointer-events: none;
}
.dish.is-on .seal { opacity: 1; transform: scale(1) rotate(-8deg); }
.dish.just-added .seal { animation: stamp 0.45s var(--ease); }
@keyframes stamp {
  0% { opacity: 0; transform: scale(2.1) rotate(-26deg); }
  55% { opacity: 1; transform: scale(0.88) rotate(-4deg); }
  100% { opacity: 1; transform: scale(1) rotate(-8deg); }
}

/* Dimmed rather than removed: the menu never reflows under the cursor, so
   what you were about to tap stays where you last saw it. */
.dish.is-muted { opacity: 0.3; }
.dish.is-muted .dish-art { filter: grayscale(1); }

.menu-fine { font-size: 0.78rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 1.2rem; }

/* ============================================================
   THE TABLE
   ============================================================ */
.board {
  position: sticky; top: 84px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.4rem 1.3rem 1.5rem;
}
.board-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; }
.board-head h3 { font-size: 1.05rem; color: var(--red); }
.board-head h3 em { font-style: normal; color: var(--ink); margin-left: 0.4em; font-weight: 400; font-size: 0.95rem; }
.clear { font-size: 0.78rem; color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.clear:hover { color: var(--red); border-bottom-color: var(--red); }

.table-wrap { position: relative; }
.table {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 34%, #ffffff 0%, #f7f3ec 62%, #efe8dd 100%);
  box-shadow: 0 14px 34px -18px rgba(60, 45, 30, 0.5), inset 0 0 0 1px var(--line);
}
.cloth { position: absolute; inset: 7%; border-radius: 50%; border: 1px solid var(--line); opacity: 0.7; }
/* The lazy susan the dishes actually sit on. */
.susan {
  position: absolute; inset: 27%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 34%, #fffdf9, #f2ece1);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 3px 10px -5px rgba(60, 45, 30, 0.35);
}
.settings, .plates { position: absolute; inset: 0; }

/* place settings — one bowl and chopstick pair per guest */
.seat { position: absolute; width: 0; height: 0; }
.seat i, .seat b {
  position: absolute; display: block; transform: translate(-50%, -50%);
}
.seat i { width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.seat b { width: 2px; height: 15px; background: var(--line-2); border-radius: 1px; margin-left: 11px; }

/* a dish on the table */
.tp {
  position: absolute;
  transform: translate(-50%, -50%) scale(1);
  transition: left 0.5s var(--ease), top 0.5s var(--ease), width 0.4s var(--ease), height 0.4s var(--ease);
  cursor: pointer;
  border-radius: 50%;
  animation: land 0.5s var(--ease);
}
.tp svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 7px rgba(70, 52, 34, 0.22)); }
.tp:hover { z-index: 3; }
.tp:hover svg { filter: drop-shadow(0 7px 12px rgba(70, 52, 34, 0.34)); }
.tp::after {
  content: '取消';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  font-family: var(--serif); font-size: 0.68rem;
  color: #fff; background: rgba(165, 51, 44, 0.92);
  padding: 0.25em 0.5em; border-radius: 2px;
  opacity: 0; transition: opacity 0.2s, transform 0.2s var(--ease);
  pointer-events: none; white-space: nowrap;
}
.tp:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@keyframes land {
  0% { transform: translate(-50%, -50%) scale(0.2) rotate(-24deg); opacity: 0; }
  60% { transform: translate(-50%, -50%) scale(1.09) rotate(4deg); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; }
}
.tp.leaving { animation: lift 0.3s var(--ease) forwards; pointer-events: none; }
@keyframes lift {
  to { transform: translate(-50%, -50%) scale(0.3) rotate(14deg); opacity: 0; }
}

/* Ghost preview: hovering a menu item shows where it would land. This is the
   whole idea of the page in one gesture — the menu drives the table. */
.tp.ghost { opacity: 0.42; animation: none; pointer-events: none; }
.tp.ghost svg { filter: none; }
.tp.ghost::before {
  content: ''; position: absolute; inset: -6%;
  border: 1px dashed var(--red); border-radius: 50%;
}

.table-empty {
  position: absolute; inset: 0;
  display: grid; place-content: center; text-align: center;
  font-family: var(--serif); font-size: 0.92rem; color: var(--ink-3);
  line-height: 1.7; transition: opacity 0.35s;
}
.table-empty span { font-size: 0.78rem; color: var(--line-2); }
.table.has-dishes .table-empty { opacity: 0; }

/* ---------- board controls ---------- */
.pax { display: flex; align-items: center; justify-content: space-between; margin-top: 1.3rem; }
.pax-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.stepper { display: inline-flex; align-items: center; gap: 0.2rem; }
.stepper button {
  width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 2px;
  display: grid; place-items: center; font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
}
.stepper button:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 2.4ch; text-align: center; font-size: 1rem; font-variant-numeric: tabular-nums; }

.advice {
  margin-top: 1rem; padding: 0.75rem 0.9rem;
  background: var(--paper-2); border-left: 2px solid var(--red);
  font-size: 0.85rem; color: var(--ink-2); line-height: 1.6;
  border-radius: 0 2px 2px 0;
}
.advice.is-good { border-left-color: var(--jade); }

.totals { display: flex; justify-content: space-between; gap: 0.6rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.totals dt { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.25rem; }
.totals dd { font-family: var(--serif); font-size: 1.15rem; font-variant-numeric: tabular-nums; }

.chosen { list-style: none; margin-top: 1rem; display: grid; gap: 0.4rem; }
.chosen li { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.84rem; color: var(--ink-2); }
.chosen li span { font-variant-numeric: tabular-nums; color: var(--ink-3); }
/* Carries what used to be an inline style="flex:1;color:inherit" on this span.
   This template's style-src has no 'unsafe-inline', so the browser dropped that
   attribute outright and the name stopped flexing — which left the price sitting
   against the name instead of at the end of the row. */
.chosen li .chosen-name { flex: 1; color: inherit; }
.chosen li button { color: var(--ink-3); font-size: 0.9rem; line-height: 1; }
.chosen li button:hover { color: var(--red); }

/* ============================================================
   HOW / VISIT / FOOTER
   ============================================================ */
.how-list { max-width: var(--maxw); margin-inline: auto; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.how-list li { background: var(--card); padding: 1.6rem 1.4rem; }
.how-list .num { font-family: var(--serif); font-size: 0.78rem; color: var(--red); letter-spacing: 0.1em; }
.how-list h4 { font-size: 1rem; margin: 0.7rem 0 0.5rem; }
.how-list p { font-size: 0.87rem; }

.visit-grid { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.vcard { background: var(--card); padding: 1.6rem 1.4rem; }
.vcard h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 0.9rem; }
.vbig { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 0.5rem; }
.vcard p { font-size: 0.87rem; }
.vsmall { font-size: 0.8rem !important; color: var(--ink-3); margin-top: 0.6rem; }

.foot { padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad) 2rem; border-top: 1px solid var(--line); background: var(--paper-2); }
.foot-top { max-width: var(--maxw); margin: 0 auto 2rem; display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: space-between; }
.foot-mark { font-family: var(--serif); font-size: 1.05rem; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: var(--ink); }
.foot-mark em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.foot-top p { font-size: 0.85rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.foot-links a { font-size: 0.85rem; color: var(--ink-2); }
.foot-links a:hover { color: var(--red); }
.foot-legal { max-width: var(--maxw); margin-inline: auto; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--ink-3); position: relative; padding-right: 4rem; }
.foot-legal strong { color: var(--ink-2); }
.foot-sig { position: absolute; right: 0; bottom: 0; font-family: var(--serif); font-size: 1.4rem; color: var(--line-2); }

/* ---------- mobile dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.75rem var(--pad);
  background: rgba(255, 253, 250, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.dock-count { font-size: 0.85rem; color: var(--ink-2); }
.dock-total { font-family: var(--serif); font-size: 1rem; margin-left: auto; font-variant-numeric: tabular-nums; }
.dock-btn { font-size: 0.82rem; padding: 0.5rem 0.9rem; background: var(--ink); color: var(--paper); border-radius: 2px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  /* Table first on narrow screens: it is the point of the page, and stacking it
     under a long menu would bury it. */
  .board { position: static; order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .how-list, .visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-vertical { display: none; }
}

@media (max-width: 620px) {
  .nav-links { display: none; }
  .how-list, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .dish { grid-template-columns: 48px minmax(0, 1fr); gap: 0.8rem; padding: 0.9rem 0.7rem; }
  .dish-art { width: 48px; height: 48px; }
  .dish-meta { grid-column: 2; flex-direction: row; align-items: center; gap: 0.7rem; }
  .seal { top: 0.5rem; right: 0.5rem; width: 22px; height: 22px; font-size: 0.7rem; }
  .foot-legal { padding-right: 0; }
  .foot-sig { position: static; display: block; margin-top: 0.7rem; }
  body { padding-bottom: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===================================================== touch targets ====
   Thumb, not cursor.

   The important fix here is not sizing, it is discoverability. Each plate on
   the table carries a '取消' remove label revealed only by .tp:hover — and
   hover does not exist on a touchscreen, so on a phone there was no way to
   learn that a plate can be taken back off the table at all.

   Centring it permanently would cover the dish, so on touch it becomes a small
   always-visible corner badge instead: discoverable, without hiding the food. */
@media (hover: none) {
  .tp::after {
    opacity: 1;
    left: auto; right: -4px; top: -4px;
    transform: scale(1);
    font-size: 0.6rem; padding: 0.2em 0.42em;
  }
  .tp:hover::after { transform: scale(1); }
}

@media (pointer: coarse) {
  .tp { min-width: 44px; min-height: 44px; }
  .nav-links a, .foot a { min-height: 44px; display: inline-flex; align-items: center; }
  .chip, .btn { min-height: 44px; display: inline-flex; align-items: center; }
  /* spice-level and quantity controls were 30x30 — the smallest live
     controls in the collection, and the ones that change an order. */
  .heat, .clear, .qty button,
  #paxDown, #paxUp { min-width: 44px; min-height: 44px; }
  .dock-btn { min-height: 44px; }
  .foot a { min-height: 44px; display: flex; align-items: center; }
  .tp:active { transform: translate(-50%, -50%) scale(.93); }
}
