:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  --bg: #FBF6EC;
  --surround: #EFE5D3;
  --surface: #FFFDF8;
  --sand: #F3EADB;
  --ink: #2A1A14;
  --muted: #6B5446;
  --line: #E2D3B8;
  --primary: #7A1F2B;
  --primary-ink: #FBF6EC;
  --accent-text: #7A1F2B;
  --gold-text: #8A5A12;
  --gold: #C8912E;
  --ok: #2F5D3A;
  --ok-bg: #E8F0E6;
  --no-bg: #F6E6E4;
  --wa: #1A7A43;
  --focus: #1D4E5F;
  --shadow: 0 10px 28px rgba(42, 26, 20, 0.18);
  --ui: 'Mukta Malar', 'Noto Sans Tamil', 'Latha', system-ui, sans-serif;
  --serif: 'Noto Serif Tamil', 'Latha', Georgia, serif;
  --latin: 'Marcellus', Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1411; --surround: #140E0C; --surface: #261B17; --sand: #2E221D; --ink: #F3EADB; --muted: #C4B3A2;
    --line: #47372F; --primary: #8E2834; --primary-ink: #FBF6EC; --accent-text: #EBA3AC; --gold-text: #E3B65A;
    --ok: #8CC79A; --ok-bg: #20332A; --no-bg: #3A2224; --focus: #8FC3D3; --shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1C1411; --surround: #140E0C; --surface: #261B17; --sand: #2E221D; --ink: #F3EADB; --muted: #C4B3A2;
  --line: #47372F; --primary: #8E2834; --primary-ink: #FBF6EC; --accent-text: #EBA3AC; --gold-text: #E3B65A;
  --ok: #8CC79A; --ok-bg: #20332A; --no-bg: #3A2224; --focus: #8FC3D3; --shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); height: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; min-height: 100%; background: var(--surround); color: var(--ink); font-family: var(--ui);
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.app { max-width: 460px; margin: 0 auto; min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; position: relative; }
@media (min-width: 560px) {
  body { background-image: radial-gradient(circle, rgba(200, 145, 46, 0.35) 1.2px, transparent 1.4px); background-size: 22px 22px; }
  .app { margin: 24px auto; min-height: calc(100vh - 48px); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
}

/* top bar */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--bg); border-bottom: 1px solid transparent; }
.bar.scrolled { border-bottom-color: var(--line); }
.bar h1 { margin: 0; font-size: 19px; font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .wordmark { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--accent-text); flex: 1; padding-left: 8px; }
.icon-btn { width: 44px; height: 44px; border: none; border-radius: 12px; background: transparent; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-btn:hover { background: var(--sand); }
.lang { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 3px; flex-shrink: 0; }
.lang button { height: 36px; min-width: 44px; padding: 0 12px; border: none; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 700; }
.lang button[aria-pressed="true"] { background: var(--primary); color: var(--primary-ink); }

main.screen { flex: 1; padding: 6px 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.screen-title { margin: 6px 0 0; font-family: var(--serif); font-size: 29px; font-weight: 700; line-height: 1.35; }
.lede { margin: 0; color: var(--muted); font-size: 15px; }
.section-label { margin: 8px 0 0; font-size: 15px; font-weight: 700; color: var(--muted); }

/* buttons */
.btn { min-height: 52px; padding: 0 20px; border-radius: 14px; border: 1.5px solid transparent; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; text-align: center; line-height: 1.25; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline { background: transparent; border-color: var(--accent-text); color: var(--accent-text); }
.btn-quiet { background: var(--surface); border-color: var(--line); color: var(--ink); font-weight: 600; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sticky-foot { position: sticky; bottom: 0; margin: 0 -20px -28px; padding: 14px 20px calc(18px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; z-index: 10; }
.foot-note { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }

/* home */
.hero { position: relative; margin: 0 -20px; padding: 18px 20px 22px; background: var(--primary); color: var(--primary-ink); overflow: hidden; }
.hero h2 { margin: 0; font-family: var(--serif); font-size: 27px; line-height: 1.4; font-weight: 700; max-width: 300px; position: relative; }
.hero p { margin: 6px 0 0; color: #F1D9A8; font-size: 15px; max-width: 290px; position: relative; }
.hero svg.hero-kolam { position: absolute; right: -40px; bottom: -44px; opacity: 0.4; }
.occ-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.occ { min-height: 96px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 8px; text-align: left; }
.occ:hover { border-color: var(--accent-text); }
.occ svg { color: var(--accent-text); }
.occ .t { font-size: 16px; font-weight: 700; line-height: 1.3; }
.occ .s { font-size: 12.5px; color: var(--muted); }
.mine { display: flex; flex-direction: column; gap: 10px; }
.mine-item { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.mine-item .thumb { width: 54px; height: 96px; flex-shrink: 0; border-radius: 6px; overflow: hidden; position: relative; }
.mine-item .meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mine-item .meta b { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mine-item .meta span { font-size: 13px; color: var(--muted); }
.mine-item .acts { display: flex; flex-direction: column; gap: 6px; }
.mini-btn { min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 600; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-no { background: var(--no-bg); color: var(--accent-text); }
.pill-sand { background: var(--sand); color: var(--gold-text); }

/* templates gallery */
.tpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.tpl-pick { border: none; padding: 0; background: transparent; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.tpl-pick .frame { width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; position: relative; outline: 1px solid var(--line); }
.tpl-pick[aria-pressed="true"] .frame { outline: 3px solid var(--ink); outline-offset: 2px; }
.tpl-pick .name { font-size: 15px; font-weight: 700; }

/* scaled card host */
.card-host { position: relative; overflow: hidden; }
.card-host > .card { position: absolute; top: 0; left: 0; transform-origin: 0 0; }

/* forms */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--sand); border-radius: 14px; padding: 4px; }
.seg button { min-height: 42px; border: none; border-radius: 10px; background: transparent; font-weight: 600; font-size: 15px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(42, 26, 20, 0.15); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14.5px; font-weight: 700; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--surface); font-size: 17px; width: 100%; min-width: 0; }
.field textarea { min-height: 84px; resize: vertical; font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-text); outline: 2px solid var(--accent-text); outline-offset: 0; }
.field.invalid input, .field.invalid select { border-color: #B3261E; }
.err { font-size: 13.5px; color: #B3261E; font-weight: 600; }
:root[data-theme="dark"] .err { color: #FFB4AB; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #FFB4AB; } }
.hint { font-size: 13px; color: var(--muted); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-family: var(--serif); font-size: 15px; }
.chip.first { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.disclose { min-height: 48px; border: 1.5px dashed var(--gold); border-radius: 12px; background: transparent; color: var(--gold-text); font-weight: 700; font-size: 15px; }
.extra { display: flex; flex-direction: column; gap: 14px; }

/* editor */
.stage { margin: 0 -20px; padding: 18px 0; background: var(--sand); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.stage .card-host { box-shadow: var(--shadow); }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.tabs button { min-height: 46px; border: none; background: transparent; font-size: 14.5px; color: var(--muted); border-bottom: 3px solid transparent; }
.tabs button[aria-selected="true"] { color: var(--accent-text); font-weight: 700; border-bottom-color: var(--accent-text); }
.panel { min-height: 120px; }
.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 8px; }
.hscroll .tpl-pick { width: 92px; flex-shrink: 0; }
.hscroll .tpl-pick .name { font-size: 13px; }
.swatches { display: flex; flex-wrap: wrap; gap: 16px; }
.swatch { border: none; background: transparent; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; min-width: 64px; }
.swatch span.dot { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); }
.swatch[aria-pressed="true"] span.dot { outline: 3px solid var(--ink); outline-offset: 3px; }
.swatch[aria-pressed="true"] { font-weight: 700; }
.music-list { display: flex; flex-direction: column; gap: 8px; }
.music { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; }
.music[aria-pressed="true"] { border: 2px solid var(--accent-text); }
.music .txt { flex: 1; display: flex; flex-direction: column; }
.music .txt small { color: var(--muted); font-size: 12.5px; }
.photo-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.photo-row img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }

/* plans */
.plans { display: flex; flex-direction: column; gap: 12px; }
.plan { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; }
.plan[aria-checked="true"] { border: 2px solid var(--accent-text); }
.plan .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted); flex-shrink: 0; }
.plan[aria-checked="true"] .radio { border: 7px solid var(--accent-text); }
.plan .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.plan .txt b { font-size: 16.5px; }
.plan .txt span { font-size: 13.5px; color: var(--muted); }
.plan .price { font-size: 19px; font-weight: 800; }
.plan .badge { position: absolute; top: -11px; left: 16px; padding: 1px 10px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-size: 12px; font-weight: 700; }
.ready { display: flex; gap: 14px; align-items: center; }

/* share */
.banner { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--ok-bg); color: var(--ok); font-weight: 700; }
.bubble { align-self: flex-end; width: min(310px, 100%); background: #DCEFD9; color: #1C2A1E; border-radius: 16px 16px 4px 16px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.bubble .msg { font-size: 14px; line-height: 1.5; white-space: pre-line; padding: 0 4px 2px; overflow-wrap: anywhere; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { padding: 12px; border-radius: 14px; display: flex; flex-direction: column; }
.stat b { font-size: 26px; line-height: 1.2; }
.stat span { font-size: 12.5px; font-weight: 700; }
.rsvp-list { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.rsvp-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.rsvp-row:last-child { border-bottom: none; }
.rsvp-row .who { display: flex; flex-direction: column; min-width: 0; }
.rsvp-row .who b { font-size: 15px; }
.rsvp-row .who span { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.empty { padding: 16px; border: 1.5px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: 14.5px; text-align: center; }
.linkbox { display: flex; gap: 8px; align-items: stretch; }
.linkbox input { flex: 1; min-width: 0; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--surface); font-size: 14px; }
.lock { padding: 14px; border-radius: 14px; background: var(--sand); display: flex; flex-direction: column; gap: 10px; }

.map-tools { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.map-status { display: inline-flex; gap: 6px; align-items: flex-start; font-size: 13.5px; font-weight: 600; flex: 1 1 200px; }
.map-status svg { flex-shrink: 0; margin-top: 1px; }
.map-status.ok { color: var(--ok); }
.map-status.guess { color: var(--gold-text); }
.map-check { min-height: 44px; padding: 0 14px; font-size: 14.5px; }
.warn { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--sand); border: 1.5px solid var(--gold); color: var(--ink); font-size: 14.5px; font-weight: 600; }
.warn > span { display: flex; gap: 8px; align-items: flex-start; }
.warn > span svg { flex-shrink: 0; margin-top: 2px; color: var(--gold-text); }
ol.steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 14px; }
ol.steps li { counter-increment: st; display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
ol.steps li > span::before { content: counter(st) ". "; font-weight: 800; color: var(--accent-text); }
ol.steps li > span { font-weight: 600; font-size: 15px; }

/* guest */
.guest-hero { margin: 0 -20px; padding: 20px 0; background: var(--sand); display: flex; justify-content: center; }
.facts { display: flex; flex-direction: column; gap: 10px; }
.fact { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.fact svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-text); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.box h3 { margin: 0; font-family: var(--serif); font-size: 19px; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 20px; }
.stepper output { width: 44px; text-align: center; font-size: 18px; font-weight: 700; }
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice button { min-height: 52px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 700; font-size: 15.5px; }
.choice button[aria-pressed="true"].yes { background: var(--ok); border-color: var(--ok); color: #fff; }
.choice button[aria-pressed="true"].no { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
:root[data-theme="dark"] .choice button[aria-pressed="true"].yes { color: #10251A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .choice button[aria-pressed="true"].yes { color: #10251A; } }
.cta-made { background: var(--sand); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14.5px; }

/* modal + toast */
.modal-back { position: fixed; inset: 0; background: rgba(20, 12, 10, 0.6); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.modal { width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto; background: var(--surface); border-radius: 22px 22px 0 0; padding: 18px 20px calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 560px) { .modal-back { align-items: center; } .modal { border-radius: 22px; } }
.modal h2 { margin: 0; font-size: 20px; font-family: var(--serif); }
.modal .row { display: flex; justify-content: space-between; align-items: center; }
.upi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.upi-grid button { min-height: 50px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-weight: 700; }
.upi-grid button[aria-pressed="true"] { border: 2px solid var(--accent-text); }
.demo-note { padding: 10px 12px; border-radius: 12px; background: var(--sand); font-size: 13.5px; color: var(--gold-text); font-weight: 600; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--accent-text); animation: spin 0.9s linear infinite; margin: 10px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.video-wrap { display: flex; justify-content: center; }
.video-wrap canvas { width: 270px; height: 480px; border-radius: 10px; background: #000; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-size: 14.5px; font-weight: 600; z-index: 60; max-width: 90vw; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

/* =========== Invitation cards (540 x 960, fixed palette per template) =========== */
.card { width: 540px; height: 960px; position: relative; overflow: hidden; background: var(--c-bg); color: var(--c-ink); font-family: 'Mukta Malar', 'Noto Sans Tamil', sans-serif; --k: 1; }
.card .abs { position: absolute; }
.card .body { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; }
.card .sym { font-family: var(--serif); font-size: calc(21px * var(--k)); color: var(--c-accT); line-height: 1; }
.card .head { font-family: var(--serif); font-weight: 700; color: var(--c-accT); line-height: 1.35; }
.card .head-sub { font-family: var(--serif); font-size: calc(17px * var(--k)); color: var(--c-accT); }
.card .lead { font-size: calc(15px * var(--k)); color: var(--c-muted); }
.card .names { display: flex; flex-direction: column; align-items: center; }
.card .nm { font-family: var(--serif); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.card.lat .nm { font-family: 'Marcellus', Georgia, serif; font-weight: 400; line-height: 1.15; }
.card .joiner { color: var(--c-accT); font-family: 'Marcellus', Georgia, serif; }
.card .parents { display: flex; flex-direction: column; gap: 4px; font-size: calc(14px * var(--k)); line-height: 1.55; }
.card .msg { font-size: calc(16px * var(--k)); line-height: 1.65; max-width: 400px; }
.card .info { display: flex; flex-direction: column; gap: calc(5px * var(--k)); }
.card .info .date { font-family: var(--serif); font-size: calc(20px * var(--k)); font-weight: 600; color: var(--c-accT); }
.card .info .date.day { font-size: calc(17px * var(--k)); margin-top: calc(-4px * var(--k)); }
.card.lat .head, .card.lat .head-sub, .card.lat .info .date, .card.lat .host .hn { font-family: 'Marcellus', Georgia, serif; font-weight: 400; }
.card.lat .head { letter-spacing: 0.02em; }
.card .info .ln { font-size: calc(17px * var(--k)); }
.card .host { display: flex; flex-direction: column; gap: 2px; }
.card .host .hl { font-size: calc(14px * var(--k)); color: var(--c-muted); }
.card .host .hn { font-family: var(--serif); font-size: calc(19px * var(--k)); font-weight: 600; }
.card .wm { font-size: 12.5px; color: var(--c-accT); letter-spacing: 0.03em; }
.card .photo { width: calc(150px * var(--k)); height: calc(150px * var(--k)); border-radius: 50%; object-fit: cover; border: 3px solid var(--c-acc); flex-shrink: 0; }
.card .info.lines { padding: calc(14px * var(--k)) 26px; border-top: 1px solid var(--c-acc); border-bottom: 1px solid var(--c-acc); }
.card .info.filled { padding: calc(16px * var(--k)) 26px; background: var(--c-soft); border-radius: 16px; width: 100%; }
.card .info.boxed { padding: calc(14px * var(--k)) 24px; border: 1px solid var(--c-acc); border-radius: 4px; }
.card .ev { display: flex; justify-content: center; gap: 10px; font-size: calc(17px * var(--k)); }
.card .info.filled .ev { justify-content: space-between; }
.card .ev b { font-weight: 600; }
.app-foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: 28px 0 8px; font-size: 14px; color: var(--muted); }
.app-foot a, .linkish { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 14px; background: none; border: 0; padding: 10px 4px; min-height: 44px; cursor: pointer; display: inline-flex; align-items: center; }
.app-foot a:hover, .linkish:hover { color: var(--ink); }
.loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 72px 0; }
