/* /Layout/MainLayout.razor.rz.scp.css */
main[b-xhutjk1h2m] { display: block; }

/* thin studio cross-link bar across every page */
.zss-bar[b-xhutjk1h2m] {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.25rem 0.8rem;
    background: rgba(30, 33, 44, 0.9);
    font-size: 0.75rem; font-weight: 700;
}
.zss-bar a[b-xhutjk1h2m] { color: #eef2f7; text-decoration: none; white-space: nowrap; }
.zss-bar a:hover[b-xhutjk1h2m] { color: #ffe08a; }
.zb-studio[b-xhutjk1h2m] { letter-spacing: 0.03em; }
.zb-right[b-xhutjk1h2m] { display: flex; align-items: center; gap: 0.45rem; }
.zb-sep[b-xhutjk1h2m] { opacity: 0.5; color: #eef2f7; }

@media (max-width: 520px) {
    .zb-right a:last-child[b-xhutjk1h2m], .zb-sep:last-of-type[b-xhutjk1h2m] { display: none; }
}
/* /Pages/Home.razor.rz.scp.css */
.speedway[b-km7n8um5hn] {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.6rem 1rem 3rem;
}

/* ===== top bar ===== */
.bar[b-km7n8um5hn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
    padding: 0.2rem 0.1rem 0.5rem;
}
.brand[b-km7n8um5hn] { font-weight: 700; font-size: 1.4rem; color: #eef1f8; text-decoration: none; font-style: italic; letter-spacing: 0.01em; }
.brand span:last-child[b-km7n8um5hn] { color: var(--sun); }
.brand-flag[b-km7n8um5hn] { display: inline-block; font-style: normal; transform-origin: bottom left; animation: flagWave-b-km7n8um5hn 2.4s ease-in-out infinite; }
@keyframes flagWave-b-km7n8um5hn { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }
.chip[b-km7n8um5hn] {
    border: 2px solid #565c6e; background: #3b404e; border-radius: 999px;
    padding: 0.35rem 0.8rem; font-weight: 700; font-size: 0.85rem; color: #e8ebf4;
    box-shadow: 0 2px 0 var(--shadow); max-width: 10rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.chip.primary[b-km7n8um5hn] { background: var(--red); color: #fff; border-color: var(--red-d); }

/* ===== the pit-wall dashboard — one timing board instead of three rows ===== */
.dash[b-km7n8um5hn] {
    display: flex; align-items: stretch; gap: 0.6rem; flex-wrap: wrap;
    background: linear-gradient(180deg, #262a34, #20232c);
    border: 2px solid #4a4f60;
    border-radius: 16px;
    padding: 0.45rem 0.6rem 0.45rem 1rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 6px 18px var(--shadow), inset 0 1px 0 rgba(255,255,255,0.04);
    position: relative;
    overflow: hidden;
}
/* checkered kerb down the left edge */
.dash[b-km7n8um5hn]::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px;
    background: repeating-conic-gradient(#e8e6df 0% 25%, #2a2d37 0% 50%) 0 0 / 9px 9px;
    opacity: 0.55;
}

/* LED timing display: game score + ZSS, tap for the cross-game popup */
.dash-led[b-km7n8um5hn] {
    display: flex; align-items: center; gap: 0.7rem;
    background: none; border: none; padding: 0.1rem 0.2rem;
    cursor: pointer;
}
.dash-led:active[b-km7n8um5hn] { transform: translateY(1px); }
.led-block[b-km7n8um5hn] { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.led-lbl[b-km7n8um5hn] {
    font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em;
    color: #9aa0ae; font-style: italic;
}
.led-val[b-km7n8um5hn] {
    font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums;
    color: var(--amber);
    text-shadow: 0 0 10px rgba(238, 180, 94, 0.3);
}
.led-block.zss .led-val[b-km7n8um5hn] { color: #b9a5f5; text-shadow: 0 0 10px rgba(143, 123, 224, 0.35); }
.led-div[b-km7n8um5hn] { width: 2px; align-self: stretch; margin: 0.2rem 0; background: #4a4f60; transform: skewX(-12deg); }

/* telemetry readouts: coins / wins / streak */
.dash-tels[b-km7n8um5hn] { display: flex; align-items: center; gap: 0.35rem; flex: 1; min-width: 0; }
.tel[b-km7n8um5hn] {
    display: flex; align-items: center; gap: 0.25rem;
    background: #2c303b; border: 1px solid #4a4f60; border-radius: 999px;
    padding: 0.25rem 0.6rem;
    transform: skewX(-8deg);
}
.tel > *[b-km7n8um5hn] { transform: skewX(8deg); }
.tel-ic[b-km7n8um5hn] { font-size: 0.85rem; }
.tel-val[b-km7n8um5hn] { font-weight: 800; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.tel-val.gold[b-km7n8um5hn] { color: var(--sun); }
.tel-val.green[b-km7n8um5hn] { color: var(--green); }
.tel-val.hot[b-km7n8um5hn] { color: #ff8a5c; }

/* mini form graph in the dash — links to the full /stats breakdown */
.dash-graph[b-km7n8um5hn] {
    display: flex; align-items: center; gap: 0.35rem;
    background: #2c303b; border: 1px solid #4a4f60; border-radius: 10px;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    transition: border-color 0.12s ease;
}
.dash-graph:hover[b-km7n8um5hn] { border-color: var(--sun); }
.dash-graph:active[b-km7n8um5hn] { transform: translateY(1px); }
.dg-bars[b-km7n8um5hn] { display: flex; align-items: flex-end; gap: 2px; height: 22px; min-width: 36px; }
.dg-bar[b-km7n8um5hn] { flex: 0 0 5px; border-radius: 1.5px 1.5px 0 0; }
.dg-bar.p1[b-km7n8um5hn] { height: 100%; background: linear-gradient(180deg, #ffe08a, #ffb02e); }
.dg-bar.p2[b-km7n8um5hn] { height: 68%; background: #aab2c4; }
.dg-bar.p3[b-km7n8um5hn] { height: 44%; background: #c08550; }
.dg-bar.p4[b-km7n8um5hn] { height: 20%; background: #6e3a42; }
.dg-none[b-km7n8um5hn] { font-size: 0.6rem; font-weight: 700; color: #5a5f72; font-style: italic; white-space: nowrap; align-self: center; }
.dg-ic[b-km7n8um5hn] { font-size: 0.85rem; }

/* compact pit buttons: shop / achievements / boards / learn */
.dash-btns[b-km7n8um5hn] { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.db[b-km7n8um5hn] {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 38px;
    background: #343845; border: 2px solid #565c6e; border-radius: 10px;
    font-size: 1.05rem; color: #e8ebf4; text-decoration: none;
    box-shadow: 0 3px 0 rgba(0,0,0,0.4);
    transition: border-color 0.12s ease;
}
.db:hover[b-km7n8um5hn] { border-color: var(--sun); }
.db:active[b-km7n8um5hn] { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,0.4); }
.db-n[b-km7n8um5hn] {
    position: absolute; top: -7px; right: -8px;
    font-size: 0.55rem; font-weight: 800; color: #1d1f26;
    background: var(--sun); border-radius: 999px; padding: 0.1rem 0.32rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
    .dash[b-km7n8um5hn] { padding-left: 0.9rem; row-gap: 0.4rem; }
    .dash-led[b-km7n8um5hn] { flex-basis: 100%; justify-content: space-between; }
    .led-div[b-km7n8um5hn] { display: none; }
    .led-block.zss[b-km7n8um5hn] { align-items: flex-end; }
    .dash-tels[b-km7n8um5hn] { justify-content: flex-start; }
    .dash-graph[b-km7n8um5hn] { order: 5; }
}

.loading[b-km7n8um5hn] { text-align: center; color: var(--sun); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== pit-board panels ===== */
.panel[b-km7n8um5hn], .race-wrap[b-km7n8um5hn] {
    position: relative;
    background: linear-gradient(180deg, #353a47, #2e323e);
    border: 2px solid #4a4f60;
    border-radius: 18px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 6px 18px var(--shadow);
    overflow: hidden;
}
.panel-head[b-km7n8um5hn], .race-head[b-km7n8um5hn] { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.panel-head h2[b-km7n8um5hn], .race-head h2[b-km7n8um5hn] {
    font-size: 1.05rem; color: var(--sun);
    font-style: italic; text-transform: uppercase; letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(242, 205, 107, 0.18);
}
.hint[b-km7n8um5hn] { font-size: 0.72rem; color: #aab0c2; }

/* scrolling checkered tape across the top of the race panel */
.checker-strip[b-km7n8um5hn] {
    position: absolute; top: 0; left: 0; right: 0; height: 9px;
    background: repeating-conic-gradient(#e8e6df 0% 25%, #2a2d37 0% 50%) 0 0 / 9px 9px;
    animation: checkScroll-b-km7n8um5hn 1.4s linear infinite;
    opacity: 0.5;
}
@keyframes checkScroll-b-km7n8um5hn { to { background-position: 18px 0; } }
.race-wrap[b-km7n8um5hn] { padding-top: 1.1rem; }

.race-badges[b-km7n8um5hn] { display: flex; align-items: center; gap: 0.4rem; }
.live[b-km7n8um5hn] {
    font-weight: 800; font-size: 0.72rem; letter-spacing: 0.08em; color: #ff5e54;
    animation: livePulse-b-km7n8um5hn 1.1s ease-in-out infinite;
}
@keyframes livePulse-b-km7n8um5hn { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.stars[b-km7n8um5hn] { color: var(--sun); font-size: 0.85em; letter-spacing: 0.1em; text-shadow: 0 0 8px rgba(242, 205, 107, 0.3); font-style: normal; }
.lap-badge[b-km7n8um5hn] {
    font-weight: 800; font-size: 0.8rem; color: #fff;
    background: var(--red); border-radius: 999px; padding: 0.2rem 0.7rem;
    box-shadow: 0 2px 0 rgba(0,0,0,0.3);
    font-variant-numeric: tabular-nums;
    transform: skewX(-8deg);
}

/* ===== race day: entry + star-tiered venues ===== */
.entry-row[b-km7n8um5hn] {
    display: flex; align-items: center; gap: 0.7rem;
    background: #fcf8ee; border: 2px solid #e3dac2; border-radius: 14px;
    padding: 0.5rem 0.7rem; margin-bottom: 0.6rem; box-shadow: 0 3px 0 var(--shadow);
}
.entry-img[b-km7n8um5hn] { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; border: 2px solid #ffe08a; }
.entry-info[b-km7n8um5hn] { display: flex; flex-direction: column; gap: 0.1rem; }
.entry-info strong[b-km7n8um5hn] { color: var(--paper-ink); }
.entry-sub[b-km7n8um5hn] { font-size: 0.74rem; color: #6b7287; font-weight: 600; }

.leagues[b-km7n8um5hn] { display: grid; gap: 0.6rem; }
.league-group[b-km7n8um5hn] {
    background: #3b404e;
    border: 2px solid #565c6e;
    border-radius: 14px;
    padding: 0.55rem 0.7rem 0.65rem;
    transition: border-color 0.15s ease;
}
.league-group:not(.locked):hover[b-km7n8um5hn] { border-color: var(--sun); }
.league-group.locked[b-km7n8um5hn] { opacity: 0.55; }
.lgg-head[b-km7n8um5hn] { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.lgg-stars[b-km7n8um5hn] {
    font-size: 1.2rem; color: var(--sun); letter-spacing: 0.12em; white-space: nowrap;
    text-shadow: 0 0 10px rgba(242, 205, 107, 0.3);
    transform: skewX(-6deg);
}
.lgg-info[b-km7n8um5hn] { flex: 1; min-width: 140px; display: flex; flex-direction: column; line-height: 1.2; }
.lgg-info strong[b-km7n8um5hn] { color: #fff; font-style: italic; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.08rem; }
.lgg-sub[b-km7n8um5hn] { font-size: 0.82rem; color: #b6bccd; }
.lgg-meta[b-km7n8um5hn] { font-size: 0.8rem; font-weight: 700; color: #d4d9e4; margin-top: 0.15rem; }
.lgg-pay[b-km7n8um5hn] { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; white-space: nowrap; }
.lgg-prize[b-km7n8um5hn] { font-weight: 800; font-size: 0.95rem; color: var(--amber); }
.lgg-entry[b-km7n8um5hn] { font-size: 0.85rem; font-weight: 700; color: #c8cedb; }

.venues[b-km7n8um5hn] { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.45rem; }
.venue[b-km7n8um5hn] {
    position: relative;
    display: flex; align-items: center; gap: 0.5rem;
    border: 2px solid #e3dac2; background: #fcf8ee; border-radius: 12px;
    padding: 0.55rem 0.7rem;
    box-shadow: 0 3px 0 var(--shadow);
    overflow: hidden;
    transition: transform 0.12s ease;
}
.venue:disabled[b-km7n8um5hn] { cursor: default; }
.venue:not(:disabled):hover[b-km7n8um5hn] { transform: translateY(-2px); }
.venue:not(:disabled):active[b-km7n8um5hn] { transform: translateY(2px); box-shadow: 0 1px 0 var(--shadow); }
/* headlight shine sweep on hover */
.venue[b-km7n8um5hn]::before {
    content: ""; position: absolute; top: 0; bottom: 0; width: 36%;
    left: -60%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 220, 120, 0.45), transparent);
    transition: left 0.45s ease;
}
.venue:not(:disabled):hover[b-km7n8um5hn]::before { left: 130%; }
.v-emoji[b-km7n8um5hn] { font-size: 1.7rem; }
.v-name[b-km7n8um5hn] { flex: 1; text-align: left; font-weight: 800; font-size: 0.92rem; color: var(--paper-ink); line-height: 1.15; }
.v-go[b-km7n8um5hn] { font-size: 0.74rem; font-weight: 800; font-style: italic; color: var(--red); letter-spacing: 0.06em; white-space: nowrap; }

/* ===== the race view ===== */
.race-grid[b-km7n8um5hn] { display: grid; gap: 0.7rem; grid-template-columns: 1fr; }
@media (min-width: 880px) {
    .race-grid[b-km7n8um5hn] { grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); align-items: start; }
}

/* the floor of the venue — a wide sideways course */
.track[b-km7n8um5hn] {
    /* venue skin variables (default = Jen's Home: wood floor, red rug) */
    --fa: #c49a6c; --fb: #b88a58;                 /* floor planks */
    --fl: rgba(60, 30, 10, 0.08);                 /* floor seam lines */
    --ra: #b8505c; --rb: #a03c4c; --rc: #8a2f3e;  /* ring surface */
    --bind: #e8d9b0; --band: #7c2a38; --thread: #d9b96a;
    --lane: rgba(255, 235, 200, 0.5);

    position: relative;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background:
        repeating-linear-gradient(90deg, var(--fl) 0 2px, transparent 2px 72px),
        repeating-linear-gradient(0deg, var(--fa) 0 64px, var(--fb) 64px 130px);
    border: 2px solid #4a4f60;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.25);
}

/* the course ring: woven texture + stitched border + fringe */
.oval-outer[b-km7n8um5hn] {
    position: absolute; inset: 6% 3%;
    border-radius: 50%;
    background:
        repeating-linear-gradient(45deg, rgba(255,245,225,0.07) 0 4px, transparent 4px 8px),
        repeating-linear-gradient(-45deg, rgba(20,10,12,0.10) 0 4px, transparent 4px 8px),
        radial-gradient(ellipse at 50% 38%, var(--ra) 0%, var(--rb) 55%, var(--rc) 100%);
    box-shadow:
        inset 0 0 0 5px var(--bind),
        inset 0 0 0 9px var(--band),
        inset 0 0 0 11px var(--thread),
        inset 0 0 26px rgba(0, 0, 0, 0.45);
}
.oval-outer[b-km7n8um5hn]::after {
    content: "";
    position: absolute; inset: -7px;
    border-radius: 50%;
    border: 7px dashed var(--bind);
    opacity: 0.8;
}
.oval-lane[b-km7n8um5hn] {
    position: absolute; inset: 22% 21%;
    border-radius: 50%;
    border: 3px dotted var(--lane);
    pointer-events: none;
}
.oval-inner[b-km7n8um5hn] {
    position: absolute; inset: 30% 26%;
    border-radius: 50%;
    background:
        repeating-linear-gradient(90deg, var(--fl) 0 2px, transparent 2px 56px),
        linear-gradient(180deg, var(--fa), var(--fb));
    box-shadow: inset 0 0 0 5px var(--bind), inset 0 0 0 9px var(--band), inset 0 6px 18px rgba(0,0,0,0.3);
    display: grid; place-items: center;
}
.infield[b-km7n8um5hn] { font-size: 2.1rem; opacity: 0.92; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.35)); }
.start-line[b-km7n8um5hn] {
    position: absolute; top: 6%; left: 50%; transform: translateX(-50%);
    width: 13px; height: 24.5%;
    background: repeating-conic-gradient(#e8e6df 0% 25%, #2a2d37 0% 50%) 0 0 / 6.5px 6.5px;
    border-radius: 2px;
    opacity: 0.92;
    z-index: 1;
}

/* ---- venue skins ---- */
.track.v-cottage[b-km7n8um5hn]  { --fa:#d9c8a4; --fb:#cdbb94; --ra:#4fa39a; --rb:#3f8e86; --rc:#327a72; --band:#2a5f5a; }
.track.v-backyard[b-km7n8um5hn] { --fa:#7eb85c; --fb:#6fa84f; --fl:rgba(30,60,20,0.10); --ra:#a98a5f; --rb:#9b7748; --rc:#85643a; --bind:#d9c9a0; --band:#6e5430; --thread:#c2a76a; --lane:rgba(255,255,255,0.45); }
.track.v-alley[b-km7n8um5hn]    { --fa:#3a3d46; --fb:#33363e; --fl:rgba(255,255,255,0.03); --ra:#4a4e5a; --rb:#41454f; --rc:#383b44; --bind:#ffd24a; --band:#2c2f37; --thread:#ff6b6b; --lane:rgba(255,210,74,0.55); }
.track.v-cafe[b-km7n8um5hn]     { --fa:#e8d9c0; --fb:#d9c5a4; --ra:#8a5a3a; --rb:#7a4c2e; --rc:#684026; --band:#503018; --thread:#e8c89a; }
.track.v-rooftop[b-km7n8um5hn]  { --fa:#8a8f9c; --fb:#7c818e; --fl:rgba(0,0,0,0.07); --ra:#5a5f6c; --rb:#4f5460; --rc:#454a55; --bind:#ffd24a; --band:#3a3e48; --thread:#fff; --lane:rgba(255,255,255,0.5); }
.track.v-arcade[b-km7n8um5hn]   { --fa:#2c2440; --fb:#251e36; --fl:rgba(255,255,255,0.04); --ra:#7a3fa8; --rb:#682f96; --rc:#562680; --bind:#3ddcd2; --band:#3c1860; --thread:#ff5ec4; --lane:rgba(61,220,210,0.6); }
.track.v-museum[b-km7n8um5hn]   { --fa:#e8e4da; --fb:#dcd6c8; --fl:rgba(120,110,90,0.12); --ra:#a83a48; --rb:#962e3c; --rc:#822634; --band:#641c28; }
.track.v-stadium[b-km7n8um5hn]  { --fa:#4c9c44; --fb:#449038; --fl:rgba(255,255,255,0.06); --ra:#c2543c; --rb:#b04830; --rc:#9c3e28; --bind:#fff; --band:#8a3522; --thread:#fff; --lane:rgba(255,255,255,0.65); }
.track.v-beach[b-km7n8um5hn]    { --fa:#ecd9a8; --fb:#e2cc92; --fl:rgba(160,130,60,0.14); --ra:#3aa8c8; --rb:#2e96b6; --rc:#2682a0; --bind:#fff; --band:#1e6a84; --thread:#ffd24a; --lane:rgba(255,255,255,0.55); }
.track.v-snow[b-km7n8um5hn]     { --fa:#e8f0f8; --fb:#dce8f4; --fl:rgba(120,160,200,0.14); --ra:#9cc8e8; --rb:#88b8dc; --rc:#74a8d0; --bind:#fff; --band:#5a88b0; --thread:#cde4f4; --lane:rgba(255,255,255,0.7); }
.track.v-volcano[b-km7n8um5hn]  { --fa:#3a3034; --fb:#322a2e; --fl:rgba(255,120,40,0.06); --ra:#7a3024; --rb:#682818; --rc:#561f12; --bind:#ffb02e; --band:#40160c; --thread:#ff6b3c; --lane:rgba(255,176,46,0.55); }
.track.v-volcano .oval-outer[b-km7n8um5hn] { animation: lavaPulse-b-km7n8um5hn 2.4s ease-in-out infinite; }
@keyframes lavaPulse-b-km7n8um5hn {
    0%, 100% { filter: none; }
    50% { filter: drop-shadow(0 0 14px rgba(255, 100, 30, 0.55)) brightness(1.08); }
}
.track.v-arcade .oval-lane[b-km7n8um5hn] { animation: neonFlicker-b-km7n8um5hn 3.2s linear infinite; }
@keyframes neonFlicker-b-km7n8um5hn { 0%, 92%, 100% { opacity: 1; } 93% { opacity: 0.4; } 95% { opacity: 1; } 97% { opacity: 0.5; } }

/* ===== start-gantry lights ===== */
.lights[b-km7n8um5hn] {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 12;
    display: flex; gap: 0.55rem;
    background: rgba(20, 22, 28, 0.88);
    border: 2px solid #4a4f60;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: lightsOut-b-km7n8um5hn 0.25s ease 1.7s forwards;
}
@keyframes lightsOut-b-km7n8um5hn { to { opacity: 0; transform: translate(-50%, -50%) scale(1.25); } }
.lt[b-km7n8um5hn] { width: 19px; height: 19px; border-radius: 50%; background: #3a2228; }
.lt.go[b-km7n8um5hn] { background: #1e3a2a; }
.lt.l1[b-km7n8um5hn] { animation: redOn-b-km7n8um5hn 0.18s ease 0.15s forwards; }
.lt.l2[b-km7n8um5hn] { animation: redOn-b-km7n8um5hn 0.18s ease 0.60s forwards; }
.lt.l3[b-km7n8um5hn] { animation: redOn-b-km7n8um5hn 0.18s ease 1.05s forwards; }
.lt.go[b-km7n8um5hn] { animation: greenOn-b-km7n8um5hn 0.2s ease 1.45s forwards; }
@keyframes redOn-b-km7n8um5hn { to { background: #ff4438; box-shadow: 0 0 14px #ff4438; } }
@keyframes greenOn-b-km7n8um5hn { to { background: #3ddc84; box-shadow: 0 0 16px #3ddc84; } }

/* ===== racers: cataas photo + wobbling ride ===== */
.racer[b-km7n8um5hn] {
    position: absolute;
    transform: translate(-50%, -50%);
    transition: left 0.1s linear, top 0.1s linear;
    display: flex; flex-direction: column; align-items: center;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}
.racer .r-img[b-km7n8um5hn] {
    width: 30px; height: 30px; object-fit: cover;
    border-radius: 50%; border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.45);
    margin-bottom: -7px;
    background: #ddd;
}
.racer .r-car[b-km7n8um5hn] { font-size: 1.3rem; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.4)); animation: vroom-b-km7n8um5hn 0.38s ease-in-out infinite; }
@keyframes vroom-b-km7n8um5hn { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-1px); } }
.racer.me[b-km7n8um5hn] { z-index: 3; }
.racer.me .r-img[b-km7n8um5hn] { width: 36px; height: 36px; border-color: var(--sun); box-shadow: 0 0 10px rgba(242, 205, 107, 0.55), 0 2px 4px rgba(0,0,0,0.45); }
.r-fx[b-km7n8um5hn] { position: absolute; top: -1.1rem; font-size: 0.95rem; animation: fxPop-b-km7n8um5hn 0.5s ease; }
@keyframes fxPop-b-km7n8um5hn { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===== the box drop ===== */
.drop[b-km7n8um5hn] {
    position: absolute;
    left: 50%; bottom: 8%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
    background: rgba(255, 247, 230, 0.97);
    border: 3px solid var(--sun);
    border-radius: 16px;
    padding: 0.5rem 0.8rem 0.6rem;
    box-shadow: 0 10px 26px rgba(0,0,0,0.45);
    min-width: 210px; max-width: 86%;
    overflow: hidden;
    animation: dropIn-b-km7n8um5hn 0.45s cubic-bezier(0.2, 1.6, 0.4, 1);
}
@keyframes dropIn-b-km7n8um5hn { from { transform: translateX(-50%) translateY(-260%) rotate(8deg); } to { transform: translateX(-50%) translateY(0) rotate(0); } }
.drop.bad[b-km7n8um5hn] { border-color: #c0556a; background: rgba(255, 236, 240, 0.97); }

.drop-box[b-km7n8um5hn] { font-size: 2.4rem; animation: boxShake-b-km7n8um5hn 0.55s ease-in-out infinite; }
@keyframes boxShake-b-km7n8um5hn {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-9deg) scale(1.04); }
    75% { transform: rotate(9deg) scale(1.04); }
}
.drop-item[b-km7n8um5hn] { font-size: 2.2rem; animation: itemOut-b-km7n8um5hn 0.5s cubic-bezier(0.2, 1.8, 0.4, 1); filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3)); }
@keyframes itemOut-b-km7n8um5hn { from { transform: translateY(16px) scale(0.3); opacity: 0; } to { transform: none; opacity: 1; } }

.drop-info[b-km7n8um5hn] { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; text-align: center; }
.drop-info strong[b-km7n8um5hn] { font-size: 0.95rem; color: var(--paper-ink); }
.drop-desc[b-km7n8um5hn] { font-size: 0.78rem; font-weight: 700; color: #3a7d2c; }
.drop.bad .drop-desc[b-km7n8um5hn] { color: #b03a50; }
.drop-cost[b-km7n8um5hn] { font-size: 0.68rem; font-weight: 600; color: #a3582a; }

.drop-btns[b-km7n8um5hn] { display: flex; gap: 0.5rem; margin-top: 0.15rem; }
.drop-take[b-km7n8um5hn] {
    border: none; border-radius: 10px; font-weight: 800; font-size: 0.85rem;
    padding: 0.4rem 1.1rem; color: #fff;
    background: linear-gradient(180deg, #8fd35a, #5aa83a);
    box-shadow: 0 3px 0 #3f7a25;
}
.drop-take.stray[b-km7n8um5hn] { background: linear-gradient(180deg, #b89af0, #7a5bd0); box-shadow: 0 3px 0 #51399c; }
.drop-take:disabled[b-km7n8um5hn] { filter: grayscale(0.7); opacity: 0.7; }
.drop-take:not(:disabled):active[b-km7n8um5hn] { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,0.3); }
.drop-leave[b-km7n8um5hn] {
    border: 2px solid #e3dac2; background: #fcf8ee; border-radius: 10px;
    font-weight: 700; font-size: 0.85rem; color: #6b7287; padding: 0.4rem 0.9rem;
}
.drop-leave:active[b-km7n8um5hn] { transform: translateY(2px); }
.drop-hold[b-km7n8um5hn] { font-size: 0.62rem; font-weight: 600; color: #9aa0ae; font-style: italic; }
.lap-badge.series[b-km7n8um5hn] { background: #5f48b8; }

/* ===== live standings ===== */
.race-side[b-km7n8um5hn] { display: flex; flex-direction: column; gap: 0.6rem; }
.standings[b-km7n8um5hn] { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; align-content: start; }
.standings li[b-km7n8um5hn] {
    display: flex; align-items: center; gap: 0.5rem;
    background: #fcf8ee; border: 2px solid #e3dac2; border-radius: 10px; padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
}
.standings li.me[b-km7n8um5hn] { border-color: var(--sun); background: #fffbe9; }
.sd-place[b-km7n8um5hn] { font-weight: 800; min-width: 1.6rem; }
.sd-img[b-km7n8um5hn] { width: 24px; height: 24px; object-fit: cover; border-radius: 50%; border: 1px solid #e6dcc0; background: #ddd; }
.sd-name[b-km7n8um5hn] { flex: 1; font-weight: 700; color: var(--paper-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-lap[b-km7n8um5hn] { font-size: 0.72rem; font-weight: 700; color: #6b7287; font-variant-numeric: tabular-nums; }

.skip[b-km7n8um5hn] {
    width: 100%;
    border: 2px solid #565c6e; border-radius: 12px; font-weight: 700; font-size: 0.9rem;
    padding: 0.5rem; color: #e8ebf4;
    background: #3b404e;
    box-shadow: 0 4px 0 var(--shadow);
}
.skip:active[b-km7n8um5hn] { transform: translateY(3px); box-shadow: 0 1px 0 var(--shadow); }

/* ===== recent-form strip: one bar per race, links to /stats ===== */
.form-strip[b-km7n8um5hn] {
    display: flex; align-items: center; gap: 0.6rem;
    background: linear-gradient(180deg, #353a47, #2e323e);
    border: 2px solid #4a4f60; border-radius: 14px;
    padding: 0.45rem 0.8rem;
    margin-bottom: 0.8rem;
    text-decoration: none;
    transition: border-color 0.12s ease;
}
.form-strip:hover[b-km7n8um5hn] { border-color: var(--sun); }
.fs-lbl[b-km7n8um5hn] { font-size: 0.78rem; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sun); white-space: nowrap; }
.fs-bars[b-km7n8um5hn] { flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 30px; overflow: hidden; }
.fs-bar[b-km7n8um5hn] { flex: 1 0 6px; max-width: 16px; border-radius: 2px 2px 0 0; }
.fs-bar.p1[b-km7n8um5hn] { height: 100%; background: linear-gradient(180deg, #ffe08a, #ffb02e); }
.fs-bar.p2[b-km7n8um5hn] { height: 70%; background: #aab2c4; }
.fs-bar.p3[b-km7n8um5hn] { height: 46%; background: #c08550; }
.fs-bar.p4[b-km7n8um5hn] { height: 22%; background: #6e3a42; }
.fs-sum[b-km7n8um5hn] { font-size: 0.74rem; font-weight: 800; color: #aab0c2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fs-more[b-km7n8um5hn] { font-size: 0.74rem; font-weight: 800; font-style: italic; color: var(--red); white-space: nowrap; }

/* ===== your team — the headliners ===== */
.team-hero[b-km7n8um5hn] { border-color: #5a5f72; }
.team-hero .panel-head h2[b-km7n8um5hn] { font-size: 1.25rem; }
.cat-row[b-km7n8um5hn] {
    display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.2rem 0.1rem 0.4rem;
}
.cat-row.hero[b-km7n8um5hn] { gap: 0.7rem; justify-content: flex-start; }

.cat-card.big[b-km7n8um5hn] { width: 152px; padding: 0.5rem 0.5rem 0.55rem; border-radius: 18px; position: relative; }
.cat-card.big img[b-km7n8um5hn] { border-radius: 13px; }
.cat-card.big .cc-name[b-km7n8um5hn] { font-size: 0.95rem; }
.cat-card.big .cc-rar[b-km7n8um5hn] { font-size: 0.7rem; }
.cat-card.big .cc-rar em[b-km7n8um5hn] { font-style: normal; font-weight: 700; opacity: 0.85; }
.cat-card.big .cc-stats[b-km7n8um5hn] { font-size: 0.74rem; }
.cat-card.big.sel[b-km7n8um5hn] { transform: scale(1.04); }
.cat-card.big.sel:hover[b-km7n8um5hn] { transform: scale(1.04) translateY(-2px); }
.cc-ride[b-km7n8um5hn] { font-size: 0.72rem; font-weight: 700; color: #9aa0ae; min-height: 1em; }
.cc-nap[b-km7n8um5hn] {
    position: absolute; top: 6px; right: 6px; z-index: 2;
    font-size: 0.62rem; font-weight: 800; color: #fff;
    background: rgba(30, 33, 44, 0.85); border: 1px solid #5a5f72;
    border-radius: 999px; padding: 0.12rem 0.45rem;
    font-variant-numeric: tabular-nums;
    animation: napPulse-b-km7n8um5hn 2.2s ease-in-out infinite;
}
@keyframes napPulse-b-km7n8um5hn { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }
.cc-ribbon[b-km7n8um5hn] {
    position: absolute; top: 10px; left: -28px; z-index: 2;
    width: 110px; text-align: center;
    transform: rotate(-35deg);
    background: linear-gradient(180deg, #ffe08a, #ffb02e);
    color: #5e3d10; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.12em;
    padding: 0.15rem 0; box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.team-actions[b-km7n8um5hn] { display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.team-actions .adopt[b-km7n8um5hn] { flex: 1 1 160px; max-width: 240px; }
.race-cta[b-km7n8um5hn] {
    flex: 2 1 220px;
    border: none; border-radius: 14px;
    padding: 0.6rem 1rem;
    font-weight: 800; font-size: 1.15rem; font-style: italic; letter-spacing: 0.05em;
    color: #fff;
    background: linear-gradient(180deg, #ff6b5c, var(--red));
    box-shadow: 0 5px 0 var(--red-d);
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    animation: ctaPulse-b-km7n8um5hn 2s ease-in-out infinite;
    position: relative; overflow: hidden;
}
.race-cta[b-km7n8um5hn]::before, .race-cta[b-km7n8um5hn]::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 9px;
    background: repeating-conic-gradient(#e8e6df 0% 25%, #2a2d37 0% 50%) 0 0 / 9px 9px;
    opacity: 0.55;
}
.race-cta[b-km7n8um5hn]::before { left: 0; }
.race-cta[b-km7n8um5hn]::after { right: 0; }
.race-cta .rc-sub[b-km7n8um5hn] { font-size: 0.72rem; font-weight: 700; font-style: normal; opacity: 0.85; letter-spacing: 0.02em; }
.race-cta:active[b-km7n8um5hn] { transform: translateY(3px); box-shadow: 0 2px 0 var(--red-d); }
@keyframes ctaPulse-b-km7n8um5hn {
    0%, 100% { box-shadow: 0 5px 0 var(--red-d), 0 0 0 rgba(232, 69, 60, 0); }
    50% { box-shadow: 0 5px 0 var(--red-d), 0 0 22px rgba(219, 95, 88, 0.4); }
}
.cat-card[b-km7n8um5hn] {
    flex: 0 0 auto; width: 104px;
    display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
    border: 3px solid #f3ecd9; background: #fcf8ee; border-radius: 14px; padding: 0.35rem;
    box-shadow: 0 3px 0 var(--shadow);
    transition: transform 0.12s ease;
}
.cat-card:hover[b-km7n8um5hn] { transform: translateY(-2px); }
.cat-card:active[b-km7n8um5hn] { transform: translateY(2px); }
.cat-card img[b-km7n8um5hn] { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.cc-name[b-km7n8um5hn] { font-size: 0.74rem; font-weight: 800; color: var(--paper-ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-rar[b-km7n8um5hn] { font-size: 0.62rem; letter-spacing: 0.05em; }
.cc-stats[b-km7n8um5hn] { font-size: 0.62rem; font-weight: 700; color: #6b7287; white-space: nowrap; }
.cat-card.sel[b-km7n8um5hn] { border-color: var(--sun); box-shadow: 0 0 12px rgba(255,210,74,0.6), 0 3px 0 var(--shadow); }
.cat-card.r0 .cc-rar[b-km7n8um5hn] { color: #9aa0ae; }
.cat-card.r1 .cc-rar[b-km7n8um5hn] { color: #3a7d2c; }
.cat-card.r2 .cc-rar[b-km7n8um5hn] { color: #2e6fd2; }
.cat-card.r3 .cc-rar[b-km7n8um5hn] { color: #8b46c8; }
.cat-card.r4 .cc-rar[b-km7n8um5hn] { color: #d2920e; }

.adopt-row[b-km7n8um5hn] { display: flex; gap: 0.5rem; margin-top: 0.3rem; max-width: 560px; }
.adopt[b-km7n8um5hn] {
    flex: 1;
    border: none; border-radius: 12px; font-weight: 700; font-size: 0.82rem;
    padding: 0.5rem 0.4rem; color: #fff;
    background: linear-gradient(180deg, #8fd35a, #5aa83a);
    box-shadow: 0 4px 0 #3f7a25;
}
.adopt.champ[b-km7n8um5hn] { background: linear-gradient(180deg, #b89af0, #7a5bd0); box-shadow: 0 4px 0 #51399c; }
.adopt:disabled[b-km7n8um5hn] { filter: grayscale(0.7); opacity: 0.6; }
.adopt:not(:disabled):active[b-km7n8um5hn] { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.3); }
.adopt .cost[b-km7n8um5hn] { background: rgba(0,0,0,0.18); border-radius: 8px; padding: 0.05rem 0.4rem; margin-left: 0.2rem; font-size: 0.76rem; }

/* ===== garage ===== */
.car-row[b-km7n8um5hn] { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.5rem; }
.car-card[b-km7n8um5hn] {
    display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
    border: 3px solid #f3ecd9; background: #fcf8ee; border-radius: 14px; padding: 0.45rem 0.2rem;
    box-shadow: 0 3px 0 var(--shadow);
    transition: transform 0.12s ease;
}
.car-card:not(:disabled):hover[b-km7n8um5hn] { transform: translateY(-2px); }
.car-card:disabled[b-km7n8um5hn] { opacity: 0.55; }
.car-card:not(:disabled):active[b-km7n8um5hn] { transform: translateY(2px); }
.car-emoji[b-km7n8um5hn] { font-size: 1.8rem; }
.car-name[b-km7n8um5hn] { font-size: 0.72rem; font-weight: 800; color: var(--paper-ink); white-space: nowrap; }
.car-stats[b-km7n8um5hn] { font-size: 0.62rem; font-weight: 700; color: #6b7287; }
.car-cost[b-km7n8um5hn] { font-size: 0.66rem; font-weight: 800; color: #b8860b; }
.car-card.owned .car-cost[b-km7n8um5hn] { color: #3a7d2c; }
.car-card.sel[b-km7n8um5hn] { border-color: var(--sun); box-shadow: 0 0 12px rgba(255,210,74,0.6), 0 3px 0 var(--shadow); }

/* pit shop tabs */
.shop-tabs[b-km7n8um5hn] { display: flex; gap: 0.4rem; margin-bottom: 0.55rem; }
.shop-tabs button[b-km7n8um5hn] {
    flex: 1; max-width: 220px;
    border: 2px solid #565c6e; background: #343845; border-radius: 10px;
    padding: 0.4rem; font-weight: 800; font-size: 0.85rem; color: #aab0c2;
    font-style: italic; text-transform: uppercase; letter-spacing: 0.04em;
}
.shop-tabs button.on[b-km7n8um5hn] { background: var(--red); border-color: var(--red-d); color: #fff; }
.shop-note[b-km7n8um5hn] { margin: 0.55rem 0 0; font-size: 0.74rem; color: #aab0c2; }
.buff-card[b-km7n8um5hn] { position: relative; }
.buff-held[b-km7n8um5hn] {
    position: absolute; top: -8px; right: -6px;
    font-size: 0.62rem; font-weight: 800; color: #1d1f26;
    background: var(--sun); border-radius: 999px; padding: 0.1rem 0.4rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* buff tray inside the cat modal */
.buff-tray[b-km7n8um5hn] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0.2rem 0 0.4rem; }
.bt-lbl[b-km7n8um5hn] { font-size: 0.74rem; font-weight: 800; color: #767d92; text-transform: uppercase; letter-spacing: 0.05em; }
.buff-chip[b-km7n8um5hn] {
    border: 2px solid #e3dac2; background: #fcf8ee; border-radius: 999px;
    padding: 0.3rem 0.7rem; font-weight: 700; font-size: 0.8rem; color: var(--paper-ink);
    box-shadow: 0 2px 0 var(--shadow);
}
.buff-chip:disabled[b-km7n8um5hn] { opacity: 0.45; }
.buff-chip:not(:disabled):active[b-km7n8um5hn] { transform: translateY(2px); box-shadow: none; }
.buff-chip .bc-n[b-km7n8um5hn] { color: #b8860b; font-weight: 800; }

/* ===== toasts ===== */
.toasts[b-km7n8um5hn] { position: fixed; top: 0.6rem; left: 0.6rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; pointer-events: none; z-index: 50; }
.toast[b-km7n8um5hn] {
    background: #fff; color: var(--paper-ink); font-weight: 700; font-size: 0.9rem;
    padding: 0.4rem 0.9rem; border-radius: 999px; border: 2px solid var(--sun);
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    animation: toastIn-b-km7n8um5hn 0.3s ease, toastOut-b-km7n8um5hn 0.4s ease 2.2s forwards;
}
@keyframes toastIn-b-km7n8um5hn { from { transform: translateX(-14px) scale(0.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toastOut-b-km7n8um5hn { to { transform: translateY(-10px); opacity: 0; } }

/* achievement unlocks — distinct, top-right, separate from the toast feed */
.ach-pops[b-km7n8um5hn] { position: fixed; top: 0.6rem; right: 0.6rem; display: flex; flex-direction: column; gap: 0.4rem; z-index: 80; pointer-events: none; }
.ach-pop[b-km7n8um5hn] {
    display: flex; align-items: center; gap: 0.6rem;
    background: linear-gradient(135deg, #fff7e0, #ffe9a8);
    border: 2px solid var(--sun);
    border-radius: 14px; padding: 0.5rem 0.8rem;
    box-shadow: 0 8px 22px rgba(0,0,0,0.45);
    max-width: 240px;
    animation: achIn-b-km7n8um5hn 0.4s cubic-bezier(0.18,1.5,0.4,1), achOut-b-km7n8um5hn 0.5s ease 3.6s forwards;
}
.ap-ic[b-km7n8um5hn] { font-size: 1.9rem; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25)); }
.ap-body[b-km7n8um5hn] { display: flex; flex-direction: column; line-height: 1.1; }
.ap-tag[b-km7n8um5hn] { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #b8860b; }
.ap-name[b-km7n8um5hn] { font-size: 0.98rem; font-weight: 800; color: var(--paper-ink); }
.ap-rw[b-km7n8um5hn] { font-weight: 800; color: #d2691e; }
@keyframes achIn-b-km7n8um5hn { from { transform: translateX(120%) scale(0.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes achOut-b-km7n8um5hn { to { transform: translateX(120%); opacity: 0; } }

.foot[b-km7n8um5hn] { text-align: center; margin-top: 1rem; font-size: 0.8rem; color: #aab0c2; }
.foot a[b-km7n8um5hn] { color: var(--sun); font-weight: 700; text-decoration: none; }

/* ===== modals ===== */
.ov[b-km7n8um5hn] { position: fixed; inset: 0; background: rgba(12, 13, 18, 0.6); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 100; padding: 1rem; }
.modal[b-km7n8um5hn] {
    position: relative;
    background: var(--cream); border-radius: 20px; padding: 1.3rem 1.4rem;
    width: 100%; max-width: 380px; box-shadow: 0 20px 50px rgba(0,0,0,0.55);
    border: 3px solid #fff; max-height: 88vh; overflow-y: auto;
    animation: mIn-b-km7n8um5hn 0.25s cubic-bezier(0.18,1.4,0.4,1);
    color: var(--paper-ink);
}
.modal.wide[b-km7n8um5hn] { max-width: 520px; }
.modal form[b-km7n8um5hn] { display: contents; } /* form is for password-manager semantics only */
@keyframes mIn-b-km7n8um5hn { from { transform: scale(0.85); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3[b-km7n8um5hn] { color: #b03e3e; font-size: 1.3rem; margin-bottom: 0.4rem; display: flex; justify-content: space-between; align-items: baseline; }
.m-coins[b-km7n8um5hn] { font-size: 0.9rem; color: #b8860b; }
.m-note[b-km7n8um5hn] { font-size: 0.85rem; color: #767d92; margin: 0.2rem 0 0.8rem; }
.m-err[b-km7n8um5hn] { color: #c0392b; font-size: 0.85rem; font-weight: 600; }
.res-note[b-km7n8um5hn] { text-align: center; font-weight: 800; color: #b8860b; }

/* split-flap prize board in the results modal */
.flipboard[b-km7n8um5hn] {
    display: grid; gap: 0.35rem;
    background: #262932; border: 2px solid #4a4f60; border-radius: 14px;
    padding: 0.6rem 0.7rem; margin: 0.3rem 0 0.7rem;
}
.fb-row[b-km7n8um5hn] { display: flex; align-items: center; gap: 0.6rem; opacity: 0; animation: rowIn-b-km7n8um5hn 0.25s ease forwards; animation-delay: var(--d); }
@keyframes rowIn-b-km7n8um5hn { to { opacity: 1; } }
.fb-lbl[b-km7n8um5hn] {
    min-width: 5.2rem; font-size: 0.7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.1em; color: #9aa0ae; font-style: italic;
}
.fb-cells[b-km7n8um5hn] { display: flex; gap: 3px; flex-wrap: wrap; }
.fb-c[b-km7n8um5hn] {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 1.35rem; height: 1.7rem; padding: 0 0.25rem;
    background: linear-gradient(180deg, #2c2f3a 48%, #23252e 52%);
    border: 1px solid #565c6e; border-radius: 5px;
    font-weight: 800; font-size: 1.05rem; color: var(--amber);
    text-shadow: 0 0 8px rgba(255, 176, 46, 0.5);
    font-variant-numeric: tabular-nums;
    transform: rotateX(90deg); opacity: 0;
    animation: flapIn-b-km7n8um5hn 0.4s cubic-bezier(0.3, 1.4, 0.5, 1) forwards;
}
@keyframes flapIn-b-km7n8um5hn {
    0% { transform: rotateX(90deg); opacity: 0; }
    60% { transform: rotateX(-18deg); opacity: 1; }
    100% { transform: rotateX(0); opacity: 1; }
}
.fb-c.wide[b-km7n8um5hn] { font-size: 0.85rem; color: #c4cad8; text-shadow: none; }
.fb-c.wide.hit[b-km7n8um5hn] { color: var(--sun); text-shadow: 0 0 10px rgba(242, 205, 107, 0.3); animation-name: flapIn-b-km7n8um5hn, fbGlow-b-km7n8um5hn; animation-duration: 0.4s, 1.4s; animation-iteration-count: 1, infinite; }
@keyframes fbGlow-b-km7n8um5hn { 0%, 100% { box-shadow: none; } 50% { box-shadow: 0 0 14px rgba(242, 205, 107, 0.28); } }

/* victory: waving flag + confetti rain inside the results modal */
.modal.results.won[b-km7n8um5hn] { border-color: var(--sun); box-shadow: 0 0 34px rgba(242, 205, 107, 0.25), 0 20px 50px rgba(0,0,0,0.55); }
.modal.results.won h3[b-km7n8um5hn] { color: #c98a06; font-style: italic; text-transform: uppercase; letter-spacing: 0.04em; }
.win-flag[b-km7n8um5hn] { display: inline-block; transform-origin: bottom left; animation: flagWave-b-km7n8um5hn 0.9s ease-in-out infinite; }
.confetti[b-km7n8um5hn] { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 17px; }
.confetti span[b-km7n8um5hn] {
    position: absolute; top: -16px;
    left: calc(3% + var(--i) * 6%);
    width: 8px; height: 13px;
    border-radius: 2px;
    background: var(--red);
    opacity: 0.9;
    animation: confFall-b-km7n8um5hn 2.8s ease-in calc(var(--i) * 0.13s) infinite;
}
.confetti span:nth-child(3n)[b-km7n8um5hn]   { background: var(--sun); width: 6px; height: 10px; }
.confetti span:nth-child(3n+1)[b-km7n8um5hn] { background: #3ddc84; }
.confetti span:nth-child(4n)[b-km7n8um5hn]   { background: #6db5e8; }
.confetti span:nth-child(5n)[b-km7n8um5hn]   { background: #ff8fb1; }
@keyframes confFall-b-km7n8um5hn {
    0% { transform: translateY(0) rotate(0); opacity: 0.95; }
    100% { transform: translateY(110vh) rotate(540deg); opacity: 0.6; }
}

.tabs[b-km7n8um5hn] { display: flex; gap: 0.4rem; margin-bottom: 0.8rem; }
.tabs button[b-km7n8um5hn] { flex: 1; border: 2px solid #e3dac2; background: #fcf8ee; border-radius: 10px; padding: 0.45rem; font-weight: 700; color: #4a5165; font-size: 0.85rem; }
.tabs button.on[b-km7n8um5hn] { background: var(--red); color: #fff; border-color: var(--red-d); }

.inp[b-km7n8um5hn] { width: 100%; padding: 0.6rem 0.7rem; margin-bottom: 0.5rem; border: 2px solid #e6dcc0; border-radius: 10px; font-size: 1rem; background: #fff; }
.m-go[b-km7n8um5hn] { width: 100%; border: none; border-radius: 12px; padding: 0.7rem; font-weight: 800; color: #fff; font-size: 1rem; background: linear-gradient(180deg, #8fd35a, #5aa83a); box-shadow: 0 4px 0 #3f7a25; margin-top: 0.4rem; }
.m-go:active[b-km7n8um5hn] { transform: translateY(3px); box-shadow: 0 1px 0 #3f7a25; }
.m-go:disabled[b-km7n8um5hn] { filter: grayscale(0.6); opacity: 0.7; }
.m-go.danger[b-km7n8um5hn] { background: linear-gradient(180deg, #ff8fb1, #e0567f); box-shadow: 0 4px 0 #b03a5f; }
.m-x[b-km7n8um5hn] { width: 100%; margin-top: 0.5rem; background: none; border: none; color: #9aa0ae; font-weight: 700; padding: 0.4rem; }
.m-note-link[b-km7n8um5hn] { color: #b03e3e; font-weight: 700; text-decoration: none; }

/* ZSS cross-game score popup */
.zss-big[b-km7n8um5hn] { margin: 0.4rem 0 0.2rem; font-size: 2rem; font-weight: 900; text-align: center; color: #5f48b8; }
a.m-go.link[b-km7n8um5hn] { display: block; text-align: center; text-decoration: none; box-sizing: border-box; background: linear-gradient(180deg, #8f7be0, #5f48b8); box-shadow: 0 4px 0 #43317f; }
a.m-go.link:active[b-km7n8um5hn] { transform: translateY(3px); box-shadow: 0 1px 0 #43317f; }

/* cat detail modal */
.cat-big[b-km7n8um5hn] { width: 110px; height: 110px; object-fit: cover; border-radius: 14px; border: 3px solid #ffe08a; display: block; margin: 0.2rem auto 0.6rem; }
.rar-tag.r0[b-km7n8um5hn] { color: #9aa0ae; } .rar-tag.r1[b-km7n8um5hn] { color: #3a7d2c; } .rar-tag.r2[b-km7n8um5hn] { color: #2e6fd2; } .rar-tag.r3[b-km7n8um5hn] { color: #8b46c8; } .rar-tag.r4[b-km7n8um5hn] { color: #d2920e; }
.train-rows[b-km7n8um5hn] { display: grid; gap: 0.4rem; }
.train-row[b-km7n8um5hn] { display: grid; grid-template-columns: 4.6rem 1fr auto auto; align-items: center; gap: 0.45rem; }
.tr-lbl[b-km7n8um5hn] { font-size: 0.8rem; font-weight: 800; color: var(--paper-ink); }
.tr-bar[b-km7n8um5hn] { height: 0.55rem; border-radius: 999px; background: #eee4cc; overflow: hidden; }
.tr-fill[b-km7n8um5hn] { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #8fd35a, #ffb02e); }
.tr-val[b-km7n8um5hn] { font-size: 0.72rem; font-weight: 800; color: #6b7287; min-width: 2.4rem; text-align: right; }
.tr-btn[b-km7n8um5hn] {
    border: 2px solid #e3dac2; background: #fcf8ee; border-radius: 8px;
    font-weight: 800; font-size: 0.72rem; color: #b8860b; padding: 0.25rem 0.45rem;
}
.tr-btn:disabled[b-km7n8um5hn] { opacity: 0.5; }
.tr-btn:not(:disabled):active[b-km7n8um5hn] { transform: translateY(1px); }
.picked[b-km7n8um5hn] { text-align: center; font-weight: 700; color: #3a7d2c; }

/* releasing a cat: small understated link, then an explicit yes/no */
.release-sm[b-km7n8um5hn] {
    display: block; margin: 0.5rem auto 0;
    background: none; border: none;
    font-size: 0.78rem; font-weight: 700; color: #c0556a;
    text-decoration: underline; text-underline-offset: 2px;
    padding: 0.2rem 0.5rem;
}
.release-sm:active[b-km7n8um5hn] { transform: translateY(1px); }
.confirm-row[b-km7n8um5hn] {
    display: flex; align-items: center; justify-content: center; gap: 0.45rem; flex-wrap: wrap;
    margin-top: 0.5rem; padding: 0.45rem 0.6rem;
    background: #fdeef0; border: 2px solid #efc7cf; border-radius: 12px;
}
.cf-q[b-km7n8um5hn] { font-size: 0.82rem; font-weight: 700; color: #8a3a4a; }
.cf-yes[b-km7n8um5hn] {
    border: none; border-radius: 9px; font-weight: 800; font-size: 0.78rem;
    padding: 0.35rem 0.8rem; color: #fff;
    background: linear-gradient(180deg, #ff8fb1, #e0567f); box-shadow: 0 2px 0 #b03a5f;
}
.cf-yes:active[b-km7n8um5hn] { transform: translateY(2px); box-shadow: none; }
.cf-no[b-km7n8um5hn] {
    border: 2px solid #e3dac2; background: #fcf8ee; border-radius: 9px;
    font-weight: 700; font-size: 0.78rem; color: #6b7287; padding: 0.3rem 0.8rem;
}
.cf-no:active[b-km7n8um5hn] { transform: translateY(2px); }

/* achievements */
.ach-grid[b-km7n8um5hn] { display: grid; gap: 0.4rem; }
.ach[b-km7n8um5hn] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.6rem; padding: 0.5rem 0.7rem; border-radius: 12px; background: #fcf8ee; border: 2px solid #e9e0c6; }
.ach.lock[b-km7n8um5hn] { opacity: 0.6; }
.ach.got[b-km7n8um5hn] { border-color: var(--sun); background: #fffbe9; }
.ach-ic[b-km7n8um5hn] { font-size: 1.5rem; }
.ach strong[b-km7n8um5hn] { color: var(--paper-ink); font-size: 0.92rem; }
.ach p[b-km7n8um5hn] { margin: 0; font-size: 0.72rem; color: #9aa0ae; }
.ach-rw[b-km7n8um5hn] { font-weight: 800; color: #d2691e; font-size: 0.85rem; }

/* leaderboard / results list */
.lb[b-km7n8um5hn] { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.3rem; }
.lb li[b-km7n8um5hn] { display: flex; align-items: center; gap: 0.6rem; background: #fcf8ee; border: 2px solid #e9e0c6; border-radius: 10px; padding: 0.4rem 0.7rem; }
.lb li.lb-me[b-km7n8um5hn] { border-color: var(--sun); background: #fffbe9; }
.lb-rank[b-km7n8um5hn] { font-weight: 800; min-width: 2rem; }
.lb-name[b-km7n8um5hn] { flex: 1; font-weight: 700; color: var(--paper-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-score[b-km7n8um5hn] { font-weight: 800; color: #d2691e; }
/* /Pages/Landing.razor.rz.scp.css */
.landing[b-5tnaj1dajo] {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 1.2rem 1.25rem 4rem;
    color: var(--ink);
    text-align: center;
    overflow: hidden;
}

/* ---- Drifting background bits ---- */
.floaters[b-5tnaj1dajo] { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.floaters span[b-5tnaj1dajo] {
    position: absolute;
    bottom: -10%;
    opacity: 0;
    animation: drift-b-5tnaj1dajo 20s linear infinite;
}
@keyframes drift-b-5tnaj1dajo {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    10%  { opacity: 0.35; }
    90%  { opacity: 0.3; }
    100% { transform: translateY(-110vh) rotate(160deg); opacity: 0; }
}
.landing > *:not(.floaters)[b-5tnaj1dajo] { position: relative; z-index: 1; }

/* ---- Top scores ticker ---- */
.ticker[b-5tnaj1dajo] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--cream);
    border: 3px solid #fff;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    box-shadow: 0 4px 0 var(--shadow);
}
.ticker-label[b-5tnaj1dajo] { flex: 0 0 auto; font-weight: 800; font-size: 0.9rem; color: #5e3d10; white-space: nowrap; }
.ticker-viewport[b-5tnaj1dajo] {
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track[b-5tnaj1dajo] { display: flex; gap: 1.4rem; width: max-content; animation: tickScroll-b-5tnaj1dajo 22s linear infinite; }
.ticker-track.static[b-5tnaj1dajo] { animation: none; }
.ticker-viewport:hover .ticker-track[b-5tnaj1dajo] { animation-play-state: paused; }
@keyframes tickScroll-b-5tnaj1dajo { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item[b-5tnaj1dajo] { white-space: nowrap; font-size: 0.88rem; font-weight: 600; color: var(--paper-ink); }
.ticker-item .ti-rank[b-5tnaj1dajo] { opacity: 0.6; font-size: 0.78rem; }
.ticker-item .ti-score[b-5tnaj1dajo] { color: #b03e3e; font-weight: 800; }
.ticker-item.first .ti-score[b-5tnaj1dajo] { color: #c98a06; }

/* ---- Hero ---- */
.hero[b-5tnaj1dajo] { position: relative; padding: 2.2rem 0 1.6rem; }

/* fanned-out ride cards behind the title, gently swaying */
.grid-fan[b-5tnaj1dajo] {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0.32;
    animation: fanSway-b-5tnaj1dajo 7s ease-in-out infinite;
}
@keyframes fanSway-b-5tnaj1dajo {
    0%, 100% { transform: translateY(0) rotate(-1.5deg); }
    50% { transform: translateY(-8px) rotate(1.5deg); }
}
.hero > *:not(.grid-fan)[b-5tnaj1dajo] { position: relative; z-index: 1; }

.fan-card[b-5tnaj1dajo] {
    position: absolute;
    width: 116px;
    border-radius: 16px;
    border: 3px solid #fff;
    background: var(--cream);
    padding: 0.6rem 0.4rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    box-shadow: 0 10px 24px rgba(30, 33, 44, 0.35);
}
.fan-card .fc-emoji[b-5tnaj1dajo] { font-size: 2.6rem; }
.fan-card .fc-name[b-5tnaj1dajo] { font-size: 0.72rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.fan-card.mythic[b-5tnaj1dajo] { border-color: var(--sun); box-shadow: 0 0 26px rgba(255, 210, 74, 0.65), 0 10px 24px rgba(30,33,44,0.35); }

.fan-card:nth-child(1)[b-5tnaj1dajo] { transform: translate(-210px, 26px) rotate(-20deg); }
.fan-card:nth-child(2)[b-5tnaj1dajo] { transform: translate(-105px, 7px)  rotate(-10deg); }
.fan-card:nth-child(3)[b-5tnaj1dajo] { transform: translate(0, 0)         rotate(0deg); }
.fan-card:nth-child(4)[b-5tnaj1dajo] { transform: translate(105px, 7px)   rotate(10deg); }
.fan-card:nth-child(5)[b-5tnaj1dajo] { transform: translate(210px, 26px)  rotate(20deg); }

@media (max-width: 640px) {
    .grid-fan[b-5tnaj1dajo] { opacity: 0.18; }
    .fan-card[b-5tnaj1dajo] { width: 88px; }
    .fan-card:nth-child(1)[b-5tnaj1dajo] { transform: translate(-128px, 18px) rotate(-20deg); }
    .fan-card:nth-child(2)[b-5tnaj1dajo] { transform: translate(-64px, 5px)   rotate(-10deg); }
    .fan-card:nth-child(4)[b-5tnaj1dajo] { transform: translate(64px, 5px)    rotate(10deg); }
    .fan-card:nth-child(5)[b-5tnaj1dajo] { transform: translate(128px, 18px)  rotate(20deg); }
}

.hero h1[b-5tnaj1dajo] {
    font-size: clamp(2.6rem, 8vw, 4.4rem);
    margin: 0.3rem 0;
    font-weight: 700;
    background: linear-gradient(90deg, #fff7d6, #ffd24a, #ff9a8a, #fff7d6);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 3px 0 rgba(40, 36, 60, 0.4)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
    animation: shimmer-b-5tnaj1dajo 6s linear infinite;
}
@keyframes shimmer-b-5tnaj1dajo { to { background-position: 300% 0; } }

.tagline[b-5tnaj1dajo] { font-size: 1.25rem; font-weight: 600; color: #fff7d6; margin: 0.2rem 0 1rem; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.lede[b-5tnaj1dajo] {
    max-width: 600px; margin: 0 auto 1.4rem;
    font-size: 1.02rem; line-height: 1.6; color: #f3f6fb;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.scroll-hint[b-5tnaj1dajo] {
    margin-top: 1.2rem;
    font-size: 0.9rem;
    color: #dfe7f3;
    animation: nudge-b-5tnaj1dajo 1.8s ease-in-out infinite;
}
@keyframes nudge-b-5tnaj1dajo { 0%, 100% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(6px); opacity: 1; } }

/* ---- Buttons ---- */
.cta[b-5tnaj1dajo] { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 1.4rem 0 0; }
.btn-big[b-5tnaj1dajo] {
    display: inline-block;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 0.85rem 2rem;
    border-radius: 16px;
    box-shadow: 0 6px 0 rgba(30, 33, 44, 0.4), 0 10px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.1s ease, filter 0.1s ease;
}
.btn-big:hover[b-5tnaj1dajo] { filter: brightness(1.08); transform: translateY(-2px); }
.btn-big:active[b-5tnaj1dajo] { transform: translateY(3px); box-shadow: 0 2px 0 rgba(30,33,44,0.4); }
.btn-big.play[b-5tnaj1dajo] { background: linear-gradient(180deg, #ffe08a, #ffb02e); color: #5e3d10; animation: pulse-b-5tnaj1dajo 2.2s ease-in-out infinite; }
.btn-big.learn[b-5tnaj1dajo] { background: var(--cream); color: #b03e3e; border: 2px solid #e6dcc0; }
@keyframes pulse-b-5tnaj1dajo {
    0%, 100% { box-shadow: 0 6px 0 rgba(30,33,44,0.4), 0 10px 24px rgba(0,0,0,0.25), 0 0 0 rgba(255,210,74,0); }
    50% { box-shadow: 0 6px 0 rgba(30,33,44,0.4), 0 10px 24px rgba(0,0,0,0.25), 0 0 26px rgba(255,210,74,0.8); }
}

/* ---- Sections ---- */
.landing section[b-5tnaj1dajo] { margin: 3rem 0; }
.landing h2[b-5tnaj1dajo] {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff7d6;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 0 rgba(40, 36, 60, 0.4), 0 0 18px rgba(255, 210, 74, 0.35);
}
.section-lede[b-5tnaj1dajo] { max-width: 620px; margin: 0 auto 1.3rem; color: #f3f6fb; line-height: 1.5; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.section-lede strong[b-5tnaj1dajo], .lede strong[b-5tnaj1dajo] { color: #ffe08a; }

/* reveal-on-scroll */
.reveal[b-5tnaj1dajo] { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in[b-5tnaj1dajo] { opacity: 1; transform: none; }

/* ---- How it works ---- */
.steps[b-5tnaj1dajo] { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; text-align: left; }
.step[b-5tnaj1dajo] {
    background: var(--cream);
    border: 3px solid #fff;
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    box-shadow: 0 5px 0 var(--shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.step:hover[b-5tnaj1dajo] { transform: translateY(-4px); box-shadow: 0 9px 0 var(--shadow); }
.step p[b-5tnaj1dajo] { margin: 0; font-size: 0.95rem; color: var(--ink); line-height: 1.45; }
.step-n[b-5tnaj1dajo] {
    flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800;
    background: linear-gradient(180deg, #ffe08a, #ffb02e); color: #5e3d10;
    box-shadow: 0 2px 0 rgba(94, 61, 16, 0.3);
}

/* ---- Item cards ---- */
.item-grid[b-5tnaj1dajo] { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.item-card[b-5tnaj1dajo] {
    border-radius: 16px;
    padding: 1.1rem 1rem;
    background: var(--cream);
    border: 3px solid #fff;
    box-shadow: 0 5px 0 var(--shadow);
    transition: transform 0.15s ease;
}
.item-card:hover[b-5tnaj1dajo] { transform: translateY(-6px) scale(1.02); }
.item-card h3[b-5tnaj1dajo] { margin: 0 0 0.5rem; font-size: 1.1rem; color: #b03e3e; }
.item-card .tier-row[b-5tnaj1dajo] {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    background: #fff;
    border: 2px solid #e6dcc0;
    border-radius: 12px;
    padding: 0.35rem 0.4rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
}
.item-card p[b-5tnaj1dajo] { margin: 0; font-size: 0.85rem; color: var(--ink); }
.item-card.toy[b-5tnaj1dajo]   { border-top: 6px solid var(--pink); }
.item-card.water[b-5tnaj1dajo] { border-top: 6px solid #6db5e8; }
.item-card.food[b-5tnaj1dajo]  { border-top: 6px solid #e8a40c; }
.boost-note[b-5tnaj1dajo] { margin-top: 1rem; font-size: 0.95rem; color: #fff7d6; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.boost-note strong[b-5tnaj1dajo] { color: #ffe08a; }

/* ---- Info cards ---- */
.info-grid[b-5tnaj1dajo] { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.info-card[b-5tnaj1dajo] {
    background: var(--cream);
    border: 3px solid #fff;
    border-radius: 16px;
    padding: 1.1rem 1rem;
    box-shadow: 0 5px 0 var(--shadow);
    transition: transform 0.15s ease;
}
.info-card:hover[b-5tnaj1dajo] { transform: translateY(-5px); }
.ic-emoji[b-5tnaj1dajo] { font-size: 2.1rem; display: inline-block; }
.info-card h3[b-5tnaj1dajo] { margin: 0.35rem 0; font-size: 1.05rem; color: #b03e3e; }
.info-card p[b-5tnaj1dajo] { margin: 0; font-size: 0.88rem; color: var(--ink); }
.info-card a[b-5tnaj1dajo] { color: #b03e3e; font-weight: 700; }

/* ---- ZSS banner ---- */
.zss-banner[b-5tnaj1dajo] {
    margin: 1.2rem auto 0;
    max-width: 640px;
    border-radius: 16px;
    padding: 0.85rem 1.1rem;
    background: linear-gradient(180deg, #8f7be0, #5f48b8);
    border: 3px solid #fff;
    box-shadow: 0 5px 0 rgba(67, 49, 127, 0.45);
    color: #fff;
}
.zss-banner p[b-5tnaj1dajo] { margin: 0; font-size: 0.95rem; }
.zss-banner a[b-5tnaj1dajo] { color: #ffe08a; font-weight: 800; text-decoration: none; }

/* ---- Footer ---- */
.landing-foot[b-5tnaj1dajo] { margin-top: 3rem; font-size: 0.85rem; color: #e7ecf5; line-height: 1.9; }
.landing-foot a[b-5tnaj1dajo] { color: #fff; font-weight: 700; }

/* venue lists inside the league cards */
.card-stars[b-5tnaj1dajo] { color: #c98a06; letter-spacing: 0.08em; }
.venue-line[b-5tnaj1dajo] { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.15rem; }
.info-card p strong[b-5tnaj1dajo] { display: block; margin-top: 0.35rem; }
/* /Pages/Learn.razor.rz.scp.css */
.learn[b-tefspva19g] {
    max-width: 560px;
    margin: 0 auto;
    padding: 0.9rem 0.9rem 2.5rem;
}

.learn-head[b-tefspva19g] { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.8rem; }
.learn-head h1[b-tefspva19g] { font-size: 1.5rem; color: #fff; text-shadow: 0 2px 0 rgba(40,36,60,0.35); }
.link-btn[b-tefspva19g] {
    background: var(--cream); border: 2px solid #e6dcc0; border-radius: 999px;
    padding: 0.35rem 0.8rem; font-weight: 700; font-size: 0.9rem; color: #b03e3e;
    text-decoration: none; box-shadow: 0 2px 0 var(--shadow); white-space: nowrap;
}
.link-btn:active[b-tefspva19g] { transform: translateY(2px); box-shadow: none; }

.intro[b-tefspva19g] {
    color: var(--paper-ink);
    background: var(--cream); border: 3px solid #fff; border-radius: 16px;
    padding: 0.8rem 1rem; box-shadow: 0 4px 0 var(--shadow);
    font-size: 0.95rem; margin: 0 0 0.8rem;
}

.card[b-tefspva19g] {
    color: var(--paper-ink);
    background: var(--cream); border: 3px solid #fff; border-radius: 18px;
    padding: 0.9rem 1.05rem; box-shadow: 0 4px 0 var(--shadow);
    margin-bottom: 0.8rem;
}
.card h2[b-tefspva19g] { font-size: 1.15rem; color: #b03e3e; margin-bottom: 0.45rem; }
.shop-lede[b-tefspva19g] { font-size: 0.9rem; margin: 0 0 0.5rem; color: #5e3d10; }
.card ul[b-tefspva19g] { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; }
.card li[b-tefspva19g] { font-size: 0.9rem; }
.card a[b-tefspva19g] { color: #b03e3e; font-weight: 700; }

.tip[b-tefspva19g] {
    margin: 0.6rem 0 0; font-size: 0.88rem; color: #5e3d10;
    background: #fff3d6; border: 2px solid #f0ddb0; border-radius: 12px; padding: 0.5rem 0.7rem;
}
.inline-link[b-tefspva19g] { color: #b03e3e; font-weight: 800; }
/* /Pages/Stats.razor.rz.scp.css */
.stats-page[b-spurs4wyxj] {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0.8rem 1rem 3rem;
    color: #e6e9f0;
}

.sp-head[b-spurs4wyxj] { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.8rem; }
.sp-head h1[b-spurs4wyxj] {
    font-size: 1.4rem; color: var(--sun); font-style: italic;
    text-transform: uppercase; letter-spacing: 0.06em;
    text-shadow: 0 0 12px rgba(242, 205, 107, 0.2);
}
.sp-back[b-spurs4wyxj] {
    background: #3b404e; border: 2px solid #565c6e; border-radius: 999px;
    padding: 0.35rem 0.9rem; font-weight: 700; font-size: 0.9rem; color: #e8ebf4;
    text-decoration: none; white-space: nowrap; box-shadow: 0 2px 0 var(--shadow);
}
.sp-back:active[b-spurs4wyxj] { transform: translateY(2px); box-shadow: none; }
.sp-spacer[b-spurs4wyxj] { width: 90px; }

.sp-loading[b-spurs4wyxj] { text-align: center; color: var(--sun); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.sp-empty[b-spurs4wyxj] { text-align: center; padding: 3rem 1rem; color: #aab0c2; }
.sp-cta[b-spurs4wyxj] {
    display: inline-block; margin-top: 0.8rem;
    background: linear-gradient(180deg, #ff6b5c, var(--red)); color: #fff;
    font-weight: 800; padding: 0.6rem 1.4rem; border-radius: 12px; text-decoration: none;
    box-shadow: 0 4px 0 var(--red-d);
}

/* headline number cards */
.sp-cards[b-spurs4wyxj] { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0.5rem; margin-bottom: 0.8rem; }
.sp-card[b-spurs4wyxj] {
    display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
    background: linear-gradient(180deg, #353a47, #2e323e);
    border: 2px solid #4a4f60; border-radius: 14px;
    padding: 0.6rem 0.3rem;
}
.spc-val[b-spurs4wyxj] { font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; color: #e6e9f0; }
.spc-lbl[b-spurs4wyxj] { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #aab0c2; }
.sp-card.gold .spc-val[b-spurs4wyxj] { color: var(--sun); text-shadow: 0 0 10px rgba(242, 205, 107, 0.28); }
.sp-card.hot .spc-val[b-spurs4wyxj] { color: #ff8a5c; }

/* panels */
.sp-panel[b-spurs4wyxj] {
    background: linear-gradient(180deg, #353a47, #2e323e);
    border: 2px solid #4a4f60; border-radius: 16px;
    padding: 0.7rem 0.9rem; margin-bottom: 0.8rem;
}
.sp-panel-head[b-spurs4wyxj] { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.55rem; }
.sp-panel-head h2[b-spurs4wyxj] {
    font-size: 1rem; color: var(--sun); font-style: italic;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.sp-hint[b-spurs4wyxj] { font-size: 0.72rem; color: #aab0c2; }

/* form chart */
.sp-chart[b-spurs4wyxj] {
    display: flex; align-items: flex-end; gap: 3px;
    height: 84px; padding: 0.3rem 0.2rem 0;
    overflow-x: auto;
}
.sp-bar[b-spurs4wyxj] { flex: 1 0 8px; max-width: 22px; border-radius: 3px 3px 0 0; min-height: 12px; }
.sp-bar.p1[b-spurs4wyxj] { height: 100%; background: linear-gradient(180deg, #ffe08a, #ffb02e); box-shadow: 0 0 8px rgba(242, 205, 107, 0.25); }
.sp-bar.p2[b-spurs4wyxj] { height: 72%; background: linear-gradient(180deg, #d9dde8, #aab2c4); }
.sp-bar.p3[b-spurs4wyxj] { height: 48%; background: linear-gradient(180deg, #e0a878, #c08550); }
.sp-bar.p4[b-spurs4wyxj] { height: 22%; background: linear-gradient(180deg, #8a4a52, #6e3a42); }

/* place distribution strip */
.sp-dist[b-spurs4wyxj] { display: flex; gap: 3px; margin-top: 0.6rem; border-radius: 8px; overflow: hidden; }
.spd-seg[b-spurs4wyxj] {
    flex-basis: 0; min-width: fit-content;
    text-align: center; font-size: 0.7rem; font-weight: 800;
    padding: 0.25rem 0.4rem; color: #1d1f26; white-space: nowrap;
}
.spd-seg.p1[b-spurs4wyxj] { background: #ffd24a; }
.spd-seg.p2[b-spurs4wyxj] { background: #c4cad8; }
.spd-seg.p3[b-spurs4wyxj] { background: #d49a68; }
.spd-seg.p4[b-spurs4wyxj] { background: #8a4a52; color: #f3d9dc; }

/* generic rows */
.sp-rows[b-spurs4wyxj] { display: grid; gap: 0.3rem; }
.sp-row[b-spurs4wyxj] {
    display: flex; align-items: center; gap: 0.6rem;
    background: #2c303b; border: 1px solid #4a4f60; border-radius: 10px;
    padding: 0.4rem 0.7rem; font-size: 0.85rem;
}
.spr-stars[b-spurs4wyxj] { color: var(--sun); letter-spacing: 0.1em; min-width: 3.4rem; font-size: 0.8rem; }
.spr-stars-sm[b-spurs4wyxj] { font-style: normal; color: var(--sun); font-size: 0.66rem; letter-spacing: 0.08em; margin-left: 0.25rem; }
.spr-name[b-spurs4wyxj] { flex: 1; font-weight: 700; color: #e6e9f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spr-val[b-spurs4wyxj] { font-weight: 700; color: #aab0c2; font-size: 0.78rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.spr-val.gold[b-spurs4wyxj] { color: var(--sun); }
.spr-emoji[b-spurs4wyxj] { font-size: 1.2rem; }
.spr-place[b-spurs4wyxj] { font-weight: 800; min-width: 2rem; }
.spr-bar[b-spurs4wyxj] { flex: 0 0 90px; height: 7px; border-radius: 999px; background: #262932; overflow: hidden; }
.sprb-fill[b-spurs4wyxj] { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #8fd35a, #ffd24a); }
.sprb-fill.bad[b-spurs4wyxj] { background: linear-gradient(90deg, #c0556a, #8a4a52); }

.sp-foot[b-spurs4wyxj] { text-align: center; margin-top: 1.2rem; }
.sp-foot a[b-spurs4wyxj] { color: var(--sun); font-weight: 800; text-decoration: none; }
