:root {
    --night: #120604;
    --ink: #32150c;
    --ink-soft: #70422a;
    --wine: #7d2029;
    --wine-dark: #3b1013;
    --gold: #f0b84d;
    --gold-light: #ffe3a0;
    --paper: #f3d9a5;
    --cream: #fff0c8;
    --moss: #4d7447;
    --story: "Almendra", Georgia, serif;
    --pixel: "Pixelify Sans", Consolas, monospace;
    --number: "Segoe UI", Arial, sans-serif;
    --art-root: "/art/tavern-home";
}

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

/* Navigation */
.world-navbar {
    position: relative;
    z-index: 1000;
    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);
    border: 0;
    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);
}
.world-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);
}
.world-brand {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 225px;
}
.world-brand > img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    filter: drop-shadow(0 5px 3px rgba(0, 0, 0, .55));
    transition: transform .25s ease;
}
.world-brand:hover > img { transform: rotate(-4deg) scale(1.06); }
.world-brand > span { display: grid; gap: 2px; }
.world-brand strong {
    color: var(--cream);
    font: 700 30px/.9 var(--story);
    text-shadow: 2px 2px 0 #7a2b21;
}
.world-brand small { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: 0; }
.world-nav-sign {
    position: relative;
    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);
}
.world-nav-sign 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);
    letter-spacing: 0;
    text-shadow: 1px 2px 0 #210905;
    transition: color .18s ease, background-color .18s ease;
}
.world-nav-sign a + a::before {
    content: "";
    position: absolute;
    left: 0;
    width: 1px;
    height: 42px;
    background: linear-gradient(transparent, rgba(239, 176, 75, .32), transparent);
}
.world-nav-sign 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;
}
.world-nav-sign a:hover { color: #fff0bd; background: rgba(121, 50, 25, .22); }
.world-nav-sign a:hover::after { transform: scaleX(1); }
.world-nav-sign 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);
    letter-spacing: 0;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.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; }
