/* The points page (nimbo.health/points). Nimbo's own colours (public/styles.css and the app's design-system tokens):
   Nimbo blue, sky, light blue, yellow, gold, orange; glass cards over the app's "Grassy field and cloud" photograph;
   Poppins headings, Inter text, white words. No navy fills. */
:root {
  color-scheme: dark;
  --blue: #0D66FF;
  --blue-ink: #0A4FCC;
  --sky: #9EC2FF;
  --light-blue: #D1E1FF;
  --yellow: #FFFF00;
  --gold: #FFE831;
  --pale-yellow: #FEFFB6;
  --orange: #FFA60D;
  --orange-pale: #FFE0B0;
  --green-pale: #BFF0D4;
  --pink-pale: #FFD0E8;
  --ink: #141B3D;
  --olive: #5C4D00;
  --w95: rgba(255, 255, 255, .95);
  --w82: rgba(255, 255, 255, .82);
  --w65: rgba(255, 255, 255, .68);
  --w40: rgba(255, 255, 255, .4);
  --w24: rgba(255, 255, 255, .24);
  --w16: rgba(255, 255, 255, .16);
  --w10: rgba(255, 255, 255, .1);
  --gutter: 16px;
  --pad: 18px;
  --gap: 14px;
  --radius: 24px;
  --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Poppins', 'Nunito', system-ui, sans-serif;
}
@media (min-width: 960px) { :root { --gutter: 32px; --pad: 24px; --gap: 18px; } }

* { box-sizing: border-box; }
html { background: #2a5aa8; }
html, body { margin: 0; color: #fff; font-family: var(--font-text); font-size: 15px; line-height: 22px; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The photograph: blue sky and one big cloud over a grass path. A soft dark wash keeps white words readable;
   it is darkest at the bottom, where the long lists are. */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #3d78c9; }
.backdrop::before { content: ""; position: absolute; inset: -24px; background: url(/points/backdrop.jpg) center 30% / cover no-repeat; filter: blur(3px) saturate(1.05); }
.backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .2) 38%, rgba(0, 0, 0, .38) 75%, rgba(0, 0, 0, .55) 100%); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter) 48px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 8px; }
.top img { display: block; height: 24px; width: auto; }
.meta { color: var(--w82); font-size: 13px; line-height: 18px; }

/* Glass: the app's liquid-glass card, in white rather than tinted. */
.glass {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(13, 102, 255, .26), rgba(13, 102, 255, .1) 60%, rgba(255, 255, 255, .08));
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: 0 12px 40px rgba(0, 20, 60, .18), inset 0 1px 0 rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  padding: var(--pad);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(30, 60, 120, .82); }
}

.page-title { font-family: var(--font-head); font-weight: 600; font-size: 30px; line-height: 38px; margin: 10px 0 4px; }
.page-sub { color: var(--w82); margin-bottom: 18px; }
.label { font-size: 12px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--w82); }
.h2 { font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 28px; }

.cols { display: grid; gap: var(--gap); }
.col { display: grid; gap: var(--gap); align-content: start; min-width: 0; }
@media (min-width: 960px) {
  .cols { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
}

/* ---- Days left: one number, two lines. ---- */
.clock { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; }
.clock .days { grid-row: span 2; text-align: center; padding-right: 16px; border-right: 1px solid var(--w24); }
.clock .num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 48px; color: var(--gold); }
.clock .unit { display: block; font-size: 13px; line-height: 18px; color: var(--w82); }
.clock p { font-size: 15px; line-height: 22px; }
.clock strong { font-weight: 600; }

