/* THE BITE ME FOOD CHALLENGE — The Climb (reinvented leaderboard).
   Palette ONLY: red #d71920, gold #f2b544, black #111, cream #f7f2e8.
   No blue anywhere. Mobile-first: most members are on phones.
   v2 (Brian 2026-11-12): BLACK BACKGROUNDS, NO WHITE — every surface
   on the leaderboard pages is black/dark; cream is LETTERING only,
   never a background. This file loads only on the leaderboard pages,
   so the body rule below scopes the restyle to them. */

body{background:#111;color:#ffffff}
.page h1,.page h2{color:#ffffff}
/* Top-clip fix (Brian 2026-11-14, viewing the live page: "the top got
   cut off"): css/styles.css sets .page h1{line-height:.95}, and at that
   tight leading the top of the 🏆 emoji in this page's H1 is clipped in
   phone renderers. Scoped override — this file loads only on the
   leaderboard pages. */
.page h1{line-height:1.1}
.page p{color:#ffffff}
.page select,.page input{background:#161616;color:#ffffff;border:1px solid #f2b544;border-radius:6px;padding:6px}
.page .button{background:#d71920;color:#fff;border:2px solid #d71920;border-radius:8px;padding:8px 14px;text-decoration:none;font-weight:700;display:inline-block}
.crow .win-break{color:#ffffff}
.climb-nav.divisions a{flex:1 1 26%}

/* STORE BUTTONS (Brian 2026-11-14): the board buttons and the continent
   division buttons under the ladder take the store-button standard —
   black #111 field, red #d71920 trim INSIDE (2px border), gold #f2b544
   line OUTSIDE (2px outline, offset 3px), WHITE lettering. Race-line
   order is always gold outside, red inside. The selected board (.on)
   keeps the same style — no solid red fill anywhere in this row — and
   stays obvious by full-bright lettering plus a heavier gold outline;
   unselected buttons sit slightly dimmer. Gap widened 8px -> 12px so
   the offset gold outlines of neighbouring buttons do not merge. */
.climb-nav{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 8px}
.climb-nav a{flex:1 1 30%;text-align:center;padding:10px 6px;border:2px solid #d71920;outline:2px solid #f2b544;outline-offset:3px;border-radius:10px;color:#fff;text-decoration:none;font-weight:700;font-size:.92rem;background:#111;opacity:.86}
.climb-nav a:hover{opacity:1}
.climb-nav a.on{background:#111;border-color:#d71920;color:#fff;opacity:1;outline-width:3px}
.climb-nav a small{display:block;font-weight:400;font-size:.72rem;color:#ffffff}
.climb-nav a.on small{color:#fff}

/* The ladder — RUSSIAN NESTING style (Brian 2026-11-14: "make those
   boxes like a Russian egg — where they go from large to smaller to
   smaller to smaller"). The five rungs now step DOWN in size in a line,
   largest first: NEWCOMER is the big outer doll and each level shrinks
   (height, width and type all taper) down to TOP TIER, the smallest.
   This replaces the old rising-steps ladder, whose heights ran the
   other way. Every rung carries the store/module trim — black #111
   field, red #d71920 trim inside (2px border), gold #f2b544 line
   outside (2px outline, offset 3px), cream lettering — including Top
   Tier, which gives up its old solid-red fill. Heights are exactly the
   old ladder's values reversed, and every rung has the same text
   structure, so nothing that fit before can clip now; the smallest
   rung's type (.74rem / .82rem bold) stays phone-legible. */
.ladder{display:flex;align-items:flex-end;gap:12px;margin:18px 0 8px}
.rung-step{text-align:center;border:2px solid #d71920;outline:2px solid #f2b544;outline-offset:3px;border-radius:8px 8px 0 0;background:#111;color:#ffffff;padding:8px 2px 6px}
.rung-step b{display:block;color:#ffffff}
.rung-step .gate{font-size:.7rem;color:#ffffff}
.rung-step[data-rung="newcomer"]{flex:1.25 1 0;min-height:100px;font-size:.82rem}
.rung-step[data-rung="newcomer"] b{font-size:.98rem}
.rung-step[data-rung="local"]{flex:1.1 1 0;min-height:86px;font-size:.8rem}
.rung-step[data-rung="local"] b{font-size:.94rem}
.rung-step[data-rung="state"]{flex:1 1 0;min-height:72px;font-size:.78rem}
.rung-step[data-rung="state"] b{font-size:.9rem}
.rung-step[data-rung="country"]{flex:.9 1 0;min-height:58px;font-size:.76rem}
.rung-step[data-rung="country"] b{font-size:.86rem}
.rung-step[data-rung="toptier"]{flex:.8 1 0;min-height:44px;font-size:.74rem}
.rung-step[data-rung="toptier"] b{font-size:.82rem}
.rung-step.me{outline:3px solid #f7f2e8;outline-offset:2px}
.ladder-note{text-align:center;color:#ffffff;font-size:.85rem;margin:0 0 14px}

/* LADDER VIEW SWITCH + NESTING BOXES (Brian 2026-11-15: "Could we do
   it both ways?") — the ladder now renders TWO ways with a small
   store-button view switch: the true NESTING BOXES (the default —
   Brian's original nesting-dolls intent) and the shrinking LINE
   above, kept as-is. The switch takes the store-button standard,
   same pattern as .climb-dual: black #111 field, red #d71920 trim
   INSIDE (2px border), gold #f2b544 line OUTSIDE (2px outline,
   offset 3px), WHITE lettering; the active view is marked by the
   heavier gold outline. position:static because styles.css pulls
   every <nav> out of flow on phone widths (see the position fix
   further down this file). */
.ladder-switch{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 6px;position:static}
.ladder-switch .lview-btn{flex:1 1 40%;text-align:center;padding:10px 6px;border:2px solid #d71920;outline:2px solid #f2b544;outline-offset:3px;border-radius:10px;color:#fff;font-weight:700;font-size:.92rem;background:#111;opacity:.86;cursor:pointer;font-family:inherit}
.ladder-switch .lview-btn:hover{opacity:1}
.ladder-switch .lview-btn.on{background:#111;border-color:#d71920;color:#fff;opacity:1;outline-width:3px}
.ladder-switch .lview-btn small{display:block;font-weight:400;font-size:.72rem;color:#ffffff}
.ladder-switch .lview-btn.on small{color:#fff}
[data-ladder-panel][hidden]{display:none!important}
/* The nesting boxes themselves: TOP TIER is the outer doll, then
   COUNTRY, STATE, LOCAL, and NEWCOMER at the heart. Every box
   carries the module standard — black #111 field, red #d71920
   border INSIDE, gold #f2b544 outline OUTSIDE (offset 3px) — and
   ALL lettering is white. Each level's label, board, gate and
   count sit on its own band at the top of its box, above the child
   box, so no level is ever hidden inside the next. The padding
   gives each child's gold outline room to sit inside its parent.
   Band type mirrors the line ladder's taper (labels .82rem at the
   outer doll up to .98rem at the heart). */
.ladder-boxes{margin:6px 0 10px}
.nest-box{border:2px solid #d71920;outline:2px solid #f2b544;outline-offset:3px;border-radius:10px;background:#111;color:#fff;padding:12px;margin-top:16px}
.ladder-boxes>.nest-box{margin-top:10px}
.nest-band{text-align:center;color:#fff;line-height:1.4;font-size:.82rem}
.nest-band b{display:block;color:#fff;font-size:.9rem}
.nest-band .gate{font-size:.72rem;color:#fff}
.nest-box[data-rung="toptier"]>.nest-band b{font-size:.82rem}
.nest-box[data-rung="country"]>.nest-band b{font-size:.86rem}
.nest-box[data-rung="state"]>.nest-band b{font-size:.9rem}
.nest-box[data-rung="local"]>.nest-band b{font-size:.94rem}
.nest-box[data-rung="newcomer"]>.nest-band b{font-size:.98rem}
.nest-box.me{outline:3px solid #f7f2e8;outline-offset:2px}
/* Phone widths: trim the per-level inset so five levels of padding
   never crush the innermost box — the NEWCOMER band keeps a
   readable measure on a 360px screen. */
@media (max-width:700px){
  .nest-box{padding:9px 7px 10px;margin-top:13px}
  .nest-band{font-size:.78rem}
}

.you-card{border:2px solid #f2b544;border-radius:14px;background:#161616;padding:14px 16px;margin:16px 0}
.you-card h2{margin:0 0 6px;color:#ffffff;font-size:1.05rem}
.progress{height:12px;border:1px solid #f2b544;border-radius:6px;overflow:hidden;background:#111;margin:8px 0 4px}
.progress i{display:block;height:100%;background:#d71920}
.chip{display:inline-block;border:1px solid #f2b544;border-radius:999px;padding:2px 10px;font-size:.78rem;font-weight:700;color:#ffffff}
.chip.gold{border-color:#f2b544;color:#ffffff;border-width:2px}
.chip.red{background:#d71920;border-color:#d71920;color:#fff}
.risen-tag{display:inline-block;background:#f2b544;color:#111;border-radius:6px;padding:1px 7px;font-size:.72rem;font-weight:800;margin-left:6px}

/* Map zone */
.mapzone{border:2px solid #d71920;border-radius:14px;background:#111;color:#ffffff;padding:16px;margin:16px 0}
.mapzone h2{margin:0 0 4px;color:#ffffff}
.mapzone p{color:#ffffff}
.act-row{display:flex;align-items:center;gap:8px;margin:6px 0;font-size:.9rem}
.act-row .nm{flex:0 0 38%;font-weight:700}
.act-bar{flex:1 1 auto;height:14px;background:#333;border:1px solid #f2b544;border-radius:5px;overflow:hidden}
.act-bar i{display:block;height:100%;background:#d71920}
.act-bar i.lvl3{background:#8f1218}
.act-row .n{flex:0 0 auto;font-weight:800;color:#ffffff}
.crown-dot{color:#ffffff;font-weight:900}
.tilemap{display:grid;grid-template-columns:repeat(12,34px);gap:4px;margin:10px 0;overflow-x:auto;padding-bottom:6px}
.tile{width:34px;height:34px;border-radius:6px;border:1px solid #f2b544;background:#1c1c1c;color:#ffffff;font-size:.62rem;font-weight:800;display:flex;align-items:center;justify-content:center}
.tile.hot1{background:#f2b544;color:#111}
.tile.hot2{background:#d71920;color:#fff}
.tile.hot3{background:#8f1218;color:#fff}
.tile .dot{color:#ffffff}

/* Podium */
.podium{display:flex;align-items:flex-end;justify-content:center;gap:10px;margin:18px 0 6px;flex-wrap:wrap}
.pstep{text-align:center;flex:1 1 0;min-width:96px;max-width:190px}
.pstep .card{border:2px solid #f2b544;border-radius:12px;background:#161616;padding:10px 8px;color:#ffffff}
.pstep.first .card{background:#d71920;border-color:#d71920;color:#fff}
.pstep .medal{font-size:1.7rem;line-height:1}
.pstep .alias{font-weight:800;margin:4px 0 2px;word-break:break-word}
.pstep .meta{font-size:.8rem;color:#ffffff}
.pstep.first .meta{color:#ffffff}
.pstep .stand{height:14px;background:#f2b544;border-radius:0 0 8px 8px;margin-top:6px}
.pstep.first .stand{height:22px}
.goldframe{border:3px solid #f2b544 !important;box-shadow:0 0 0 2px #111,0 0 14px #f2b544}

/* Rows */
.rows{margin:10px 0}
.crow{display:flex;align-items:center;gap:10px;border:1px solid #333;border-radius:10px;background:#161616;padding:9px 12px;margin:7px 0;color:#ffffff}
.crow .rk{flex:0 0 2.2em;font-weight:900;color:#ffffff;font-size:1.05rem}
.crow .who{flex:1 1 auto;min-width:0}
.crow .who b{word-break:break-word}
.crow .who small{display:block;color:#ffffff;font-size:.75rem}
.crow .w{flex:0 0 auto;text-align:right;font-weight:800}
.crow .w small{display:block;font-weight:400;color:#ffffff;font-size:.72rem}
.crow.ghost{border-style:dashed;border-color:#f2b544;opacity:.92}
.crow.me{border-color:#d71920;border-width:2px}
.move{font-size:.78rem;font-weight:800}
.move.up{color:#ffffff}
.move.down{color:#ffffff}
.move.new{color:#ffffff}

.strip{border:1px solid #f2b544;border-radius:10px;padding:10px 12px;margin:12px 0;background:#111;color:#ffffff}
.strip h3{margin:0 0 6px;color:#ffffff;font-size:.95rem}
.strip .item{display:inline-block;margin:2px 8px 2px 0;font-size:.88rem}

.newcomers{border:2px dashed #f2b544;border-radius:12px;padding:12px 14px;margin:14px 0;background:#161616;color:#ffffff}
.newcomers h3{margin:0 0 6px;color:#ffffff}
.seed{text-align:center;border:2px solid #d71920;border-radius:14px;background:#111;color:#ffffff;padding:22px 16px;margin:16px 0}
.seed h2{color:#ffffff;margin:0 0 8px}

.race-row{display:flex;align-items:center;gap:8px;margin:7px 0;color:#ffffff}
.race-row .nm{flex:0 0 42%;font-weight:700}
.race-row .n{font-weight:900;color:#ffffff}
table.honors{width:100%;border-collapse:collapse;color:#ffffff}
table.honors td,table.honors th{border-bottom:1px solid #333;padding:7px 6px;text-align:left;font-size:.9rem}
table.honors th{color:#ffffff}
.small{font-size:.85rem}

/* ---- FOOTER TIDY (footer-cleanup pack 2026-11-12, on top of v2) ----
   Root cause of the messy leaderboard footer: css/styles.css carries NO
   .ftr2 rules — every static page ships its own scoped <style> block, and
   leaderboard.php never had one, so its footer rendered unstyled. The
   rules below are the site's canonical footer rules, copied verbatim from
   that scoped block (index.html), plus a margin-top so the footer breathes
   below the board. This file loads only on the leaderboard pages, so the
   fix is scoped to them. Palette unchanged; hovers gold only. */
.ftr2{background:#111;color:#ffffff;text-align:center;padding:40px 20px 32px;border-top:3px solid #d71920;margin-top:28px}
.ftr2-brand{font-size:22px;font-weight:800;letter-spacing:.02em;color:#ffffff}
.ftr2-tag{color:#ffffff;font-size:14px;margin-top:6px}
.ftr2-rule{height:2px;background:#f2b544;max-width:560px;margin:20px auto 26px}
.ftr2-groups{position:static;display:flex;justify-content:center;gap:32px 84px;flex-wrap:wrap;margin:0 auto 26px;max-width:900px}
.ftr2-group h4{margin:0 0 14px;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#ffffff}
.ftr2-group a{display:block;color:#ffffff;text-decoration:none;padding:9px 6px;font-size:15px}
.ftr2-group a:hover{color:#ffffff;text-decoration:underline}
.ftr2-social{margin:10px 0 20px}
.ftr2-follow{color:#ffffff;font-size:13px;margin-right:2px}
.ftr2 .soc-ico{color:#ffffff;display:inline-flex;padding:12px;vertical-align:middle}
.ftr2 .soc-ico svg{width:24px;height:24px}
.ftr2 .soc-ico:hover{color:#ffffff}
.ftr2-bottom{font-size:14px;color:#ffffff}
.ftr2-bottom a{color:#ffffff;text-decoration:none;font-weight:700}
.ftr2-bottom a:hover{text-decoration:underline}
@media (max-width:700px){.ftr2-groups{flex-direction:column;align-items:center;gap:30px}.ftr2{padding:36px 16px 30px}}

/* ---- VENUE CLIMB + THREE-WAY DUAL (Brian 2026-11-15) ----
   A second version of The Climb for HOUSE VENUES, flipped by a
   three-way dual: CREATORS / CUSTOMERS / VENUES. The toggle buttons
   take the store-button standard, same as the dual map: black #111
   field, red #d71920 trim INSIDE (2px border), gold #f2b544 line
   OUTSIDE (2px outline, offset 3px), WHITE lettering; the active
   side keeps the same style with a heavier gold outline — never a
   solid red fill. Race-line order: gold outside, red inside. */
.climb-dual{display:flex;flex-direction:row;gap:12px;flex-wrap:wrap;margin:16px 0 8px;position:static}
.climb-dual .dual-btn{flex:1 1 28%;text-align:center;padding:10px 6px;border:2px solid #d71920;outline:2px solid #f2b544;outline-offset:3px;border-radius:10px;color:#fff;font-weight:700;font-size:.92rem;background:#111;opacity:.86;cursor:pointer;font-family:inherit}
.climb-dual .dual-btn:hover{opacity:1}
.climb-dual .dual-btn.on{background:#111;border-color:#d71920;color:#fff;opacity:1;outline-width:3px}
.climb-dual .dual-btn small{display:block;font-weight:400;font-size:.72rem;color:#ffffff}
.climb-dual .dual-btn.on small{color:#fff}
/* The venue division filter uses <button>s inside the existing
   .climb-nav row — give them the same store-button face as the <a>s. */
.climb-nav button{flex:1 1 26%;text-align:center;padding:10px 6px;border:2px solid #d71920;outline:2px solid #f2b544;outline-offset:3px;border-radius:10px;color:#fff;font-weight:700;font-size:.92rem;background:#111;opacity:.86;cursor:pointer;font-family:inherit}
.climb-nav button:hover{opacity:1}
.climb-nav button.on{background:#111;color:#fff;opacity:1;outline-width:3px}
.climb-nav button small{display:block;font-weight:400;font-size:.72rem;color:#ffffff}
.climb-nav button.on small{color:#fff}
/* POSITION FIX (found in real-browser testing, 2026-11-15):
   css/styles.css carries a global mobile rule — nav{position:absolute;
   top:62px; left:0; right:0} inside its max-width:700px block, meant
   for the header dropdown. Every <nav> on this page inherits it,
   including .climb-nav and the new .climb-dual: on phone-width
   screens they were pulled out of flow and overlapped the page top.
   Pin all of this page's navs back into the flow. */
.climb-nav{position:static}
/* [hidden] must win over .crow's display:flex and the side wrappers. */
#side-players[hidden],#side-creators[hidden],#side-venues[hidden],.vrow[hidden]{display:none!important}

/* ---- WHITE LETTERING SWEEP (Brian 2026-11-15, ~15:26 CT) ----
   "All the text inside the racing stripes needs to be completely
   white." Body lettering inside racing-stripe boxes is WHITE #ffffff
   on BOTH sides of the dual leaderboard (players + creators + house
   venues), superseding the cream #f7f2e8 module lettering of the
   2026-11-13 standard for these boxes. Gold and red stay ONLY as
   accent lettering (headings, rank numbers, labels) per the standing
   exceptions. EXTENDED the same day by Brian: the RED HEADINGS and
   GOLD EYEBROW LABELS inside striped boxes are white too — ALL text
   inside a striped box is white, no accent exceptions inside the
   boxes. (Store-button sublabels keep the store-button standard;
   text outside the boxes is untouched.) This section also makes the
   waiting / unclaimed-state text WHITE — the .seed boxes carry it on
   every board, including the player Country board's "The national
   board is waiting" state and the venue board's "The house board is
   waiting" state. */
.rung-step{color:#ffffff}
.rung-step .gate{color:#ffffff}
.mapzone{color:#ffffff}
.mapzone p{color:#ffffff}
.seed{color:#ffffff}
.seed p{color:#ffffff}
.strip{color:#ffffff}
.you-card{color:#ffffff}
.you-card h2{color:#ffffff}
.newcomers{color:#ffffff}
.pstep .card{color:#ffffff}
.pstep.first .meta{color:#ffffff}
.crow{color:#ffffff}
.crow .w small{color:#ffffff}
.chip{color:#ffffff}
.race-row{color:#ffffff}
table.honors{color:#ffffff}
#side-creators .small,#side-venues .small{color:#ffffff}
.rung-step b{color:#ffffff}
.mapzone h2{color:#ffffff}
.seed h2{color:#ffffff}
.strip h3{color:#ffffff}
.newcomers h3{color:#ffffff}
.pstep .card h3{color:#ffffff}
.podium .place{color:#ffffff}
table.honors th{color:#ffffff}

/* STORE BUTTONS — Jobs 5, 8, 9, 10b, 11 (Brian, 2026-11-16). Canonical store standard: black #111 field, red #d71920 border INSIDE, gold #f2b544 outline OUTSIDE, WHITE lettering. */
.nest-band{background:#111;border:2px solid #d71920;outline:2px solid #f2b544;outline-offset:2px;border-radius:10px;padding:10px 12px;margin:0 0 10px}
.rung-step b{display:inline-block;background:#111;color:#fff;border:2px solid #d71920;outline:2px solid #f2b544;outline-offset:2px;border-radius:10px;padding:6px 12px}
.you-card .chip{background:#111;color:#fff;border:2px solid #d71920;outline:2px solid #f2b544;outline-offset:2px;border-radius:10px;padding:6px 12px;font-size:.85rem;font-weight:800}
.you-card .chip.gold{color:#fff}
.tilemap{display:flex;flex-wrap:nowrap;gap:6px;margin:10px 0;overflow-x:auto;padding-bottom:10px}
.tilemap .tile{flex:1 1 0;min-width:26px;width:auto;height:34px;background:#111;color:#fff;border:2px solid #d71920;outline:2px solid #f2b544;outline-offset:2px}
.tilemap .tile.hot1,.tilemap .tile.hot2,.tilemap .tile.hot3{background:#111;color:#fff}
.store-btn,.page .button.store-btn{display:inline-block;background:#111;color:#fff;border:2px solid #d71920;outline:2px solid #f2b544;outline-offset:3px;border-radius:10px;padding:10px 16px;font-weight:800;text-decoration:none;cursor:pointer;text-align:center}
.store-btn:hover,.page .button.store-btn:hover{color:#fff;text-decoration:none;background:#111}
.ftr2-brand img,.ftr2-name img{height:54px;width:auto;display:block;margin:0 auto}