.site-account-toggle { font-family: inherit; }
.motion-toggle { min-width: 130px; cursor: pointer; font-family: inherit; white-space: nowrap; }
.motion-toggle:not(.is-enabled) { color: #c2a883; }
.motion-toggle:not(.is-enabled) .utility-shield { filter: grayscale(.55) drop-shadow(0 3px 0 #210805); }
.motion-toggle.is-enabled .utility-shield i { color: #ffd065; text-shadow: 0 0 9px rgba(255, 137, 31, .8); }
.menu-toggle { display: none; }

/* Reusable illustrated button */
.art-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-width: 240px;
    min-height: 62px;
    padding: 0 24px;
    border: 3px solid #57200f;
    border-radius: 4px;
    outline: 2px solid #b76d2f;
    color: #2d1007;
    background:
        linear-gradient(90deg, transparent 10%, rgba(255, 231, 160, .22) 50%, transparent 90%),
        linear-gradient(180deg, #f4bd5c, #d7892f);
    box-shadow: inset 0 0 0 2px rgba(255, 224, 143, .36), inset 0 -7px rgba(108, 45, 18, .12), 0 6px 0 #351006, 0 11px 22px rgba(0,0,0,.44);
    font: 700 17px/1 var(--story);
    letter-spacing: 0;
    text-shadow: 0 1px rgba(255, 236, 177, .65);
    transition: transform .17s ease, filter .17s ease, background-color .17s ease;
}
.tavern-world-page .art-button { color: #2d1007; }
.art-button::before,.art-button::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border: 1px solid #7c3d19; border-radius: 50%; background: #f2c168; box-shadow: inset 0 1px #fff0b9; transform: translateY(-50%); }
.art-button::before { left: 9px; }.art-button::after { right: 9px; }
.art-button:hover { transform: translateY(-3px); filter: brightness(1.09); }
.art-button:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px rgba(255,224,143,.28), inset 0 -4px rgba(108,45,18,.12),0 2px 0 #351006,0 5px 12px rgba(0,0,0,.4); }
.art-button i { font-size: 21px; }
.button-spark {
    position: absolute;
    z-index: 10;
    width: 5px;
    height: 5px;
    pointer-events: none;
    background: #ffe7a0;
    box-shadow: 0 0 7px #f39a25;
    animation: button-spark .58s steps(5) forwards;
}

/* Hero world */
.world-hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - 102px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 65px clamp(32px, 7vw, 142px) 145px;
    overflow: hidden;
    background: #130604;
}
.world-art { position: absolute; z-index: -4; inset: -12px; overflow: hidden; }
.world-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art {
    transform: scale(1.012);
    transform-origin: center top;
}
.hero-scene-plane { position: absolute; inset: 0; transform-origin: center top; }
.hero-background,
.hero-hostess-canvas,
.hero-hostess-fallback { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.hero-background,
.hero-hostess-fallback { object-fit: cover; object-position: center top; }
.hero-hostess-canvas { z-index: 2; opacity: 0; transition: opacity .24s ease; }
.hero-hostess-fallback { z-index: 1; opacity: 1; transition: opacity .24s ease; }
.hero-art.rig-live .hero-hostess-canvas { opacity: 1; }
.hero-art.rig-live .hero-hostess-fallback { opacity: 0; }
.hero-art.rig-static .hero-scene-plane { animation: none; }
.hero-art.rig-static .hero-hostess-canvas { display: none; }
.world-hero::before {
    content: "";
    position: absolute;
    z-index: -3;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13,4,2,.03) 0 43%, rgba(16,5,3,.45) 61%, rgba(11,3,2,.93) 100%),
        linear-gradient(180deg, rgba(13,4,2,.08), transparent 58%, rgba(13,4,2,.88));
}
.world-hero::after {
    content: "";
    position: absolute;
    z-index: 5;
    inset: auto 0 0;
    height: 24px;
    background: linear-gradient(#ae682e 0 3px, #3c170d 3px 11px, #87502b 11px 16px, #160705 16px);
    box-shadow: 0 -7px 20px rgba(255, 118, 28, .16);
}
.hero-firewash,
.room-firewash,
.race-light {
    position: absolute;
    z-index: -2;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}
.hero-firewash { background: radial-gradient(ellipse at 38% 59%, rgba(255,112,19,.19), transparent 31%); animation: fire-wash 3.1s steps(5) infinite; }
.hero-copy { position: relative; z-index: 2; width: min(675px, 48vw); padding-bottom: 45px; text-align: left; }
.chapter-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 20px 8px;
    color: #ffe09c;
    background: linear-gradient(90deg, transparent, rgba(112,25,31,.92) 12% 88%, transparent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    text-shadow: 2px 2px #3b0c0e;
}
.hero-copy h1 { margin: 0; color: var(--cream); font: 700 clamp(64px, 6vw, 108px)/.77 var(--story); text-shadow: 0 6px 0 #3b120c, 0 11px 22px rgba(0,0,0,.6); }
.hero-copy h1 small { display: block; margin: 0 0 9px 5px; color: var(--gold); font: 700 15px/1 var(--pixel); letter-spacing: 3px; text-transform: uppercase; }
.hero-copy h1 em { color: var(--gold-light); font-style: normal; }
.hero-copy > p { max-width: 600px; margin: 27px 0 0; color: #f0d7b4; font: 700 20px/1.47 var(--story); text-shadow: 1px 2px 3px #000; }
.hero-copy > p strong { color: #ffc85a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 25px; }
.primary-action { min-width: 344px; }
.secondary-action { min-width: 270px; border-color: #8f4f29; outline-color: #5c2a18; color: #ffe4ae; background: linear-gradient(180deg,#73351f,#472015); box-shadow: inset 0 0 0 2px rgba(241,181,88,.15),inset 0 -7px rgba(28,7,4,.18),0 6px 0 #210805,0 11px 22px rgba(0,0,0,.44); text-shadow: 1px 2px #210805; }
.tavern-world-page .secondary-action { color: #ffe4ae; }
.secondary-action::before,.secondary-action::after { border-color: #3b140b; background: #c88439; }
.secondary-action:hover { filter: brightness(1.14); }
.verification-note { display: flex; align-items: center; gap: 10px; max-width: 515px; margin: 20px 0 0 17px; color: #cfad84; font-size: 10px; line-height: 1.4; text-shadow: 1px 2px #000; }
.verification-note i { flex: 0 0 auto; color: #9bc47b; font-size: 23px; }.verification-note strong { display: block; color: #f6d69e; font-size: 11px; }
.reward-dock {
    position: absolute;
    z-index: 3;
    right: clamp(28px, 4.8vw, 92px);
    bottom: 58px;
    display: grid;
    grid-template-columns: .78fr 1.18fr .88fr 1.16fr;
    gap: 10px;
    width: min(1040px, 72vw);
    min-height: 92px;
}
.reward-dock a { position: relative; display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: center; gap: 11px; min-width: 0; min-height: 82px; padding: 12px 15px; border: 2px solid #8d5029; border-radius: 4px; color: #e9c690; background: linear-gradient(180deg,rgba(91,38,22,.96),rgba(46,16,11,.97)),repeating-linear-gradient(90deg,transparent 0 18px,rgba(255,201,103,.04) 19px 20px); box-shadow: inset 0 0 0 2px rgba(237,173,76,.12),0 5px 0 #1b0704,0 10px 22px rgba(0,0,0,.42); transition: transform .18s ease,border-color .18s ease,filter .18s ease; }
.reward-dock a::before,.reward-dock a::after { content: ""; position: absolute; width: 6px; height: 6px; border: 1px solid #70401d; border-radius: 50%; background: #d8973f; }.reward-dock a::before { top: 7px; left: 7px; }.reward-dock a::after { right: 7px; bottom: 7px; }
.reward-dock a:hover { border-color: #df9d43; transform: translateY(-4px); filter: brightness(1.08); }
.reward-dock i { display: grid; place-items: center; width: 40px; height: 45px; color: #ffd368; background: linear-gradient(145deg,#7a2d19,#38100a); clip-path: polygon(50% 0,92% 15%,86% 69%,50% 100%,14% 69%,8% 15%); font-size: 27px; filter: drop-shadow(0 3px #210705); }
.reward-dock span { display: grid; min-width: 0; gap: 3px; text-align: left; }.reward-dock strong { overflow: hidden; color: #ffe3a1; font: 700 22px/1 var(--story); text-overflow: ellipsis; white-space: nowrap; }.reward-dock small { color: #dcb989; font: 700 12px/1.2 var(--story); }
.world-scroll-cue { position: absolute; z-index: 8; bottom: 15px; left: 50%; display: grid; justify-items: center; color: #ffe1a0; font-size: 9px; font-weight: 700; letter-spacing: 1.6px; text-shadow: 2px 2px #2b0b06; animation: scroll-cue 1.25s steps(2) infinite; }.world-scroll-cue i { font-size: 30px; }
.pixel-embers { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }.pixel-ember { position: absolute; bottom: -12px; width: var(--size); height: var(--size); opacity: 0; background: #ffc14d; box-shadow: 0 0 8px #ff6e16; animation: ember-rise var(--duration) steps(8) var(--delay) infinite; }

/* Shared chapter structure */
.chapter-section { position: relative; isolation: isolate; min-height: 1020px; overflow: hidden; }
.chapter-sign {
    position: relative;
    z-index: 3;
    width: min(760px, 62vw);
    min-height: 190px;
    margin: 0 auto;
    padding: 45px 110px;
    background: url("/art/tavern-home/nav-sign.webp?v=20260910-mobile1") center/100% 100% no-repeat;
    filter: drop-shadow(0 9px 5px rgba(0,0,0,.64));
    text-align: center;
}
.chapter-sign span,
.race-heading > div > span,
.community-heading > span { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.chapter-sign h2 { margin: 2px 0 1px; color: var(--cream); font: 700 clamp(36px,3.2vw,52px)/1 var(--story); text-shadow: 2px 3px #351009; }
.chapter-sign p { width: fit-content; max-width: 100%; margin: 7px auto 0; padding: 5px 15px 6px; border: 1px solid rgba(224,163,75,.5); border-radius: 2px; color: #f2d29e; background: linear-gradient(180deg,rgba(93,43,24,.92),rgba(45,16,10,.94)); box-shadow: inset 0 1px rgba(255,219,143,.14),0 3px 0 rgba(24,6,3,.62); font: 700 15px/1.2 var(--story); }
.reveal,
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .72s ease, transform .72s cubic-bezier(.18,.8,.24,1); }
.reveal.visible,
[data-reveal].visible { opacity: 1; transform: none; }

/* Quest room */
.quest-chamber { padding: 18px clamp(24px,4vw,76px) 100px; background: #2c1109; }
.chamber-art { inset: -20px; transform: translate3d(calc(var(--parallax-x,0) * .45), calc(var(--parallax-y,0) * .45), 0) scale(1.035); transition: transform .55s ease-out; }.chamber-art img { object-position: center; }
.quest-chamber::before { content: ""; position: absolute; z-index: -3; inset: 0; background: linear-gradient(180deg, rgba(31,10,5,.28), transparent 22% 76%, rgba(24,7,4,.76)), radial-gradient(ellipse at center, transparent 28%, rgba(24,7,4,.42) 90%); }
.room-firewash { background: radial-gradient(ellipse at 50% 16%, rgba(255,150,51,.12), transparent 35%), radial-gradient(circle at 8% 70%, rgba(255,91,10,.12), transparent 18%), radial-gradient(circle at 92% 70%, rgba(255,91,10,.1), transparent 18%); animation: fire-wash 3.8s steps(5) infinite reverse; }
.quest-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: center; gap: clamp(8px,1.4vw,26px); max-width: 1510px; margin: -16px auto 0; perspective: 1400px; }
.quest-card { position: relative; aspect-ratio: 1122/1402; min-width: 0; cursor: pointer; transform-style: preserve-3d; transition: transform .3s cubic-bezier(.18,.8,.22,1), filter .3s ease; }
.quest-card:nth-child(1) { transform: rotate(-1.5deg) translateY(13px); }.quest-card:nth-child(2) { transform: translateY(-12px); }.quest-card:nth-child(3) { transform: rotate(1.5deg) translateY(13px); }
.quest-card:hover { z-index: 5; filter: brightness(1.07) drop-shadow(0 15px 14px rgba(0,0,0,.34)); }
.quest-frame-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 10px 5px rgba(0,0,0,.55)); }
.quest-copy { position: absolute; z-index: 2; inset: 29% 23% 16%; display: flex; flex-direction: column; align-items: center; color: #3d1a0d; text-align: center; }
.quest-type { color: #8b2c20; font-size: clamp(8px,.62vw,10px); font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.quest-copy h3 { margin: 5px 0 8px; color: #351306; font: 700 clamp(25px,1.95vw,36px)/.95 var(--story); }
.quest-copy > p { margin: 0; color: #75462d; font: 700 clamp(13px,.95vw,17px)/1.36 var(--story); }
.quest-stakes { display: grid; gap: 1px; margin-top: auto; padding-top: 10px; border-top: 2px dashed rgba(104,55,24,.32); width: 100%; }.quest-stakes strong { color: #7d241b; font: 700 clamp(20px,1.6vw,29px)/1 var(--story); }.quest-stakes small { color: #774830; font-size: 8px; }
.quest-action { width: 118%; min-width: 0; min-height: 59px; margin: 2px -9% -9px; padding-right: 30px; padding-left: 30px; font: 700 16px/1 var(--story); }
.tavern-world-page button.quest-action { font: 700 16px/1 var(--story); }
.chapter-footnote { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; max-width: 700px; margin: -1px auto 0; padding: 14px 25px; color: #efd19d; background: rgba(38,13,7,.78); border: 1px solid rgba(234,170,69,.34); box-shadow: 0 5px 0 rgba(19,6,3,.72); font-size: 10px; }.chapter-footnote i { color: #a8cc7e; font-size: 20px; }

/* Race hall */
.race-world { min-height: 1240px; padding: 54px clamp(28px,4vw,82px) 100px; background: #1b0806; }
.race-art { inset: -24px; transform: translate3d(calc(var(--parallax-x,0) * .35), calc(var(--parallax-y,0) * .35), 0) scale(1.04); transition: transform .6s ease-out; }.race-art img { object-position: center; }
.race-world::before { content: ""; position: absolute; z-index: -3; inset: 0; background: linear-gradient(180deg, rgba(21,5,4,.42), rgba(27,6,5,.08) 30% 76%, rgba(18,4,3,.75)), radial-gradient(ellipse at 50% 36%, transparent 25%, rgba(17,4,3,.42) 92%); }
.race-light { background: radial-gradient(ellipse at 50% 28%, rgba(255,189,79,.16), transparent 30%); animation: fire-wash 4.2s steps(5) infinite; }
.race-embers { z-index: -1; }
.race-heading { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1530px; margin: 0 auto 29px; padding: 0 35px 22px; border-bottom: 2px solid rgba(232,168,70,.42); text-shadow: 2px 3px 2px #250805; }
.race-heading h2 { margin: 4px 0 2px; color: var(--gold-light); font: 700 clamp(47px,4.2vw,72px)/.95 var(--story); }.race-heading p { margin: 7px 0 0; color: #e1bd8d; font: 17px var(--story); }.standings-button { flex: 0 0 auto; min-width: 255px; color: #2d1007 !important; font: 700 18px/1 var(--story); text-shadow: 0 1px rgba(255,236,177,.72); }
.race-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.55fr) minmax(390px,.68fr); align-items: start; gap: clamp(26px,2.5vw,44px); max-width: 1530px; margin: 0 auto; }
.hall-winners { padding-top: 88px; }
.podium-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; gap: 7px; perspective: 1300px; }
.podium-card { position: relative; aspect-ratio: 1086/1448; min-width: 0; filter: drop-shadow(0 12px 6px rgba(0,0,0,.62)); transition: transform .28s ease, filter .28s ease; }.podium-card.second { transform: translateY(32px) rotate(-1deg); }.podium-card.first { z-index: 2; transform: scale(1.115) translateY(-17px); }.podium-card.third { transform: translateY(32px) rotate(1deg); }.podium-card:hover { z-index: 4; filter: brightness(1.12) drop-shadow(0 17px 8px rgba(0,0,0,.68)); }
.podium-frame-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.podium-copy { position: absolute; inset: 17% 18% 15%; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; text-align: center; text-shadow: 1px 2px 2px #31060b; }
.podium-medal { width: clamp(64px,5vw,92px); height: clamp(64px,5vw,92px); object-fit: contain; filter: drop-shadow(0 4px 2px rgba(0,0,0,.55)); animation: medal-float 3.6s ease-in-out infinite; }.second .podium-medal { animation-delay: -.9s; }.third .podium-medal { animation-delay: -1.8s; }
.podium-card .place { margin-top: 2px; color: #f0c982; font-size: clamp(8px,.64vw,11px); font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }.podium-card .name { max-width: 100%; margin-top: 8px; overflow: hidden; color: #fff1c3; font: 700 clamp(18px,1.45vw,27px)/1 var(--story); text-overflow: ellipsis; white-space: nowrap; }.podium-prize { margin-top: 12px; color: #ffe09a; font-size: clamp(9px,.7vw,12px); font-weight: 700; }.podium-card .wager { margin-top: 10px; padding: 6px 12px; border: 2px solid #ad8136; color: #d5f0a9; background: rgba(30,64,34,.86); box-shadow: 0 3px 0 #250908; font: 800 clamp(13px,.9vw,17px)/1 var(--number); font-variant-numeric: tabular-nums; }
.prize-ladder { position: relative; margin: 46px 0 0; padding: 16px 18px 18px; border: 3px solid #7b3d1e; border-radius: 4px; outline: 2px solid rgba(221,151,61,.52); color: #f0cf98; background: repeating-linear-gradient(0deg,rgba(255,218,141,.035) 0 2px,transparent 2px 11px),linear-gradient(180deg,#5c2a1a,#35140d); box-shadow: inset 0 0 0 2px rgba(255,207,109,.1),inset 0 -8px rgba(25,5,3,.18),0 7px 0 #1d0704,0 13px 26px rgba(0,0,0,.48); }.prize-ladder-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 3px 12px; color: #f2d09a; font: 700 14px/1.2 var(--story); }.prize-ladder-heading span { display: flex; align-items: center; gap: 7px; }.prize-ladder-heading i { color: #f1b64b; font-size: 18px; }.prize-ladder-heading strong { color: var(--gold-light); }.prize-ladder-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 6px; }.prize-ladder-item { display: grid; place-items: center; gap: 4px; min-width: 0; min-height: 64px; padding: 7px 3px; border: 1px solid rgba(233,170,76,.34); border-radius: 2px; color: #e4bf89; background: rgba(30,8,5,.38); text-align: center; }.prize-ladder-item span { font: 700 11px/1 var(--story); }.prize-ladder-item strong { color: #ffe09a; font: 800 17px/1 var(--number); font-variant-numeric: tabular-nums; }
.race-ledger { position: relative; aspect-ratio: 1122/1402; min-width: 0; margin-top: 4px; filter: drop-shadow(0 14px 7px rgba(0,0,0,.6)); }.ledger-frame-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }.ledger-copy { position: absolute; inset: 20.5% 14.5% 8.5%; display: flex; flex-direction: column; align-items: stretch; color: #3f1b0d; text-align: center; }.ledger-kicker { display: block; width: 100%; color: #85271e; font: 700 12px/1.2 var(--story); letter-spacing: 0; text-align: center; }.race-summary { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 8px; padding: 8px 0 9px; border-top: 2px dashed rgba(100,52,23,.32); border-bottom: 2px dashed rgba(100,52,23,.32); }.race-summary div { display: grid; gap: 3px; padding: 0 3px; }.race-summary div + div { border-left: 1px solid rgba(100,52,23,.24); }.race-summary span { color: #75452f; font: 700 10px/1.1 var(--story); }.race-summary strong { color: #442010; font: 800 clamp(18px,1.22vw,23px)/1.05 var(--number); font-variant-numeric: tabular-nums; }.leaderboard-disclosure { margin: 10px 0 8px; padding: 8px 9px; border: 1px solid rgba(120,62,27,.38); color: #6c3d28; background: rgba(177,106,52,.12); font: 700 12px/1.28 var(--story); }.race-footer-copy { display: grid; gap: 2px; margin-top: auto; }.race-footer-copy span { color: #81281e; font: 700 10px/1.1 var(--story); letter-spacing: 0; }.race-footer-copy strong { color: #482011; font: 700 clamp(19px,1.25vw,24px)/1 var(--story); }.timer-values { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin: 8px 0 4px; }.timer-values div { display: grid; place-items: center; min-width: 0; min-height: 58px; padding: 6px 2px; border: 2px solid #6f2c18; color: #ffe3a3; background: #5a2018; box-shadow: inset 0 1px #9b5731,0 3px 0 #311006; }.timer-values strong { font: 800 clamp(20px,1.45vw,27px)/1 var(--number); font-variant-numeric: tabular-nums; }.timer-values span { margin-top: 4px; font: 700 9px/1 var(--story); text-transform: uppercase; }.timer-timezone-note { margin: 5px 0 0; color: #6f3d29; font: 700 11px/1.2 var(--story); }.race-cta { width: 100%; min-width: 0; min-height: 56px; margin: 7px 0 0; padding: 0 25px; color: #2d1007 !important; font: 700 15px/1 var(--story); text-shadow: 0 1px rgba(255,236,177,.72); }

/* The seal hangs over the first column, so the live copy needs its own safe area. */
.race-layout { grid-template-columns: minmax(0,1.55fr) minmax(450px,.68fr); }
.ledger-copy { inset: 22% 14.5% 7%; }
.race-summary { margin-left: 46px; }
.race-summary > div:first-child { padding-right: 3px; padding-left: 3px; }
.leaderboard-disclosure { display: grid; gap: 0; margin: 9px 0 7px; padding: 7px 10px 8px; }
.leaderboard-disclosure .rtp-rule { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 21px; border-bottom: 1px dashed rgba(112,58,27,.28); text-align: left; }
.leaderboard-disclosure .rtp-rule span { color: #6b3a25; font: 700 12px/1.15 var(--story); }
.leaderboard-disclosure .rtp-rule strong { color: #471d0e; font: 800 12px/1 var(--number); font-variant-numeric: tabular-nums; white-space: nowrap; }
.leaderboard-disclosure p { margin: 6px 0 0; color: #6b3a25; font: 700 12px/1.28 var(--story); text-align: center; }
.podium-prize { font: 800 clamp(13px,.9vw,17px)/1 var(--number); font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* Community room */
.community-world { min-height: 1050px; padding: 57px clamp(28px,4vw,82px) 112px; background: #1b0905; }
.community-art { inset: -24px; transform: translate3d(calc(var(--parallax-x,0) * .28), calc(var(--parallax-y,0) * .28), 0) scale(1.045); transition: transform .7s ease-out; }.community-art img { object-position: center; }
.community-world::before { content: ""; position: absolute; z-index: -3; inset: 0; background: linear-gradient(180deg, rgba(19,6,3,.38), rgba(20,6,3,.06) 28% 74%, rgba(16,5,3,.82)), radial-gradient(ellipse at center, transparent 30%, rgba(15,4,2,.4)); }
.community-heading { position: relative; z-index: 2; max-width: 780px; margin: 0 auto 42px; text-align: center; text-shadow: 2px 3px #2b0b05; }.community-heading h2 { margin: 4px 0 2px; color: var(--gold-light); font: 700 clamp(46px,4vw,66px)/1 var(--story); }.community-heading p { margin: 7px 0 0; color: #e4c396; font: 17px var(--story); }
.community-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(360px,.8fr); align-items: center; gap: clamp(34px,5vw,88px); max-width: 1460px; margin: 0 auto; }
.kick-stage { position: relative; padding: 34px 25px 24px; }.stage-sign { position: absolute; z-index: 4; top: -5px; left: 50%; display: flex; align-items: center; justify-content: center; gap: 8px; width: 310px; height: 72px; padding-bottom: 8px; color: #3a160b; background: url("/art/tavern-home/button-plank.webp?v=20260910-mobile1") center/100% 100% no-repeat; filter: drop-shadow(0 6px 3px rgba(0,0,0,.6)); transform: translateX(-50%); font-size: 10px; font-weight: 700; }.stage-sign i { font-size: 17px; }
.stream-panel { position: relative; overflow: hidden; border: 11px solid #3a160c; outline: 3px solid #a46231; background: #1e0b07; box-shadow: inset 0 0 0 2px #180603,0 12px 0 #190704,0 25px 45px rgba(0,0,0,.45); }.stream-info { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 105px; padding: 25px 23px 17px; border-bottom: 3px solid #70401f; background: linear-gradient(180deg,#542619,#2d100b); }.stream-label { color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: 1px; }.stream-info h3 { margin: 4px 0; color: var(--cream); font: 700 25px var(--story); }.stream-info p { margin: 0; color: #c89f72; font-size: 9px; }.stream-actions { display: flex; align-items: center; gap: 8px; }.stream-status-pill,.stream-watch-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 11px; border: 2px solid #8b542d; color: #f4d79d; background: #38130d; font-size: 8px; font-weight: 700; }.stream-status-pill span { width: 7px; height: 7px; margin-right: 5px; background: #e7a539; box-shadow: 0 0 7px #e07e1b; }.stream-panel[data-status="live"] .stream-status-pill span { background: #6ed85b; box-shadow: 0 0 7px #6ed85b; }
.stream-preview { position: relative; display: block; min-height: 405px; overflow: hidden; background-color: #210b07; background-size: cover; background-position: center; }.stream-preview::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,7,4,.05), rgba(18,5,3,.15) 45%, rgba(14,4,2,.9)); }.stream-live-badge { position: absolute; z-index: 2; top: 17px; left: 17px; padding: 7px 10px; border: 2px solid #a86132; color: var(--cream); background: #4a1912; box-shadow: 0 3px 0 #1c0704; font-size: 8px; font-weight: 700; }.stream-play-button { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; place-items: center; width: 88px; height: 88px; border: 0; color: #321207; background: url("/art/tavern-home/guild-crest.webp?v=20260910-mobile1") center/contain no-repeat; filter: drop-shadow(0 7px 4px rgba(0,0,0,.65)); transform: translate(-50%,-50%); transition: transform .2s ease, filter .2s ease; }.stream-preview:hover .stream-play-button { transform: translate(-50%,-54%) scale(1.12) rotate(3deg); filter: brightness(1.13) drop-shadow(0 9px 5px rgba(0,0,0,.65)); }.stream-play-button i { color: #3b1408; font-size: 39px; }.stream-preview-copy { position: absolute; z-index: 2; right: 21px; bottom: 20px; left: 21px; display: grid; gap: 3px; }.stream-preview-copy strong { color: var(--cream); font: 700 28px var(--story); }.stream-preview-copy span { color: #d6ae7e; font-size: 10px; }.stream-kick-mark { position: absolute; z-index: 2; right: 21px; bottom: 18px; color: var(--gold); font-size: 26px; font-weight: 700; }
.trust-board { align-self: center; padding: 37px 35px 31px; color: #f4d9aa; background: rgba(41,15,8,.86); border: 4px solid rgba(121,68,32,.8); box-shadow: inset 0 0 0 2px rgba(225,155,66,.25),0 12px 0 rgba(20,6,3,.78),0 25px 40px rgba(0,0,0,.34); backdrop-filter: blur(2px); }.trust-heading span { color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }.trust-heading h2 { margin: 5px 0 8px; color: var(--gold-light); font: 700 39px/1 var(--story); }.trust-heading p { margin: 0; color: #d7b287; font: 16px/1.4 var(--story); }.trust-grid { display: grid; gap: 6px; margin-top: 22px; }.trust-item { display: flex; align-items: center; gap: 13px; min-height: 82px; padding: 4px 10px 4px 2px; border-bottom: 1px dashed rgba(227,163,69,.26); }.trust-item:last-child { border-bottom: 0; }.trust-emblem { flex: 0 0 auto; width: 72px; height: 72px; background-repeat: no-repeat; background-position: center; background-size: contain; filter: drop-shadow(0 4px 2px rgba(0,0,0,.55)); }.emblem-verified { background-image: url("/art/tavern-home/trust-verified.webp?v=20260910-mobile1"); }.emblem-community { background-image: url("/art/tavern-home/trust-community.webp?v=20260910-mobile1"); }.emblem-responsible { background-image: url("/art/tavern-home/trust-responsible.webp?v=20260910-mobile1"); }.emblem-monthly { background-image: url("/art/tavern-home/trust-monthly.webp?v=20260910-mobile1"); }.trust-item div { display: grid; gap: 3px; }.trust-item strong { color: var(--cream); font: 700 21px/1.05 var(--story); }.trust-item small { color: #d0aa7d; font: 400 12px/1.3 var(--story); }.pact-button { width: 100%; margin-top: 15px; }

/* Member menu */
.site-account { position: relative; }.site-account[hidden],.site-account-card[hidden],.site-account-toggle[hidden],.site-account-login-top[hidden] { display: none !important; }
.site-account-login-top { min-width: 174px; min-height: 54px; padding: 5px 12px 5px 7px; font-size: 15px; }
.site-account-card { position: absolute; top: calc(100% + 16px); right: 0; z-index: 1500; width: 390px; padding: 30px 28px 27px; border: 8px solid #321006; outline: 3px solid #94552d; color: #3c190d; background: linear-gradient(rgba(255,255,255,.1),transparent 28%), var(--paper); box-shadow: inset 0 0 0 2px #fae5b4,0 12px 0 #170604,0 25px 50px rgba(0,0,0,.55); font-family: var(--story); }.site-account-card::before { content: ""; position: absolute; top: -18px; right: 15px; border-right: 12px solid transparent; border-bottom: 18px solid #321006; border-left: 12px solid transparent; }.site-account-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 2px dashed rgba(105,55,26,.36); color: #84281f; font: 700 12px/1 var(--story); letter-spacing: 0; }.site-account-title i { font-size: 17px; }.site-account-card > strong,.site-account-card > small { display: block; }.site-account-card > strong { margin-top: 15px; color: #3c160a; font: 700 27px/1 var(--story); }.site-account-card > small { margin-top: 4px; color: #74452e; font: 700 12px/1.2 var(--story); }.site-account-row { display: flex; align-items: center; gap: 13px; min-height: 61px; padding: 12px 0; border-bottom: 1px dashed rgba(105,55,26,.28); }.site-account-row > i { flex: 0 0 25px; color: #8e3121; font-size: 24px; text-align: center; }.site-account-row div { display: grid; gap: 3px; }.site-account-row b { color: #4d2111; font: 700 15px/1.1 var(--story); }.site-account-row span { color: #744832; font: 400 12px/1.2 var(--story); }.site-account-sync { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; color: #744832; font: 400 11px/1.25 var(--story); }.site-account-sync b { color: #4d2111; font-weight: 700; text-align: right; }.site-account-progress { padding: 13px; border: 2px solid #a86d38; background: rgba(159,92,39,.13); }.site-account-progress div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.site-account-progress b { color: #4b2010; font: 800 19px/1 var(--number); font-variant-numeric: tabular-nums; }.site-account-progress span { font: 700 12px/1.25 var(--story); }.site-account-progress > span { display: block; margin-top: 7px; color: #744832; font-weight: 400; }.site-account-manage,.site-account-refresh,.site-account-logout,.site-account-login { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 47px; margin-top: 10px; border: 2px solid #74331a; color: #ffe0a1; background: #64241c; box-shadow: 0 3px 0 #321006; font: 700 14px/1 var(--story); }.site-account-manage,.site-account-login { color: #351307; background: #e7a43c; }.site-account-login-note { display: block; margin: 8px 0 14px; color: #744832; font: 400 13px/1.45 var(--story); }

/* Illustrated claim scroll */
.modal-overlay { position: fixed; inset: 0; z-index: 3000; display: none; place-items: center; padding: 6px; overflow: auto; background: rgba(13,3,2,.88); backdrop-filter: blur(7px); }.modal-overlay.active { display: grid; }.modal { position: relative; width: min(700px,94vw); min-height: min(890px,97vh); }.modal-frame-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; filter: drop-shadow(0 22px 12px rgba(0,0,0,.65)); }.modal-scroll-copy { position: absolute; inset: 15% 16% 8%; overflow-x: hidden; overflow-y: auto; padding: 8px 5px 4px; color: #432010; scrollbar-color: #8a4d29 transparent; }.modal-close { position: absolute; z-index: 3; top: 4px; right: 4px; width: 39px; height: 39px; border: 2px solid #743019; color: #ffe1a4; background: #7c281f; box-shadow: 0 3px 0 #391108; font: 700 23px/1 var(--story); }.modal-progress { display: none; }.modal-header { padding-top: 62px; text-align: center; }.modal-header h2 { margin: 0; color: #3b170b; font: 700 35px/1 var(--story); }.modal-header p { margin: 5px 0 15px; color: #8d2e21; font: 700 12px/1.2 var(--story); letter-spacing: 0; }.modal-body { color: #69402a; }.modal-content-shell { text-align: center; }.modal-icon { font-size: 40px; filter: sepia(1) saturate(.8); }.modal-content-shell h3 { margin: 5px 0 7px; color: #431a0d; font: 700 28px/1.05 var(--story); }.modal-content-shell p { margin: 0 auto; max-width: 420px; font: 700 16px/1.4 var(--story); }.modal-action { display: flex; align-items: center; justify-content: center; width: min(320px,100%); min-height: 47px; margin: 14px auto 0; border: 2px solid #6e2c18; color: #341207; background: linear-gradient(#f3bd59,#d78a2e); box-shadow: inset 0 1px #ffe9a7,0 4px 0 #6a2914; font: 700 14px/1 var(--story); }.info-box { margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(113,57,27,.35); color: #74462e; background: rgba(175,105,50,.11); font: 14px/1.4 var(--story); }.info-box strong { color: #5a2815; }.info-box ul { margin: 6px 0 0; padding-left: 18px; }.modal-field { display: grid; gap: 6px; margin-top: 11px; color: #572511; font: 700 12px/1.2 var(--story); }.modal-input { width: 100%; min-height: 44px; padding: 9px 11px; border: 2px solid #a06736; color: #3c190d; background: rgba(255,242,203,.78); outline: 0; font: 400 15px/1.2 var(--story); }.modal-input:focus { border-color: #7f281d; box-shadow: 0 0 0 2px rgba(127,40,29,.15); }.claim-confirm { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #653722; font: 700 12px/1.3 var(--story); }.claim-confirm input { accent-color: #8a2b20; }.claim-submit:disabled { opacity: .48; cursor: not-allowed; }.claim-message { margin-top: 10px; color: #78503a; font: 400 11px/1.3 var(--story); text-align: center; }.claim-message.success { color: #426b36; }.claim-message.error { color: #962f26; }.modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; }.modal-back,.modal-next { min-width: 94px; min-height: 41px; border: 2px solid #6f2d18; color: #3b160a; background: #e1aa52; box-shadow: 0 3px 0 #6b2b15; font: 700 14px/1 var(--story); }.modal-dots { display: flex; gap: 7px; }.modal-dot { width: 9px; height: 9px; border: 1px solid #7d4424; transform: rotate(45deg); background: #c99a5c; }.modal-dot.active { background: #86291f; }
.modal:has(.claim-submit) .modal-header { padding-top: 48px; }
.modal:has(.claim-submit) .modal-icon { font-size: 36px; }
.modal:has(.claim-submit) .modal-content-shell h3 { margin-top: 2px; }
.modal:has(.claim-submit) .info-box { margin-top: 10px; padding-top: 9px; padding-bottom: 9px; line-height: 1.3; }
.modal:has(.claim-submit) .info-box ul { margin-top: 4px; }
.modal:has(.claim-submit) .modal-field { gap: 4px; margin-top: 6px; }
.modal:has(.claim-submit) .modal-input { min-height: 41px; padding-top: 7px; padding-bottom: 7px; }
.modal:has(.claim-submit) .claim-confirm { margin-top: 8px; }
.modal:has(.claim-submit) .claim-submit { min-height: 43px; margin-top: 7px; }
.modal:has(.claim-submit) .claim-message { margin-top: 4px; }
.modal:has(.claim-submit) .modal-footer { margin-top: 10px; }

/* Footer */
.world-footer { display: grid; grid-template-columns: 1fr auto; gap: 25px; padding: 38px clamp(28px,6vw,110px); border-top: 8px solid #542311; color: #c59e72; background: linear-gradient(#1d0906,#0c0302); box-shadow: inset 0 3px #9a572a; }.footer-brand { display: flex; align-items: center; gap: 8px; }.footer-brand img { width: 78px; height: 78px; object-fit: contain; }.footer-brand div { display: grid; gap: 2px; }.footer-brand strong { color: var(--gold-light); font: 700 25px var(--story); }.footer-brand span,.footer-clock { font-size: 9px; }.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: end; gap: 16px; color: var(--gold); font-size: 9px; font-weight: 700; }.footer-links a:hover { color: var(--cream); }.world-footer > p { grid-column: 1/-1; margin: -8px 0 0 86px; font-size: 8px; }

@keyframes hero-drift { 0%,100% { transform: scale(1.002) translate3d(-2px,0,0); } 50% { transform: scale(1.014) translate3d(4px,3px,0); } }
@keyframes sign-breathe { 0%,100% { transform: rotate(-.12deg); } 50% { transform: translateY(2px) rotate(.12deg); } }
@keyframes fire-wash { 0%,100% { opacity: .62; } 27% { opacity: 1; } 58% { opacity: .48; } 76% { opacity: .82; } }
@keyframes scroll-cue { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,12px); } }
@keyframes ember-rise { 0% { opacity: 0; transform: translate3d(0,0,0); } 12% { opacity: .9; } 72% { opacity: .55; } 100% { opacity: 0; transform: translate3d(var(--drift),-82vh,0) rotate(180deg); } }
@keyframes medal-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1deg); } }
@keyframes button-spark { 0% { opacity: 1; transform: translate(0,0) scale(1); } 100% { opacity: 0; transform: translate(var(--spark-x),var(--spark-y)) scale(.2); } }

@media (prefers-reduced-motion: reduce) {
    html:not(.is-motion-override-full) .hero-scene-plane,
    html:not(.is-motion-override-full) .hero-firewash,
    html:not(.is-motion-override-full) .world-scroll-cue,
    html:not(.is-motion-override-full) .world-scroll-cue i,
    html:not(.is-motion-override-full) .hero-art .pixel-ember { animation: none !important; }
    html:not(.is-motion-override-full) .hero-hostess-canvas { display: none !important; }
    html:not(.is-motion-override-full) .hero-hostess-fallback { opacity: 1 !important; }
    html:not(.is-motion-override-full) .hero-art.rig-live .hero-hostess-canvas { display: block !important; opacity: 1 !important; }
    html:not(.is-motion-override-full) .hero-art.rig-live .hero-hostess-fallback { opacity: 0 !important; }
}

/* Basic fallback below desktop; dedicated mobile art direction comes later. */
@media (max-width: 1450px) {
    .world-navbar { grid-template-columns: minmax(185px,.65fr) minmax(535px,1.65fr) minmax(270px,.85fr); column-gap: 8px; padding-right: 20px; padding-left: 20px; }
    .world-brand { min-width: 0; }.world-brand strong { font-size: 25px; }.world-brand > img { width: 68px; height: 68px; }
    .world-nav-sign a { gap: 5px; padding: 0 7px; font-size: 14px; }.world-nav-sign i { font-size: 18px; }
    .utility-button { min-width: 48px; padding-right: 8px; font-size: 12px; }.utility-shield { width: 32px; height: 36px; }
    .social-icon > span:last-child,.motion-toggle > span:last-child { display: none; }.motion-toggle { min-width: 48px; }
}

@media (max-width: 1120px) {
    .world-navbar { grid-template-columns: minmax(205px,1fr) minmax(430px,520px) minmax(275px,1fr); padding-right: 22px; padding-left: 22px; }
    .world-brand strong { font-size: 23px; }.world-brand > img { width: 65px; height: 65px; }.world-nav-sign a { gap: 5px; padding: 0 7px; font-size: 11px; }.world-nav-sign i { font-size: 17px; }.utility-button { min-width: 48px; padding-right: 7px; font-size: 10px; }.utility-shield { width: 31px; height: 35px; }.social-icon > span:last-child,.motion-toggle > span:last-child { display: none; }
    .hero-copy { width: min(630px,56vw); }.reward-dock { right: 9vw; width: min(920px,82vw); }.reward-dock strong { font-size: 18px; }
    .quest-copy { right: 18%; left: 18%; }
    .race-layout { grid-template-columns: minmax(0,1.5fr) minmax(310px,.6fr); gap: 18px; }.hall-winners { padding-top: 80px; }
    .community-layout { grid-template-columns: 1.1fr .9fr; gap: 30px; }
}
@media (max-width: 820px) {
    .world-navbar { grid-template-columns: 1fr auto 1fr; min-height: 74px; }.world-brand > img { width: 54px; height: 54px; }.world-brand small { display: none; }.world-nav-sign { display: none; }.menu-toggle { display: grid; place-items: center; width: 43px; height: 43px; border: 2px solid #87502d; color: var(--gold); background: #35130d; }.world-navbar.menu-open .world-nav-sign { position: absolute; top: 100%; right: 10px; left: 10px; display: grid; width: auto; min-height: 100px; }
    .world-hero { min-height: 880px; align-items: end; padding: 280px 22px 190px; }.hero-copy { width: 100%; }.hero-copy h1 { font-size: 62px; }.reward-dock { right: 18px; bottom: 55px; left: 18px; width: auto; }.reward-dock strong { font-size: 13px; }.reward-dock small { font-size: 7px; }
    .chapter-sign { width: min(730px,95vw); }.quest-grid { grid-template-columns: 1fr; max-width: 520px; }.quest-card:nth-child(n) { transform: none; }.chapter-section { min-height: auto; }
    .race-layout,.community-layout { grid-template-columns: 1fr; }.hall-winners { padding-top: 30px; }.race-ledger { width: min(430px,92vw); margin: 40px auto 0; }.community-world { padding-right: 18px; padding-left: 18px; }.trust-board { width: min(600px,100%); margin: auto; }
    .world-footer { grid-template-columns: 1fr; }.footer-links { justify-content: start; }.world-footer > p { grid-column: 1; margin-left: 0; }
}
