/* GetPrio — dark-academia theme, ported from the Streamlit dashboard and
   de-Streamlit-ified: the [data-testid] hooks are replaced by semantic .gp-*
   classes we now own. Palette: warm ink, brass, oxblood, sage. */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --ink: #16120F; --brass: #C9A86A; --parch: #E7DCC9; --muted: #9C8A74;
  --sage: #8C9A6A; --oxblood: #B06A5C;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 520px at 50% -8%, #271E16 0%, #18130F 55%, #120D0A 100%)
    fixed;
  font-family: var(--font-body); color: #E7DCC9;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, .gp-name {
  font-family: var(--font-display);
  letter-spacing: -.2px; color: #F2E9D6; font-weight: 600;
}

.gp-container { max-width: 1180px; margin: 0 auto; padding: 1.4rem 1.5rem 4rem; }
.gp-wide { max-width: 1320px; }

/* ---- top nav ---- */
.gp-nav { position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(9px);
  background: linear-gradient(180deg, rgba(20,15,11,.92), rgba(20,15,11,.72));
  border-bottom: 1px solid #2C241C; }
.gp-nav-in { max-width: 1180px; margin: 0 auto; padding: .7rem 1.5rem;
  display: flex; align-items: center; gap: 1.6rem; }
.gp-nav-brand { font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; color: #F4ECD9; letter-spacing: .5px; }
.gp-nav-brand .dot { color: var(--brass); }
.gp-nav-links { display: flex; gap: 1.35rem; margin-left: auto; }
.gp-nav-links a { font-size: .76rem; text-transform: uppercase; letter-spacing: .18em;
  color: #A7977F; padding: .35rem 0; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s; }
.gp-nav-links a:hover { color: #E7DCC9; }
.gp-nav-links a.active { color: var(--brass); border-color: var(--brass); }

/* ---- masthead / hero ---- */
.gp-mast { margin: .4rem 0; }
.gp-title { font-family: var(--font-display); font-weight: 700;
  font-size: 3.1rem; line-height: 1; color: #F4ECD9; letter-spacing: .5px; }
.gp-title .dot { color: var(--brass); }
.gp-sub { color: #A7977F; font-size: 1.06rem; font-style: italic; margin-top: .35rem; }
.gp-rule { height: 1px; margin: 1.1rem 0 1.4rem;
  background: linear-gradient(90deg, #C9A86A55, #C9A86A18 40%, transparent 80%); }
.gp-hero { padding: 1.2rem 0 .6rem; }
.gp-hero .gp-title { font-size: 3.7rem; }
.gp-hero .lead { color: #C2B197; font-size: 1.22rem; max-width: 60ch;
  margin-top: .7rem; line-height: 1.5; }

/* ---- KPI strip ---- */
.gp-kpis { display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid #382E24; border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, rgba(42,33,26,.55), rgba(28,22,18,.4)); }
.gp-kpi { padding: 14px 20px; border-right: 1px solid #2C241C; }
.gp-kpi:last-child { border-right: 0; }
.gp-kpi .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em;
  color: #998772; }
.gp-kpi .v { font-family: var(--font-mono); font-size: 1.7rem; letter-spacing: -1px;
  font-weight: 600; color: #F2E9D6; line-height: 1.1; }
.gp-kpi .v.accent { color: var(--brass); }

/* ---- cards ---- */
.gp-card { background: linear-gradient(180deg, rgba(43,34,27,.58), rgba(28,22,18,.5));
  border: 1px solid #362C22; border-radius: 14px; padding: 16px 20px; margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 12px 30px rgba(0,0,0,.28);
  transition: border-color .3s ease, box-shadow .3s ease; }
.gp-card:hover { border-color: rgba(201,168,106,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 14px 34px rgba(0,0,0,.34); }

/* ---- card summary row ---- */
.gp-row { display: grid; align-items: center; gap: 16px;
  grid-template-columns: 42px 1.65fr 1.4fr 1fr 1.45fr 74px; }
.gp-rank { font-family: var(--font-mono); font-size: 1.15rem;
  color: #6E5E49; text-align: center; }
.gp-name { font-size: 1.62rem; line-height: 1; }
.gp-name-link { transition: color .2s; }
.gp-name-link:hover { color: var(--brass); }
.gp-role { color: #A7977F; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .16em; margin-left: .5rem; }
.gp-badges { margin-top: .5rem; display: flex; gap: 7px; flex-wrap: wrap; }
.gp-tag { font-size: .66rem; text-transform: uppercase; letter-spacing: .16em;
  padding: 3px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.gp-new { color: #E7C988; border-color: #C9A86A66; background: #C9A86A14; }
.gp-rise { color: #A9B486; border-color: #8C9A6A55; background: #8C9A6A12; }
.gp-meta-tag { color: #18120C; border-color: var(--brass); background: var(--brass);
  font-weight: 600; }
.gp-arch-tag { color: #B9A788; border-color: #4F4332; background: transparent; }
/* patch buff/nerf: sage = buffed (good), oxblood = nerfed */
.gp-buff { color: #A9B486; border-color: #6F8A5E55; background: #6F8A5E12; }
.gp-nerf { color: #C98D7F; border-color: #8B4C4255; background: #8B4C4212; }
/* sample-confidence tiers: sage = well-sampled, muted = thin/speculative */
.gp-conf-high { color: #93B08A; border-color: #6F8A5E55; background: #6F8A5E12; }
.gp-conf-med  { color: #C9A86A; border-color: #9A845255; background: #9A845210; }
.gp-conf-spec { color: #8A7E6E; border-color: #4F453588; background: transparent;
  opacity: .85; }

/* ---- meta-read / items panels ---- */
.gp-meta-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em;
  color: #A7977F; margin: 1.6rem 0 .55rem; }
.gp-meta-panel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  margin-bottom: 1.3rem; }
.gp-meta-tile { border: 1px solid #322920; border-radius: 11px; padding: 11px 13px;
  background: linear-gradient(180deg, rgba(42,33,26,.45), rgba(28,22,18,.32)); }
.gp-meta-role { font-size: .68rem; text-transform: uppercase; letter-spacing: .2em;
  color: #998772; margin-bottom: .55rem; }
.gp-meta-arch { display: flex; justify-content: space-between; align-items: baseline;
  gap: 8px; padding: 3px 0; font-size: .9rem; color: #C2B197; white-space: nowrap; }
.gp-meta-arch .name { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gp-meta-arch .s { font-variant-numeric: tabular-nums; font-size: .82rem;
  color: #8E7D68; flex: none; white-space: nowrap; }
.gp-champ-wr { color: #6E5E49; font-size: .92em; margin-left: .35rem; }
.gp-meta-dom .name { color: #F2E9D6; }
.gp-meta-dom .name::before { content: "★ "; color: var(--brass); font-size: .68rem; }
.gp-up { color: #A9B486; } .gp-down { color: #C98D7F; } .gp-flat { color: #6E5E49; }
.gp-meta-pro { color: #7C6C58; font-size: .78rem; font-style: italic;
  border-top: 1px solid #261F18; margin-top: .5rem; padding-top: .4rem; }

/* ---- cells, dots, score ---- */
.gp-cell .k { font-size: .66rem; text-transform: uppercase; letter-spacing: .16em;
  color: #8E7D68; margin-bottom: 3px; }
.gp-cell .v { font-size: 1.02rem; color: #E7DCC9; }
.gp-cell .v .sub { color: #94836E; font-size: .85rem; }
.gp-names { color: #DCCFB6; }
.gp-empty { color: #6E5E49; font-style: italic; }
.gp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px;
  margin-right: 7px; vertical-align: middle; }
.gp-on { background: var(--sage); box-shadow: 0 0 8px #8C9A6A88; }
.gp-off { background: var(--oxblood); box-shadow: 0 0 8px #B06A5C88; }
.gp-score { text-align: right; }
.gp-score .k { font-size: .62rem; text-transform: uppercase; letter-spacing: .16em;
  color: #8E7D68; }
.gp-scoreval { font-family: var(--font-mono); font-weight: 700; font-size: 1.6rem;
  letter-spacing: -1px; color: var(--brass); line-height: 1; }

/* ---- briefing (native <details>) ---- */
.gp-briefing { margin-top: 10px; }
.gp-briefing > summary { list-style: none; cursor: pointer; padding: 8px 2px;
  border-top: 1px solid #2C241C; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .2em; color: #A7977F; transition: color .2s; }
.gp-briefing > summary::-webkit-details-marker { display: none; }
.gp-briefing > summary::after { content: " ›"; color: #6E5E49; }
.gp-briefing[open] > summary::after { content: " ﹀"; }
.gp-briefing > summary:hover { color: var(--brass); }
.gp-briefing-body { padding: 1rem .2rem .4rem; }
.gp-brief-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 1.8rem; }
.gp-bk { font-size: .68rem; text-transform: uppercase; letter-spacing: .18em;
  color: #998772; margin-bottom: .35rem; }
.gp-stagehead { font-size: 1.05rem; color: #F2E9D6; }
.gp-stagesub { color: #A7977F; font-size: .92rem; margin-top: .15rem; }

/* ---- briefing metrics (replaces st.metric) ---- */
.gp-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 1rem; }
.gp-metric .k { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em;
  color: #998772; }
.gp-metric .v { font-family: var(--font-mono); font-size: 1.4rem;
  color: #F2E9D6; line-height: 1.15; }

/* ---- matchups / synergy / build trend ---- */
.gp-mu { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.gp-mu-col .gp-bk { margin-bottom: .5rem; }
.gp-mu-row { display: grid; grid-template-columns: 1fr auto auto;
  align-items: baseline; gap: 10px; padding: 4px 0; border-bottom: 1px solid #261F18; }
.gp-mu-opp { color: #DCCFB6; font-size: 1rem; }
.gp-mu-wr { font-size: 1rem; font-variant-numeric: tabular-nums; }
.gp-mu-good { color: #A9B486; }
.gp-mu-bad { color: #C98D7F; }
.gp-mu-g { color: #8E7D68; font-size: .8rem; min-width: 30px; text-align: right; }
.gp-syn { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }

/* ---- pro-log table ---- */
.gp-log { width: 100%; border-collapse: collapse; font-size: .95rem; }
.gp-log th { text-align: left; font-size: .64rem; text-transform: uppercase;
  letter-spacing: .14em; color: #8E7D68; font-weight: 500;
  border-bottom: 1px solid #38301F; padding: 4px 8px 6px; }
.gp-log td { padding: 5px 8px; border-bottom: 1px solid #261F18; color: #DCCFB6; }
.gp-w { color: #A9B486; font-weight: 600; }
.gp-l { color: #B06A5C; font-weight: 600; }

/* ---- trend svg ---- */
/* width:100% + height:auto lets the browser derive height from the viewBox so
   the chart scales proportionally; a fixed pixel height (with the SVG stretched
   to container width) distorts the plot and squishes the labels. */
.gp-trend-svg { display: block; width: 100%; height: auto; }

/* ---- filter bar (sticky) ---- */
.gp-filterbar { position: sticky; top: 53px; z-index: 20;
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  padding: .8rem 1rem; margin: 1.4rem 0 .4rem; border-radius: 12px;
  border: 1px solid #2F2619;
  background: linear-gradient(180deg, rgba(34,27,21,.92), rgba(24,19,15,.86));
  backdrop-filter: blur(6px); }
.gp-filter-lab { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em;
  color: #998772; margin-right: .2rem; }
.gp-toggle { display: inline-flex; align-items: center; gap: .45rem;
  font-size: .92rem; color: #C2B197; cursor: pointer; }
.gp-toggle input { accent-color: var(--brass); width: 1rem; height: 1rem; }
.gp-roles { display: inline-flex; gap: .3rem; margin-left: auto; }
.gp-roles label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  color: #A7977F; padding: .28rem .7rem; border: 1px solid #3A3022; border-radius: 999px;
  cursor: pointer; transition: all .2s; }
.gp-roles input { display: none; }
.gp-roles input:checked + label { color: #18120C; background: var(--brass);
  border-color: var(--brass); }

/* ---- credibility banner ---- */
.gp-cred { border-left: 2px solid var(--brass);
  background: linear-gradient(90deg, rgba(201,168,106,.10), transparent 72%);
  padding: 9px 16px; border-radius: 0 8px 8px 0; margin: -.4rem 0 1.1rem; }
.gp-cred .k { font-size: .66rem; text-transform: uppercase; letter-spacing: .18em;
  color: #998772; margin-bottom: 2px; }
.gp-cred .v { color: #E7DCC9; font-size: .98rem; }
.gp-cred .v b { color: #E7C988; }
.gp-cred .note { color: #8E7D68; font-style: italic; font-size: .85rem; margin-left: .4rem; }

/* ---- data-trust badge ---- */
.gp-health { display: flex; align-items: center; gap: 11px; padding: 9px 16px;
  border-radius: 10px; margin: 0 0 1rem; border: 1px solid; }
.gp-health .hdot { width: 9px; height: 9px; border-radius: 999px; flex: none; }
.gp-health .htext b { font-size: .98rem; letter-spacing: .01em; }
.gp-health .htext span { color: #A7977F; font-size: .9rem; margin-left: .5rem; }
.gp-h-fresh { border-color: #8C9A6A44; background: #8C9A6A12; }
.gp-h-fresh .hdot { background: var(--sage); box-shadow: 0 0 8px #8C9A6A99; }
.gp-h-fresh b { color: #B8C18E; }
.gp-h-lagging { border-color: #C9A86A44; background: #C9A86A12; }
.gp-h-lagging .hdot { background: var(--brass); box-shadow: 0 0 8px #C9A86A99; }
.gp-h-lagging b { color: #E7C988; }
.gp-h-stale { border-color: #B06A5C55; background: #B06A5C16; }
.gp-h-stale .hdot { background: var(--oxblood); box-shadow: 0 0 9px #B06A5Caa; }
.gp-h-stale b { color: #D2897B; }

/* ---- meta-now (full-width soloq-vs-pro per role) ---- */
.gp-metanow-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-bottom: 1.4rem; }
.gp-metanow-tile { border: 1px solid #322920; border-radius: 12px; padding: 13px 16px;
  background: linear-gradient(180deg, rgba(42,33,26,.45), rgba(28,22,18,.32)); }
.gp-metanow-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.gp-metanow-cols .gp-bk { margin: .2rem 0 .4rem; }

/* ---- track-record page ---- */
.gp-track-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin: 1.2rem 0 1.6rem; }

/* plain-English intro paragraph */
.gp-explain { max-width: 78ch; color: #C8BBA2; font-size: 1.12rem; line-height: 1.62;
  margin: .2rem 0 1.7rem; }
.gp-explain em { color: var(--brass); font-style: italic; }
.gp-explain b { color: #E7DCC9; font-weight: 600; }

/* hero stat band — the headline numbers, translated to plain language */
.gp-statband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 0 0 .7rem; }
.gp-stat { border: 1px solid #382E24; border-radius: 14px; padding: 18px 22px 20px;
  background: linear-gradient(180deg, rgba(43,34,27,.6), rgba(26,20,16,.45));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.gp-stat .lab { font-size: .68rem; text-transform: uppercase; letter-spacing: .2em;
  color: #998772; }
.gp-stat .big { font-family: var(--font-mono); font-weight: 700;
  font-size: 2.7rem; line-height: 1.05; color: var(--brass); margin: .35rem 0 .5rem;
  letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.gp-stat .big .unit { font-size: 1.1rem; color: #9C8456; margin-left: .22rem;
  letter-spacing: 0; }
.gp-stat .desc { color: #A99882; font-size: .96rem; line-height: 1.5; }
.gp-stat .desc b { color: #E7DCC9; font-weight: 600; }
.gp-statband-cap { color: #8E7D68; font-style: italic; font-size: .9rem;
  margin: 0 0 2rem; }
.gp-statband-cap b { color: #B8A580; font-style: normal; }

/* live-model held-out credibility banner (sage = the validated/trust accent) */
.gp-model-banner { border: 1px solid #4A5B3E; border-left: 3px solid #6F8A5E;
  border-radius: 12px; padding: 14px 20px 16px; margin: 0 0 1.6rem;
  background: linear-gradient(180deg, rgba(111,138,94,.10), rgba(26,20,16,.25)); }
.gp-model-banner-head { font-size: .68rem; text-transform: uppercase;
  letter-spacing: .2em; color: #93B08A; margin-bottom: .55rem; }
.gp-model-stats { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem;
  align-items: baseline; }
.gp-model-stats > div { color: #B7A88A; }
.gp-model-stats b { font-family: var(--font-mono); font-weight: 700;
  font-size: 1.7rem; color: #C7D6B8; letter-spacing: -.5px;
  font-variant-numeric: tabular-nums; margin-right: .25rem; }
.gp-model-stats .sub { color: #8E9C80; font-size: .82rem; margin-left: .15rem; }
.gp-model-banner-note { color: #9C8A74; font-size: .86rem; line-height: 1.55;
  margin-top: .7rem; }
.gp-model-banner-note code { font-family: var(--font-mono); font-size: .82rem;
  color: #B8A580; }

/* combined accuracy chart + its plain-language note */
.gp-chartbox { border: 1px solid #322920; border-radius: 13px; padding: 14px 18px 10px;
  background: linear-gradient(180deg, rgba(42,33,26,.4), rgba(26,20,16,.28));
  margin-bottom: 1.8rem; }
/* Pro-meta-vs-model quadrant scatter (same frame as the trend chartbox) */
.gp-scatterbox { border: 1px solid #322920; border-radius: 13px; padding: 14px 18px 12px;
  background: linear-gradient(180deg, rgba(42,33,26,.4), rgba(26,20,16,.28));
  margin-bottom: 1.8rem; }
/* quadrant "Read" tags — sage where the model agrees, oxblood where it doesn't */
.gp-quad-emerging    { color: #93B08A; border-color: #6F8A5E66; background: #6F8A5E14; }
.gp-quad-confirmed   { color: #A7B488; border-color: #5F6F4A55; background: #5F6F4A0F; }
.gp-quad-unsupported { color: #C98D7F; border-color: #8A4F4555; background: #8A4F4512; }
.gp-quad-fringe      { color: #8A7E6E; border-color: #4F453588; background: transparent; }
.gp-track-note .gp-quad-emerging, .gp-track-note .gp-quad-unsupported { font-weight: 600; }
.gp-track-note { color: #9C8A74; font-size: .9rem; line-height: 1.55; margin-top: .4rem;
  max-width: 80ch; }
.gp-track-note b { color: #C8BBA2; font-weight: 600; }

.gp-track-table { width: 100%; border-collapse: collapse; font-size: .98rem;
  font-variant-numeric: tabular-nums; }
.gp-track-table th { text-align: right; font-size: .64rem; text-transform: uppercase;
  letter-spacing: .14em; color: #8E7D68; font-weight: 500;
  border-bottom: 1px solid #38301F; padding: 6px 12px 8px; cursor: help; }
.gp-track-table th:first-child { text-align: left; cursor: default; }
.gp-track-table td { text-align: right; padding: 8px 12px; color: #DCCFB6;
  border-bottom: 1px solid #261F18; }
.gp-track-table td:first-child { text-align: left; color: #F2E9D6;
  font-family: var(--font-display); font-size: 1.15rem; }
.gp-track-table td b { color: #F2E9D6; font-weight: 600; }
.gp-track-table .den { color: #7E6F5A; font-size: .9em; }
.gp-track-table tr:hover td { background: rgba(201,168,106,.05); }

/* ---- called shots: named hit/miss chips on the track record ---- */
.gp-calls-row { display: grid; grid-template-columns: 78px 1fr; gap: 14px;
  align-items: baseline; padding: 9px 0; border-bottom: 1px solid #241E17; }
.gp-calls-patch { font-family: var(--font-mono); color: #B8A580; font-size: .92rem;
  font-variant-numeric: tabular-nums; }
.gp-calls-patch .den { color: #786A55; font-size: .82rem; }
.gp-calls-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gp-call-hit { color: #B7CBA6; border-color: #6F8A5E66; background: #6F8A5E16; }
.gp-call-hit .lead { color: #8FA37E; font-size: .82em; margin-left: .1rem; }
.gp-call-miss { color: #8A7E6E; border-color: #3A3326; background: transparent;
  opacity: .6; }

/* ---- per-champ permalink page ---- */
.gp-champ-back { display: inline-block; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .18em; color: #998772; margin: .2rem 0 .8rem; transition: color .2s; }
.gp-champ-back:hover { color: var(--brass); }
.gp-champ-head { display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; }
.gp-champ-name { font-family: var(--font-display); font-size: 2.8rem;
  font-weight: 700; color: #F4ECD9; line-height: 1; }
.gp-champ-score { text-align: right; }
.gp-champ-score .k { font-size: .62rem; text-transform: uppercase; letter-spacing: .16em;
  color: #8E7D68; }

/* ---- editorial: prose, blog index, tags ---- */
.gp-prose { max-width: 72ch; font-size: 1.12rem; line-height: 1.72; color: #DBCFB8; }
.gp-prose h2 { font-family: var(--font-display); font-size: 1.9rem;
  color: #F2E9D6; margin: 2rem 0 .6rem; }
.gp-prose h3 { font-family: var(--font-display); font-size: 1.45rem;
  color: #EADFC8; margin: 1.5rem 0 .4rem; }
.gp-prose p { margin: .75rem 0; }
.gp-prose a { color: var(--brass); border-bottom: 1px solid #C9A86A55; }
.gp-prose a:hover { border-color: var(--brass); }
.gp-prose strong { color: #F2E9D6; }
.gp-prose ul, .gp-prose ol { margin: .6rem 0 .9rem; padding-left: 1.4rem; }
.gp-prose li { margin: .3rem 0; }
.gp-prose blockquote { border-left: 2px solid var(--brass); margin: 1rem 0;
  padding: .3rem 0 .3rem 1.1rem; color: #B9A88E; font-style: italic; }
.gp-prose code { font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: .9em; background: #00000033; border: 1px solid #2C241C;
  border-radius: 5px; padding: .08em .35em; color: #E7C988; }
.gp-prose pre { background: #00000033; border: 1px solid #2C241C; border-radius: 9px;
  padding: 12px 14px; overflow-x: auto; }
.gp-prose pre code { background: none; border: 0; padding: 0; color: #DBCFB8; }
.gp-prose hr { border: 0; border-top: 1px solid #2C241C; margin: 1.6rem 0; }
.gp-prose table { border-collapse: collapse; margin: 1rem 0; }
.gp-prose th, .gp-prose td { border-bottom: 1px solid #261F18; padding: 6px 14px;
  text-align: left; }

.gp-tagbar { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; }
.gp-tag-link { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: #A7977F; padding: .3rem .8rem; border: 1px solid #3A3022; border-radius: 999px;
  transition: all .2s; }
.gp-tag-link:hover { color: #E7DCC9; border-color: #5A4C38; }
.gp-tag-link.active { color: #18120C; background: var(--brass); border-color: var(--brass); }

.gp-post-card { display: block; border: 1px solid #362C22; border-radius: 14px;
  padding: 18px 22px; margin-bottom: 14px;
  background: linear-gradient(180deg, rgba(43,34,27,.58), rgba(28,22,18,.5));
  transition: border-color .3s, box-shadow .3s; }
.gp-post-card:hover { border-color: rgba(201,168,106,.45);
  box-shadow: 0 14px 34px rgba(0,0,0,.34); }
.gp-post-meta { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  font-size: .8rem; color: #8E7D68; letter-spacing: .04em; }
.gp-post-title { font-family: var(--font-display); font-size: 1.85rem;
  color: #F2E9D6; line-height: 1.15; margin: .25rem 0 .2rem; }
.gp-post-summary { color: #B9A88E; font-size: 1.02rem; }
.gp-post-h1 { font-family: var(--font-display); font-size: 2.9rem;
  font-weight: 700; color: #F4ECD9; line-height: 1.05; margin: .3rem 0 0; }

/* ---- sub-nav (Meta now / Over time) ---- */
.gp-subnav { display: flex; gap: 1.1rem; margin: -.4rem 0 1.4rem; }
.gp-subnav a, .gp-subnav span { font-size: .76rem; text-transform: uppercase;
  letter-spacing: .16em; color: #A7977F; padding-bottom: .25rem;
  border-bottom: 1px solid transparent; }
.gp-subnav a:hover { color: #E7DCC9; }
.gp-subnav .active { color: var(--brass); border-color: var(--brass); }

/* ---- over-time chart grid (Meta over time) ---- */
.gp-chart-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-bottom: 1.4rem; }
.gp-chart-panel { border: 1px solid #322920; border-radius: 12px; padding: 12px 14px;
  background: linear-gradient(180deg, rgba(42,33,26,.45), rgba(28,22,18,.32)); }
.gp-chart-panel .gp-meta-role { margin-bottom: .4rem; }
.gp-lines-svg { display: block; width: 100%; height: auto; }

/* ---- items board ---- */
.gp-items-role { margin-bottom: 1.6rem; }
.gp-items-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 26px;
  align-items: start; }
.gp-items-list .gp-mu-row { grid-template-columns: 1fr auto 1.4rem; }

/* ---- section heading + footer ---- */
.gp-section-h { margin: 1.4rem 0 .2rem; }
.gp-section-h .sub { color: #8E7D68; font-size: 1rem; }
.gp-foot { color: #7C6C58; font-size: .86rem; font-style: italic;
  border-top: 1px solid #2C241C; padding-top: 1rem; margin-top: 2.2rem; }
.gp-foot a { color: #998772; border-bottom: 1px solid #3A3022; }

@media (max-width: 820px) {
  .gp-meta-panel { grid-template-columns: repeat(2, 1fr); }
  .gp-metanow-panel, .gp-track-charts { grid-template-columns: 1fr; }
  .gp-statband { grid-template-columns: 1fr; }
  .gp-chart-grid, .gp-items-cols { grid-template-columns: 1fr; }
  .gp-brief-grid, .gp-mu, .gp-syn { grid-template-columns: 1fr; }
  .gp-champ-name { font-size: 2.1rem; }
  .gp-row { grid-template-columns: 32px 1fr auto; }
  .gp-row .gp-cell { display: none; }
  .gp-nav-links { gap: .9rem; }
}
