/* Crimpedia — "Granite Forest" theme. Teal on dark stone.
   Redesign 2026-06: 8pt spacing scale, modular type scale, calmer surfaces,
   one disciplined accent, larger tap targets, mobile bottom navigation. */

:root {
  /* ---- color: dark (default) ---- */
  --bg: #0f1310;
  --bg-2: #151a14;
  --card: #1a2018;
  --card-2: #222a20;
  --line: #2a3227;
  --line-soft: #20271e;
  --text: #eef2ec;
  --muted: #aab4a4;          /* lifted for AA contrast on --card */
  --faint: #7c867680;
  --accent: #3ccb91;
  --accent-2: #2aa978;
  --accent-soft: #3ccb9120;
  --accent-ink: #06130d;     /* text on accent fills */
  --gold: #e9c46a;
  --silver: #c7ccd1;
  --bronze: #cd8e57;
  --boulder: #f0a868;
  --lead: #7bb2f0;
  --danger: #e76f6f;
  --live: #ff5d5d;

  /* ---- spacing scale (8pt) ---- */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;

  /* ---- richer surfaces & accent ramp (rich-but-calm pass) ---- */
  --card-raised: #20271e;      /* tonally lighter for elevated panels */
  --accent-3: #54dba4;         /* lighter accent for gradients/highlights */
  --accent-glow: 0 0 0 1px #3ccb9122, 0 6px 22px -6px #3ccb9155;
  --hairline: inset 0 1px 0 rgba(255,255,255,.05);   /* lit top edge on dark cards */

  /* ---- gradients ---- */
  --grad-accent: linear-gradient(180deg, var(--accent-3), var(--accent) 55%, var(--accent-2));
  --grad-card: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0) 60%);
  --grad-topbar: linear-gradient(180deg, #141a13e8, #0f1310e8);
  --grad-hero: linear-gradient(150deg, #20271e, #161c15 60%, #12160f);

  /* ---- radius / shadow (warm-dark layered elevation) ---- */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 7px;
  --sh-1: 0 1px 2px #0006, 0 2px 5px #00000040;
  --sh-2: 0 2px 6px #00000059, 0 10px 24px #0006;
  --sh-3: 0 12px 32px #000000a6, 0 24px 60px #0009;
  --shadow: var(--sh-2);
  --shadow-sm: var(--sh-1);

  /* ---- type ---- */
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Cochin", Georgia, "Times New Roman", serif;

  /* faint grain (light specks, very low opacity = depth without noise) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

:root.light {
  --bg: #f4f6f2; --bg-2: #eaede6; --card: #ffffff; --card-2: #f3f6f0;
  --card-raised: #ffffff;
  --line: #e0e5db; --line-soft: #eef1ea; --text: #181d18; --muted: #586451;
  --faint: #98a18f; --accent: #1f9c6e; --accent-2: #17855d; --accent-3: #34b483; --accent-soft: #1f9c6e16;
  --accent-ink: #ffffff; --boulder: #c2702f; --lead: #2f6cc0;
  --hairline: inset 0 1px 0 rgba(255,255,255,.6);
  --grad-card: linear-gradient(180deg, rgba(0,0,0,.012), rgba(0,0,0,0) 60%);
  --grad-topbar: linear-gradient(180deg, #ffffffe8, #f4f6f2e8);
  --grad-hero: linear-gradient(150deg, #ffffff, #f3f6f0);
  --accent-glow: 0 0 0 1px #1f9c6e22, 0 6px 20px -8px #1f9c6e44;
  --sh-1: 0 1px 2px #0000000f, 0 2px 6px #00000012;
  --sh-2: 0 2px 8px #00000014, 0 10px 24px #0000001a;
  --sh-3: 0 12px 30px #00000022, 0 24px 50px #00000022;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  line-height: 1.55; -webkit-font-smoothing: antialiased; font-size: 16px;
  padding-bottom: var(--s7);
  background-image: var(--grain), radial-gradient(120% 80% at 50% -5%, #18201688, transparent 60%);
  background-attachment: fixed;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, .wordmark { font-family: var(--font-head); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .35em; letter-spacing: -.005em; }
h1 { font-size: 1.85rem; font-weight: 700; }
h2 { font-size: 1.3rem; font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; }
@media (max-width: 560px) { h1 { font-size: 1.45rem; } }

img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s4); }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.mono { font-variant-numeric: tabular-nums; }

/* ============================================================= top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--grad-topbar);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.03), var(--sh-1);
}
.topbar .wrap { display: flex; align-items: center; gap: var(--s3); height: 60px; }
.brand { display: flex; align-items: center; gap: var(--s2); font-weight: 700;
  letter-spacing: .2px; font-size: 1.3rem; color: var(--text); flex: none; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 28px; height: 28px; }
.brand b { color: var(--accent); }

/* desktop inline nav */
.nav { display: flex; gap: 2px; margin-left: var(--s2); flex: 1; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 9px; font-weight: 600;
  font-size: .92rem; white-space: nowrap; line-height: 1; }
.nav a:hover { color: var(--text); background: var(--card); text-decoration: none; }
.nav a.active { color: var(--accent); background: var(--accent-soft); }

.topbar-tools { display: flex; align-items: center; gap: var(--s2); margin-left: auto; flex: none; }

.iconbtn { background: var(--card); border: 1px solid var(--line); color: var(--text);
  width: 40px; height: 40px; border-radius: 10px; cursor: pointer; font-size: 1.05rem;
  display: grid; place-items: center; flex: none; }
.iconbtn:hover { border-color: var(--accent); }
.iconbtn:active { transform: scale(.94); }
.iconbtn svg { width: 19px; height: 19px; display: block; }
/* icon state-swap driven by <html> classes (no JS glyph swapping) */
#spoiler-toggle .ico-visible { display: none; }
html.spoiler-on #spoiler-toggle .ico-visible { display: none; }
html.spoiler-on #spoiler-toggle .ico-protected { display: block; }
html:not(.spoiler-on) #spoiler-toggle .ico-protected { display: none; }
html:not(.spoiler-on) #spoiler-toggle .ico-visible { display: block; }
#theme-toggle .ico-sun { display: none; }
html.light #theme-toggle .ico-moon { display: none; }
html.light #theme-toggle .ico-sun { display: block; }

/* search: expandable input on the bar */
.searchbox { position: relative; }
.searchbox input { background: var(--card); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 9px 13px; width: 190px; font-size: .9rem; outline: none;
  transition: width .18s, border-color .18s; }
.searchbox input:focus { border-color: var(--accent); width: 230px; }
.search-results { position: absolute; top: 48px; right: 0; width: min(340px, 92vw); max-height: 64vh;
  overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); display: none; padding: var(--s1); }
.search-results.open { display: block; }
.search-results a { display: flex; gap: var(--s2); align-items: center; padding: 10px 12px;
  color: var(--text); border-radius: 8px; }
.search-results a:hover { background: var(--card-2); text-decoration: none; }
.search-results .empty { padding: 14px; }

/* mobile: hide inline nav + collapse search to a trigger icon */
.search-trigger { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .search-trigger { display: grid; }
  .searchbox { position: static; }
  .searchbox input { display: none; }
  .search-results { top: 58px; right: var(--s4); left: var(--s4); width: auto; }
  body.search-open .searchbox {
    position: absolute; top: 58px; left: 0; right: 0; padding: var(--s2) var(--s4);
    background: var(--bg-2); border-bottom: 1px solid var(--line); z-index: 55;
  }
  body.search-open .searchbox input { display: block; width: 100%; }
  body.search-open .search-results { top: 60px; }
}

/* mobile bottom tab bar */
.tabbar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a, .tabbar button {
    flex: 1; background: none; border: 0; color: var(--muted); cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 8px 2px 7px; font-size: .66rem; font-weight: 650; min-height: 56px;
    letter-spacing: .2px;
  }
  .tabbar a.active { color: var(--accent); }
  .tabbar a:hover { text-decoration: none; }
  .tabbar .ico { width: 23px; height: 23px; display: block; }
  .tabbar .ico svg { width: 23px; height: 23px; display: block; }
}

