/* 304.franklywv.com — styles. Single deliberate look: Frankly WV synthwave night. */
:root {
  color-scheme: dark;
  --night: #0e0b2b;
  --night-2: #1a1550;
  --night-3: #251e6b;
  --ridge: #2c44c4;
  --ridge-dark: #1b2a86;
  --sun-1: #ffd23f;
  --sun-2: #ff8a1f;
  --sun-3: #ff3b5c;
  --magenta: #e8239f;
  --chrome: #fff3d6;
  --muted: #b3acdf;
  --line: rgba(179, 172, 223, .22);
  --ink: #0a0820;
  --sunset: linear-gradient(180deg, var(--sun-1) 0%, var(--sun-2) 45%, var(--sun-3) 75%, var(--magenta) 100%);
  --f-display: "Bungee", "Arial Black", Impact, sans-serif;
  --f-script: "Kaushan Script", "Brush Script MT", cursive;
  --f-body: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { background: var(--night); color: var(--chrome); }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  padding-inline: 16px;
  padding-block: 0 calc(96px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(232, 35, 159, .28), transparent 60%),
    var(--night);
  min-height: 100%;
}
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun-1); outline-offset: 2px; border-radius: 6px; }

/* ---------- result screen (what the visitor sees) ---------- */
.phone { display: grid; gap: 18px; min-width: 0; }
.eyebrow { font-family: var(--f-cond); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.hero {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, var(--night-3), var(--night));
  border: 1px solid var(--line);
}
.hero .scene { display: block; width: 100%; height: auto; aspect-ratio: 360 / 220; }
.hero-body { padding: 4px 18px 20px; display: grid; gap: 8px; position: relative; }
.youare { font-family: var(--f-cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--sun-1); }
.typename {
  font-family: var(--f-script); font-weight: 400; font-size: clamp(34px, 9vw, 44px); line-height: 1.05; margin: 0;
  background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 var(--ink));
  text-wrap: balance;
}
.where { font-family: var(--f-cond); font-size: 17px; font-weight: 600; color: var(--chrome); }
.tagline { margin: 0; font-size: 17px; font-weight: 500; text-wrap: pretty; }

.scorebox {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: var(--radius);
  background: var(--night-2); border: 1px solid var(--line);
  position: relative;
}
.score { font-family: var(--f-display); line-height: .9; display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.score b { font-weight: 400; font-size: 64px; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score small { font-size: 20px; color: var(--muted); }
.band { display: grid; gap: 2px; min-width: 0; }
.band strong { font-family: var(--f-display); font-weight: 400; font-size: 15px; letter-spacing: .02em; }
.band span { font-size: 14px; color: var(--muted); }
.meter { grid-column: 1 / -1; height: 10px; border-radius: 99px; background: var(--night); border: 1px solid var(--line); overflow: hidden; position: relative; }
.meter i { position: absolute; inset: 0 auto 0 0; background: var(--sunset); background: linear-gradient(90deg, var(--magenta), var(--sun-3), var(--sun-2), var(--sun-1)); border-radius: 99px; transition: width .6s ease; }
.meter em { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--chrome); left: calc(250 / 304 * 100%); }
.meter-legend { grid-column: 1 / -1; display: flex; justify-content: space-between; font-family: var(--f-cond); font-size: 12px; color: var(--muted); letter-spacing: .06em; margin-top: -8px; }

.stamp {
  position: absolute; right: 12px; top: -18px;
  font-family: var(--f-display); font-size: 12px; line-height: 1.1; text-align: center;
  color: var(--ink); background: var(--sun-1);
  padding: 8px 10px; border-radius: 6px; transform: rotate(6deg);
  box-shadow: 0 3px 0 var(--ink), 0 0 0 2px var(--ink);
}
.stamp.slam { animation: slam .45s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes slam { from { transform: rotate(6deg) scale(2.2); opacity: 0; } to { transform: rotate(6deg) scale(1); opacity: 1; } }

.qchips { display: flex; flex-wrap: wrap; gap: 8px; }
.qchip {
  display: inline-flex; gap: 6px; align-items: baseline;
  padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--night-2);
  font-size: 14px;
}
.qchip b { font-family: var(--f-display); font-weight: 400; font-size: 13px; color: var(--sun-1); }

.block { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line); }
.block h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 16px; letter-spacing: .02em; text-wrap: balance; }
.block p { margin: 0; }
.roast { font-size: 16px; }
.facts { display: grid; gap: 8px; margin: 0; }
.facts div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
.facts dt { font-family: var(--f-cond); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; }
.callback { border-left: 3px solid var(--magenta); padding-left: 12px; font-style: italic; color: var(--chrome); }
.callback-label { font-style: normal; font-family: var(--f-cond); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--magenta); display: block; margin-bottom: 2px; }