/* ---- You ---- */
.you-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.you-head .who { flex: 1 0 auto; }
.you-head .pill { margin-top: 4px; padding: 3px 10px; font-size: 12px; }
.nimbo-slot { flex: none; width: 56px; height: 67px; display: grid; place-items: center; }
.nimbo-slot.big { width: 120px; height: 144px; margin: 0 auto 8px; }
.code { white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 28px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; line-height: 18px; font-weight: 600; white-space: nowrap; }
.pill-gold { background: var(--gold); color: var(--olive); }
.pill-silver { background: var(--light-blue); color: var(--ink); }
.pill-bronze { background: var(--orange-pale); color: #7A4500; }
.pill-blue { background: var(--blue); color: #fff; }
.pill-none { background: var(--w16); color: #fff; border: 1px solid var(--w40); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 14px; }
.stat-v { display: block; font-family: var(--font-head); font-weight: 600; font-size: 30px; line-height: 36px; font-variant-numeric: tabular-nums; }
.stat-v sup { font-size: 15px; line-height: 1; vertical-align: super; margin-left: 1px; }
.stat-c { display: block; color: var(--w82); font-size: 13px; line-height: 18px; margin-top: 2px; }
.move-up { color: var(--green-pale); }
.move-down { color: var(--pink-pale); }
.spark { display: block; width: 72px; height: 18px; margin-top: 4px; }
.spark path { fill: none; stroke: var(--w82); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.spark circle { fill: var(--gold); }

.nudge { margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid var(--w24); }
.nudge strong { color: var(--pale-yellow); font-weight: 600; }
.nudge a { color: #fff; font-weight: 600; text-underline-offset: 3px; }

/* The board: inside the same card, opened on the viewer. */
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 8px; }
.find { width: 150px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--w40); background: rgba(255, 255, 255, .12); color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.find::placeholder { color: var(--w65); text-transform: none; letter-spacing: 0; }
.find:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.board { position: relative; list-style: none; margin: 0; padding: 0 4px 0 0; max-height: 360px; overflow-y: auto; overscroll-behavior: contain; border-radius: 16px; scrollbar-width: thin; scrollbar-color: var(--w40) transparent; }
.board:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 44px; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px; font-variant-numeric: tabular-nums; }
.row:nth-child(even of .row) { background: rgba(255, 255, 255, .05); }
.row .pl { color: var(--w82); font-size: 14px; }
.row .cd { font-weight: 600; letter-spacing: .05em; }
.row .pt { font-weight: 600; }
.row .mv { text-align: right; font-size: 13px; color: var(--w65); }
.row.me { background: var(--gold) !important; color: var(--olive); box-shadow: 0 0 0 2px rgba(255, 232, 49, .35), 0 6px 20px rgba(255, 232, 49, .35); }
.row.me .pl, .row.me .mv { color: var(--olive); }
.row.hit { outline: 2px solid var(--sky); outline-offset: -2px; }
.cut { display: flex; align-items: center; gap: 8px; margin: 10px 0 6px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--w95); }
.cut::before, .cut::after { content: ""; flex: 1; border-top: 1px dashed var(--w40); }
.cut .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.cut.gold .dot { background: var(--gold); } .cut.silver .dot { background: var(--light-blue); }
.cut.bronze .dot { background: var(--orange); } .cut.blue .dot { background: var(--sky); }
.zero-line { margin-top: 10px; color: var(--w82); font-size: 13px; line-height: 18px; }
.find-msg { min-height: 18px; margin-top: 6px; font-size: 13px; color: var(--w82); }

/* ---- The line to 1,000: each band is a box around its members, saying what its places earn. ---- */
.board { max-height: 460px; }
.frame { --c1: var(--w40); --c2: var(--w16); --head-bg: rgba(70, 90, 130, .97); position: relative; margin: 0 0 12px; border-radius: 18px; border: 1.5px solid var(--c1); background: rgba(255, 255, 255, .04); }
.frame.gold { --c1: var(--gold); --c2: var(--yellow); --head-bg: rgba(104, 88, 6, .97); }
.frame.silver { --c1: var(--light-blue); --c2: #fff; --head-bg: rgba(74, 100, 150, .97); }
.frame.bronze { --c1: var(--orange); --c2: var(--orange-pale); --head-bg: rgba(122, 70, 4, .97); }
.frame.next { --c1: var(--gold); --c2: var(--pale-yellow); --head-bg: rgba(80, 74, 40, .97); border-style: dashed; }
.frame.next .frame-title { color: var(--pale-yellow); }
.frame.blue { --c1: var(--blue); --c2: var(--sky); --head-bg: rgba(10, 70, 190, .97); }
.frame-head { position: sticky; top: 0; z-index: 2; display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; padding: 12px 12px 10px; border-radius: 16px 16px 10px 10px;
  background: var(--head-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.frame .medal { width: 36px; height: 36px; font-size: 12px; }
.frame-title { font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 20px; color: var(--c2); }
.frame.gold .frame-title { color: var(--pale-yellow); } .frame.silver .frame-title { color: #fff; } .frame.bronze .frame-title { color: var(--orange-pale); } .frame.blue .frame-title { color: var(--light-blue); }
.frame-meta { font-size: 12px; line-height: 16px; color: var(--w82); margin-top: 2px; }
.frame .meter { margin: 8px 0 0; height: 6px; }
.frame .rows { list-style: none; margin: 0; padding: 4px 6px 8px; }
.frame.here .frame-head { padding-right: 56px; }
.open-places { padding: 10px; font-size: 13px; color: var(--w82); text-align: center; border: 1px dashed var(--w24); border-radius: 12px; margin-top: 6px; }
.medal { border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #fff, var(--c2) 38%, var(--c1)); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.meter { border-radius: 999px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.you-chip { position: absolute; top: 12px; right: 12px; z-index: 3; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--olive); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.zero-line { margin: 4px 0 6px; padding: 12px; border-radius: 14px; border: 1px dashed var(--w40); }

/* The box you stand in, and gold always: a frame of light that turns slowly, and breathes. */
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.frame.gold, .frame.here { border-color: transparent; }
.frame.gold::before, .frame.here::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--sweep), var(--c1), #fff, var(--c2), var(--c1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: sweep 6s linear infinite;
}
.frame.gold, .frame.here { animation: breathe 3.2s ease-in-out infinite; }
@keyframes sweep { to { --sweep: 360deg; } }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 rgba(255, 232, 49, 0); } 50% { box-shadow: 0 0 22px rgba(255, 232, 49, .3); } }
.frame.silver.here { animation-name: breathe-silver; } .frame.bronze.here { animation-name: breathe-bronze; } .frame.blue.here { animation-name: breathe-blue; }
@keyframes breathe-silver { 0%, 100% { box-shadow: 0 0 0 rgba(209, 225, 255, 0); } 50% { box-shadow: 0 0 22px rgba(209, 225, 255, .4); } }
@keyframes breathe-bronze { 0%, 100% { box-shadow: 0 0 0 rgba(255, 166, 13, 0); } 50% { box-shadow: 0 0 22px rgba(255, 166, 13, .35); } }
@keyframes breathe-blue { 0%, 100% { box-shadow: 0 0 0 rgba(13, 102, 255, 0); } 50% { box-shadow: 0 0 22px rgba(13, 102, 255, .45); } }

/* ---- Nimbo asks (the app's yellow card) ---- */
.ask { border-radius: var(--radius); padding: var(--pad); color: var(--ink); background: linear-gradient(135deg, #FFF59A 0%, var(--gold) 45%, #FFC93D 100%); box-shadow: 0 12px 40px rgba(0, 20, 60, .18); }
.ask .label { color: var(--olive); }
.ask h2 { font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 28px; margin: 6px 0 8px; }
.ask-points { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 10px; }
.ask-points .big { font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: 44px; color: var(--blue); }
.ask-points span:last-child { font-weight: 600; }
.ask-facts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.ask-facts li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: 13px; line-height: 18px; font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(13, 102, 255, .35); }
.btn:hover { background: var(--blue-ink); }
.ask-note { margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--olive); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---- Ways to earn ---- */
.earn-group { margin: 16px 0 6px; font-size: 12px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--w82); }
.earn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.earn-list li { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.earn-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.earn-go { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.earn-list .t { font-weight: 600; }
.earn-list .d { display: block; color: var(--w82); font-size: 13px; line-height: 18px; }
.pts { min-width: 52px; text-align: center; padding: 4px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; }
.earn-list li.soon .pts { background: transparent; border: 1px dashed var(--w40); color: var(--w82); }

/* ---- How places work ---- */
.how summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.how summary::-webkit-details-marker { display: none; }
.how summary::after { content: "▾"; color: var(--w82); transition: transform .2s; }
.how[open] summary::after { transform: rotate(180deg); }
.how ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 8px; color: var(--w95); }

/* ---- No link ---- */
.nolink { max-width: 520px; margin: 24px auto 0; text-align: center; }
.nolink h1 { font-family: var(--font-head); font-weight: 600; font-size: 26px; line-height: 34px; margin-bottom: 8px; }
.nolink p { color: var(--w95); }
.nolink p.meta { margin-top: 14px; }
.ask-link { display: grid; gap: 10px; margin-top: 18px; text-align: left; }
.ask-link input { width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--w40); background: rgba(255, 255, 255, .14); color: #fff; }
.ask-link input::placeholder { color: var(--w65); }
.ask-link input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-msg { min-height: 22px; color: var(--pale-yellow); font-weight: 600; text-align: center; }
.form-msg p { color: var(--pale-yellow); margin-top: 8px; }
.form-msg a:not(.btn) { color: #fff; text-decoration: underline; }
.preview { max-width: 520px; margin: 18px auto 0; }
.preview .board { max-height: 420px; }

.foot { margin-top: 28px; color: var(--w82); font-size: 13px; line-height: 19px; text-align: center; }
.foot a { color: #fff; }
.loading { margin-top: 40px; text-align: center; color: var(--w95); }

@media (max-width: 380px) {
  .stat-v { font-size: 26px; }
  .row { grid-template-columns: 46px minmax(0, 1fr) auto 40px; padding: 7px 8px; }
  .find { width: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  .frame.gold, .frame.here, .frame.gold::before, .frame.here::before { animation: none; }
  .how summary::after { transition: none; }
}

/* ---- Waves (in the days-left card) ---- */
.clock .waves { grid-column: 1 / -1; list-style: none; margin: 10px 0 0; padding: 0 0 2px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(84px, 1fr); gap: 6px; overflow-x: auto; scrollbar-width: none; }
.clock .waves li { display: flex; flex-direction: column; white-space: nowrap; padding: 6px 8px; border-radius: 12px; background: var(--w10); border: 1px solid var(--w24); font-size: 12px; line-height: 16px; }
.clock .waves li strong { font-size: 13px; }
.clock .waves li.on { background: var(--gold); color: var(--olive); border-color: transparent; }
.clock .waves li.done { opacity: .7; }
.frame .cut { list-style: none; display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--pale-yellow); }
.frame .cut::before, .frame .cut::after { content: ""; flex: 1; border-top: 1px dashed var(--gold); }
.row.decided .mv { color: var(--gold); font-weight: 700; }

/* ---- Buttons on cards ---- */
.btn-sm { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; }
.btn-sm:hover { background: var(--blue-ink); }
.btn-sm:focus-visible, .option:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-sm[aria-expanded="true"] { background: #fff; color: var(--blue-ink); }
.btn[disabled], .btn-sm[disabled] { opacity: .5; cursor: default; }
.link { display: inline-block; margin: 6px 0; color: #fff; font-weight: 600; text-underline-offset: 3px; }
.done { color: var(--green-pale); font-weight: 600; }
.small { font-size: 12px; line-height: 17px; }
.flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 4px rgba(255, 232, 49, .8); } 100% { box-shadow: 0 0 0 0 rgba(255, 232, 49, 0); } }

/* ---- Panels under a way to earn ---- */
.panel { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--w16); display: grid; gap: 10px; }
.item { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; gap: 6px; }
.item.locked { border: 1px solid var(--green-pale); }
.item-t { font-weight: 600; }
.item-go { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.copy-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.copy-box { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--w40); background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 14px; resize: vertical; }
.app-intro { display: grid; gap: 6px; padding: 12px; margin-bottom: 8px; border-radius: 14px; border: 1px dashed var(--w40); }
.app-intro .btn-sm { justify-self: start; }

/* ---- Votes ---- */
.votes .h2 { margin: 4px 0 2px; }
.poll { margin-top: 14px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid var(--w24); display: grid; gap: 8px; }
.poll .q { font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 22px; }
.options { display: grid; gap: 8px; }
.option { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--w40); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; }
.option .o-label { font-weight: 600; }
.option .o-detail { font-size: 13px; line-height: 18px; color: var(--w82); }
.option[aria-checked="true"] { border-color: var(--gold); background: rgba(255, 232, 49, .16); }
.option.mine .o-mine { color: var(--gold); font-weight: 700; font-size: 13px; }
.option[disabled] { cursor: default; }
.poll.voted .option:not(.mine) { opacity: .6; }
.poll-go { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.poll-go .form-msg { text-align: left; }
.panel[hidden] { display: none; }

/* ---- Per-wave prizes (1 : 2 : 3 : 4) ---- */
.clock .prizes { grid-column: 1 / -1; list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.clock .prize { display: flex; flex-direction: column; align-items: center; padding: 6px 4px; border-radius: 12px; font-size: 12px; line-height: 16px; font-weight: 600; text-align: center; }
.clock .prize strong { font-family: var(--font-head); font-size: 20px; line-height: 24px; }
.clock .prize.gold { background: var(--gold); color: var(--olive); }
.clock .prize.silver { background: var(--light-blue); color: var(--ink); }
.clock .prize.bronze { background: var(--orange-pale); color: #7A4500; }
.clock .prize.blue { background: var(--blue); color: #fff; }
.clock .meta { color: var(--w82); }

/* Someone who already has a prize: a small tag by their code; dimmed where they keep theirs and the place passes on. */
.row .cd { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; min-width: 0; }
.tag { flex: none; padding: 1px 7px; border-radius: 999px; font-size: 11px; line-height: 15px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.tag.gold { background: var(--gold); color: var(--olive); }
.tag.silver { background: var(--light-blue); color: var(--ink); }
.tag.bronze { background: var(--orange-pale); color: #7A4500; }
.tag.blue { background: var(--blue); color: #fff; }
.row.keeps { opacity: .62; }
.row.me .tag { box-shadow: 0 0 0 1px rgba(92, 77, 0, .35); }

/* Founding Members from earlier waves: gold, still, at the top. */
.frame.won { border-color: var(--gold); animation: none; }
.frame.won::before { display: none; }
.frame.won .medal { font-size: 16px; }

/* Invite: the first button, under the board. */
.you-actions { margin-top: 12px; }
.you-go { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.you-go .btn[aria-expanded="true"] { background: #fff; color: var(--blue-ink); }
.earn-list.first li { background: rgba(255, 232, 49, .16); border: 1px solid rgba(255, 232, 49, .5); }

/* Testers' points, and the waves table in "How the prizes work". */
.ask-more { margin: -6px 0 4px; font-size: 13px; line-height: 18px; color: var(--olive); font-weight: 600; }
.ask-earn { margin: 0 0 16px; padding-left: 18px; font-size: 13px; line-height: 19px; color: var(--ink); }
.how-intro { margin-top: 12px; color: var(--w95); }
.table-wrap { overflow-x: auto; margin-top: 10px; }
.wave-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 18px; font-variant-numeric: tabular-nums; }
.wave-table th, .wave-table td { padding: 6px 8px; text-align: right; border-bottom: 1px solid var(--w16); white-space: nowrap; }
.wave-table th:first-child { text-align: left; font-weight: 600; }
.wave-table thead th { color: var(--w82); font-weight: 600; }
.wave-table tr.on { background: rgba(255, 232, 49, .16); }
.wave-table tr.done { color: var(--w65); }
.wave-table tfoot th, .wave-table tfoot td { border-bottom: 0; font-weight: 700; }
.row .cd > span:first-child { white-space: nowrap; }

/* ---- Founding-only waves, the rest of the line, the beta queue (19 Nov) ---- */
.clock .waves li .more { font-size: 11px; line-height: 14px; opacity: .85; }
.clock .meta.wide { grid-column: 1 / -1; margin-top: 8px; }
.frame.rest { --c1: var(--w40); --c2: var(--w65); --head-bg: rgba(60, 80, 120, .97); border-style: dashed; }
.frame.rest .frame-title { color: #fff; }
.queue .queue-place { display: flex; align-items: center; gap: 14px; margin: 6px 0 8px; }
.queue .queue-place .stat-v { font-size: 40px; line-height: 44px; color: var(--gold); }
.queue .queue-place .h2 { margin: 0; }
.queue .h2 { margin: 4px 0 6px; }
.queue .item-go { margin-top: 10px; }
.code-box { font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; font-size: 18px; text-transform: uppercase; }

/* ---- Health focus picker and areas (19 Nov) ---- */
.focus-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 4px; }
.focus-picker .option { padding: 10px 12px; }
.focus-picker .option.mine { border-color: var(--gold); background: rgba(255, 232, 49, .16); }
.queue .change { margin-top: 10px; }
.queue .change summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--w95); }
.queue .areas { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; line-height: 18px; }
.queue .areas li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.queue .areas li.mine { background: rgba(255, 232, 49, .16); }
.queue .areas .a-count { font-variant-numeric: tabular-nums; color: var(--w95); }
.queue .areas .a-state { font-size: 12px; color: var(--w65); white-space: nowrap; }
.queue .areas .a-state.open { color: var(--green-pale); font-weight: 600; }
@media (max-width: 380px) { .focus-picker { grid-template-columns: 1fr; } }

/* ---- 19 Nov, Laura's review: compact focus tags (the app's member tags), question cards side by side, earn tabs ---- */
.focus-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.ftag { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font: 600 12px/16px var(--font-text); }
.ftag:hover { background: rgba(255, 255, 255, .26); }
.ftag.mine { border: 2px solid var(--gold); background: rgba(255, 232, 49, .2); cursor: default; }
.ftag:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ftag[disabled]:not(.mine) { opacity: .6; }
.f-emoji { font-size: 14px; }
.q-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--w40) transparent; margin-top: 10px; align-items: start; padding-bottom: 6px; }
.q-track .poll { scroll-snap-align: start; margin-top: 0; align-content: start; }
.q-hint { margin-top: 4px; text-align: right; }
.poll .q { font-size: 15px; line-height: 21px; }
.options.pick, .options.multi { display: flex; flex-wrap: wrap; gap: 8px; }
.option.chip { display: inline-flex; padding: 0 12px; min-height: 30px; align-items: center; border-radius: 999px; border-width: 1px; font-size: 13px; }
.option.chip.on { border: 2px solid var(--gold); background: rgba(255, 232, 49, .2); }
.option.rank-row { grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; cursor: grab; }
.option.rank-row.dragging { opacity: .5; }
.o-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--olive); font-weight: 700; font-size: 12px; }
.o-body { display: grid; gap: 1px; min-width: 0; }
.option .o-label { font-size: 14px; display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.option .o-detail { font-size: 12px; line-height: 16px; }
.o-tag { padding: 1px 8px; border-radius: 999px; font-size: 11px; line-height: 14px; font-weight: 600; background: rgba(254, 255, 182, .22); border: 1px solid rgba(254, 255, 182, .8); }
.o-tag.premium { background: rgba(255, 101, 178, .3); border-color: rgba(255, 101, 178, .85); }
.o-move { display: grid; gap: 2px; }
.o-move button { width: 26px; height: 20px; border-radius: 6px; border: 1px solid var(--w40); background: rgba(255, 255, 255, .1); color: #fff; font-size: 10px; cursor: pointer; }
.o-move button[disabled] { opacity: .35; cursor: default; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 10px; }
.seg button { flex: 1 1 150px; display: grid; gap: 4px; justify-items: start; text-align: left; padding: 12px 14px; border-radius: 13px; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.seg button[aria-selected="true"] { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .18); }
.seg-tag { padding: 2px 8px; border-radius: 999px; font: 600 11px/14px var(--font-text); background: rgba(255, 101, 178, .3); border: 1px solid rgba(255, 101, 178, .85); }
.seg-tag.app { background: rgba(254, 255, 182, .22); border-color: rgba(254, 255, 182, .8); }
.seg-name { font: 600 16px/22px var(--font-head); }
.seg-n { font-size: 12px; color: var(--w82); }
.earn-list { gap: 4px; }
.earn-list li { padding: 7px 10px; border-radius: 12px; }
.earn-row { grid-template-columns: 1fr auto auto; gap: 8px; }
.earn-list .t { font-size: 14px; }
.earn-list .d { font-size: 12px; line-height: 16px; }
.earn-go { margin: 0; }
.earn-row .btn-sm { min-height: 28px; padding: 0 12px; font-size: 12px; white-space: nowrap; }
.pts { min-width: 44px; padding: 3px 8px; font-size: 13px; }
.ask-h3 { font: 600 14px/20px var(--font-head); margin: 12px 0 4px; }
.ask-earn li { margin-bottom: 4px; }
.ask-earn strong { color: var(--blue-ink); }
/* The photo is 800 x 1,200: shown sharp, without the extra blur. */
.backdrop::before { inset: 0; filter: saturate(1.05); }
.btn-link { background: none; border: 0; padding: 4px 0; margin-top: 6px; font: inherit; font-size: 13px; font-weight: 600; color: var(--w95); text-decoration: underline; cursor: pointer; }
.btn-link:disabled { opacity: .5; cursor: default; }
.queue .consent { margin-top: 8px; }

.o-other { flex: 1 1 100%; width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--w40); background: rgba(255, 255, 255, .14); color: #fff; }
.o-other::placeholder { color: var(--w65); }
.o-other:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.o-other-said { flex: 1 1 100%; }
