/* =====================================================================
   Valves & More — end-of-day quiz, in the AVS house style.

   Clean and light like an AVS datasheet: white paper, charcoal type, a very
   faint drawing grid, and one brand colour — AVS red (#E1373D, taken from
   the logo). Red is the brand, so "wrong" answers are shown in neutral grey
   rather than red; green is kept for "right" only.
   ===================================================================== */

:root {
  --avs-red: #e1373d;
  --avs-red-dark: #b8262c;
  --charcoal: #1f2429;

  --ink: #eef0f3;          /* inset boxes, inputs */
  --steel: #f6f7f9;        /* page */
  --steel-2: #ffffff;      /* cards */
  --steel-3: #e4e7eb;      /* tracks, empty bars */
  --line: #d8dce2;
  --grid: rgba(31, 36, 41, 0.035);

  --paper: var(--charcoal); /* main text */
  --muted: #5d6771;
  --faint: #8b949d;

  --signal: var(--avs-red);
  --signal-2: var(--avs-red-dark); /* red used as text on white */
  --signal-ink: #ffffff;
  --signal-soft: rgba(225, 55, 61, 0.08);

  --good: #1e9e5a;
  --good-2: #16804a;
  --bad: #b3261e;
  --bad-2: #b3261e;
  --wrong: #5d6771;

  /* the four answer colours; each also has a letter, so colour is never the only cue */
  --a: #1f5fae;
  --b: #e3a600;
  --c: #6b46c1;
  --d: #0e8a7c;

  --display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 36, 41, 0.06), 0 4px 14px rgba(31, 36, 41, 0.05);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background-color: var(--steel);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--signal-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0.01em; line-height: 1.1; margin: 0; }
[hidden] { display: none !important; }