/* "More" sheet (mobile) */
.more-sheet { display: none; }
.more-sheet.open {
  display: block; position: fixed; inset: 0; z-index: 70;
  background: #0009; backdrop-filter: blur(2px);
}
.more-sheet .sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--bg-2); border-top-left-radius: 18px; border-top-right-radius: 18px;
  border-top: 1px solid var(--line); padding: var(--s4) var(--s4) calc(var(--s5) + env(safe-area-inset-bottom));
}
.more-sheet .sheet-grip { width: 38px; height: 4px; border-radius: 2px; background: var(--line);
  margin: 0 auto var(--s4); }
.more-sheet h3 { margin: 0 0 var(--s3); color: var(--muted); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .6px; }
.more-sheet .sheet-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.more-sheet .sheet-links a { display: flex; align-items: center; gap: 10px; padding: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); font-weight: 650; }
.more-sheet .sheet-links a.active { border-color: var(--accent); color: var(--accent); }

/* ============================================================= layout */
.grid { display: grid; gap: var(--s4); }
.cols-2 { grid-template-columns: 1.5fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cols-3 { grid-template-columns: 1fr 1fr; } }

main.wrap { padding-top: var(--s5); }
section { margin: var(--s6) 0; }
section:first-child { margin-top: var(--s2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s3); margin-bottom: var(--s3); }
.section-head h2, .section-head h3 { margin: 0; }
.section-head .more { font-size: .85rem; font-weight: 650; flex: none; }

