:root{--bg0:#121124;--bg1:#1a1833;--bg2:#25214a;--bg3:#302b5c;--line:#0e0d1c;--line-hi:#5a529a;--accent:#9a8fd8;--accent-hi:#c4b8ff;--text:#e0dcf8;--purple:#b7a0ff;--lime:#bfe04d;--gold:#e4c43a;--title:'Fugaz One',Georgia,serif;--body:'Atkinson Hyperlegible Next',system-ui,sans-serif}
.cw{max-width:1440px;margin:0 auto;padding:0 40px}
.nav{position:sticky;top:0;z-index:50;background:rgba(18,17,36,.92);backdrop-filter:blur(12px);}
.nav .cw{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:76px}.nav .r{margin-left:0}.nav .btn{font:700 16px/1 var(--body)}
.nav .l,.nav .r{display:flex;align-items:center;gap:6px}.nav .r{justify-content:flex-end;gap:10px}
.nav .l a{padding:10px 16px;border-radius:6px;font:700 17px/1 var(--body);color:var(--text)}
.nav .l a:hover{background:var(--bg3);color:#fff}
.logo img{height:52px;width:52px;display:block}
.btn{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 20px;border-radius:6px;font:400 18px/1 var(--title);border:0;cursor:pointer}
.btn.ghost{color:#fff;background:var(--bg3)}.mobonly{display:none}.btn.ghost:hover{background:#4a4380}
.btn.play{background:var(--lime);color:#16161c}.btn.play:hover{filter:brightness(1.07)}
.btn.purple{background:var(--purple);color:#16161c}
.btn.dark{background:rgba(18,17,36,.75);color:#fff;border-color:transparent}
footer{margin-top:0;background:#0a0916 linear-gradient(180deg,#121124 0,#0a0916 230px) no-repeat;padding:150px 0 70px}
.fg h4+.btn{margin-top:0}.fg{display:grid;grid-template-columns:1.9fr repeat(3,minmax(0,.7fr)) minmax(0,1fr);gap:28px}
.fg img{width:64px;height:64px;display:block;margin-bottom:14px}.fg img.fw{width:190px;height:auto}
.fg p{max-width:290px;margin:0;color:rgba(255,255,255,.88)}
.fg .legal{white-space:nowrap;margin-top:14px;color:rgba(255,255,255,.4);font-size:14px}.col1soc{margin-top:22px}.col1soc .btn.discord{margin-bottom:14px}.fg h4{margin:0 0 14px;font:400 18px/1 var(--title);color:var(--accent-hi)}
.fg ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.fg li a{color:#fff;font-size:15px}.fg li a:hover{color:var(--accent-hi)}
.btn.discord{background:var(--purple);color:#16161c;border-radius:99px;margin-bottom:16px;border-color:transparent;height:44px}.btn.discord:hover{filter:brightness(1.1)}.soc{display:flex;gap:14px}.soc a{width:40px;height:40px;border-radius:50%;background:var(--bg3);display:grid;place-items:center}.soc a:hover{background:var(--btn,#4a4380)}
.soc svg{width:20px;height:20px;fill:#fff}
.copy{margin-top:44px;padding-top:20px;color:rgba(255,255,255,.75);font-size:14px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
@media(max-width:1024px){.cw{padding:0 20px}.nav .cw{gap:18px}.logo img{height:44px}.nav .l a{padding:8px 10px}.nav .l a:not(:nth-child(-n+2)){display:none}.btn.ghost{display:none}.fg{grid-template-columns:1fr 1fr}.fg>div:first-child{grid-column:1/-1;text-align:center}.fg>div:first-child img.fw{margin:0 auto 14px}.fg>div:first-child p{margin-left:auto;margin-right:auto}.fg{gap:36px 24px}footer{padding:110px 0 60px}}
/* legal pages: full width, no box or glow, contents list on the right */
body.ns{background:var(--bg0);font-family:var(--body);color:#fff}
body.ns::before,body.ns::after{display:none}
body.ns a{text-decoration:none}
body.ns .doc{padding:56px 0 0}
body.ns .doc .wrap{max-width:1440px;width:100%;margin:0 auto;padding:0 40px;background:none;border:0;border-radius:0;box-shadow:none;font-size:17px;line-height:1.65}
body.ns .doc .wrap.has-toc{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:90px;align-items:start}
body.ns .doc article{min-width:0;max-width:960px}
body.ns .doc h1{font-size:clamp(36px,5vw,52px);margin:0 0 8px}
body.ns .doc h2{font-size:26px;margin-top:44px;padding-top:28px;border-top:1px solid rgba(255,255,255,.12);scroll-margin-top:100px}
body.ns .doc h3{font-size:18px}
body.ns .doc p,body.ns .doc li{font-size:17px}
body.ns .doc .updated{font-size:15px;color:rgba(255,255,255,.6);margin-bottom:28px}
body.ns .doc a{color:var(--accent-hi);text-decoration:underline;text-underline-offset:3px}
body.ns .doc a:hover{color:#fff}
body.ns .toc{position:sticky;top:100px;max-height:calc(100vh - 130px);overflow:auto;border-left:2px solid rgba(255,255,255,.14);padding:4px 0 4px 22px}
body.ns .toc b{display:block;font:400 18px/1 var(--title);color:var(--accent-hi);margin-bottom:14px}
body.ns .toc a{display:block;padding:7px 0;font-size:14px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:rgba(255,255,255,.72);text-decoration:none;line-height:1.35}
body.ns .toc a:hover{color:#fff}
body.ns .toc a.on{color:var(--lime)}
body.ns footer a{color:#fff;text-decoration:none}
body.ns footer .btn.discord{color:#16161c}
@media(max-width:1024px){body.ns .doc .wrap{padding:0 20px}body.ns .doc .wrap.has-toc{display:block}body.ns .toc{display:none}}
@media(max-width:640px){.fg{grid-template-columns:1fr;gap:32px}}
@media(max-width:1024px){.nav .cw{display:flex;justify-content:center;height:62px;padding:0}.nav .l,.nav .r{display:none !important}.logo img{height:42px;width:42px}.mobonly{display:inline-flex !important;margin-top:18px}}
@media(max-width:1024px){.nav{position:relative;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}.fg{text-align:center}.fg ul{justify-items:center}.fg p{margin-left:auto;margin-right:auto}.fg img{margin-left:auto;margin-right:auto}.soc{justify-content:center}}
.fg p.join{max-width:230px;margin:0 0 14px;font-size:15px;color:rgba(255,255,255,.85)}
.fg .col1soc ~ p,.fg .soc+p.legal{margin-top:20px}
.fg .pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.fg .pl{display:inline-block;padding:2px 9px;border-radius:99px;font-weight:800;font-size:10px;letter-spacing:.06em;line-height:1.5;text-transform:uppercase;color:#16161c}
.fg .pl.a{background:#7fb5ff}.fg .pl.b{background:#bfe04d}.fg .pl.c{background:#ff9ccf}.fg .pl.e{background:#b7a0ff}.fg .pl.d{background:#f2d45c}
@media(max-width:1024px){.fg .pills{justify-content:center}}
@media(min-width:1025px){.fg>div:first-child{max-width:330px;text-align:center}.fg>div:first-child img.fw{margin-left:auto;margin-right:auto}.fg>div:first-child p{margin-left:auto;margin-right:auto}.fg>div:first-child .pills{justify-content:center}}

/* Matching type scale (same as the home page) */
.nav .btn,.btn{height:38px;padding:0 18px;font:700 14px/1 var(--body);letter-spacing:0}
.btn.discord{height:38px;font:700 14px/1 var(--body);margin-bottom:14px}
.nav .l a{font-size:15px;padding:9px 14px}
.fg h4{font-size:16px}.fg li a{font-size:14px}.fg p{font-size:15px}.fg .legal{font-size:13px}
.soc a{width:36px;height:36px}.soc svg{width:18px;height:18px}

body.ns .nav{background:#5646ad !important}

/* Footer always at the bottom of the window, even on short pages. */
body.ns{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}body.ns>main{flex:1 0 auto}body.ns>footer{margin-top:auto}

.fg p.legal{line-height:1.45;white-space:normal}
@media(min-width:1025px){.fg p.legal{text-align:left}}
.fg .moblegal{display:none}
@media(max-width:1024px){.fg .soc+p.legal{display:none}.fg .moblegal{display:block;grid-column:1/-1;order:2;text-align:center !important;margin:0}}
@media(max-width:1024px){.fg p.legal.moblegal{max-width:none;width:100%}}
/* Phones and tablets: Newsletter on the left, Log in on the right, logo in the middle. */
@media(max-width:1024px){
body.ns .nav .cw{display:grid !important;grid-template-columns:1fr auto 1fr;align-items:center;justify-content:normal;gap:8px;padding:0 16px;height:62px}
body.ns .nav .l{display:flex !important;justify-content:flex-start}
body.ns .nav .l a:not(:first-child){display:none}
body.ns .nav .l a{padding:8px 10px;font-size:15px}
body.ns .nav .r{display:flex !important;justify-content:flex-end}
body.ns .nav .r .btn.play{display:none}
body.ns .nav .r .btn.ghost{display:inline-flex !important}
}
/* Footer on phones and tablets: two columns (Game | Resources, Legal | Social), brand on top, email + copyright centered at the bottom. */
@media(max-width:1024px){.fg{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:36px 10px !important}.fg>div:first-child,.fg>div:nth-child(5){grid-column:1/-1}.fg li a{font-size:14px}}

button.cookie-change{display:inline-flex;margin:6px 0 0;padding:9px 16px;border-radius:99px;border:2px solid rgba(255,255,255,.5);background:transparent;color:#fff;font:700 14px/1 var(--body);cursor:pointer}button.cookie-change:hover{background:rgba(255,255,255,.12)}

/* more room below the footer */
footer{padding-bottom:120px !important}
@media(max-width:1024px){footer{padding-bottom:100px !important}}

.fg li a.cur{color:#bfe04d}

.fdiv{display:flex;align-items:center;gap:14px;margin:18px 0 46px}.fdiv::before,.fdiv::after{content:'';flex:1;height:1px}.fdiv::before{background:linear-gradient(90deg,rgba(196,184,255,0),rgba(196,184,255,.55))}.fdiv::after{background:linear-gradient(270deg,rgba(196,184,255,0),rgba(196,184,255,.55))}.fdiv span{flex:none;width:8px;height:8px;border-radius:50%;background:#c4b8ff;box-shadow:0 0 10px 2px rgba(196,184,255,.55)}.fcoven{position:relative;top:-20px;display:flex;justify-content:center;align-items:flex-end;gap:clamp(6px,2vw,22px);margin-top:0}.fcoven img{height:85px;width:90px;object-fit:contain;object-position:bottom;display:block;filter:drop-shadow(0 4px 6px rgba(0,0,0,.4))}@media(max-width:640px){.fcoven img{height:58px;width:60px}}

/* FAQ questions: each one opens and closes. */
body.ns .doc details.faq{margin:10px 0;border-radius:12px;background:#2b2657;border:1px solid rgba(255,255,255,.08)}
body.ns .doc details.faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;font-size:17px;font-weight:700;line-height:1.35;color:var(--gold-hi,#c4b8ff)}
body.ns .doc details.faq summary::-webkit-details-marker{display:none}
body.ns .doc details.faq summary::after{content:'';flex:none;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translate(-2px,-2px);transition:transform .18s}
body.ns .doc details.faq[open] summary::after{transform:rotate(225deg) translate(-2px,-2px)}
body.ns .doc details.faq summary:hover{filter:brightness(1.15)}
body.ns .doc details.faq summary:focus-visible{outline:2px solid #bfe04d;outline-offset:2px;border-radius:12px}
body.ns .doc details.faq > :not(summary){margin-left:18px;margin-right:18px}
body.ns .doc details.faq > p:first-of-type{margin-top:0}
body.ns .doc details.faq > :last-child{margin-bottom:16px}