.mark { height: 2.1em; width: auto; aspect-ratio: 51 / 84; color: var(--avs-red); vertical-align: middle; flex: none; }
.brand-lockup { display: inline-flex; align-items: center; gap: 0.55em; }
.brand-lockup .words { display: grid; line-height: 1.05; }
.brand-lockup .by { font-family: var(--body); font-weight: 600; font-size: 0.5em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pill {
  display: inline-block;
  padding: 0.15em 0.6em;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.pill.draft { border-color: var(--signal); color: var(--signal-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  border: 1px solid var(--line);
  background: var(--steel-2);
  border-radius: 10px;
  padding: 0.7em 1.2em;
  font-weight: 600;
  transition: background 0.15s, transform 0.1s;
}
a.btn { text-decoration: none; color: var(--paper); }
.btn:hover { background: var(--steel-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.primary { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.btn.primary:hover { background: var(--signal-2); }
.btn.big { font-size: 1.25em; padding: 0.9em 1.6em; }
.btn.small { font-size: 0.85em; padding: 0.45em 0.8em; }

.field { display: grid; gap: 0.35em; margin-bottom: 1em; }
.field label { font-weight: 600; }
.input, textarea.input, select.input {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75em 0.9em;
}
.input:focus, .btn:focus-visible, .choice:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.hint { color: var(--muted); font-size: 0.9em; }
.error { color: var(--bad-2); }

.status-dot {
  position: fixed; right: 12px; bottom: 12px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  background: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}

/* ================================================================ phone */

/* Participants are 25–65: text is sized for reading without glasses at arm's
   length, and every tap target is at least 56 px high. */
.phone { max-width: 560px; margin: 0 auto; padding: 16px 16px 48px; min-height: 100vh; display: flex; flex-direction: column; font-size: 18px; }
.phone .eyebrow { font-size: 0.85em; }
.phone .hint { font-size: 0.95em; }
.phone .input { font-size: 1.05em; padding: 0.85em 1em; }
.phone-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.phone-top .brand { font-family: var(--display); font-weight: 700; font-size: 1.2em; letter-spacing: 0.02em; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button { border: 0; background: transparent; padding: 0.55em 1em; font-family: var(--mono); font-size: 0.8em; color: var(--muted); }
.lang-switch button[aria-pressed='true'] { background: var(--signal); color: var(--signal-ink); font-weight: 700; }

.card {
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.phone .card + .card { margin-top: 14px; }
.center { text-align: center; }
.phone h1 { font-size: 2.1em; margin-bottom: 0.3em; }
.phone h2 { font-size: 1.5em; margin-bottom: 0.4em; }
.phone .qtext { font-size: 1.3em; font-weight: 600; line-height: 1.35; margin: 0.4em 0 1em; }
.phone .meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.phone .clock { font-family: var(--mono); font-size: 1.4em; font-weight: 700; color: var(--signal-2); }
.phone .clock.low { color: var(--bad-2); }

.choices { display: grid; gap: 12px; }
.choices.tf { grid-template-columns: 1fr 1fr; }
.choice {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 14px 16px;
  text-align: left;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 1.08em;
  line-height: 1.3;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}
.choice .letter {
  flex: none;
  display: grid; place-items: center;
  width: 2em; height: 2em;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  font-family: var(--display);
  font-size: 1.15em;
}
.choice.o0 { background: var(--a); }
.choice.o1 { background: var(--b); color: #231a00; }
.choice.o2 { background: var(--c); }
.choice.o3 { background: var(--d); }
.choices.tf .choice { justify-content: center; font-size: 1.3em; min-height: 110px; }
.choice.picked { outline: 4px solid var(--charcoal); outline-offset: 3px; }
.choices.done .choice:not(.picked) { opacity: 0.35; }

.verdict { font-family: var(--display); font-size: 2.6em; font-weight: 700; }
.verdict.good { color: var(--good-2); }
.verdict.bad { color: var(--wrong); }
.bigscore { font-family: var(--display); font-size: 3.2em; font-weight: 700; color: var(--paper); line-height: 1; }
.stats { display: flex; justify-content: center; gap: 28px; margin-top: 12px; }
.stats div { text-align: center; }
.stats b { display: block; font-family: var(--display); font-size: 1.8em; }
.explain { margin-top: 14px; padding: 14px 16px; border-left: 4px solid var(--signal); background: var(--ink); border-radius: 0 10px 10px 0; text-align: left; }

/* questionnaire */
.survey .item { padding: 18px 0; border-top: 1px solid var(--line); }
.survey .item:first-of-type { border-top: 0; }
.survey .item-q { font-weight: 600; margin-bottom: 10px; }
.survey .item-q small { color: var(--muted); font-weight: 400; }
.survey .item.missing .item-q { color: var(--bad-2); }
.stars { display: flex; gap: 6px; }
.stars button {
  flex: 1; aspect-ratio: 1; max-width: 64px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--ink);
  font-size: 1.6em; line-height: 1; color: var(--faint);
}
.stars button.on { color: var(--signal); border-color: var(--signal); background: var(--signal-soft); }
.stars-labels { display: flex; justify-content: space-between; font-size: 0.85em; color: var(--muted); margin-top: 4px; }
.opts { display: grid; gap: 8px; }
.opt {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px;
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--ink);
  text-align: left;
}
.opt .box { width: 20px; height: 20px; border: 2px solid var(--faint); border-radius: 5px; flex: none; display: grid; place-items: center; }
.opt.radio .box { border-radius: 50%; }
.opt.on { border-color: var(--signal); background: var(--signal-soft); }
.opt.on .box { border-color: var(--signal); background: var(--signal); }
.opt.on .box::after { content: '✓'; color: var(--signal-ink); font-size: 13px; font-weight: 800; }
.opt.radio.on .box::after { content: ''; width: 8px; height: 8px; background: var(--signal-ink); border-radius: 50%; }
textarea.input { min-height: 96px; resize: vertical; }
.anon { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92em; color: var(--muted); background: var(--ink); border-radius: 10px; padding: 10px 12px; margin: 12px 0 4px; }
.anon svg { flex: none; margin-top: 2px; }

/* ================================================================== tv */

.tv {
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 2.2vw 3vw;
  gap: 1.5vw;
  overflow: hidden;
  font-size: clamp(14px, 1.3vw, 30px);
}
.tv-top { display: flex; align-items: center; justify-content: space-between; gap: 2vw; }
.tv-top .brand { font-family: var(--display); font-size: 1.6em; font-weight: 700; display: flex; align-items: center; gap: 0.4em; }
.tv-top .day { text-align: right; }
.tv-top .day b { display: block; font-family: var(--display); font-size: 1.5em; }
.tv-main { min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.tv-foot { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-family: var(--mono); font-size: 0.85em; }

.tv h1 { font-size: 4.6em; }
.tv .subtitle { font-size: 2em; color: var(--signal-2); font-family: var(--display); font-weight: 600; }

.lobby { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4vw; align-items: center; }
.qr { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 18px; padding: 1vw; width: min(30vw, 58vh); aspect-ratio: 1; margin-left: auto; }
.qr svg { width: 100%; height: 100%; display: block; }
.scan-steps { color: var(--muted); font-size: 1.15em; margin: 0 0 1.2em; }
.join-url { font-family: var(--mono); font-size: 1.6em; font-weight: 700; color: var(--signal-2); white-space: nowrap; margin-top: 0.3em; }
.names { display: flex; flex-wrap: wrap; gap: 0.45em; margin-top: 1.2em; max-height: 34vh; overflow: hidden; }
.names.many { font-size: 0.85em; gap: 0.35em; }
.names .more { background: var(--avs-red); border-color: var(--avs-red); color: #fff; font-weight: 700; }
.names span { background: var(--steel-2); border: 1px solid var(--line); border-radius: 999px; padding: 0.25em 0.8em; animation: pop 0.35s ease-out both; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.count-big { font-family: var(--display); font-size: 3.4em; font-weight: 700; line-height: 1; }

.tv-q { display: grid; gap: 2vw; }
.tv-q .qhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 3vw; }
.tv-q .qtext { font-family: var(--display); font-size: 3.4em; font-weight: 600; line-height: 1.12; }
.tv-q .choices { grid-template-columns: 1fr 1fr; gap: 1.2vw; }
.tv-q .choice { font-size: 1.5em; min-height: 5.2vw; cursor: default; position: relative; overflow: hidden; }
.tv-q .choices.tf .choice { min-height: 7vw; font-size: 2em; }
.tv-q .choice .bar { position: absolute; left: 0; bottom: 0; height: 6px; background: rgba(255, 255, 255, 0.85); transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tv-q .choice .n { margin-left: auto; font-family: var(--display); font-size: 1.2em; opacity: 0.95; }
.tv-q.revealed .choice:not(.right) { background: var(--steel-3); color: var(--muted); box-shadow: none; }
.tv-q.revealed .choice:not(.right) .bar { background: var(--faint); }
.tv-q.revealed .choice.right { outline: 5px solid var(--good-2); outline-offset: 4px; }
.tv-q .explain { font-size: 1.35em; margin-top: 0; background: var(--steel-2); box-shadow: var(--shadow); }
.tv-q .explain b { color: var(--signal-2); font-family: var(--display); letter-spacing: 0.04em; text-transform: uppercase; margin-right: 0.4em; }

.ring { --p: 1; width: 7.5em; height: 7.5em; flex: none; position: relative; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring .track { stroke: var(--steel-3); }
.ring .fill { stroke: var(--signal); stroke-linecap: round; stroke-dasharray: 283; stroke-dashoffset: calc(283 * (1 - var(--p))); transition: stroke-dashoffset 0.25s linear; }
.ring.low .fill { stroke: var(--bad); }
.ring span { font-family: var(--display); font-size: 2.6em; font-weight: 700; }
.pct-right { font-family: var(--display); font-size: 3.6em; font-weight: 700; color: var(--good-2); line-height: 1; text-align: right; }

.board { display: grid; gap: 0.45vw; max-width: 60vw; margin: 0 auto; width: 100%; }
.board-row { display: grid; grid-template-columns: 3em 1fr 4em 5em; align-items: center; gap: 1em; padding: 0.4em 1em; background: var(--steel-2); border: 1px solid var(--line); border-radius: 12px; font-size: 1.25em; animation: slide 0.4s ease-out both; }
.board-row .pos { font-family: var(--display); font-weight: 700; color: var(--muted); }
.board-row .sc { font-family: var(--display); font-weight: 700; text-align: right; }
@keyframes slide { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 1.5vw; max-width: 62vw; margin: 0 auto; width: 100%; }
.podium .step { text-align: center; }
.podium .block { border-radius: 14px 14px 0 0; background: var(--steel-2); border: 1px solid var(--line); border-bottom: 0; display: grid; place-items: center; font-family: var(--display); font-size: 4em; font-weight: 700; color: var(--muted); }
.podium .p1 .block { height: 30vh; background: linear-gradient(var(--avs-red), var(--avs-red-dark)); color: var(--signal-ink); }
.podium .p2 .block { height: 21vh; }
.podium .p3 .block { height: 15vh; }
.podium .who { font-family: var(--display); font-size: 2.2em; font-weight: 700; margin-bottom: 0.1em; }
.podium .pts { color: var(--muted); margin-bottom: 0.6em; font-family: var(--mono); }

.meter { height: 14px; background: var(--steel-3); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--signal); border-radius: 999px; transition: width 0.6s; }

/* ================================================================ host */

.host { max-width: 1180px; margin: 0 auto; padding: 20px 16px 60px; }
.host-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.host-top h1 { font-size: 1.8em; display: flex; align-items: center; gap: 0.4em; }
.host-top nav { display: flex; gap: 8px; flex-wrap: wrap; }
.host-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
@media (max-width: 860px) { .host-grid { grid-template-columns: 1fr; } }
.host .card h2 { font-size: 1.3em; margin-bottom: 12px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.phase-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.phase-line .phase { font-family: var(--display); font-size: 1.8em; font-weight: 700; }
.notes { background: var(--ink); border-radius: 10px; padding: 14px; margin: 14px 0; }
.notes ol { margin: 8px 0 0; padding-left: 1.4em; }
.notes li.right { color: var(--good-2); font-weight: 700; }
.plist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.plist li { background: var(--ink); border-radius: 8px; padding: 6px 10px; display: flex; justify-content: space-between; gap: 8px; }
.plist li .ok { color: var(--good-2); }
.plist li .wait { color: var(--faint); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { border: 0; background: transparent; padding: 0.55em 1em; }
.seg button[aria-pressed='true'] { background: var(--signal); color: var(--signal-ink); font-weight: 700; }
.steps { display: flex; gap: 4px; margin: 10px 0 4px; }
.steps i { flex: 1; height: 6px; border-radius: 3px; background: var(--steel-3); }
.steps i.done { background: var(--faint); }
.steps i.now { background: var(--signal); }

/* ============================================================= results */

.results { max-width: 1180px; margin: 0 auto; padding: 20px 16px 60px; }
.results section { margin-top: 28px; }
.results section > h2 { font-size: 1.6em; margin-bottom: 4px; }
.results .lead { color: var(--muted); margin: 0 0 14px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.kpi { background: var(--steel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi b { display: block; font-family: var(--display); font-size: 2.2em; line-height: 1.1; }
.kpi span { color: var(--muted); font-size: 0.9em; }
.topic-row { display: grid; grid-template-columns: minmax(140px, 1.2fr) 2fr 70px 130px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .topic-row { grid-template-columns: 1fr 70px; } .topic-row .meter, .topic-row .flag { grid-column: 1 / -1; } }
.topic-row .pctv { font-family: var(--display); font-size: 1.4em; font-weight: 700; text-align: right; }
.flag { text-align: center; font-family: var(--mono); font-size: 0.75em; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.2em 0.6em; border-radius: 999px; white-space: nowrap; }
.flag.low { background: rgba(225, 55, 61, 0.12); color: var(--bad-2); }
.flag.mid { background: rgba(227, 166, 0, 0.16); color: #8a6400; }
.flag.high { background: rgba(30, 158, 90, 0.12); color: var(--good-2); }
.flag.none { color: var(--faint); }
.meter.good i { background: var(--good); }
.meter.low i { background: var(--bad); }
.meter.mid i { background: var(--b); }
.qcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
@media (max-width: 420px) { .qcards { grid-template-columns: 1fr; } }
.qcard { background: var(--steel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.qcard .top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.qcard .qt { font-weight: 600; margin: 6px 0 12px; }
.dist { display: grid; gap: 6px; font-size: 0.9em; }
.dist .d { display: grid; grid-template-columns: 1fr 44px; gap: 8px; align-items: center; }
.dist .lbl { position: relative; background: var(--ink); border-radius: 6px; padding: 5px 8px; overflow: hidden; }
.dist .lbl i { position: absolute; inset: 0 auto 0 0; background: rgba(93, 103, 113, 0.14); }
.dist .d.right .lbl i { background: rgba(30, 158, 90, 0.25); }
.dist .d.right .lbl { font-weight: 700; }
.dist .lbl span { position: relative; }
.dist .n { text-align: right; font-family: var(--mono); color: var(--muted); }
.srow { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.srow .avg { font-family: var(--display); font-size: 1.8em; font-weight: 700; color: var(--signal-2); }
.minidist { display: flex; gap: 3px; align-items: flex-end; height: 34px; }
.minidist i { width: 14px; background: var(--faint); border-radius: 3px 3px 0 0; min-height: 2px; }
.quotes { display: grid; gap: 8px; }
.quote { background: var(--ink); border-left: 3px solid var(--signal); border-radius: 0 10px 10px 0; padding: 10px 14px; }
.quote small { display: block; color: var(--faint); margin-top: 4px; font-family: var(--mono); font-size: 0.75em; }
.empty { color: var(--faint); font-style: italic; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.filters .field { margin: 0; min-width: 200px; }

/* ============================================================ fun bits */

.move { font-family: var(--mono); font-size: 0.7em; font-weight: 700; text-align: right; }
.move.up { color: var(--good-2); }
.double-badge {
  display: inline-block; margin-left: 0.6em; padding: 0.15em 0.7em; border-radius: 999px;
  background: var(--avs-red); color: #fff; letter-spacing: 0.08em;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.06); } }
.fastest { margin-top: 0.8em; text-align: right; color: var(--muted); font-size: 0.95em; white-space: nowrap; }
.fastest b { color: var(--paper); }
.streak { display: inline-block; margin-top: 10px; padding: 6px 14px; border-radius: 999px; background: rgba(227, 166, 0, 0.16); color: #7a5600; font-weight: 700; }
.moved { margin-top: 6px; font-weight: 700; }
.moved.up { color: var(--good-2); }

.takeaways { display: grid; gap: 1vw; }
.takeaway {
  display: grid; grid-template-columns: 2.4em 1fr auto; gap: 1.2em; align-items: start;
  background: var(--steel-2); border: 1px solid var(--line); border-left: 6px solid var(--avs-red);
  border-radius: 14px; padding: 1em 1.3em; box-shadow: var(--shadow);
  animation: slide 0.5s ease-out both;
}
.takeaway .num { font-family: var(--display); font-weight: 700; font-size: 2.2em; color: var(--avs-red); line-height: 1; }
.takeaway .tq { font-weight: 600; color: var(--muted); }
.takeaway .ta { font-family: var(--display); font-weight: 700; font-size: 1.5em; margin: 0.1em 0 0.25em; }
.takeaway .tx { font-size: 1.05em; }
.takeaway .tp { font-family: var(--display); font-weight: 700; font-size: 1.8em; text-align: right; line-height: 1; color: var(--muted); }
.takeaway .tp small { display: block; font-family: var(--mono); font-size: 0.4em; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.phone .takeaway { grid-template-columns: 1.6em 1fr; font-size: 0.95em; padding: 14px; }
.phone .takeaway .tp { display: none; }
.phone .takeaway .ta { font-size: 1.15em; }

/* ================================================================ hotel */

.hotel-card { text-align: left; }
.hotel-name { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.6em; font-weight: 700; line-height: 1.15; margin: 4px 0; }
.hotel-name svg { color: var(--avs-red); flex: none; }
.hotel-address { margin: 0 0 12px; color: var(--muted); }
.nav-buttons { display: grid; gap: 10px; margin-top: 8px; }
.nav-buttons .btn { width: 100%; min-height: 56px; background: var(--steel-2); border: 2px solid var(--line); color: var(--paper); }
.nav-buttons .btn:hover { border-color: var(--avs-red); background: var(--signal-soft); }
.tv-hotel .hotel-to { font-family: var(--display); font-size: 3.2em; font-weight: 700; line-height: 1.05; margin: 0.1em 0; }
.tv-hotel .hotel-addr { font-size: 1.5em; color: var(--muted); margin: 0 0 1em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
