/* WCT athlete licensing - mobile-first, dark brand (matches worldchasetag.com embeds) */
:root {
  --red: #e10600;
  --red-h: #ff1a1a;
  --bg: #0a0a0a;
  --bg2: #111111;
  --card: #141414;
  --card-h: #1c1c1c;
  --white: #ffffff;
  --muted: #a0a0a0;
  --xmuted: #555555;
  --ok: #17b26a;
  --border: rgba(255, 255, 255, 0.08);
  --border2: rgba(255, 255, 255, 0.15);
  --fH: 'Oswald', sans-serif;
  --fB: 'Inter', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
body {
  font-family: var(--fB);
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.shell { max-width: 520px; margin: 0 auto; padding: 0 18px calc(32px + env(safe-area-inset-bottom)); }

/* Top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0 14px; margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--bg); z-index: 10;
}
.brand { font-family: var(--fH); font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1; }
.brand b { color: var(--red); }
.brand span { display: block; font-family: var(--fB); font-size: 9.5px; font-weight: 600; letter-spacing: 0.18em; color: var(--muted); margin-top: 3px; }
/* Official WCT mark. The SVG is white artwork with a red bar, so it only reads
   correctly on the dark background - never place it on a light surface. */
.brand-logo { display: block; width: auto; height: 34px; }
.brand[style*="center"] .brand-logo { margin: 0 auto; }
@media (max-width: 420px) { .brand-logo { height: 29px; } }
.topbar .link { font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; background: none; border: none; }
.topbar .link:hover { color: var(--white); }

/* Headings */
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--red); margin-bottom: 8px; }
h1.page { font-family: var(--fH); font-size: clamp(28px, 7vw, 38px); font-weight: 700; text-transform: uppercase; line-height: 0.95; margin: 18px 0 8px; }
.sub { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
h2.section { font-family: var(--fH); font-size: 17px; font-weight: 700; text-transform: uppercase; margin: 26px 0 12px; display: flex; align-items: center; gap: 9px; }
h2.section svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }

/* Forms */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 15px;
  background: var(--card); color: var(--white);
  border: 1px solid var(--border2); border-radius: 6px;
  outline: none; transition: border-color 0.15s;
  appearance: none; -webkit-appearance: none;
}
.field input:focus, .field select:focus { border-color: var(--red); }
.field .hint { font-size: 12px; color: var(--xmuted); margin-top: 5px; line-height: 1.4; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 380px) { .row2 { grid-template-columns: 1fr; } }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; margin: 14px 0; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--red); flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 24px;
  font-family: var(--fH); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1;
  border-radius: 5px; border: none; cursor: pointer; transition: all 0.2s var(--ease);
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-h); box-shadow: 0 4px 24px rgba(225, 6, 0, 0.4); }
.btn-red:disabled { opacity: 0.55; cursor: default; box-shadow: none; }
.btn-dark { background: var(--card); color: var(--white); border: 1px solid var(--border2); }
.btn-dark:hover { background: var(--card-h); }