.sample { font-family: var(--f-cond); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--muted); border-radius: 4px; padding: 1px 6px; vertical-align: 2px; font-weight: 700; }

.board { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 46px; gap: 10px; align-items: center; font-variant-numeric: tabular-nums; }
.row span:first-child { font-family: var(--f-cond); font-weight: 600; font-size: 15px; }
.row .bar { height: 12px; background: var(--night); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.row .bar i { display: block; height: 100%; background: var(--ridge); border-radius: 99px; }
.row.you .bar i { background: linear-gradient(90deg, var(--sun-3), var(--sun-1)); }
.row.you span:first-child { color: var(--sun-1); }
.row span:last-child { text-align: right; font-family: var(--f-display); font-size: 13px; }
.board-note { font-size: 14px; color: var(--muted); }

.locked { display: grid; gap: 10px; }
.progress { height: 12px; border-radius: 99px; background: var(--night); border: 1px dashed var(--muted); overflow: hidden; }
.progress i { display: block; height: 100%; background: repeating-linear-gradient(135deg, var(--magenta) 0 8px, var(--sun-3) 8px 16px); }
.q { display: grid; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.q:first-of-type { border-top: 0; padding-top: 0; }
.q p { font-weight: 600; }
.split { display: grid; grid-template-columns: 78px minmax(0, 1fr) 40px; gap: 8px; align-items: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.split .bar { height: 10px; background: var(--night); border-radius: 99px; overflow: hidden; }
.split .bar i { display: block; height: 100%; }
.split.lifer .bar i { background: var(--sun-2); }
.split.trans .bar i { background: var(--ridge); }
.split span:last-child { text-align: right; font-family: var(--f-display); font-size: 12px; }

.optin { display: grid; gap: 10px; }
.optin .soon { font-family: var(--f-display); font-size: 12px; color: var(--ink); background: var(--sun-1); padding: 2px 8px; border-radius: 4px; justify-self: start; }

/* 9:16 story card, drawn at any width with container units (exports to 1080x1920) */
.story-wrap { width: 100%; max-width: 300px; }
.story {
  container-type: inline-size;
  aspect-ratio: 9 / 16; width: 100%; max-width: 100%;
  border-radius: 18px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #120d3d 0%, #24125a 45%, #3a1460 100%);
  box-shadow: 0 0 0 2px var(--ink), 0 18px 40px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column;
}
.st-top { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 4cqw 6cqw 0; }
.st-top img { width: 19cqw; height: auto; }
.st-q { font-family: var(--f-display); font-size: 4.6cqw; line-height: 1.05; text-align: right; color: var(--chrome); }
.st-q span { display: block; color: var(--sun-1); }
.st-scene { flex: none; width: 66%; max-width: 100%; aspect-ratio: 360 / 220; height: auto; display: block; margin: 2cqw auto 0; border-radius: 3cqw; }
.st-main { flex: 1 1 auto; min-height: 0; padding: 3cqw 7cqw 0; display: grid; align-content: safe center; gap: 1.4cqw; text-align: center; overflow: hidden; }
.st-im { font-family: var(--f-cond); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 4cqw; color: var(--sun-1); }
.st-type { font-family: var(--f-script); font-size: 9.4cqw; line-height: 1.02; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 .8cqw 0 var(--ink)); text-wrap: balance; }
.st-where { font-family: var(--f-cond); font-weight: 600; font-size: 5cqw; }
.st-score { font-family: var(--f-display); font-size: 14cqw; line-height: .95; }
.st-score b { font-weight: 400; background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-score small { font-size: 6cqw; color: var(--muted); }
.st-band { font-family: var(--f-display); font-size: 4.2cqw; }
.st-area { justify-self: center; font-family: var(--f-cond); font-weight: 700; font-size: 3.9cqw; letter-spacing: .06em; text-transform: uppercase; border: .5cqw solid var(--muted); border-radius: 99px; padding: .6cqw 3cqw; color: var(--chrome); margin-top: 1cqw; }
.st-area b { font-family: var(--f-display); font-weight: 400; color: var(--sun-1); }
.st-stamp { justify-self: center; font-family: var(--f-display); font-size: 4cqw; color: var(--ink); background: var(--sun-1); padding: 1.2cqw 3cqw; border-radius: 1.4cqw; transform: rotate(-4deg); box-shadow: 0 0 0 .7cqw var(--ink), 0 1.2cqw 0 var(--ink); margin-top: 1cqw; }
.st-line { font-size: 3.9cqw; font-weight: 600; line-height: 1.3; margin-top: 1cqw; text-wrap: balance; }
.st-foot { flex: none; padding: 3cqw 6cqw 5cqw; text-align: center; display: grid; gap: 1cqw; background: rgba(10, 8, 32, .55); }
.st-foot b { font-family: var(--f-display); font-weight: 400; font-size: 6.2cqw; color: var(--sun-1); }
.st-foot span { font-size: 3.8cqw; color: var(--muted); }


/* ---------- buttons and toast ---------- */
.qbtn {
  min-height: 48px; border-radius: 12px; border: 2px solid var(--ink); cursor: pointer;
  font-family: var(--f-display); font-size: 14px; letter-spacing: .02em; font-weight: 400;
  background: var(--night-3); color: var(--chrome); box-shadow: 0 3px 0 var(--ink);
}
.qbtn.primary { background: var(--sunset); background: linear-gradient(180deg, var(--sun-1), var(--sun-2) 60%, var(--sun-3)); color: var(--ink); }
.qbtn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }

.qtoast {
  position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--chrome); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14px;
  z-index: 20; max-width: calc(100vw - 32px);
}


/* ---------- app shell ---------- */
html, body { height: 100%; }
body { padding-block: 0; }
#app { max-width: 480px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; }
.muted { color: var(--muted); font-size: 15px; margin: 0; }
.review {
  max-width: 480px; margin: 10px auto 0; font-family: var(--f-cond); font-size: 13px; letter-spacing: .06em;
  color: var(--muted); border: 1px dashed var(--line); border-radius: 10px; padding: 6px 10px; text-align: center;
}
.review b { color: var(--sun-1); font-weight: 600; }

/* top bar: back, progress, count */
.qbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding-block: 12px; background: var(--night);
}
.back { background: none; border: 0; color: var(--muted); font-family: var(--f-cond); font-weight: 600; font-size: 15px; letter-spacing: .04em; min-height: 44px; padding: 0 6px 0 0; cursor: pointer; }
.back[hidden] { display: block !important; visibility: hidden; }
.qprog { height: 10px; border-radius: 99px; background: var(--night-2); border: 1px solid var(--line); overflow: hidden; }
.qprog i { display: block; height: 100%; background: linear-gradient(90deg, var(--magenta), var(--sun-3), var(--sun-2), var(--sun-1)); border-radius: 99px; transition: width .35s ease; }
.qcount { font-family: var(--f-display); font-size: 14px; font-variant-numeric: tabular-nums; }
.qcount small { color: var(--muted); font-size: 12px; }

