:root {
    --night: #130503;
    --night-soft: #220906;
    --wood: #54210f;
    --wood-dark: #2c0b06;
    --wood-light: #8b4520;
    --wine: #7f1422;
    --wine-dark: #3c0910;
    --gold: #efb24a;
    --gold-bright: #ffda76;
    --paper: #edce91;
    --paper-light: #ffe7ad;
    --ink: #48190d;
    --cream: #fff0c5;
    --moss: #5d7840;
    --moss-bright: #91b864;
    --ember: #f17524;
    --danger: #9d372e;
    --story: "Almendra", Georgia, serif;
    --pixel: "Pixelify Sans", Consolas, monospace;
    --number: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body.race-hall-page {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--cream);
    background: var(--night);
    font-family: var(--story);
    letter-spacing: 0;
}
.race-hall-page [hidden] { display: none !important; }
.race-hall-page a { color: inherit; text-decoration: none; }
.race-hall-page button,
.race-hall-page input { font: inherit; }
.race-hall-page button { cursor: pointer; }
.race-hall-page img { display: block; max-width: 100%; }
.race-hall { overflow: hidden; }

/* Tavern header */
.race-navbar {
    position: relative;
    z-index: 1200;
    display: grid;
    grid-template-columns: minmax(245px, 1fr) minmax(620px, 760px) minmax(415px, 1fr);
    column-gap: 12px;
    align-items: center;
    min-height: 102px;
    padding: 0 clamp(22px, 3.5vw, 68px);
    background:
        linear-gradient(90deg, transparent, rgba(235, 157, 64, .08) 48%, transparent),
        repeating-linear-gradient(0deg, rgba(255, 208, 119, .025) 0 1px, transparent 1px 10px),
        linear-gradient(180deg, #35140c 0%, #1b0906 100%);
    box-shadow: 0 5px 0 #7b3d1e, 0 9px 0 #1a0705, 0 20px 38px rgba(0, 0, 0, .52);
}
.race-navbar::before {
    content: "";
    position: absolute;
    inset: 6px 0 auto;
    height: 2px;
    background: repeating-linear-gradient(90deg, transparent 0 32px, rgba(244, 180, 76, .36) 33px 34px, transparent 35px 68px);
}
.race-brand {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 225px;
}
.race-brand > img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    filter: drop-shadow(0 5px 3px rgba(0, 0, 0, .55));
    transition: transform .25s ease;
}
.race-brand:hover > img { transform: rotate(-4deg) scale(1.06); }
.race-brand > span { display: grid; gap: 2px; }
.race-brand strong { color: var(--cream); font: 700 30px/.9 var(--story); text-shadow: 2px 2px 0 #7a2b21; }
.race-brand small { color: var(--gold); font: 700 9px/1 var(--pixel); }
.race-nav-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    width: 100%;
    min-height: 102px;
    border-right: 1px solid rgba(230, 164, 77, .16);
    border-left: 1px solid rgba(230, 164, 77, .16);
}
.race-nav-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 102px;
    padding: 0 12px;
    color: #e9c99a;
    font: 700 17px/1 var(--story);
    text-shadow: 1px 2px 0 #210905;
    transition: color .18s ease, background-color .18s ease;
}
.race-nav-links a + a::before {
    content: "";
    position: absolute;
    left: 0;
    width: 1px;
    height: 42px;
    background: linear-gradient(transparent, rgba(239, 176, 75, .32), transparent);
}
.race-nav-links a::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    height: 4px;
    background: var(--gold);
    box-shadow: 0 -4px 14px rgba(239, 171, 60, .4);
    transform: scaleX(0);
    transition: transform .18s ease;
}
.race-nav-links a:hover,
.race-nav-links a.active { color: #fff0bd; background: rgba(121, 50, 25, .22); }
.race-nav-links a:hover::after,
.race-nav-links a.active::after { transform: scaleX(1); }
.race-nav-links i { color: var(--gold); font-size: 21px; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 7px; }
.utility-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 90px;
    min-height: 54px;
    padding: 5px 11px 5px 7px;
    border: 1px solid rgba(227, 160, 72, .28);
    border-radius: 4px;
    color: #f4d9aa;
    background: linear-gradient(180deg, rgba(104, 43, 24, .62), rgba(53, 18, 12, .82));
    box-shadow: inset 0 1px rgba(255, 218, 147, .12), 0 4px 0 rgba(15, 4, 3, .72);
    font: 700 15px/1 var(--story);
    transition: transform .18s ease, border-color .18s ease;
}
.race-hall-page .utility-button { color: #f4d9aa; }
.utility-button:hover { border-color: rgba(244, 185, 83, .72); color: #fff1c5; transform: translateY(-2px); }
.utility-shield {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 36px;
    height: 40px;
    padding: 8px 6px 10px;
    background: linear-gradient(145deg, #b86a31, #6b2717 63%, #3e130d);
    clip-path: polygon(50% 0, 92% 15%, 86% 69%, 50% 100%, 14% 69%, 8% 15%);
    filter: drop-shadow(0 3px 0 #210805);
}
.utility-shield::before { content: ""; position: absolute; inset: 4px; background: linear-gradient(150deg, #5f2215, #2c0b08); clip-path: inherit; }
.utility-shield i,
.utility-shield img { position: relative; z-index: 1; }
.utility-shield i { color: #ffe3a0; font-size: 21px; }
.utility-shield img { width: 24px; max-height: 21px; object-fit: contain; }
.utility-kick { min-width: 78px; }
.utility-kick .utility-shield img { width: 28px; }
.menu-toggle { display: none; }

/* Shared carved buttons */
.hall-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 19px;
    border: 3px solid #8c4b22;
    outline: 2px solid #331008;
    color: #42170b;
    background: linear-gradient(180deg, #ffd073, #e89c35);
    box-shadow: inset 0 0 0 2px rgba(255, 239, 169, .54), 0 6px 0 #5a2512, 0 13px 23px rgba(0, 0, 0, .36);
    font: 700 16px/1 var(--story);
    text-align: center;
    text-shadow: 0 1px rgba(255, 233, 166, .5);
    transition: transform .18s ease, filter .18s ease;
}
.race-hall-page .hall-button { color: #42170b; }
.hall-button::before,
.hall-button::after {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border: 1px solid #7c421d;
    border-radius: 50%;
    background: #ffe199;
    box-shadow: inset 0 -1px #9d5a27;
}
.hall-button:hover { filter: brightness(1.08); transform: translateY(-3px); }
.hall-button:active { transform: translateY(2px); box-shadow: inset 0 0 0 2px rgba(255, 239, 169, .54), 0 2px 0 #5a2512; }
.hall-button i { font-size: 20px; }
.hall-button-dark {
    color: #f8dfab;
    border-color: #8c4f2c;
    background: linear-gradient(180deg, #6b2c1c, #38110c);
    box-shadow: inset 0 0 0 2px rgba(255, 192, 103, .11), 0 6px 0 #1c0704, 0 13px 23px rgba(0, 0, 0, .36);
    text-shadow: 0 2px #1c0704;
}
.race-hall-page .hall-button-dark { color: #f8dfab; }
.hall-button-dark::before,
.hall-button-dark::after { border-color: #b86b32; background: #d78b39; }

/* Tournament floor */
.race-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: calc(100svh - 102px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: clamp(34px, 4vh, 55px) 36px 72px;
    border-bottom: 5px solid #9a4d20;
    background: #1a0704;
}
.race-hero-art {
    position: absolute;
    z-index: -4;
    inset: -16px;
    background: url("/art/tavern-home/race-hall.webp?v=20260910-mobile1") center 48% / cover no-repeat;
    transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0) scale(1.035);
    animation: hall-lantern-breathe 16s ease-in-out infinite alternate;
    will-change: transform;
}
.race-hero-shade {
    position: absolute;
    z-index: -3;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 5, 2, .5) 0%, rgba(20, 5, 2, .1) 28%, rgba(18, 4, 2, .2) 66%, rgba(15, 3, 2, .9) 100%),
        radial-gradient(ellipse at 50% 48%, transparent 0 34%, rgba(12, 3, 1, .28) 73%, rgba(10, 2, 1, .68) 100%);
}
.race-hero-heading {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    text-align: center;
    text-shadow: 0 4px 0 #4a150d, 0 9px 24px rgba(0, 0, 0, .82);
}
.race-live-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(246, 189, 83, .56);
    color: #ffe294;
    background: linear-gradient(180deg, rgba(91, 19, 20, .96), rgba(49, 10, 9, .94));
    box-shadow: 0 4px 0 rgba(24, 4, 3, .72), 0 0 22px rgba(239, 176, 75, .16);
    font: 700 10px/1 var(--pixel);
}
.race-live-banner > i { color: #9ee36d; font-size: 17px; text-shadow: 0 0 12px rgba(158, 227, 109, .7); }
.race-live-banner > span { min-width: 0; }
.race-live-banner > b { padding: 5px 8px; border: 1px solid #75954f; color: #e8ffd0; background: #31451f; font: 700 8px/1 var(--pixel); }
.race-live-banner > b.paused { border-color: #9d4c37; color: #ffd0b2; background: #67241d; }
.race-hero-heading > p { margin: 12px 0 0; color: #efc77f; font: 700 15px/1 var(--story); }
.race-hero-heading h1 {
    margin: 3px 0 3px;
    color: #fff0be;
    font: 700 clamp(55px, 5.2vw, 92px)/.86 var(--story);
}

.champions-stage {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(0px, 1.1vw, 20px);
    width: min(980px, 77vw);
    height: clamp(245px, 30vh, 330px);
    margin-top: clamp(3px, 1vh, 12px);
}
.champions-stage::before {
    content: "";
    position: absolute;
    right: 8%;
    bottom: 3px;
    left: 8%;
    height: 38px;
    border: 3px solid #7d3f1d;
    background: linear-gradient(#69311a, #2c0d07);
    box-shadow: inset 0 3px #a65b28, 0 13px 20px rgba(0, 0, 0, .7);
    clip-path: polygon(4% 0, 96% 0, 100% 43%, 96% 100%, 4% 100%, 0 43%);
}
.champion-banner {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: center;
    width: clamp(205px, 15.4vw, 285px);
    height: clamp(245px, 28vh, 320px);
    padding: 87px 48px 47px;
    color: #ffeab4;
    background: url("/art/tavern-home/podium-plaque.webp?v=20260910-mobile1") center / 100% 100% no-repeat;
    filter: drop-shadow(0 10px 9px rgba(0, 0, 0, .62));
    text-align: center;
    transform-origin: 50% 100%;
    transition: transform .25s ease, filter .25s ease;
}
.champion-banner:hover { z-index: 3; filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .68)) brightness(1.06); transform: translateY(-5px); }
.champion-banner.first { z-index: 2; width: clamp(240px, 17vw, 318px); height: clamp(285px, 32vh, 365px); margin: 0 -4px 5px; padding-top: 103px; }
.banner-crown {
    position: absolute;
    top: 31px;
    left: 50%;
    width: clamp(48px, 3.7vw, 68px);
    transform: translateX(-50%);
    filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .62));
}
.banner-crown img { width: 100%; height: auto; object-fit: contain; }
.champion-banner.first .banner-crown { top: 39px; width: clamp(58px, 4.2vw, 78px); }
.champion-banner .place { color: #f0bd6c; font: 700 9px/1 var(--pixel); text-transform: uppercase; }
.champion-banner .name {
    display: block;
    overflow: hidden;
    width: 100%;
    margin-top: 6px;
    color: #fff2c4;
    font: 700 clamp(20px, 1.7vw, 29px)/1 var(--story);
    text-overflow: ellipsis;
    text-shadow: 0 3px #3a080c;
    white-space: nowrap;
}
.champion-banner .wager {
    margin-top: 9px;
    padding: 5px 10px;
    border: 1px solid #b58137;
    color: #fff3c4;
    background: rgba(44, 63, 27, .88);
    box-shadow: inset 0 0 0 2px rgba(154, 193, 90, .16);
    font: 800 clamp(16px, 1.25vw, 22px)/1 var(--number);
}
.champion-banner .podium-prize { margin-top: 7px; color: #f2c571; font: 700 13px/1 var(--number); text-transform: uppercase; }
.champion-banner.disabled { filter: grayscale(.6) brightness(.65); }

.race-command-bar {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(135px, .62fr) minmax(135px, .62fr) minmax(370px, 1.4fr) minmax(300px, 1fr);
    align-items: stretch;
    width: min(1420px, calc(100% - 40px));
    min-height: 112px;
    margin-top: -7px;
    border: 7px solid #381007;
    outline: 2px solid #9b5526;
    color: #f7d899;
    background:
        repeating-linear-gradient(0deg, rgba(255, 199, 98, .035) 0 1px, transparent 1px 8px),
        linear-gradient(180deg, rgba(94, 39, 18, .98), rgba(46, 13, 7, .98));
    box-shadow: inset 0 0 0 2px rgba(230, 155, 66, .28), 0 9px 0 #170503, 0 18px 35px rgba(0, 0, 0, .62);
}
.race-command-bar::before,
.race-command-bar::after { content: ""; position: absolute; top: 50%; width: 35px; height: 55px; background: #6f3217; border: 3px solid #351006; transform: translateY(-50%); clip-path: polygon(0 0, 100% 18%, 82% 50%, 100% 82%, 0 100%); }
.race-command-bar::before { right: 100%; }
.race-command-bar::after { left: 100%; transform: translateY(-50%) scaleX(-1); }
.race-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 12px 18px;
    border-right: 1px solid rgba(235, 171, 75, .27);
}
.race-stat > i { color: var(--gold); font-size: 30px; }
.race-stat > span { display: grid; gap: 4px; }
.race-stat small,
.countdown-heading { color: #d7a85f; font: 700 8px/1 var(--pixel); }
.race-stat strong { color: #fff0bd; font: 800 24px/1 var(--number); }
.race-countdown { display: grid; align-content: center; justify-items: center; padding: 10px 18px; border-right: 1px solid rgba(235, 171, 75, .27); }
.countdown-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 6px; }
.countdown-values > span { display: grid; justify-items: center; min-width: 58px; padding: 5px 8px 4px; border: 1px solid #a05f2c; background: #4e1711; box-shadow: inset 0 2px rgba(255, 190, 86, .08); }
.countdown-values strong { color: #fff1c6; font: 800 21px/1 var(--number); font-variant-numeric: tabular-nums; }
.countdown-values small { margin-top: 2px; color: #d6a96d; font: 700 9px/1 var(--story); }
.timer-zone { margin-top: 5px; color: #b88c5b; font: 600 9px/1 var(--number); }
.race-actions { display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: 10px; padding: 15px; }
.race-actions .hall-button { min-width: 0; min-height: 48px; padding-right: 10px; padding-left: 10px; font-size: 14px; }
.race-actions .hall-button::before,
.race-actions .hall-button::after { display: none; }
.race-scroll-cue {
    position: absolute;
    z-index: 5;
    bottom: 10px;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 1px;
    color: #f1c269;
    font: 700 8px/1 var(--pixel);
    text-shadow: 0 2px #2b0905;
    transform: translateX(-50%);
}
.race-hall-page .race-scroll-cue { color: #f1c269; }
.race-scroll-cue i { color: #fff0b8; font-size: 28px; animation: cue-drop 1.6s ease-in-out infinite; }

/* Illustrated scorekeeper chamber */
.scorekeeper-chamber {
    position: relative;
    isolation: isolate;
    min-height: 780px;
    aspect-ratio: 1672 / 941;
    overflow: hidden;
    border-bottom: 5px solid #7b3518;
    background: #180604;
}
.scorekeeper-art { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.scorekeeper-shade {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 4, 2, .34), transparent 18% 82%, rgba(17, 4, 2, .34)),
        linear-gradient(180deg, rgba(21, 5, 2, .16), transparent 58%, rgba(17, 4, 2, .5));
    pointer-events: none;
}
.grand-ledger {
    position: absolute;
    z-index: 3;
    top: 21.5%;
    left: 50%;
    width: min(1220px, 68%);
    height: 48%;
    padding: 28px 38px 18px;
    border: 8px solid #4a170d;
    outline: 3px solid #aa612e;
    color: var(--ink);
    background:
        repeating-linear-gradient(0deg, rgba(125, 65, 29, .045) 0 1px, transparent 1px 9px),
        linear-gradient(145deg, rgba(250, 233, 189, .99), rgba(226, 184, 120, .99));
    box-shadow: inset 0 0 0 2px rgba(255, 243, 197, .72), 0 12px 0 #180503, 0 28px 45px rgba(0, 0, 0, .5);
    transform: translateX(-50%);
}
.ledger-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; padding-bottom: 9px; border-bottom: 3px solid rgba(113, 58, 27, .3); }
.ledger-heading > div:first-child { min-width: 0; }
.ledger-heading span { color: #804022; font: 700 11px/1 var(--pixel); }
.ledger-heading h2 { overflow: hidden; margin: 3px 0 0; color: #4a190d; font: 700 clamp(28px, 2.3vw, 42px)/.95 var(--story); text-overflow: ellipsis; white-space: nowrap; }
.ledger-live { display: grid; grid-template-columns: auto auto; align-items: center; justify-content: end; gap: 0 8px; min-width: 245px; color: #4e6a32; text-align: right; }
.ledger-live i { grid-row: 1 / 3; font-size: 24px; }
.ledger-live b { font: 700 14px/1 var(--story); }
.ledger-live small { overflow: hidden; max-width: 260px; color: #724329; font: 600 11px/1.2 var(--number); text-overflow: ellipsis; white-space: nowrap; }
.ledger-key { display: grid; grid-template-columns: 70px minmax(0, 1fr) 122px 180px; gap: 14px; padding: 12px 16px 9px; color: #814325; font: 700 10px/1 var(--pixel); text-transform: uppercase; }
.standings-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; height: calc(100% - 124px); }
.standing-group { min-width: 0; padding: 12px 14px 7px; border: 2px solid rgba(112, 59, 29, .3); background: rgba(255, 239, 189, .28); }
.standing-group + .standing-group { border-left: 3px solid rgba(112, 59, 29, .26); }
.standing-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 6px 10px; border-bottom: 3px solid rgba(112, 59, 29, .28); }
.standing-group-heading div { display: grid; gap: 5px; min-width: 0; }
.standing-group-heading span { color: #89502d; font: 700 10px/1 var(--pixel); letter-spacing: .06em; }
.standing-group-heading strong { overflow: hidden; color: #5a2515; font: 700 17px/1 var(--story); text-overflow: ellipsis; white-space: nowrap; }
.standing-group-heading b { color: #7c4324; font: 800 15px/1 var(--number); white-space: nowrap; }
.standings-list { display: grid; grid-template-rows: repeat(5, minmax(0, 1fr)); height: calc(100% - 55px); margin: 0; padding: 0; list-style: none; }
.standing-entry {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 105px 162px;
    align-items: center;
    gap: 12px;
    min-height: 43px;
    padding: 5px 8px;
    border-top: 2px dashed rgba(112, 59, 29, .25);
    transition: background-color .15s ease;
}
.standing-entry:hover { background: rgba(137, 77, 35, .08); }
.standing-entry.rank-1,
.standing-entry.rank-2,
.standing-entry.rank-3 { background: rgba(139, 75, 31, .07); }
.standing-rank { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 2px solid #9b6031; color: #71301d; background: rgba(255, 231, 171, .42); font: 800 15px/1 var(--number); }
.rank-1 .standing-rank { color: #6d3a0a; background: #eab14b; }
.rank-2 .standing-rank { color: #4b4135; background: #c5bca6; }
.rank-3 .standing-rank { color: #6a311d; background: #c77a45; }
.standing-name { overflow: hidden; color: #4b1b11; font: 700 clamp(17px, 1.1vw, 21px)/1 var(--story); text-overflow: ellipsis; white-space: nowrap; }
.standing-prize,
.standing-wager { display: grid; gap: 5px; justify-items: end; font-variant-numeric: tabular-nums; text-align: right; }
.standing-prize::before,
.standing-wager::before { color: #87502f; font: 700 10px/1 var(--pixel); text-transform: uppercase; }
.standing-prize::before { content: attr(data-label); }
.standing-wager::before { content: attr(data-label); }
.standing-prize { color: #8b4e22; font: 800 clamp(15px, 1vw, 18px)/1 var(--number); }
.standing-wager { color: #4a672f; font: 800 clamp(15px, 1.05vw, 19px)/1 var(--number); }
.standing-entry.open .standing-name,
.standing-entry.open .standing-wager { color: #805338; font-style: italic; }
.standing-entry.loading { grid-column: 1 / -1; display: grid; place-items: center; color: #83543a; font-size: 15px; }
.standing-entry.status-message { grid-column: 1 / -1; grid-row: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; color: #7d3027; font: 700 17px/1.3 var(--story); text-align: center; }
.standing-entry.status-message i { font-size: 25px; }
.standings-overview.standings-disabled { display: block; }
.standings-disabled .standing-group { display: none; }
.standings-disabled .standing-group:first-child { display: block; height: 100%; }
.ledger-footnote { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 5px 0 0; color: #70442c; font: 600 12px/1.2 var(--story); }
.ledger-footnote i { color: #547238; font-size: 18px; }

/* Prize and weighting room */
.race-rules-section {
    position: relative;
    padding: 105px 38px 120px;
    border-bottom: 5px solid #733018;
    background:
        linear-gradient(90deg, rgba(19, 4, 2, .58), rgba(19, 4, 2, .05) 24% 76%, rgba(19, 4, 2, .58)),
        linear-gradient(180deg, rgba(20, 5, 2, .3), rgba(20, 5, 2, .68)),
        url("/art/tavern-home/quest-room.webp?v=20260910-mobile1") center / cover no-repeat;
}
.race-rules-section::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 95px, rgba(255, 192, 84, .025) 96px 97px); pointer-events: none; }
.race-rules-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(500px, 1.05fr) minmax(480px, .95fr); gap: clamp(48px, 6vw, 105px); width: min(1390px, 100%); margin: 0 auto; }
.prize-board {
    position: relative;
    min-height: 600px;
    padding: 65px 60px 52px;
    border: 12px solid #42140b;
    outline: 3px solid #a65a29;
    color: #f7dba7;
    background:
        repeating-linear-gradient(0deg, rgba(255, 191, 83, .04) 0 1px, transparent 1px 9px),
        linear-gradient(145deg, rgba(100, 40, 20, .96), rgba(43, 12, 7, .97));
    box-shadow: inset 0 0 0 3px rgba(220, 143, 57, .2), 0 13px 0 #160402, 0 28px 45px rgba(0, 0, 0, .58);
}
.prize-board::before,
.prize-board::after { content: ""; position: absolute; top: 22px; bottom: 22px; width: 14px; border: 2px solid #8e4d24; background: linear-gradient(#b96c2f, #5c2412); box-shadow: inset 0 0 0 2px #381008; }
.prize-board::before { left: 18px; }
.prize-board::after { right: 18px; }
.board-crest { position: absolute; top: -48px; left: 50%; display: grid; place-items: center; width: 94px; height: 104px; color: #ffe18c; background: linear-gradient(145deg, #b66b30, #681d16 64%, #3e0d0d); clip-path: polygon(50% 0, 92% 15%, 86% 69%, 50% 100%, 14% 69%, 8% 15%); filter: drop-shadow(0 7px 0 #1b0503); transform: translateX(-50%); }
.board-crest::before { content: ""; position: absolute; inset: 8px; background: linear-gradient(#6f1b1e, #3a090c); clip-path: inherit; }
.board-crest i { position: relative; z-index: 1; font-size: 43px; }
.prize-board header { text-align: center; }
.prize-board header > span,
.rules-scroll header > span,
.records-heading span { color: var(--gold); font: 700 9px/1 var(--pixel); }
.prize-board h2,
.rules-scroll h2,
.records-heading h2 { margin: 8px 0 0; color: #fff0c2; font: 700 clamp(37px, 3.5vw, 56px)/.95 var(--story); text-shadow: 0 4px #4b130e; }
.prize-board header p { max-width: 540px; margin: 14px auto 25px; color: #d5aa78; font: 400 17px/1.45 var(--story); }
.prize-runes { display: grid; grid-template-columns: repeat(5, 1fr); border: 2px solid #9d5a29; background: rgba(24, 5, 3, .58); box-shadow: inset 0 0 22px rgba(0, 0, 0, .4); }
.prize-rune { position: relative; display: grid; justify-items: center; gap: 4px; min-height: 86px; padding: 16px 6px 10px; }
.prize-rune + .prize-rune { border-left: 1px solid rgba(228, 162, 68, .24); }
.prize-rune:nth-child(n+6) { border-top: 1px solid rgba(228, 162, 68, .24); }
.prize-rune:nth-child(6) { border-left: 0; }
.prize-rune i { color: #c77e35; font-size: 21px; }
.prize-rune span { color: #c99d64; font: 700 9px/1 var(--pixel); }
.prize-rune strong { color: #ffe9ab; font: 800 18px/1 var(--number); }
.prize-board > .hall-button { display: flex; width: min(430px, 100%); margin: 29px auto 0; }

.rules-scroll {
    position: relative;
    align-self: center;
    min-height: 620px;
    padding: 70px 62px 55px;
    border: 11px solid #48180e;
    outline: 3px solid #aa612e;
    color: var(--ink);
    background:
        radial-gradient(circle at 50% 12%, rgba(255, 246, 199, .68), transparent 30%),
        repeating-linear-gradient(0deg, rgba(105, 64, 30, .035) 0 1px, transparent 1px 8px),
        linear-gradient(135deg, #f4dca5, #dfb875);
    box-shadow: inset 0 0 0 2px rgba(255, 240, 190, .64), 0 12px 0 #1b0604, 0 30px 55px rgba(0, 0, 0, .55);
    transform: rotate(.35deg);
}
.rules-scroll::before,
.rules-scroll::after { content: ""; position: absolute; right: 17px; left: 17px; height: 18px; border: 3px solid #713117; background: linear-gradient(#925027, #42140c); box-shadow: inset 0 2px #c87c39, 0 4px 5px rgba(0, 0, 0, .35); }
.rules-scroll::before { top: -20px; }
.rules-scroll::after { bottom: -20px; }
.wax-seal { position: absolute; z-index: 2; top: -31px; left: 36px; display: grid; place-items: center; width: 77px; height: 77px; border: 6px double #8e1e1c; border-radius: 50%; color: #efb34b; background: #a72b27; box-shadow: 0 6px 0 rgba(75, 13, 11, .55); }
.wax-seal i { font-size: 34px; }
.rules-scroll h2 { color: #4a1a0e; text-shadow: none; }
.weight-lines { margin-top: 29px; border-top: 2px dashed rgba(111, 58, 28, .34); }
.weight-lines > div { display: grid; grid-template-columns: 93px 1fr; align-items: center; gap: 19px; min-height: 91px; border-bottom: 1px dashed rgba(111, 58, 28, .3); }
.weight-lines b { color: #7a241d; font: 900 30px/1 var(--number); }
.weight-lines > div:first-child b { color: #4f6b35; }
.weight-lines > div:nth-child(2) b { color: #986022; }
.weight-lines span { display: grid; gap: 3px; }
.weight-lines strong { color: #4c1c10; font: 700 17px/1.15 var(--story); }
.weight-lines small { color: #80563b; font: 400 13px/1.3 var(--story); }
.all-games-note { display: flex; align-items: center; gap: 10px; margin: 23px 0 0; color: #49682f; font: 700 17px/1.2 var(--story); }
.all-games-note i { font-size: 27px; }
.forfeit-note { margin: 16px 0 0; padding: 12px 14px; border-left: 4px solid #96382e; color: #7b2d27; background: rgba(154, 56, 45, .08); font: 700 13px/1.45 var(--story); }
.forfeit-note i { margin-right: 5px; font-size: 17px; vertical-align: -2px; }

/* Archive shelf */
.records-hall {
    position: relative;
    padding: 92px 40px 110px;
    background:
        radial-gradient(circle at 50% 0, rgba(122, 47, 23, .22), transparent 42%),
        repeating-linear-gradient(0deg, rgba(255, 194, 90, .018) 0 1px, transparent 1px 8px),
        linear-gradient(180deg, #210906, #120403);
}
.records-hall::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 16px; border-top: 4px solid #9a4e23; border-bottom: 3px solid #46150c; background: #6e2e17; box-shadow: 0 9px 18px rgba(0, 0, 0, .5); }
.records-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; width: min(1360px, 100%); margin: 0 auto 36px; }
.records-heading h2 { font-size: clamp(43px, 4vw, 67px); }
.records-heading p { margin: 11px 0 0; color: #c99c6d; font: 400 17px/1.35 var(--story); }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 7px; border-bottom: 2px solid #9b4c24; color: #efbd6e; font: 700 15px/1 var(--story); }
.race-hall-page .text-link { color: #efbd6e; }
.text-link:hover { color: #ffe0a0; border-color: #efb34b; }
.archive-shelf {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    width: min(1360px, 100%);
    min-height: 170px;
    margin: 0 auto;
    padding: 35px 34px 45px;
    border: 10px solid #3e1209;
    outline: 2px solid #8f4b24;
    background: repeating-linear-gradient(0deg, rgba(255, 192, 90, .035) 0 1px, transparent 1px 9px), linear-gradient(#5b2614, #2d0d07);
    box-shadow: inset 0 0 0 3px rgba(231, 155, 63, .16), 0 10px 0 #130402, 0 27px 45px rgba(0, 0, 0, .5);
}
.archive-shelf::after { content: ""; position: absolute; right: -16px; bottom: 22px; left: -16px; height: 17px; border: 3px solid #401108; background: linear-gradient(#8e4722, #3e140a); box-shadow: inset 0 2px #b36830, 0 8px 10px rgba(0, 0, 0, .5); }
.archive-volume {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 132px;
    align-content: center;
    gap: 5px;
    padding: 24px 22px 25px 62px;
    border: 3px solid #9a5127;
    color: #f3d69f;
    background: linear-gradient(90deg, #3c0b0f 0 42px, #701725 43px, #55121c);
    box-shadow: inset 5px 0 rgba(245, 178, 70, .14), inset 0 0 0 2px rgba(241, 178, 78, .1), 0 7px 0 #210604;
    transition: transform .2s ease, filter .2s ease;
}
.archive-volume::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 19px; width: 5px; border-right: 2px solid #cf8b39; border-left: 2px solid #cf8b39; }
.archive-volume:hover { filter: brightness(1.12); transform: translateY(-5px); }
.archive-volume > span { color: #efb960; font: 700 8px/1 var(--pixel); }
.archive-volume strong { overflow: hidden; color: #fff0bb; font: 700 24px/1 var(--story); text-overflow: ellipsis; white-space: nowrap; }
.archive-volume small { overflow: hidden; color: #cfa673; font: 600 12px/1.2 var(--number); text-overflow: ellipsis; white-space: nowrap; }
.archive-volume em { color: #a98260; font: 400 11px/1.2 var(--story); }
.archive-empty { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; color: #d5aa75; font: 700 16px/1 var(--story); }
.archive-empty i { color: var(--gold); font-size: 23px; }

/* Account dropdown */
.site-account { position: relative; z-index: 1500; }
.site-account-toggle { font-family: var(--story); }
.site-account-card {
    position: absolute;
    z-index: 1600;
    top: 67px;
    right: 0;
    width: 330px;
    padding: 22px;
    border: 8px solid #45170e;
    outline: 2px solid #a65e2b;
    color: var(--ink);
    background: linear-gradient(145deg, #f2d799, #e2b875);
    box-shadow: inset 0 0 0 2px rgba(255, 239, 184, .65), 0 12px 0 #1b0604, 0 24px 45px rgba(0, 0, 0, .55);
}
.site-account-card::before { content: ""; position: absolute; top: -19px; right: 28px; width: 27px; height: 19px; background: #6e2e17; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.site-account-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 2px dashed rgba(104, 52, 23, .35); color: #9a3c2c; font: 700 9px/1 var(--pixel); }
.site-account-title i { font-size: 16px; }
.site-account-card > strong { display: block; margin-top: 15px; color: #4b1c11; font: 700 23px/1 var(--story); }
.site-account-card > small { display: block; margin-top: 3px; color: #4f7537; font: 700 11px/1 var(--story); }
.site-account-row { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px dashed rgba(104, 52, 23, .28); }
.site-account-row > i { color: #9d4029; font-size: 19px; }
.site-account-row div { display: grid; flex: 1; gap: 2px; min-width: 0; }
.site-account-row b { color: #562015; font: 700 15px/1 var(--story); }
.site-account-row span { overflow: hidden; color: #805136; font: 600 11px/1.2 var(--number); text-overflow: ellipsis; white-space: nowrap; }
.site-account-sync { display: flex; justify-content: space-between; gap: 10px; padding: 13px 0 9px; color: #88583b; font: 600 10px/1 var(--number); }
.site-account-sync b { color: #63301f; font-weight: 600; }
.site-account-progress { padding: 12px; border: 2px solid #9b6032; background: rgba(255, 235, 177, .4); }
.site-account-progress div { display: flex; justify-content: space-between; gap: 10px; color: #6e4229; font: 600 11px/1 var(--number); }
.site-account-progress b { color: #4c1b11; font: 800 18px/1 var(--number); }
.site-account-progress > span { display: block; margin-top: 5px; color: #89593d; font: 400 12px/1.25 var(--story); }
.site-account-manage,
.site-account-login,
.site-account-refresh,
.site-account-logout { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; margin-top: 9px; border: 2px solid #6d2a17; color: #48170d; background: linear-gradient(#f4bd52, #dd8e2d); box-shadow: 0 3px 0 #57200f; font: 700 14px/1 var(--story); }
.site-account-manage { justify-content: space-between; padding: 0 12px; }
.site-account-refresh,
.site-account-logout { color: #f5ddae; background: linear-gradient(#78301f, #45140e); }
.site-account-login-note { margin: 5px 0 12px; color: #805339 !important; font: 400 13px/1.4 var(--story) !important; }

/* Footer, feedback and motion */
.race-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; padding: 34px clamp(24px, 4vw, 70px); border-top: 3px solid #7c3a1d; color: #c99c6f; background: #160603; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 64px; height: 64px; object-fit: contain; }
.footer-brand div { display: grid; }
.footer-brand strong { color: var(--cream); font: 700 19px/1 var(--story); }
.footer-brand span { margin-top: 3px; color: var(--gold); font: 700 9px/1 var(--pixel); }
.footer-brand small { margin-top: 5px; color: #a87a55; font: 600 10px/1 var(--number); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; color: #e1ba83; font: 700 13px/1 var(--story); }
.race-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 17px; border-top: 1px solid rgba(226, 162, 72, .18); color: #8e684d; font: 400 11px/1.3 var(--story); }
.race-toast { position: fixed; z-index: 3000; right: 25px; bottom: 25px; max-width: 390px; padding: 15px 18px; border: 3px solid #8f4d25; color: #4a1b10; background: #f1d398; box-shadow: 0 6px 0 #42150c, 0 17px 32px rgba(0, 0, 0, .42); font: 700 14px/1.35 var(--story); }
.race-toast.error { border-color: #9d3b31; color: #7f2824; }
.ember-field { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.pixel-ember { position: absolute; bottom: -15px; width: var(--size); height: var(--size); background: #ffc057; box-shadow: 0 0 7px #ef7626; opacity: 0; animation: ember-rise var(--duration) linear var(--delay) infinite; }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }
@keyframes hall-lantern-breathe { from { transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0) scale(1.035); filter: brightness(.95); } to { transform: translate3d(calc(var(--parallax-x, 0) - 5px), calc(var(--parallax-y, 0) - 2px), 0) scale(1.045); filter: brightness(1.04); } }
@keyframes cue-drop { 0%, 100% { transform: translateY(0); opacity: .65; } 50% { transform: translateY(8px); opacity: 1; } }
@keyframes ember-rise { 0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.6); } 12% { opacity: .85; } 75% { opacity: .45; } 100% { opacity: 0; transform: translate3d(var(--drift), -78vh, 0) scale(1.15); } }

/* Responsive fallbacks */
@media (max-width: 1450px) {
    .race-navbar { grid-template-columns: minmax(205px, 1fr) minmax(430px, 520px) minmax(275px, 1fr); padding-right: 22px; padding-left: 22px; }
    .race-brand strong { font-size: 23px; }
    .race-brand > img { width: 65px; height: 65px; }
    .race-nav-links a { gap: 5px; padding: 0 7px; font-size: 14px; }
    .race-nav-links i { font-size: 17px; }
    .utility-button { min-width: 48px; padding-right: 7px; font-size: 11px; }
    .utility-shield { width: 31px; height: 35px; }
    .social-icon > span:last-child { display: none; }
    .race-hero { padding-top: 30px; }
    .race-hero-heading h1 { font-size: 62px; }
    .champions-stage { width: min(780px, 76vw); height: 260px; }
    .champion-banner { width: 220px; height: 255px; padding: 76px 42px 38px; }
    .champion-banner.first { width: 250px; height: 290px; padding-top: 87px; }
    .banner-crown { top: 24px; width: 52px; }
    .champion-banner.first .banner-crown { top: 31px; width: 62px; }
    .race-command-bar { grid-template-columns: 135px 125px minmax(330px, 1.35fr) minmax(270px, .95fr); }
    .race-actions { padding: 12px; }
    .race-actions .hall-button { font-size: 12px; }
    .grand-ledger { width: min(1100px, 72%); height: 46%; padding: 24px 30px 16px; }
    .ledger-heading h2 { font-size: clamp(25px, 2.2vw, 36px); }
    .ledger-key { grid-template-columns: 60px minmax(0, 1fr) 105px 150px; gap: 11px; padding: 10px 12px 8px; font-size: 9px; }
    .standing-entry { grid-template-columns: 43px minmax(0, 1fr) 92px 138px; gap: 9px; min-height: 38px; }
    .standing-rank { width: 31px; height: 31px; font-size: 13px; }
    .standing-name { font-size: clamp(15px, 1.05vw, 19px); }
    .standing-prize,
    .standing-wager { font-size: 14px; }
    .standing-prize::before,
    .standing-wager::before { font-size: 9px; }
    .ledger-live { min-width: 145px; }
    .ledger-live small { max-width: 155px; }
    .race-rules-layout { gap: 48px; }
    .prize-board { padding-right: 44px; padding-left: 44px; }
    .rules-scroll { padding-right: 47px; padding-left: 47px; }
}

@media (max-width: 1060px) {
    .race-navbar { grid-template-columns: 1fr auto 1fr; min-height: 78px; }
    .race-brand > img { width: 56px; height: 56px; }
    .race-brand small { display: none; }
    .menu-toggle { display: grid; place-items: center; width: 43px; height: 43px; border: 2px solid #87502d; color: var(--gold); background: #35130d; font-size: 22px; }
    .race-nav-links { position: absolute; top: 100%; right: 12px; left: 12px; display: none; min-height: 82px; background: #2d0f09; box-shadow: 0 8px 0 #150503; }
    .race-navbar.menu-open .race-nav-links { display: grid; }
    .race-nav-links a { min-height: 82px; }
    .race-hero { min-height: 820px; padding-right: 18px; padding-left: 18px; }
    .champions-stage { width: 92vw; }
    .champion-banner { width: 30vw; }
    .champion-banner.first { width: 34vw; }
    .race-command-bar { grid-template-columns: 1fr 1fr; width: calc(100% - 46px); }
    .race-countdown { grid-column: 1 / -1; grid-row: 1; border-right: 0; border-bottom: 1px solid rgba(235, 171, 75, .27); }
    .race-stat { grid-row: 2; }
    .race-actions { grid-column: 1 / -1; grid-row: 3; border-top: 1px solid rgba(235, 171, 75, .27); }
    .race-scroll-cue { display: none; }
    .scorekeeper-chamber { min-height: 840px; aspect-ratio: auto; padding: 100px 35px; }
    .scorekeeper-art { filter: brightness(.52); }
    .grand-ledger { position: relative; top: auto; left: auto; width: min(760px, 100%); height: auto; min-height: 590px; margin: 0 auto; padding: 48px 40px 35px; border: 10px solid #4a170d; outline: 3px solid #aa612e; background: linear-gradient(145deg, rgba(248, 225, 174, .97), rgba(224, 183, 116, .97)); box-shadow: inset 0 0 0 2px rgba(255, 243, 197, .7), 0 12px 0 #180503, 0 28px 45px rgba(0, 0, 0, .6); transform: none; }
    .standings-overview { grid-template-columns: 1fr; height: auto; gap: 18px; }
    .standing-group + .standing-group { border-top: 3px solid rgba(112, 59, 29, .26); border-left: 0; }
    .standings-list { height: auto; }
    .ledger-key { grid-template-columns: 38px 1fr 78px 116px; }
    .standing-entry { min-height: 42px; }
    .ledger-footnote { margin-top: 17px; }
    .race-rules-layout { grid-template-columns: 1fr; }
    .prize-board,
    .rules-scroll { width: min(720px, 100%); margin: 0 auto; }
    .archive-shelf { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .race-navbar { padding: 0 12px; }
    .race-brand { min-width: 0; }
    .race-brand strong { font-size: 20px; }
    .nav-right .social-icon { display: none; }
    .site-account-login-top > span:last-child,
    .site-account-toggle > span:last-child { display: none; }
    .race-nav-links { grid-template-columns: 1fr 1fr; }
    .race-nav-links a { min-height: 62px; }
    .race-hero { min-height: 860px; padding-top: 42px; }
    .race-hero-heading h1 { font-size: 50px; }
    .race-hero-heading > p { font-size: 13px; }
    .champions-stage { align-items: center; height: 360px; margin-top: 5px; }
    .champion-banner { position: absolute; width: 190px; height: 230px; padding: 70px 38px 36px; transform: scale(.78); }
    .champion-banner.first { z-index: 3; width: 230px; height: 275px; margin: 0; padding-top: 82px; transform: translateY(-18px); }
    .champion-banner.second { left: -24px; transform: translateY(68px) scale(.68); }
    .champion-banner.third { right: -24px; transform: translateY(68px) scale(.68); }
    .champion-banner:hover { transform: none; }
    .race-command-bar { width: calc(100% - 24px); }
    .race-stat { padding-right: 8px; padding-left: 8px; }
    .race-stat > i { font-size: 23px; }
    .race-stat strong { font-size: 19px; }
    .countdown-values > span { min-width: 51px; }
    .race-actions { grid-template-columns: 1fr; }
    .scorekeeper-chamber { min-height: 900px; padding: 75px 15px; }
    .grand-ledger { padding: 38px 17px 30px; border-width: 7px; }
    .ledger-heading { align-items: start; }
    .ledger-live { min-width: 100px; }
    .ledger-live small { max-width: 105px; white-space: normal; }
    .ledger-key { grid-template-columns: 34px 1fr 66px 92px; gap: 6px; padding-right: 4px; padding-left: 4px; font-size: 7px; }
    .standing-entry { grid-template-columns: 34px minmax(0, 1fr) 66px 92px; gap: 6px; padding-right: 4px; padding-left: 4px; }
    .standing-rank { width: 26px; height: 26px; }
    .standing-name { font-size: 13px; }
    .standing-prize,
    .standing-wager { font-size: 10px; }
    .standing-group-heading strong { font-size: 12px; }
    .race-rules-section { padding: 88px 17px 95px; }
    .prize-board { min-height: auto; padding: 67px 28px 42px; border-width: 8px; }
    .prize-runes { grid-template-columns: repeat(2, 1fr); }
    .prize-rune:nth-child(n) { border-top: 1px solid rgba(228, 162, 68, .24); border-left: 1px solid rgba(228, 162, 68, .24); }
    .prize-rune:nth-child(-n+2) { border-top: 0; }
    .prize-rune:nth-child(odd) { border-left: 0; }
    .rules-scroll { min-height: auto; padding: 66px 27px 43px; border-width: 8px; }
    .weight-lines > div { grid-template-columns: 76px 1fr; }
    .records-hall { padding: 78px 18px 90px; }
    .records-heading { display: grid; }
    .archive-shelf { grid-template-columns: 1fr; padding: 28px 20px 40px; border-width: 7px; }
    .race-footer { grid-template-columns: 1fr; }
    .footer-links { justify-content: flex-start; }
    .site-account-card { position: fixed; top: 84px; right: 13px; width: min(330px, calc(100vw - 26px)); }
}

@media (prefers-reduced-motion: reduce) {
    html:not(.is-motion-override-full) { scroll-behavior: auto; }
    html:not(.is-motion-override-full) *, html:not(.is-motion-override-full) *::before, html:not(.is-motion-override-full) *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    html:not(.is-motion-override-full) [data-reveal] { opacity: 1; transform: none; }
}