/* ============================================================= cards */
.card { background-color: var(--card); background-image: var(--grad-card);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: var(--s4); box-shadow: var(--sh-1), var(--hairline); }
.card.tight { padding: 0; overflow: hidden; }
.card-row { display: flex; align-items: center; gap: var(--s3); padding: 13px var(--s4);
  border-bottom: 1px solid var(--line-soft); min-height: 52px; }
.card-row:last-child { border-bottom: 0; }
a.card-row { color: var(--text); }
a.card-row:hover { background: var(--card-2); text-decoration: none; }

/* ============================================================= chips */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: var(--card-2); border: 1px solid var(--line-soft); font-size: .76rem; color: var(--muted);
  font-weight: 650; white-space: nowrap; }
.chip.accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.chip.boulder { color: var(--boulder); border-color: color-mix(in srgb, var(--boulder) 35%, transparent); }
.chip.lead { color: var(--lead); border-color: color-mix(in srgb, var(--lead) 35%, transparent); }
.chip.live { color: #fff; background: var(--live); border: 0; animation: pulse 1.6s infinite; }
.chip.small { font-size: .72rem; padding: 2px 8px; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.55} }
.flag { width: 22px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px #0003;
  display: inline-block; vertical-align: middle; }
.flag.sm { width: 18px; height: 12px; }