/* question screen */
.qwrap { display: grid; gap: 12px; padding-bottom: calc(var(--bar-h, 80px) + 16px); }
/* slim header card: scene strip + question in one box */
.qhead { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--night-2); }
.qstrip { display: block; width: 100%; max-width: 100%; height: clamp(92px, 26vw, 116px); }
.qtag {
  position: absolute; top: 10px; left: 10px; max-width: calc(100% - 20px);
  font-family: var(--f-cond); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: var(--sun-1); padding: 3px 8px; border-radius: 5px; box-shadow: 0 2px 0 var(--ink);
}
.qhead .qtitle { padding: 12px 16px 14px; border-top: 2px solid var(--ink); }
.qscene { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 360 / 220; border-radius: 18px; border: 1px solid var(--line); }
.qeyebrow { margin: 0; font-family: var(--f-cond); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--magenta); }
.qtitle { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(20px, 5.6vw, 25px); line-height: 1.2; text-wrap: balance; outline: none; }
.opts { display: grid; gap: 10px; }
.opt {
  text-align: left; cursor: pointer; min-height: 56px; padding: 12px 16px;
  border-radius: 14px; border: 2px solid var(--line); background: var(--night-2); color: var(--chrome);
  font-family: var(--f-body); font-weight: 600; font-size: 17px; line-height: 1.3;
  transition: border-color .15s, background .15s, transform .1s;
}
.opt:hover { border-color: var(--muted); }
.opt:active { transform: scale(.985); }
.opt.on { border-color: var(--sun-1); background: var(--night-3); box-shadow: inset 0 0 0 1px var(--sun-1); }
.opts:has(.on) .opt:not(.on) { opacity: .62; }
.opt { scroll-margin-top: 72px; scroll-margin-bottom: calc(var(--bar-h, 80px) + 12px); }
/* Frankly's reaction rides in the bottom bar, right above Next, so it is never covered */
.reaction:empty { display: none; }
.bubble { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--chrome); color: var(--ink); position: relative; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: var(--chrome); transform: translateX(-50%) rotate(45deg); }
.bubble img { width: 36px; height: 36px; }
.bubble p { margin: 0; font-size: 15.5px; font-weight: 500; line-height: 1.35; }
.bubble b { font-family: var(--f-cond); font-weight: 700; letter-spacing: .04em; }
.bubble.pop { animation: pop .28s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop { from { transform: translateY(8px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* interstitials */
.inter { padding-top: 0; }
.inter-label { margin: 0; justify-self: start; font-family: var(--f-display); font-size: 12px; color: var(--ink); background: var(--sun-1); padding: 3px 8px; border-radius: 5px; transform: rotate(-2deg); }
.inter-body { margin: 0; font-size: 18px; text-wrap: pretty; }

/* intro */
.intro { display: grid; gap: 14px; justify-items: center; text-align: center; padding-top: 20px; padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.intro-logo { width: 150px; height: auto; }
.intro-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 11vw, 48px); line-height: 1; text-wrap: balance; outline: none; }
.intro-title span { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-sub { margin: 0; font-size: 18px; max-width: 34ch; }
.intro-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; text-align: left; justify-self: stretch; }
.intro-points li { padding: 10px 14px; border-radius: 12px; background: var(--night-2); border: 1px solid var(--line); font-size: 15px; }
.intro-points b { color: var(--sun-1); font-weight: 700; }

/* bottom action bar: fixed, clears the phone home bar */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 11, 43, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
}
.actionbar-in { max-width: 480px; margin: 0 auto; display: grid; gap: 12px; }
.actionbar-in.three { grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.qbtn.wide { width: 100%; }
.qbtn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: 0 3px 0 var(--ink); }
.qbtn.ghost { background: transparent; border-color: var(--line); box-shadow: none; color: var(--muted); }
.qbtn.small { min-height: 40px; padding: 0 14px; font-size: 13px; }

/* result */
.result { display: grid; gap: 18px; padding-top: 16px; padding-bottom: calc(var(--bar-h, 80px) + 24px); }
.hero .qscene { border: 0; border-radius: 0; }
.typename { outline: none; }

/* share sheet */
.sheet { position: fixed; inset: 0; z-index: 30; background: rgba(5, 4, 18, .82); display: grid; place-items: end center; padding: 16px; }
.sheet-in {
  width: min(380px, 100%); max-height: calc(100% - env(safe-area-inset-top, 0px)); overflow: auto;
  background: var(--night-2); border: 1px solid var(--line); border-radius: 20px;
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 12px; justify-items: center;
}
.sheet-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sheet-head h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 17px; }
.sheet .story-wrap { max-width: 280px; }
.sheet-note { text-align: center; font-size: 14px; }
@media (min-height: 760px) { .sheet { place-items: center; } }

@media (prefers-reduced-motion: reduce) {
  .stamp.slam { animation: none; }
  .meter i, .qprog i { transition: none; }
  .bubble.pop { animation: none; }
}

.scorebox:has(.stamp:not([hidden])) .band { padding-top: 16px; }

/* links back to franklywv.com */
.homelink { margin: 0; font-size: 15px; color: var(--muted); }
.homelink a { color: var(--sun-1); font-weight: 600; text-underline-offset: 3px; }
.porch { border-color: var(--sun-2); }
.linkbtn { text-decoration: none; }

/* ---------- living inside franklywv.com ---------- */
html { scroll-behavior: auto; }                  /* porch sets smooth; questions should jump */
.qbtn { display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; text-align: center; text-decoration: none; }
.qbtn.primary, .qbtn.primary:hover { color: var(--ink); }
.qbtn:hover { color: var(--chrome); }
.toast { bottom: calc(var(--bar-h, 80px) + 14px); pointer-events: none; }  /* porch toast clears our bottom bar */
.qtoast {
  position: fixed; left: 50%; bottom: calc(var(--bar-h, 80px) + 14px); transform: translateX(-50%);
  background: var(--chrome); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14px;
  z-index: 40; max-width: calc(100vw - 32px);
}

/* porch header: slim, scrolls away so questions get the room */
.qsite.site-header { position: static; }
.qsite .qsite-in { max-width: 480px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qsite .brand { text-decoration: none; display: flex; align-items: baseline; gap: 5px; font-family: "Big Shoulders Display", var(--f-display); font-weight: 900; font-size: 24px; color: #EDE6D6; }
.qsite .brand span { color: #E8A33D; }
.qsite .qsite-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.qsite .porch-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.qsite .porch-count i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7FC97A; margin-right: 6px; }
.qsite [data-header-me] { min-width: 0; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qsite [data-header-me] .btn { min-height: 38px; padding: 0 12px; font-size: 14px; white-space: nowrap; }
@media (max-width: 420px) { .qsite .porch-count { display: none; } }

.whoami { margin: 0; font-size: 15px; color: var(--chrome); max-width: 36ch; }
.whoami:empty { display: none; }
.whoami b { color: var(--sun-1); }
.savebox { border-color: var(--sun-1); }
.save-line { margin: 0; font-size: 15px; }
.save-line.ok b { color: var(--sun-1); }
.porch-links { display: grid; grid-template-columns: 1fr; gap: 10px; }

/* ---------- Phase 4: live numbers ---------- */
.livecount { margin: 0; font-size: 16px; color: var(--chrome); max-width: 36ch; }
.livecount:empty { display: none; }
.livecount b { font-family: var(--f-display); font-weight: 400; color: var(--sun-1); }
.bubble .live { display: block; margin-top: 4px; font-family: var(--f-cond); font-weight: 700; font-size: 15px; letter-spacing: .02em; color: #8a2a2a; }
.qchip.founding { border-color: var(--sun-1); }
.qchip.founding b { color: var(--sun-1); }
.small { font-size: 14px; }

/* county board */
#r-board .board { display: grid; gap: 12px; }
.brow { display: grid; grid-template-columns: 84px minmax(0, 1fr) 40px; gap: 4px 10px; align-items: center; font-variant-numeric: tabular-nums; }
.brow .bname { font-family: var(--f-cond); font-weight: 700; font-size: 16px; }
.brow .bbar { height: 12px; background: var(--night); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.brow .bbar i { display: block; height: 100%; background: var(--ridge); border-radius: 99px; }
.brow .bval { text-align: right; font-family: var(--f-display); font-size: 14px; }
.brow .bsub { grid-column: 2 / -1; font-size: 13px; color: var(--muted); }
.brow.you .bname { color: var(--sun-1); }
.brow.you .bbar i { background: linear-gradient(90deg, var(--sun-3), var(--sun-1)); }
.brow.warm .bsub { grid-column: 2 / -1; }
#r-board .board-note { margin: 12px 0 4px; font-size: 15px; font-weight: 600; }

/* neighbors */
#r-nb { display: grid; gap: 14px; }
#r-nb .locked { display: grid; gap: 8px; }
#r-nb .locked p { margin: 0; }
#r-nb .progress { height: 12px; border-radius: 99px; background: var(--night); border: 1px dashed var(--muted); overflow: hidden; }
#r-nb .progress i { display: block; height: 100%; background: repeating-linear-gradient(135deg, var(--magenta) 0 8px, var(--sun-3) 8px 16px); }
.nbq { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.nbq-t { margin: 0 0 2px; font-weight: 700; font-size: 16px; }
.nrow { display: grid; grid-template-columns: minmax(0, 1fr) 38px; grid-template-areas: "label pct" "bar bar"; gap: 3px 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.nrow .nlabel { grid-area: label; min-width: 0; }
.nrow .nlabel em { font-style: normal; font-family: var(--f-cond); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--sun-1); border-radius: 4px; padding: 0 5px; margin-left: 4px; }
.nrow .nbar { grid-area: bar; height: 8px; background: var(--night); border-radius: 99px; overflow: hidden; }
.nrow .nbar i { display: block; height: 100%; background: var(--ridge); border-radius: 99px; }
.nrow .npct { grid-area: pct; text-align: right; font-family: var(--f-display); font-size: 12px; }
.nrow.you .nbar i { background: linear-gradient(90deg, var(--sun-3), var(--sun-1)); }
.nrow.you .nlabel { font-weight: 700; }
.nsplit { margin: 4px 0 0; font-size: 14px; }
.nsplit b { color: var(--sun-1); font-weight: 700; }