.form-foot { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.form-foot a, .form-foot .link { color: var(--white); font-weight: 600; border-bottom: 1px solid var(--red); padding-bottom: 1px; cursor: pointer; }

.msg { padding: 12px 14px; border-radius: 6px; font-size: 13.5px; line-height: 1.5; margin-bottom: 16px; display: none; }
.msg.show { display: block; }
.msg.err { background: rgba(225, 6, 0, 0.12); border: 1px solid rgba(225, 6, 0, 0.4); color: #ff9a97; }
.msg.ok { background: rgba(23, 178, 106, 0.1); border: 1px solid rgba(23, 178, 106, 0.35); color: #6fe0ae; }

/* Panels */
.panel { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 14px; }
.panel h3 { font-family: var(--fH); font-size: 15px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.panel p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* License card (ported from the marketing embed's al-card) */
.lic-card {
  aspect-ratio: 1.586 / 1; width: 100%; border-radius: 14px;
  background: linear-gradient(135deg, #1c1c1c, #0d0d0d);
  border: 1px solid var(--border2);
  padding: clamp(16px, 4.5vw, 24px);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.lic-card::before {
  content: ''; position: absolute; top: -45%; right: -25%; width: 75%; height: 190%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.28), transparent 62%);
  pointer-events: none;
}
.lic-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.lic-brand { font-family: var(--fH); font-size: clamp(17px, 4.5vw, 22px); font-weight: 700; text-transform: uppercase; line-height: 1; }
.lic-brand b { color: var(--red); }
.lic-tier { font-size: 9px; text-transform: uppercase; letter-spacing: 0.13em; color: var(--muted); margin-top: 4px; }
.lic-qr { width: clamp(64px, 19vw, 92px); height: clamp(64px, 19vw, 92px); border-radius: 8px; background: #fff; padding: 4px; flex-shrink: 0; }
.lic-qr img { width: 100%; height: 100%; }
.lic-name { font-family: var(--fH); font-size: clamp(19px, 5.5vw, 26px); font-weight: 700; text-transform: uppercase; position: relative; z-index: 1; line-height: 1; }
.lic-meta { display: flex; gap: clamp(12px, 4vw, 26px); position: relative; z-index: 1; flex-wrap: wrap; }
.lic-meta .k { font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--xmuted); }
.lic-meta .v { font-size: clamp(11px, 3vw, 12.5px); color: var(--white); font-weight: 600; margin-top: 3px; white-space: nowrap; }
.lic-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 5px 10px; border-radius: 100px; position: relative; z-index: 1; align-self: flex-start;
}
.lic-badge.valid { color: #6fe0ae; background: rgba(23, 178, 106, 0.12); border: 1px solid rgba(23, 178, 106, 0.4); }
.lic-badge.invalid { color: #ff9a97; background: rgba(225, 6, 0, 0.12); border: 1px solid rgba(225, 6, 0, 0.4); }
.lic-badge svg { width: 12px; height: 12px; }
.qr-note { font-size: 11.5px; color: var(--xmuted); text-align: center; margin-top: 10px; line-height: 1.5; }

/* Verify page */
.verify-wrap { max-width: 440px; margin: 0 auto; padding: 28px 18px; text-align: center; }
.verify-icon { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 26px auto 18px; }
.verify-icon svg { width: 44px; height: 44px; }
.verify-icon.valid { background: rgba(23, 178, 106, 0.12); border: 2px solid var(--ok); color: var(--ok); }
.verify-icon.invalid { background: rgba(225, 6, 0, 0.12); border: 2px solid var(--red); color: var(--red); }
.verify-status { font-family: var(--fH); font-size: 30px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.verify-status.valid { color: var(--ok); }
.verify-status.invalid { color: var(--red); }
.verify-name { font-family: var(--fH); font-size: 22px; font-weight: 700; text-transform: uppercase; margin-top: 20px; }
.verify-rows { margin-top: 18px; border-top: 1px solid var(--border); }
.verify-row { display: flex; justify-content: space-between; padding: 11px 2px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.verify-row .k { color: var(--muted); }
.verify-row .v { font-weight: 600; }

/* Roster rows + status pills (team tab, team verify) */
.tm-row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--border); }
.tm-name { font-weight: 600; font-size: 14.5px; }
.tm-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.tm-role { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); font-weight: 700; }
.pill { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; padding: 4px 9px; border-radius: 100px; white-space: nowrap; }
.pill.ok { color: #6fe0ae; background: rgba(23, 178, 106, 0.1); border: 1px solid rgba(23, 178, 106, 0.35); }
.pill.no { color: #ff9a97; background: rgba(225, 6, 0, 0.1); border: 1px solid rgba(225, 6, 0, 0.35); }
.pill.mid { color: var(--muted); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border2); }
.status-chip { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; padding: 6px 12px; border-radius: 100px; }

/* Compact event list rows and the events toolbar */
.ev-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ev-filter-btn { width: auto; padding: 9px 15px; font-size: 12.5px; gap: 7px; }
.ev-card {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 11px 12px; margin-bottom: 8px;
  background: var(--card); border: 1px solid var(--border); border-radius: 9px;
}
.ev-card:hover { border-color: var(--red); }
.ev-date {
  flex-shrink: 0; width: 42px; text-align: center; line-height: 1;
  border-right: 1px solid var(--border2); padding-right: 10px;
}
.ev-date b { display: block; font-family: var(--fH); font-size: 19px; }
.ev-date span { display: block; font-size: 9.5px; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* List / calendar toggle */
.viewtoggle { display: inline-flex; border: 1px solid var(--border2); border-radius: 100px; overflow: hidden; margin-bottom: 14px; }
.viewtoggle button {
  background: none; border: none; cursor: pointer; padding: 8px 16px;
  font-family: var(--fB); font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.viewtoggle button.active { background: var(--red); color: #fff; }

/* Monthly calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cal-head h3 { font-family: var(--fH); font-size: 18px; text-transform: uppercase; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  background: var(--card); border: 1px solid var(--border2); color: var(--white);
  width: 32px; height: 32px; border-radius: 6px; cursor: pointer; font-size: 15px; line-height: 1;
}
.cal-nav button:hover { border-color: var(--red); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--xmuted); text-align: center; padding: 4px 0; }
.cal-cell {
  min-height: 66px; background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px; overflow: hidden;
}
.cal-cell.empty { background: transparent; border-color: transparent; }
.cal-cell.today { border-color: var(--red); }
.cal-date { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.cal-cell.today .cal-date { color: var(--red); }
.cal-ev {
  display: block; width: 100%; text-align: left; margin-top: 3px; padding: 3px 5px;
  background: rgba(225, 6, 0, 0.16); border: 1px solid rgba(225, 6, 0, 0.35);
  border-radius: 4px; font-size: 9.5px; line-height: 1.25; color: var(--white);
  cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cal-ev.official { background: rgba(255, 255, 255, 0.08); border-color: var(--border2); }
.cal-ev:hover { border-color: var(--red); }
@media (max-width: 560px) {
  .cal-cell { min-height: 52px; padding: 3px; }
  .cal-ev { font-size: 8.5px; padding: 2px 3px; }
}

/* Price guidance hint */
.price-hint {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 6px;
  font-size: 11.5px; color: var(--muted); line-height: 1.4;
}
.price-hint svg { width: 13px; height: 13px; color: var(--red); flex-shrink: 0; margin-top: 1px; }
.price-hint b { color: var(--white); }

/* Admin top tab strip (desktop-first, scrolls horizontally on phones) */
.atabs {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.atabs::-webkit-scrollbar { display: none; }
.atabs button {
  flex-shrink: 0; background: none; border: none; cursor: pointer;
  padding: 12px 15px; font-family: var(--fB); font-size: 12.5px; font-weight: 600;
  color: var(--muted); white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.atabs button:hover { color: var(--white); }
.atabs button.active { color: var(--white); border-bottom-color: var(--red); }
.atabs .atab-link {
  flex-shrink: 0; padding: 12px 15px; font-size: 12.5px; font-weight: 600;
  color: var(--red); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.atabs .atab-link:hover { color: var(--white); }
.atabs .acount {
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 100px;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
}

/* Ranked horizontal bars (country breakdown) */
.rb-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.rb-label { display: flex; align-items: center; gap: 8px; width: 140px; flex-shrink: 0; font-size: 13px; }
.rb-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.rb-track { flex: 1; height: 8px; background: rgba(255, 255, 255, 0.06); border-radius: 100px; overflow: hidden; }
.rb-fill { height: 100%; background: var(--red); border-radius: 100px; }
.rb-value { width: 62px; text-align: right; font-size: 12.5px; color: var(--muted); flex-shrink: 0; }
@media (max-width: 520px) { .rb-label { width: 104px; font-size: 12px; } .rb-value { width: 52px; } }

/* Slide-over detail panel (athlete editor, event detail) */
.drawer { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, 0.6); display: flex; justify-content: flex-end; }
.drawer-inner {
  width: 100%; max-width: 560px; background: #101010; border-left: 1px solid var(--border2);
  overflow-y: auto; padding: 24px 22px calc(40px + env(safe-area-inset-bottom));
}
@media (max-width: 560px) { .drawer-inner { max-width: 100%; border-left: none; } }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.drawer-head h3 { font-family: var(--fH); font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.drawer-close { background: none; border: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.drawer-close:hover { color: var(--white); }
.danger-zone { border: 1px solid rgba(225, 6, 0, 0.35); border-radius: 10px; padding: 16px; margin-top: 22px; }
.danger-zone h4 { font-family: var(--fH); font-size: 14px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }

/* Add-to-home-screen banner, inline button and iOS instruction sheet */
.inst-ico { display: inline-flex; flex-shrink: 0; }
.inst-ico svg { width: 18px; height: 18px; }
.inst-bar {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.14), rgba(225, 6, 0, 0.04));
  border: 1px solid rgba(225, 6, 0, 0.35); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 18px;
}
.inst-bar .inst-ico svg { width: 22px; height: 22px; color: var(--red); }
.inst-bar-text { flex: 1; min-width: 0; line-height: 1.3; }
.inst-bar-text b { display: block; font-size: 13.5px; }
.inst-bar-text span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.inst-bar .btn { width: auto; padding: 9px 15px; font-size: 12px; }
.inst-close {
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: 22px; line-height: 1; padding: 0 2px;
}
.inst-close:hover { color: var(--white); }

.inst-sheet {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(3px);
  display: flex; align-items: flex-end; justify-content: center;
}
.inst-sheet-inner {
  width: 100%; max-width: 460px;
  background: #141414; border: 1px solid var(--border2);
  border-radius: 14px 14px 0 0; padding: 24px 22px calc(28px + env(safe-area-inset-bottom));
}
@media (min-width: 560px) {
  .inst-sheet { align-items: center; }
  .inst-sheet-inner { border-radius: 14px; }
}
.inst-sheet h3 { font-family: var(--fH); font-size: 19px; text-transform: uppercase; margin-bottom: 16px; }
.inst-steps { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 14px; }
/* The icon and the sentence are the only two flex items: without the wrapping
   span, every <b> would become its own item and the line would break apart. */
.inst-steps li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.inst-steps li > span:last-child { flex: 1; min-width: 0; }
.inst-steps li b { color: var(--white); }
.inst-steps .inst-ico svg { color: var(--red); margin-top: 2px; }
.inst-num {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--red); border-radius: 50%;
  font-size: 10px; font-weight: 700; color: var(--red);
}

/* Event filter bar */
.fbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.fpill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; font-family: var(--fB); font-size: 12.5px; font-weight: 600;
  color: var(--muted); background: var(--card); cursor: pointer;
  border: 1px solid var(--border2); border-radius: 100px;
}
.fpill:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.fpill.active { color: #fff; background: var(--red); border-color: var(--red); }
.fpill img { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; }
.fselects { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
@media (max-width: 460px) { .fselects { grid-template-columns: 1fr; } }
.fselects .field { margin-bottom: 0; }
.fcount { font-size: 12px; color: var(--xmuted); margin-bottom: 14px; }

/* Price strip on buy panel */
.price-line { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 14px; }
.price-line b { font-family: var(--fH); font-size: 44px; font-weight: 700; line-height: 1; }
.price-line span { font-size: 13px; color: var(--muted); }

.spin { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: sp 0.7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.hidden { display: none !important; }

/* Country dropdown with flags */
.cdd { position: relative; }
.cdd-btn {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; font: inherit; font-size: 15px; text-align: left;
  background: var(--card); color: var(--white);
  border: 1px solid var(--border2); border-radius: 6px; cursor: pointer;
}
.cdd-btn:focus { outline: none; border-color: var(--red); }
.cdd-btn .cdd-ph { color: var(--xmuted); }
.cdd-flag { width: 24px; height: 17px; object-fit: cover; border-radius: 2px; flex-shrink: 0; background: var(--card-h); }
svg.cdd-flag { color: var(--muted); height: 20px; width: 20px; }
.cdd-arr { width: 16px; height: 16px; margin-left: auto; color: var(--muted); flex-shrink: 0; }
.cdd-panel {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px);
  background: #161616; border: 1px solid var(--border2); border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); overflow: hidden;
}
.cdd-search {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 14px;
  background: var(--bg2); color: var(--white); border: none; border-bottom: 1px solid var(--border);
  outline: none;
}
.cdd-list { max-height: 250px; overflow-y: auto; }
.cdd-item {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; font: inherit; font-size: 14px; text-align: left;
  background: none; border: none; color: var(--white); cursor: pointer;
}
.cdd-item:hover, .cdd-item.sel { background: rgba(225, 6, 0, 0.12); }
.cdd-empty { padding: 14px; font-size: 13px; color: var(--xmuted); }

/* Bottom tab bar */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; justify-content: center; gap: 4px;
  background: rgba(10, 10, 10, 0.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 6px max(8px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom));
}
.tabbar button {
  flex: 1; max-width: 170px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 4px; background: none; border: none; cursor: pointer;
  color: var(--muted); font-family: var(--fB); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; border-radius: 8px;
}
.tabbar button svg { width: 21px; height: 21px; }
.tabbar button.active { color: var(--white); }
/* Unread-notification dot on a tab icon */
.tabbar button.has-dot { position: relative; }
.tabbar button.has-dot::after {
  content: ''; position: absolute; top: 5px; left: 50%; margin-left: 8px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}
.tabbar button.active svg { color: var(--red); }
body.has-tabbar .shell { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }

/* Price strip extras */
.price-was { font-size: 18px; color: var(--xmuted); text-decoration: line-through; font-family: var(--fH); }
.deal-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  color: #6fe0ae; background: rgba(23, 178, 106, 0.1); border: 1px solid rgba(23, 178, 106, 0.35);
  padding: 5px 10px; border-radius: 100px; margin-bottom: 12px;
}
