/* GIVEMAS, app-shell edition: white, near-black type, Christmas red as the accent.
   Sidebar on the left, search on top, soft bordered cards. Inter Tight for headings, Inter for text, JetBrains Mono for numbers. */
:root {
  --bg: #ffffff;
  --panel: #fafafa;
  --panel-2: #f3f3f4;
  --line: #ececee;
  --line-2: #dedee2;
  --ink: #0b0b0c;
  --ink-2: #3a3a40;
  --muted: #6b6b73;
  --faint: #a0a0a8;
  --accent: #d3171f;
  --accent-2: #a90f16;
  --accent-soft: #fdecec;
  --gold: #e3a92b;
  --xmas: #d3171f;
  /* names the page scripts still use */
  --brand: var(--accent); --red: var(--accent); --green: var(--accent); --cream: #fff; --cream-2: var(--panel-2); --paper: #fff;
  --side: 232px;
  --head: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(11, 11, 12, 0.04), 0 8px 24px rgba(11, 11, 12, 0.05);
  --shadow-2: 0 12px 40px rgba(11, 11, 12, 0.14);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; padding-left: var(--side); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.hide { display: none !important; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { font-family: var(--head); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 13px; }
.green { color: var(--accent); font-weight: 600; }
.link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.link:hover { text-decoration-color: currentColor; }
.label { font: 500 13px/1.2 var(--sans); color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--xmas); flex-shrink: 0; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(211, 23, 31, 0.45); } 70% { box-shadow: 0 0 0 7px rgba(211, 23, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(211, 23, 31, 0); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 600 14px var(--sans); white-space: nowrap; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(11, 11, 12, 0.2); }
.btn.big { height: 50px; padding: 0 26px; font-size: 15px; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--panel); box-shadow: inset 0 0 0 1px var(--ink); }
.btn[aria-disabled="true"] { pointer-events: none; opacity: 0.9; }

/* ---------- shell: sidebar + top bar ---------- */
.notice { background: var(--accent); color: #fff; text-align: center; font-weight: 600; font-size: 13.5px; padding: 8px 16px; }
.demo-bar { background: #fff7e0; color: #5c4300; text-align: center; font-size: 13px; padding: 7px 16px; border-bottom: 1px solid #f1e1ab; }
.side { position: fixed; left: 0; top: 0; bottom: 0; width: var(--side); z-index: 60; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px 12px 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px/1 var(--head); letter-spacing: -0.03em; padding: 4px 10px 22px; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.nav { display: flex; flex-direction: column; gap: 3px; }
.nav a { position: relative; display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 12px; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background 0.15s, color 0.15s; }
.nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav a:hover { background: var(--panel); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--panel-2); color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--accent); }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 10px 0; border-top: 1px solid var(--line); }
.side-foot img { width: 34px; height: 34px; object-fit: contain; border-radius: 50%; background: var(--panel); padding: 4px; }
.side-foot b { display: block; font: 600 13.5px/1.2 var(--sans); } .side-foot span { font-size: 12px; color: var(--muted); }
.side-foot a { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink-2); }
.side-foot a:hover { background: var(--panel-2); } .side-foot a svg { width: 15px; height: 15px; }
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-row { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px; }
.hdr-brand { display: none; }
.top-search { flex: 1; display: flex; justify-content: center; }
.top-search form { position: relative; width: min(440px, 100%); }
.top-search svg { position: absolute; left: 15px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.top-search input { width: 100%; height: 38px; padding: 0 16px 0 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font: inherit; font-size: 14px; outline: none; color: var(--ink); }
.top-search input:focus { border-color: var(--ink); background: #fff; }
.hdr-right { display: flex; align-items: center; gap: 8px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 500 12.5px var(--mono); transition: border-color 0.15s; }
.chip-btn:hover { border-color: var(--ink); } .chip-btn svg { width: 14px; height: 14px; }
.hdr .btn { height: 36px; padding: 0 16px; font-size: 13.5px; }
.menu-btn { display: none; width: 38px; height: 38px; border: 0; background: transparent; align-items: center; justify-content: center; }
.scrim { display: none; }

/* ---------- home: hero ---------- */
.hero { position: relative; text-align: center; padding: 56px 0 26px; overflow: hidden; }
.snow { position: absolute; inset: 0; pointer-events: none; }
.snow i { position: absolute; top: -10px; border-radius: 50%; background: #d9dbe0; opacity: 0.7; animation: fall linear infinite; }
@keyframes fall { to { transform: translate3d(30px, 720px, 0); opacity: 0; } }
.status { position: relative; display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 15px 0 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink-2); box-shadow: 0 1px 2px rgba(11, 11, 12, 0.04); }
.hero h1 { position: relative; font-size: clamp(38px, 5.6vw, 68px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; max-width: 15ch; margin: 22px auto 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { position: relative; font-size: 16.5px; color: var(--muted); max-width: 560px; margin: 0 auto; }
.cta { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.ca-bar { position: relative; display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin: 22px auto 0; padding: 7px 7px 7px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); text-align: left; transition: border-color 0.15s; }
.ca-bar:hover { border-color: var(--ink); }
.ca-k { font: 600 11px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.ca-v { min-width: 0; font: 500 clamp(12.5px, 1.35vw, 15.5px)/1.3 var(--mono); word-break: break-all; user-select: all; }
.ca-copy { flex-shrink: 0; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 12.5px var(--sans); }
.ca-bar.off { cursor: default; } .ca-bar.off .ca-copy { display: none; } .ca-bar.off { padding-right: 18px; }

/* the strip of charities sliding by */
.strip { position: relative; margin: 44px 0 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.strip-track { display: flex; gap: 14px; width: max-content; padding: 14px 0 22px; animation: slide 70s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.strip a { position: relative; flex-shrink: 0; width: 132px; height: 132px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(11, 11, 12, 0.08); display: grid; place-items: center; overflow: hidden; transition: transform 0.25s; }
.strip a:nth-child(odd) { transform: rotate(-2.5deg) translateY(4px); } .strip a:nth-child(even) { transform: rotate(2deg); }
.strip a:hover { transform: rotate(0) scale(1.06); z-index: 2; }
.strip img { width: 74%; height: 74%; object-fit: contain; }
.strip b { font: 700 26px var(--head); color: var(--faint); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 34px 0 30px; text-align: center; }
.stats b { display: block; font: 600 clamp(26px, 3.2vw, 38px)/1.1 var(--head); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stats span { font-size: 13.5px; color: var(--muted); }

/* ---------- cards ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bx { grid-column: span 2; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; min-width: 0; }
.bx.w3 { grid-column: span 3; } .bx.w4 { grid-column: span 4; }
.bx-body { padding: 20px 22px 12px; flex: 1; min-width: 0; }
.bx-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.bx-top .label { font-size: 13.5px; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--panel-2); font: 500 11.5px var(--sans); color: var(--ink-2); white-space: nowrap; }
.bx-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px 18px; font: 600 15px var(--head); letter-spacing: -0.01em; }
.bx-foot > span:last-child { display: inline-flex; align-items: center; gap: 9px; font: 500 13.5px var(--sans); color: var(--muted); }
.bx-foot i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font-style: normal; color: var(--ink); transition: transform 0.2s, background 0.2s, color 0.2s; }
a.bx-foot:hover i { background: var(--ink); color: #fff; transform: translateX(3px); }
.big-num { font: 600 clamp(34px, 4vw, 46px)/1.05 var(--head); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.mini { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 12px; }
.mini span { display: block; font-size: 12.5px; color: var(--muted); } .mini b { font: 600 14px var(--sans); font-variant-numeric: tabular-nums; }
.spark { display: block; width: calc(100% + 44px); margin: 14px -22px -12px; height: 84px; }
.spark path.l { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark path.a { fill: var(--accent); opacity: 0.08; }

.now-who { display: flex; gap: 14px; align-items: center; margin-top: 4px; }
.now-who h3 { font-size: 22px; line-height: 1.12; }
.now-who p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.now-mission { margin-top: 14px; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.now-row { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-top: 16px; }
.now-row .clock { font: 600 26px/1 var(--mono); }
.bar { height: 6px; border-radius: 99px; background: var(--panel-2); overflow: hidden; margin-top: 12px; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--accent); transition: width 0.5s linear; }

.pick { display: flex; flex-direction: column; gap: 2px; margin: 6px -8px 0; }
.pick a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; transition: background 0.12s; }
.pick a:hover, .pick a.on { background: var(--panel-2); }
.pick b { display: block; font: 600 14px/1.25 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick em { font: 500 12px var(--mono); font-style: normal; color: var(--muted); }
.facts { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.facts div { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; }
.facts i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-style: normal; font-size: 16px; }
.facts div:nth-child(2) i { background: var(--accent); color: #fff; }
.facts b { display: block; font: 600 14px/1.25 var(--sans); } .facts span { font-size: 12.5px; color: var(--muted); }
.groups { display: flex; flex-direction: column; gap: 2px; margin: 4px -8px 0; }
.groups a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 8px; border-radius: 12px; font-weight: 500; font-size: 14px; }
.groups a:hover { background: var(--panel-2); } .groups em { font: 500 12px var(--mono); font-style: normal; color: var(--muted); }

.sec { padding: 46px 0 0; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sec-head h2 { font-size: 24px; }
.sec-head p { flex-basis: 100%; color: var(--muted); font-size: 14px; max-width: 640px; }
.view { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 12.5px var(--sans); color: var(--ink-2); }
.view:hover { border-color: var(--ink); color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.token { padding: 22px; }
.token-top { display: flex; align-items: center; gap: 14px; }
.token-top img { width: 56px; height: 56px; object-fit: contain; border-radius: 50%; background: #fff; border: 1px solid var(--line); padding: 7px; }
.token dl { margin: 18px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px 14px; font-size: 13.5px; }
.token dt { color: var(--muted); } .token dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.token .btn { width: 100%; margin-top: 18px; }
.empty-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.empty-card .art { background: var(--accent-soft); display: grid; place-items: center; padding: 26px; }
.empty-card .art img { width: 110px; }
.empty-card div.t { padding: 28px; } .empty-card h3 { font-size: 20px; margin-bottom: 8px; } .empty-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

/* logos */
.logo, .ccoin { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); overflow: hidden; flex-shrink: 0; }
.logo b, .ccoin b { font: 700 12px var(--head); color: var(--muted); letter-spacing: 0; }
.logo img, .ccoin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 5px; }
.logo.l, .ccoin.l { width: 58px; height: 58px; } .logo.l b, .ccoin.l b { font-size: 16px; }
.logo.xl { width: 96px; height: 96px; border-radius: 26px; } .logo.xl b { font-size: 26px; } .logo.xl img { padding: 10px; }

/* the wall */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 500; font-size: 13.5px; color: var(--ink-2); transition: all 0.15s; }
.pill small { font: 500 11px var(--mono); color: var(--faint); }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; } .pill[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.6); }
.search { height: 38px; min-width: 250px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font: inherit; font-size: 14px; outline: none; background: #fff; color: var(--ink); }
.search:focus { border-color: var(--ink); }
.wall-card { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; padding: 20px; }
.sq { position: relative; aspect-ratio: 1; border-radius: 13px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s; }
.sq b { font: 700 11px var(--head); color: var(--faint); }
.sq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5px; background: #fff; opacity: 0.5; filter: grayscale(0.9); transition: opacity 0.2s, filter 0.2s; }
.sq:hover { transform: scale(1.2); z-index: 2; box-shadow: var(--shadow-2); }
.sq:hover img, .sq.done img, .sq.now img { opacity: 1; filter: none; }
.sq.done { border-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.sq.now { border-color: var(--xmas); box-shadow: 0 0 0 3px rgba(211, 23, 31, 0.18); }
.sq.soon img { opacity: 0.85; filter: none; }
.sq.dim { opacity: 0.14; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid var(--line-2); vertical-align: -2px; margin-right: 6px; }
.legend i.a { border-color: var(--xmas); } .legend i.b { border-color: var(--accent); background: var(--accent); }
.tip { position: fixed; z-index: 70; pointer-events: none; background: var(--ink); color: #fff; padding: 9px 12px; border-radius: 12px; font-size: 13px; max-width: 280px; box-shadow: var(--shadow-2); opacity: 0; transition: opacity 0.12s; }
.tip b { display: block; font-weight: 600; } .tip span { color: rgba(255, 255, 255, 0.7); font-size: 12.5px; }

.ftr { margin-top: 56px; border-top: 1px solid var(--line); padding: 22px 0 28px; font-size: 13px; color: var(--muted); }
.ftr .wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; }
.ftr dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; margin: 0; }
.ftr dt { color: var(--ink-2); } .ftr dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }

/* ---------- inner pages (route, gifts, charity, how) ---------- */
.page-head { padding: 40px 0 24px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.04em; }
.page-head p { margin-top: 12px; max-width: 680px; color: var(--muted); font-size: 16px; }
.page-head p b { color: var(--ink); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card-head h3 { font-size: 17px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { padding: 18px 20px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.tile span { font-size: 13px; color: var(--muted); }
.tile b { display: block; font: 600 30px/1.1 var(--head); letter-spacing: -0.04em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile small { color: var(--faint); font-size: 12px; }
.tile.hot { background: var(--ink); border-color: var(--ink); } .tile.hot b { color: #fff; } .tile.hot span, .tile.hot small { color: rgba(255, 255, 255, 0.7); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--panel-2); font: 500 11.5px var(--sans); color: var(--ink-2); white-space: nowrap; }
.tag.ok { background: var(--accent-soft); color: var(--accent); }
.lrow { display: grid; grid-template-columns: 30px 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 20px; border-top: 1px solid var(--line); transition: background 0.12s; }
.lrow:first-child { border-top: 0; }
a.lrow:hover { background: var(--panel); }
.lrow .n { font: 500 12px var(--mono); color: var(--faint); }
.lrow .who { min-width: 0; }
.lrow .who b { display: block; font: 600 14.5px/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .who span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .end { text-align: right; white-space: nowrap; }
.lrow .end b { display: block; font: 600 14px var(--mono); } .lrow .end small { font-size: 12px; color: var(--faint); }
.lrow.no-n { grid-template-columns: 40px minmax(0, 1fr) auto; }
.empty { padding: 34px 20px; text-align: center; color: var(--muted); }
.table .lrow { grid-template-columns: 56px 40px minmax(0, 1.6fr) minmax(0, 1fr) 110px 110px; }
.table .lrow.head { font: 500 12px var(--sans); color: var(--faint); background: var(--panel); padding-top: 11px; padding-bottom: 11px; }
.table .lrow .c { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.table .lrow .r { text-align: right; font: 500 13px var(--mono); white-space: nowrap; }
.table .lrow .r small { display: block; font: 400 11.5px var(--sans); color: var(--faint); }
.table .lrow.is-now { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.table.gifts .lrow { grid-template-columns: 64px 40px minmax(0, 1.6fr) 110px 110px 110px 96px; }
.more { display: flex; justify-content: center; padding: 16px; border-top: 1px solid var(--line); }
.who-card { padding: 26px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; }
.who-card h1 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 700; letter-spacing: -0.04em; }
.mission { margin: 14px 0; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mission.full { display: block; }
.out-links { display: flex; gap: 8px; flex-wrap: wrap; }
.out { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; font-size: 13px; background: #fff; }
.out:hover { border-color: var(--ink); }
.kv { display: grid; grid-template-columns: 160px minmax(0, 1fr); font-size: 14px; margin: 0; }
.kv dt, .kv dd { padding: 11px 20px; margin: 0; border-top: 1px solid var(--line); }
.kv dt { color: var(--muted); } .kv dd { word-break: break-all; font-family: var(--mono); font-size: 12.5px; }
.kv dt:first-of-type, .kv dd:first-of-type { border-top: 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.step { padding: 22px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px var(--mono); }
.step:nth-child(4)::before { background: var(--accent); }
.step h3 { font-size: 18px; margin: 16px 0 8px; } .step p { color: var(--muted); font-size: 14px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 46px 0 12px; }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; }
.prose p + p { margin-top: 12px; } .prose ul { padding-left: 20px; margin: 12px 0; } .prose li { margin: 6px 0; }
.prose code { font: 500 12.5px var(--mono); background: var(--panel-2); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.callout { padding: 16px 18px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); margin: 16px 0; font-weight: 500; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { font: 600 17px var(--head); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); } .faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

.rv { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .bx, .bx.w3, .bx.w4 { grid-column: span 3; }
  .split, .grid-2, .ftr .wrap { grid-template-columns: 1fr; }
  .tiles, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table .lrow, .table.gifts .lrow { grid-template-columns: 44px 40px minmax(0, 1fr) auto; }
  .table .lrow .hide-m, .table .lrow.head { display: none; }
}
@media (max-width: 860px) {
  body { padding-left: 0; }
  .side { transform: translateX(-102%); transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); width: 264px; box-shadow: var(--shadow-2); }
  body.nav-open .side { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(11, 11, 12, 0.35); }
  .menu-btn { display: inline-flex; }
  .hdr-row { padding: 0 12px; gap: 6px; }
  .hdr-brand { display: block; } .hdr-brand img { width: 30px; height: 30px; object-fit: contain; }
  .top-search { display: none; }
  .hdr-right { margin-left: auto; }
  .chip-btn.ca { display: none; }
  .wrap { padding: 0 16px; }
  .hero { padding: 36px 0 18px; }
  .cta .btn { flex: 1; }
  .ca-bar { display: flex; flex-wrap: wrap; border-radius: 20px; padding: 14px 16px; gap: 8px; }
  .ca-v { flex-basis: 100%; font-size: 14px; }
  .strip a { width: 108px; height: 108px; border-radius: 22px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .bx, .bx.w3, .bx.w4 { grid-column: 1 / -1; }
  .empty-card { grid-template-columns: 1fr; } .empty-card .art { padding: 18px; } .empty-card .art img { width: 72px; }
  .tiles { gap: 10px; } .tile { padding: 14px 16px; } .tile b { font-size: 24px; }
  .steps { grid-template-columns: 1fr; }
  .who-card { grid-template-columns: 1fr; padding: 20px; }
  .kv { grid-template-columns: 116px minmax(0, 1fr); } .kv dt, .kv dd { padding: 11px 14px; }
  .lrow { padding-left: 14px; padding-right: 14px; gap: 10px; }
  .search { min-width: 0; width: 100%; }
}

/* ---- more red: the pieces that carry the brand ---- */
.hero { background: radial-gradient(900px 420px at 50% -8%, rgba(211, 23, 31, 0.13), transparent 70%), radial-gradient(520px 300px at 8% 100%, rgba(211, 23, 31, 0.06), transparent 70%); }
.snow i { background: #f3b9bb; }
.hero h1 em { color: var(--accent); }
.status { border-color: #f6c9cb; background: #fff; }
.btn { background: var(--accent); }
.btn:hover { background: var(--accent-2); box-shadow: 0 8px 18px rgba(211, 23, 31, 0.28); }
.btn.ghost { background: #fff; color: var(--ink); }
.btn.ghost:hover { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent-2); }
.ca-copy { background: var(--accent); }
.ca-bar { border-color: #f6c9cb; background: #fff; }
.ca-bar:hover { border-color: var(--accent); }
.brand { color: var(--accent); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-2); }
.strip a { border-color: #f8d6d7; box-shadow: 0 10px 24px rgba(211, 23, 31, 0.1); }
.stats b { color: var(--accent); }
/* the turn that is running is the red card */
.bx.hot { background: linear-gradient(155deg, #e22a31, #a90f16); border-color: #a90f16; color: #fff; box-shadow: 0 18px 40px rgba(211, 23, 31, 0.28); }
.bx.hot .label, .bx.hot .now-who p { color: rgba(255, 255, 255, 0.8); }
.bx.hot .now-mission { color: rgba(255, 255, 255, 0.92); }
.bx.hot .badge { background: rgba(255, 255, 255, 0.18); color: #fff; }
.bx.hot .badge .dot { background: #fff; animation: none; }
.bx.hot .bar { background: rgba(255, 255, 255, 0.25); } .bx.hot .bar i { background: #fff; }
.bx.hot .bx-foot > span:last-child { color: rgba(255, 255, 255, 0.85); }
.bx.hot .bx-foot i { background: #fff; border-color: #fff; color: var(--accent-2); }
.bx.hot .ccoin { border-color: rgba(255, 255, 255, 0.6); }
a.bx-foot:hover i { background: var(--accent); border-color: var(--accent); color: #fff; }
.bx { background: #fff; }
.bx:not(.hot) { box-shadow: 0 1px 2px rgba(11, 11, 12, 0.03); border-top: 3px solid var(--accent); }
.pick a.on, .pick a:hover, .groups a:hover { background: var(--accent-soft); }
.pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.tile.hot { background: linear-gradient(155deg, #e22a31, #a90f16); border-color: #a90f16; }
.step::before { background: var(--accent); } .step:nth-child(4)::before { background: var(--ink); }
.table .lrow.is-now { background: var(--accent-soft); }
.empty-card .art { background: var(--accent-soft); }
.sq.done { border-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.sq.now { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227, 169, 43, 0.35); }
.legend i.a { border-color: var(--gold); } .legend i.b { border-color: var(--accent); background: var(--accent); }
.token-top img { border-color: #f6c9cb; }
.ftr { border-top: 3px solid var(--accent); }
.link { text-decoration-color: #f1a9ac; } .link:hover { color: var(--accent-2); }
