/* Magnitudle reference: warm paper, navy type and restrained red accents. */
:root{--bg:#f7f5f1;--paper:#fdfbfa;--ink:#0e0f23;--muted:#61626f;--line:#dfd6c9;--accent:#cc272e;--soft:#ece7e1;--font:"Avenir Next","Segoe UI",sans-serif;--heading:"Avenir Next","Segoe UI",sans-serif;--mono:SFMono-Regular,"Cascadia Mono",Menlo,monospace}
body{font-size:16px;line-height:1.5;min-height:100vh;display:flex;flex-direction:column}
body.dark{--bg:#181922;--paper:#21232e;--ink:#f7f5f1;--muted:#b6b4be;--line:#3c3e4b;--soft:#2e303d;--accent:#ee6970}
#main{flex:1;padding-top:72px}
[hidden]{display:none!important}
.wrap{max-width:1152px;padding:0 24px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-color:var(--accent)}
.site-header{height:0;border:0;position:relative;z-index:30}
.floating-nav{position:absolute;top:16px;right:max(24px,calc((100vw - 1280px)/2));display:flex;gap:8px;align-items:flex-start}
.home-control,.menu-control{height:44px;width:44px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);box-shadow:0 10px 24px #50302412;cursor:pointer}
.home-control{background:var(--accent);border-color:var(--accent);color:#faf8f5;box-shadow:0 10px 22px #ab34283d}
.home-control svg{width:22px;height:22px}
.menu-control{background:var(--bg);list-style:none;align-content:center;gap:4px}
.menu-control::-webkit-details-marker{display:none}
.menu-control span{width:14px;height:1.5px;background:currentColor;border-radius:2px}
.site-menu{position:relative}
.menu-popover{position:absolute;right:0;top:54px;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:20px;width:270px;box-shadow:0 16px 50px #11132b1a}
.menu-brand{display:flex;gap:10px;align-items:center;font-size:17px;font-weight:800;margin-bottom:15px}
.brand-mark{color:#faf8f5;background:var(--accent);border-radius:14px;grid-template-columns:repeat(2,10px);gap:5px;padding:15px;flex:none}
.brand-mark i{height:10px;width:10px}
.menu-brand .brand-mark{padding:9px;grid-template-columns:repeat(2,6px);gap:3px;border-radius:9px}
.menu-brand .brand-mark i{height:6px;width:6px}
.menu-popover nav{display:grid;gap:2px;margin-bottom:14px}
.menu-popover nav a,.menu-action{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:9px 0;font-size:13px}
.menu-popover nav a:hover{color:var(--accent)}
.menu-popover nav a span{color:var(--muted)}
.menu-action{border:0;background:transparent;color:var(--ink);text-align:left}
.menu-action span{font-size:11px;color:var(--muted)}
.menu-popover #profile-chip{border-top:1px solid var(--line);padding-top:14px;margin-bottom:7px}
.menu-popover .level-chip{justify-content:space-between;border:0;background:var(--soft);border-radius:9px;font-size:11px}
.btn{border-radius:16px;font-size:14px;line-height:20px;min-height:44px;font-weight:600;letter-spacing:.35px}
.btn-primary{background:var(--accent);border-color:var(--accent);color:#faf8f5;box-shadow:0 10px 22px #ab34283d}
.btn-primary:hover{background:#b82028;border-color:#b82028;color:#fff}
.btn-small{min-height:34px;border-radius:11px;font-size:12px}
.eyebrow,.hub-overline{font-family:var(--mono);font-weight:700;font-size:10px;line-height:15px;letter-spacing:1.2px;text-transform:uppercase}
.hub-wrap{padding-top:12px;padding-bottom:64px}
.hub-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:44px}
.hub-brand{display:flex;align-items:center;gap:16px}
.hub-brand .brand-mark{padding:17.5px;grid-template-columns:repeat(2,10px);width:60px;height:60px;box-shadow:0 8px 16px #ab34282e}
.hub-brand h1{font-size:53.6px;line-height:1.08;font-weight:900;letter-spacing:-1.072px;margin:0}
.hub-brand p{font-family:var(--mono);font-size:10px;font-weight:600;letter-spacing:.35px;color:var(--muted);margin:8px 0 0}
.hub-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;min-width:328px}
.hub-stats>div,.hub-stats>button{text-align:left;background:none;border:0;padding:0;color:var(--ink)}
.hub-stats span{font-family:var(--mono);font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.45px;color:var(--muted);display:block;white-space:nowrap}
.hub-stats span:first-letter{color:var(--accent)}
.hub-stats strong{display:block;font-size:23px;font-family:var(--mono);line-height:1.3;margin-top:8px}
.hub-stats small{font-size:12px;font-weight:500;color:var(--muted)}
.hub-overline{color:var(--accent);display:block;margin:0 0 16px}
.hub-featured-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.hub-featured-grid .hub-card{grid-column:span 2}
.hub-featured-grid .hub-card:first-child{grid-column:span 3}
.hub-card{display:block;position:relative;border:1px solid var(--line);background:var(--paper);border-radius:21.6px;height:148px;padding:16px;box-shadow:0 5px 14px #34262907;transition:transform .18s,box-shadow .18s;overflow:hidden}
.hub-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #34262912;border-color:#d9a9a7}
.hub-card-featured{height:216px;border-color:#e9c7c1;box-shadow:0 4px 15px #ab34280c}
.hub-card-status{position:absolute;top:12px;right:12px;border:1px solid #e4b8b7;color:var(--accent);background:var(--paper);border-radius:20px;font-family:var(--mono);font-size:8px;line-height:12px;font-weight:600;text-transform:uppercase;padding:2px 7px;letter-spacing:.4px;z-index:1}
.hub-card-art{height:67px;display:flex;justify-content:center;align-items:center;color:var(--accent)}
.hub-card-art svg{width:86px;height:65px;color:var(--accent)!important}
.hub-card-featured .hub-card-art{height:125px}
.hub-card-featured .hub-card-art svg{width:250px;height:120px;max-width:100%}
.hub-card-copy h3{font-size:16px;line-height:22px;letter-spacing:-.4px;font-weight:750;margin:0 0 3px;padding-right:45px}
.hub-card-featured h3{font-size:20px;line-height:26px;padding-right:55px}
.hub-card-copy p{font-size:12px;line-height:18px;color:var(--muted);margin:0;padding-right:34px}
.hub-card-featured p{font-size:14px;line-height:20px}
.hub-play{position:absolute;right:14px;bottom:16px;border-radius:20px;background:var(--accent);color:#faf8f5;font-size:10px;font-weight:700;padding:4px 10px;line-height:14px;box-shadow:0 4px 10px #ab34281a}
.hub-play span{font-size:9px;margin-left:3px}
.hub-library{margin-top:32px}
.hub-library-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px}
.hub-library-head .hub-overline{margin:0;color:var(--muted)}
.search-box{background:transparent;padding:5px 10px;width:165px;border-radius:20px}
.search-box input{font-size:11px}
.filter-row{gap:6px;margin-bottom:14px}
.filter{font-size:10px;line-height:15px;padding:4px 10px;border-radius:20px}
.filter.active{background:var(--soft);color:var(--ink);border-color:var(--line)}
.hub-games-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hub-links{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;padding:22px 0;margin:26px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hub-links a{font-size:12px;color:var(--muted)}
.hub-links a:hover{color:var(--accent)}
.hub-links span{padding-left:6px}
.quest-home{border-radius:21.6px;margin:0;box-shadow:0 5px 14px #34262907;gap:22px;padding:22px}
.quest-home h3{font-size:19px}
.quest-home .eyebrow{color:var(--accent);font-size:9px}
.progress-track span{background:var(--accent)}
.hub-intro{display:grid;grid-template-columns:1fr 1fr;gap:80px;margin:80px 0 48px}
.hub-intro h2,.hub-how h2,.hub-about h2{font-size:34px;line-height:1.2;letter-spacing:-.8px;margin:0 0 20px}
.hub-intro p{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 16px}
.hub-spotlight{padding:32px;border:1px solid #e9c7c1;border-radius:24px;background:radial-gradient(ellipse at 80% 30%,#cc272e09,transparent 65%),var(--paper);display:grid;grid-template-columns:1.25fr 1fr;gap:40px;box-shadow:0 12px 28px #ab342809}
.hub-spotlight .hub-overline{font-size:9px}
.hub-spotlight h2{font-size:36px;line-height:1.15;letter-spacing:-.8px;margin:0 0 13px}
.hub-spotlight h3{font-size:17px;line-height:24px;margin:0 0 14px}
.hub-spotlight p{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 22px}
.hub-example{background:var(--bg);border:1px solid var(--line);border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}
.hub-example>svg{width:100%;height:145px}
.hub-example>div{width:100%;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:14px}
.hub-example .hub-overline{font-size:8px;margin-bottom:6px;color:var(--muted)}
.hub-example strong{display:flex;justify-content:space-between;font-size:12px}
.hub-example strong span{color:var(--accent);font-family:var(--mono)}
.hub-example i{display:block;height:5px;margin-top:10px;border-radius:5px;background:linear-gradient(to right,var(--accent) 82%,var(--soft) 82%)}
.hub-how{margin-top:80px}
.hub-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.hub-steps>div{position:relative;padding:22px 18px;background:var(--paper);border:1px solid var(--line);border-radius:18px}
.hub-steps>div>span{color:var(--accent);font-family:var(--mono);font-size:11px;font-weight:700;display:block;margin-bottom:20px}
.hub-steps h3{font-size:16px;margin:0 0 8px}
.hub-steps p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}
.hub-about{max-width:760px;background:#0e0f23;color:#faf8f5;border-radius:24px;margin-top:80px;padding:34px}
.hub-about .hub-overline{color:#ef7478}
.hub-about p{font-size:14px;color:#c7c5cf;line-height:1.8}
.hub-about a{font-size:12px;font-weight:600}
.game-page{max-width:904px;padding:20px 8px 48px}
.game-intro{display:block;margin:0}
.game-title-row{display:flex;align-items:center;justify-content:center;gap:8px;border-bottom:1px solid var(--line);padding-bottom:16px}
.game-intro h1{font-size:28.8px;line-height:43.2px;letter-spacing:-.72px;margin:0;font-weight:700}
.game-help-toggle{width:24px;height:24px;border:0;background:transparent;position:relative;font-size:12px;font-weight:600;color:var(--muted);padding:0}
.game-help-toggle::before{content:'';position:absolute;inset:5px;border:1px solid currentColor;border-radius:50%}
.game-intro p{max-width:none;text-align:center;font-size:14px;line-height:20px;margin:12px 0 0}
.game-panel{background:transparent;border:0;padding:0;border-radius:0;min-height:0}
#game-mount{margin-top:20px}
.game-help{margin:32px 0 0;padding:16px 8px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.game-help summary{list-style:none;position:relative;font-size:14px;line-height:20px;display:flex;flex-direction:column;gap:5px;padding-right:26px;font-weight:700}
.game-help summary::-webkit-details-marker{display:none}
.game-help summary .eyebrow{color:var(--accent);font-size:10px;font-weight:500}
.game-help summary i{position:absolute;right:0;top:12px;font-size:20px;font-style:normal;font-weight:400;color:var(--muted)}
.game-help[open] summary i{transform:rotate(45deg)}
.game-help p{font-size:13px;line-height:1.8}
.mode-bar{margin:20px 0 0;padding:18px 0 0;border:0;border-top:1px solid var(--line)}
.mode-tabs{border-radius:12px}
.mode-tabs a{border-radius:9px}
.related-games{margin-top:14px;color:var(--muted);font-size:12px}
.related-games>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;padding:10px 8px}
.related-games[open]>.games-grid{margin-top:16px}
.related-games .game-card{border-radius:20px}
.related-games .card-art{background:var(--soft)!important;color:var(--accent)}
.related-games .card-art svg{color:var(--accent)!important}
.site-footer{margin:24px auto 0;max-width:1024px;width:100%;border-top:1px solid var(--line);padding:23px 0 24px}
.footer-inner{justify-content:center;flex-direction:column;gap:12px;text-align:center}
.footer-copy{font-family:var(--mono);font-size:10px;text-transform:uppercase;letter-spacing:1px;margin:0;color:var(--muted)}
.footer-links{font-size:10px;gap:18px;justify-content:center;flex-wrap:wrap}
.rewards-page{padding-top:24px}
.quest-card,.reward-explainer,.box-feature,.paid-product,.cosmetic-card,.odds-details{border-radius:20px}
.rewards-tabs a.active{border-bottom-color:var(--accent)}
.profile-overview h1,.article h1{letter-spacing:-.8px}
body.dark .hub-card-featured,body.dark .hub-spotlight{border-color:#724048}
body.dark .hub-card-status{border-color:#724048}
body.dark .hub-brand .brand-mark{color:#fff}
@media(max-width:1050px){.hub-heading{gap:22px}.hub-brand h1{font-size:42px}.hub-stats{gap:17px;min-width:290px}.hub-games-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-card-copy p{font-size:11px}.hub-featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-featured-grid .hub-card,.hub-featured-grid .hub-card:first-child{grid-column:auto}.hub-card-featured h3{font-size:18px}}
@media(max-width:740px){.wrap{padding:0 16px}.floating-nav{top:13px;right:16px}.home-control,.menu-control{width:44px;height:44px}.hub-heading{display:block;margin-bottom:30px}.hub-brand{gap:13px}.hub-brand h1{font-size:38.4px;line-height:41.5px;letter-spacing:-.77px}.hub-brand .brand-mark{height:46px;width:46px;padding:12px;grid-template-columns:repeat(2,8px);gap:4px;border-radius:12px}.hub-brand .brand-mark i{width:8px;height:8px}.hub-brand p{font-size:8px;letter-spacing:.15px;max-width:270px;margin-top:7px}.hub-stats{margin-top:27px;gap:12px;min-width:0}.hub-stats span{font-size:8px}.hub-stats strong{font-size:19px;margin-top:6px}.hub-wrap{padding-top:16px;padding-bottom:30px}.hub-featured-grid{grid-template-columns:1fr}.hub-card-featured{height:216px}.hub-card-featured .hub-card-art{height:128px}.hub-card-featured h3{font-size:20px}.hub-card-featured p{font-size:14px}.hub-featured .hub-overline{margin-bottom:13px}.hub-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-library-head{gap:10px}.hub-library-head .hub-overline{font-size:9px;letter-spacing:.8px}.search-box{width:140px}.hub-card-copy h3{font-size:14px}.hub-library{margin-top:30px}.hub-links{gap:14px 21px;justify-content:flex-start;padding:18px 0;margin:22px 0}.hub-links a{font-size:11px}.quest-home{padding:20px;gap:14px;margin-bottom:0}.quest-home>.btn{grid-column:auto}.hub-intro{grid-template-columns:1fr;gap:4px;margin:60px 0 34px}.hub-intro h2,.hub-how h2,.hub-about h2{font-size:28px}.hub-intro h2 br{display:none}.hub-intro p{font-size:13px}.hub-spotlight{grid-template-columns:1fr;gap:24px;padding:22px}.hub-spotlight h2{font-size:32px}.hub-spotlight h3{font-size:16px}.hub-spotlight p{font-size:13px}.hub-example{padding:18px}.hub-how{margin-top:60px}.hub-steps{grid-template-columns:repeat(2,1fr)}.hub-steps>div{padding:18px 16px}.hub-steps h3{font-size:15px}.hub-about{margin-top:60px;padding:24px}.hub-about p{font-size:13px}body[data-page='game'] #main{padding-top:68px}body[data-page='game'] #main>.wrap{padding:0 12px}.game-page{padding:12px 0 32px}.game-intro h1{font-size:24px;line-height:36px;letter-spacing:-.6px}.game-intro p{margin-top:12px;font-size:14px}.game-help{padding:16px 4px}.game-help p{font-size:12px}.game-title-row{padding-bottom:16px}.mode-bar{gap:12px}.game-date{font-size:10px}.site-footer{width:calc(100% - 32px);margin-top:28px;padding-top:23px}.footer-inner{align-items:center;padding:0}.footer-links{gap:12px}.article{margin-top:24px}.rewards-page{padding-top:12px}.profile-overview h1{font-size:31px}}
@media(max-width:480px){.hub-games-grid{grid-template-columns:1fr}.hub-card-copy h3{font-size:16px}.hub-card-copy p{font-size:12px}.hub-steps{grid-template-columns:1fr}.hub-steps>div{padding:18px}.hub-steps>div>span{position:absolute;right:18px;top:18px;margin:0}.hub-steps h3{padding-right:30px}.hub-card-art svg{height:62px}.hub-stats{gap:9px}.hub-stats span{font-size:7px}.hub-stats strong{font-size:18px}}
/* Leave room for each card's play pill when descriptions wrap. */
.hub-card-copy p{padding-right:0;max-width:calc(100% - 58px)}
.hub-card-art{height:55px}
.hub-card-featured .hub-card-art{height:112px}
@media(max-width:740px){.hub-card-featured .hub-card-art{height:112px}}
body[data-game='scale'] #game-mount{margin-top:14px}
body[data-page='game']:not([data-game='scale']) .btn-primary{box-shadow:none}
body[data-page='game']:not([data-game='scale']) .game-help .eyebrow{color:var(--muted)}
.hub-play svg{width:8px;height:8px;margin-left:3px;vertical-align:middle}
