/* The battle pass (board #74, v2 for #88), the reward cards the inventory and the shop reuse, and the skins and
   finishes that change the whole desk. Markup: pass.js. Type stays locked: Caslon 400 for the season name, tier
   numbers and reward names; Inter for everything else. Colours come from the desk's tokens (style.css) with the same
   values as fallbacks, so the preview page works without style.css. Rarity = the five card tiers; glow, trim and foil
   rise with rarity, and the rarity word is always printed.
   Motion: one language. Selection springs (150 ms), the plinth settles (220 ms), claims wind up and land (560-760 ms),
   the reveal sheet turns cards over one by one (700 ms each, 60-110 ms apart). Reduced motion keeps every state change
   as a fade and drops travel, loops and turns. */
.bp-host, .inv-host, .shop-host { container-type: inline-size; }
.bp-host { overflow-x: hidden; } /* QA v3: the stage's soft backdrop bleeds past the edge; it must never make the section scroll sideways */
.bp-host, .inv, .shop, .bp-claim {
  --bp-bone: var(--bone, #ece4d8);
  --bp-ink2: var(--bone-2, #b9b0a5);
  --bp-ink3: var(--bone-3, #847b72);
  --bp-line: var(--line, rgba(236, 228, 216, .14));
  --bp-line-hi: var(--line-hi, rgba(236, 228, 216, .26));
  --bp-gold: var(--t-titan, #f0c870);
  --bp-gilt: linear-gradient(180deg, #f6dc94, #c99a45 62%, #a77b2c);
  --bp-surface: var(--surface, linear-gradient(180deg, rgba(15, 10, 11, .9), rgba(6, 4, 5, .88)));
  --bp-edge: var(--edge, inset 0 0 0 1px rgba(236, 228, 216, .14), inset 0 1px 0 rgba(255, 238, 214, .07));
  --bp-shadow: var(--shadow-1, 0 16px 40px rgba(0, 0, 0, .45));
  --bp-grain: var(--grain, none);
  --bp-dots: radial-gradient(rgba(236, 228, 216, .045) .8px, transparent 1.2px) 0 0 / 4px 4px; /* the print halftone */
  --bp-spring: cubic-bezier(.3, 1.3, .5, 1);
  --bp-out: var(--ease, cubic-bezier(.23, 1, .32, 1));
  --bp-in-out: var(--ease-in-out, cubic-bezier(.77, 0, .175, 1));
  --bp-serif: var(--serif, "Libre Caslon Text", "Times New Roman", Georgia, serif);
  --bp-sans: var(--sans, Inter, -apple-system, "Helvetica Neue", Arial, sans-serif);
  --holo: linear-gradient(115deg, #E59CA9, #C7A45A 25%, #6E9B81 50%, #618FBF 75%, #9876C7);
  --rw-w: 112px;
  --rw-h: 150px;
  --gap: 12px;
  --fr: .84; /* the free row's cards, smaller than the VIP row's */
  --fr-h: calc(var(--rw-h) * var(--fr));
  color: var(--bp-bone);
  font-family: var(--bp-sans);
}
.rr-mortal { --rc: var(--t-mortal, #cfc6bb); --glow: .12; --halo: 0px; }
.rr-hero { --rc: var(--t-hero, #8fdcae); --glow: .2; --halo: 0px; }
.rr-oracle { --rc: var(--t-oracle, #8cbcff); --glow: .28; --halo: 12px; }
.rr-demigod { --rc: var(--t-demigod, #c9a2ff); --glow: .34; --halo: 16px; }
.rr-titan { --rc: var(--t-titan, #f0c870); --glow: .42; --halo: 20px; }
.rr-mythic { --rc: var(--t-mythic, #ff2a40); --glow: .5; --halo: 24px; } /* #167 the red tier above Titan (the Mythic packs past tier 50) */
:is(.bp-host, .inv, .shop) .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ================= buttons (shared with the inventory and the shop) ================= */
.bp-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--r-md, 8px);
  background: rgba(236, 228, 216, .06); box-shadow: inset 0 0 0 1px var(--bp-line-hi); color: var(--bp-bone); font: 600 15px/1.15 var(--bp-sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 120ms var(--bp-out), filter 150ms ease; }
.bp-btn svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bp-btn small { display: block; font: 500 12.5px/1.2 var(--bp-sans); opacity: .78; }
.bp-btn:has(small) { flex-direction: column; gap: 1px; }
.bp-btn em { min-width: 22px; padding: 3px 7px; border-radius: 999px; background: rgba(28, 19, 6, .82); color: #f6dfa6; font: 600 13px/1 var(--bp-sans); font-style: normal; font-variant-numeric: tabular-nums; }
.bp-btn:active:not(:disabled) { transform: scale(.97); }
.bp-btn:focus-visible { outline: 2px solid var(--focus, #f3d3a3); outline-offset: 3px; }
.bp-btn.is-gold { background: var(--bp-gilt); color: #1c1306; box-shadow: inset 0 1px 0 rgba(255, 250, 230, .65), inset 0 -2px 0 rgba(80, 52, 12, .35), 0 6px 18px rgba(201, 154, 69, .26); }
.bp-btn.is-gold:disabled { background: rgba(236, 228, 216, .05); color: var(--bp-ink3); box-shadow: inset 0 0 0 1px var(--bp-line); cursor: default; }
.bp-btn.is-vip { background: linear-gradient(180deg, rgba(240, 200, 112, .14), rgba(240, 200, 112, .04)); color: #f6dfa6; box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .5), 0 0 20px rgba(240, 200, 112, .08); }
.bp-btn.is-quiet { background: rgba(8, 6, 7, .5); }
.bp-btn.is-on { box-shadow: inset 0 0 0 1px var(--bp-gold); color: var(--bp-gold); }
.bp-btn.is-wide { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .bp-btn:hover:not(:disabled) { background-color: rgba(236, 228, 216, .11); }
  .bp-btn.is-gold:hover:not(:disabled) { filter: brightness(1.07); }
  .bp-btn.is-vip:hover { box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .85), 0 0 26px rgba(240, 200, 112, .18); }
}
.bp-done, .bp-need { display: flex; align-items: flex-start; gap: 8px; margin: 0; font: 400 14.5px/1.45 var(--bp-sans); color: var(--bp-ink2); }
.bp-done svg, .bp-need svg { flex: none; width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.bp-done { color: var(--t-hero, #8fdcae); }
.bp-kicker { margin: 0; font: 500 15px/1.2 var(--bp-sans); color: var(--bp-gold); }

/* ================= the reward card (also the inventory's and the shop's item card) =================
   Neutral charcoal card stone with the print halftone, an inner frame line and a round window like the artist cards'
   portrait circle; trim, glow and foil rise with rarity (art bible). */
.rw { --s: 1; position: relative; display: block; width: var(--rw-w); height: var(--rw-h); margin: 0; padding: 0; border: 0; border-radius: 10px;
  color: var(--bp-bone); text-align: center; font: inherit; cursor: pointer; isolation: isolate; overflow: hidden;
  background: radial-gradient(70% 46% at 50% 40%, color-mix(in oklab, var(--rc) calc(var(--glow) * 100%), transparent), transparent 72%), var(--bp-dots), linear-gradient(180deg, #1c1719, #0c0a0b 78%);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--rc) calc(20% + var(--glow) * 80%), transparent), inset 0 1px 0 rgba(255, 238, 214, .08), 0 10px 20px rgba(0, 0, 0, .38), 0 0 var(--halo) -6px var(--rc);
  transition: box-shadow 160ms ease, filter 160ms ease, transform 160ms var(--bp-out); }
.rw:focus-visible { outline: none; }
.rw::before { content: ""; position: absolute; inset: calc(5px * var(--s)); z-index: -1; border-radius: calc(7px * var(--s)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--rc) 30%, rgba(236, 228, 216, .1)); pointer-events: none; }
.rw-face { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; padding: calc(12px * var(--s)) calc(4px * var(--s)) calc(10px * var(--s)); }
.rw-art { position: relative; display: grid; place-items: center; align-self: center; width: 100%; height: 100%; min-height: 0; transition: transform 160ms var(--bp-out), opacity 160ms ease, filter 160ms ease; }
.rw-foot { display: grid; gap: 1px; min-width: 0; max-width: 100%; }
.rw-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 calc(14px * var(--s))/1.2 var(--bp-serif); color: var(--bp-bone); }
.rw-rarity { letter-spacing: -.005em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 calc(11px * var(--s))/1.25 var(--bp-sans); color: var(--rc); }
/* titans carry the slow holo sheen (art bible: restrained holo, the same overlay on every tier's top rank) */
.rw-shine { position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; }
.rr-titan .rw-shine, .rr-mythic .rw-shine { background: linear-gradient(115deg, transparent 32%, rgba(229, 156, 169, .13) 41%, rgba(199, 164, 90, .17) 47%, rgba(110, 155, 129, .12) 53%, rgba(97, 143, 191, .13) 59%, rgba(152, 118, 199, .12) 65%, transparent 74%) 0 0 / 260% 100%;
  mix-blend-mode: screen; animation: rw-sheen 8s linear infinite; }
@keyframes rw-sheen { to { background-position: -260% 0; } }

/* each kind has its own face ------------------------------------------------------------------------------------
   skins + finishes: a little plate of the desk lit in the skin's colour: the menu's lit line and a main button */
.rw-plate i { position: relative; display: block; width: calc(78px * var(--s)); height: calc(62px * var(--s)); border-radius: calc(6px * var(--s)); overflow: hidden;
  background: radial-gradient(90% 70% at 70% 0%, color-mix(in oklab, var(--sw, #b3141d) 42%, transparent), transparent 72%), var(--bp-dots), linear-gradient(180deg, #1d1718, #0b0909);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--sw, #b3141d) 45%, rgba(236, 228, 216, .12)), inset 0 1px 0 rgba(255, 238, 214, .1), 0 8px 16px rgba(0, 0, 0, .55), 0 0 calc(20px * var(--s)) -6px var(--sw, transparent); }
.rw-plate em { position: absolute; left: calc(13px * var(--s)); top: calc(9px * var(--s)); width: calc(24px * var(--s)); height: calc(3px * var(--s)); border-radius: 2px; background: rgba(236, 228, 216, .22);
  box-shadow: 0 calc(7px * var(--s)) 0 rgba(236, 228, 216, .12), 0 calc(14px * var(--s)) 0 rgba(236, 228, 216, .12); }
.rw-plate em::before { content: ""; position: absolute; left: calc(-6px * var(--s)); top: calc(-1px * var(--s)); width: calc(2px * var(--s)); height: calc(5px * var(--s)); border-radius: 1px; background: color-mix(in oklab, var(--sw, #cf1c26) 85%, #fff); box-shadow: 0 0 6px var(--sw, #cf1c26); }
.rw-plate b { position: absolute; left: 50%; bottom: calc(9px * var(--s)); width: calc(50px * var(--s)); height: calc(16px * var(--s)); margin-left: calc(-25px * var(--s)); border-radius: calc(3px * var(--s));
  background: linear-gradient(160deg, color-mix(in oklab, var(--sw, #b2272d) 92%, #fff), color-mix(in oklab, var(--sw, #b2272d) 66%, #000) 62%, color-mix(in oklab, var(--sw, #b2272d) 44%, #000));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--sw, #b2272d) 60%, #fff 30%), inset 0 1px 0 rgba(255, 240, 220, .3), 0 3px 8px rgba(0, 0, 0, .5); }
.rw-plate b::after { content: ""; position: absolute; left: 30%; right: 30%; top: 45%; height: calc(2px * var(--s)); border-radius: 1px; background: rgba(255, 243, 228, .7); } /* the button's label */
.rw-plate.is-skin i { width: calc(72px * var(--s)); height: calc(86px * var(--s));
  background: radial-gradient(90% 60% at 60% 0%, color-mix(in oklab, var(--sw) 30%, transparent), transparent 70%), linear-gradient(180deg, transparent 45%, rgba(8, 6, 7, .85)),
    linear-gradient(var(--sw), var(--sw)), var(--scene) 62% 30% / cover no-repeat, #0b0909;
  background-blend-mode: normal, normal, color, normal, normal; }
.rw-plate.is-skin.is-holo i { background: linear-gradient(180deg, transparent 45%, rgba(8, 6, 7, .85)), linear-gradient(115deg, #E59CA9, #C7A45A 25%, #6E9B81 50%, #618FBF 75%, #9876C7), var(--scene) 62% 30% / cover no-repeat, #0b0909;
  background-blend-mode: normal, color, normal, normal; }
.rw-plate.is-skin em { top: auto; bottom: calc(31px * var(--s)); left: calc(12px * var(--s)); width: calc(18px * var(--s)); background: rgba(236, 228, 216, .3); box-shadow: none; }
/* QA: a skin's button carries its name (pass.js), so the plate reads as the real thing, not a placeholder bar */
.rw-plate.is-skin b { display: block; text-align: center; width: auto; min-width: calc(44px * var(--s)); max-width: calc(64px * var(--s)); left: 50%; margin-left: 0; transform: translateX(-50%); padding: calc(4.3px * var(--s)) calc(5px * var(--s)); box-sizing: border-box;
  height: auto; min-height: calc(16px * var(--s)); overflow: hidden; overflow-wrap: break-word; font: 700 calc(6.4px * var(--s))/calc(7.4px * var(--s)) var(--bp-sans); letter-spacing: .1em; text-transform: uppercase; color: #fff7ec; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); }
.rw-plate.is-skin b:not(:empty)::after { content: none; } /* a long name (Black & White) takes two lines instead of clipping */
.rw-plate.is-skin.is-holo b { color: #1f160c; text-shadow: 0 1px 0 rgba(255, 246, 224, .45); }
.rw-plate.is-holo b { background: linear-gradient(115deg, #e8a9b4, #d8b56c 25%, #86b399 50%, #7fa6d3 75%, #ab8fd8); }
.rw-plate.is-holo i { background: radial-gradient(90% 70% at 70% 0%, rgba(201, 162, 255, .35), transparent 72%), var(--bp-dots), linear-gradient(180deg, #1d1718, #0b0909); }
.rw-plate.is-holo b::after { background: rgba(27, 19, 10, .6); }
/* finishes: one of the desk's main buttons, large, made with that finish, standing on a sliver of marble */
.rw-finish { align-content: center; gap: calc(9px * var(--s)); }
.rw-finish b { position: relative; display: block; width: calc(80px * var(--s)); height: calc(28px * var(--s)); border-radius: calc(5px * var(--s)); overflow: hidden;
  background: linear-gradient(160deg, #c2343a, #7c1720 58%, #4e0d15); box-shadow: inset 0 0 0 1px rgba(214, 140, 118, .75), inset 0 1px 0 rgba(255, 226, 187, .4), 0 8px 16px rgba(0, 0, 0, .6); }
.rw-finish b::after { content: ""; position: absolute; left: 28%; right: 28%; top: 46%; height: calc(2px * var(--s)); border-radius: 1px; background: rgba(255, 243, 228, .75); } /* the button's label */
.rw-finish > i { display: block; width: calc(92px * var(--s)); height: calc(7px * var(--s)); border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 228, 216, .16), transparent); }
.fin-engraved b { background: linear-gradient(115deg, rgba(255, 236, 214, .18), transparent 40%), linear-gradient(160deg, #c2343a, #7c1720 58%, #4e0d15); }
.fin-engraved b::before { content: ""; position: absolute; inset: calc(3px * var(--s)); border-radius: 3px; border: 1px solid rgba(255, 236, 214, .6); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .3), inset 0 0 0 calc(3px * var(--s)) rgba(255, 236, 214, .08); }
.fin-gilt b { box-shadow: inset 0 0 0 calc(2px * var(--s)) #e9c877, inset 0 0 0 calc(3.5px * var(--s)) rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 226, 187, .4), 0 0 18px rgba(240, 200, 112, .5), 0 8px 16px rgba(0, 0, 0, .6); }
.fin-ember b { overflow: visible; animation: rw-ember 3.2s ease-in-out infinite; }
@keyframes rw-ember { 50% { box-shadow: inset 0 0 0 1px rgba(255, 170, 120, .85), 0 0 calc(22px * var(--s)) rgba(224, 80, 40, .85), 0 8px 16px rgba(0, 0, 0, .6); } }
.fin-ember b::before { content: ""; position: absolute; left: 20%; right: 20%; bottom: 80%; height: calc(26px * var(--s)); pointer-events: none; /* a few rising sparks */
  background: radial-gradient(circle, #ffb070 0 1.2px, transparent 1.8px) 10% 100% / 30% 40% no-repeat, radial-gradient(circle, #ffd29a 0 1px, transparent 1.6px) 55% 70% / 30% 40% no-repeat, radial-gradient(circle, #ff8a50 0 1.3px, transparent 1.9px) 90% 90% / 30% 40% no-repeat;
  animation: rw-sparks 2.6s ease-out infinite; }
@keyframes rw-sparks { 0% { opacity: 0; transform: translateY(10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }
.fin-foil b::before { content: ""; position: absolute; inset: 0; background: var(--holo) 0 0 / 300% 100%; mix-blend-mode: soft-light; opacity: 1; animation: rw-sheen 5s linear infinite; }
.fin-patina b { background: radial-gradient(120% 90% at 0% 100%, rgba(94, 170, 140, .55), transparent 55%), radial-gradient(90% 80% at 100% 0%, rgba(94, 170, 140, .35), transparent 60%), linear-gradient(160deg, #a8703c, #6e4320 58%, #3e240f);
  box-shadow: inset 0 0 0 calc(1.5px * var(--s)) #7fbfa5, inset 0 0 0 calc(3px * var(--s)) rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 226, 187, .35), 0 0 16px rgba(94, 170, 140, .35), 0 8px 16px rgba(0, 0, 0, .6); }
.fin-foil b { box-shadow: inset 0 0 0 1px rgba(236, 228, 216, .6), inset 0 1px 0 rgba(255, 240, 220, .5), 0 0 16px rgba(201, 162, 255, .35), 0 8px 16px rgba(0, 0, 0, .6); }
/* boosts: a struck coin, its metal tinted by rarity, the number in Caslon */
.rw-boost i { position: relative; display: grid; place-items: center; align-content: center; gap: calc(2px * var(--s)); width: calc(66px * var(--s)); height: calc(66px * var(--s)); border-radius: 50%; font-style: normal;
  --metal: color-mix(in oklab, var(--rc) 45%, #b48a4a);
  background: radial-gradient(circle at 34% 28%, color-mix(in oklab, var(--metal) 45%, #fff6e0), var(--metal) 45%, color-mix(in oklab, var(--metal) 50%, #000) 100%);
  box-shadow: inset 0 0 0 calc(3px * var(--s)) color-mix(in oklab, var(--metal) 70%, #000), inset 0 0 0 calc(4px * var(--s)) color-mix(in oklab, var(--metal) 55%, #fff), inset 0 calc(-4px * var(--s)) calc(10px * var(--s)) rgba(0, 0, 0, .35), 0 6px 14px rgba(0, 0, 0, .6), 0 0 calc(18px * var(--s)) -4px var(--rc); }
.rw-boost b { font: 400 calc(19px * var(--s))/1 var(--bp-serif); color: color-mix(in oklab, var(--metal) 30%, #1a1208); text-shadow: 0 1px 0 rgba(255, 246, 224, .45); font-variant-numeric: lining-nums; }
.rw-boost small { font: 700 calc(8.5px * var(--s))/1 var(--bp-sans); letter-spacing: .08em; color: color-mix(in oklab, var(--metal) 35%, #1a1208); }
/* packs: the pack itself, tilted, with the count on a tag */
.rw-pack::before { content: ""; position: absolute; left: 50%; top: 50%; width: 80%; height: 70%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--rc) 30%, transparent), transparent); }
.rw-pack img { position: relative; z-index: 1; height: calc(86px * var(--s)); width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); transform: rotate(-5deg); }
/* QA: the pack art's two printed plates carry its label, as the desk's booster does (pack3d.css .b-plate): the IRIS
   wordmark and the pack's name on the big plate, its size on the small one. The wrapper tilts as one piece. */
.rw-pk { position: relative; z-index: 1; display: block; height: calc(86px * var(--s)); aspect-ratio: 2 / 3; container-type: inline-size; transform: rotate(-5deg); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.rw-pk img { position: static; display: block; width: 100%; height: 100%; transform: none; filter: none; }
.rw-pk-plate { position: absolute; left: 14%; right: 14%; top: 38.5%; height: 17.8%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2cqw;
  background: radial-gradient(closest-side, rgba(6, 4, 5, .5), transparent); }
.rw-pk-plate b { font: 400 15cqw/1 var(--wordmark, serif); letter-spacing: .12em; padding-left: .12em; color: #efe6d8; text-shadow: 0 .4cqw 1.2cqw rgba(0, 0, 0, .8); }
.rw-pk-plate small { font: 700 6.2cqw/1 var(--bp-sans); letter-spacing: .08em; padding-left: .08em; text-transform: uppercase; white-space: nowrap; color: #d9cdbb; text-shadow: 0 .3cqw .8cqw rgba(0, 0, 0, .85); }
.rw-pk-sub { position: absolute; left: 20%; right: 20%; top: 78.6%; height: 8%; display: grid; place-items: center; white-space: nowrap;
  font: 700 4.6cqw/1 var(--bp-sans); letter-spacing: .24em; padding-left: .24em; text-transform: uppercase; color: color-mix(in oklab, var(--rc, #c9a45a) 55%, #efe6d8); }
/* the same pack drawn by another module without the wrapper (Inventory): at least the wordmark on its plate */
.rw-pack:not(:has(.rw-pk))::after { content: "IRIS"; position: absolute; z-index: 2; left: 50%; top: 50%; width: calc(57.3px * var(--s)); height: calc(86px * var(--s));
  box-sizing: border-box; padding-top: calc(86px * var(--s) * .385); transform: translate(-50%, -50%) rotate(-5deg); text-align: center; pointer-events: none;
  font: 400 calc(8.6px * var(--s))/calc(86px * var(--s) * .178) var(--wordmark, serif); letter-spacing: .12em; text-indent: .12em; color: #efe6d8; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.rw-pack em { position: absolute; z-index: 2; left: 50%; bottom: calc(2px * var(--s)); margin-left: calc(14px * var(--s)); padding: calc(3px * var(--s)) calc(6px * var(--s)); border-radius: 999px; background: #0b0809;
  box-shadow: inset 0 0 0 1px var(--rc); color: var(--bp-bone); font: 600 calc(11px * var(--s))/1 var(--bp-sans); font-style: normal; }
/* Hours (board #150): Codex's hourglass coin (one Hour) or a few coins (more), the amount on a tag like a pack's count */
.rw-hours::before { content: ""; position: absolute; left: 50%; top: 50%; width: 80%; height: 70%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklab, var(--rc) 28%, transparent), transparent); }
.rw-hours img { position: relative; z-index: 1; width: calc(74px * var(--s)); height: calc(74px * var(--s)); object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6)); }
.rw-hours em { position: absolute; z-index: 2; left: 50%; bottom: calc(2px * var(--s)); margin-left: calc(14px * var(--s)); padding: calc(3px * var(--s)) calc(6px * var(--s)); border-radius: 999px; background: #0b0809;
  box-shadow: inset 0 0 0 1px var(--rc); color: var(--bp-bone); font: 600 calc(11px * var(--s))/1 var(--bp-sans); font-style: normal; font-variant-numeric: lining-nums; }
/* card backs: the card's silhouette in its frame, the emblem waiting; big copies get "Art coming" stamped across */
.rw-back i { position: relative; display: block; width: calc(52px * var(--s)); height: calc(76px * var(--s)); border-radius: calc(5px * var(--s));
  background: radial-gradient(60% 40% at 50% 50%, color-mix(in oklab, var(--rc) 22%, transparent), transparent 75%), var(--bp-dots), linear-gradient(180deg, #1f1416, #0a0708);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--rc) 65%, transparent), inset 0 0 0 calc(4px * var(--s)) rgba(10, 6, 7, .85), inset 0 0 0 calc(5px * var(--s)) color-mix(in oklab, var(--rc) 30%, transparent), 0 6px 14px rgba(0, 0, 0, .6); transform: rotate(-4deg); }
.rw-back i::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(10px * var(--s)); height: calc(10px * var(--s)); transform: translate(-50%, -50%) rotate(45deg); box-shadow: inset 0 0 0 1px var(--rc), 0 0 10px color-mix(in oklab, var(--rc) 60%, transparent); }
.rw-back small { display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-14deg); padding: calc(2px * var(--s)) calc(6px * var(--s)); border-radius: 2px; white-space: nowrap;
  font: 600 calc(8.5px * var(--s))/1.2 var(--bp-sans); letter-spacing: .06em; color: rgba(236, 228, 216, .7); background: rgba(10, 8, 9, .82); box-shadow: inset 0 0 0 1px rgba(236, 228, 216, .3); }
:is(.is-big, .is-shop) .rw-back small { display: block; }
.rw.is-face .rw-badge { display: none; }
/* the meeting: an E & J seal in gold on oxblood, the one card on the road with both house colours */
.rk-meeting { background: radial-gradient(70% 50% at 50% 38%, rgba(143, 28, 41, .55), transparent 75%), var(--bp-dots), linear-gradient(180deg, #24111a, #0c0709 78%);
  box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .75), inset 0 1px 0 rgba(255, 238, 214, .1), 0 10px 20px rgba(0, 0, 0, .38), 0 0 22px -4px rgba(240, 200, 112, .55); }
.rk-meeting::before { box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .4); }
.rw-meeting { grid-auto-flow: column; gap: 0; width: calc(64px * var(--s)); height: calc(64px * var(--s)); border-radius: 50%; background: radial-gradient(circle at 50% 35%, #7d1a25, #2a080d 80%);
  box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .8), inset 0 2px 8px rgba(0, 0, 0, .6), 0 0 0 calc(3px * var(--s)) rgba(7, 5, 6, .8), 0 0 0 calc(3px * var(--s) + 1px) rgba(240, 200, 112, .45), 0 0 calc(18px * var(--s)) rgba(240, 200, 112, .3); }
.rw-meeting b { font: 400 calc(22px * var(--s))/1 var(--bp-serif); color: #f6dc94; text-shadow: 0 1px 0 rgba(0, 0, 0, .5); }
.rw-meeting small { margin: 0 calc(2px * var(--s)); font: italic 400 calc(13px * var(--s))/1 var(--bp-serif); color: rgba(246, 220, 148, .7); }
.rk-meeting .rw-rarity { color: #f6dc94; }
/* group 12: Codex's wax seal (a council table on oxblood wax) takes the E & J's place: the whole seal, centred, its wax
   edge never cropped (object-fit: contain in a square a little larger than the old round seal) */
.rw-meeting.has-seal { width: calc(78px * var(--s)); height: calc(78px * var(--s)); border-radius: 0; background: none; box-shadow: none; }
.rw-meeting.has-seal img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%;
  filter: drop-shadow(0 calc(3px * var(--s)) calc(5px * var(--s)) rgba(0, 0, 0, .6)) drop-shadow(0 0 calc(10px * var(--s)) rgba(240, 200, 112, .22)); }

/* states: ready, claimed, locked, needs VIP */
.rw-badge { position: absolute; top: calc(8px * var(--s)); right: calc(8px * var(--s)); z-index: 3; display: grid; place-items: center; width: calc(19px * var(--s)); height: calc(19px * var(--s)); border-radius: 50%; }
.rw-badge svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.rw.is-claimed .rw-badge, .rw.is-owned .rw-badge { background: rgba(10, 8, 9, .85); color: var(--t-hero, #8fdcae); box-shadow: inset 0 0 0 1px rgba(143, 220, 174, .5); }
.rw.is-locked .rw-art { opacity: .6; filter: saturate(.45) brightness(.85); }
.rw.is-locked .rw-foot { opacity: .62; }
.rw.is-big.is-locked .rw-art { opacity: .85; filter: saturate(.7); }
.rw.is-big.is-locked .rw-foot { opacity: .85; }
.rw.is-locked .rw-badge { color: var(--bp-ink3); background: rgba(0, 0, 0, .55); }
.rw.is-locked:is(.rr-titan, .rr-mythic) .rw-shine { opacity: .35; }
.rw.is-premium .rw-art { opacity: .72; filter: saturate(.7); }
.rw.is-premium .rw-badge { color: var(--bp-gold); background: rgba(0, 0, 0, .6); box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .45); }
.rw.is-claimable { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--rc) 70%, transparent), inset 0 1px 0 rgba(255, 238, 214, .12), 0 0 0 1.5px rgba(240, 200, 112, .7), 0 0 24px rgba(240, 200, 112, .26), 0 10px 20px rgba(0, 0, 0, .38); }
.rw-ready { position: absolute; top: calc(9px * var(--s)); left: 50%; z-index: 3; width: 8px; height: 8px; margin-left: -4px; transform: rotate(45deg); background: #f6dc94; box-shadow: 0 0 10px rgba(240, 200, 112, .9); animation: rw-ready 2.6s ease-in-out infinite; }
@keyframes rw-ready { 50% { opacity: .45; box-shadow: 0 0 4px rgba(240, 200, 112, .5); } }
.rw-none { display: block; width: var(--rw-w); height: var(--rw-h); }
.rw-none { position: relative; }
.rw-none::before { content: ""; position: absolute; left: 50%; bottom: 6px; width: 46px; height: 9px; margin-left: -23px; border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 228, 216, .07), transparent); box-shadow: inset 0 1px 0 rgba(236, 228, 216, .06); }
@media (hover: hover) and (pointer: fine) { .bp-cols .rw:hover, .iv-grid .rw:hover, .sh-grid .rw:hover { filter: brightness(1.1); } }
.rw.is-picked { transform: translateY(-3px); }
.rw.is-picked .rw-art { transform: scale(1.06); }
.rw.is-picked.is-locked .rw-art, .rw.is-picked.is-locked .rw-foot { opacity: .8; }

/* feedback: a short shake when it can't be claimed, a nudge at the ends of the road */
.rw.is-deny { animation: rw-deny 260ms ease-out; }
@keyframes rw-deny { 20% { transform: translate(-5px, -3px); } 40% { transform: translate(5px, -3px); } 60% { transform: translate(-3px, -3px); } 80% { transform: translate(2px, -3px); } }
.rw.bump-left { animation: rw-bump-l 170ms ease-out; } .rw.bump-right { animation: rw-bump-r 170ms ease-out; }
.rw.bump-up { animation: rw-bump-u 170ms ease-out; } .rw.bump-down { animation: rw-bump-d 170ms ease-out; }
@keyframes rw-bump-l { 40% { transform: translate(-4px, -3px); } } @keyframes rw-bump-r { 40% { transform: translate(4px, -3px); } }
@keyframes rw-bump-u { 40% { transform: translateY(-7px); } } @keyframes rw-bump-d { 40% { transform: translateY(1px); } }

/* the claim on the road: a small wind-up, a lift into the light, a sweep of gilt light across, the seal stamped on */
.rw.is-claiming { animation: rw-claim 640ms var(--bp-out); }
@keyframes rw-claim { 0% { transform: translateY(-3px); } 14% { transform: translateY(-1px) scale(.95); } 46% { transform: translateY(-8px) scale(1.06); filter: brightness(1.45); } 100% { transform: translateY(-3px); } }
.rw.is-claiming .rw-shine { background: linear-gradient(105deg, transparent 30%, rgba(255, 236, 190, .55) 48%, transparent 66%) 0 0 / 300% 100% no-repeat; mix-blend-mode: screen; animation: rw-sweep 700ms 80ms var(--bp-in-out) both; }
@keyframes rw-sweep { from { background-position: 120% 0; } to { background-position: -40% 0; } }
.rw.is-claiming .rw-badge { animation: rw-stamp 380ms 260ms var(--bp-spring) both; }
@keyframes rw-stamp { from { opacity: 0; transform: scale(1.8); } to { opacity: 1; transform: none; } }

/* ================= the screen ================= */
.bp { /* v3: one scale, --k, sizes the cards, the stage and the type; pass.js fit() sets it so the pass fills the screen */
  --k: 1; --cw: calc(134px * var(--k)); --ch: calc(180px * var(--k)); --cs: calc(1.2 * var(--k)); --gap: calc(14px * var(--k)); --node: calc(46px * var(--k));
  --rw-w: var(--cw); --rw-h: var(--ch); --fr-h: calc(var(--ch) * var(--fr));
  position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: calc(16px * var(--k)); min-width: 0; }
.bp.is-fit .bp-road { align-self: center; }
.bp .bp-btn { min-height: max(42px, calc(46px * var(--k))); padding: 0 calc(19px * var(--k)); font-size: max(13.5px, calc(14.5px * var(--k))); } /* v5: floors keep every label readable when --k is small */
.bp .bp-btn svg { width: calc(18px * var(--k)); height: calc(18px * var(--k)); }
.bp .bp-btn small { font-size: max(12px, calc(11.5px * var(--k))); }
.bp .bp-btn em { font-size: max(12.5px, calc(12.5px * var(--k))); }

/* ---- the stage: the season on the left, the picked reward on its plinth on the right ---- */
.bp-stage { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); gap: calc(28px * var(--k)); align-items: center; min-height: calc(276px * var(--k)); padding: 4px 4px 0; }
.bp-stage::before { content: ""; position: absolute; inset: -60px -60px -30px -60px; z-index: -1; pointer-events: none; /* a scrim that keeps the season readable over the world, feathered so it has no edge */
  -webkit-mask: radial-gradient(75% 85% at 45% 50%, #000 55%, transparent 100%); mask: radial-gradient(75% 85% at 45% 50%, #000 55%, transparent 100%);
  background: linear-gradient(90deg, rgba(7, 5, 6, .82), rgba(7, 5, 6, .5) 42%, rgba(7, 5, 6, .28) 62%, rgba(7, 5, 6, .55) 82%, rgba(7, 5, 6, .6)), linear-gradient(0deg, rgba(7, 5, 6, .6), transparent 40%); }
.bp.has-key .bp-stage::after { content: ""; position: absolute; inset: -30px -40px -20px 30%; z-index: -2; background: var(--key) center / cover no-repeat; opacity: .9;
  -webkit-mask: linear-gradient(90deg, transparent, #000 30%); mask: linear-gradient(90deg, transparent, #000 30%); }
.bp-season { display: grid; gap: calc(4px * var(--k)); min-width: 0; }
/* ---- the season banner (Codex's messenger, pass/glyph-v1, group 12): the picture across the top, the live title in its
   calm left 40% (Codex's title safe box: x80 y100 w850 h380 of 2400x600). Only the picture comes from the file. ---- */
.bp.has-banner { grid-template-rows: auto auto minmax(0, 1fr) auto; }
.bp-banner { position: relative; isolation: isolate; display: grid; align-items: center; height: max(128px, calc(176px * var(--k))); border-radius: var(--r-lg, 14px); overflow: hidden; background: #070506;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.bp-banner-art { position: absolute; inset: 0; z-index: -1; }
.bp-banner-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; } /* the messenger's head clear of the top edge */
.bp-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; /* a gilt edge, and a little shade under the words */
  background: linear-gradient(90deg, rgba(7, 5, 6, .5), rgba(7, 5, 6, .12) 34%, transparent 50%);
  box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .3), inset 0 1px 0 rgba(255, 238, 214, .1), inset 0 -30px 40px -30px rgba(0, 0, 0, .6); }
.bp-banner-words { display: grid; gap: calc(4px * var(--k)); min-width: 0; max-width: 36%; padding-left: max(20px, 3.4%); }
.bp-banner-words h1 { white-space: nowrap; }
.bp.has-banner .bp-stage::before { top: -8px; }
.bp.has-banner .bp-rank { margin-top: 0; }
/* QA (1440x900): with the banner on top the stage left the road too little room (--k fell to .75 and the medal floated in
   empty space), so on wide screens the stage is a little more compact: a smaller niche and card, no extra height */
@container (min-width: 1001px) {
  .bp.has-banner .bp-stage { min-height: 0; }
  .bp.has-banner .bp-show { grid-template-columns: calc(208px * var(--k)) minmax(0, 1fr); min-height: calc(224px * var(--k)); }
  .bp.has-banner .bp-stage .rw.is-big { --rw-w: calc(148px * var(--k)); --rw-h: calc(198px * var(--k)); --s: calc(1.33 * var(--k)); }
  .bp.has-banner .bp-plinth::before { width: calc(212px * var(--k)); margin-left: calc(-106px * var(--k)); border-radius: calc(106px * var(--k)) calc(106px * var(--k)) 10px 10px; }
  .bp.has-banner .bp-plinth::after { width: calc(250px * var(--k)); margin-left: calc(-125px * var(--k)); }
  .bp.has-banner .bp-beam { width: calc(200px * var(--k)); margin-left: calc(-100px * var(--k)); }
  .bp.has-banner .bp-base { width: calc(152px * var(--k)); margin-top: calc(10px * var(--k)); }
}
:is(.bp-season, .bp-banner-words) > .bp-kicker { font-size: max(14px, calc(15px * var(--k))); }
.bp-kicker .bp-clock { display: inline-flex; align-items: center; gap: 6px; margin-left: calc(14px * var(--k)); padding-left: calc(14px * var(--k)); box-shadow: inset 1px 0 0 var(--bp-line-hi); color: var(--bp-ink2); font-weight: 500; }
.bp-clock svg { width: calc(16px * var(--k)); height: calc(16px * var(--k)); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
:is(.bp-season, .bp-banner-words) h1 { margin: 2px 0 0; font: 400 calc(54px * var(--k))/1.02 var(--bp-serif); letter-spacing: -.015em; text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.bp-rank { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: calc(26px * var(--k)); align-items: center; margin-top: calc(22px * var(--k)); }
/* the tier medal: a gilt ring with a thin laurel of ticks, the number in Caslon */
.bp-medal { position: relative; display: grid; place-items: center; align-content: center; width: calc(108px * var(--k)); height: calc(108px * var(--k)); border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(240, 200, 112, .2), rgba(10, 8, 9, .96) 66%);
  box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .6), inset 0 0 0 7px rgba(8, 6, 7, .92), inset 0 0 0 8px rgba(240, 200, 112, .26), 0 0 34px rgba(240, 200, 112, .14), 0 12px 26px rgba(0, 0, 0, .5); }
.bp-medal::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(240, 200, 112, .45) 0 1.2deg, transparent 1.2deg 10deg);
  -webkit-mask: radial-gradient(closest-side, transparent 88%, #000 89%, #000 97%, transparent 98%); mask: radial-gradient(closest-side, transparent 88%, #000 89%, #000 97%, transparent 98%); }
.bp-medal span, .bp-medal small { font: 500 max(12.5px, calc(13px * var(--k)))/1 var(--bp-sans); color: var(--bp-ink2); }
.bp-medal b { margin: calc(4px * var(--k)) 0 calc(6px * var(--k)); font: 400 calc(48px * var(--k))/1 var(--bp-serif); color: var(--bp-gold); font-variant-numeric: lining-nums tabular-nums; text-shadow: 0 0 18px rgba(240, 200, 112, .35); }
.bp-xp { display: grid; gap: calc(11px * var(--k)); min-width: 0; }
.bp-next { margin: 0; font: 400 max(15px, calc(16px * var(--k)))/1.2 var(--bp-sans); color: var(--bp-ink2); }
.bp-next b { font: 400 calc(24px * var(--k))/1 var(--bp-serif); color: var(--bp-bone); font-variant-numeric: lining-nums tabular-nums; }
/* the XP channel: cut into the stone, ticks every fifth, a gilt fill with a bright leading edge */
.bp-bar { position: relative; height: calc(15px * var(--k)); border-radius: 999px; overflow: hidden; background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgba(236, 228, 216, .12) calc(20% - 1px) 20%), rgba(0, 0, 0, .55);
  box-shadow: inset 0 0 0 1px var(--bp-line), inset 0 2px 4px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 238, 214, .06); }
.bp-bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); border-radius: inherit; background: linear-gradient(90deg, #8a6424, #d9ac55 70%, #fbe7b0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .7s var(--bp-out); }
.bp.is-enter .bp-bar i { animation: bp-fill 1s .25s var(--bp-out) both; }
@keyframes bp-fill { from { transform: scaleX(0); } }
/* v5: how you earn lives in a small tip beside the XP line (hover, focus or tap the "i"); the stage keeps one line */
.bp-next-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bp-how { position: relative; flex: none; display: inline-flex; }
.bp-how-btn { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; cursor: help; background: rgba(236, 228, 216, .05); color: var(--bp-ink3);
  box-shadow: inset 0 0 0 1px var(--bp-line); transition: color 150ms ease, background-color 150ms ease; }
.bp-how-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.bp-how-btn:focus-visible { outline: 2px solid var(--focus, #f3d3a3); outline-offset: 2px; }
.bp-how:is(:hover, :focus-within) .bp-how-btn { color: var(--bp-bone); background: rgba(236, 228, 216, .1); }
.bp-how-tip { position: absolute; left: -12px; top: calc(100% + 10px); z-index: 9; display: grid; gap: 8px; width: max-content; max-width: 300px; padding: 14px 16px; border-radius: var(--r-lg, 12px);
  background: rgba(12, 9, 10, .97); box-shadow: inset 0 0 0 1px var(--bp-line-hi), inset 0 1px 0 rgba(255, 238, 214, .07), 0 20px 44px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transform-origin: 20px 0; pointer-events: none; transition: opacity 140ms ease, transform 160ms var(--bp-out), visibility 0s 160ms; }
.bp-how:is(:hover, :focus-within) .bp-how-tip { opacity: 1; visibility: visible; transform: none; transition: opacity 140ms ease, transform 160ms var(--bp-out); }
.bp-how-h { font: 600 14px/1.2 var(--bp-sans); color: var(--bp-bone); }
.bp-stage:has(.bp-how:is(:hover, :focus-within)) { z-index: 4; } /* the tip drops over the road */
.bp-earn { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; font: 400 15px/1.35 var(--bp-sans); color: var(--bp-ink2); }
.bp-earn b, .bp-total b { font-weight: 600; color: var(--bp-bone); font-variant-numeric: tabular-nums; }
.bp-earn b { display: inline-block; min-width: 34px; }
.bp-total { margin: 0; padding-top: 8px; box-shadow: inset 0 1px 0 var(--bp-line); font: 400 14px/1.4 var(--bp-sans); color: var(--bp-ink3); }
.bp-total b { color: var(--bp-gold); }
.bp-total-dev { display: inline-block; margin: 6px 0 0; padding: 2px 8px; padding: 2px 8px; border-radius: 999px; font-size: .88em; font-weight: 600; color: #b9e8cb; box-shadow: inset 0 0 0 1px rgba(143, 220, 174, .35); background: rgba(10, 30, 20, .5); }

/* the plinth: a beam of light from above, the card floating over a marble disc, rays when something is claimed */
.bp-show { position: relative; display: grid; grid-template-columns: calc(232px * var(--k)) minmax(0, 1fr); gap: calc(30px * var(--k)); align-items: center; min-width: 0; min-height: calc(268px * var(--k)); }
.bp-plinth { position: relative; isolation: isolate; display: grid; justify-items: center; align-self: stretch; align-content: center; padding-top: 6px; }
.bp-plinth::before { content: ""; position: absolute; left: 50%; top: calc(-14px * var(--k, 1)); bottom: 4px; width: calc(246px * var(--k, 1)); margin-left: calc(-123px * var(--k, 1)); z-index: -2; pointer-events: none; border-radius: calc(123px * var(--k, 1)) calc(123px * var(--k, 1)) 10px 10px; /* a temple niche the card stands in */
  background: radial-gradient(70% 55% at 50% 30%, color-mix(in oklab, var(--rc) 16%, rgba(40, 30, 28, .6)), transparent 75%), var(--bp-dots), linear-gradient(180deg, rgba(24, 19, 19, .92), rgba(8, 6, 7, .96) 85%);
  box-shadow: inset 0 0 0 1px rgba(236, 228, 216, .1), inset 0 0 0 7px rgba(6, 4, 5, .55), inset 0 0 0 8px color-mix(in oklab, var(--rc) 22%, rgba(236, 228, 216, .06)), inset 0 30px 60px rgba(0, 0, 0, .55), 0 24px 50px rgba(0, 0, 0, .5); }
.bp-plinth::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: calc(292px * var(--k, 1)); height: calc(18px * var(--k, 1)); margin-left: calc(-146px * var(--k, 1)); z-index: -2; border-radius: 3px; pointer-events: none; /* the step it stands on */
  background: linear-gradient(180deg, #2a2321, #110d0d); box-shadow: inset 0 1px 0 rgba(255, 238, 214, .14), 0 10px 22px rgba(0, 0, 0, .7); }
.bp-beam { position: absolute; left: 50%; top: -12px; bottom: 20px; width: calc(230px * var(--k, 1)); margin-left: calc(-115px * var(--k, 1)); z-index: -1; pointer-events: none; opacity: .9;
  background: radial-gradient(55% 80% at 50% 0%, color-mix(in oklab, var(--rc) 30%, rgba(255, 238, 210, .2)), transparent 72%);
  -webkit-mask: radial-gradient(55% 100% at 50% 0%, #000 45%, transparent 80%); mask: radial-gradient(55% 100% at 50% 0%, #000 45%, transparent 80%); }
.bp-rays { position: absolute; left: 50%; top: 46%; width: calc(440px * var(--k, 1)); height: calc(440px * var(--k, 1)); margin: calc(-220px * var(--k, 1)) 0 0 calc(-220px * var(--k, 1)); z-index: -1; pointer-events: none; opacity: 0; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, color-mix(in oklab, var(--rc) 55%, transparent) 0 3deg, transparent 3deg 15deg);
  -webkit-mask: radial-gradient(closest-side, #000 15%, transparent 72%); mask: radial-gradient(closest-side, #000 15%, transparent 72%); }
.rr-titan .bp-rays, .rr-mythic .bp-rays, .is-meeting .bp-rays { opacity: .12; }
.bp-hold { position: relative; animation: bp-float 6.5s ease-in-out infinite; }
@keyframes bp-float { 50% { transform: translateY(-5px); } }
.rw.is-big { --s: 1.6; --rw-w: 166px; --rw-h: 224px; cursor: default; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--rc) calc(30% + var(--glow) * 80%), transparent), inset 0 1px 0 rgba(255, 238, 214, .1), 0 22px 40px rgba(0, 0, 0, .6), 0 0 calc(var(--halo) + 18px) -8px var(--rc); }
.bp-stage .rw.is-big { --rw-w: calc(172px * var(--k)); --rw-h: calc(230px * var(--k)); --s: calc(1.54 * var(--k)); }
.rw.is-big.rk-meeting { box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .85), 0 22px 40px rgba(0, 0, 0, .6), 0 0 40px -6px rgba(240, 200, 112, .6); }
.rw.is-big .rw-ready { display: none; }
.bp-base { display: block; width: calc(176px * var(--k, 1)); height: calc(20px * var(--k, 1)); margin-top: calc(14px * var(--k, 1)); border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 40%, color-mix(in oklab, var(--rc) 22%, #2b2421), #120e0e 70%, transparent 72%);
  box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 238, 214, .1); }
.bp-info { display: grid; gap: calc(8px * var(--k, 1)); align-content: center; min-width: 0; max-width: calc(480px * var(--k, 1)); }
.bp-kind { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 max(13px, calc(14px * var(--k, 1)))/1.2 var(--bp-sans); color: var(--rc); }
.bp-kind i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--rc); box-shadow: 0 0 8px var(--rc); }
.bp-info h2 { margin: 0; font: 400 calc(36px * var(--k, 1))/1.1 var(--bp-serif); letter-spacing: -.01em; text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }
.bp-sub { margin: -2px 0 0; font: italic 400 calc(17px * var(--k, 1))/1.3 var(--bp-serif); color: #f0d79a; }
.bp-text { margin: 0; font: 400 max(15px, calc(15px * var(--k, 1)))/1.5 var(--bp-sans); color: color-mix(in oklab, var(--bp-ink2) 80%, var(--bp-ink3)); max-width: 44ch; }
.bp-stage .rw.is-big .rw-foot { display: none; } /* v5: the name is printed large right beside it; once is enough (the art centres in the card) */
.bp-need span { margin-left: 10px; padding-left: 10px; box-shadow: inset 1px 0 0 var(--bp-line-hi); color: var(--bp-ink3); }
.bp-where { margin: 0; font: 400 calc(13.5px * var(--k, 1))/1.3 var(--bp-sans); color: var(--bp-ink3); }
.bp-act { margin-top: calc(8px * var(--k, 1)); }
.bp-act .bp-btn { min-width: calc(220px * var(--k, 1)); min-height: max(44px, calc(50px * var(--k, 1))); font-size: max(14.5px, calc(15.5px * var(--k, 1))); }
.bp .bp-done, .bp .bp-need { font-size: max(14.5px, calc(15px * var(--k))); }
/* swapping the plinth's reward settles it in (fast: it follows the selection); a claim bursts and lifts it */
.bp-show.is-swap .bp-hold > .rw { animation: bp-swap 240ms var(--bp-out) both; }
.bp-show.is-swap .bp-info { animation: bp-swap-t 220ms var(--bp-out) both; }
@keyframes bp-swap { from { opacity: .4; transform: translateY(6px) scale(.97); filter: blur(2px); } }
@keyframes bp-swap-t { from { opacity: .3; transform: translateX(-4px); } }
.bp-plinth.is-claim { animation: bp-none 1.2s; }
@keyframes bp-none { to { opacity: 1; } }
.bp-plinth.is-claim .bp-rays { animation: bp-rays 1.15s var(--bp-out) both; }
@keyframes bp-rays { 0% { opacity: 0; transform: scale(.6) rotate(0deg); } 25% { opacity: .85; } 100% { opacity: 0; transform: scale(1.1) rotate(24deg); } }
.bp-plinth.is-claim .bp-hold > .rw { animation: bp-land 720ms var(--bp-out) both; }
@keyframes bp-land { 0% { transform: scale(.94); filter: brightness(1.9) saturate(1.2); } 45% { transform: translateY(-10px) scale(1.04); } 100% { transform: none; filter: none; } }
.bp-plinth.is-equip .bp-hold > .rw { animation: bp-equip 520ms var(--bp-out); }
@keyframes bp-equip { 30% { transform: scale(1.04); filter: brightness(1.35); } }

/* ---- the road: free above the tier band, VIP below it ---- */
.bp-road { position: relative; display: grid; grid-template-columns: calc(62px * var(--k)) minmax(0, 1fr); border-radius: var(--r-lg, 12px); overflow: hidden;
  background: var(--bp-grain) 0 0 / 160px, linear-gradient(180deg, rgba(14, 10, 11, .8), rgba(6, 4, 5, .9)); box-shadow: var(--bp-edge), var(--bp-shadow); }
.bp-rows { position: relative; z-index: 2; display: grid; grid-template-rows: var(--fr-h) var(--node) var(--rw-h); padding: calc(16px * var(--k)) 0; box-shadow: inset -1px 0 0 var(--bp-line); background: rgba(6, 4, 5, .5); }
.bp-rows span { align-self: center; justify-self: center; writing-mode: vertical-rl; transform: rotate(180deg); font: 400 calc(19px * var(--k))/1 var(--bp-serif); color: var(--bp-ink2); letter-spacing: .02em; }
.bp-rows span.is-vip { grid-row: 3; color: var(--bp-gold); }
.bp-track { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab;
  -webkit-mask: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 80px), transparent); mask: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 80px), transparent); }
.bp-track::-webkit-scrollbar { display: none; }
.bp-track.is-drag { cursor: grabbing; }
.bp-track.is-drag .rw { pointer-events: none; }
.bp-cols { --pad-l: calc(20px * var(--k)); position: relative; display: flex; gap: var(--gap); width: max-content; padding: calc(16px * var(--k)) calc(72px * var(--k)) calc(16px * var(--k)) var(--pad-l); }
.bp-cols .rw { --s: var(--cs); }
.bp-cols .rw-rarity { font-size: max(12.5px, calc(11px * var(--s))); }
.bp-cols .rw-name { font-size: max(13.5px, calc(14px * var(--s))); }
/* the VIP row sits on a faint gilt floor so the two tracks read apart at a glance */
.bp-cols::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--rw-h) + 24px * var(--k)); pointer-events: none;
  background: linear-gradient(180deg, rgba(240, 200, 112, .07), rgba(240, 200, 112, .015)); box-shadow: inset 0 1px 0 rgba(240, 200, 112, .14); }
.bp-road.is-free-only .bp-cols::before { background: linear-gradient(180deg, rgba(240, 200, 112, .035), transparent); }
.bp-col { position: relative; display: grid; grid-template-rows: var(--fr-h) var(--node) var(--rw-h); width: var(--cw); }
.bp-cell { position: relative; display: grid; justify-items: center; align-items: end; }
.bp-cell:first-child .rw { --rw-w: calc(var(--cw) * var(--fr)); --rw-h: var(--fr-h); --s: calc(var(--cs) * var(--fr)); }
.bp-cell:first-child .rw-none { height: var(--fr-h); }
/* the band: a carved strip with a groove; gilt fills it as far as you've come, a bright knob marks exactly where */
.bp-band { position: absolute; z-index: 0; left: calc(var(--pad-l) + var(--rw-w) / 2); width: calc((var(--rw-w) + var(--gap)) * 49); top: calc(16px * var(--k) + var(--fr-h) + var(--node) / 2 - 1.5px); height: 3px; border-radius: 3px;
  background: rgba(236, 228, 216, .1); box-shadow: 0 1px 0 rgba(255, 238, 214, .05), 0 -1px 0 rgba(0, 0, 0, .6); pointer-events: none; }
.bp-band i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--reach, 0)); border-radius: inherit; background: linear-gradient(90deg, #8a6424, var(--bp-gold)); box-shadow: 0 0 10px rgba(240, 200, 112, .45); }
.bp-you { position: absolute; top: 50%; left: calc(var(--reach, 0) * 100%); width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff3d0;
  box-shadow: 0 0 8px 2px rgba(240, 200, 112, .85), 0 0 18px rgba(240, 200, 112, .6); }
.bp.is-enter .bp-band i { animation: bp-fill 1.2s .2s var(--bp-out) both; }
.bp.is-enter .bp-you { animation: bp-you 1.2s .2s var(--bp-out) both; }
@keyframes bp-you { from { left: 0; } }
/* the lantern: a soft column of light down your tier, from the free card to the VIP one */
.bp-lantern { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: calc(var(--pad-l) + var(--cur, 0) * (var(--rw-w) + var(--gap)) - 8px); width: calc(var(--rw-w) + 16px); border-radius: 14px; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 50%, rgba(240, 200, 112, .14), transparent 75%); }
.bp-node { position: relative; z-index: 1; display: grid; place-items: center; }
.bp-node span { display: grid; place-items: center; min-width: calc(31px * var(--k)); height: calc(31px * var(--k)); padding: 0 5px; border-radius: 999px; background: #0d0a0b; box-shadow: inset 0 0 0 1px var(--bp-line-hi);
  font: 400 max(12.5px, calc(15px * var(--k)))/1 var(--bp-serif); color: var(--bp-ink3); font-variant-numeric: lining-nums tabular-nums; }
.is-reached > .bp-node span { color: var(--bp-gold); box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .55); }
/* the milestones (10, 20, 30, 40, 50) carry the card backs and the meeting: their plaque is a diamond */
.is-mile > .bp-node span { isolation: isolate; background: none; box-shadow: none; }
.is-mile > .bp-node span::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: calc(27px * var(--k)); height: calc(27px * var(--k)); margin: calc(-13.5px * var(--k)) 0 0 calc(-13.5px * var(--k)); transform: rotate(45deg); border-radius: 3px; background: #0d0a0b; box-shadow: inset 0 0 0 1px var(--bp-line-hi); }
.is-mile > .bp-node span { position: relative; }
.is-reached.is-mile > .bp-node span::before { box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .6); }
.is-current > .bp-node span { min-width: calc(38px * var(--k)); height: calc(38px * var(--k)); font-size: calc(17px * var(--k)); color: #1c1306; background: var(--bp-gilt); box-shadow: 0 0 0 4px rgba(240, 200, 112, .14), 0 0 22px rgba(240, 200, 112, .5); }
.is-current.is-mile > .bp-node span { background: none; box-shadow: none; }
.is-current.is-mile > .bp-node span::before { width: calc(33px * var(--k)); height: calc(33px * var(--k)); margin: calc(-16.5px * var(--k)) 0 0 calc(-16.5px * var(--k)); background: var(--bp-gilt); box-shadow: 0 0 22px rgba(240, 200, 112, .5); }
/* the one lit selection: a frame that springs from reward to reward */
.bp-cursor { position: absolute; left: 0; top: 0; width: var(--rw-w); height: var(--rw-h); z-index: 3; pointer-events: none; opacity: 0; border-radius: 10px;
  transition: transform 150ms var(--bp-spring), width 150ms var(--bp-spring), height 150ms var(--bp-spring), opacity 120ms ease; }
.bp-cursor::before { content: ""; position: absolute; inset: -5px; border-radius: 14px; box-shadow: 0 0 0 2px var(--focus, #f3d3a3), 0 0 26px rgba(243, 211, 163, .32); }
.bp-cursor.is-on { opacity: 1; }
.bp-cursor.is-instant { transition: none; }
/* past tier 50 (v4): a carved plaque, then the level milestones, each with its bonus pack */
.bp-beyond { position: relative; z-index: 1; flex: none; display: grid; place-content: center; justify-items: center; gap: 6px; width: calc(var(--cw) * .9); margin: 0 calc(6px * var(--k));
  border-radius: 12px; text-align: center; background: linear-gradient(180deg, rgba(240, 200, 112, .08), rgba(240, 200, 112, .02)); box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .3); }
.bp-beyond b { font: 400 calc(20px * var(--k))/1.1 var(--bp-serif); color: #f6dc94; }
.bp-beyond span { padding: 0 8px; font: 500 max(12.5px, calc(12px * var(--k)))/1.35 var(--bp-sans); color: var(--bp-ink2); }
.bp-col.is-over > .bp-node span { color: #f6dc94; box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .45); }
.bp-medal.is-beyond b { color: #fff0c8; text-shadow: 0 0 24px rgba(240, 200, 112, .6); }
/* the serial: where an item is from and the day you unlocked it, engraved on a thin line (Dodd: "so items feel special") */
.bp-serial { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin: 2px 0 0; padding: 0;
  font: 500 max(12.5px, calc(12.5px * var(--k, 1)))/1.3 var(--bp-sans); letter-spacing: .02em; color: #bfae8c; font-variant-numeric: tabular-nums; } /* v5: an engraved line, not another box */
.bp-serial i { width: 6px; height: 6px; flex: none; transform: rotate(45deg); background: var(--bp-gilt); }
/* the test tools just unlocked it: a flash of gilt light so every unlock can be seen */
.rw.is-unlocking { animation: rw-unlock 900ms var(--bp-out); }
@keyframes rw-unlock { 30% { filter: brightness(1.55); box-shadow: 0 0 0 2px rgba(240, 200, 112, .9), 0 0 36px rgba(240, 200, 112, .55); } }
.rw.is-unlocking .rw-shine { background: linear-gradient(105deg, transparent 30%, rgba(255, 236, 190, .55) 48%, transparent 66%) 0 0 / 300% 100% no-repeat; mix-blend-mode: screen; animation: rw-sweep 700ms var(--bp-in-out) both; }
/* (the pass's test tools moved to Settings > Testing, board #150: settings.css) */
.bp-cols:not(:focus-within) .bp-cursor::before { box-shadow: 0 0 0 1.5px rgba(243, 211, 163, .66), 0 0 18px rgba(243, 211, 163, .18); }
/* ---- the footer: the page arrows either side of the season ruler, then the three buttons (the Shop lives here) ---- */
.bp-foot { display: flex; align-items: center; gap: calc(22px * var(--k)); min-width: 0; }
.bp-nav { display: flex; align-items: center; gap: calc(12px * var(--k)); flex: 1; min-width: 0; max-width: calc(780px * var(--k)); }
.bp-page { flex: none; display: grid; place-items: center; width: calc(44px * var(--k)); height: calc(44px * var(--k)); border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(10, 8, 9, .82); box-shadow: inset 0 0 0 1px var(--bp-line-hi); color: var(--bp-bone); transition: opacity 200ms ease, background-color 150ms ease, transform 120ms var(--bp-out); }
.bp-page svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bp-page:disabled { opacity: .3; cursor: default; }
.bp-page:active:not(:disabled) { transform: scale(.94); }
.bp-page:focus-visible { outline: 2px solid var(--focus, #f3d3a3); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .bp-page:hover:not(:disabled) { background-color: rgba(30, 24, 22, .95); } }
.bp-ribbon { position: relative; flex: 1; min-width: 0; display: grid; grid-template-rows: calc(22px * var(--k)) calc(18px * var(--k)); padding: 4px 6px 2px; border-radius: 8px; cursor: pointer; touch-action: none; }
.bp-ribbon:focus-visible { outline: 2px solid var(--focus, #f3d3a3); outline-offset: 2px; }
.bp-ticks { position: relative; display: flex; align-items: flex-end; gap: 2px; }
.bp-ticks i { position: relative; flex: 1; height: calc(7px * var(--k)); border-radius: 1px; background: rgba(236, 228, 216, .14); }
.bp-ticks i.is-mile { height: calc(13px * var(--k)); background: rgba(236, 228, 216, .28); }
.bp-ticks i.is-reached { background: linear-gradient(180deg, #e9c877, #a77b2c); }
.bp-ticks i.is-current { height: calc(18px * var(--k)); background: #fff3d0; box-shadow: 0 0 10px rgba(240, 200, 112, .9); }
.bp-ticks i.is-ready::after { content: ""; position: absolute; left: 50%; top: -7px; width: 4px; height: 4px; margin-left: -2px; transform: rotate(45deg); background: #f6dc94; box-shadow: 0 0 6px rgba(240, 200, 112, .9); }
.bp-window { position: absolute; top: -4px; bottom: -3px; border-radius: 5px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(236, 228, 216, .42); background: rgba(236, 228, 216, .05); transition: left 120ms linear; }
.bp-ruler { position: relative; }
.bp-ruler em { position: absolute; top: 3px; transform: translateX(-50%); font: 500 max(12.5px, calc(12px * var(--k)))/1 var(--bp-sans); font-style: normal; color: var(--bp-ink3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bp-ruler em.is-near { visibility: hidden; }
.bp-ruler em.is-end { color: #f0d79a; }
.bp-ruler em.is-you { color: var(--bp-gold); font-weight: 600; }
.bp-foot-acts { display: flex; align-items: center; gap: calc(12px * var(--k)); margin-left: auto; }
.bp-foot .bp-btn { min-height: calc(50px * var(--k)); }
.bp-owned { font: 500 max(14px, calc(14px * var(--k)))/1.3 var(--bp-sans); color: var(--bp-gold); padding: 0 6px; }

/* ---- the claim moment (pass.js openClaim, board #162): the whole screen, the reward big and centred in its rarity's
   light. --fx-c / --fx-c2 = the light and its hot core (pass.js CLAIM_FX: Mortal grey, Hero green, Oracle blue,
   Demigod purple, Titan gold, the pack openings' language), --rank 0-4 scales the glow, --charge how long it charges.
   The overlay sits on <body> (so it covers the whole desk), with the pass's own tokens (the list at the top). ---- */
@property --fx-c { syntax: '<color>'; inherits: true; initial-value: #d9dde6; }
@property --fx-c2 { syntax: '<color>'; inherits: true; initial-value: #ffffff; }
.bp-claim { position: fixed; inset: 0; z-index: 60; display: flex; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 28px 24px 32px;
  -webkit-tap-highlight-color: transparent; transition: --fx-c 700ms ease, --fx-c2 700ms ease; animation: bp-sheet-in 280ms var(--bp-out) both; }
.bp-claim.is-out { animation: bp-sheet-out 240ms ease-in both; }
@keyframes bp-sheet-in { from { opacity: 0; } }
@keyframes bp-sheet-out { to { opacity: 0; } }
.bpc-room { position: fixed; inset: 0; z-index: -2; pointer-events: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  background: radial-gradient(62% 58% at 50% 38%, color-mix(in srgb, var(--fx-c) 20%, rgba(8, 5, 6, .5)), rgba(3, 2, 3, .96) 74%), rgba(3, 2, 3, .74); }
.bpc-in { position: relative; display: grid; justify-items: center; width: min(1100px, 100%); margin: auto; } /* auto margins: centred, and a tall phone page still scrolls from its top */
/* the burst (pass.js burst): behind the card, out from its middle; the flash over everything */
.bpc-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bpc-fx > i { position: absolute; display: block; opacity: 0; will-change: transform, opacity; }
.bpc-fx .fx-core { left: var(--x); top: var(--y); width: calc(var(--w) * 2.4); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--fx-c2) 90%, transparent) 0 8%, color-mix(in srgb, var(--fx-c) 70%, transparent) 26%, color-mix(in srgb, var(--fx-c) 22%, transparent) 56%, transparent); }
.bpc-fx .fx-rays { left: var(--x); top: var(--y); width: calc(var(--w) * 5.4); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from -2deg, color-mix(in srgb, var(--fx-c2) 60%, transparent) 0deg 1.2deg, color-mix(in srgb, var(--fx-c) 40%, transparent) 1.2deg 3.6deg, transparent 5.5deg calc(360deg / var(--n))),
    repeating-conic-gradient(from 7deg, color-mix(in srgb, var(--fx-c) 22%, transparent) 0deg 6deg, transparent 9deg calc(360deg / var(--n) * 1.63));
  -webkit-mask: radial-gradient(closest-side, transparent 14%, #000 24%, rgba(0, 0, 0, .6) 52%, transparent 80%); mask: radial-gradient(closest-side, transparent 14%, #000 24%, rgba(0, 0, 0, .6) 52%, transparent 80%); }
.bpc-fx .fx-ring { left: var(--x); top: var(--y); width: calc(var(--w) * 1.2); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, transparent 64%, color-mix(in srgb, var(--fx-c) 30%, transparent) 78%, color-mix(in srgb, var(--fx-c2) 55%, transparent) 88%, color-mix(in srgb, var(--fx-c) 25%, transparent) 94%, transparent); }
.bpc-fx .fx-ember { left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--fx-c); box-shadow: 0 0 6px 1px var(--fx-c); }
.bpc-fx .fx-ember.hot { background: #fff; box-shadow: 0 0 5px 1px var(--fx-c2), 0 0 12px 3px var(--fx-c); }
.bpc-flash { position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(75% 65% at var(--x, 50%) var(--y, 40%), color-mix(in srgb, var(--fx-c2) 75%, transparent), color-mix(in srgb, var(--fx-c) 45%, transparent) 38%, transparent 78%); }

/* one reward */
.bpc-moment { display: grid; justify-items: center; width: 100%; text-align: center; }
.bpc-kicker { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 20px; font: 500 15.5px/1.2 var(--bp-sans); color: color-mix(in srgb, var(--fx-c) 50%, var(--bp-bone)); }
.bpc-dots { display: inline-flex; gap: 7px; }
.bpc-dots i { width: 7px; height: 7px; transform: rotate(45deg); background: rgba(236, 228, 216, .18); }
.bpc-dots i.is-past { background: color-mix(in srgb, var(--rc) 55%, transparent); }
.bpc-dots i.is-on { background: var(--rc); box-shadow: 0 0 9px var(--rc); }
.bpc-stage { position: relative; isolation: isolate; display: grid; justify-items: center; }
.bpc-card { position: relative; perspective: 1100px; animation: bpc-rise 440ms var(--bp-out) both; }
@keyframes bpc-rise { from { opacity: 0; transform: translateY(34px) scale(.86); } }
.bpc-card .rw { --rw-w: 244px; --rw-h: 328px; --s: 2.34; cursor: default;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--rc) calc(30% + var(--glow) * 80%), transparent), inset 0 1px 0 rgba(255, 238, 214, .1), 0 34px 60px rgba(0, 0, 0, .65), 0 0 calc(30px + var(--rank, 0) * 14px) -6px var(--fx-c); }
.bpc-card .rw-foot { display: none; } /* the name is printed large right under it; the art centres in the card */
.bpc-card .rw.rk-meeting { box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .85), 0 34px 60px rgba(0, 0, 0, .65), 0 0 60px -6px rgba(240, 200, 112, .6); }
.bpc-flip { position: relative; transform-style: preserve-3d; transition: transform 640ms cubic-bezier(.2, .8, .2, 1.04); }
.bpc-flip > .rw, .bpc-flip > .bp-flip-back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.bpc-moment.is-charging .bpc-flip { transform: rotateY(180deg) scale(.94); }
/* the charge: the back's rim fills with the colour, faster and wider the rarer; Demigod and Titan tremble */
.bpc-moment.is-charging .bp-flip-back { animation: bpc-charge var(--charge) cubic-bezier(.5, 0, .75, 0) forwards; }
@keyframes bpc-charge { to { box-shadow: inset 0 0 0 1px var(--fx-c), inset 0 0 0 6px rgba(10, 6, 7, .9), inset 0 0 0 7px color-mix(in srgb, var(--fx-c) 50%, transparent),
  0 0 0 2px color-mix(in srgb, var(--fx-c) 80%, transparent), 0 0 calc(26px + var(--rank) * 16px) calc(2px + var(--rank) * 3px) color-mix(in srgb, var(--fx-c) 70%, transparent); } }
.bpc-moment.is-charging:is(.rr-demigod, .rr-titan, .rr-mythic) .bpc-card { animation: bpc-rise 440ms var(--bp-out) both, bpc-tremble 110ms 440ms linear infinite; }
@keyframes bpc-tremble { 25% { translate: -1px .5px; } 50% { translate: 1px -.5px; } 75% { translate: -.5px -1px; } }
.bpc-halo { position: absolute; left: 50%; top: 50%; z-index: -1; width: 560px; aspect-ratio: 1; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--fx-c) 38%, transparent), color-mix(in srgb, var(--fx-c) 10%, transparent) 55%, transparent); transition: opacity 600ms ease; }
.bpc-moment.is-charging .bpc-halo { animation: bpc-halo var(--charge) ease-in forwards; }
@keyframes bpc-halo { to { opacity: .55; } }
.bpc-moment.is-open .bpc-halo { opacity: calc(.45 + var(--rank) * .1); }
.bpc-beam { position: absolute; left: 50%; bottom: 46%; z-index: -1; width: 340px; height: 70vh; margin-left: -170px; pointer-events: none; opacity: 0; transition: opacity 900ms ease;
  background: linear-gradient(0deg, color-mix(in srgb, var(--fx-c) 34%, transparent), color-mix(in srgb, var(--fx-c) 6%, transparent) 70%, transparent);
  -webkit-mask: radial-gradient(50% 100% at 50% 100%, #000 30%, transparent 75%); mask: radial-gradient(50% 100% at 50% 100%, #000 30%, transparent 75%); }
.bpc-moment.is-open .bpc-beam { opacity: calc(.35 + var(--rank) * .12); }
.bpc-floor { display: block; width: 300px; height: 24px; margin-top: 16px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--fx-c) 40%, transparent), color-mix(in srgb, var(--fx-c) 8%, transparent) 60%, transparent); opacity: .3; transition: opacity 600ms ease; }
.bpc-moment.is-open .bpc-floor { opacity: 1; }
/* the turn lands with a ring of its light round the card */
.bpc-moment.is-open .rw.is-claimed-card { animation: bpc-land 1.1s 180ms ease-out both; }
@keyframes bpc-land { 0% { filter: brightness(1.9) saturate(1.2); } 30% { box-shadow: inset 0 0 0 1px var(--fx-c), 0 0 0 2px color-mix(in srgb, var(--fx-c) 70%, transparent), 0 0 80px 10px color-mix(in srgb, var(--fx-c) 50%, transparent); } 100% { filter: none; } }
/* the words come up after the turn, one after another */
.bpc-words { display: grid; justify-items: center; gap: 10px; width: 100%; max-width: 640px; margin-top: 24px; }
.bpc-moment.is-charging .bpc-words > * { opacity: 0; }
.bp-claim:not(.is-calm) .bpc-moment.is-open .bpc-words > * { animation: bpc-word 460ms var(--bp-out) both; }
.bpc-words > :nth-child(1) { animation-delay: 380ms !important; } .bpc-words > :nth-child(2) { animation-delay: 440ms !important; } .bpc-words > :nth-child(3) { animation-delay: 500ms !important; }
.bpc-words > :nth-child(4) { animation-delay: 560ms !important; } .bpc-words > :nth-child(5) { animation-delay: 610ms !important; } .bpc-words > :nth-child(n + 6) { animation-delay: 660ms !important; }
@keyframes bpc-word { from { opacity: 0; transform: translateY(10px); } }
.bpc-kind { display: flex; align-items: center; gap: 9px; margin: 0; font: 600 16px/1.2 var(--bp-sans); color: var(--rc); text-shadow: 0 0 18px color-mix(in srgb, var(--rc) 45%, transparent); }
.bpc-kind i { width: 8px; height: 8px; transform: rotate(45deg); background: var(--rc); box-shadow: 0 0 10px var(--rc); }
.bpc-words h2 { margin: 0; font: 400 clamp(34px, 4vw, 54px)/1.06 var(--bp-serif); letter-spacing: -.012em; color: #fff; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .75), 0 0 46px color-mix(in srgb, var(--fx-c) 32%, transparent); }
.bpc-sub { margin: -4px 0 0; font: italic 400 19px/1.3 var(--bp-serif); color: #f0d79a; }
.bpc-text { margin: 0; max-width: 54ch; font: 400 16px/1.55 var(--bp-sans); color: var(--bp-ink2); text-wrap: pretty; }
.bpc-words .bp-serial { margin: 2px 0 0; }
.bpc-words .bp-done { justify-content: center; font-size: 15.5px; }
.bpc-acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.bpc-acts .bp-btn { min-width: 200px; min-height: 52px; padding: 0 24px; font-size: 16px; }
.bpc-acts .bp-btn small { font-size: 13px; }
.bpc-acts .bp-btn.is-on { background: rgba(8, 6, 7, .55); }
.bp-claim .textlink.bpc-link { min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--bp-ink2); font: 600 15.5px/1 var(--bp-sans); cursor: pointer; text-transform: none; letter-spacing: 0; text-decoration: underline; text-decoration-color: rgba(236, 228, 216, .3); text-underline-offset: 4px; }
.bp-claim .textlink.bpc-link:focus-visible { outline: 2px solid var(--focus, #f3d3a3); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .bp-claim .textlink.bpc-link:hover { color: var(--bp-bone); background: rgba(236, 228, 216, .06); } }
/* the free track's peek at VIP: a quiet gilt line, the VIP card dimmed, one quiet button */
.bpc-peek { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; max-width: 580px; margin-top: 16px; padding: 12px 14px 12px 12px; border-radius: 14px; text-align: left;
  background: linear-gradient(180deg, rgba(240, 200, 112, .07), rgba(240, 200, 112, .02)), rgba(6, 4, 5, .6); box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .26); }
.bpc-peek-card .rw { --rw-w: 54px; --rw-h: 72px; --s: .52; cursor: default; }
.bpc-peek-card .rw-foot, .bpc-peek-card .rw-badge { display: none; }
.bpc-peek-cards { display: flex; }
.bpc-peek-cards .bpc-peek-card + .bpc-peek-card { margin-left: -22px; }
.bpc-peek-cards .bpc-peek-card:nth-child(1) { transform: rotate(-6deg); } .bpc-peek-cards .bpc-peek-card:nth-child(3) { transform: rotate(6deg); }
.bpc-peek p { display: grid; gap: 2px; margin: 0; min-width: 0; }
.bpc-peek p span { font: 600 13.5px/1.2 var(--bp-sans); color: #e7c983; }
.bpc-peek p b { font: 400 19px/1.2 var(--bp-serif); color: var(--bp-bone); }
.bpc-peek p small { font: 400 14px/1.35 var(--bp-sans); color: var(--bp-ink3); }
.bpc-peek .bp-btn { min-height: 42px; padding: 0 16px; font-size: 15px; }

/* many rewards: a grid that fills card by card, rarest last */
.bpc-grid-view { display: grid; justify-items: center; gap: 12px; width: 100%; text-align: center; }
.bpc-grid-view .bpc-kicker { margin: 0; }
.bpc-grid-view h2 { margin: 0; font: 400 clamp(32px, 3.4vw, 46px)/1.08 var(--bp-serif); color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .75), 0 0 40px color-mix(in srgb, var(--fx-c) 28%, transparent); }
.bpc-tally { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 2px 0 6px; }
.bpc-tally span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font: 600 14.5px/1 var(--bp-sans); color: var(--rc);
  background: color-mix(in srgb, var(--rc) 9%, rgba(0, 0, 0, .45)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 42%, transparent); }
.bpc-tally i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--rc); box-shadow: 0 0 7px var(--rc); }
.bpc-tally b { min-width: 1.2em; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }
.bpc-grid { --rw-w: 92px; --rw-h: 124px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: min(1060px, 100%); margin: 4px 0; } /* a short last row stays centred */
.bpc-grid .rw { --s: .86; cursor: default; }
.bpc-grid-view:not(.is-filling) :is(.bp-flip-in, .bp-flip-in > .rw) { animation: none; }
.bpc-sum { margin: 6px 0 0; max-width: 62ch; font: 400 16px/1.5 var(--bp-sans); color: var(--bp-ink2); text-wrap: balance; }
.bpc-grid-view .bpc-acts { margin-top: 6px; }
.bpc-grid-view .bpc-peek { margin-top: 8px; }
/* reduced motion (pass.js adds .is-calm): no rise, no turn, no landing flash; the words are simply there */
.bp-claim.is-calm :is(.bpc-card, .rw.is-claimed-card, .bpc-words > *) { animation: none !important; }
.bp-claim.is-calm .bpc-flip { transition: none; }
@media (max-height: 820px) and (min-width: 621px) { .bpc-card .rw { --rw-w: 204px; --rw-h: 274px; --s: 1.96; } .bpc-kicker { margin-bottom: 14px; } .bpc-words { margin-top: 16px; gap: 8px; } }
@media (max-width: 620px) {
  .bp-claim { padding: 18px 16px 26px; }
  .bpc-kicker { margin-bottom: 14px; font-size: 14.5px; }
  .bpc-card .rw { --rw-w: 176px; --rw-h: 236px; --s: 1.69; }
  .bpc-halo { width: 380px; margin: -190px 0 0 -190px; }
  .bpc-beam { width: 220px; margin-left: -110px; }
  .bpc-floor { width: 220px; height: 18px; margin-top: 10px; }
  .bpc-words { margin-top: 16px; gap: 8px; }
  .bpc-words h2 { font-size: 31px; }
  .bpc-text { font-size: 15.5px; }
  .bpc-acts { flex-direction: column; align-items: stretch; width: 100%; gap: 8px; }
  .bpc-acts .bp-btn { min-width: 0; width: 100%; }
  .bpc-peek { grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; }
  .bpc-peek .bp-btn { grid-column: 1 / -1; width: 100%; }
  .bpc-grid { --rw-w: 62px; --rw-h: 84px; gap: 8px; }
  .bpc-grid .rw { --s: .58; }
  .bpc-grid .rw-rarity { display: none; }
  .bpc-grid-view h2 { font-size: 30px; }
}
/* cards that arrive face down and turn over (the claim grid; the claim moment reuses the back) */
@keyframes rw-fade { from { opacity: 0; } to { opacity: 1; } }
.bp-flip { perspective: 900px; }
.bp-flip-in { position: relative; transform-style: preserve-3d; animation: bp-turn 700ms calc(300ms + var(--i) * var(--step)) cubic-bezier(.2, .75, .25, 1) both; }
@keyframes bp-turn { 0% { opacity: 0; transform: translateY(24px) rotateY(180deg) scale(.92); } 30% { opacity: 1; } 100% { transform: none; } }
.bp-flip-in > .rw, .bp-flip-back { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.bp-flip-back { position: absolute; inset: 0; border-radius: 10px; transform: rotateY(180deg); background: radial-gradient(60% 40% at 50% 50%, rgba(143, 28, 41, .55), transparent 75%), var(--bp-dots), linear-gradient(180deg, #1b1012, #0a0607);
  box-shadow: inset 0 0 0 1px rgba(214, 140, 118, .45), inset 0 0 0 6px rgba(10, 6, 7, .9), inset 0 0 0 7px rgba(214, 140, 118, .22), 0 14px 28px rgba(0, 0, 0, .5); }
.bp-flip-back i { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(45deg); box-shadow: inset 0 0 0 1px rgba(240, 200, 112, .6), 0 0 18px rgba(240, 200, 112, .25); }
.bp-flip-in > .rw { animation: bp-landed 900ms calc(700ms + var(--i) * var(--step)) ease-out both; }
@keyframes bp-landed { 0% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: inset 0 0 0 1px var(--rc), 0 0 46px -4px var(--rc); } }
.bp-more .bp-flip-in { display: grid; place-content: center; width: var(--rw-w); height: var(--rw-h); border-radius: 10px; text-align: center; background: var(--bp-dots), rgba(14, 10, 11, .9); box-shadow: inset 0 0 0 1px var(--bp-line-hi); }
.bp-more b { font: 400 30px/1 var(--bp-serif); }
.bp-more span { font: 500 13px/1.3 var(--bp-sans); color: var(--bp-ink2); }

/* ---- gold glints: a four-point star that swells, turns a little and fades, each on its own beat (Dodd: "the gold everywhere, more sparkle") ---- */
.bp-sparks { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.bp-season { position: relative; }
.bp-sparks i { position: absolute; width: var(--z); height: var(--z); margin: calc(var(--z) / -2) 0 0 calc(var(--z) / -2); opacity: 0;
  background: radial-gradient(circle, #fffbe8 0 8%, transparent 26%), linear-gradient(90deg, transparent 44%, #ffe9a8 50%, transparent 56%), linear-gradient(0deg, transparent 44%, #ffe9a8 50%, transparent 56%);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 100%); mask: radial-gradient(closest-side, #000 30%, transparent 100%);
  filter: drop-shadow(0 0 5px rgba(240, 200, 112, 1)) drop-shadow(0 0 12px rgba(240, 200, 112, .5)); animation: bp-twinkle 4.2s var(--d, 0s) ease-in-out infinite; }
@keyframes bp-twinkle { 0%, 45%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 62% { opacity: 1; transform: scale(1) rotate(25deg); } 80% { opacity: .6; transform: scale(.75) rotate(45deg); } }
.bp-btn .bp-sparks { overflow: visible; }
.bp-btn.is-gold { overflow: visible; }
.bp-plinth .bp-sparks { inset: -6px -10px 18px; }
/* the gold leaf catches the light now and then: a slow sweep across the season title and the tier medal */
:is(.bp-season, .bp-banner-words) h1 { background: linear-gradient(100deg, var(--bp-bone) 0 42%, #fff6dc 48%, #f0d79a 50%, #fff6dc 52%, var(--bp-bone) 58%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: bp-leaf 9s 1.5s ease-in-out infinite; }
@keyframes bp-leaf { 0%, 70% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
.bp-medal::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: conic-gradient(from 0deg, transparent 0 80%, rgba(255, 240, 200, .5) 88%, transparent 96%);
  -webkit-mask: radial-gradient(closest-side, transparent 86%, #000 88%, #000 99%, transparent 100%); mask: radial-gradient(closest-side, transparent 86%, #000 88%, #000 99%, transparent 100%); animation: bp-orbit 7s linear infinite; }
@keyframes bp-orbit { to { transform: rotate(360deg); } }

/* ================= narrower: the stage stacks, then phone sizes ================= */
@container (max-width: 1000px) {
  .bp-stage { grid-template-columns: minmax(0, 1fr); gap: 10px; min-height: 0; }
  .bp-stage::before { background: linear-gradient(180deg, rgba(7, 5, 6, .78), rgba(7, 5, 6, .55)); }
  .bp-show { grid-template-columns: 170px minmax(0, 1fr); min-height: 0; }
  .rw.is-big, .bp-stage .rw.is-big { --s: 1.36; --rw-w: 142px; --rw-h: 192px; }
  .bp-base { width: 160px; }
  /* v5 QA: the niche, its step and the beam fit the 170px column (they spilled over the menu and the reward's words) */
  .bp-plinth::before { width: 168px; margin-left: -84px; border-radius: 84px 84px 10px 10px; }
  .bp-plinth::after { width: 184px; margin-left: -92px; }
  .bp-beam { width: 160px; margin-left: -80px; }
  .bp-rays { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
}
@container (max-width: 620px) {
  .bp { --k: .8; --cw: 88px; --ch: 120px; --cs: .786; --gap: 9px; --node: 40px; gap: 12px; }
  .bp-stage .rw.is-big { --s: 1.05; --rw-w: 112px; --rw-h: 150px; }
  /* QA: the scrim's 60px bleed made the page 42px wider than a phone (sideways scroll, the tab bar pushed off screen) */
  .bp-stage::before { left: -16px; right: -16px; }
  .bp.has-key .bp-stage::after { right: -16px; }
  /* the free row's cards follow --cw x --fr */
  .bp-kicker .bp-clock { margin-left: 10px; padding-left: 10px; }
  :is(.bp-season, .bp-banner-words) h1 { font-size: 34px; }
  .bp-banner { display: flex; flex-direction: column; height: auto; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
  .bp-banner::after { display: none; }
  .bp-banner-words { order: -1; max-width: none; padding: 0; } /* the title first, the picture under it */
  .bp-banner-art { position: relative; inset: auto; z-index: 0; display: block; margin-top: 12px; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(240, 200, 112, .3), 0 14px 30px rgba(0, 0, 0, .5); }
  .bp-banner-art img { object-position: 50% 45%; }
  .bp.has-banner .bp-stage { min-height: 0; }
  .bp-rank { gap: 14px; margin-top: 12px; }
  .bp-medal { width: 80px; height: 80px; }
  .bp-medal b { font-size: 32px; }
  .bp-show { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: start; }
  .rw.is-big { --s: 1.05; --rw-w: 112px; --rw-h: 150px; }
  .bp-plinth::before { width: 132px; margin-left: -66px; top: -10px; }
  .bp-plinth::after { width: 136px; margin-left: -68px; height: 12px; }
  .bp-rays { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
  .bp-beam { width: 120px; margin-left: -60px; top: -10px; }
  .bp-base { width: 112px; height: 16px; margin-top: 8px; }
  .bp-info h2 { font-size: 22px; }
  .bp-text { font-size: 14.5px; }
  .bp-act .bp-btn { min-width: 0; width: 100%; }
  .bp-need { flex-wrap: wrap; }
  .bp-need span { flex-basis: 100%; margin: 0 0 0 24px; padding: 0; box-shadow: none; }
  .bp-road { grid-template-columns: 30px minmax(0, 1fr); }
  .bp-rows span { font-size: 14px; }
  .bp-cols { --pad-l: 10px; padding-right: 40px; }
  .bp-page { display: none; }
  .rw-name { font-size: 13px; }
  .bp-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .bp-nav { max-width: none; }
  .bp-page { width: 34px; height: 34px; }
  .bp-foot-acts { display: grid; grid-template-columns: auto 1fr; margin-left: 0; }
  .bp-foot-acts .bp-btn.is-gold { grid-column: 1 / -1; grid-row: 1; }
}

/* ================= calm motion: no travel, no loops, no turns; every state change still shows ================= */
@media (prefers-reduced-motion: reduce) {
  .bp-bar i, .bp-cursor, .rw, .rw-art, .bp-window, .bp-page { transition-duration: 1ms !important; }
  .bp.is-enter .bp-bar i, .bp.is-enter .bp-band i, .bp.is-enter .bp-you, .rr-titan .rw-shine, .rr-mythic .rw-shine, .rw-ready, .bp-hold, .fin-ember b, .fin-ember b::before, .fin-foil b::before,
  .rw.is-claiming, .rw.is-claiming .rw-shine, .rw.is-deny, .bp-show.is-swap .bp-hold > .rw, .bp-show.is-swap .bp-info, .bp-plinth.is-claim .bp-hold > .rw, .bp-plinth.is-equip .bp-hold > .rw { animation: none !important; }
  .rw.is-picked { transform: none; }
  .bp-sparks, .bp-medal::after { display: none; }
  :is(.bp-season, .bp-banner-words) h1 { animation: none; background-position: 100% 0; }
  .rw.is-claiming .rw-badge { animation: rw-fade 300ms ease-out both; }
  .bp-flip-in { animation: rw-fade 300ms ease-out both; }
  .bp-flip-in > .rw { animation: none; }
  .bp-claim, .bp-claim.is-out { animation: rw-fade 200ms ease-out both; }
  .bpc-card, .rw.is-claimed-card, .bpc-words > * { animation: none !important; }
  .bpc-flip { transition: none; }
  .bp-plinth.is-claim .bp-rays { animation: rw-fade-out 600ms ease-out both; }
  @keyframes rw-fade { from { opacity: 0; } }
  @keyframes rw-fade-out { from { opacity: .5; transform: none; } to { opacity: 0; } }
}

/* ================= the menu entry: shiny gold with holographic text (the left menu's "Battle Pass") ================= */
.pass-gold {
  background: linear-gradient(100deg, #b58a3c 0%, #f6dc94 16%, #fff6d8 24%, #e8c26a 32%, #b68a3a 44%, #f3d58a 56%, #f1b9c2 66%, #c9b4ec 74%, #a9c6ea 82%, #f3d58a 92%, #b58a3c 100%) 0 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 7px rgba(240, 200, 112, .32)) drop-shadow(0 0 1px rgba(255, 236, 190, .5));
  animation: pass-gold 8s linear infinite;
}
@keyframes pass-gold { to { background-position: -260% 0; } }
:is(button, a):hover > .pass-gold, :is(button, a)[aria-current] > .pass-gold, .pass-gold:is(:hover, [aria-current]) { filter: drop-shadow(0 0 10px rgba(240, 200, 112, .5)) drop-shadow(0 0 1px rgba(255, 236, 190, .7)); }
@media (prefers-reduced-motion: reduce) { .pass-gold { animation: none; background-position: 30% 0; } }

/* ================= "new" marks for the menu and the inventory's tabs: a dark-red glowing diamond or number =================
   <i class="iris-new" aria-hidden="true"></i> beside a menu item (Pass.claimable() / Inventory.newCount() > 0), or
   <em class="iris-count">3</em> for a number. */
.iris-new { display: inline-block; width: 8px; height: 8px; flex: none; transform: rotate(45deg); border-radius: 1px;
  background: radial-gradient(circle at 35% 35%, #ff7b72, #c0161f 55%, #5c0a10); box-shadow: 0 0 0 1px rgba(255, 120, 110, .35), 0 0 8px rgba(220, 30, 40, .85), 0 0 18px color-mix(in oklab, var(--red) 55%, transparent);
  animation: iris-new 2.6s ease-in-out infinite; }
@keyframes iris-new { 50% { box-shadow: 0 0 0 1px rgba(255, 120, 110, .2), 0 0 4px rgba(220, 30, 40, .6), 0 0 10px color-mix(in oklab, var(--red) 30%, transparent); } }
.iris-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font: 600 12.5px/1 var(--sans, Inter, sans-serif); font-style: normal; font-variant-numeric: tabular-nums;
  color: #ffb4ab; text-shadow: 0 0 6px rgba(230, 40, 50, .95); background: radial-gradient(circle at 50% 30%, rgba(150, 18, 28, .75), rgba(60, 6, 12, .85));
  box-shadow: inset 0 0 0 1px rgba(214, 40, 50, .6), 0 0 12px color-mix(in oklab, var(--red) 55%, transparent); }
@media (prefers-reduced-motion: reduce) { .iris-new { animation: none; } }

/* ================= skins and finishes: what you wear changes the whole desk =================
   pass.js puts data-skin + --skin (+ --skin-ink for text on it) and data-finish on <html>. A skin becomes the desk's
   red (every var(--red) follows), the main red buttons, the menu's lit item, and the colour of the world's light
   (.iris-skin-wash sits between the scene and the desk). Nothing else changes: rarity colours and text stay. */
html[data-skin] { --red: color-mix(in oklab, var(--skin) 78%, #000); --red-hi: color-mix(in oklab, var(--skin) 90%, #fff); }
html[data-skin] .btn-red { color: var(--skin-ink, #fff3e4);
  background: linear-gradient(160deg, color-mix(in oklab, var(--skin) 92%, #fff), color-mix(in oklab, var(--skin) 66%, #000) 62%, color-mix(in oklab, var(--skin) 44%, #000));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--skin) 60%, #fff 30%), inset 0 1px 0 rgba(255, 240, 220, .3), 0 10px 28px color-mix(in oklab, var(--skin) 22%, rgba(0, 0, 0, .5)); }
html[data-skin] .btn-red::before { border-color: color-mix(in oklab, var(--skin) 40%, rgba(255, 240, 220, .35)); }
html[data-skin="holo"] .btn-red { color: #1b130a; background: linear-gradient(115deg, #e8a9b4, #d8b56c 25%, #86b399 50%, #7fa6d3 75%, #ab8fd8); }
html[data-skin] .nav > button[aria-current="true"], html[data-skin] .side .nav > button[aria-current="true"] { background: linear-gradient(90deg, color-mix(in oklab, var(--skin) 34%, transparent), transparent); }
html[data-skin] .nav button[aria-current="true"]::before { background: var(--red-hi); box-shadow: 0 0 10px var(--red-hi); }
html[data-skin] .side .nav > button[aria-current="true"] .nav-ic { color: var(--red-hi); filter: drop-shadow(0 0 6px color-mix(in oklab, var(--skin) 70%, transparent)); }
@media (max-width: 860px) { html[data-skin] .side .nav > button[aria-current="true"] { background: linear-gradient(0deg, color-mix(in oklab, var(--skin) 34%, transparent), transparent); } }
.iris-skin-wash { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 700ms ease;
  background: radial-gradient(110% 90% at 72% 62%, var(--skin, transparent), transparent 75%); mix-blend-mode: color; }
.iris-skin-wash.is-on { opacity: .58; }
html[data-skin="holo"] .iris-skin-wash { background: linear-gradient(115deg, #E59CA9, #C7A45A 25%, #6E9B81 50%, #618FBF 75%, #9876C7); }
html[data-skin="holo"] .iris-skin-wash.is-on { opacity: .3; }
/* finishes */
html[data-finish="engraved"] .btn-red::before { inset: 5px; border: 1px solid rgba(255, 240, 220, .42); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3), 0 0 0 1px rgba(0, 0, 0, .3); }
html[data-finish="engraved"] .btn-red { text-shadow: 0 -1px 0 rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 255, 255, .14); }
html[data-finish="gilt"] .btn-red { box-shadow: inset 0 0 0 1.5px #e9c877, inset 0 0 0 3px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 240, 220, .3), 0 10px 28px rgba(0, 0, 0, .45), 0 0 18px rgba(240, 200, 112, .2); }
html[data-finish="gilt"] .nav button[aria-current="true"]::before { background: #f0c870; box-shadow: 0 0 10px #f0c870; }
html[data-finish="patina"] .btn-red { box-shadow: inset 0 0 0 1.5px #7fbfa5, inset 0 0 0 3px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 240, 220, .3), 0 10px 28px rgba(0, 0, 0, .45), 0 0 18px rgba(94, 170, 140, .22); }
html[data-finish="patina"] .btn-red::before { border-color: rgba(127, 191, 165, .5); }
html[data-finish="ember"] .btn-red { animation: iris-ember 3.4s ease-in-out infinite; }
@keyframes iris-ember { 50% { filter: brightness(1.08); box-shadow: inset 0 0 0 1px rgba(255, 190, 140, .8), 0 0 26px color-mix(in oklab, var(--skin, #d2553c) 70%, transparent), 0 10px 28px rgba(0, 0, 0, .45); } }
html[data-finish="foil"] .btn-red::after { opacity: .3; animation: iris-foil 7s linear infinite; }
@keyframes iris-foil { from { background-position: 0 0; } to { background-position: -300% 0; } }
@media (prefers-reduced-motion: reduce) {
  html[data-finish="ember"] .btn-red, html[data-finish="foil"] .btn-red::after { animation: none; }
  .iris-skin-wash { transition: none; }
}
/* the "how you earn" tip stays on a phone screen (QA, 10-26) */
@media (max-width: 600px) { .bp-how-tip { left: auto; right: -8px; max-width: calc(100vw - 32px); } }

/* ================= the worn theme's colour on every red UI accent (#216, Dodd 10-27) =================
   Menu/notification diamonds, "new" tags, the lit tab, progress notches and the bar: all hard-coded dark reds on the
   Default theme. With a skin on (html[data-skin]) they take the skin's --red / --red-hi. The Default theme is untouched.
   Stays red on purpose: the admin parts (red Profile header, ADMIN badge, admin tab), Mythic (a rarity colour) and all art. */
html[data-skin] .hm-mark, html[data-skin] .nav-mark {
  background: linear-gradient(135deg, color-mix(in oklab, var(--red-hi) 55%, #fff) 0%, var(--red-hi) 42%, color-mix(in oklab, var(--red) 80%, #000) 100%);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--red) 25%, #000), 0 0 7px color-mix(in oklab, var(--red-hi) 80%, transparent), 0 0 16px color-mix(in oklab, var(--red-hi) 50%, transparent); }
html[data-skin] .hm-mark::after, html[data-skin] .nav-mark::after { background: radial-gradient(closest-side, color-mix(in oklab, var(--red-hi) 55%, transparent), transparent); }
html[data-skin] .iris-new {
  background: radial-gradient(circle at 35% 35%, color-mix(in oklab, var(--red-hi) 60%, #fff), var(--red-hi) 55%, color-mix(in oklab, var(--red) 55%, #000));
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--red-hi) 35%, transparent), 0 0 8px color-mix(in oklab, var(--red-hi) 85%, transparent), 0 0 18px color-mix(in oklab, var(--red) 55%, transparent); }
@keyframes iris-new-skin { 50% { box-shadow: 0 0 0 1px color-mix(in oklab, var(--red-hi) 20%, transparent), 0 0 4px color-mix(in oklab, var(--red-hi) 60%, transparent), 0 0 10px color-mix(in oklab, var(--red) 30%, transparent); } }
html[data-skin] .iris-new { animation-name: iris-new-skin; }
html[data-skin] .iris-count, html[data-skin] .iv-new {
  color: color-mix(in oklab, var(--red-hi) 45%, #fff); text-shadow: 0 0 6px color-mix(in oklab, var(--red-hi) 95%, transparent);
  background: color-mix(in oklab, var(--red) 28%, #050304);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--red-hi) 60%, transparent), 0 0 12px color-mix(in oklab, var(--red) 55%, transparent); }
html[data-skin] .iv-slot.is-new { box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--red-hi) 60%, transparent), inset 0 1px 0 rgba(255, 238, 214, .1), inset 0 -40px 50px -20px rgba(0, 0, 0, .55), 0 0 22px -4px color-mix(in oklab, var(--red) 70%, transparent), 0 10px 22px rgba(0, 0, 0, .45); }
html[data-skin] .hm-notches i.on, html[data-skin] .hm-trial-days i.now {
  background: linear-gradient(180deg, color-mix(in oklab, var(--red-hi) 60%, #fff), var(--red-hi) 55%, color-mix(in oklab, var(--red) 70%, #000)); }
html[data-skin] .hd-btn.has-new .hd-count { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 10px color-mix(in oklab, var(--red-hi) 45%, transparent); }
html[data-skin] .bd-tabs button[aria-pressed="true"]::before { background: var(--red-hi); }
html[data-skin] .pf-tabs [aria-selected=true] svg { color: color-mix(in oklab, var(--red-hi) 55%, #fff); }
html[data-skin] .pf-lit { background: linear-gradient(180deg, color-mix(in oklab, var(--red-hi) 34%, transparent), color-mix(in oklab, var(--red) 30%, transparent)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--red-hi) 35%, #fff 0%), inset 0 -2px 0 var(--red-hi), 0 0 22px -6px color-mix(in oklab, var(--red-hi) 70%, transparent); }
html[data-skin] .pr-bar i { background: linear-gradient(90deg, color-mix(in oklab, var(--red) 80%, #000), var(--red) 40%, #f0c870); }

/* Shop acquisition: a short pull-in, a clean rarity impact, then the actual item settles into its receipt. */
.bpc-close { position: fixed; top: max(16px, env(safe-area-inset-top)); right: max(20px, env(safe-area-inset-right)); z-index: 5; min-height: 44px; padding: 0 16px; border: 1px solid rgba(236,228,216,.22); border-radius: 9px; background: rgba(14,11,12,.8); color: var(--bp-bone); font: 600 14px var(--bp-sans); cursor: pointer; }
.bpc-close:focus-visible, .bpc-reveal:focus-visible { outline: 2px solid var(--focus,#f3d3a3); outline-offset: 4px; }
.bpc-reveal { position: relative; margin-top: 12px; z-index: 4; min-height: 44px; padding: 0 18px; border: 1px solid color-mix(in srgb,var(--fx-c) 45%,transparent); border-radius: 9px; background: #171113; color: var(--bp-bone); font: 600 14px var(--bp-sans); cursor: pointer; }
.bpc-moment.is-open .bpc-reveal { display: none; }
.bp-claim.is-shop { padding-top: 80px; }
.bp-claim.is-shop .bpc-room { background: radial-gradient(58% 65% at 30% 42%,color-mix(in srgb,var(--fx-c) 17%,#151113),#090709 80%); }
.bp-claim.is-shop .bpc-moment { grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 54px; text-align: left; }
.bp-claim.is-shop .bpc-kicker { grid-column: 1 / -1; margin-bottom: 28px; letter-spacing: .04em; }
.bp-claim.is-shop .bpc-words { justify-items: start; margin-top: 0; max-width: 460px; gap: 12px; }
.bp-claim.is-shop .bpc-words h2 { font-size: clamp(30px,4vw,46px); }
.bp-claim.is-shop .bpc-kind { font-size: 13px; text-shadow: none; }
.bp-claim.is-shop .bpc-receipt { margin: 0; color: var(--bp-bone); font: 600 12px/1.4 var(--bp-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.bp-claim.is-shop .bpc-words > *, .bp-claim.is-shop .bpc-card { animation: none !important; }
.bp-claim.is-shop .is-purchase-arriving .bpc-card { animation: bpc-purchase-arrive 860ms cubic-bezier(.18,.8,.25,1) both !important; }
.bp-claim.is-shop .is-purchase-arriving .bpc-words > :not(.bpc-acts) { animation: bpc-word 340ms cubic-bezier(.16,1,.3,1) both !important; animation-delay: 290ms !important; }
.bp-claim.is-shop .is-purchase-arriving .bpc-words > h2 { animation-delay: 220ms !important; }
/* Buttons are available from frame one, even while the reveal is playing. */
.bp-claim.is-shop .bpc-acts { position: relative; z-index: 4; }
@keyframes bpc-purchase-arrive {
  0% { opacity: 0; transform: translateY(24px) scale(.88) rotateY(-12deg); }
  20% { opacity: 1; transform: translateY(8px) scale(.94) rotateY(-5deg); }
  44% { transform: translateY(-7px) scale(1.045) rotateY(2deg); }
  75% { transform: translateY(2px) scale(.995); }
  100% { opacity: 1; transform: none; }
}
.bpc-award-ring, .bpc-award-streak { position: absolute; pointer-events: none; z-index: -1; opacity: 0; }
.bpc-award-ring { inset: 12% -14%; border: 1px solid color-mix(in srgb,var(--fx-c2) 65%,transparent); border-radius: 50%; box-shadow: 0 0 24px color-mix(in srgb,var(--fx-c) 20%,transparent), inset 0 0 20px color-mix(in srgb,var(--fx-c) 12%,transparent); }
.bpc-award-streak { top: 44%; left: -24%; width: 148%; height: 1px; background: linear-gradient(90deg,transparent,var(--fx-c),var(--fx-c2),var(--fx-c),transparent); box-shadow: 0 0 14px var(--fx-c); }
.is-purchase-arriving.is-purchase-landed .bpc-award-ring { animation: bpc-award-ring 650ms cubic-bezier(.12,.8,.25,1) both; }
.is-purchase-arriving.is-purchase-landed .bpc-award-streak { animation: bpc-award-streak 520ms ease-out both; }
@keyframes bpc-award-ring { 0% { opacity: .65; transform: scale(.7,.72); } 100% { opacity: 0; transform: scale(1.32,1.06); } }
@keyframes bpc-award-streak { 0% { opacity: 0; transform: scaleX(.2); } 20% { opacity: .8; } 100% { opacity: 0; transform: scaleX(1.1); } }
.bpc-quantity { position: absolute; z-index: 3; right: 0; bottom: 30px; min-width: 52px; padding: 10px 13px; border: 1px solid color-mix(in srgb,var(--fx-c) 65%,transparent); border-radius: 10px; background: #171115; color: var(--bp-bone); font: 700 22px/1 var(--bp-sans); box-shadow: 0 4px 24px #0009, 0 0 20px color-mix(in srgb,var(--fx-c) 15%,transparent); }
.bpc-skip-motion { position: relative; z-index: 4; min-height: 44px; margin-top: 2px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--bp-ink2); font: 500 13px/1 var(--bp-sans); cursor: pointer; }
.bpc-skip-motion:focus-visible { outline: 2px solid var(--focus,#f3d3a3); outline-offset: 2px; }
.bpc-skip-motion:hover { color: var(--bp-bone); background: #ffffff08; }
.bp-claim.is-shop .bpc-flip { transform: none; transition: none; }
.bp-claim.is-shop :is(.bpc-meter,.bpc-hold,.bpc-flash,.bpc-fx,.bpc-beam) { display: none; }
.bp-claim.is-shop .bpc-halo { opacity: calc(.32 + var(--rank) * .045); }
.bp-claim.is-shop .is-purchase-arriving.is-purchase-landed .bpc-halo { animation: bpc-purchase-light 650ms ease-out both; }
@keyframes bpc-purchase-light { 0% { opacity: .85; transform: scale(.85); } 100% { opacity: .4; transform: scale(1); } }
.bp-claim.is-shop .bpc-floor { opacity: .5; }
.bp-claim.is-shop .rw.is-claimed-card { animation: none; box-shadow: 0 20px 44px rgba(0,0,0,.55); }
.bp-claim.is-shop .bpc-acts { justify-content: flex-start; gap: 10px; }
.bp-claim.is-shop .bpc-acts .bp-btn { min-width: 150px; min-height: 48px; }
.bp-claim.is-shop .bpc-where { justify-content: flex-start; text-align: left; }
@media (max-width: 760px) {
  .bp-claim.is-shop .bpc-moment { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .bp-claim.is-shop .bpc-kicker { margin-bottom: 0; }
  .bp-claim.is-shop .bpc-words { justify-items: center; text-align: center; max-width: 480px; }
  .bp-claim.is-shop :is(.bpc-acts,.bpc-where) { justify-content: center; text-align: center; }
  .bp-claim.is-shop .bpc-stage { transform: scale(.88); margin-block: -18px; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-claim.is-shop .bpc-moment :is(.bpc-card,.bpc-halo,.bpc-award-ring,.bpc-award-streak), .bp-claim.is-shop .bpc-moment .bpc-words > * { animation: none !important; }
}

.bpc-moment:has(.bpc-reveal) .bpc-hold { display: none; }

.bp-claim.is-shop .bpc-receipt{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.bp-claim.is-shop .bpc-halo{opacity:calc(.22 + var(--rank)*.025)}