/* ============================================================= buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--grad-accent); color: var(--accent-ink); border: 0; border-radius: 10px;
  padding: 11px 17px; font-weight: 700; cursor: pointer; font-size: .9rem; min-height: 42px;
  font-family: inherit; box-shadow: var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .08s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.05); text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: var(--card); background-image: var(--grad-card); color: var(--text);
  border: 1px solid var(--line); box-shadow: var(--sh-1), var(--hairline); }
.btn.ghost:hover { border-color: var(--accent); background-color: var(--card-2); filter: none; }
.btn.sm { padding: 8px 13px; font-size: .82rem; min-height: 38px; }
.follow-btn.following { background: var(--card); color: var(--accent); border: 1px solid var(--accent); }

/* ============================================================= tables */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line-soft); }
th { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--card-2); }
td.rank { width: 40px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.rank-1 { color: var(--gold); } .rank-2 { color: var(--silver); } .rank-3 { color: var(--bronze); }
.medal { font-size: 1rem; }

/* ============================================================= athlete band */
.athlete-band { display: flex; gap: var(--s5); align-items: center; flex-wrap: wrap;
  background: linear-gradient(155deg, var(--card-2), var(--card)); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: var(--s5); }
.athlete-photo { width: 108px; height: 108px; border-radius: 18px; object-fit: cover;
  background: var(--card-2); box-shadow: 0 0 0 1px var(--line); flex: none; }
.athlete-photo.placeholder { display: grid; place-items: center; color: var(--faint); }
.athlete-photo.placeholder svg { width: 48%; height: 48%; }
.stat-grid { display: flex; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s3); }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat .v { font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat .k { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 650; }

/* ============================================================= tabs */
.tabs { display: flex; gap: var(--s1); border-bottom: 1px solid var(--line); margin: var(--s5) 0 var(--s4);
  overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { background: none; border: 0; color: var(--muted); padding: 11px 14px; cursor: pointer;
  font-weight: 700; font-size: .9rem; border-bottom: 2px solid transparent; white-space: nowrap;
  font-family: inherit; min-height: 44px; }
.tabs button:hover { color: var(--text); }
.tabs button.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; } .tab-panel.active { display: block; }

/* ============================================================= spoiler */
/* Quiet, compact cover — a calm bar, not a big crosshatch block. */
.spoiler-on [data-spoiler]:not(.revealed) .spoiler-content { display: none !important; }
[data-spoiler] .spoiler-cover { display: none; }
.spoiler-on [data-spoiler]:not(.revealed) .spoiler-cover {
  display: flex; align-items: center; gap: var(--s3); padding: 14px var(--s4);
  text-align: left; border: 1px dashed var(--line); border-radius: var(--radius);
  background: var(--card);
}
.spoiler-cover .lock { display: flex; opacity: .75; flex: none; color: var(--muted); }
.spoiler-cover .lock svg { width: 18px; height: 18px; }
.reveal-btn.lockmini svg { width: 15px; height: 15px; }
.spoiler-cover .hint { color: var(--muted); font-size: .86rem; flex: 1; }
.spoiler-cover .reveal-btn { margin-left: auto; flex: none; }

/* inline spoiler (table cells) */
.spoiler-on [data-spoiler].inline:not(.revealed) .spoiler-content { display: none !important; }
[data-spoiler].inline .spoiler-cover { display: none; }
.spoiler-on [data-spoiler].inline:not(.revealed) .spoiler-cover {
  display: inline-flex; padding: 0; border: 0; background: none; }
.spoiler-cover.inline-btn { cursor: pointer; }
.reveal-btn.lockmini { background: none; border: 0; cursor: pointer; font-size: .95rem; padding: 4px 6px; color: var(--muted); }
.reveal-btn.lockmini:hover { color: var(--accent); }

/* ============================================================= misc */
.empty { text-align: center; color: var(--muted); padding: var(--s6) var(--s4); }
.list-link { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; background: var(--card-2);
  display: grid; place-items: center; color: var(--faint); font-weight: 700; flex: none; }
.toprank { display: flex; align-items: center; gap: 10px; }
footer { border-top: 1px solid var(--line-soft); margin-top: var(--s8); padding: var(--s5) 0; color: var(--muted); font-size: .82rem; }
.ascents { display: flex; gap: 5px; flex-wrap: wrap; }
.asc { font-size: .72rem; padding: 2px 7px; border-radius: 6px; background: var(--card-2); border: 1px solid var(--line-soft); }
.asc.top { color: var(--accent); border-color: var(--accent); }
.asc.zone { color: var(--gold); }

/* ranking chart */
.rank-chart { width: 100%; height: auto; background: var(--card-2); border-radius: var(--radius-sm); }
.chart-legend { display: flex; gap: var(--s4); margin-top: var(--s2); font-size: .82rem; flex-wrap: wrap; }
.chart-legend i { display: inline-block; width: 18px; height: 3px; vertical-align: middle; border-radius: 2px; }
.socials { display: flex; gap: var(--s3); flex-wrap: wrap; }
.socials a { font-weight: 600; }
.bio-table td { padding: 9px 10px; }
.bio-table td:first-child { color: var(--muted); width: 130px; }
.chip-row { display: flex; gap: var(--s2); flex-wrap: wrap; }
.chip-row .chip { cursor: pointer; }
/* filter chips need bigger tap targets */
button.chip { min-height: 34px; }

/* swipe photo gallery (athlete profile) */
.photo-gallery { position: relative; touch-action: pan-y; }
.pg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 18px; opacity: 0; transition: opacity .2s; }
.pg-img.active { opacity: 1; }
.pg-nav { position: absolute; top: 50%; transform: translateY(-50%); background: #000a; color: #fff;
  border: 0; width: 26px; height: 38px; cursor: pointer; border-radius: 7px; font-size: 1.1rem;
  line-height: 1; opacity: .45; transition: opacity .2s; z-index: 2; }
