/* The Sweat Room: look and feel from spec section 9 (spec/07-look-and-feel.md).
   Neutral stone base, black brand, one accent (teal), 10px radius, hairline borders, no shadows except floating sheets. */
:root {
  --ink: #141414;
  --ink-2: #2f2c29;
  --muted: #6d6862;
  --faint: #a29b92;
  --stone: #f4f2ee;
  --stone-2: #ebe7e0;
  --surface: #ffffff;
  --line: #e3ded6;
  --line-2: #d4cec4;
  --teal: #1e9e95;
  --teal-deep: #0f6f69;
  --teal-soft: #e2f1ef;
  --teal-line: #a9d6d1;
  --blush: #e9a8bb;
  --blush-soft: #f9e9ee;
  --blush-ink: #8a3a52;
  --danger: #b42318;
  --danger-soft: #fdeceb;
  --danger-line: #f3c4bf;
  --radius: 10px;
  --radius-sm: 8px;
  --float: 0 18px 50px rgba(20, 20, 20, .18), 0 2px 8px rgba(20, 20, 20, .08);
  --head: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --top-h: 60px;
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font: 400 15px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); line-height: 1.15; letter-spacing: -.015em; }
h1 { font-size: 28px; font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: 19px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (min-width: 900px) { h1 { font-size: 32px; } }

.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.center { text-align: center; }
.num { font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.stack { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.stack.tight { gap: 8px; }
.hide { display: none !important; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.eyebrow.teal { color: var(--teal-deep); }

/* ---------- icons (Lucide-style line icons, see icons.js) ---------- */
.i {
  width: 18px; height: 18px; flex: none; vertical-align: -3px;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.i.sm { width: 15px; height: 15px; vertical-align: -2px; }
.i.lg { width: 22px; height: 22px; }

.boot { min-height: 100vh; display: grid; place-items: center; }
.boot img { width: 64px; height: auto; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; } }

/* ---------- top bar, navigation, page shell ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.topbar-in {
  max-width: 720px; margin: 0 auto; height: var(--top-h); padding: 0 16px;
  display: flex; align-items: center; gap: 12px;
}
.topbar-in.wide { max-width: 1160px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font: 700 16px/1 var(--head); letter-spacing: -.01em; white-space: nowrap;
}
.brand .logo { height: 24px; width: auto; }
.who { margin-left: auto; text-decoration: none; border-radius: 50%; }
.topbar .actions { margin-left: auto; display: flex; gap: 8px; }

.mainnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: #fff; border-top: 1px solid var(--line);
}
.mainnav a {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 500;
}
.mainnav a .i { width: 22px; height: 22px; }
.mainnav a.on { color: var(--ink); font-weight: 600; }
.mainnav a.on::before {
  content: ""; position: absolute; top: -1px; left: 50%; width: 28px; height: 2px; margin-left: -14px;
  background: var(--teal); border-radius: 0 0 2px 2px;
}
.mainnav .dot {
  position: absolute; top: 8px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--teal-deep); color: #fff; font-size: 10.5px; font-weight: 700;
  display: grid; place-items: center;
}
@media (min-width: 900px) {
  .topbar-in { padding: 0 24px; }
  .mainnav { position: static; height: var(--top-h); padding: 0; margin-left: 16px; background: none; border: 0; display: flex; gap: 2px; }
  .mainnav a { flex-direction: row; gap: 8px; padding: 0 12px; font-size: 14.5px; }
  .mainnav a .i { width: 18px; height: 18px; }
  .mainnav a:hover { color: var(--ink); }
  .mainnav a.on::before { top: auto; bottom: -1px; left: 12px; right: 12px; width: auto; margin: 0; border-radius: 2px 2px 0 0; }
  .mainnav .dot { position: static; }
}

.shell { max-width: 720px; margin: 0 auto; padding: 22px 16px calc(var(--nav-h) + var(--safe-b) + 32px); }
.shell.wide { max-width: 1160px; }
@media (min-width: 900px) { .shell { padding: 36px 24px 72px; } }
.page-title { margin: 0 0 22px; }
.page-title p { margin-top: 6px; }
.back {
  display: inline-flex; align-items: center; gap: 4px; margin: 0 0 14px;
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14px;
}
.back:hover { color: var(--ink); }

/* ---------- cards and building blocks ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--line-2); }
.card.flat { background: transparent; }
.card.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.card.dark .muted { color: rgba(255, 255, 255, .62); }
.card.tint { background: var(--teal-soft); border-color: var(--teal-line); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head a { font-size: 14px; color: var(--teal-deep); text-decoration: none; font-weight: 600; white-space: nowrap; }
.card-head a:hover { text-decoration: underline; }
.section { margin-top: 28px; }
.section > h2 { margin-bottom: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) {
  .cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
}

.btn {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, opacity .15s;
}
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #2b2926; }
.btn.accent { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn.accent:hover { background: #0c5d58; }
.btn.ghost { background: transparent; border-color: currentColor; }
.btn.danger { color: var(--danger); border-color: var(--danger-line); }
.btn.danger:hover { background: var(--danger-soft); border-color: var(--danger); }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn.big { min-height: 50px; padding: 0 22px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.icon { padding: 0; width: 44px; }
.btn[disabled] { opacity: .45; cursor: default; }
@media (pointer: coarse) { .btn.small { min-height: 42px; } }
.linkbtn {
  background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none;
  color: var(--teal-deep); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px;
}
.linkbtn:hover { text-decoration: underline; }
.linkbtn.danger { color: var(--danger); }

.chip {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 6px;
  font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  background: var(--stone-2); color: var(--ink-2);
}
.chip .i { width: 13px; height: 13px; stroke-width: 2; vertical-align: 0; }
.chip.teal { background: var(--teal-soft); color: var(--teal-deep); }
.chip.blush { background: var(--blush-soft); color: var(--blush-ink); }
.chip.danger { background: var(--danger-soft); color: var(--danger); }
.chip.dark { background: var(--ink); color: #fff; }
.chip.outline { background: #fff; border: 1px solid var(--line-2); }
a.chip { text-decoration: none; }
button.chip {
  height: auto; min-height: 36px; padding: 0 12px; font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2);
}
button.chip:hover { border-color: var(--ink); }
button.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.avatar {
  --c: var(--ink);
  width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--c); color: #fff; font: 600 13px/1 var(--body); letter-spacing: .03em;
}
.avatar.sm { width: 32px; height: 32px; font-size: 12px; }
.avatar.lg { width: 64px; height: 64px; font-size: 22px; }

.cmark {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border-radius: var(--radius-sm); background: var(--stone); border: 1px solid var(--line); color: var(--ink);
}
.cmark .i { width: 20px; height: 20px; }
.cmark.sm { width: 30px; height: 30px; }
.cmark.sm .i { width: 17px; height: 17px; }

.progress { height: 6px; border-radius: 6px; background: var(--stone-2); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: inherit; background: var(--teal); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.card.dark .progress { background: rgba(255, 255, 255, .16); }

.empty { text-align: center; padding: 28px 12px; color: var(--muted); }
.em-i {
  width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--stone-2); color: var(--ink-2); display: grid; place-items: center;
}
.em-i .i { width: 22px; height: 22px; }

.list { display: grid; grid-template-columns: minmax(0, 1fr); }
.list > .item {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.list > .item:last-child { border-bottom: 0; }
.list > a.item:hover b { color: var(--teal-deep); }
.unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.go { color: var(--faint); flex: none; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field > span em { font-style: normal; font-weight: 400; color: var(--muted); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea, textarea.input { min-height: 96px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30, 158, 149, .18);
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); flex: none; }
.form-error {
  background: var(--danger-soft); border: 1px solid var(--danger-line); color: var(--danger);
  padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500;
}
.picker { display: flex; flex-wrap: wrap; gap: 8px; }
.picker button {
  width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink);
}
.picker button:hover { border-color: var(--ink); }
.picker button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.picker.colours button { width: 36px; height: 36px; border-radius: 50%; border: 0; }
.picker.colours button.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }

.seg { display: inline-flex; background: var(--stone-2); border-radius: var(--radius-sm); padding: 3px; gap: 2px; }
.seg button {
  border: 0; background: transparent; min-height: 34px; padding: 0 12px; border-radius: 6px;
  font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--muted); white-space: nowrap;
}
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 20, 20, .1); }
.seg button.on.ok { background: var(--ink); color: #fff; }
.seg button.on.bad { background: var(--danger); color: #fff; }

/* ---------- public page (signed out) ---------- */
.land .hero { display: grid; gap: 22px; }
.hero-photo { margin: -22px -16px 0; order: -1; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 40%; }
.display { font-size: 38px; font-weight: 800; line-height: 1.04; letter-spacing: -.03em; margin-top: 10px; }
.lead { font-size: 17px; color: var(--muted); margin-top: 12px; max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (min-width: 640px) {
  .hero-photo { margin: 0; }
  .hero-photo img { border-radius: var(--radius); }
}
@media (min-width: 900px) {
  .land .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
  .hero-photo { order: 0; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .display { font-size: 56px; }
}

.land .section { margin-top: 64px; }
.land [id] { scroll-margin-top: 76px; }
@media (min-width: 900px) { .land .section { margin-top: 104px; } }

.pubnav { display: none; }
@media (min-width: 900px) {
  .pubnav { display: flex; gap: 2px; margin-left: 20px; }
  .pubnav a { padding: 8px 10px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
  .pubnav a:hover { color: var(--ink); }
}
@media (max-width: 380px) { .topbar .brand { font-size: 0; gap: 0; } }

.rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--muted); text-decoration: none; }
.rating b { color: var(--ink); }
.rating:hover > span:last-child { text-decoration: underline; }
.stars { display: inline-flex; gap: 1px; color: var(--ink); }
.i.fill { fill: currentColor; }

.sec-head { margin-bottom: 20px; }
.sec-head h2 { margin-top: 6px; font-size: 25px; letter-spacing: -.02em; }
.sec-head .lead { margin-top: 8px; font-size: 16px; }
@media (min-width: 900px) { .sec-head h2 { font-size: 34px; } }
.cname { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.cname .i { color: var(--muted); }

/* about */
.about { display: grid; gap: 24px; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; border-radius: var(--radius); }
.about-text p { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); }
.about-text p:first-child { margin-top: 0; }
.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
.facts > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.facts .i { color: var(--teal-deep); margin-top: 2px; }
.facts b { display: block; font: 700 14.5px/1.3 var(--head); }
.facts span { font-size: 13.5px; color: var(--muted); }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .about-photo { position: sticky; top: 92px; }
  .about-photo img { aspect-ratio: 4 / 5; }
}

/* classes */
.class-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.class-card {
  display: grid; grid-template-columns: 112px minmax(0, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.class-card img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; object-position: 50% 30%; }
.class-card .body { padding: 14px 16px 16px; }
.class-card h3 { display: flex; align-items: center; gap: 8px; }
.class-card .meta { margin-top: 4px; font-size: 13px; color: var(--muted); }
.class-card p.desc { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.class-card dl { margin: 12px 0 0; font-size: 13.5px; }
.class-card dt { margin-top: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); }
.class-card dd { margin: 2px 0 0; color: var(--muted); }
.meter { display: inline-flex; gap: 2px; margin: 0 2px; vertical-align: 0; }
.meter i { width: 4px; height: 10px; border-radius: 1px; background: var(--line-2); }
.meter i.on { background: var(--ink); }
@media (min-width: 900px) {
  .class-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .class-card { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .class-card img { height: auto; min-height: 0; aspect-ratio: 1; object-position: 50% 45%; }
  .class-card .body { padding: 16px 18px 20px; }
}

/* timetable: day columns, swipe on phones */
.tt-week {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 80%); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none;
}
.tt-week::-webkit-scrollbar { display: none; }
.tt-day { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 6px; }
.tt-day h3 { font-size: 15px; margin-bottom: 4px; }
.tt-day h3 span { margin-left: 4px; font: 500 13px var(--body); color: var(--muted); }
.tt-slot { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line); }
.tt-day h3 + .tt-slot { border-top: 0; }
.tt-slot > b { font: 700 16px/1.2 var(--head); }
@media (min-width: 900px) {
  .tt-week { grid-auto-flow: row; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
}

/* how it works */
.how { display: grid; gap: 28px; }
.steps { list-style: none; counter-reset: step; margin: 4px 0 0; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
.steps li::before {
  content: counter(step); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 16px var(--head);
}
.steps b { padding-top: 1px; font: 700 16px/1.3 var(--head); }
.steps span { font-size: 14.5px; color: var(--muted); }
blockquote { margin: 28px 0 0; padding: 2px 0 2px 18px; border-left: 3px solid var(--teal); font: 600 18px/1.45 var(--head); color: var(--ink); }
blockquote cite { display: block; margin-top: 8px; font: 500 13.5px var(--body); font-style: normal; color: var(--muted); }
.how-photo { margin: 0; }
.how-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 62% 40%; border-radius: var(--radius); }
@media (min-width: 900px) { .how { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; } }

/* seasons (season.js): header, level board, path ahead. Game-style, in the app's own colours. */
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.ticks .i { margin-top: 3px; color: var(--teal-deep); }
.season-intro .ticks { margin-top: 0; }
@media (min-width: 900px) {
  .season-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: end; margin-bottom: 22px; }
  .season-intro .sec-head { margin: 0; }
}
.season-head {
  position: relative; overflow: hidden; display: grid; gap: 16px; padding: 20px 18px 16px;
  background: var(--ink); color: #fff; border-radius: var(--radius) var(--radius) 0 0;
}
.season-head .hexbg { position: absolute; right: -40px; top: -60px; width: 240px; pointer-events: none; }
.sh-title, .sh-level { position: relative; }
.sh-title .eyebrow { color: #7fd3cb; }
.sh-title h3 { margin: 4px 0 6px; font: 800 32px/1.05 var(--head); letter-spacing: -.02em; }
.sh-title .small { color: rgba(255, 255, 255, .7); }
.sh-title .small b { color: #fff; }
.sh-level { align-self: end; }
.sh-level .row b { font: 700 18px var(--head); }
.sh-level .row span { font-size: 13px; color: rgba(255, 255, 255, .65); }
.sh-level .progress { height: 8px; margin: 8px 0 6px; background: rgba(255, 255, 255, .16); }
.sh-level small { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
@media (min-width: 900px) {
  .season-head { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); padding: 26px 28px 20px; }
  .sh-title h3 { font-size: 42px; }
}

.board { padding: 4px 0 18px; background: var(--ink); border-radius: 0 0 var(--radius) var(--radius); }
.board-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 18px 8px; font-size: 13px; color: rgba(255, 255, 255, .65); }
.board-bar b { color: #fff; }
.board-nav { display: flex; gap: 6px; }
.board-nav .btn { width: 36px; min-height: 36px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.board-nav .btn:hover { border-color: #fff; }
.hint-touch { display: none; }
@media (pointer: coarse) { .board-nav, .hint-mouse { display: none; } .hint-touch { display: inline; } }
@media (min-width: 900px) { .board-bar { padding: 0 28px 10px; } }

/* one lane, left to right; swipe on phones, arrows on laptops */
.track {
  list-style: none; margin: 0; padding: 10px 13px 0; display: flex;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 13px; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .track { padding: 10px 23px 0; scroll-padding: 0 23px; } }
.step { position: relative; flex: none; width: 150px; padding: 0 5px; display: flex; flex-direction: column; scroll-snap-align: start; }
.step.finale { width: 220px; }

/* the rail: a bar through every level dot, teal up to the current level */
.step::before, .step::after { content: ""; position: absolute; bottom: 14px; height: 4px; }
.step::before { left: 0; right: 0; background: rgba(255, 255, 255, .16); }
.step:first-child::before { left: 50%; }
.step:last-child::before { right: 50%; }
.step.done::before { background: var(--teal); }
.step.current::after { left: 0; width: 50%; background: var(--teal); }
.step.current:first-child::after { display: none; }
.node {
  position: relative; z-index: 1; align-self: center; margin-top: 12px; width: 32px; height: 32px;
  display: grid; place-items: center; border-radius: 50%; font: 700 13px var(--head); font-variant-numeric: tabular-nums;
  background: #2b2926; color: rgba(255, 255, 255, .7); border: 2px solid rgba(255, 255, 255, .22);
}
.step.done .node { background: var(--teal); border-color: var(--teal); color: #fff; }
.step.current .node { background: #fff; color: var(--ink); border-color: var(--teal); box-shadow: 0 0 0 5px rgba(30, 158, 149, .35); }

/* tiles */
.lv {
  flex: 1; min-width: 0; padding: 10px 10px 12px; display: flex; flex-direction: column; align-items: center; gap: 5px;
  text-align: center; background: #fff; border-radius: var(--radius-sm); transition: transform .2s;
}
.lv-top { align-self: stretch; display: flex; align-items: center; gap: 6px; min-height: 18px; }
.lv-top > :last-child:not(.lv-tag) { margin-left: auto; }
.lv-top > .i { color: var(--faint); }
.lv > .lv-top + * { margin-top: auto; }
.lv-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); }
.lv-tag.gold { color: #a87a1f; }
.lv-art {
  width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 10px; background: var(--stone); box-shadow: inset 0 -3px 0 var(--edge);
}
.lv-art svg { width: 50px; height: 50px; }
.lv-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 1.5px dashed var(--line-2); color: var(--muted); }
.lv b { font-size: 13px; line-height: 1.2; }
.step.plain .lv b { font-weight: 600; }
.lv-task { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 11.5px; line-height: 1.3; color: var(--muted); }
.lv-task .i { width: 13px; height: 13px; vertical-align: 0; }
.lv-done, .lv-next { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; }
.lv-done { color: var(--teal-deep); }
.lv-done .i { width: 14px; height: 14px; stroke-width: 2.5; vertical-align: 0; }
.lv-next { padding: 3px 8px; border-radius: 999px; background: var(--teal-deep); color: #fff; }

/* states: done is tinted teal, current is lifted and outlined, locked is dimmed */
.step.done .lv { background: var(--teal-soft); }
.step.done .lv-art, .step.done .lv-icon { background: #fff; }
.step.current .lv { box-shadow: 0 0 0 3px var(--teal); transform: translateY(-4px); }
.step.locked .lv { background: #e9e5df; }
.step.locked .lv b { color: var(--ink-2); }
.step.locked .lv-art svg, .step.locked .opt svg, .step.locked .fin-art svg { opacity: .55; }
.step.gone .lv { background: #d9d4cd; }
.step.gone .lv svg { filter: grayscale(1); opacity: .4; }

/* pick: the two options stacked in the same lane */
.pick-col { align-self: stretch; display: grid; gap: 3px; }
.or { justify-self: center; font: 800 11px var(--head); color: var(--muted); }
.opt {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 6px; padding: 5px 6px;
  text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: inset 3px 0 0 var(--edge);
}
.opt .item-art svg { display: block; width: 34px; height: 34px; }
.opt b { display: block; font-size: 12px; line-height: 1.2; }
.opt small { font-size: 10.5px; color: var(--muted); }
.opt.chosen { border-color: var(--teal); }
.opt.chosen small { color: var(--teal-deep); font-weight: 700; }
.opt.not { opacity: .5; }
.opt.not svg { filter: grayscale(1); }

/* finale */
.step.finale .lv { box-shadow: inset 0 0 0 2px #d9a93a; }
.step.finale.current .lv { box-shadow: inset 0 0 0 2px #d9a93a, 0 0 0 3px var(--teal); }
.fin-art { position: relative; }
.fin-art > svg { display: block; width: 92px; height: 92px; }
.fin-art .hx { position: absolute; right: -16px; bottom: -6px; }

.path {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 74%); gap: 10px;
  overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none;
}
.path::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .path { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; } }
.ps { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ps-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 8px 12px; background: var(--ink); color: #fff; }
.ps-head b { font: 700 14px var(--head); }
.ps-head span { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.ps.live .ps-head { background: var(--teal-deep); }
.ps-body { flex: 1; display: grid; gap: 8px; align-content: start; padding: 12px; }
.ps-body .chip { justify-self: start; }
.ps-body h4 { font: 800 20px var(--head); letter-spacing: -.02em; }
.ps-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ps-item { display: grid; justify-items: center; gap: 2px; padding: 6px 4px; text-align: center; background: var(--stone); border-radius: var(--radius-sm); }
.ps-item svg { width: 40px; height: 40px; }
.ps-item small { font-size: 10.5px; line-height: 1.2; color: var(--muted); }
.ps-item.mystery span { width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); font: 800 20px var(--head); color: var(--faint); }
.ps.more { background: var(--ink); border-color: var(--ink); color: #fff; }
.ps.more .ps-head { background: #2b2926; }
.ps.more .ps-body { justify-items: center; align-content: center; text-align: center; }
.ps.more small { color: rgba(255, 255, 255, .6); }

/* item cards (rarity shows as the coloured top edge) */
.item-card {
  width: 100%; padding: 10px 8px; text-align: center; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: inset 0 3px 0 var(--edge, var(--line-2));
}
.item-card .item-art svg { display: block; width: 52px; height: 52px; margin: 2px auto 4px; }
.item-card b { display: block; font-size: 13px; line-height: 1.25; }
.item-card small { display: block; font-size: 11.5px; color: var(--muted); }
.item-card .then { margin-top: 6px; color: var(--ink-2); }
.item-card .chip { margin-top: 8px; }
.item-card.picked { border-color: var(--teal); }
.item-card.gone { background: transparent; border-style: dashed; box-shadow: none; }
.item-card.gone .item-art svg { filter: brightness(0); opacity: .14; }
.item-card.gone b, .item-card.gone small { color: var(--faint); }

/* character */
.char-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.char-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.char-pair figure { margin: 0; }
.char-pair .scene { display: block; width: 100%; height: auto; aspect-ratio: 240 / 300; border-radius: var(--radius); }
.char-pair figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.char-pair figcaption b { display: block; font: 700 15px var(--head); color: var(--ink); }
.item-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 10px;
  overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none;
}
.item-strip::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .char-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .item-strip { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; }
}

/* example badges */
.badge-show { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 10px; }
@media (min-width: 900px) { .badge-show { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.bdg-ex { text-align: center; }
.bdg-ex .hx { margin: 0 auto 10px; }
.bdg-ex > b { display: block; font: 700 14px/1.25 var(--head); }
.bdg-ex > span:not(.hx) { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.hx.chapter > svg polygon { fill: var(--teal-deep); stroke: var(--teal-deep); }
.hx.legend { color: #f3dd9e; }
.hx.legend > svg polygon { fill: var(--ink); stroke: #d9a93a; stroke-width: 9; }

/* prices */
.price-list { padding: 4px 18px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row span { display: block; font-size: 13.5px; color: var(--muted); }
.price-row > b { font: 700 18px var(--head); white-space: nowrap; }
.price-ask { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }

/* questions */
.faq { max-width: 800px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 52px; padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15.5px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { flex: none; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(90deg); }
.faq .ans { padding: 0 18px 16px; font-size: 15px; color: var(--ink-2); }
.faq .ans ul { margin: 0; padding-left: 18px; }
.faq .ans li + li { margin-top: 4px; }
.faq .ans a { color: var(--teal-deep); }

/* contact */
.contact { display: grid; gap: 24px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .i { margin-top: 2px; color: var(--teal-deep); }
.contact-list b { display: block; font-size: 14px; }
.contact-list span { font-size: 15px; color: var(--ink-2); }
.contact-list a { color: var(--teal-deep); }
.contact .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.map {
  display: grid; min-height: 280px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  background-color: var(--stone-2);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.map-off { display: grid; place-items: center; align-content: center; gap: 8px; padding: 24px; text-align: center; color: var(--muted); }
.map-off .i { width: 28px; height: 28px; color: var(--ink); }
.map-off p { color: var(--ink-2); }
.map-off small { font-size: 12px; }
@media (min-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; }
  .map { min-height: 380px; }
}

/* privacy notice */
.prose { max-width: 720px; }
.prose h1 { margin-bottom: 8px; }
.prose h2 { margin: 28px 0 8px; font-size: 19px; }
.prose p, .prose li { font-size: 15.5px; color: var(--ink-2); }
.prose ul { margin: 0; padding-left: 20px; }
.prose li + li { margin-top: 6px; }

.footer {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 13.5px;
}
.footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.footer a:hover { color: var(--teal-deep); }

/* ---------- log in / sign up ---------- */
.auth {
  min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start;
  grid-template-areas: "brand" "photo" "main";
}
.auth-brand { grid-area: brand; height: var(--top-h); padding: 0 16px; display: flex; align-items: center; background: #fff; border-bottom: 1px solid var(--line); }
.auth-photo { grid-area: photo; height: 168px; overflow: hidden; }
.auth-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.auth-main { grid-area: main; padding: 22px 16px 48px; }
.auth-in { max-width: 420px; margin: 0 auto; }
.auth .card { padding: 22px; }
@media (min-width: 900px) {
  .auth {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
    grid-template-areas: "photo brand" "photo main";
  }
  .auth-brand { height: 88px; padding: 0 48px; background: none; border: 0; }
  .auth-photo { height: 100vh; position: sticky; top: 0; align-self: start; }
  .auth-main { display: flex; align-items: center; padding: 0 48px 88px; }
  .auth-in { width: 100%; }
}

/* ---------- sessions and timetable ---------- */
.daystrip { display: flex; gap: 6px; overflow-x: auto; padding: 2px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.daystrip::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .daystrip { margin: 0; padding: 2px 0 12px; flex-wrap: wrap; } }
.day {
  flex: none; width: 52px; padding: 8px 0 7px; cursor: pointer; text-align: center;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
}
.day:hover { border-color: var(--line-2); }
.day .dw { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.day .dn { font: 700 19px/1.2 var(--head); margin-top: 1px; font-variant-numeric: tabular-nums; }
.day .dots { display: flex; gap: 3px; justify-content: center; height: 5px; margin-top: 4px; }
.day .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.day .dots i.mine { background: var(--teal); }
.day.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.day.on .dw { color: rgba(255, 255, 255, .7); }
.day.on .dots i { background: rgba(255, 255, 255, .35); }
.day.on .dots i.mine { background: var(--teal); }
.day.closed { background: transparent; color: var(--faint); }
.day.closed .dw { color: var(--faint); }

.sess {
  position: relative; display: flex; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
  text-decoration: none; color: inherit;
}
a.sess:hover { border-color: var(--line-2); }
.sess .time { width: 50px; flex: none; }
.sess .time b { display: block; font: 700 17px/1.2 var(--head); font-variant-numeric: tabular-nums; }
.sess .time span { font-size: 12.5px; color: var(--muted); }
.sess .what { flex: 1; min-width: 0; }
.sess .cname { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15.5px; }
.sess .cname .i { color: var(--muted); }
.sess .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.sess.cancelled { opacity: .62; }
.sess.cancelled .cname { text-decoration: line-through; }
.sess.mine { border-color: var(--teal-line); box-shadow: inset 3px 0 0 var(--teal); }
.spots { font-size: 13px; font-weight: 500; color: var(--muted); }
.spots.low { color: var(--ink); font-weight: 600; }
.spots.full { color: var(--danger); font-weight: 600; }
.cap-bar { height: 3px; max-width: 200px; border-radius: 3px; background: var(--stone-2); overflow: hidden; margin-top: 9px; }
.cap-bar i { display: block; height: 100%; background: var(--ink-2); }

/* ---------- level and progress ---------- */
.level-card { position: relative; overflow: hidden; }
.level-card .hexbg { position: absolute; right: -56px; top: -40px; width: 230px; pointer-events: none; }
.level-card .lv { position: relative; display: flex; align-items: center; gap: 16px; }
.level-card .lv-name { font: 800 26px/1.1 var(--head); letter-spacing: -.02em; }
.levels-row { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin-top: 18px; }
.levels-row .lvl { text-align: center; font-size: 10.5px; white-space: nowrap; color: rgba(255, 255, 255, .5); }
.levels-row .lvl .hx { margin: 0 auto 5px; }
.levels-row .lvl.on { color: #fff; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) {
  .stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat b {
  display: flex; align-items: center; gap: 6px;
  font: 700 26px/1.1 var(--head); letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.stat b .i { width: 18px; height: 18px; color: var(--teal-deep); }
.stat > span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

.ms-row { display: flex; align-items: center; gap: 12px; }

.heat { display: grid; grid-template-columns: 28px repeat(12, minmax(0, 1fr)); gap: 4px; align-items: center; }
.heat .lbl { font-size: 10.5px; color: var(--muted); }
.heat .cell { aspect-ratio: 1; border-radius: 3px; background: var(--stone-2); }
.heat .cell.l1 { background: #a9d9d4; }
.heat .cell.l2 { background: var(--teal); }
.heat .cell.l3 { background: var(--teal-deep); }
.heat .cell.future { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.heat .cell.today { box-shadow: 0 0 0 2px var(--ink); }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars .bar i { display: block; width: 100%; max-width: 32px; border-radius: 4px 4px 2px 2px; background: var(--teal); min-height: 3px; }
.bars .bar b { font-size: 13px; font-variant-numeric: tabular-nums; }
.bars .bar span { font-size: 12px; color: var(--muted); }

.hbar { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.hbar .i { color: var(--muted); }
.hbar b { font-variant-numeric: tabular-nums; }

/* ---------- badges: hexagon frame (the rebounder shape) ---------- */
.hx {
  --s: 56px;
  position: relative; width: var(--s); height: calc(var(--s) * .88); flex: none;
  display: inline-grid; place-items: center; color: #fff;
}
.hx > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hx > svg polygon { fill: var(--ink); stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; }
.hx .hx-c {
  position: relative; display: grid; place-items: center;
  font: 700 calc(var(--s) * .34)/1 var(--head); letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.hx .hx-c .i { width: calc(var(--s) * .42); height: calc(var(--s) * .42); vertical-align: 0; }
.hx.teal > svg polygon { fill: var(--teal); stroke: var(--teal); }
.hx.award > svg polygon { fill: var(--ink); stroke: var(--teal); stroke-width: 9; }
.hx.locked { color: var(--faint); }
.hx.locked > svg polygon { fill: #fff; stroke: var(--line-2); stroke-width: 3; }
.hx.ghost { color: rgba(255, 255, 255, .5); }
.hx.ghost > svg polygon { fill: transparent; stroke: rgba(255, 255, 255, .28); stroke-width: 4; }
.hx.xs { --s: 28px; }
.hx.sm { --s: 40px; }
.hx.md { --s: 48px; }
.hx.lg { --s: 108px; }
.hx.lg .hx-c .i { stroke-width: 1.4; }

.ms-track, .badge-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.ms-track::-webkit-scrollbar, .badge-row::-webkit-scrollbar { display: none; }
.ms-track .ms, .badge-row .bdg { flex: none; width: 76px; text-align: center; }
.ms-track .ms .hx, .badge-row .bdg .hx { margin: 0 auto; }
.ms-track .ms > b, .badge-row .bdg > b { display: block; font-size: 12px; font-weight: 600; margin-top: 8px; line-height: 1.25; }
.ms-track .ms > span:not(.hx) { font-size: 11px; color: var(--muted); }

.badge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .badge-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.badge-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px 16px; text-align: center; }
.badge-tile .hx { margin: 0 auto 12px; }
.badge-tile b { display: block; font: 700 14.5px/1.2 var(--head); }
.badge-tile p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.badge-tile .when { font-size: 12px; color: var(--teal-deep); font-weight: 600; margin-top: 8px; }
.badge-tile.locked { background: transparent; }
.badge-tile.locked b { color: var(--muted); }
.badge-tile .progress { height: 4px; max-width: 120px; margin: 10px auto 0; }

.award { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }

/* ---------- notes ---------- */
.thread { display: grid; gap: 8px; }
.bubble { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble .by { display: block; font-size: 11.5px; font-weight: 600; opacity: .7; margin-bottom: 2px; }
.bubble.me { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.bubble.them { justify-self: start; background: var(--teal-soft); color: var(--ink); border-bottom-left-radius: 4px; }
.composer { display: flex; gap: 8px; align-items: flex-end; margin-top: 12px; }
.composer textarea {
  flex: 1; min-height: 44px; max-height: 160px; padding: 10px 12px; resize: none; outline: none;
  border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: #fff;
}
.composer textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30, 158, 149, .18); }
.composer .btn { min-height: 44px; }
.class-note {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--teal);
  border-radius: var(--radius); padding: 14px 16px; white-space: pre-wrap;
}
.class-note .eyebrow { display: flex; margin-bottom: 6px; color: var(--teal-deep); }
.theme-note { background: var(--blush-soft); border: 1px solid #f0cdd8; border-radius: var(--radius); padding: 14px 16px; }
.theme-note b { display: flex; align-items: center; gap: 8px; color: var(--blush-ink); }

.feel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.feel button {
  min-height: 54px; padding: 8px 0 7px; cursor: pointer;
  border: 1px solid var(--line-2); background: #fff; border-radius: var(--radius-sm);
}
.feel button:hover { border-color: var(--ink); }
.feel button b { display: block; font: 700 18px/1 var(--head); }
.feel button small { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; font-weight: 500; }
.feel button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.feel button.on small { color: rgba(255, 255, 255, .75); }
.feel-tag { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* ---------- admin ---------- */
.person { padding: 16px 0; border-bottom: 1px solid var(--line); }
.person:last-child { border-bottom: 0; padding-bottom: 4px; }
.health {
  margin-top: 10px; display: flex; gap: 8px; align-items: flex-start;
  background: var(--danger-soft); border: 1px solid var(--danger-line); color: #7a1d14;
  border-radius: var(--radius-sm); padding: 8px 12px; font-size: 14px;
}
.health .i { color: var(--danger); margin-top: 2px; }
.week-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .week-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; } }
.week-day h3 {
  font: 700 12px/1.2 var(--body); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 8px;
}
.week-day.today h3 { color: var(--teal-deep); }
.mini-sess {
  display: block; text-decoration: none; color: inherit; font-size: 13.5px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px; margin-bottom: 6px;
}
.mini-sess:hover { border-color: var(--line-2); }
.mini-sess .t { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.mini-sess b { font-variant-numeric: tabular-nums; }
.mini-sess .t .i { color: var(--muted); }
.mini-sess.theme { box-shadow: inset 3px 0 0 var(--blush); }
.mini-sess.cancelled { opacity: .5; text-decoration: line-through; }
.slot-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.slot-row:last-child { border-bottom: 0; }
.slot-row .i { color: var(--muted); }
.ms-edit { display: grid; grid-template-columns: 76px minmax(0, 1fr) 44px; gap: 6px; align-items: center; }
.ms-edit input { min-height: 42px; padding: 8px 10px; }
.search-results { max-height: 260px; overflow: auto; }
.copybox { display: flex; gap: 8px; }
.copybox input { flex: 1; font-size: 13px; }
details.card > summary { cursor: pointer; font-weight: 700; font-family: var(--head); }

/* ---------- toast, modal, reward ---------- */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 16px); z-index: 100;
  transform: translateX(-50%) translateY(16px); max-width: calc(100% - 32px);
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius); box-shadow: var(--float);
  font-weight: 500; font-size: 14.5px; text-align: center; opacity: 0; pointer-events: none; transition: all .22s;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.bad { background: var(--danger); }
@media (min-width: 900px) { #toast { bottom: 28px; } }
.modal-back {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 20, 20, .5);
  display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease;
}
.modal {
  background: #fff; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; box-shadow: var(--float);
  border-radius: 14px 14px 0 0; padding: 22px 20px calc(22px + var(--safe-b));
  animation: up .24s cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 640px) {
  .modal-back { align-items: center; padding: 20px; }
  .modal { border-radius: 14px; padding: 26px; }
}
.modal h2 { margin-bottom: 6px; }

/* The one reward animation: picks, checkpoints and new badges only. */
.celebrate { text-align: center; padding-top: 4px; }
.celebrate .hx-wrap { position: relative; width: 108px; height: 95px; margin: 20px auto 18px; }
.celebrate .hx.lg { animation: hxpop .55s cubic-bezier(.2, 1.3, .4, 1) both; }
.celebrate h2 { font-size: 24px; margin: 4px 0 6px; }
.burst { position: absolute; left: 50%; top: 50%; }
.burst i {
  position: absolute; left: -1px; top: -6px; width: 2px; height: 12px; border-radius: 2px; background: var(--teal);
  opacity: 0; transform: rotate(var(--a)) translateY(-58px); animation: ray .8s .18s cubic-bezier(.2, .8, .2, 1) forwards;
}
.burst i:nth-child(even) { background: var(--ink); height: 8px; top: -4px; }
@keyframes hxpop { from { transform: scale(.55); opacity: 0; } }
@keyframes ray {
  0% { opacity: 0; transform: rotate(var(--a)) translateY(-44px) scaleY(.3); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateY(-86px) scaleY(1); }
}
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

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

/* ---------- sign-in and onboarding (signin.js) ---------- */
.gbtn { gap: 10px; background: #fff; border-color: var(--line-2); color: var(--ink); }
.gbtn:hover { border-color: var(--ink); }
.g-logo { width: 20px; height: 20px; flex: none; }
.eyebrow .g-logo { width: 14px; height: 14px; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.seg2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg2 button {
  min-height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: #fff;
  font-weight: 600; cursor: pointer; color: var(--ink-2);
}
.seg2 button:hover { border-color: var(--ink); }
.seg2 button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.readonly { min-height: 46px; display: flex; align-items: center; padding: 0 12px; border-radius: var(--radius-sm); background: var(--stone); color: var(--ink-2); }

.look-ed { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.look-prev .scene { display: block; width: 100%; max-width: 220px; height: auto; margin: 0 auto; border-radius: var(--radius); }
.look-opts { display: grid; gap: 14px; align-content: start; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; }
.sw.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
@media (pointer: coarse) { .sw { width: 42px; height: 42px; } }
@media (min-width: 560px) { .look-ed { grid-template-columns: 200px minmax(0, 1fr); align-items: start; } }

.wsteps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wsteps li { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 3px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.wsteps li span { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--stone-2); font-size: 12px; }
.wsteps li.on { border-color: var(--teal); color: var(--ink); }
.wsteps li.on span { background: var(--ink); color: #fff; }
.wsteps li.done { border-color: var(--teal); }
.wsteps li.done span { background: var(--teal); color: #fff; }
.wsteps li .i { width: 13px; height: 13px; stroke-width: 2.5; vertical-align: 0; }
@media (max-width: 420px) { .wsteps li { font-size: 0; gap: 0; } .wsteps li span { font-size: 12px; } }
.welcome-done .scene { display: block; width: 180px; height: auto; margin: 0 auto; border-radius: var(--radius); }

.me-head { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 22px; }
.me-char .scene { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
.me-head .tiny .g-logo { width: 12px; height: 12px; vertical-align: -1px; }
@media (min-width: 640px) { .me-head { grid-template-columns: 150px minmax(0, 1fr); } }

/* ---------- Season screen and picks (season.js) ---------- */
button.opt { width: 100%; font: inherit; color: inherit; cursor: pointer; }
.opt.can { border-color: var(--teal); }
.opt.can:hover { background: var(--teal-soft); }
.step.waiting .lv { box-shadow: 0 0 0 3px var(--teal); background: #fff; }
.celebrate .hx-wrap.reward-item { width: 132px; height: 132px; }
.reward-art { position: relative; width: 132px; height: 132px; display: grid; place-items: center; border-radius: 50%; background: var(--stone); animation: hxpop .55s cubic-bezier(.2, 1.3, .4, 1) both; }
.reward-art svg { width: 88px; height: 88px; }
.season-card { display: block; text-decoration: none; }
.season-card .sc-level { font: 800 22px var(--head); color: #fff; }
.season-card .btn.accent { pointer-events: none; }

/* ---------- Character screen (character.js, spec 7.2) ---------- */
.avatar.char-av { background: var(--stone); overflow: hidden; padding: 0; }
.avatar.char-av svg { width: 100%; height: 100%; display: block; }
.char-stage { display: grid; justify-items: center; gap: 12px; }
.char-big { width: min(100%, 300px); }
.char-big .scene { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
.slot-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 20px -16px 14px; padding: 2px 16px; scrollbar-width: none; }
.slot-tabs::-webkit-scrollbar { display: none; }
.slot-tabs button { flex: none; font: 600 14px var(--body); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; }
.slot-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 104px), 1fr)); gap: 10px; }
.wtile { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; padding: 12px 8px 10px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line); border-bottom: 3px solid var(--edge, var(--line-2)); font: inherit; color: inherit; min-width: 0; }
button.wtile { cursor: pointer; }
button.wtile:hover { border-color: var(--teal-line); }
.wtile.on { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal) inset; background: var(--teal-soft); }
.wtile b { font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; }
.wtile small { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 3px; }
.w-art { width: 56px; height: 56px; display: grid; place-items: center; }
.w-art svg { width: 100%; height: 100%; }
.w-none { color: var(--faint); }
.w-art.sil svg { filter: brightness(0); opacity: .18; }
.wtile.not, .wtile.gone { opacity: .6; }
.wtile.not b, .wtile.gone b { text-decoration: line-through; text-decoration-thickness: 1px; }
.w-tick { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }
.w-tick svg { width: 12px; height: 12px; }
a.me-char { display: block; }
.adm-char { width: 96px; flex: none; }
.adm-char .scene { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }

/* ---------- Admin season tools (admin-season.js, spec 10.1) ---------- */
.as-h { font-size: 15px; margin: 18px 0 8px; }
.as-cols { display: grid; gap: 4px 24px; }
@media (min-width: 720px) { .as-cols { grid-template-columns: 1fr 1fr; } }
.as-list { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.as-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.as-bar { display: grid; grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) 2em; align-items: center; gap: 10px; font-size: 13.5px; }
.as-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-bar b { text-align: right; }
.as-pick { display: grid; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.as-pick:last-child { border-bottom: 0; }
.as-pick small { color: var(--muted); font-weight: 600; }
.warn-box { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--danger-soft); border: 1px solid var(--danger-line); font-size: 14px; line-height: 1.5; }
.warn-box .i { flex: none; margin-top: 2px; color: var(--danger); }
select.input { appearance: auto; }

/* ---------- profile pins, season badges, level info ---------- */
.pins { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.pin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-top: 14px; max-height: 50vh; overflow: auto; }
.pin-opt { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font: inherit; color: inherit; cursor: pointer; }
.pin-opt small { font-size: 11.5px; line-height: 1.2; text-align: center; }
.pin-opt.on { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal) inset; background: var(--teal-soft); }
button.lv-info { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 4px; }
button.lv-info .i:last-child { opacity: .6; }

/* ---------- Real rewards (rewards.js, spec 7) ---------- */
.rw-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep); }
.rw-ic .i { width: 22px; height: 22px; }
.rw-ic.sm { width: 36px; height: 36px; border-radius: 10px; }
.rw-ic.sm .i { width: 18px; height: 18px; }
.opt .rw-ic.item-art { width: 40px; height: 40px; }
.finale .rw-ic { background: #f6ecd3; color: #8a6514; }
.voucher { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.voucher.open { border-color: var(--teal-line); box-shadow: 0 1px 0 var(--teal-line); }
.voucher.given, .voucher.expired { opacity: .7; }
.voucher.given .rw-ic, .voucher.expired .rw-ic { background: var(--stone); color: var(--muted); }
.voucher .grow { min-width: 0; }
.v-code { font: 700 15px/1 var(--body); letter-spacing: .12em; padding: 6px 10px; border-radius: 8px; background: var(--stone); color: var(--ink); }
.voucher.expired .v-code { text-decoration: line-through; }
.v-code.big { display: inline-block; font-size: 22px; padding: 10px 16px; }
.reward-art .i { width: 56px; height: 56px; color: var(--teal-deep); }
.rw-show { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.rw-card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rw-card b { display: block; font-size: 15px; }
.rw-card small { color: var(--muted); }
.ps-item .rw-ic { margin: 0 auto 4px; }
.avatar.xl { width: 88px; height: 88px; font-size: 30px; }
.me-head { grid-template-columns: auto minmax(0, 1fr); }
@media (min-width: 640px) { .me-head { grid-template-columns: auto minmax(0, 1fr); } }
.welcome-ic { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); }

/* ---------- points (rewards.js, spec 7) ---------- */
.rw-ic.pt-friend { background: #e3eefb; color: #2d5f9a; }
.rw-ic.pt-class { background: var(--teal-soft); color: var(--teal-deep); }
.rw-ic.pt-merch { background: #f6ecd3; color: #8a6514; }
.rw-ic.pt-perk { background: #f3e6ef; color: #8e3f72; }
.wallet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.wallet-tile { display: grid; justify-items: center; gap: 4px; padding: 14px 6px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.wallet-tile b { font: 800 24px/1 var(--head); }
.wallet-tile span { font-size: 13px; font-weight: 600; }
.wallet-tile small { font-size: 11px; color: var(--danger); line-height: 1.2; }
.redeem-group + .redeem-group { border-top: 1px solid var(--line); padding-top: 14px; }
.redeem-group h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 8px; }
.redeem-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.redeem-row .progress { margin-top: 6px; height: 6px; }
.redeem-row .btn { flex: none; }
.rw-card.pts { align-items: flex-start; }
.rw-card ul { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13.5px; }
.rw-card li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; color: var(--muted); }
.rw-card li .num { font-weight: 700; color: var(--ink); }
.rw-card > div { flex: 1; min-width: 0; }

/* ---------- all-time rank card (replaces the dark level card) ---------- */
.rank-card { display: block; }
.rank-top { display: flex; align-items: center; gap: 12px; }
.rank-name { display: block; font: 800 22px/1.1 var(--head); letter-spacing: -.02em; }
.rank-total { text-align: right; line-height: 1; }
.rank-total b { display: block; font: 800 26px/1 var(--head); }
.rank-total span { font-size: 12px; color: var(--muted); }
.rank-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 14px; }
.rank-steps i { height: 6px; border-radius: 3px; background: var(--stone-2); }
.rank-steps i.on { background: var(--teal); }
/* Tracker month chart: let the bars shrink on narrow phones (was 20 px too wide at 360 px) */
.bars { gap: 6px; }
.bars .bar { min-width: 0; }
.cols > * { min-width: 0; }

/* admin: switch between studio and client screens */
.view-switch { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 10px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 13px var(--body); cursor: pointer; white-space: nowrap; }
.view-switch:hover { border-color: var(--teal); }
.view-switch .i { width: 15px; height: 15px; }
.view-switch + .who { margin-left: 0; }

/* ---------- season themes (season.js themeCls, content/seasons.json "style") ---------- */
.season-card { position: relative; overflow: hidden; }
.sc-eyebrow { color: #7fd3cb; }
.st-jacaranda { --sbg: #2b1f47; --sacc: #a98ae0; --sdeep: #6a4bb0; --ssoft: #eee7fa; --sglow: rgba(169, 138, 224, .4); --seye: #d4c3f5; }
.st-festive { --sbg: #163d29; --sacc: #d4343f; --sdeep: #b0242f; --ssoft: #fbe8e9; --sglow: rgba(212, 52, 63, .4); --seye: #f3cf6b; }
.themed.season-head, .themed.board, .themed.season-card { background: var(--sbg); }
.themed.season-card { border-color: var(--sbg); }
.themed .sh-title .eyebrow, .themed .sc-eyebrow { color: var(--seye); }
.themed .sh-level .progress > i, .themed.season-card .progress > i { background: var(--sacc); }
.themed .step.done::before, .themed .step.current::after { background: var(--sacc); }
.themed .step.done .node { background: var(--sacc); border-color: var(--sacc); }
.themed .step.current .node { border-color: var(--sacc); box-shadow: 0 0 0 5px var(--sglow); }
.themed .step.done .lv { background: var(--ssoft); }
.themed .step.current .lv, .themed .step.waiting .lv { box-shadow: 0 0 0 3px var(--sacc); }
.themed .step.finale.current .lv { box-shadow: inset 0 0 0 2px #d9a93a, 0 0 0 3px var(--sacc); }
.themed .lv-done, .themed .lv-tag { color: var(--sdeep); }
.themed .lv-next { background: var(--sdeep); }
.themed .opt.can, .themed .opt.chosen { border-color: var(--sacc); }
.themed .opt.can:hover { background: var(--ssoft); }
.themed .opt.chosen small { color: var(--sdeep); }
.themed .btn.accent { background: var(--sdeep); border-color: var(--sdeep); }
.ps.themed .ps-head { background: var(--sbg); }
.ps.live.themed .ps-head { background: var(--sdeep); }
.ps.themed h4 { color: var(--sdeep); }
.sh-deco { position: absolute; pointer-events: none; }
.sh-deco.jac { right: -6px; top: -4px; width: 230px; }
.sh-deco.fest { left: 0; right: 0; top: 0; width: 100%; height: 34px; }
.season-card .sh-deco.jac { width: 170px; right: -20px; top: -14px; opacity: .8; }
.season-card .sh-deco.fest { height: 26px; }
.themed.season-head.st-festive { padding-top: 34px; }
.season-card.st-festive { padding-top: 28px; }
.season-card .sh-deco.jac { width: 120px; right: -36px; top: -26px; opacity: .45; }

/* ---------- points: earn / save / spend, costs vs balances (Gert, 10 Nov 2026) ---------- */
.earn-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
@media (min-width: 720px) { .earn-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.earn-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.earn-steps b { display: block; font: 700 15px var(--head); }
.earn-steps small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.es-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.es-ic .i { width: 15px; height: 15px; }
.cost-tag { flex: none; display: inline-flex; align-items: baseline; gap: 4px; padding: 2px 9px; border-radius: 999px; background: var(--stone); font-size: 12px; color: var(--muted); white-space: nowrap; }
.cost-tag b { font-size: 13px; color: var(--ink); }
.have-chip { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-deep); font-size: 12px; font-weight: 600; }
.have-chip b { font-size: 13px; }
.rr-note { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.wallet-label { font: 700 12px var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.rw-sub { margin: 4px 0 12px; font-size: 16px; }
.rw-card li { align-items: center; }

/* public page, 12 Nov 2026: "Why clients keep coming back" with the season details folded away,
   and the floating WhatsApp button on phones */
.perks { display: grid; gap: 12px; }
.perk { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: start;
  padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.perk > .i { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); }
.perk b { font: 700 16px/1.3 var(--head); padding-top: 1px; }
.perk span { font-size: 14.5px; color: var(--muted); }
@media (min-width: 760px) { .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.more-toggle { margin-top: 18px; }
.more-toggle[aria-expanded="true"] .i { transform: rotate(90deg); }
.more-toggle .i { transition: transform .2s; }
.season-more { margin-top: 26px; padding-top: 4px; }
.season-more .ticks { margin-top: 0; }
.land .rw-sub { margin: 34px 0 8px; }

.wa-float { display: none; }
@media (max-width: 899px) {
  .wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px;
    background: var(--teal-deep); color: #fff; font: 600 15px var(--body); text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .22); opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity .2s, transform .2s; }
  .wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
  .land .footer { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float, .more-toggle .i { transition: none; } }

/* ---------- booking confirmation + waiting list (18 Nov 2026 rebuild) ---------- */
.chip.warn { background: #fdf3e3; color: #8a4b06; border-color: #f1d3a3; }
.confirm { display: grid; gap: 0; padding: 4px 18px; }
.confirm-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.confirm-row:first-child { border-top: 0; }
.confirm-row > .i { color: var(--teal-deep); margin-top: 2px; }
.confirm-row b { display: block; }
.confirm-row span { font-size: 14px; color: var(--muted); }
.booked-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 14px; border-radius: var(--radius);
  background: var(--teal-soft); border: 1px solid var(--teal-line); color: var(--teal-deep); }
.booked-banner b { display: block; color: var(--ink); }
.booked-banner span { font-size: 14px; color: var(--ink-2); }