.photo-gallery:hover .pg-nav { opacity: 1; }
.pg-nav.prev { left: 3px; } .pg-nav.next { right: 3px; }
.pg-dots { position: absolute; bottom: 6px; left: 0; right: 0; display: flex; gap: 4px; justify-content: center; z-index: 2; }
.pg-dot { width: 6px; height: 6px; border-radius: 50%; background: #ffffff66; }
.pg-dot.active { background: #fff; }

/* announcements */
.announce { margin: var(--s4) 0; }
.announce-item { border-left: 3px solid var(--accent); margin-bottom: var(--s2); }
.announce-item.ann-withdrawal, .announce-item.ann-injury-break { border-left-color: var(--danger); }
.announce-item.ann-comp-news { border-left-color: var(--gold); }
.announce-item.ann-retirement-comeback { border-left-color: #b07ad8; }
.ann-row { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }

/* social updates */
.update-item { display: flex; gap: var(--s3); align-items: flex-start; }
.update-item:hover { text-decoration: none; }
.update-thumb { width: 66px; height: 66px; border-radius: 10px; object-fit: cover; flex: none; background: var(--card-2); }

/* seasons */
a.plain { color: inherit; text-decoration: none; }
a.plain:hover { color: var(--accent); }
.season-head { margin-bottom: var(--s4); }
.season-card { text-align: center; transition: border-color .15s, transform .15s; }
.season-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.season-year { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }

/* quick-favorite star (athlete lists) */
.fav-star { background: none; border: 0; color: var(--muted); font-size: 1.2rem; line-height: 1;
  cursor: pointer; padding: 8px; flex: none; opacity: .5; border-radius: 9px; min-width: 40px; min-height: 40px;
  transition: color .15s, opacity .15s, transform .1s; }
.fav-star:hover { opacity: 1; color: var(--gold); transform: scale(1.15); }
.fav-star.following { color: var(--gold); opacity: 1; }

/* hero strip (home orientation for first-timers) */
.hero { background: var(--grad-hero); position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s5); margin: var(--s2) 0 var(--s5);
  box-shadow: var(--sh-2), var(--hairline); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 120% at 100% 0%, #3ccb9118, transparent 55%); }
.hero > * { position: relative; }
.hero h1 { margin: 0 0 var(--s2); }
.hero p { margin: 0; color: var(--muted); max-width: 60ch; }
.hero .hero-actions { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s4); }

/* outdoor sends: grade badge + row */
.send { gap: var(--s3); }
.send-meta { margin-top: 2px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.send-meta .list-link { display: inline-flex; gap: 6px; }
.grade { flex: 0 0 auto; min-width: 52px; text-align: center; font-variant-numeric: tabular-nums;
  font-weight: 800; font-size: .95rem; padding: 7px 8px; border-radius: var(--radius-xs);
  background: var(--card-2); border: 1px solid var(--line-soft); }
.grade.boulder { color: var(--boulder); }
.grade.lead { color: var(--lead); }
.lm-head { display: flex; gap: var(--s3); align-items: flex-start; }
/* hold-type icons in the guide */
.bio-table.holds td:first-child, .bio-table.lingo td:first-child { white-space: nowrap; }
.holdico { display: inline-flex; vertical-align: middle; margin-right: 9px; color: var(--accent); }
.holdico svg { width: 22px; height: 22px; }

/* small accent tick before a section title (replaces emoji noise) */
.eyebrow { color: var(--muted); font-size: .74rem; text-transform: uppercase;
  letter-spacing: .7px; font-weight: 700; margin-bottom: 2px; }
