/* Nox: ink-wash on parchment, over a looping background video. */
:root{--paper:#f3ecdc;--panel:#f6f0e2e0;--ink:#1d1812;--ink-soft:#3f372c;--muted:#6a5f4e;--line:#cdbd98;--gold:#9c7426;--seal:#9b2c22;--seal-dark:#7d211a;--ok:#2f6b3a;color-scheme:light}
*{box-sizing:border-box}
html{min-height:100%}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;color:var(--ink);background:var(--paper);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:1rem;line-height:1.6}
h1,h2,h3,.brand{font-family:Cinzel,Georgia,serif;color:var(--ink);letter-spacing:.02em}
h1{font-size:clamp(2.2rem,4.5vw,3.6rem);line-height:1.1}h2{font-size:clamp(1.5rem,2.4vw,2rem);margin-bottom:.4rem}h3{font-size:1.1rem;margin:0}
p{color:var(--ink-soft)}a{color:var(--seal)}a:hover{color:var(--seal-dark)}
.icon{width:1.25em;height:1.25em;flex:none}

/* Background video fills the window behind every page; a paper wash keeps text readable. */
.bg-video{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;opacity:0;transition:opacity 1.5s linear}.bg-video.on{opacity:1}
/* Phones that refuse autoplay (iOS Low Power Mode, Android data or battery saver) draw their own play / skip buttons over the
   video (owner 2026-10-25 screenshot). It is only a backdrop: no native controls, no taps; the poster shows until it plays. */
.bg-video{pointer-events:none}
.bg-video::-webkit-media-controls,.bg-video::-webkit-media-controls-panel,.bg-video::-webkit-media-controls-overlay-play-button,
.bg-video::-webkit-media-controls-start-playback-button,.bg-video::-webkit-media-controls-enclosure{display:none!important;-webkit-appearance:none;opacity:0}
.bg-wash{position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,#f3ecdc33 0%,#f3ecdc00 40%,#f3ecdc99 100%)}
body:not(.home) .bg-wash{background:radial-gradient(ellipse at 50% 0%,#f3ecdc99,#f3ecdcd9 70%)}

/* Header */
.site-nav{position:sticky;top:0;z-index:10;background:#f3ecdcd9;backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.site-nav .container{display:flex;align-items:center;gap:1.5rem;min-height:64px}
.brand{display:flex;align-items:center;gap:.55rem;font-size:1.45rem;font-weight:700;letter-spacing:.2em;color:var(--ink);text-decoration:none}.brand img{width:auto;height:100px;margin:0;filter:drop-shadow(0 3px 6px #3a2c1455);transition:transform .2s,filter .2s}.brand:hover img{transform:scale(1.05);filter:drop-shadow(0 3px 10px #c9982f88)}
.nav-links{display:flex;gap:1.3rem;margin:0;margin-inline:1rem auto;padding:0;list-style:none}
.nav-links a,.account-nav a,.account-nav button{color:var(--ink-soft);text-decoration:none;font-weight:500;background:none;border:0;padding:0;font:inherit;cursor:pointer}
.nav-links a:hover,.account-nav a:hover,.account-nav button:hover{color:var(--seal)}
.account-nav{display:flex;align-items:center;gap:1rem}.account-nav form{margin:0}.account-nav .btn-seal{color:#fbf5e8;background:var(--seal);padding:.4rem .9rem}.account-nav .btn-seal:hover{background:var(--seal-dark);color:#fff}
.nav-toggle{display:none;margin-inline-start:auto;background:none;border:1px solid var(--line);padding:.35rem .6rem;color:var(--ink);cursor:pointer}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.7rem 1.4rem;border-radius:2px;font-weight:600;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.btn-seal,.btn-gold{background:var(--seal);color:#fbf5e8;border-color:var(--seal)}.btn-seal:hover,.btn-gold:hover{background:var(--seal-dark);border-color:var(--seal-dark);color:#fff}
.btn-ink,.btn-outline-light{background:transparent;color:var(--ink);border-color:var(--ink)}.btn-ink:hover,.btn-outline-light:hover{background:var(--ink);color:var(--paper)}
.btn-sm{padding:.4rem .9rem;font-size:.9rem}
:focus-visible{outline:2px solid var(--seal);outline-offset:2px}

/* Layout */
main{flex:1;padding-bottom:4rem}
.panel{background:#fbf7eef5;border:1px solid #d6c59d;border-top:2px solid var(--gold);border-radius:4px;box-shadow:0 1px 0 #fff inset,0 14px 34px #3a2c141f}
.eyebrow{font-size:.74rem;letter-spacing:.24em;color:var(--gold);font-weight:700;margin-bottom:.5rem;text-transform:uppercase}
.section{margin-top:4.5rem}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.4rem}.section-head p{margin:0}
.link-arrow{display:inline-flex;align-items:center;gap:.35rem;font-weight:600;text-decoration:none;white-space:nowrap}

/* Home hero: the video shows through; copy sits in the open sky on the right. */
.hero{min-height:calc(100vh - 64px);display:flex;align-items:center;justify-content:center;padding:3rem 0}
.hero-copy{max-width:720px;margin:0 auto;text-align:center;padding:2.5rem 3rem;background:radial-gradient(closest-side,#f3ecdcd9 60%,#f3ecdc00)}
.hero-copy h1{margin:0}.wordmark{width:min(340px,78vw);height:auto;filter:drop-shadow(0 8px 16px #3a2c1455)}
.slogan{display:block;width:min(100%,640px);height:auto;margin:.6rem auto 1.8rem;filter:drop-shadow(0 1px 1px #fff8)}
.hero-actions{display:flex;gap:.8rem;justify-content:center;flex-wrap:wrap}
.server-line{display:inline-flex;align-items:center;gap:.5rem;margin-top:1.4rem;padding:.35rem .9rem;background:#f6f0e2b3;border:1px solid var(--line);font-size:.9rem;color:var(--ink-soft)}
.dot{width:.55rem;height:.55rem;border-radius:50%;background:#9a8f7c}.dot.on{background:var(--ok);box-shadow:0 0 0 3px #2f6b3a33}

/* Feature groups */
.group-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}
.group-card{display:flex;flex-direction:column;gap:.5rem;padding:1.4rem;color:var(--ink);text-decoration:none;transition:transform .15s,border-color .15s}
.group-card:hover{transform:translateY(-2px);border-color:var(--gold);color:var(--ink)}
.group-card .icon{width:2rem;height:2rem;color:var(--seal)}
.group-card p{margin:0;font-size:.95rem}.group-card small{margin-top:auto;color:var(--gold);font-weight:600}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}
.feature-card{padding:1.3rem 1.4rem}.feature-card h3{font-family:Inter,"Segoe UI",sans-serif;font-weight:700;font-size:1.02rem;display:flex;gap:.5rem;align-items:baseline;flex-wrap:wrap}
.feature-card p{margin:.45rem 0 0;font-size:.95rem}.stat{display:inline-block;margin-top:.7rem;padding:.2rem .6rem;border:1px solid var(--line);color:var(--gold);font-size:.82rem;font-weight:600}
.badge-dev{font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:var(--seal);border:1px solid #9b2c2266;padding:.05rem .4rem;font-weight:700}
.group-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:2rem}.group-nav a{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .8rem;color:var(--ink);text-decoration:none;font-weight:500}.group-nav a:hover{border-color:var(--seal);color:var(--seal)}
.feature-group{scroll-margin-top:90px;margin-top:3rem}.feature-group h2{display:flex;align-items:center;gap:.6rem}.feature-group h2 .icon{color:var(--seal);width:1.6rem;height:1.6rem}

/* News + servers */
.news-grid{display:grid;grid-template-columns:3fr 2fr;gap:1rem}
.panel-tabs{display:flex;align-items:flex-end;gap:1.4rem;padding:.9rem 1.2rem 0;border-bottom:1px solid var(--line)}
.panel-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:0 .1rem .55rem;color:var(--ink-soft);font-weight:700;cursor:pointer}
.panel-tabs button[aria-selected=true]{color:var(--seal);border-bottom-color:var(--seal)}
.panel-tabs .more{margin-inline-start:auto;padding-bottom:.55rem;text-decoration:none;font-weight:600}
.news-list{list-style:none;margin:0;padding:.4rem 1.2rem .8rem}.news-list li{border-bottom:1px dashed var(--line)}.news-list li:last-child{border-bottom:0}
.news-list a{display:block;padding:.55rem 0;color:var(--ink);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.news-list a:hover{color:var(--seal)}
.news-list span{color:var(--gold);margin-inline-end:.4rem;font-variant-numeric:tabular-nums}.news-list .empty{padding:.7rem 0;color:var(--muted)}
.servers{padding:1.2rem}.server-row{display:flex;justify-content:space-between;align-items:center;padding:.6rem 0;border-bottom:1px dashed var(--line)}.server-row:last-of-type{border-bottom:0}
.status{font-size:.78rem;font-weight:600;padding:.15rem .6rem;border:1px solid currentColor}.status.online{color:var(--ok)}.status.offline{color:var(--muted)}
.players{margin:.8rem 0 0;color:var(--muted)}.players strong{color:var(--ink);font-size:1.2rem}

/* Call to action */
.cta{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;padding:2rem 2.2rem}.cta h2{margin:0}.cta p{margin:.3rem 0 0}.cta .hero-actions{justify-content:flex-start}

/* Inner pages */
.page-heading{padding:3rem 0 1.5rem;max-width:760px}.page-heading h1{margin-bottom:.6rem}
.data-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.3rem;margin-bottom:.6rem;background:var(--panel);border:1px solid var(--line);color:var(--ink);text-decoration:none}
.data-card strong{display:block}.data-card small{display:block;color:var(--muted)}

.table,.table-dark{--bs-table-bg:var(--panel);--bs-table-color:var(--ink);--bs-table-striped-bg:#ece2cc;--bs-table-striped-color:var(--ink);--bs-table-border-color:var(--line);color:var(--ink)}
.table td,.table th{padding:.75rem}
.download-card .btn{white-space:nowrap}
.article-body{max-width:820px;margin-top:3rem;padding:2.5rem}.article-text{white-space:pre-wrap;line-height:1.8;color:var(--ink-soft)}
.form-panel{max-width:480px;margin:3.5rem auto;padding:2.4rem;background:var(--panel);border:1px solid var(--line);box-shadow:0 10px 30px #3a2c1414;backdrop-filter:blur(6px)}
.form-panel h1{font-size:1.9rem}.form-panel label{display:block;margin:1rem 0 .3rem;font-weight:500}.form-panel .btn{margin:1.4rem 0 1rem;width:100%}
.form-control{background:#fffaf0;border:1px solid var(--line);color:var(--ink);border-radius:2px}.form-control:focus{background:#fff;color:var(--ink);border-color:var(--seal);box-shadow:0 0 0 .2rem #9b2c2226}
.text-danger{color:var(--seal)!important}
.cf-turnstile{display:flex;justify-content:center;margin-top:1.2rem;min-height:65px}.code-input{font-size:1.6rem;letter-spacing:.5em;text-align:center;font-family:Consolas,monospace}

/* Footer */
.site-footer{position:relative;margin-top:auto;padding:3.5rem 0 1.8rem;color:#cfc4ad;background:radial-gradient(ellipse 60% 55% at 50% 0,#3a2c1a 0,transparent 70%),linear-gradient(#1c1710,#0f0c08)}
.site-footer::before{content:"";position:absolute;left:0;right:0;top:-38px;height:40px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath fill='%231c1710' opacity='.45' d='M0 40V18c80 6 130-10 210-6s120 14 200 8 140-16 210-12 120 12 190 10 150-14 220-10 120 8 170 2v30z'/%3E%3Cpath fill='%231c1710' d='M0 40V26c60-8 110 6 170-4s90-18 150-12 100 16 170 10 110-20 180-16 90 14 160 12 120-16 190-14 110 10 180 4v34z'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat;pointer-events:none}
.footer-crest{display:flex;flex-direction:column;align-items:center;text-align:center}
.site-footer .brand img{height:120px;margin:0;filter:drop-shadow(0 6px 18px #000a)}
.footer-tagline{margin:.6rem 0 1.4rem;color:#b3a78e;font-size:.95rem;max-width:460px}
.social{display:flex;justify-content:center;gap:.7rem;flex-wrap:wrap}
.social a,.social span{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#1a150f;border:1px solid #c9982f66;box-shadow:inset 0 0 0 3px #1a150f,inset 0 0 0 4px #c9982f22;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}
.social i{width:19px;height:19px;background:#d9b870;-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat;transition:background .2s}
.social a:hover{transform:translateY(-3px);background:var(--brand);border-color:var(--brand);box-shadow:0 8px 20px #0008}.social a:hover i{background:#fff}
.social span{opacity:.5;cursor:default}
.social-facebook{--brand:#0866ff}.social-discord{--brand:#5865f2}.social-youtube{--brand:#ff0000}.social-tiktok{--brand:#111}.social-instagram{--brand:#e4405f}.social-x{--brand:#111}
.footer-ornament{display:flex;align-items:center;gap:1rem;margin:2.6rem auto 2.2rem;max-width:720px}
.footer-ornament::before,.footer-ornament::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#c9982f99)}.footer-ornament::after{transform:scaleX(-1)}
.footer-ornament span{width:10px;height:10px;transform:rotate(45deg);border:1px solid #e0b85a;background:#c9982f55;box-shadow:0 0 12px #e0b85a66}
.footer-links{display:grid;grid-template-columns:repeat(5,1fr);gap:1.6rem;max-width:960px;margin:0 auto;text-align:center}
.site-footer h3{font-family:Cinzel,Georgia,serif;font-size:.9rem;letter-spacing:.18em;text-transform:uppercase;color:#e0b85a;margin:0 0 1rem}
.footer-links ul,.footer-legal{list-style:none;margin:0;padding:0}.footer-links li{margin:.55rem 0}
.site-footer a{color:#d9ceb6;text-decoration:none;transition:color .15s}.site-footer a:hover{color:#f5d77e}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:.8rem 2rem;flex-wrap:wrap;margin-top:2.8rem;padding-top:1.3rem;border-top:1px solid #3a3024;font-size:.85rem}
.footer-bottom p{margin:0}.footer-copy{color:#b3a78e}
.footer-legal{display:flex;flex-wrap:wrap;gap:.4rem 1.6rem}.footer-legal a{color:#b3a78e}
.footer-note{margin:1rem 0 0;font-size:.74rem;line-height:1.6;color:#6f6553;text-align:center}
@media(max-width:900px){.footer-links{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.footer-links{grid-template-columns:1fr 1fr}.footer-bottom{justify-content:center;text-align:center}}

@media(max-width:1180px){
  .nav-toggle{display:block}
  .site-nav .container{flex-wrap:wrap}
  .nav-links,.account-nav{display:none;width:100%}
  .site-nav.open .nav-links,.site-nav.open .account-nav{display:flex;flex-direction:column;gap:.8rem;margin:0 0 1rem}
}
@media(max-width:900px){
  .hero{justify-content:center;align-items:flex-end;min-height:calc(100svh - 64px)}
  .news-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.group-card{transition:none}}
/* Client showcase and in-game galleries */
.showcase{display:grid;grid-template-columns:1.1fr 1fr;gap:2.5rem;align-items:center;padding:2.6rem 2.8rem}
.highlights{list-style:none;margin:1.2rem 0 1.5rem;padding:0;display:grid;gap:.75rem}.highlights li{display:flex;gap:.8rem;align-items:center;color:var(--ink-soft)}.highlights .icon{width:1.6rem;height:1.6rem;color:var(--seal);padding:.3rem;border:1px solid var(--line);border-radius:50%;box-sizing:content-box}
.showcase .cards{display:flex;gap:1rem;justify-content:center;align-items:flex-start}.showcase .cards>img{max-width:calc(50% - .5rem);height:auto;filter:drop-shadow(0 10px 18px #0005)}.showcase .cards>img:last-child{margin-top:2.5rem}
.gallery{display:flex;flex-wrap:wrap;align-items:flex-start;gap:1rem;margin-top:1.2rem}.gallery>img{height:auto;width:auto;max-width:100%;filter:drop-shadow(0 8px 14px #0005)}
@media(max-width:900px){.showcase{grid-template-columns:1fr}.gallery>img{height:auto;width:calc(50% - .5rem)}}
.gallery img.shot{height:340px;border:1px solid var(--line);outline:1px solid #9c742655;outline-offset:4px;filter:none;box-shadow:0 12px 28px #3a2c1433}
@media(max-width:900px){.gallery img.shot{height:auto;width:100%}}
/* Sign-in, registration and account */
.auth{display:flex;justify-content:center;padding:3rem 0}
.auth-card{width:100%;max-width:470px;padding:2.2rem 2.4rem}
.auth-logo{display:block;width:150px;height:auto;margin:-.5rem auto .6rem;filter:drop-shadow(0 6px 12px #3a2c1440)}
.auth-card h1{font-size:1.75rem;text-align:center;margin-bottom:.3rem}
.auth-sub{text-align:center;color:var(--muted);margin-bottom:1.6rem}
.field{display:flex;flex-direction:column;gap:.3rem;margin-bottom:1rem;min-width:0}
.field label{font-weight:600;font-size:.92rem}
.field small,.hint{color:var(--muted);font-size:.82rem}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.field-error,.form-error{color:var(--seal);font-size:.85rem}.form-error ul{margin:0 0 1rem;padding-inline-start:1.1rem}
.form-control,select.form-control{padding:.6rem .75rem}
.btn-block{width:100%;margin-top:1.2rem;padding:.8rem}
.auth-foot{text-align:center;margin:1.4rem 0 0;color:var(--muted)}
.back-link{display:inline-block;margin-bottom:1rem;text-decoration:none;font-weight:600}
.notice{padding:1rem;border:1px dashed var(--line);text-align:center;color:var(--ink-soft)}
.account-head{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;margin:2.5rem 0 1rem;padding:1.8rem 2.2rem;background:linear-gradient(120deg,#1d1812 0%,#2e231a 60%,#3b2a1c 100%);border:1px solid #b8913f;border-radius:4px;box-shadow:0 18px 40px #1d181240}.account-head h1{color:#f6ecd6;font-family:Inter,"Segoe UI",sans-serif;font-weight:700;letter-spacing:0;font-size:clamp(1.8rem,3vw,2.4rem)}.account-head .eyebrow{color:#d8b56a}.account-head .btn-ink{color:#f6ecd6;border-color:#f6ecd6aa}.account-head .btn-ink:hover{background:#f6ecd6;color:#1d1812}.account-head .stat{color:#e7cf95;border-color:#b8913f88}.account-head .status.online{color:#8fd49c}
.account-head h1{margin:0 0 .4rem}.account-head form{margin:0}
.account-badges{display:flex;gap:.5rem;flex-wrap:wrap;margin:0}.account-badges .stat{margin:0}
.account-grid{display:grid;grid-template-columns:3fr 2fr;gap:1rem;margin-bottom:1rem}
.account-card{padding:1.6rem 1.8rem}.account-card h2{font-size:1.3rem;margin-bottom:1rem}.account-card h3{margin:1.2rem 0 .6rem}
.facts{display:grid;grid-template-columns:max-content 1fr;gap:.55rem 1.5rem;margin:0}.facts dt{color:var(--muted);font-weight:500}.facts dd{margin:0;font-weight:600}
.characters .table{margin:0}.characters th,.characters td{white-space:nowrap;padding:.75rem 1.1rem;vertical-align:middle}.characters th:first-child,.characters td:first-child{width:100%;padding-inline-start:0}.characters th:last-child,.characters td:last-child{padding-inline-end:0}.characters th{font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600}.num{text-align:end;font-variant-numeric:tabular-nums}
@media(max-width:900px){.account-grid,.field-row{grid-template-columns:1fr}.auth-card{padding:1.6rem 1.3rem}}
/* Portraits: the client's 64px face; an equipped frame is twice the face size with the face centred (as in game). */
.portrait{--p:64px;position:relative;display:inline-block;flex:none;width:var(--p);height:var(--p)}
.portrait-face{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;border:2px solid var(--gold);background:#2a2118}
.framed-portrait{width:calc(var(--p)*2);height:calc(var(--p)*2);margin:calc(var(--p)*-.5)}
.framed-portrait .portrait-face{inset:25%;width:50%;height:50%;border:0;border-radius:0;background:none}
.portrait-frame{position:absolute;inset:0;width:100%;height:100%}
.hero-cell{display:inline-flex;align-items:center;gap:.8rem}.hero-cell .portrait{--p:40px}
.account-hero{display:flex;align-items:center;gap:1.4rem}.account-hero>.portrait{--p:88px}

/* Rankings */
.world-first{display:flex;align-items:center;gap:2rem;padding:2rem 2.4rem;background:linear-gradient(120deg,#1d1812 0%,#2e231a 55%,#4a3420 100%);border:1px solid #b8913f;color:#f6ecd6}
.world-first>.portrait{--p:96px}.world-first h2{color:#fff3d6;font-size:clamp(1.8rem,3vw,2.5rem);margin:0}.world-first .eyebrow{color:#d8b56a}
.world-first-meta{color:#cbbd9d;margin:.2rem 0 0}.world-first-text{flex:1;min-width:0}
.world-first-score{text-align:right}.world-first-score span{display:block;font-size:.75rem;letter-spacing:.2em;text-transform:uppercase;color:#d8b56a}
.world-first-score strong{font:700 clamp(1.8rem,3vw,2.6rem)/1.1 Cinzel,Georgia,serif;color:#f0c878}
.world-first-empty h2{margin:.2rem 0}.world-first-empty p:last-child{color:#cbbd9d;margin:0}
.rank-mine{display:flex;justify-content:center;gap:2.5rem;flex-wrap:wrap;margin:1rem 0 0;padding:.9rem 1.2rem;color:var(--ink-soft)}.rank-mine strong{color:var(--ink);margin-inline-start:.35rem}
.section-head-tight{margin:3rem 0 1rem}
.champions{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.9rem}
.champion{display:flex;align-items:center;gap:1rem;padding:1rem 1.2rem;min-height:104px}.champion>div{min-width:0}.champion .portrait{--p:52px}
.champion strong{display:block;font-size:1.02rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.champion-class{margin:0 0 .15rem;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:700}
.champion-score{color:var(--seal);font-weight:700;font-variant-numeric:tabular-nums}
.champion.vacant{background:#fbf7ee99;border-style:dashed;border-top-width:1px;box-shadow:none}.vacant-portrait{border-radius:50%;border:2px dashed var(--line)}.champion-vacant{color:var(--muted)}
.rank-table th:first-child,.rank-table td:first-child{width:auto}.rank-table th:nth-child(2),.rank-table td:nth-child(2){width:100%}
.medal{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:50%;font:700 .9rem/1 Cinzel,Georgia,serif;color:var(--ink-soft);border:1px solid var(--line)}
.medal-1{background:linear-gradient(#f5d77e,#c9982f);color:#3b2a0a;border-color:#b8913f}.medal-2{background:linear-gradient(#eceae4,#b9b4a8);color:#333;border-color:#a7a194}.medal-3{background:linear-gradient(#e7b98f,#b07443);color:#3a220c;border-color:#9e6a3d}
@media(max-width:900px){.world-first{flex-direction:column;text-align:center}.world-first-score{text-align:center}}
/* Shop */
.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}
.product{display:flex;flex-direction:column;padding:1.5rem}.product h3{font-family:Inter,"Segoe UI",sans-serif;font-weight:700;font-size:1.15rem;margin:0 0 .4rem}
.product-icon{width:3rem;height:3rem;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;margin-bottom:1rem;color:var(--seal)}.product-icon .icon{width:1.5rem;height:1.5rem}
.product-text{font-size:.92rem;flex:1}.price{font-size:1.35rem;font-weight:700;color:var(--ink);margin:.6rem 0 0}.price small{font-size:.8rem;font-weight:500;color:var(--muted)}
.product .btn-block{margin-top:1rem}.btn:disabled{opacity:.55;cursor:not-allowed}
.shop-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:3rem 1.5rem}.shop-empty>.icon{width:2.6rem;height:2.6rem;color:var(--seal);margin-bottom:.8rem}
.shop-info{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1.5rem}.shop-info .panel{padding:1.5rem 1.7rem}.shop-info h2{font-size:1.2rem}.shop-info p{margin:0}
@media(max-width:900px){.shop-info{grid-template-columns:1fr}}
/* Payment method marks (brand colours) */
.pay-row{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}
.pay-mark{display:inline-flex;align-items:center;gap:.3rem;padding:.3rem .75rem;border-radius:4px;font:700 .95rem/1.2 "Segoe UI",Inter,sans-serif;background:#fff;border:1px solid #e1d6bd;white-space:nowrap}
.pay-paypal b{color:#003087;font-style:italic}.pay-paypal i{color:#009cde;font-weight:700}
.pay-instapay{color:#fff;background:linear-gradient(90deg,#4a1d96,#7c3aed);border-color:#4a1d96}.pay-instapay b{font-weight:800}
.pay-vodafone{color:#e60000}.pay-vodafone b{color:#e60000;font-weight:800}.vf-dot{width:.95rem;height:.95rem;border-radius:50%;background:radial-gradient(circle at 40% 40%,#fff 18%,#e60000 20%)}
.product-cps{font-size:1.6rem;font-weight:800;color:var(--seal);margin:.2rem 0 .4rem}.product-cps small{font-size:.85rem;color:var(--muted);font-weight:600}
/* Checkout and orders */
.checkout{max-width:540px}.checkout fieldset{border:0;padding:0;margin:0 0 1rem}.checkout legend{font-weight:600;font-size:.92rem;margin-bottom:.4rem}
.method-option{display:flex;align-items:center;gap:.8rem;padding:.75rem .9rem;border:1px solid var(--line);border-radius:4px;margin-bottom:.5rem;cursor:pointer;background:#fffaf0}
.method-option:has(input:checked){border-color:var(--seal);box-shadow:0 0 0 2px #9b2c2233}.method-price{margin-inline-start:auto;font-weight:700}
.order-status{display:flex;flex-direction:column;gap:.15rem;padding:.8rem 1rem;border-radius:4px;border-inline-start:4px solid;margin:1rem 0;font-size:.92rem}
.order-status.pending{border-color:#c28a1a;background:#fbf1d8}.order-status.done{border-color:var(--ok);background:#e5f2e6}.order-status.bad{border-color:var(--seal);background:#f7e3df}
.characters .order-status{margin:0;padding:.35rem .6rem;white-space:normal;min-width:180px}
.pay-steps h2{font-size:1.1rem;margin:1.4rem 0 .5rem}.pay-steps h2 span{color:var(--seal)}
.pay-to{font:700 1.4rem/1.3 Consolas,monospace;padding:.6rem .9rem;background:#fffaf0;border:1px dashed var(--gold);border-radius:4px;user-select:all;word-break:break-all}
.cancel-form{margin-top:1rem}.section-tight{margin-top:1rem}
.product-card{display:block;max-width:100%;height:auto;margin:0 auto 1rem;filter:drop-shadow(0 8px 14px #0005)}.checkout-card{display:block;max-width:100%;height:auto;margin:0 auto 1.2rem;filter:drop-shadow(0 8px 14px #0005)}
.effects{margin:.2rem 0 .4rem;padding-inline-start:1.1rem;font-size:.88rem;color:var(--ink-soft)}.effects li{margin:.2rem 0}
/* Sale banner */
.sale-banner{display:flex;align-items:center;gap:1.6rem;margin-top:2rem;padding:1.3rem 1.8rem;border-radius:4px;color:#fff6e6;
  background:linear-gradient(110deg,#7d211a 0%,#9b2c22 45%,#c0662a 100%);border:1px solid #e0b85a;box-shadow:0 16px 36px #7d211a40}
.sale-badge{flex:none;display:grid;place-items:center;width:4.6rem;height:4.6rem;border-radius:50%;background:#fff3d6;color:#7d211a;font:700 1.35rem/1 Cinzel,Georgia,serif;box-shadow:0 0 0 4px #e0b85a55}
.sale-text{flex:1;min-width:0}.sale-text h2{color:#fff;margin:0}.sale-text p{margin:.2rem 0 0;color:#ffe6c7}.sale-banner .eyebrow{color:#ffd88a}
.sale-timer{text-align:right}.sale-timer span{display:block;font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;color:#ffd88a}
.sale-timer strong{font:700 1.8rem/1.1 Consolas,monospace;font-variant-numeric:tabular-nums}
.product{position:relative}.product-sale{position:absolute;top:.8rem;inset-inline-end:.8rem;padding:.15rem .5rem;border-radius:3px;background:var(--seal);color:#fff;font-weight:700;font-size:.8rem}
.price s{color:var(--muted);font-weight:500;font-size:.95rem;margin-right:.3rem}.sale-note{color:var(--seal);font-weight:600;text-align:center}
/* Payment banners */
.pay-banners{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.pay-banner{position:relative;padding:1.6rem 1.6rem 1.4rem;border-radius:6px;color:#fff;overflow:hidden;box-shadow:0 14px 30px #3a2c1426}
.pay-banner h3{color:#fff;font-family:Inter,sans-serif;font-weight:700;font-size:1.15rem;margin:1rem 0 .4rem}.pay-banner p{color:#ffffffd9;margin:0;font-size:.93rem}
.pay-banner-logo .pay-mark{font-size:1.2rem;padding:.45rem .9rem;box-shadow:0 4px 10px #0003}
.pay-banner-paypal{background:linear-gradient(135deg,#003087,#0070e0 60%,#009cde)}
.pay-banner-instapay{background:linear-gradient(135deg,#2e1065,#5b21b6 55%,#8b5cf6)}
.pay-banner-vodafone{background:linear-gradient(135deg,#8f0000,#e60000 60%,#ff4d4d)}
.pay-banner.unavailable{filter:grayscale(.55);opacity:.8}.pay-soon{position:absolute;top:1rem;right:1rem;padding:.15rem .55rem;border-radius:3px;background:#0006;font-size:.75rem;font-weight:700}
.pay-logo{background:#fff;padding:.3rem .6rem}.pay-logo img{display:block;height:1.4rem;width:auto}.pay-banner .pay-logo img{height:2rem}
.claim-note{margin-top:1rem;padding:1.3rem 1.6rem}.claim-note h3{font-family:Inter,sans-serif;font-weight:700;font-size:1.05rem;margin:0 0 .3rem}.claim-note p{margin:0}
@media(max-width:900px){.pay-banners{grid-template-columns:1fr}.sale-banner{flex-direction:column;text-align:center}.sale-timer{text-align:center}}
.pay-logo{display:inline-flex;align-items:center;gap:.35rem}.pay-logo-vodafone b{color:#e60000;font-weight:800}
/* Events */
.events-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;flex-wrap:wrap;max-width:none}
.server-clock{padding:1rem 1.4rem;text-align:right}.server-clock span{display:block;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-weight:700}
.server-clock strong{display:block;font:700 2rem/1.1 Cinzel,Georgia,serif}.server-clock small{color:var(--muted)}
.event-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}
.event-card{position:relative;padding:1.4rem 1.5rem}.event-card h3{font-family:Inter,sans-serif;font-weight:700;font-size:1.1rem;margin:0 0 .4rem}.event-card p{margin:.3rem 0 0;font-size:.93rem}
.event-card.live{border-top-color:var(--ok);box-shadow:0 0 0 1px #2f6b3a33,0 14px 34px #2f6b3a1f}
.live-dot{position:absolute;top:1rem;right:1rem;display:inline-flex;align-items:center;gap:.35rem;font-size:.75rem;font-weight:700;color:var(--ok);text-transform:uppercase;letter-spacing:.08em}
.live-dot::before{content:"";width:.55rem;height:.55rem;border-radius:50%;background:var(--ok);animation:pulse 1.6s ease-in-out infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 #2f6b3a66}50%{box-shadow:0 0 0 6px #2f6b3a00}}
@media(prefers-reduced-motion:reduce){.live-dot::before{animation:none}}
.event-where{display:flex;align-items:center;gap:.35rem;color:var(--muted)}.event-where .icon{width:1rem;height:1rem}
.event-count{font-size:.9rem}.event-count strong{font-family:Consolas,monospace;color:var(--seal);font-size:1.05rem}
.upcoming{padding:.4rem 1.4rem}.upcoming-row{display:grid;grid-template-columns:9rem 1fr auto 7rem;gap:1rem;align-items:center;padding:.7rem 0;border-bottom:1px dashed var(--line)}.upcoming-row:last-child{border-bottom:0}
.upcoming-when{color:var(--gold);font-weight:600}.upcoming-where{color:var(--muted);font-size:.9rem}.upcoming-count{text-align:right;font-family:Consolas,monospace;font-weight:700}
.upcoming-row.soon .upcoming-count{color:var(--seal)}
.schedule-table th,.schedule-table td{padding:.9rem 1.1rem!important;white-space:nowrap!important;vertical-align:top!important}.schedule-table td:first-child{white-space:normal!important;min-width:260px;width:100%}.schedule-table td:nth-child(2),.schedule-table td:nth-child(4){white-space:normal!important;min-width:7rem;max-width:11rem}.event-desc{display:block;color:var(--muted);font-size:.85rem;margin-top:.2rem}
.state{display:inline-block;padding:.15rem .55rem;border-radius:3px;font-size:.8rem;font-weight:600;white-space:nowrap;border:1px solid var(--line);color:var(--ink-soft)}
.state-running{color:#fff;background:var(--ok);border-color:var(--ok)}.state-soon{color:var(--seal);border-color:#9b2c2266}
@media(max-width:900px){.upcoming-row{grid-template-columns:1fr auto}.upcoming-where{display:none}.server-clock{text-align:left}}
.product-item-icon{width:5rem;height:5rem;display:grid;place-items:center;margin-bottom:.9rem;border-radius:8px;border:1px solid #b8913f;
  background:radial-gradient(circle at 50% 40%,#3a2a1a,#1d1812);box-shadow:inset 0 0 0 1px #0008,0 6px 14px #3a2c1433}
.product-item-icon img{width:64px;height:64px;image-rendering:auto;filter:drop-shadow(0 2px 3px #000a)}
/* Legal pages and agreements */
.legal{max-width:860px;margin:2.5rem auto 0;padding:2.6rem 3rem}.legal h1{margin-bottom:.3rem}.legal h2{font-size:1.25rem;margin:2rem 0 .5rem}
.legal p,.legal li{line-height:1.75}.legal ul{padding-inline-start:1.2rem}.legal-meta{color:var(--muted);font-size:.9rem}
.legal-lead{font-size:1.05rem;padding:1rem 1.2rem;border-inline-start:3px solid var(--gold);background:#fffaf0}
.legal-nav{display:flex;gap:1.2rem;flex-wrap:wrap;padding:.8rem 0 1rem;border-bottom:1px solid var(--line)}.legal-nav a{font-weight:600;text-decoration:none}
.agree{display:grid;gap:.6rem;margin:1rem 0 .4rem;padding:.9rem 1rem;border:1px solid var(--line);border-radius:4px;background:#fffaf0;font-size:.9rem}
.agree label{display:flex;gap:.6rem;align-items:flex-start;line-height:1.45}.agree input{margin-top:.2rem;flex:none;width:1.05rem;height:1.05rem;accent-color:var(--seal)}
@media(max-width:900px){.legal{padding:1.6rem 1.3rem}}
/* Shop: tiers, ribbons, contents */
.product{overflow:visible;transition:transform .18s ease,box-shadow .18s ease}.product:hover{transform:translateY(-4px);box-shadow:0 22px 44px #3a2c1433}
.product-tier{--tier:#a86b3c;--glow:#a86b3c55;border-top:3px solid var(--tier)}
.tier-bronze{--tier:#a86b3c;--glow:#c0804a44}.tier-silver{--tier:#8e959c;--glow:#b8c0c866}.tier-gold{--tier:#c9982f;--glow:#e0b85a66}
.tier-legend{--tier:#b8302a;--glow:#e0584a66;border:2px solid transparent;background:linear-gradient(#fbf7ee,#fbf7ee) padding-box,conic-gradient(from var(--spin,0deg),#e0b85a,#b8302a,#f5d77e,#7d211a,#e0b85a) border-box;animation:spin 6s linear infinite}
@property --spin{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes spin{to{--spin:360deg}}
.product-tier .product-item-icon{position:relative;overflow:hidden;border-color:var(--tier);box-shadow:0 0 0 1px #0008,0 0 22px var(--glow),inset 0 0 18px var(--glow)}
.shine{position:absolute;inset:-40%;background:linear-gradient(115deg,transparent 40%,#ffffff66 50%,transparent 60%);transform:translateX(-100%);animation:shine 3.2s ease-in-out infinite}
@keyframes shine{0%,55%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.tier-legend .product-item-icon{width:5.6rem;height:5.6rem}.tier-legend .product-cps{color:#b8302a;text-shadow:0 0 18px #e0b85a88}
.ribbon{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);z-index:2;white-space:nowrap;padding:.25rem .7rem;border-radius:999px;text-align:center;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#3b2a0a;background:linear-gradient(#f5d77e,#c9982f);box-shadow:0 2px 6px #0003}
.ribbon-legend{color:#fff;background:linear-gradient(#b8302a,#7d211a)}
.bonus{display:inline-block;margin-inline-start:.5rem;padding:.1rem .45rem;border-radius:3px;background:#2f6b3a;color:#fff;font-size:.72rem;font-weight:700;vertical-align:middle}
.inside{margin:.4rem 0 .2rem;padding:.8rem .9rem;border:1px dashed var(--line);border-radius:4px;background:#fffaf0;flex:1}
.inside-title{margin:0 0 .35rem;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:700}
.inside ul{margin:0;padding-inline-start:1.1rem;font-size:.88rem;color:var(--ink-soft)}.inside li{margin:.2rem 0}.inside strong{color:var(--ink)}
.inside-legend{background:linear-gradient(#fffaf0,#fbf1d8)}.product-legendary{border-top:3px solid #c9982f;box-shadow:0 0 0 1px #c9982f33,0 14px 34px #c9982f22}
.product .product-text{flex:0 0 auto}
@media(prefers-reduced-motion:reduce){.shine,.tier-legend{animation:none}.product{transition:none}}
/* Download */
.download-facts{display:flex;gap:1.4rem;flex-wrap:wrap;margin-top:1rem;color:var(--ink-soft)}.download-facts strong{color:var(--gold);font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;margin-inline-end:.35rem}
.mirror-banners{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.mirror-banner{display:flex;align-items:center;gap:1.4rem;padding:1.6rem 1.8rem;border-radius:6px;box-shadow:0 16px 36px #3a2c1426;flex-wrap:wrap}
.mirror-banner h2{font-family:Inter,sans-serif;font-weight:700;font-size:1.2rem;margin:0}.mirror-banner p{margin:.2rem 0 0;font-size:.92rem}.mirror-banner>div{flex:1;min-width:180px}
.mirror-logo{height:56px;width:auto;border-radius:4px}
.mirror-mediafire{background:linear-gradient(135deg,#111 0%,#1b1b1b 55%,#0e3a8c 100%);color:#fff}.mirror-mediafire h2{color:#fff}.mirror-mediafire p{color:#cfd8ea}
.mirror-mega{background:#fff;border:1px solid #eee;border-top:4px solid #d9272e}.mirror-mega p{color:#555}
.mirror-googledrive{background:#fff;border:1px solid #eee;border-top:4px solid #34a853}.mirror-googledrive p{color:#555}
.btn-mirror{padding:.8rem 1.5rem;font-weight:700;color:#fff;background:#1d6cf2;border:0}.btn-mirror:hover{background:#1557c7;color:#fff}
.mirror-mega .btn-mirror{background:#d9272e}.mirror-mega .btn-mirror:hover{background:#b31f25}
.mirror-github{background:linear-gradient(135deg,#0d1117 0%,#161b22 60%,#2d333b 100%);color:#fff}.mirror-github h2{color:#fff}.mirror-github p{color:#c9d1d9}
.mirror-nox{background:linear-gradient(135deg,#140e06 0%,#24180a 55%,#7a5418 100%);color:#fff}.mirror-nox h2{color:#fff}.mirror-nox p{color:#e8dcc4}.mirror-nox .btn-mirror{background:#c8902e}.mirror-nox .btn-mirror:hover{background:#a8761f}
.btn-mirror.disabled{background:#888;cursor:not-allowed;opacity:.8}
.download-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:1rem}
.steps{margin:0;padding-inline-start:1.3rem;line-height:1.7}.steps li{margin:.5rem 0}.steps.plain{list-style:disc}
.hash{display:block;padding:.6rem .8rem;background:#1d1812;color:#f0c878;border-radius:4px;font-size:.8rem;word-break:break-all}
/* Downloads: the Windows 7 fix, a parchment banner with the MediaFire/MEGA mirror. */
.win7-fix{margin-top:2.4rem;scroll-margin-top:6rem}.win7-fix .pb-eyebrow{letter-spacing:.14em}
.win7-title{margin:0 0 .5rem;font:700 clamp(1.6rem,3.2vw,2.3rem)/1.2 Cinzel,Georgia,serif;color:#a3291f;text-shadow:0 2px 0 #fff}
.win7-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem;margin:1.2rem 0;padding:0;list-style:none}
.win7-steps li{display:flex;gap:.8rem;align-items:flex-start;padding:1rem;border:1px solid #c9982f88;border-radius:10px;background:#fffaf0d9;line-height:1.55}
.win7-steps b{flex:none;display:grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:50%;background:linear-gradient(#b23a2e,#7d211a);color:#fbe9c9;font:700 1rem Cinzel,Georgia,serif}
.win7-fix .mirror-banner{margin:0 0 1rem}
.win7-hash{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .7rem;margin:0 0 .6rem;font-size:.85rem;color:var(--muted)}
.win7-hash code{padding:.35rem .6rem;border:1px solid #c9982f88;border-radius:6px;background:#fffaf0;color:var(--ink);font-size:.78rem;word-break:break-all}
/* Downloads: a simple heading with a gold ornament and fact chips; the mirror cards lift and catch a light sweep on hover. */
.dl-head .eyebrow{display:inline-flex;align-items:center;gap:.7rem}
.dl-head .eyebrow::before,.dl-head .eyebrow::after{content:"";width:2.2rem;height:1px;background:linear-gradient(90deg,transparent,#c9982f)}
.dl-head .eyebrow::after{transform:scaleX(-1)}
.dl-head h1{position:relative;padding-bottom:.7rem}
.dl-head h1::after{content:"◆";position:absolute;inset-inline-start:0;bottom:-.55rem;width:9rem;color:#a3291f;font-size:.7rem;line-height:1;text-align:center;
  background:linear-gradient(90deg,transparent,#c9982f 30%,#c9982f 70%,transparent) center/100% 1px no-repeat}
.dl-head .download-facts{gap:.5rem;margin-top:1.3rem}
.dl-head .download-facts span{padding:.32rem .85rem;border:1px solid #c9982f66;border-radius:999px;background:#fffaf0d9;box-shadow:0 2px 6px #3f372c12}
.mirror-banners .mirror-banner{position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.mirror-banners .mirror-banner::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 40%,#ffffff2e 50%,transparent 60%);background-size:250% 100%;background-position:150% 0;transition:background-position .9s ease}
.mirror-banners .mirror-banner:hover{transform:translateY(-3px);box-shadow:0 22px 44px #3a2c1433}
.mirror-banners .mirror-banner:hover::after{background-position:-50% 0}
@media(prefers-reduced-motion:reduce){.mirror-banners .mirror-banner{transition:none}.mirror-banners .mirror-banner::after{display:none}}
.win7-fix .mirror-banner{padding:.9rem 1.3rem;box-shadow:0 8px 20px #3a2c141f}.win7-fix .mirror-banner h2{font-size:1rem}.win7-fix .mirror-logo{height:40px}
.win7-fix .btn-mirror{padding:.55rem 1.1rem}
@media(max-width:900px){.mirror-banners,.download-grid{grid-template-columns:1fr}}
/* Language switch and Arabic (RTL) */
.account-nav .lang-switch{padding:.3rem .7rem;margin-inline-end:.4rem;border:1px solid #b8913f;border-radius:4px;background:#fffaf0;color:var(--ink);font-size:.85rem;font-family:"Noto Kufi Arabic",Inter,sans-serif}.account-nav .lang-switch:hover{background:#b8913f;color:#fff}
.slogan-ar{margin:.4rem 0 0;font-family:"Noto Kufi Arabic",sans-serif;font-size:1.35rem;font-weight:600;color:var(--gold)}
[dir=rtl] body,[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3,[dir=rtl] .feature-card h3,[dir=rtl] .site-footer h3{font-family:"Noto Kufi Arabic",Inter,sans-serif}
[dir=rtl] *{letter-spacing:0!important}[dir=rtl] .eyebrow,[dir=rtl] .inside-title,[dir=rtl] .ribbon{text-transform:none}
/* Headings that sit straight on the video get a parchment halo so dark art behind them can't swallow them. */
:is(.section-head,.page-heading)>:not(.panel) :is(h1,h2,p,.eyebrow),:is(.section-head,.page-heading)>:is(h1,h2,p,.eyebrow){text-shadow:0 0 6px #f3ecdc,0 0 14px #f3ecdc,0 0 28px #f3ecdcd0,0 0 44px #f3ecdc99}
:is(.section-head,.page-heading) .eyebrow{display:inline-block;padding:.22rem .8rem;border:1px solid #c9982f88;border-radius:999px;background:#f6f0e2f0;color:#7d5a17;font-size:.78rem;text-shadow:none;box-shadow:0 2px 8px #3a2c1422}
/* News */
.news-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin:1.6rem 0 1.4rem}
.news-tabs{display:flex;gap:.4rem;flex-wrap:wrap}
.news-tabs a{display:inline-flex;align-items:center;gap:.45rem;padding:.45rem 1rem;border:1px solid var(--line);border-radius:999px;background:#fbf7eeee;color:var(--ink-soft);text-decoration:none;font-weight:600;font-size:.9rem;transition:all .15s}
.news-tabs a span{min-width:1.4rem;padding:0 .35rem;border-radius:999px;background:#e9dfc9;color:var(--ink-soft);font-size:.75rem;text-align:center}
.news-tabs a:hover{border-color:var(--gold);color:var(--ink)}.news-tabs a.active{background:var(--ink);border-color:var(--ink);color:#f3ecdc}.news-tabs a.active span{background:#c9982f;color:#1d1812}
.news-search{display:flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:#fffaf0;box-shadow:0 2px 10px #3a2c1412}
.news-search input{border:0;background:none;padding:.5rem 1rem;min-width:220px;color:var(--ink);outline:none}
.news-search button{border:0;background:var(--seal);color:#fff;padding:.5rem 1.1rem;font-weight:600;cursor:pointer}.news-search button:hover{background:var(--seal-dark)}
.news-result{color:var(--ink-soft);margin:0 0 1rem}
.news-empty{text-align:center;padding:3rem 1.5rem}.news-empty img{width:150px;height:auto;opacity:.85}.news-empty h2{margin:.8rem 0 .3rem}.news-empty p{color:var(--muted);margin:0}
.news-cover{position:relative;aspect-ratio:16/9;overflow:hidden;background:radial-gradient(circle at 50% 45%,#3a2c1a,#15110c);display:grid;place-items:center}
.news-cover img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.news-cover img.news-cover-logo{width:45%;height:auto;object-fit:contain;filter:drop-shadow(0 6px 14px #000a)}
.news-featured,.news-card{display:flex;color:inherit;text-decoration:none;overflow:hidden;padding:0;transition:transform .2s,box-shadow .2s}
.news-featured:hover,.news-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px #3a2c1430;color:inherit}
.news-featured:hover .news-cover img:not(.news-cover-logo),.news-card:hover .news-cover img:not(.news-cover-logo){transform:scale(1.05)}
.news-featured{display:grid;grid-template-columns:1.35fr 1fr;margin-bottom:1.4rem;border-top:3px solid var(--gold)}.news-featured .news-cover{aspect-ratio:auto;min-height:320px}
.news-featured-text{padding:2rem 2.2rem;display:flex;flex-direction:column;justify-content:center}.news-featured-text h2{font-size:clamp(1.5rem,2.4vw,2.1rem);margin:.4rem 0 .8rem;line-height:1.25}.news-featured-text p{color:var(--ink-soft)}
.news-more{margin-top:.6rem;color:var(--seal);font-weight:700}
.news-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:1.2rem}
.news-card{flex-direction:column}.news-card-text{padding:1.1rem 1.3rem 1.2rem;display:flex;flex-direction:column;flex:1}
.news-card h3{font-family:Inter,"Segoe UI",sans-serif;font-weight:700;font-size:1.08rem;line-height:1.35;margin:.35rem 0 .45rem}.news-card-text>p{color:var(--ink-soft);font-size:.92rem;margin:0}
.news-card .news-foot{margin-top:auto;padding-top:.8rem;color:var(--muted);font-size:.8rem}
.news-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;margin:0;color:var(--muted);font-size:.82rem}
.news-tag{padding:.12rem .6rem;border-radius:3px;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:var(--seal)}
.tag-patch-notes{background:#2f5d8a}.tag-interviews{background:#6b3f8a}.tag-guides{background:#2f6b3a}
.news-new{padding:.12rem .5rem;border-radius:3px;background:#c9982f;color:#1d1812;font-size:.72rem;font-weight:800}
.pager{display:flex;justify-content:center;gap:.4rem;flex-wrap:wrap;margin-top:2rem}
.pager a,.pager span{min-width:2.4rem;padding:.4rem .8rem;border:1px solid var(--line);border-radius:4px;background:#fbf7ee;text-align:center;text-decoration:none;color:var(--ink)}
.pager a:hover{border-color:var(--gold)}.pager .current{background:var(--ink);color:#f3ecdc;border-color:var(--ink)}
/* Article */
.news-article{max-width:860px;margin:2.5rem auto 0}
.news-crumbs{font-size:.88rem;color:var(--muted);margin-bottom:1rem}.news-crumbs a{color:var(--ink-soft);text-decoration:none}.news-crumbs a:hover{color:var(--seal)}
.news-article-head h1{font-size:clamp(1.8rem,3.4vw,2.7rem);line-height:1.2;margin:.7rem 0 .6rem;text-shadow:0 0 6px #f3ecdc,0 0 14px #f3ecdc,0 0 28px #f3ecdcd0}
.news-byline{color:var(--ink-soft);font-size:.9rem;margin:0 0 1.4rem;text-shadow:0 0 6px #f3ecdc,0 0 14px #f3ecdc}
.news-article-cover{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:6px;border:1px solid var(--line);box-shadow:0 18px 40px #3a2c1430;margin-bottom:1.4rem}
.news-article-body{padding:2.4rem 2.6rem}
.news-prose{font-size:1.05rem;line-height:1.85;color:var(--ink-soft)}.news-prose>:first-child{margin-top:0}
.news-prose h2{font-size:1.5rem;margin:2rem 0 .7rem;color:var(--ink)}.news-prose h3{font-family:Inter,"Segoe UI",sans-serif;font-weight:700;font-size:1.15rem;margin:1.6rem 0 .5rem;color:var(--ink)}
.news-prose p{margin:0 0 1.1rem}.news-prose ul{margin:0 0 1.1rem;padding-inline-start:1.3rem}.news-prose li{margin:.3rem 0}.news-prose strong{color:var(--ink)}
.news-prose a{color:var(--seal);text-decoration:underline;text-underline-offset:3px}
.news-prose blockquote{margin:1.4rem 0;padding:.9rem 1.2rem;border-inline-start:3px solid var(--gold);background:#fffaf0;font-style:italic}
.news-prose figure{margin:1.6rem 0}.news-prose figure img{width:100%;border-radius:4px;border:1px solid var(--line)}.news-prose figcaption{text-align:center;color:var(--muted);font-size:.85rem;margin-top:.4rem}
.news-share{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-top:2rem;padding-top:1.2rem;border-top:1px solid var(--line)}
.news-share>span{font-weight:700;color:var(--ink-soft);margin-inline-end:.3rem}
.news-share a{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--brand)}.news-share a i{width:17px;height:17px;background:#fff;-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat}.news-share a:hover{filter:brightness(1.15)}
.news-copy{padding:.45rem 1rem;border:1px solid var(--line);border-radius:999px;background:#fffaf0;color:var(--ink);font-weight:600;cursor:pointer}.news-copy:hover{border-color:var(--gold)}
.news-neighbours{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1.4rem}
.news-neighbours a{display:flex;flex-direction:column;gap:.2rem;padding:1rem 1.2rem;text-decoration:none;color:var(--ink)}.news-neighbours a.older{text-align:end}.news-neighbours small{color:var(--muted)}.news-neighbours a:hover strong{color:var(--seal)}
@media(max-width:860px){.news-featured{grid-template-columns:1fr}.news-featured .news-cover{min-height:0;aspect-ratio:16/9}.news-article-body{padding:1.5rem}.news-search input{min-width:0;flex:1}.news-search{flex:1}}
/* User menu (header) */
.user-menu{position:relative}
.user-menu summary{display:flex;align-items:center;gap:.55rem;padding:.25rem .7rem .25rem .3rem;border:1px solid var(--line);border-radius:999px;background:#fffaf0;cursor:pointer;list-style:none;user-select:none;transition:border-color .15s,box-shadow .15s}
.user-menu summary::-webkit-details-marker{display:none}
.user-menu summary:hover,.user-menu[open] summary{border-color:var(--gold);box-shadow:0 4px 14px #3a2c1422}
.user-menu summary .portrait{--p:34px}
.user-avatar-empty{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#2a2319;color:#d9b870;border:1px solid #c9982f88}.user-avatar-empty .icon{width:18px;height:18px}
.user-menu-name{font-weight:700;color:var(--ink);max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-menu-caret{color:var(--muted);font-size:.8rem;transition:transform .15s}.user-menu[open] .user-menu-caret{transform:rotate(180deg)}
.user-menu-panel{position:absolute;top:calc(100% + .5rem);inset-inline-end:0;z-index:30;min-width:250px;padding:.5rem;border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:6px;background:#fbf7ee;box-shadow:0 18px 40px #3a2c1440;display:flex;flex-direction:column}
.user-menu-head{display:flex;flex-direction:column;gap:.1rem;padding:.6rem .7rem .7rem;margin-bottom:.3rem;border-bottom:1px solid var(--line)}
.user-menu-head strong{font-size:1.02rem;color:var(--ink)}.user-menu-head small{color:var(--muted)}.user-menu-tip{color:var(--seal)!important;margin-top:.2rem}
.account-nav .user-menu-panel a,.account-nav .user-menu-panel button{display:block;width:100%;padding:.5rem .7rem;border-radius:4px;color:var(--ink);text-align:start;font-weight:500}
.account-nav .user-menu-panel a:hover,.account-nav .user-menu-panel button:hover{background:#efe6d2;color:var(--seal)}
.user-menu-panel form{margin:.3rem 0 0;padding-top:.3rem;border-top:1px solid var(--line)}
.user-menu-label{padding:.6rem .7rem .2rem;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:700}
/* Account page */
.account-sub{margin:.1rem 0 .5rem;color:#d8c9a8;font-size:.9rem}
.account-avatar-empty{width:96px;height:96px}.account-avatar-empty .icon{width:44px;height:44px}
.account-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.8rem;margin:0 0 1rem}
.account-stats .panel{padding:1rem 1.2rem;display:flex;flex-direction:column;gap:.2rem;border-top:3px solid var(--gold)}
.account-stats small{color:var(--muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700}.account-stats strong{font-size:1.5rem;color:var(--ink);font-variant-numeric:tabular-nums}
#characters,#orders{scroll-margin-top:100px}
/* Store offer popup: the site's own parchment panel, calm and light */
.store-promo{width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:8px;overflow:auto;background:#fbf7ee;color:var(--ink);box-shadow:0 30px 70px #1d18125c}
.store-promo[open]{animation:promo-in .45s cubic-bezier(.22,1,.36,1)}
.store-promo::backdrop{background:#1d181266;backdrop-filter:blur(2px);animation:promo-fade .45s ease}
@keyframes promo-in{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@keyframes promo-fade{from{opacity:0}to{opacity:1}}
.promo-head{position:relative;display:flex;align-items:center;gap:1.2rem;padding:1.5rem 3.6rem 1rem 1.6rem;background:radial-gradient(ellipse 60% 100% at 100% 0,#f3e2b866,transparent 70%)}
[dir=rtl] .promo-head{padding:1.5rem 1.6rem 1rem 3.6rem}
.promo-head h2{margin:.1rem 0 .25rem;font-size:clamp(1.4rem,2.6vw,1.8rem)}.promo-head p{margin:0;color:var(--ink-soft);font-size:.95rem}
.promo-kicker{font-size:.72rem!important;letter-spacing:.2em;text-transform:uppercase;font-weight:700;color:var(--gold)!important}
.promo-badge{flex:none;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;font:800 1.15rem Inter,sans-serif;color:#fff;background:var(--seal);box-shadow:0 0 0 3px #fbf7ee,0 0 0 4px #c9982f}
.promo-close{position:absolute;top:.7rem;inset-inline-end:.7rem;width:32px;height:32px;border:0;border-radius:50%;background:none;color:var(--muted);font-size:1.4rem;line-height:1;cursor:pointer;transition:background .15s,color .15s}.promo-close:hover{background:#0000000d;color:var(--ink)}
.promo-countdown{display:flex;align-items:center;justify-content:center;gap:.45rem;margin:0 1.6rem;padding:.7rem;border-block:1px solid var(--line);direction:ltr}
.promo-countdown-label{color:var(--muted);font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-right:.5rem}
.promo-countdown div{min-width:52px;padding:.25rem .4rem;border:1px solid var(--line);border-radius:4px;background:#fffaf0;text-align:center}
.promo-countdown strong{display:block;font:700 1.2rem Consolas,monospace;color:var(--seal);line-height:1.15}.promo-countdown small{font-size:.62rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.promo-offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.9rem;padding:1.4rem 1.6rem 1.1rem}
.promo-offer{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.25rem;padding:1.2rem .9rem .9rem;border:1px solid var(--line);border-radius:6px;background:#fffaf0;color:inherit;text-decoration:none;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.promo-offer:hover{transform:translateY(-3px);border-color:var(--gold);box-shadow:0 12px 26px #3a2c1426;color:inherit}
.promo-offer-tag{position:absolute;top:-.65rem;left:50%;transform:translateX(-50%);padding:.1rem .6rem;border-radius:999px;font-size:.66rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;color:#3b2a0a;background:linear-gradient(#f5d77e,#c9982f)}
.promo-offer-legend .promo-offer-tag{color:#fff;background:var(--seal)}
.promo-offer-name{font-size:.98rem;margin-top:.2rem}.promo-offer-what{color:var(--muted);font-size:.82rem}
.promo-offer-price{display:flex;align-items:baseline;gap:.45rem;margin-top:.2rem}.promo-offer-price s{color:var(--muted);font-size:.82rem}.promo-offer-price b{font-size:1.15rem;color:var(--seal)}
.promo-offer-buy{margin-top:.45rem;padding:.3rem 1rem;border:1px solid var(--seal);border-radius:4px;color:var(--seal);font-weight:700;font-size:.84rem;transition:background .2s,color .2s}.promo-offer:hover .promo-offer-buy{background:var(--seal);color:#fff}
.promo-foot{display:flex;justify-content:center;gap:.7rem;flex-wrap:wrap;padding:0 1.6rem 1.4rem}
/* Tucked-away offer: a slim tab on the side */
.promo-tab{position:fixed;top:58%;right:0;z-index:40;display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:.55rem .3rem;border:1px solid #c9982f;border-right:0;border-radius:6px 0 0 6px;background:#fbf7ee;color:var(--seal);font:800 .72rem Inter,sans-serif;cursor:pointer;box-shadow:-3px 4px 14px #3a2c1430;animation:tab-in .5s cubic-bezier(.22,1,.36,1) both;transition:padding .2s ease,background .2s ease}
.promo-tab span:last-child{writing-mode:vertical-rl;letter-spacing:.04em}
[dir=rtl] .promo-tab{right:auto;left:0;border-right:1px solid #c9982f;border-left:0;border-radius:0 6px 6px 0;animation-name:tab-in-rtl}
.promo-tab:hover{padding-right:.5rem;background:#fff}[dir=rtl] .promo-tab:hover{padding-right:.3rem;padding-left:.5rem}
.promo-tab-icon{color:var(--gold);font-size:.9rem}
.promo-tab[hidden]{display:none}
@keyframes tab-in{from{transform:translateX(100%)}to{transform:none}}@keyframes tab-in-rtl{from{transform:translateX(-100%)}to{transform:none}}
@media(max-width:640px){.promo-head{flex-direction:column;text-align:center;padding:1.3rem 1.2rem .8rem}.promo-countdown-label{display:none}.promo-countdown{margin:0 1rem}}
@media(prefers-reduced-motion:reduce){.store-promo[open],.store-promo::backdrop,.promo-tab{animation:none}}
/* Sound button */
.account-nav .sound-toggle{position:relative;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #b8913f88;border-radius:50%;background:#fffaf0;color:var(--ink-soft)}
.sound-toggle svg{width:18px;height:18px}.sound-toggle .sound-off{display:none}.sound-toggle.off .sound-on{display:none}.sound-toggle.off .sound-off{display:block}
.account-nav .sound-toggle:hover{border-color:var(--gold);color:var(--seal)}
.sound-bars{position:absolute;bottom:-3px;left:50%;transform:translateX(-50%);display:flex;gap:1px;align-items:flex-end;height:6px}
.sound-bars i{width:2px;background:var(--gold);animation:bars 1s ease-in-out infinite}.sound-bars i:nth-child(2){animation-delay:.2s}.sound-bars i:nth-child(3){animation-delay:.4s}
.sound-toggle.off .sound-bars{display:none}
@keyframes bars{0%,100%{height:2px}50%{height:6px}}
@media(prefers-reduced-motion:reduce){.sound-bars i{animation:none;height:4px}}
/* Orders on the account page */
.orders-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.orders-head h2{margin:0}
.orders-empty{color:var(--ink-soft)}
.order-list{display:flex;flex-direction:column;gap:.7rem}
.order-row{display:grid;grid-template-columns:64px minmax(0,1.3fr) auto minmax(260px,1fr);gap:1.1rem;align-items:center;padding:.8rem 1rem;border:1px solid var(--line);border-radius:6px;background:#fffaf0;transition:border-color .2s,box-shadow .2s}
.order-row:hover{border-color:#c9982f88;box-shadow:0 8px 20px #3a2c1418}
.order-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:8px;background:#2a1d14;border:1px solid #c9982f;box-shadow:0 0 14px #e0b85a33;overflow:hidden}
.order-icon img{width:52px;height:52px;object-fit:contain}.order-icon span{color:#e0b85a;font-size:1.4rem}
.order-title{font-weight:700;font-size:1.02rem;color:var(--ink);text-decoration:none}.order-title:hover{color:var(--seal)}
.order-meta{display:flex;flex-wrap:wrap;gap:.3rem 1rem;margin:.25rem 0 0;color:var(--muted);font-size:.84rem}
.order-pay{display:flex;flex-direction:column;align-items:center;gap:.35rem}.order-pay strong{font-variant-numeric:tabular-nums}
.order-state .order-status{margin:0}
.order-status strong{display:flex;align-items:center;gap:.4rem}
.order-status-icon{display:inline-grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:50%;font-size:.75rem;background:#0000000f}
.order-status.done .order-status-icon{background:var(--ok);color:#fff}.order-status.bad .order-status-icon{background:var(--seal);color:#fff}
.order-next{display:inline-block;align-self:flex-start;margin-top:.35rem;padding:.25rem .6rem;border:1px solid #c9982f;border-radius:4px;background:linear-gradient(#fff6d8,#f8e6ae);color:#6d4d0e;font-weight:700;font-size:.86rem;box-shadow:0 0 10px #e0b85a44}
@media(max-width:900px){.order-row{grid-template-columns:56px 1fr;}.order-pay{flex-direction:row;grid-column:2}.order-state{grid-column:1/-1}}
/* Wider news, tables and pictures in articles */
.news-article{max-width:1100px}
.news-prose .inline-img{display:inline-block;height:1.9em;width:auto;vertical-align:middle;margin:0 .2em;border-radius:3px}
.news-table{overflow-x:auto;margin:1.4rem 0;border:1px solid var(--line);border-radius:6px}
.news-table table{width:100%;border-collapse:collapse;font-size:.95rem}
.news-table th{background:#1d1812;color:#f3ecdc;text-align:start;padding:.7rem 1rem;font-weight:700}
.news-table td{padding:.65rem 1rem;border-top:1px solid var(--line);vertical-align:middle}.news-table tr:nth-child(even) td{background:#fffaf0}
.news-table .inline-img{height:40px}
/* News editor toolbar */
.md-toolbar{position:sticky;top:90px;z-index:5;display:flex;gap:.35rem;flex-wrap:wrap;align-items:center;margin-top:1.4rem;padding:.5rem;border:1px solid var(--line);border-radius:6px;background:#fbf7eef2;box-shadow:0 6px 18px #3a2c1418}
.md-toolbar button{padding:.35rem .7rem;border:1px solid var(--line);border-radius:4px;background:#fffaf0;color:var(--ink);cursor:pointer;font-size:.88rem}.md-toolbar button:hover{border-color:var(--gold);background:#fff}
.md-status{margin-inline-start:.5rem;color:var(--muted);font-size:.85rem}
/* News admin: list */
.admin-news-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap}
.admin-news-filters{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.admin-news-filters select{width:auto;min-width:170px;border-radius:999px}
.admin-news-list{display:flex;flex-direction:column;gap:.8rem}
.admin-news-row{display:grid;grid-template-columns:150px 1fr auto;gap:1.2rem;align-items:center;padding:.8rem;transition:box-shadow .15s}
.admin-news-row:hover{box-shadow:0 12px 28px #3a2c1424}.admin-news-row.is-deleted{opacity:.6}
.admin-news-thumb{aspect-ratio:16/9;border-radius:4px;overflow:hidden;background:radial-gradient(circle,#3a2c1a,#15110c);display:grid;place-items:center}
.admin-news-thumb img{width:100%;height:100%;object-fit:cover}.admin-news-thumb img.news-cover-logo{width:60%;height:auto;object-fit:contain}
.admin-news-main h3{font-family:Inter,"Segoe UI",sans-serif;font-weight:700;font-size:1.05rem;margin:.35rem 0 .25rem}
.admin-news-facts{display:flex;gap:.9rem;margin:0;font-size:.82rem;color:var(--ok)}.admin-news-facts .missing{color:var(--muted)}.admin-news-facts span:last-child{color:var(--muted)}
.admin-state{padding:.1rem .5rem;border-radius:3px;font-size:.72rem;font-weight:700}
.admin-state-live{background:#e3efe2;color:#2f6b3a}.admin-state-scheduled{background:#fbefd4;color:#8a6420}.admin-state-deleted{background:#f3dddb;color:#9b2c22}
.admin-news-actions{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}.admin-news-actions form{margin:0}
.btn-sm{padding:.3rem .8rem;font-size:.85rem}
.link-danger{color:#9b2c22;background:none;border:1px solid #9b2c2244}.link-danger:hover{background:#9b2c22;color:#fff}
@media(max-width:720px){.admin-news-row{grid-template-columns:1fr}.admin-news-thumb{max-width:260px}}
/* News admin: editor */
.news-editor-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:1.4rem;align-items:start}
.news-editor-main{display:flex;flex-direction:column;gap:1.2rem}
.news-editor-meta{padding:1.4rem;display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.2rem}.news-editor-cover-field{grid-column:1/-1}
.news-cover-drop{position:relative;display:block;aspect-ratio:16/6;border:2px dashed var(--line);border-radius:6px;overflow:hidden;cursor:pointer;background:radial-gradient(circle,#3a2c1a,#15110c)}
.news-cover-drop img{width:100%;height:100%;object-fit:cover}.news-cover-drop img.empty{object-fit:contain;padding:1.2rem;opacity:.35}
.news-cover-drop span{position:absolute;inset:auto 0 0;padding:.4rem;background:#15110cb3;color:#f3ecdc;text-align:center;font-size:.85rem;opacity:0;transition:opacity .15s}
.news-cover-drop:hover span,.news-cover-drop.dropping span{opacity:1}.news-cover-drop.dropping{border-color:var(--gold)}
.news-cover-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}
.news-editor-body{padding:1.2rem 1.4rem}
.news-lang-tabs{display:flex;gap:.3rem;border-bottom:1px solid var(--line);margin-bottom:.8rem}
.news-lang-tabs button{padding:.5rem 1rem;border:0;border-bottom:3px solid transparent;background:none;font-weight:700;color:var(--muted);cursor:pointer}
.news-lang-tabs button.active{color:var(--ink);border-bottom-color:var(--gold)}.news-lang-tabs small{font-weight:400}
.news-editor .md-toolbar{position:sticky;top:90px;margin:0 0 .8rem}
.news-editor-lang{margin:0;padding:0;border:0;background:none}
.news-title-input{font-size:1.15rem;font-weight:700}
.news-editor textarea{min-height:420px;resize:vertical}.news-editor textarea.dropping{outline:2px dashed var(--gold);background:#fffaf0}
.news-editor-count{margin:.4rem 0 0;color:var(--muted);font-size:.82rem}
.news-editor-side{position:sticky;top:90px;display:flex;flex-direction:column;gap:.8rem;max-height:calc(100vh - 110px)}
.news-preview-head{display:flex;justify-content:space-between;align-items:center;font-weight:700;color:var(--ink-soft)}.news-preview-head small{color:var(--gold)}
.news-preview{padding:1.6rem 1.8rem;overflow:auto}.news-preview h1{font-size:1.8rem;line-height:1.2;margin:.6rem 0 1rem}
.news-preview .news-article-cover{margin-bottom:1rem}.news-preview .news-prose{font-size:1rem}
.news-draft-banner{display:flex;gap:.8rem;align-items:center;justify-content:center;flex-wrap:wrap}.news-draft-banner[hidden]{display:none}
@media(max-width:1000px){.news-editor-grid{grid-template-columns:1fr}.news-editor-side{position:static;max-height:none}.news-editor-meta{grid-template-columns:1fr}}
.news-help{margin-top:1rem}.news-help summary{cursor:pointer;font-weight:600;color:var(--ink-soft)}.news-help pre{margin:.6rem 0 0;padding:1rem;background:#1d1812;color:#e7dcc4;border-radius:4px;font-size:.85rem;direction:ltr;text-align:left;white-space:pre-wrap}
.news-editor-actions{display:flex;gap:.8rem}
/* Offer icons: the in-game item in a gold frame with a slow halo, a soft pulse and a passing shine */
.promo-offer-art{height:112px;display:grid;place-items:center}
.promo-icon{position:relative;width:92px;height:92px;display:grid;place-items:center;border-radius:14px;isolation:isolate;
  background:radial-gradient(circle at 50% 40%,#4a3218,#1a120b 70%);border:1px solid #e0b85a;
  box-shadow:0 0 0 3px #1a120b,0 0 0 4px #c9982f88,0 0 18px #e0b85a66;animation:icon-pulse 3s ease-in-out infinite}
.promo-icon::before{content:"";position:absolute;inset:-10px;z-index:-1;border-radius:50%;
  background:conic-gradient(from 0deg,transparent,#f5d77e66,transparent 30%,transparent 50%,#e0b85a55,transparent 80%);filter:blur(6px);animation:icon-halo 6s linear infinite}
.promo-icon img{position:relative;width:72px;height:72px;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 0 6px #f5d77e99) drop-shadow(0 3px 4px #000c);transition:transform .35s cubic-bezier(.22,1,.36,1)}
.promo-icon-shine{position:absolute;inset:0;border-radius:inherit;overflow:hidden;pointer-events:none}
.promo-icon-shine::after{content:"";position:absolute;inset:-40%;background:linear-gradient(115deg,transparent 42%,#fff6d066 50%,transparent 58%);transform:translateX(-100%);animation:shine 3.6s ease-in-out infinite}
.promo-offer:hover .promo-icon img{transform:scale(1.1) translateY(-2px)}
.promo-offer:hover .promo-icon{box-shadow:0 0 0 3px #1a120b,0 0 0 4px #e0b85a,0 0 30px #f5d77eaa}
.promo-offer-legend .promo-icon{border-color:#f0a860;background:radial-gradient(circle at 50% 40%,#5a2418,#1a0d0a 70%);box-shadow:0 0 0 3px #1a0d0a,0 0 0 4px #e0784a99,0 0 22px #f0a86077}
.promo-offer-legend .promo-icon::before{background:conic-gradient(from 0deg,transparent,#ffb86a77,transparent 30%,transparent 50%,#f5d77e66,transparent 80%)}
@keyframes icon-pulse{50%{box-shadow:0 0 0 3px #1a120b,0 0 0 4px #e0b85a,0 0 28px #f5d77e99}}
@keyframes icon-halo{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.promo-icon,.promo-icon::before,.promo-icon-shine::after{animation:none}}
/* Items as they look in the game bag: the real 64px icon in a dark inventory slot.
   Effects only for Super (soft gold light) and Legendary (slow gold halo + shine). */
.item-slot{position:relative;display:inline-grid;place-items:center;flex:none;width:76px;height:76px;border-radius:6px;isolation:isolate;
  background:linear-gradient(#ffffff08 1px,transparent 1px) 0 0/12px 12px,linear-gradient(90deg,#ffffff08 1px,transparent 1px) 0 0/12px 12px,radial-gradient(circle at 50% 45%,#2c241a,#120e09 75%);
  border:1px solid #5a4a30;box-shadow:inset 0 0 0 1px #000,inset 0 0 12px #000a}
.item-slot img{width:64px;height:64px;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 2px 3px #000c)}
.item-slot-empty{color:#c9982f;font-size:1.4rem}
.item-slot.rarity-super{border-color:#c9982f;box-shadow:inset 0 0 0 1px #000,inset 0 0 14px #e0b85a33,0 0 10px #e0b85a55}
/* Legendary: the game's own GoldenLight ("electrogold") animation from the Legendary package (effect.ani [GoldenLight],
   8 frames of 64x64, drawn under the icon as ClientTips::DrawTipIcon does), played as a sprite sheet. */
.item-slot.rarity-legendary{border-color:#e0a84a;box-shadow:inset 0 0 0 1px #000,0 0 12px #f0a86066}
.item-slot.rarity-legendary::before{content:"";position:absolute;inset:3px;z-index:0;border-radius:4px;background:url("../img/items/golden-light.webp") 0 0/800% 100% no-repeat;animation:golden-light .8s steps(8,jump-none) infinite}
.item-slot.rarity-legendary img{position:relative;z-index:1}
@keyframes golden-light{to{background-position-x:100%}}
@media(prefers-reduced-motion:reduce){.item-slot.rarity-legendary::before{animation:none}}
.product .item-slot{margin-bottom:.9rem;width:92px;height:92px}.product .item-slot img{width:72px;height:72px}
.promo-offer .item-slot{width:88px;height:88px;margin:.2rem 0}.promo-offer .item-slot img{width:70px;height:70px}
/* Coins */
.coin{display:inline-block;width:1.15em;height:1.15em;margin-inline-end:.3em;vertical-align:-.2em;border-radius:50%;background:#2a1a10 url("../img/nox-icon.png") center/cover no-repeat;box-shadow:0 0 0 1px #c9982f,0 1px 2px #0004}
.coin-stack{position:relative;flex:none;width:46px;height:46px}
.coin-stack::before,.coin-stack::after{content:"";position:absolute;width:34px;height:34px;border-radius:50%;background:#2a1a10 url("../img/nox-icon.png") center/cover no-repeat;box-shadow:0 0 0 1.5px #c9982f,0 3px 8px #0005}
.coin-stack::before{left:0;top:10px}.coin-stack::after{left:12px;top:0}
.coin-amount{color:#8a6420}
.pay-coins{display:inline-flex;align-items:center;gap:.2rem;padding:.2rem .5rem;border:1px solid #c9982f;border-radius:4px;background:#fff6d8;color:#6d4d0e;font-weight:700;font-size:.8rem}
/* Store: wallet bar, sections, top-ups */
.wallet-bar{display:flex;align-items:center;gap:1rem 1.2rem;flex-wrap:wrap;padding:1.1rem 1.4rem;margin:1rem 0 .6rem;border-top:3px solid var(--gold)}
.wallet-bar-text{display:flex;flex-direction:column}.wallet-bar-text small{color:var(--muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;font-weight:700}
.wallet-bar-text strong{font-size:1.5rem;color:var(--ink)}.wallet-bar-text em{font-style:normal;font-size:.9rem;color:var(--muted)}
.wallet-bar-how{flex:1;min-width:220px;margin:0;color:var(--ink-soft);font-size:.9rem}
.shop-jump{display:flex;gap:.5rem;flex-wrap:wrap;margin:.4rem 0 0}
.shop-jump a{padding:.4rem .9rem;border:1px solid var(--line);border-radius:999px;background:#fbf7eeee;color:var(--ink-soft);text-decoration:none;font-weight:600;font-size:.9rem}.shop-jump a:hover{border-color:var(--gold);color:var(--ink)}
.shop-section{scroll-margin-top:100px}
.topup-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}
/* Top-up packs: each tier has its own colour (--tier), the biggest pack is featured. */
.topup-card{--tier:#a0703c;--tier-soft:#a0703c22;position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.25rem;padding:1.6rem 1.1rem 1.2rem;background:radial-gradient(120% 60% at 50% 0,var(--tier-soft),transparent 70%),linear-gradient(#fffdf7,#f6ecd6);border:1px solid color-mix(in srgb,var(--tier) 45%,#d6c59d);border-top:4px solid var(--tier);border-radius:10px;transition:transform .2s,box-shadow .2s}
.topup-card:nth-child(2){--tier:#5f7f9c;--tier-soft:#5f7f9c26}.topup-card:nth-child(3){--tier:#7a47b0;--tier-soft:#7a47b026}
.topup-card:nth-child(4){--tier:#c9982f;--tier-soft:#e2b64a40;box-shadow:0 0 0 1px #c9982f55,0 18px 40px #c9982f38}
.topup-card:hover{transform:translateY(-4px);box-shadow:0 0 0 1px var(--tier),0 20px 40px color-mix(in srgb,var(--tier) 30%,transparent)}
.topup-art{display:grid;place-items:center;width:104px;height:104px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--tier) 40%,transparent),transparent 68%);transition:transform .25s}.topup-card:hover .topup-art{transform:scale(1.07) rotate(-3deg)}
.topup-card h3{font-family:Inter,"Segoe UI",sans-serif;font-weight:700;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--tier);margin:.2rem 0 0}
.topup-coins{display:flex;align-items:center;gap:.35rem;font-size:2.1rem;font-weight:800;line-height:1.1;color:var(--ink);margin:0}.topup-coins .coin{width:.8em;height:.8em}
.topup-split{line-height:1.4;min-height:1.4em;margin:0 0 .7rem;font-size:.82rem;color:var(--muted);font-weight:600}
.topup-price{width:100%;margin:auto 0 .7rem;padding-top:.7rem;border-top:1px dashed color-mix(in srgb,var(--tier) 40%,#d6c59d);color:var(--muted);font-size:.85rem;font-weight:600}.topup-price span{display:block;font-size:1.55rem;font-weight:800;color:var(--ink)}.topup-price small{font-size:.85rem}
.topup-card .inside{width:100%;text-align:start;margin:0 0 .9rem;border:0;border-radius:8px;background:color-mix(in srgb,var(--tier) 7%,#fffaf0);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tier) 22%,transparent)}.topup-card .inside-title{color:var(--tier)}.topup-card .inside li::marker{color:var(--tier)}
.topup-bonus{position:absolute;top:-.8rem;left:50%;transform:translateX(-50%);padding:.2rem .75rem;border-radius:999px;background:linear-gradient(#3c8a4a,#2a5f33);color:#fff;font-size:.74rem;font-weight:800;white-space:nowrap;box-shadow:0 4px 10px #2a5f3355;z-index:1}
.pay-banners-slim{margin-top:1.2rem}
.coin-price span{color:#8a6420}.coin-price small{font-size:.8rem;color:var(--muted);font-weight:600}
.rarity-card-legendary{border-top:3px solid #c9982f;box-shadow:0 0 0 1px #c9982f33,0 14px 34px #c9982f22}
/* Buy page */
.checkout-head{display:flex;align-items:center;gap:1rem;margin:.6rem 0 1rem}.checkout-head h1{margin:.1rem 0 .2rem;font-size:1.6rem}
.coin-bill{display:grid;grid-template-columns:1fr auto;gap:.45rem 1rem;margin:0 0 1.2rem;padding:1rem 1.2rem;border:1px solid var(--line);border-radius:6px;background:#fffaf0}
.coin-bill dt{color:var(--ink-soft);font-weight:500}.coin-bill dd{margin:0;text-align:end;font-weight:700;font-variant-numeric:tabular-nums}.coin-bill s{color:var(--muted);font-weight:400;margin-inline-end:.4rem}
.coin-bill .bill-total{padding-top:.5rem;border-top:1px dashed var(--line);font-size:1.05rem}.coin-bill dd.short{color:var(--seal)}
.bill-sale{margin-inline-start:.4rem;padding:.05rem .4rem;border-radius:3px;background:var(--seal);color:#fff;font-size:.7rem}
.coin-short{text-align:center;padding:1rem;border:1px dashed #c9982f;border-radius:6px;background:#fff6d8}.coin-short p{margin:0 0 .7rem;font-weight:700;color:#6d4d0e}
/* Wallet on the account page and in the menu */
.wallet-balance{display:flex;align-items:center;gap:.9rem}.wallet-balance small{display:block;color:var(--muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;font-weight:700}
.wallet-balance strong{font-size:1.8rem;color:var(--ink)}
.wallet-history-title{font-family:Inter,"Segoe UI",sans-serif;font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:1.2rem 0 .5rem}
.wallet-history{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}
.wallet-history li{display:grid;grid-template-columns:28px 1fr auto auto;gap:.8rem;align-items:center;padding:.55rem .8rem;border:1px solid var(--line);border-radius:5px;background:#fffaf0}
.wallet-history strong{display:block;font-size:.92rem}.wallet-history small{color:var(--muted);font-size:.8rem}
.wallet-kind{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;font-weight:800;color:#fff}
.wallet-history .plus .wallet-kind{background:var(--ok)}.wallet-history .minus .wallet-kind{background:var(--seal)}
.wallet-amount{font-weight:800;font-variant-numeric:tabular-nums}.plus .wallet-amount{color:var(--ok)}.minus .wallet-amount{color:var(--seal)}
.wallet-after{color:var(--muted);font-size:.85rem;min-width:80px;text-align:end}
.account-nav .user-menu-panel a.user-menu-wallet{display:flex;justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:.3rem;background:#fff6d8;border:1px solid #e9d9a8;font-weight:700;color:#6d4d0e}
.user-menu-wallet em{font-style:normal;font-size:.78rem;padding:.1rem .5rem;border-radius:999px;background:var(--seal);color:#fff}
/* Store editor */
.admin-tabs{margin:1rem 0}
.store-row{grid-template-columns:auto 1fr auto}.store-row .item-slot{width:68px;height:68px}.store-row .item-slot img{width:56px;height:56px}
.store-editor{display:flex;flex-direction:column;gap:1rem}.store-editor>.panel{padding:1.3rem 1.5rem}.store-editor h2{font-size:1.15rem;margin:0 0 .9rem}
.store-editor [hidden]{display:none!important}
.kind-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.7rem}
.kind-option{position:relative;display:flex;flex-direction:column;gap:.2rem;padding:1rem;border:1px solid var(--line);border-radius:6px;background:#fffaf0;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.kind-option input{position:absolute;opacity:0}.kind-option.active{border-color:var(--gold);box-shadow:0 0 0 2px #c9982f55;background:#fff6d8}
.kind-icon{font-size:1.5rem}.kind-option small{color:var(--muted);font-size:.82rem}
.item-picker{display:grid;grid-template-columns:auto 1fr;gap:1.2rem;align-items:start;margin-bottom:1rem}
.item-picked{display:flex;gap:.8rem;align-items:center}.item-picked small{display:block;color:var(--muted);font-size:.78rem}.item-picked input{max-width:150px}
.item-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.4rem;max-height:320px;overflow:auto;margin-top:.5rem}
.item-result{display:flex;align-items:center;gap:.6rem;padding:.35rem .5rem;border:1px solid var(--line);border-radius:5px;background:#fffaf0;text-align:start;cursor:pointer}
.item-result:hover{border-color:var(--gold);background:#fff}.item-result .item-slot{width:48px;height:48px}.item-result .item-slot img{width:40px;height:40px}
.item-result strong{display:block;font-size:.88rem}.item-result small{color:var(--muted);font-size:.75rem}
.switch{display:flex;align-items:center;gap:.5rem;margin:.4rem 0;font-weight:600;cursor:pointer}
.store-settings{display:flex;flex-direction:column;gap:1rem}.store-settings .panel{padding:1.3rem 1.5rem}.store-settings h2{font-size:1.15rem;margin:0 0 .3rem}
.wallet-adjust{display:grid;grid-template-columns:140px 1fr auto;gap:.6rem;margin-bottom:1rem}
@media(max-width:720px){.item-picker{grid-template-columns:1fr}.wallet-adjust{grid-template-columns:1fr}.wallet-history li{grid-template-columns:28px 1fr auto}.wallet-after{display:none}}
.coin-usd{display:block;color:var(--muted);font-size:.8rem;font-weight:600}.coin-bill .coin-usd,.promo-offer-price .coin-usd{display:inline;margin-inline-start:.3rem}
/* Nox Coins chip beside the player's name: balance, its value in EGP or $, a turning coin and a passing shine */
.account-nav .coin-chip{position:relative;display:inline-flex;align-items:center;gap:.45rem;padding:.2rem .35rem .2rem .45rem;border:1px solid #c9982f;border-radius:999px;overflow:hidden;
  background:linear-gradient(180deg,#fff8dc,#f3dca0);color:#5a3d08;text-decoration:none;box-shadow:0 2px 8px #c9982f40,inset 0 1px 0 #fff;transition:box-shadow .2s,transform .2s}
.account-nav .coin-chip:hover{transform:translateY(-1px);box-shadow:0 4px 14px #c9982f66,inset 0 1px 0 #fff;color:#3b2a0a}
.coin-chip::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,#ffffffb3 50%,transparent 65%) no-repeat;background-size:250% 100%;animation:chip-shine 5s ease-in-out infinite;pointer-events:none}
.coin-chip .coin{width:22px;height:22px;margin:0}
.coin-spin{animation:coin-turn 4s ease-in-out infinite}
.coin-chip-text{display:flex;flex-direction:column;line-height:1.05}.coin-chip-text strong{font-size:.92rem;font-variant-numeric:tabular-nums}.coin-chip-text small{font-size:.66rem;color:#8a6420;font-weight:700}
.coin-chip-plus{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--seal);color:#fff;font-weight:800;font-size:.9rem;line-height:1}
@keyframes chip-shine{0%,70%{background-position:160% 0}100%{background-position:-60% 0}}
@keyframes coin-turn{0%,80%,100%{transform:rotateY(0)}90%{transform:rotateY(180deg)}}
@media(prefers-reduced-motion:reduce){.coin-chip::after,.coin-spin{animation:none}}
@media(max-width:900px){.coin-chip-text small{display:none}}
/* Account page cards */
.account-card h2{display:flex;align-items:center;gap:.55rem}
.card-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:linear-gradient(#fff6d8,#f0dca4);border:1px solid #c9982f88;font-size:1.05rem}
.info-rows{list-style:none;margin:0;padding:0}
.info-rows li{display:grid;grid-template-columns:30px 150px 1fr;align-items:center;gap:.5rem;padding:.6rem .2rem;border-bottom:1px dashed var(--line)}.info-rows li:last-child{border-bottom:0}
.info-icon{font-size:1rem;opacity:.8}.info-label{color:var(--muted);font-weight:500}.info-rows strong{color:var(--ink)}
.chip{justify-self:start;padding:.12rem .6rem;border-radius:999px;border:1px solid var(--line);background:#fffaf0;font-size:.8rem;font-weight:700;color:var(--ink-soft)}
.chip-gold{border-color:#c9982f;background:#fff6d8;color:#6d4d0e}.chip-warn{border-color:#9b2c2266;background:#f7e3df;color:var(--seal)}
.security-checks{list-style:none;margin:0 0 1rem;padding:0;display:flex;flex-direction:column;gap:.45rem}
.security-checks li{display:flex;align-items:center;gap:.6rem;font-weight:600;color:var(--ink-soft)}
.security-checks span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:#fff;font-size:.75rem;font-weight:800}
.security-checks .ok span{background:var(--ok)}.security-checks .warn span{background:var(--seal)}
.security-text{color:var(--ink-soft);margin:0 0 1rem}.security-note{margin-top:.8rem}
@media(max-width:600px){.info-rows li{grid-template-columns:26px 1fr;}.info-rows li>:last-child{grid-column:2}}
/* Redeem */
.redeem-done{display:flex;gap:1rem;align-items:center;padding:1rem 1.3rem;margin-bottom:1rem;border-top:3px solid var(--ok);background:#eef7ee}
.redeem-done-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--ok);color:#fff;font-size:1.3rem}.redeem-done p{margin:.1rem 0 0;color:var(--ink-soft)}
.redeem-card{display:grid;grid-template-columns:200px 1fr;gap:1.5rem;align-items:center;padding:1.8rem;max-width:760px;border-top:3px solid var(--gold)}
.redeem-art{display:grid;place-items:center;height:160px;border-radius:10px;background:radial-gradient(circle at 50% 40%,#4a3218,#15110c 75%)}.redeem-art .coin-stack{transform:scale(2)}
.redeem-form{display:flex;flex-direction:column;gap:.5rem}.redeem-form label{font-weight:700}
.redeem-input{font:700 1.3rem Consolas,monospace;letter-spacing:.12em;text-transform:uppercase;text-align:center}
.redeem-cards{padding:1.4rem 1.6rem}
.card-row{display:grid;grid-template-columns:auto 1fr minmax(160px,220px) 90px auto;gap:.8rem;align-items:center;padding:.7rem .8rem;margin:.6rem 0;border:1px solid var(--line);border-radius:6px;background:#fffaf0}
.card-row .item-slot{width:60px;height:60px}.card-row .item-slot img{width:48px;height:48px}
.card-row-main strong{display:block}.card-row-main small{color:var(--muted)}
@media(max-width:760px){.redeem-card{grid-template-columns:1fr}.redeem-art{height:110px}.card-row{grid-template-columns:auto 1fr}.card-row select,.card-row button{grid-column:1/-1}}
/* Vote */
.vote-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem;margin-bottom:1.2rem}
.vote-card{display:flex;flex-direction:column;gap:.8rem;padding:1.1rem;border-top:3px solid var(--site)}
.vote-banner{display:grid;place-items:center;height:80px;border-radius:6px;background:linear-gradient(135deg,var(--site),#15110c);color:#fff;font:800 1.3rem Inter,sans-serif;letter-spacing:.02em;text-shadow:0 2px 6px #0008}
.vote-reward{margin:0;text-align:center;font-weight:800;color:#8a6420}
.vote-strip{display:flex;align-items:center;justify-content:center;gap:.7rem;flex-wrap:wrap;margin-top:2rem;padding:1rem 0;border-top:1px solid #3a3024}
.vote-strip-label{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:#8f846f;margin-inline-end:.6rem}
.site-footer .vote-badge{display:flex;flex-direction:column;align-items:center;min-width:140px;padding:.5rem 1rem;border:1px solid #4a3f30;border-radius:8px;background:linear-gradient(135deg,color-mix(in srgb,var(--site) 45%,#1a150f),#15110c);color:#f3ecdc;transition:transform .2s,border-color .2s}
.site-footer .vote-badge:hover{transform:translateY(-2px);border-color:#e0b85a;color:#fff}.vote-badge span{font-weight:800}.vote-badge small{font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:#d9b870}
/* Gift codes admin */
.vote-setting code{font-size:.78rem;word-break:break-all}
/* Guides */
.guide-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:.9rem}
.guide-card{display:flex;align-items:center;gap:1rem;padding:1.1rem 1.2rem;color:inherit;text-decoration:none;border-inline-start:3px solid var(--gold);transition:transform .2s,box-shadow .2s}
.guide-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px #3a2c1426;color:inherit}
.guide-card-icon{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:10px;background:radial-gradient(circle at 50% 40%,#4a3218,#15110c 80%);color:#f5d77e;border:1px solid #c9982f}
.guide-card-icon .icon{width:24px;height:24px}
.guide-card-text{flex:1;display:flex;flex-direction:column;gap:.15rem}.guide-card-text strong{font-size:1.02rem}.guide-card-text small{color:var(--muted);font-size:.86rem;line-height:1.45}
.guide-card-go{color:var(--gold);font-weight:800}
.guide-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:1.5rem;align-items:start;margin-top:2.5rem}
.guide-side{position:sticky;top:95px;display:flex;flex-direction:column;gap:1rem;max-height:calc(100vh - 110px);overflow:auto}
.guide-toc,.guide-others{padding:1rem 1.1rem}.guide-toc ol,.guide-others ul{margin:.4rem 0 0;padding-inline-start:1.1rem;font-size:.9rem}.guide-toc li,.guide-others li{margin:.3rem 0}
.guide-toc a,.guide-others a{color:var(--ink-soft);text-decoration:none}.guide-toc a:hover,.guide-others a:hover{color:var(--seal)}.guide-others li.active a{color:var(--seal);font-weight:700}
.guide-head{display:flex;align-items:center;gap:1rem;margin:.6rem 0 1.2rem}.guide-head h1{margin:0;font-size:clamp(1.8rem,3vw,2.5rem)}.guide-head p{margin:.2rem 0 0;color:var(--ink-soft)}
.guide-head .guide-card-icon{width:60px;height:60px}.guide-head .icon{width:30px;height:30px}
.guide-prose h2{scroll-margin-top:100px;padding-top:.6rem;border-top:1px solid var(--line)}.guide-prose h2:first-child{border-top:0;padding-top:0}.guide-prose h3{scroll-margin-top:100px}
.item-ref{display:inline-flex;align-items:center;gap:.3rem;padding:.05rem .45rem .05rem .1rem;border:1px solid var(--line);border-radius:5px;background:#fffaf0;vertical-align:middle;line-height:1.5;white-space:nowrap}
.item-ref img{width:26px;height:26px;padding:1px;border-radius:4px;background:#1a150f;border:1px solid #5a4a30}.item-ref b{font-size:.9em;color:var(--ink)}
.item-ref-super img{border-color:#c9982f;box-shadow:0 0 6px #e0b85a88}
.news-table .item-ref{white-space:normal}
@media(max-width:960px){.guide-layout{grid-template-columns:1fr}.guide-side{position:static;max-height:none}.guide-others{display:none}}
/* Discord: floating dock on every page and the home community section */
.discord-logo{display:inline-block;width:22px;height:22px;background:#fff;-webkit-mask:url("../img/social/discord.svg") center/contain no-repeat;mask:url("../img/social/discord.svg") center/contain no-repeat;vertical-align:middle}
.discord-dock{position:fixed;bottom:18px;inset-inline-start:18px;z-index:45}
.discord-dock summary{list-style:none;display:flex;align-items:center;gap:.45rem;padding:.55rem .8rem;border-radius:999px;background:#5865f2;color:#fff;cursor:pointer;box-shadow:0 8px 24px #5865f266,0 2px 6px #0004;transition:transform .2s,box-shadow .2s}
.discord-dock summary::-webkit-details-marker{display:none}
.discord-dock summary:hover{transform:translateY(-2px);box-shadow:0 12px 30px #5865f288}
.discord-dock-count{display:flex;align-items:center;gap:.35rem;font-weight:800;font-size:.9rem}.discord-dock-count i,.discord-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#23a55a;box-shadow:0 0 0 2px #23a55a44;animation:discord-pulse 2s ease-in-out infinite}
@keyframes discord-pulse{50%{box-shadow:0 0 0 5px #23a55a00}}
.discord-panel{position:absolute;bottom:calc(100% + 10px);inset-inline-start:0;width:min(330px,calc(100vw - 36px));max-height:min(520px,calc(100vh - 120px));overflow:auto;padding:1rem;border-radius:12px;background:#1e1f24;color:#dbdee1;box-shadow:0 24px 60px #000a;animation:promo-in .3s cubic-bezier(.22,1,.36,1)}
.discord-head{display:flex;align-items:center;gap:.7rem;padding-bottom:.8rem;margin-bottom:.4rem;border-bottom:1px solid #ffffff14}
.discord-head .discord-logo{width:36px;height:36px;padding:8px;border-radius:12px;background-color:#fff;box-shadow:inset 0 0 0 40px #5865f2}
.discord-head strong{display:block;color:#fff}.discord-head small{display:flex;align-items:center;gap:.4rem;color:#b5bac1}
.discord-label{margin:.7rem 0 .35rem;font-size:.7rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#949ba4}
.discord-voice{padding:.45rem .55rem;border-radius:6px;background:#2b2d31;margin-bottom:.4rem}.discord-voice strong{font-size:.85rem;color:#f2f3f5}
.discord-avatars{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.35rem}.discord-avatars img{width:24px;height:24px;border-radius:50%}
.discord-members{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.15rem}
.discord-members li{display:flex;align-items:center;gap:.55rem;padding:.3rem .35rem;border-radius:6px}.discord-members li:hover{background:#2b2d31}
.discord-avatar{position:relative;flex:none;width:32px;height:32px}.discord-avatar img{width:100%;height:100%;border-radius:50%}
.discord-avatar i{position:absolute;right:-2px;bottom:-2px;width:12px;height:12px;border-radius:50%;border:3px solid #1e1f24;background:#23a55a}
.discord-avatar i.status-idle{background:#f0b232}.discord-avatar i.status-dnd{background:#f23f43}
.discord-name{display:flex;flex-direction:column;font-size:.9rem;color:#f2f3f5;overflow:hidden}.discord-name small{color:#949ba4;font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.btn.discord-join{display:block;width:100%;margin-top:.8rem;background:#5865f2;border-color:#5865f2;color:#fff;font-weight:700}.btn.discord-join:hover{background:#4752c4;color:#fff}
.discord-community{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.5rem;align-items:center;padding:1.8rem 2rem;border-top:3px solid #5865f2;background:linear-gradient(120deg,#fbf7ee 55%,#eef0ff)}
.discord-community h2{display:flex;align-items:center;gap:.6rem;margin:.2rem 0 .5rem}.discord-community h2 .discord-logo{width:34px;height:34px;padding:7px;border-radius:10px;background-color:#fff;box-shadow:inset 0 0 0 40px #5865f2}
.discord-community p{color:var(--ink-soft)}.discord-stat{display:flex;align-items:center;gap:.45rem;font-size:1.05rem}.discord-community .btn.discord-join{display:inline-block;width:auto;padding:.6rem 1.6rem}
.discord-community-faces{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:center}.discord-community-faces .discord-avatar{width:44px;height:44px}.discord-community-faces .discord-avatar i{border-color:#f3f1f8}
.discord-more{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#5865f2;color:#fff;font-weight:800;font-size:.8rem}
.setup-steps{margin:0 0 1rem;padding-inline-start:1.2rem;color:var(--ink-soft)}.setup-steps li{margin:.3rem 0}
@media(max-width:760px){.discord-community{grid-template-columns:1fr}.discord-dock{bottom:12px;inset-inline-start:12px}}
@media(prefers-reduced-motion:reduce){.discord-dock-count i,.discord-dot,.discord-panel{animation:none}}
@media(max-width:760px){.site-nav .brand img{height:72px}}

/* Hall of Champions */
.champ-live{display:inline-block;width:.55rem;height:.55rem;margin-inline-end:.35rem;border-radius:50%;background:var(--ok);vertical-align:middle;animation:pulse 1.6s ease-in-out infinite}
.champ-castle{display:flex;align-items:center;gap:2rem;padding:2rem 2.4rem;margin-bottom:1.6rem;background:linear-gradient(120deg,#1d1812 0%,#2e231a 55%,#4a3420 100%);border:1px solid #b8913f;color:#efe3c8}
.champ-castle h2{color:#f5d77e;font-size:clamp(1.8rem,4vw,2.6rem);margin:.2rem 0 .8rem}
.champ-castle-crest{flex:none;display:grid;place-items:center;width:96px;height:96px;border-radius:50%;border:2px solid #c9982f;background:radial-gradient(#5a4020,#1d1812);box-shadow:0 0 24px #e0b85a55}
.champ-castle-crest .icon{width:48px;height:48px;color:#f5d77e}
.champ-castle strong{color:#fff4d8}.champ-castle p,.champ-castle .champ-hero span{color:#efe3c8}.champ-castle .champ-meta{color:#f5d77e}
.champ-hero{display:flex;align-items:center;gap:.8rem;margin:0 0 .8rem}.champ-hero span{display:flex;flex-direction:column}.champ-hero small{color:#c9b58a}.champ-hero .portrait{--p:48px}
.champ-won{margin:.4rem 0;padding:.5rem .8rem;border-inline-start:3px solid #c9982f;background:#c9982f14;font-size:.93rem}
.champ-meta{display:flex;align-items:center;gap:.4rem;margin:.6rem 0 0;font-size:.9rem;color:#f5d77e}.champ-meta .icon{width:1rem;height:1rem}
.champ-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.1rem;align-items:start}
.champ-card{display:flex;flex-direction:column;background:#fbf7eef5;border:1px solid #d6c59d;border-top:3px solid var(--gold);border-radius:6px;box-shadow:0 14px 30px #3a2c141a;overflow:hidden}
.champ-card>header{display:flex;align-items:center;gap:.6rem;padding:.8rem 1rem;border-bottom:1px solid #e3d6b6;background:linear-gradient(#fffaf0,#f6eedb)}
.champ-card h3{flex:1;margin:0;font-size:1.05rem;line-height:1.2}
.champ-card-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#1d1812;color:#f5d77e;flex:none}.champ-card-icon .icon{width:16px;height:16px}
.champ-next{flex:none;padding:.15rem .55rem;border:1px solid var(--line);border-radius:999px;font-size:.75rem;font-weight:600;color:var(--muted);white-space:nowrap}
.champ-next.is-now{border-color:var(--ok);color:#fff;background:var(--ok)}
.champ-spot{display:flex;align-items:center;gap:1rem;padding:1.1rem 1rem .6rem}
.champ-spot-face{position:relative;flex:none}.champ-spot-face .portrait{--p:68px}
.champ-spot-face .medal{position:absolute;bottom:-4px;inset-inline-end:-6px;width:1.6rem;height:1.6rem;font-size:.75rem;box-shadow:0 2px 6px #0004}
.champ-spot-crest{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:radial-gradient(#5a4020,#1d1812);border:2px solid #c9982f}.champ-spot-crest .icon{width:32px;height:32px;color:#f5d77e}
.champ-spot-text{display:flex;flex-direction:column;min-width:0}
.champ-spot-text small{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);font-weight:700}
.champ-spot-text strong{font:700 1.25rem/1.2 Cinzel,Georgia,serif;overflow-wrap:anywhere}
.champ-spot-text span{font-size:.86rem;color:var(--ink-soft)}
.champ-prize{display:flex;align-items:center;gap:.7rem;margin:0 1rem .6rem;padding:.5rem .6rem;border-radius:6px;background:#1d1812;color:#f6ecd6}
.champ-prize .item-slot{width:48px;height:48px;flex:none}.champ-prize .item-slot img{width:42px;height:42px}
.champ-prize span{display:flex;flex-direction:column;font-weight:600;font-size:.9rem}.champ-prize small{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:#c9b58a;font-weight:700}
.champ-card-won{margin:0 1rem .7rem;font-size:.84rem;color:var(--ink-soft)}
.champ-others{list-style:none;margin:0;padding:.2rem 1rem .9rem;border-top:1px dashed #e3d6b6}
.champ-others li{display:flex;align-items:center;gap:.6rem;padding:.4rem 0;border-bottom:1px dashed #eee3c8}.champ-others li:last-child{border-bottom:0}
.champ-others .medal{width:1.6rem;height:1.6rem;font-size:.75rem;flex:none}
.champ-others strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.92rem}
.champ-others small{color:var(--muted);font-size:.78rem;white-space:nowrap}
.champ-vacant{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.3rem;padding:1.4rem 1rem 1.3rem;color:var(--muted)}
.champ-vacant-crest{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;border:2px dashed #cdbd98;color:#cdbd98}.champ-vacant-crest .icon{width:26px;height:26px}
.champ-vacant strong{font:700 1rem Cinzel,Georgia,serif;letter-spacing:.08em;color:var(--ink-soft);text-transform:uppercase}
.champ-vacant p{margin:0;font-size:.86rem}
@media(max-width:760px){.champ-castle{flex-direction:column;text-align:center;padding:1.6rem 1.2rem}.champ-hero,.champ-meta{justify-content:center}.champ-cards{grid-template-columns:1fr}}
.lang-menu{position:relative}
.lang-menu>summary{list-style:none;cursor:pointer;font-family:Inter,sans-serif;font-weight:700;letter-spacing:.06em}.lang-menu>summary::-webkit-details-marker{display:none}
.lang-list{position:absolute;inset-inline-end:.4rem;top:calc(100% + .4rem);z-index:30;min-width:9rem;padding:.3rem;background:#fffaf0;border:1px solid #b8913f;border-radius:4px;box-shadow:0 12px 28px #3a2c1433}
.lang-list a{display:block;padding:.4rem .7rem;border-radius:3px;color:var(--ink);text-decoration:none;font-family:"Noto Kufi Arabic",Inter,sans-serif}
.lang-list a:hover{background:#f5d77e55}.lang-list a[aria-current]{color:var(--gold);font-weight:700}
.discord-intro{margin:.2rem 0 .6rem;font-size:.9rem;color:#b5bac1}
.discord-soon{margin:0 0 .4rem;padding:.5rem .7rem;border-radius:6px;background:#5865f222;font-size:.88rem;font-weight:600}
.discord-community-logo{display:grid;place-items:center}.discord-community-logo .discord-logo{width:120px;height:120px;background:#5865f2}

/* Mid-width desktops: keep the full header on one line (signed in it carries coins and the user menu too). */
@media(min-width:1181px) and (max-width:1520px){
  .site-nav .container{gap:.9rem}.nav-links{gap:.8rem;margin-inline-start:.3rem;font-size:.9rem}
  .site-nav .brand img{height:84px}
  .user-menu-name,.coin-chip-text small{display:none}
}

/* Game tooltips (item and skill), drawn like the client: the frame art stretches around translated text. */
.tt{position:relative;width:300px;max-width:100%;padding:30px 30px 30px 28px;color:#fff;font:13px/1.45 Tahoma,Verdana,"Noto Kufi Arabic",sans-serif;text-align:start;filter:drop-shadow(0 10px 18px #0005)}
.tt::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;border-style:solid;border-width:32px;border-image:url("../img/cards/frame-epic.webp") 32 fill stretch}
.tt-legendary::before{border-width:52px;border-image-source:url("../img/cards/frame-legendary.webp");border-image-slice:52 fill}
.tt-skill::before{border-width:50px 50px 40px;border-image-source:url("../img/cards/frame-skill.webp");border-image-slice:50 50 40 fill}
.tt-legendary{padding:32px 34px}.tt-skill{padding:34px 30px 36px}
.tt>*{position:relative;z-index:1}
.tt p{margin:0 0 .15rem;color:#fff}
.tt-head{display:flex;gap:.8rem;align-items:flex-start;margin-bottom:.1rem}
.tt-head .item-slot{width:52px;height:52px;flex:none}.tt-head .item-slot img{width:46px;height:46px}
.tt-lines{display:flex;flex-direction:column;min-width:0}
.tt-name{font-weight:400;color:#f4e39a;overflow-wrap:anywhere}
.tt-skill .tt-name,.tt-gold{color:#f0b060}.tt-skill .tt-gold{color:#f4e39a}
.tt-title{color:#f0a868 !important;margin-top:.2rem !important}
.tt-skill .tt-title{margin-top:.9rem !important;color:#f0b060 !important}
.tt-skill-icon{width:42px;height:42px;flex:none;border-radius:2px}
.tt hr{margin:.7rem -6px .8rem;border:0;border-top:1px solid #ffffff33;opacity:1}
.tt em{font-style:normal;color:#5fd35f}
.showcase .cards .tt:last-child{margin-top:2.5rem}
@media(max-width:600px){.showcase .cards{flex-direction:column;align-items:center}.showcase .cards .tt:last-child{margin-top:0}}

/* Home hero, large */
.hero-copy{max-width:1000px;padding:2.5rem 3rem 3rem}
.hero-copy .eyebrow{font-size:clamp(.8rem,1.3vw,1rem);letter-spacing:.3em;margin-bottom:.4rem;color:#6e4f14;font-weight:800;text-shadow:0 0 10px #f3ecdc,0 0 18px #f3ecdc,0 1px 0 #fff}
.wordmark{width:min(540px,86vw)}
.slogan{width:min(100%,860px);margin:.4rem auto 2.2rem}
.slogan-ar{font-size:clamp(1.4rem,2.6vw,1.9rem)}
.hero-actions{gap:1.1rem}
.hero-actions .btn{padding:.95rem 2rem;font-size:1.15rem;gap:.6rem}.hero-actions .btn .icon{width:1.3rem;height:1.3rem}
.server-line{margin-top:1.8rem;padding:.5rem 1.2rem;font-size:1.05rem}.server-line .dot{width:.65rem;height:.65rem}
@media(max-width:600px){.hero-copy{padding:1.5rem 1rem 2rem}.hero-actions .btn{padding:.8rem 1.4rem;font-size:1rem}}
.field-link{display:inline-block;margin-top:.35rem;font-size:.85rem;color:var(--gold)}
.invite-note{margin:-.4rem 0 1rem;padding:.55rem .8rem;border-radius:6px;background:#c9982f1f;border:1px solid #c9982f66;font-size:.9rem;font-weight:600;color:var(--ink)}
.invite-section{display:flex;gap:1.5rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.invite-section>div{flex:1;min-width:260px}
.invite-link{display:flex;gap:.5rem;max-width:560px}.invite-link input{font-family:ui-monospace,Consolas,monospace;font-size:.9rem}
.invite-stats{display:flex;gap:1.4rem;margin:0}.invite-stats div{text-align:center}.invite-stats dt{font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}.invite-stats dd{margin:0;font:700 1.8rem Cinzel,Georgia,serif;color:var(--gold)}
.hero-link{color:inherit;text-decoration:none;border-bottom:1px dotted currentColor}.hero-link:hover{color:var(--seal)}
.champ-past{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;margin:0;padding:.6rem 1rem .9rem;border-top:1px dashed #e3d6b6;font-size:.8rem;color:var(--muted)}.champ-past>span:first-child{font-weight:700;letter-spacing:.1em;text-transform:uppercase;font-size:.7rem;margin-inline-end:.2rem}.champ-past-item{padding:.1rem .5rem;border:1px solid var(--line);border-radius:999px;background:#fffaf0;color:var(--ink-soft)}

/* Hero profile */
.hero-card{position:relative;display:flex;align-items:center;gap:2rem;padding:2rem 2.4rem;margin:2rem 0 1.4rem;background:linear-gradient(120deg,#1d1812 0%,#2e231a 55%,#4a3420 100%);border:1px solid #b8913f;color:#efe3c8}
.hero-card-face .portrait{--p:128px}
.hero-card h1{margin:.1rem 0 .3rem;color:#f5d77e;font-size:clamp(2rem,4.5vw,3rem);overflow-wrap:anywhere}
.hero-card .eyebrow{color:#e0b85a}
.hero-worn-title{margin:0 0 .8rem;color:#f0c674;font-weight:700;letter-spacing:.06em}
.hero-stats{display:flex;flex-wrap:wrap;gap:.6rem 1.6rem;margin:0}.hero-stats div{min-width:5rem}
.hero-stats dt{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:#c9b58a;font-weight:700}.hero-stats dd{margin:0;font:700 1.25rem Cinzel,Georgia,serif;color:#fff4d8}
.hero-share{position:absolute;top:1.2rem;inset-inline-end:1.2rem;background:#fffaf01a;color:#f5d77e;border-color:#c9982f}
.hero-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:1.1rem;align-items:start}
.hero-gear,.hero-side .panel{padding:1.3rem 1.4rem}.hero-side{display:grid;gap:1.1rem}
.gear-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.6rem}
.gear-slot{display:flex;align-items:center;gap:.7rem;padding:.45rem .6rem;border:1px solid #e3d6b6;border-radius:6px;background:#fffaf0}
.gear-slot .item-slot{width:52px;height:52px;flex:none}.gear-slot .item-slot img{width:46px;height:46px}
.gear-slot>span{display:flex;flex-direction:column;min-width:0}.gear-slot small{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:700}
.gear-slot strong{font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gear-slot em{font-style:normal;color:var(--gold);font-weight:700;font-size:.8rem}
.gear-slot.is-empty{opacity:.55}
.hero-wins{list-style:none;margin:0 0 .8rem;padding:0;display:grid;gap:.45rem}.hero-wins li{display:flex;gap:.6rem;align-items:flex-start}.hero-wins .icon{width:18px;height:18px;color:var(--gold);flex:none;margin-top:.15rem}
.hero-wins span{display:flex;flex-direction:column}.hero-wins small{color:var(--muted);font-size:.8rem}
.hero-titles{display:flex;flex-wrap:wrap;gap:.4rem}.hero-titles span{padding:.2rem .6rem;border:1px solid var(--line);border-radius:999px;font-size:.82rem;background:#fffaf0}.hero-titles .worn{border-color:#c9982f;background:#f5d77e44;font-weight:700}
.muted{color:var(--muted)}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}.hero-card{flex-direction:column;text-align:center;padding:1.8rem 1.2rem}.hero-stats{justify-content:center}.hero-share{position:static}}

/* Penalties */
.penalty-filter{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:-.5rem 0 1.4rem}
.penalty-filter a{padding:.35rem 1rem;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--ink-soft);font-weight:600;font-size:.9rem;text-decoration:none}
.penalty-filter a.active,.penalty-filter a:hover{border-color:var(--gold);color:var(--gold)}
.penalty-kind{display:inline-block;padding:.1rem .55rem;border-radius:4px;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.penalty-ban{background:#9b2c221f;color:var(--seal)}.penalty-jail{background:#9c74261f;color:var(--gold)}
.penalty-state{font-size:.82rem;color:var(--muted)}.penalty-state.is-active{color:var(--seal);font-weight:700}

/* Landing pages: maintenance, error status */
.landing-body main{min-height:100vh;display:grid;place-items:center}
.landing{max-width:720px;margin:0 auto;padding:3rem 1.5rem;text-align:center;background:radial-gradient(closest-side,#f3ecdce6 65%,#f3ecdc00)}
.landing-inline{margin:3rem auto}
.landing-logo{width:min(420px,80vw);height:auto;filter:drop-shadow(0 8px 16px #3a2c1455)}
.landing h1{font-size:clamp(2rem,5vw,3.2rem);margin:.3rem 0 .6rem}
.landing-text{font-size:1.1rem;color:var(--ink-soft);margin:0 auto 1.6rem;max-width:540px}
.landing-code{margin:0;font:700 clamp(4rem,12vw,7rem)/1 Cinzel,Georgia,serif;color:var(--gold);opacity:.85}
.landing-clock{display:inline-flex;flex-direction:column;align-items:center;gap:.2rem;margin:0 auto 1.6rem;padding:.9rem 1.8rem;border:1px solid #c9982f;border-radius:10px;background:#1d1812e6;color:#efe3c8;box-shadow:0 12px 30px #3a2c1433}
.landing-clock small{font-size:.75rem;letter-spacing:.2em;text-transform:uppercase;color:#c9b58a;font-weight:700}
.landing-clock strong{font:700 clamp(1.8rem,5vw,2.6rem)/1.1 Cinzel,Georgia,serif;color:#f5d77e;font-variant-numeric:tabular-nums}
.landing-foot{margin-top:2rem;font-size:.85rem}.landing-foot a{color:var(--muted)}
.btn .discord-logo{width:18px;height:18px;margin-inline-end:.45rem;vertical-align:-3px}

/* Site notice bar */
.site-notice{position:relative;z-index:11;padding:.55rem 1rem;text-align:center;font-weight:600;font-size:.92rem;color:#fff;background:#1d1812}
.site-notice a{color:#f5d77e;margin-inline-start:.6rem}
.notice-info{background:linear-gradient(90deg,#2e231a,#4a3420)}.notice-warn{background:#9b2c22}.notice-event{background:linear-gradient(90deg,#7a5a14,#c9982f);color:#1d1812}.notice-staff{background:#5b2a8a}

/* Staff dashboard */
.dash-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.8rem;margin-bottom:1.1rem}
.dash-card{display:flex;flex-direction:column;gap:.2rem;padding:1rem 1.1rem}.dash-card small{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:700}
.dash-card strong{font:700 1.5rem Cinzel,Georgia,serif;color:var(--ink)}.dash-card span{font-size:.8rem;color:var(--ink-soft)}
.dash-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.1rem;align-items:start}
.dash-chart{width:100%;height:140px;fill:var(--gold)}.dash-chart rect:hover{fill:var(--seal)}
.dash-check{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}.dash-check li{display:flex;gap:.6rem;align-items:flex-start}
.dash-check li>span{display:grid;place-items:center;width:1.4rem;height:1.4rem;border-radius:50%;flex:none;font-weight:700;font-size:.8rem}
.dash-check .ok>span{background:#2f6b3a;color:#fff}.dash-check .todo>span{background:#9b2c22;color:#fff}
.dash-check div{display:flex;flex-direction:column}.dash-check small{color:var(--muted);font-size:.8rem}
.dash-links{margin-top:1.2rem;text-align:center}
/* User menu wallet row: amount and Top up each stay on one line */
.account-nav .user-menu-panel a.user-menu-wallet{flex-wrap:nowrap;padding:.55rem .7rem}
.user-menu-wallet>span{display:inline-flex;align-items:center;gap:.4rem;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-menu-wallet>span .coin{flex:none}
.user-menu-wallet em{flex:none;white-space:nowrap;line-height:1.4;padding:.2rem .75rem}
.user-menu-panel{min-width:280px}

/* Home: server type and version under it; the "world first" callout */
.hero-copy .hero-version{margin:-.1rem 0 .3rem;font:700 clamp(.85rem,1.4vw,1.05rem)/1 Cinzel,Georgia,serif;letter-spacing:.35em;color:var(--seal);text-shadow:0 0 10px #f3ecdc,0 1px 0 #fff}
.world-first-note{position:relative;margin:1rem 0 1.2rem;padding:1rem 1.2rem 1rem 1.2rem;border:1px solid #c9982f;border-inline-start:4px solid #c9982f;border-radius:6px;background:linear-gradient(120deg,#f5d77e2e,#fffaf0cc)}
.world-first-note p{margin:.35rem 0 0;color:var(--ink);font-weight:500;line-height:1.55}
.world-first-badge{display:inline-block;padding:.2rem .7rem;border-radius:999px;background:linear-gradient(#f5d77e,#c9982f);color:#3b2a0a;font:700 .78rem/1.3 Cinzel,Georgia,serif;letter-spacing:.12em;text-transform:uppercase;box-shadow:0 2px 8px #c9982f55}

/* Server status */
.status-servers{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-bottom:1.1rem}
.status-card{display:flex;align-items:center;gap:1rem;padding:1.2rem 1.4rem}
.status-card h2{margin:0;font-size:1.4rem}.status-state{margin:.1rem 0 0;font-weight:700}
.status-card dl{display:flex;gap:1.2rem;margin:0 0 0 auto}.status-card dt{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.status-card dd{margin:0;font:700 1.15rem Cinzel,Georgia,serif}
.status-light{width:18px;height:18px;border-radius:50%;flex:none;background:#9b2c22;box-shadow:0 0 0 4px #9b2c2226}
.status-card.is-up .status-light{background:#2f6b3a;box-shadow:0 0 0 4px #2f6b3a26;animation:pulse 1.6s ease-in-out infinite}
.status-card.is-up .status-state{color:#2f6b3a}.status-card.is-down .status-state{color:var(--seal)}
.status-next strong{color:var(--ink)}
.dash-big{margin:.2rem 0 .6rem;font:700 2rem Cinzel,Georgia,serif}.dash-big small{font:500 .85rem Inter,sans-serif;color:var(--muted)}
@media(max-width:600px){.status-card{flex-wrap:wrap}.status-card dl{margin:0}}

/* Staff: players */
.player-search{display:flex;gap:.6rem;padding:1rem;margin-bottom:1.1rem}.player-search input{flex:1}
.player-search .icon{width:1rem;height:1rem;vertical-align:-2px}
.ban-form{margin-top:.8rem;padding-top:.8rem;border-top:1px dashed var(--line)}
.discord-invite{width:min(560px,calc(100vw - 32px));border-top-color:#5865f2}.discord-invite .promo-head .discord-logo{flex:none;width:56px;height:56px;padding:12px;border-radius:14px;background-color:#fff;box-shadow:inset 0 0 0 60px #5865f2}
.cps{display:inline-block;width:2.2em;height:1em;margin-inline-end:.25em;vertical-align:-.12em;background:url("../img/cps.png") center/contain no-repeat}
.info-rows li.info-edit{display:block;padding-top:0}.inline-form{display:flex;gap:.5rem;align-items:center}.inline-form .form-control{flex:1;min-width:0}
.spam-tip{display:flex;gap:.75rem;align-items:flex-start;margin:0 0 1.1rem;padding:.8rem 1rem;border:1px solid #e0a94a;border-inline-start:4px solid #d9822b;border-radius:6px;background:#fff4dc;text-align:start}.spam-tip-icon{font-size:1.6rem;line-height:1}.spam-tip strong{display:block;color:#8a4b0f}.spam-tip p{margin:.15rem 0 0;font-size:.9rem;color:#5c3a12}.notice-action{text-align:start;margin:.4rem 0 1rem}.notice-action p{margin:.3rem 0 .7rem}
.order-status.refunded{border-color:#3a74c4;background:#e6eefa}.order-status.refunded .order-status-icon{background:#3a74c4;color:#fff}.no-hero-banner{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin:0 0 1.2rem;padding:1rem 1.2rem;border:1px solid #d9822b;border-inline-start:5px solid #d9822b;border-radius:6px;background:#fff4dc}.no-hero-banner div{flex:1;min-width:220px}.no-hero-banner strong{display:block;color:#8a4b0f;font-size:1.05rem}.no-hero-banner p{margin:.2rem 0 0;color:#5c3a12}
.limit-dialog{width:min(520px,calc(100vw - 32px))}.limit-icon{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#f7e3df;color:var(--seal);font-size:1.6rem}.limit-dialog .promo-foot form{margin:0}.invite-rules{margin:.2rem 0 .9rem;padding-inline-start:1.2rem;font-size:.88rem;color:var(--ink-soft)}.invite-rules li{margin:.15rem 0}
.invite-clear{display:inline-block;margin-inline-start:.4rem;font-size:.8rem;font-weight:500;opacity:.8}
.staff-card{margin-bottom:1.5rem}.staff-card tr.is-new td{background:#fff4dc}.staff-add{margin-top:.8rem;max-width:420px}
.staff-card .staff-add{display:grid;grid-template-columns:minmax(0,1fr) auto;max-width:640px;align-items:center}.staff-card .staff-pm{grid-column:1/-1;grid-row:2;display:flex;gap:.5rem;align-items:flex-start}.staff-card .staff-pm input{flex:none;margin-top:.25rem}
@media(max-width:540px){.staff-card .staff-add{grid-template-columns:minmax(0,1fr)}.staff-card .staff-pm{grid-row:auto}.staff-card .staff-add .btn{justify-self:start}}
/* VIP packages: a crowned level badge; VIP 4 gets the gold look. */
.vip-card{border-top:3px solid #7a47b0}.vip-card.vip-level-4{border-top-color:#c9982f;box-shadow:0 0 0 1px #c9982f55,0 18px 40px #c9982f30}
.vip-badge{display:inline-flex;align-items:baseline;gap:.2rem;align-self:flex-start;margin-bottom:.8rem;padding:.35rem .9rem .4rem;border-radius:8px;background:linear-gradient(135deg,#4a2a78,#7a47b0);color:#fff;font:800 2rem/1 Inter,"Segoe UI",sans-serif;box-shadow:0 6px 16px #4a2a7840}
.vip-badge small{font-size:.8rem;letter-spacing:.12em;opacity:.85}.vip-level-4 .vip-badge{background:linear-gradient(135deg,#8a6420,#e2b64a);box-shadow:0 6px 16px #c9982f55}
/* Launch wishlist: member counter, gift tiers with progress, join and claim. */
/* The launch box gets its own row under the buttons, the "New to Nox?" link its own line. */
.hero-copy .launch-clock{display:flex}
.wish-panel{max-width:760px;margin:0 auto;padding:1.6rem}.wish-count{font-size:1.1rem;margin:0 0 .6rem}.wish-count strong{font-size:2rem;color:var(--seal)}
.wish-clock{margin:0 0 1rem;color:var(--ink-soft)}.wish-actions,.wish-claim{display:flex;flex-wrap:wrap;gap:.6rem;align-items:flex-end;margin-top:1rem}.wish-claim .field{flex:1 1 260px;margin:0}
.wish-tiers{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.wish-tier{display:grid;grid-template-columns:8.5rem 1fr auto;gap:.3rem .9rem;align-items:center;padding:.7rem .9rem;border:1px solid var(--line);border-radius:8px;background:#fffaf0;opacity:.8}
.wish-tier.is-open{opacity:1;border-color:#c9982f;background:linear-gradient(#fffaf0,#fbf1d8);box-shadow:0 0 0 1px #c9982f44}
.wish-goal{font-weight:800}.wish-gift{display:flex;flex-wrap:wrap;gap:.3rem .9rem;font-weight:600}.wish-state{font-size:.85rem;color:var(--muted);white-space:nowrap}.is-open .wish-state{color:var(--ok);font-weight:700}
.wish-bar{grid-column:1/-1;order:9;height:6px;border-radius:99px;background:#e9dcc0;overflow:hidden}.wish-bar span{display:block;height:100%;background:linear-gradient(90deg,#c9982f,#e2b64a)}
.constellation{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .8rem;margin:.6rem 0 0;font-size:.9rem}.constellation .wish-bar{flex:1 1 8rem;max-width:16rem}.constellation small{flex-basis:100%;opacity:.8}
.wish-state{display:flex;align-items:center;gap:.6rem}.wish-remove{margin:0}
.store-settings .wish-tiers{margin-top:.8rem}.store-settings .wish-count{margin:.6rem 0 0}
@media(max-width:560px){.wish-tier{grid-template-columns:1fr auto}.wish-gift{grid-column:1/-1;order:3}}
/* Admin forms: fields of a row side by side, wrapping on narrow screens. */
.news-editor-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;align-items:start}.news-editor-row .field{margin:0}.news-editor-row+.btn{margin-top:1rem}

/* Landing page (/Welcome): one scroll from welcome to register. */
.btn-lg{padding:.95rem 1.7rem;font-size:1.05rem}
.lp-hero{min-height:calc(100vh - 64px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:1.1rem;padding:3rem 0 4rem;position:relative}
.lp-kicker{margin:0;padding:.3rem .9rem;border:1px solid #c9982f66;border-radius:999px;background:#fffaf0cc;color:var(--gold);font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.lp-hero h1{margin:0;display:flex;flex-direction:column;align-items:center;gap:.2rem}
.lp-welcome{font:600 clamp(1.1rem,2.4vw,1.5rem) Cinzel,Georgia,serif;letter-spacing:.3em;text-transform:uppercase;color:var(--seal);padding:.15rem .9rem;border-radius:6px;background:#fffaf0d9;box-shadow:0 4px 14px #3a2c1426}
.lp-hero .wordmark{width:auto;max-width:min(460px,80vw);max-height:36vh}
.lp-lead{max-width:640px;margin:0;padding:.5rem 1rem;border-radius:8px;background:#fffaf0b3;font-size:clamp(1.05rem,2vw,1.25rem);line-height:1.6;color:var(--ink-soft)}
.lp-live{display:flex;align-items:center;gap:.5rem;margin:0;font-weight:600}
.lp-soon{margin:0;padding:.55rem 1.2rem;border-radius:999px;background:linear-gradient(#f5d77e,#c9982f);color:#3b2a0a;font-weight:700;box-shadow:0 8px 20px #c9982f40}
.lp-gifts-soon{text-align:center;font-weight:600;color:var(--ink-soft)}
.lp-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem;margin-top:.4rem}.lp-actions form{margin:0}
.lp-scroll{position:absolute;bottom:1rem;left:50%;translate:-50% 0;width:2.4rem;height:2.4rem;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);background:#fffaf0cc;color:var(--ink);text-decoration:none;animation:lp-bob 2.4s ease-in-out infinite}
@keyframes lp-bob{50%{transform:translateY(6px)}}
.lp-rise{animation:lp-rise .8s cubic-bezier(.2,.7,.2,1) both}.lp-hero .lp-rise:nth-child(2){animation-delay:.08s}.lp-hero .lp-rise:nth-child(3){animation-delay:.16s}.lp-hero .lp-rise:nth-child(4){animation-delay:.24s}.lp-hero .lp-rise:nth-child(5){animation-delay:.32s}
@keyframes lp-rise{from{opacity:0;transform:translateY(18px)}}
.lp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;border:1px solid #c9982f55;border-radius:12px;overflow:hidden;background:#c9982f55;box-shadow:0 14px 34px #3a2c141f}
.lp-stat{display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:1.3rem .8rem;background:#fbf7eef5;text-align:center}
.lp-stat strong{font:700 clamp(1.8rem,3.6vw,2.4rem)/1 Cinzel,Georgia,serif;color:var(--seal)}.lp-stat span{font-size:.85rem;color:var(--ink-soft)}
.lp-world{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:2.4rem;align-items:center;padding:2rem}.lp-world-text{text-align:start}
.lp-world-text h2{margin:.8rem 0 .6rem}.lp-world-text p{line-height:1.65}
.lp-world-shots{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.lp-world-shots img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;border:1px solid #c9982f66;box-shadow:0 16px 36px #3a2c1430}
.lp-gallery{display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;margin-top:4.5rem;padding:.4rem .2rem 1rem}
.lp-gallery figure{flex:0 0 min(340px,78vw);margin:0;scroll-snap-align:start;position:relative;border-radius:10px;overflow:hidden;border:1px solid #c9982f55;box-shadow:0 12px 28px #3a2c1426}
.lp-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .5s}.lp-gallery figure:hover img{transform:scale(1.05)}
.lp-gallery figcaption{position:absolute;inset:auto 0 0;padding:1.6rem .9rem .7rem;background:linear-gradient(transparent,#140e08d0);color:#fff;font-weight:700}
.lp-gifts{padding:2rem;border-top:3px solid #c9982f;background:radial-gradient(120% 70% at 50% 0,#e2b64a2e,transparent 70%),#fbf7eef5}
.lp-gifts-head{text-align:center;margin-bottom:1.2rem}.lp-gifts-head h2{margin:.3rem 0}.lp-gifts .lp-actions{margin-top:1.2rem}
.lp-steps ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}
.lp-steps li{position:relative;padding:1.6rem 1.4rem 1.3rem;text-align:start}.lp-steps h3{margin:.6rem 0 .3rem;font-family:Inter,"Segoe UI",sans-serif;font-size:1.1rem}.lp-steps p{margin:0 0 .6rem;color:var(--ink-soft)}
.lp-step{display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:50%;background:linear-gradient(135deg,var(--seal),#c0532f);color:#fff;font:700 1.1rem Cinzel,Georgia,serif;box-shadow:0 6px 14px #9b2c2240}
.lp-js .lp-reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}.lp-js .lp-reveal.is-in{opacity:1;transform:none}
@media(max-width:820px){.lp-world{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.lp-rise,.lp-scroll{animation:none}.lp-gallery img{transition:none}}
/* Register: the launch wishlist offer above the form. */
.register-wish{margin:0 0 1.2rem;padding:.9rem 1.1rem;border:1px solid #c9982f;border-radius:10px;background:linear-gradient(#fffaf0,#f8ecce);text-align:start;box-shadow:0 0 0 3px #e2b64a22}
.register-wish p{margin:0 0 .35rem;font-size:.9rem;color:var(--ink-soft)}.register-wish-title{font-weight:800;color:var(--ink)!important;font-size:1rem!important}
.register-wish-meta{margin:0!important;font-size:.85rem!important}.register-wish-meta strong{color:var(--seal)}.register-wish-meta a{color:var(--seal);font-weight:700}

/* Home: Discord community banner, news + server status, closing call to action. */
.discord-community{position:relative;overflow:hidden;border:0;border-radius:14px;padding:2.2rem 2.4rem;color:#fff;
  background:radial-gradient(90% 140% at 100% 0,#7983ff 0,transparent 55%),linear-gradient(135deg,#23255a 0%,#3b44a8 55%,#5865f2 100%);box-shadow:0 22px 50px #23255a40}
.discord-community::after{content:"";position:absolute;inset-inline-end:-40px;bottom:-60px;width:300px;height:300px;background:#fff;opacity:.07;
  -webkit-mask:url("../img/social/discord.svg") center/contain no-repeat;mask:url("../img/social/discord.svg") center/contain no-repeat;pointer-events:none}
.discord-community .eyebrow{display:inline-block;background:#ffffff1f;color:#dfe2ff;border-color:#ffffff33}
.discord-community h2{color:#fff;font-size:clamp(1.5rem,3vw,2.1rem)}.discord-community p{color:#e3e6ff}
.discord-community h2 .discord-logo{background-color:#fff;box-shadow:inset 0 0 0 40px #fff;-webkit-mask:none;mask:none;position:relative}
.discord-community h2 .discord-logo::before{content:"";position:absolute;inset:7px;background:#5865f2;-webkit-mask:url("../img/social/discord.svg") center/contain no-repeat;mask:url("../img/social/discord.svg") center/contain no-repeat}
.discord-stat{color:#fff!important}.discord-stat strong{font-size:1.5rem}
.discord-community .btn.discord-join{background:#fff;border-color:#fff;color:#3b44a8;padding:.75rem 1.8rem;font-size:1.02rem;margin-inline-end:.6rem;box-shadow:0 8px 20px #0003}
.discord-community .btn.discord-join:hover{background:#eef0ff;color:#23255a}
.discord-community .btn:not(.discord-join){background:transparent;border:1px solid #ffffff66;color:#fff;padding:.7rem 1.3rem}.discord-community .btn:not(.discord-join):hover{background:#ffffff1a}
.discord-community-faces{position:relative;z-index:1}.discord-community-faces .discord-avatar{width:56px;height:56px;margin-inline-start:-10px;border-radius:50%;box-shadow:0 0 0 3px #3b44a8,0 8px 18px #0004}
.discord-community-faces .discord-avatar i{border-color:#3b44a8}.discord-more{width:56px;height:56px;background:#ffffff26;box-shadow:0 0 0 3px #3b44a8}
.news-grid .panel{border-radius:12px;overflow:hidden}
.news-list a{display:flex;align-items:center;gap:.7rem;padding:.65rem .6rem;margin:0 -.6rem;border-radius:8px;transition:background .15s}
.news-list a:hover{background:#f3e6c6;color:var(--seal)}
.news-list span{flex:none;padding:.12rem .5rem;border-radius:6px;background:#c9982f22;color:#7a5a1a;font-size:.8rem;font-weight:700}
.servers{display:flex;flex-direction:column}.server-row{padding:.75rem 0}
.servers .status{display:inline-flex;align-items:center;gap:.4rem;padding:.2rem .7rem;border-radius:999px;font-size:.82rem;font-weight:700;border:0!important}
.servers .status i{width:7px;height:7px;border-radius:50%;background:currentColor}
.servers .status.online{background:#2f6b3a1f;color:var(--ok)}.servers .status.online i{box-shadow:0 0 0 3px #2f6b3a2e;animation:discord-pulse 2s ease-in-out infinite}
.servers .status.offline{background:#6a5f4e1a;color:var(--muted)}
.players{margin-top:auto;padding-top:1rem;border-top:1px solid var(--line);color:var(--ink-soft)}.players strong{font:700 2rem/1 Cinzel,Georgia,serif;color:var(--seal);margin-inline-end:.3rem}
.cta{position:relative;overflow:hidden;border:1px solid #b8913f;border-radius:14px;padding:2.4rem 2.6rem;color:#efe3c8;
  background:radial-gradient(70% 120% at 0 0,#5a3a1c 0,transparent 60%),linear-gradient(120deg,#1d1812 0%,#2e231a 60%,#4a3420 100%);box-shadow:0 22px 50px #1d181240}
.cta h2{color:#f5d77e;font-size:clamp(1.6rem,3.4vw,2.3rem);margin:0 0 .4rem}.cta p{color:#e8dcc0;margin:0}
.cta .btn-ink{background:transparent;border-color:#c9982f;color:#f5d77e}.cta .btn-ink:hover{background:#c9982f22;color:#fff}
@media(prefers-reduced-motion:reduce){.servers .status.online i{animation:none}}
/* Landing: live events with countdowns, joined-today. */
.lp-events{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.lp-event{position:relative;padding:1.3rem 1.3rem 1.1rem;border-radius:12px;text-align:start;border-top:3px solid var(--gold)}
.lp-event.is-live{border-top-color:var(--seal);background:radial-gradient(120% 80% at 0 0,#9b2c2214,transparent 60%),#fbf7eef5}
.lp-event-tag{display:inline-block;padding:.15rem .6rem;border-radius:999px;background:#c9982f22;color:#7a5a1a;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.is-live .lp-event-tag{background:var(--seal);color:#fff;animation:lp-live 1.6s ease-in-out infinite}
@keyframes lp-live{50%{box-shadow:0 0 0 6px #9b2c2200}0%{box-shadow:0 0 0 0 #9b2c2266}}
.lp-event h3{margin:.6rem 0 .2rem;font-family:Inter,"Segoe UI",sans-serif;font-size:1.05rem}.lp-event p{margin:0;color:var(--muted);font-size:.88rem}
.lp-event-time{margin-top:.7rem!important;color:var(--ink-soft)!important}.lp-event-time strong{font:700 1.6rem/1 Cinzel,Georgia,serif;color:var(--seal);font-variant-numeric:tabular-nums}
.lp-today{display:inline-block;margin:.2rem 0 0;padding:.25rem .8rem;border-radius:999px;background:#9b2c2214;color:var(--seal);font-weight:700}
@media(prefers-reduced-motion:reduce){.is-live .lp-event-tag{animation:none}}
/* Wishlist page: hero counter, your status, milestone road, gift cards. */
.wl-me{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.2rem 2rem;padding:1.6rem 2rem;border-radius:14px}
.wl-me-text{flex:1 1 340px}.wl-me-text h2{margin:0 0 .3rem}.wl-me-text p{margin:0;color:var(--ink-soft)}
.wl-me-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:0}
.wl-in{display:inline-flex;align-items:center;gap:.4rem;margin:0 0 .4rem!important;padding:.35rem 1rem;border-radius:999px;background:#2f6b3a1f;color:var(--ok)!important;font-size:1.25rem;font-weight:800}
.wl-invite{flex:1 1 380px;padding:1rem 1.1rem;border:1px dashed #c9982f;border-radius:10px;background:#fffaf0}.wl-invite p{margin:0 0 .6rem;color:var(--ink-soft)}
.wl-empty{padding:1.4rem;border-radius:12px}
.wl-road{padding:2.6rem 2.4rem 2.2rem;border-radius:14px}
.wl-track{position:relative;height:12px;margin:0 .9rem;border-radius:99px;background:#e9dcc0;box-shadow:inset 0 1px 3px #0002}
.wl-fill{position:absolute;inset-block:0;inset-inline-start:0;border-radius:99px;background:linear-gradient(90deg,#c9982f,#f5d77e);box-shadow:0 0 14px #e2b64a99}
.wl-node{position:absolute;top:50%;translate:-50% -50%;display:flex;flex-direction:column;align-items:center;gap:.35rem}[dir=rtl] .wl-node{translate:50% -50%}
.wl-node i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fffaf0;border:2px solid #d6c59d;font-style:normal;font-size:.9rem;box-shadow:0 4px 10px #3a2c1426}
.wl-node.is-open i{background:linear-gradient(135deg,#c9982f,#f5d77e);border-color:#fff;color:#3b2a0a;font-weight:800}
.wl-node small{position:absolute;top:calc(100% + .35rem);font-weight:800;color:var(--ink-soft);white-space:nowrap}
.wl-gifts{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem;margin-top:1rem}
.wl-gift{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.4rem;padding:1.6rem 1.2rem 1.3rem;border-radius:14px;transition:transform .2s,box-shadow .2s}
.wl-gift.is-open{border-top:3px solid #c9982f;background:radial-gradient(120% 60% at 50% 0,#e2b64a33,transparent 70%),#fbf7eef5;box-shadow:0 0 0 1px #c9982f55,0 18px 40px #c9982f30}
.wl-gift-art{position:relative}.wl-gift.is-locked .wl-gift-art::after{content:"🔒";position:absolute;inset-inline-end:-.4rem;bottom:-.3rem;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fffaf0;border:2px solid #d6c59d;font-size:.85rem;box-shadow:0 4px 10px #3a2c1430}
.wl-gift:hover{transform:translateY(-4px)}
.wl-gift-state{align-self:flex-end;padding:.15rem .6rem;border-radius:999px;font-size:.75rem;font-weight:800;background:#6a5f4e1a;color:var(--muted)}.is-open .wl-gift-state{background:#2f6b3a1f;color:var(--ok)}
.wl-gift-art{display:flex;align-items:center;justify-content:center;gap:.6rem;min-height:96px}
.wl-coin{width:72px;height:72px;border-radius:50%;background:#2a1a10 url("../img/nox-icon.png") center/cover no-repeat;box-shadow:0 0 0 3px #c9982f,0 10px 24px #c9982f55}
.wl-gift-goal{margin:.2rem 0 0;font:700 1.05rem Cinzel,Georgia,serif;color:var(--seal)}
.wl-gift ul{list-style:none;margin:0;padding:0;color:var(--ink)}.wl-gift li{margin:.15rem 0}
@media(max-width:640px){.wl-road{padding:2.4rem 1.2rem 2rem}.wl-me{padding:1.3rem}}
/* Home: the big launch timer in the hero box (gold tiles that flip each tick). */
  background:linear-gradient(#3a2c1a,#1d1812 55%,#2b2015);color:#f5d77e;font:700 clamp(2.2rem,6vw,3.6rem)/1 Cinzel,Georgia,serif;font-variant-numeric:tabular-nums;
  text-shadow:0 0 16px #e2b64a99,0 2px 0 #00000066;box-shadow:inset 0 1px 0 #ffffff1f,inset 0 -10px 18px #0006,0 8px 18px #0007;position:relative;overflow:hidden}
@keyframes nox-flip{0%{transform:perspective(300px) rotateX(-80deg);filter:brightness(1.6)}100%{transform:none;filter:none}}
@keyframes nox-blink{50%{opacity:.3}}
/* New-password checklist (_PasswordRules). */
.pw-rules{margin:.45rem 0 0;font-size:.82rem;color:var(--muted)}.pw-rules ul{list-style:none;margin:0 0 .4rem;padding:0;display:grid;gap:.2rem}
.pw-rules li{display:flex;align-items:center;gap:.45rem}.pw-rules li::before{content:"○";width:1rem;text-align:center;font-weight:800;color:#b8a988}
.pw-rules li.ok{color:var(--ok)}.pw-rules li.ok::before{content:"✓";color:var(--ok)}
.pw-rules li.bad{color:var(--seal)}.pw-rules li.bad::before{content:"✕";color:var(--seal)}
.pw-show{display:inline-flex;align-items:center;gap:.4rem;font-size:.82rem;color:var(--ink-soft);cursor:pointer}
/* VIP page (/Vip): royal purple-and-gold hero, your VIP, the comparison table. */
.vip-compare{padding:1.2rem 1.4rem;border-radius:12px}.vip-compare table{width:100%}.vip-compare th,.vip-compare td{padding:.6rem .7rem;border-bottom:1px dashed var(--line);text-align:start}
.vip-col{text-align:center!important;font-weight:800;color:var(--ok)}.vip-compare th.vip-col{color:#7a47b0}
.vip-card.vip-level-6{border-top-color:#9b2c22;box-shadow:0 0 0 1px #9b2c2255,0 18px 40px #9b2c2230}.vip-level-6 .vip-badge{background:linear-gradient(135deg,#7d211a,#c0532f)}
/* /Vip in-game VIP items: level x duration price grid. */
.vip-items th:first-child{width:5.5rem}.vip-badge-sm{margin:0;padding:.2rem .6rem;font-size:1.1rem}
.vip-buy{display:inline-flex;flex-direction:column;align-items:center;gap:.2rem;padding:.35rem .5rem;border-radius:8px;color:var(--ink);text-decoration:none;font-weight:800;transition:background .15s,transform .15s}
.vip-buy:hover{background:#f3e6c6;transform:translateY(-2px);color:var(--seal)}.vip-buy img{image-rendering:auto;border-radius:6px;background:#1d1812}
.section-lead{margin:.3rem 0 0;color:var(--ink-soft);max-width:680px}
/* Share my VIP (/Account/Vip/Share). */
.vs-panel{padding:1.4rem 1.6rem;border-radius:12px;margin-top:1rem}.vs-panel h2{margin:0 0 .6rem}
.vs-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.8rem;margin:1rem 0}
.vs-tile{display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:1rem .6rem;border-radius:12px;background:#fbf7eef5;border:1px solid #d6c59d;text-align:center}
.vs-tile strong{font:700 1.8rem/1 Cinzel,Georgia,serif;color:#7a47b0}.vs-tile small,.vs-tile span{color:var(--muted);font-size:.8rem}
.vs-free{border-color:#2f6b3a;background:#eef7ef}.vs-free strong{color:var(--ok)}
.vs-incoming{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1.3rem 1.6rem;border-radius:12px;border-top:3px solid #7a47b0}.vs-incoming h2{margin:.2rem 0}
.vs-rules{margin:1rem 0 0;padding-inline-start:1.1rem;color:var(--ink-soft);font-size:.88rem}.vs-rules li{margin:.2rem 0}


/* Wardrobe price list (/Wardrobe) */
.wr-filter{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:.8rem;padding-bottom:.8rem}
.wr-filter .panel-tabs{flex:1 1 auto;border-bottom:0;flex-wrap:wrap}.wr-filter .panel-tabs small{color:var(--muted);font-weight:400}
.wr-filter input{max-width:260px;margin:0 1.2rem}
.wr-legend{margin:.9rem 0}
.wr-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.7rem}
.wr-look{display:flex;align-items:center;gap:.8rem;padding:.6rem;border:1px solid var(--line);border-radius:10px;background:#fbf7eef5}
.wr-look[hidden]{display:none}
.wr-look>div{display:flex;flex-direction:column;gap:.15rem;min-width:0}
.wr-look strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wr-look small{color:var(--muted);font-size:.8rem}.wr-stars{color:#c9982f;margin-inline-start:.35rem;letter-spacing:.05em}
.wr-prices{font-size:.9rem}.wr-prices b{color:#7a47b0}
@media (max-width:560px){.wr-filter input{max-width:none;margin:0 1rem;width:100%}}
.wallet-refund{display:flex;align-items:center;gap:.5rem;margin-top:.3rem;color:var(--muted);font-size:.8rem}

/* How Nox works hub: a card per topic, and the small "?" links that point to it from the store and VIP pages. */
.hub-toc{margin:1.5rem 0 0}
.hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:1rem;margin-top:.5rem}
.hub-card{scroll-margin-top:6rem}.hub-card>p{margin:0}
.hub-links{display:flex;flex-wrap:wrap;gap:.4rem 1.1rem;margin-top:1rem!important}
.help-q{display:inline-grid;place-items:center;width:1.25rem;height:1.25rem;border-radius:50%;border:1px solid var(--gold);color:var(--gold);font:700 .75rem/1 Inter,sans-serif;text-decoration:none;vertical-align:middle}.help-q:hover{background:var(--gold);color:#fff}

/* Launch countdown (Pages/Shared/_LaunchTimer): one Cinzel line, a progress bar, the date. Gold on the dark launch box and hero. */
.launch-timer{--lt-accent:var(--seal);--lt-text:var(--ink);--lt-soft:var(--muted);text-align:center;margin:.4rem auto .2rem;max-width:560px}
.lt-label{margin:0 0 .35rem!important;font:700 .74rem/1 Inter,sans-serif;letter-spacing:.26em;text-transform:uppercase;color:var(--lt-soft)!important}
.lt-line{display:block;font:600 clamp(2rem,6.2vw,3.5rem)/1.1 Cinzel,Georgia,serif;color:var(--lt-text);font-variant-numeric:tabular-nums;letter-spacing:.02em}
.lt-line em{font-style:normal;color:var(--lt-accent)}.lt-line small{font-size:.55em;letter-spacing:.06em;color:var(--lt-text)}
.lt-line i{font-style:normal;color:var(--lt-accent);padding:0 .08em;opacity:.85}
.lt-line [data-part].flip{animation:lt-fade .5s ease}
@keyframes lt-fade{from{opacity:.4}to{opacity:1}}
.lt-units{display:block;margin-top:.35rem;font:600 .68rem/1 Inter,sans-serif;letter-spacing:.28em;text-transform:uppercase;color:var(--lt-soft)}
.lt-bar{display:block;height:5px;margin:.9rem auto 0;max-width:420px;border-radius:99px;background:color-mix(in srgb,var(--lt-soft) 35%,transparent);overflow:hidden}
.lt-bar span{display:block;width:0;height:100%;border-radius:99px;background:linear-gradient(90deg,#9c7426,var(--lt-accent),#9b2c22);transition:width 1s linear}
.lt-date{margin:.7rem 0 0!important;font:600 .95rem/1.3 Cinzel,Georgia,serif;letter-spacing:.04em;color:var(--lt-text)!important}
@media(prefers-reduced-motion:reduce){.lt-line [data-part].flip{animation:none}.lt-bar span{transition:none}}

/* Day Theme badge (Pages/Shared/_DayTheme): solid theme colour, white text; the week opens on hover or tap. */
.daytheme{--dt:#9b2c22;position:relative;display:inline-block;margin:0 0 .8rem}
.dt-hunting{--dt:#2f6b3a}.dt-boss{--dt:#8a3a12}.dt-treasure{--dt:#9b2c22}.dt-exp{--dt:#5b3fa0}.dt-party{--dt:#a0336f}
.daytheme .dt-badge{text-decoration:none;display:inline-flex;align-items:center;gap:.8rem;padding:.55rem .65rem .55rem .55rem;border-radius:16px;cursor:pointer;color:#fff;
  background:linear-gradient(135deg,var(--dt),color-mix(in srgb,var(--dt) 70%,#000));box-shadow:0 6px 22px color-mix(in srgb,var(--dt) 40%,transparent),inset 0 1px 0 #ffffff33}
.dt-icon{width:2.6rem;height:2.6rem;border-radius:12px;display:grid;place-items:center;background:#ffffff26;font-size:1.35rem;box-shadow:inset 0 0 0 1px #ffffff40}
.dt-text b{display:block;font:700 1rem/1.2 Cinzel,Georgia,serif;color:#fff;letter-spacing:.02em}
.dt-text small{display:block;font:600 .88rem/1.35 Inter,sans-serif;color:#fffdf6}
.dt-left{display:grid;place-items:center;min-width:5.4rem;padding:.35rem .6rem;border-radius:10px;background:#00000038;font:700 .95rem/1.1 Inter,sans-serif;font-variant-numeric:tabular-nums;color:#fff}
.dt-left i{display:block;font:600 .62rem/1 Inter,sans-serif;font-style:normal;letter-spacing:.14em;text-transform:uppercase;opacity:.85;margin-bottom:.2rem}
.dt-week{display:none;position:absolute;top:calc(100% + .5rem);inset-inline-start:0;z-index:60;min-width:min(20rem,90vw);padding:.7rem .9rem;border-radius:14px;
  background:var(--paper);color:var(--ink);border:1px solid var(--line);box-shadow:0 12px 34px #3f372c33}
@media(hover:hover){.daytheme:hover .dt-week{display:block}}
.dt-week p{margin:0 0 .4rem;font:700 .72rem/1.3 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.dt-week .dt-note{margin:.5rem 0 0;text-transform:none;letter-spacing:0;font-weight:500;font-size:.8rem}
.dt-week ul{list-style:none;margin:0;padding:0}
.dt-week li{display:grid;grid-template-columns:6.5rem 1fr;gap:.1rem .6rem;padding:.4rem 0;border-bottom:1px solid #cdbd9866;font:500 .9rem/1.3 Inter,sans-serif}
.dt-week li:last-child{border:0}.dt-week li small{grid-column:2;color:var(--muted)}.dt-week li.is-today{color:var(--seal);font-weight:700}
.dt-compact{margin:0}.dt-compact .dt-badge{gap:.45rem;padding:.25rem .65rem .25rem .3rem;border-radius:999px;box-shadow:none}
.dt-compact .dt-icon{width:1.8rem;height:1.8rem;border-radius:50%;font-size:1rem}.dt-compact .dt-text b{font-size:.82rem}
.dt-compact .dt-week{inset-inline-start:auto;inset-inline-end:0}
@media(max-width:1180px){.dt-compact .dt-text{display:none}}

/* Page banner (Wishlist, VIP, Wardrobe, How Nox works): parchment like the home hero, Cinzel title with the key words in seal red,
   real game art framed on the side, one height on every page; stacked with the art on top on phones. */
.page-banner{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:2.4rem;min-height:400px;margin-top:2rem;padding:2.4rem 2.6rem;
  border-radius:20px;border:1px solid var(--line);background:radial-gradient(120% 90% at 0% 0%,#fffaf0 0%,#f6efdd 55%,#efe4c9 100%);
  box-shadow:0 24px 60px #3f372c24,inset 0 1px 0 #fff;position:relative;overflow:hidden}
.page-banner::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#c9982f12 1px,transparent 1px),linear-gradient(90deg,#c9982f12 1px,transparent 1px);background-size:160px 160px}
.pb-copy{position:relative;min-width:0}
.pb-eyebrow{display:inline-flex;align-items:center;gap:.5rem;margin:0 0 .9rem;font:800 .78rem/1 Inter,sans-serif;letter-spacing:.28em;text-transform:uppercase;color:#6e4f14}
.pb-eyebrow::after{content:"";width:46px;height:1px;background:linear-gradient(90deg,#9c7426,transparent)}
.pb-copy h1{margin:0;font-size:clamp(2.1rem,4.4vw,3.4rem);line-height:1.08}.pb-copy h1 em{font-style:normal;color:var(--seal)}
.pb-lead{margin:1rem 0 1.3rem;max-width:34rem;font-size:1.07rem;line-height:1.6;color:var(--ink-soft)}.pb-lead a{white-space:nowrap}
.pb-stat{display:flex;align-items:baseline;gap:.7rem;margin:0 0 1rem}
.pb-stat strong{font:700 clamp(2.6rem,6vw,3.8rem)/1 Cinzel,Georgia,serif;color:var(--seal);font-variant-numeric:tabular-nums}
.pb-stat span{font:700 .78rem/1.3 Inter,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);max-width:11rem}
.pb-pill{display:inline-flex;align-items:center;gap:.5rem;margin:0 0 1rem;padding:.45rem 1rem;border-radius:999px;background:#2f6b3a17;border:1px solid #2f6b3a33;color:var(--ok);font-weight:700}
.pb-art{position:relative;margin:0;aspect-ratio:4/3;border-radius:16px;overflow:hidden;border:1px solid #c9982f99;transform:rotate(1.2deg);
  box-shadow:0 18px 40px #3f372c40,0 0 0 6px #fffaf0,0 0 0 7px #c9982f55}
.pb-art img{width:100%;height:100%;object-fit:cover;display:block}
.pb-art figcaption{position:absolute;inset:auto 0 0;padding:1.6rem 1rem .8rem;background:linear-gradient(transparent,#1d1812cc);color:#f6ecd4;font:600 .85rem/1.3 Cinzel,Georgia,serif;letter-spacing:.04em}
.page-banner .launch-timer{text-align:start;margin:.4rem 0 0}.page-banner .lt-bar{margin-inline:0}
.page-banner .news-search{max-width:30rem}
[dir=rtl] .pb-art{transform:rotate(-1.2deg)}[dir=rtl] .pb-eyebrow::after{background:linear-gradient(270deg,#9c7426,transparent)}
@media(max-width:860px){.page-banner{grid-template-columns:1fr;min-height:0;padding:1.6rem 1.2rem;gap:1.4rem;text-align:center}
  .pb-art{order:-1;transform:none;aspect-ratio:16/9}.pb-eyebrow{justify-content:center}.pb-eyebrow::after{display:none}.pb-lead{margin-inline:auto}
  .pb-stat{justify-content:center}.page-banner .launch-timer{text-align:center;margin-inline:auto}.page-banner .lt-bar{margin-inline:auto}.page-banner .news-search{margin-inline:auto}}

/* Home launch box: a bright parchment card in a double gold frame with a red seal ribbon, big countdown numerals (all one size),
   the wishlist line underneath. Replaces the dark box (owner, 2026-10-04: "too dark, not powerful"). */
.launch-clock{position:relative;display:flex;flex-direction:column;align-items:center;gap:.3rem;width:min(640px,100%);margin:1.8rem auto 0;padding:2rem 2.4rem 1.5rem;
  border-radius:18px;background:radial-gradient(120% 100% at 50% 0%,#fffdf6 0%,#f8f0dc 55%,#efe2c2 100%);color:var(--ink);text-align:center;
  border:1px solid #c9982f;box-shadow:0 0 0 6px #fffaf0,0 0 0 7px #c9982f88,0 26px 60px #3f372c40,0 0 70px #e2b64a33}
.launch-clock::before{content:"✦ " attr(data-ribbon) " ✦";position:absolute;top:-.95rem;left:50%;translate:-50% 0;padding:.4rem 1.2rem;border-radius:999px;white-space:nowrap;
  background:linear-gradient(#b23a2e,#7d211a);color:#fbe9c9;font:700 .72rem/1 Inter,sans-serif;letter-spacing:.24em;text-transform:uppercase;box-shadow:0 6px 16px #7d211a55}
.launch-clock>small{font-size:.8rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);font-weight:700}
.launch-clock>span{color:var(--ink-soft);font-size:.95rem}
.launch-clock .launch-timer{margin:0;max-width:none}
.launch-clock .lt-line{font-size:clamp(2.6rem,7.4vw,4.4rem);color:var(--ink);text-shadow:0 2px 0 #fff}
.launch-clock .lt-line small{font-size:.5em}
.launch-clock .lt-bar{height:7px;max-width:460px;box-shadow:inset 0 1px 2px #0002}
.launch-clock .lt-bar span{box-shadow:0 0 12px #e2b64a99}
.launch-wish{width:100%;margin-top:1rem;padding-top:.9rem;border-top:1px solid #c9982f55}
.launch-wish p{margin:0 0 .6rem;color:var(--ink-soft)}.launch-wish p strong{font-size:1.4rem;margin-inline-end:.2rem;color:var(--seal)}
.launch-wish p a{color:var(--seal);font-weight:700}
.launch-in{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem 1rem;border-radius:999px;background:#2f6b3a17;border:1px solid #2f6b3a40;
  font-size:1.2rem;font-weight:800;color:var(--ok)!important;margin-bottom:.5rem!important}
.wish-joined{color:var(--ok);font-weight:700}
@media(max-width:600px){.launch-clock{padding:1.8rem 1rem 1.2rem}.launch-clock::before{font-size:.62rem;letter-spacing:.16em}}

/* Page banner, stronger (owner 2026-10-04: "more powerful"): the same double gold frame and red ribbon as the home launch box,
   a warm glow, gold corner marks, a bigger title and a slow light sweep across the art. */
.page-banner{margin-top:2.6rem;overflow:visible;border-color:#c9982f;background:radial-gradient(120% 100% at 0% 0%,#fffdf6 0%,#f8f0dc 50%,#ecdcb6 100%);
  box-shadow:0 0 0 6px #fffaf0,0 0 0 7px #c9982f88,0 30px 70px #3f372c3d,0 0 80px #e2b64a2e}
.page-banner::before{border-radius:20px}
.page-banner::after{content:"";position:absolute;inset:14px;border-radius:12px;pointer-events:none;
  background:linear-gradient(#c9982f,#c9982f) top left/26px 2px no-repeat,linear-gradient(#c9982f,#c9982f) top left/2px 26px no-repeat,
    linear-gradient(#c9982f,#c9982f) top right/26px 2px no-repeat,linear-gradient(#c9982f,#c9982f) top right/2px 26px no-repeat,
    linear-gradient(#c9982f,#c9982f) bottom left/26px 2px no-repeat,linear-gradient(#c9982f,#c9982f) bottom left/2px 26px no-repeat,
    linear-gradient(#c9982f,#c9982f) bottom right/26px 2px no-repeat,linear-gradient(#c9982f,#c9982f) bottom right/2px 26px no-repeat}
.pb-eyebrow{position:absolute;top:-1.05rem;inset-inline-start:2.4rem;margin:0;padding:.42rem 1.1rem;border-radius:999px;color:#fbe9c9;
  background:linear-gradient(#b23a2e,#7d211a);box-shadow:0 6px 16px #7d211a55;letter-spacing:.22em}
.pb-eyebrow::after{display:none}
.pb-copy{padding-top:.6rem}
.pb-copy h1{font-size:clamp(2.4rem,5vw,3.9rem);text-shadow:0 2px 0 #fff}
.pb-copy h1 em{color:#a3291f;text-shadow:0 2px 0 #fff,0 0 24px #e2b64a55}
.pb-art{box-shadow:0 22px 48px #3f372c55,0 0 0 6px #fffaf0,0 0 0 8px #c9982f,0 0 50px #e2b64a40}
.pb-art::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 40%,#fff6 50%,transparent 60%);
  background-size:250% 100%;animation:pb-shine 7s ease-in-out infinite}
@keyframes pb-shine{0%,60%{background-position:150% 0}100%{background-position:-50% 0}}
@media(prefers-reduced-motion:reduce){.pb-art::after{animation:none;display:none}}
@media(max-width:860px){.pb-eyebrow{position:static;margin:0 auto .8rem;display:inline-flex}.page-banner::after{display:none}}

/* Admin -> Shop orders: a count strip, two staff tools side by side, orders grouped by what to do, each card with its proof beside the facts. */
.ao-summary{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 1.2rem}
.ao-count{display:inline-flex;align-items:baseline;gap:.45rem;padding:.45rem 1rem;border-radius:999px;background:var(--panel);border:1px solid var(--line);font-weight:600;color:var(--ink-soft)}
.ao-count strong{font:700 1.2rem/1 Cinzel,Georgia,serif;color:var(--ink)}.ao-count.is-hot{background:#9b2c2214;border-color:#9b2c2266;color:var(--seal)}.ao-count.is-hot strong{color:var(--seal)}
.ao-tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));gap:1rem;margin:0 0 2rem}
.ao-tool{display:flex;gap:1rem;align-items:flex-start;padding:1.2rem 1.4rem;margin:0;border-top:3px solid var(--gold)}
.ao-tool-danger{border-top-color:var(--seal)}
.ao-tool-icon{flex:none;display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:12px;background:#9c742622;font-size:1.3rem}
.ao-tool-danger .ao-tool-icon{background:#9b2c221a}
.ao-tool h2{margin:0;font:700 1.02rem/1.3 Inter,sans-serif}.ao-tool p{margin:.2rem 0 .7rem;font-size:.9rem;color:var(--muted)}
.ao-tool-row{display:flex;gap:.5rem}.ao-tool-row .form-control{flex:0 1 11rem;min-width:0}
.ao-group{margin:0 0 2rem}.ao-group h2 small{font:700 .85rem/1 Inter,sans-serif;margin-inline-start:.4rem;padding:.2rem .55rem;border-radius:999px;background:var(--panel);border:1px solid var(--line);vertical-align:middle}
.admin-orders{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(460px,100%),1fr));gap:1rem}
.admin-order{display:flex;flex-direction:column;gap:.9rem;padding:1.3rem 1.5rem}
.admin-order-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.admin-order-head .eyebrow{margin:0 0 .2rem}
.admin-order h3{font-family:Inter,sans-serif;font-weight:700;font-size:1.05rem;margin:0}
.ao-body{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:start}
.ao-amount{font-size:1.1rem;color:var(--seal)}.ao-small{font-size:.82rem;font-weight:500!important;color:var(--muted)}
.ao-proof{position:relative;display:block;width:150px;border-radius:8px;overflow:hidden;border:1px solid var(--line);box-shadow:0 6px 16px #3f372c26}
.ao-proof img{display:block;width:100%;height:190px;object-fit:cover}
.ao-proof span{position:absolute;inset:auto 0 0;padding:.3rem;text-align:center;font-size:.75rem;font-weight:700;color:#fff;background:#1d1812b3}
.admin-actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;padding-top:.9rem;border-top:1px solid var(--line)}.admin-actions form{margin:0}
.ao-reject{display:flex;gap:.4rem;flex:1 1 16rem}.ao-reject .form-control{min-width:0}
@media(max-width:560px){.ao-tools{grid-template-columns:1fr}.ao-body{grid-template-columns:1fr}.ao-proof{width:100%}.ao-proof img{height:220px}}

/* My account (owner 2026-10-04: "more professional"): the header is a page banner (gold frame, red ribbon) with a large framed portrait,
   status chips and the actions; staff links sit apart. Stats carry icons; coin history and orders read as clean ledgers. */
.account-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.6rem 2.4rem;min-height:0;padding:2.4rem 2.6rem 2rem}
.ab-hero{display:flex;align-items:center;gap:1.6rem;min-width:0}
.ab-portrait{flex:none;display:grid;place-items:center;width:124px;height:124px;border-radius:50%;background:radial-gradient(circle,#fffaf0 55%,#e9d6a8);
  box-shadow:0 0 0 3px #c9982f,0 0 0 8px #fffaf0,0 0 0 9px #c9982f88,0 14px 30px #3f372c40}
.ab-portrait .portrait{--p:104px}.ab-portrait .portrait-face{border-color:#c9982f}
.ab-who h1{margin:0;font-size:clamp(2rem,4vw,3rem);line-height:1.1;color:var(--ink);text-shadow:0 2px 0 #fff}
.ab-sub{margin:.35rem 0 .7rem;color:var(--ink-soft)}.ab-sub strong{color:var(--ink)}
.ab-chips{display:flex;flex-wrap:wrap;gap:.45rem;margin:0}
.ab-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.32rem .8rem;border-radius:999px;font-size:.85rem;font-weight:700;background:#fffaf0;border:1px solid var(--line);color:var(--ink-soft)}
.ab-chip.is-ok{color:var(--ok);border-color:#2f6b3a55;background:#2f6b3a12}.ab-chip.is-off{color:var(--seal);border-color:#9b2c2255}
.ab-chip.is-vip{color:#6e4f14;border-color:#c9982f;background:linear-gradient(#fff3cf,#f1d98f)}
.ab-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.8rem}
.ab-main{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:flex-end}.ab-main form{margin:0}
.ab-staff{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .9rem;padding:.45rem .9rem;border-radius:10px;background:#1d18120d;border:1px dashed #c9982f88;font-size:.88rem}
.ab-staff span{font-weight:800;font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.ab-staff a{font-weight:700;text-decoration:none}.ab-staff a:hover{text-decoration:underline}
.account-stats .panel{position:relative;padding:1.1rem 1.2rem 1.1rem 4.3rem;min-height:84px;justify-content:center;border-top:3px solid var(--gold);box-shadow:0 8px 22px #3f372c14}
.as-icon{position:absolute;inset-inline-start:1rem;top:50%;translate:0 -50%;display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:12px;background:linear-gradient(#fff6d8,#f0dca4);border:1px solid #c9982f88;font-size:1.15rem}
.as-icon .coin{margin:0;width:1.4rem;height:1.4rem}
.account-stats strong{font:700 1.6rem/1.1 Cinzel,Georgia,serif}.as-coins strong{color:var(--seal)}
.wallet-section .orders-head{padding:1.1rem 1.3rem;border-radius:14px;background:linear-gradient(120deg,#fff6d8,#f3e2b0);border:1px solid #c9982f88}
.wallet-balance strong{font:700 2.2rem/1.1 Cinzel,Georgia,serif;color:var(--ink)}
.wallet-history-title{display:flex;align-items:center;gap:.55rem;margin:1.6rem 0 .6rem;font:700 1.3rem/1.2 Cinzel,Georgia,serif;text-transform:none;letter-spacing:.02em;color:var(--ink)}
.wallet-history{gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fffaf0}
.wallet-history li{grid-template-columns:40px 1fr auto auto;gap:1rem;padding:.8rem 1.1rem;border:0;border-radius:0;background:none;border-bottom:1px solid #cdbd9866}
.wallet-history li:last-child{border-bottom:0}.wallet-history li:nth-child(even){background:#f8f1e1}
.wallet-history strong{font-size:.98rem}
.wallet-kind{width:36px;height:36px;font-size:1.05rem;box-shadow:0 3px 8px #0002}
.wallet-history .plus .wallet-kind{background:linear-gradient(#3f8a4c,#2f6b3a)}.wallet-history .minus .wallet-kind{background:linear-gradient(#b23a2e,#7d211a)}
.wallet-amount{font:700 1.15rem/1 Cinzel,Georgia,serif}
.wallet-after{display:flex;align-items:center;justify-content:flex-end;gap:.25rem;min-width:96px;font-weight:600}
.order-list{gap:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fffaf0}
.order-row{border:0;border-radius:0;border-bottom:1px solid #cdbd9866;padding:1rem 1.2rem;background:none}
.order-row:last-child{border-bottom:0}.order-row:nth-child(even){background:#f8f1e1}.order-row:hover{box-shadow:none;background:#fff3d6}
.order-icon{background:radial-gradient(circle,#fffaf0 50%,#efdcb0);border:1px solid #c9982f;box-shadow:0 4px 12px #3f372c22}
.order-icon span{color:var(--gold)}
.order-title{font:700 1.05rem/1.3 Cinzel,Georgia,serif}
.order-pay strong{font:700 1.05rem/1 Cinzel,Georgia,serif;color:var(--seal)}
@media(max-width:860px){.account-banner{flex-direction:column;align-items:stretch;text-align:center}.ab-hero{flex-direction:column}.ab-chips,.ab-main{justify-content:center}.ab-actions{align-items:center}}
.ab-main .btn{font-size:1rem;padding:.7rem 1.4rem;line-height:1.2}

/* The last dark banners (Champions castle holder, Rankings world first, a hero's card, the Discord header, the maintenance and status
   clocks) in the site's bright style: parchment, double gold frame, warm glow, ink text with gold and seal-red accents (owner 2026-10-04). */
.world-first,.champ-castle,.hero-card,.account-head,.landing-clock{color:var(--ink);border:1px solid #c9982f;border-radius:18px;
  background:radial-gradient(120% 100% at 0% 0%,#fffdf6 0%,#f8f0dc 50%,#ecdcb6 100%);
  box-shadow:0 0 0 6px #fffaf0,0 0 0 7px #c9982f88,0 26px 60px #3f372c33,0 0 70px #e2b64a26}
.world-first,.champ-castle,.hero-card,.account-head{margin-block:2rem 1.8rem}
.world-first h2,.champ-castle h2,.hero-card h1,.account-head h1{color:var(--ink);text-shadow:0 2px 0 #fff}
.world-first .eyebrow,.champ-castle .eyebrow,.hero-card .eyebrow,.account-head .eyebrow{color:#6e4f14}
.world-first-meta,.world-first-empty p:last-child{color:var(--ink-soft)}
.world-first-score span{color:var(--muted)}.world-first-score strong{color:var(--seal)}
.champ-castle-crest{background:radial-gradient(circle,#fffaf0 45%,#efdcb0);border:2px solid #c9982f;box-shadow:0 0 0 5px #fffaf0,0 0 0 6px #c9982f66,0 10px 24px #3f372c33}
.champ-castle-crest .icon{color:var(--seal)}
.champ-castle strong{color:var(--ink)}.champ-castle p,.champ-castle .champ-hero span{color:var(--ink-soft)}.champ-castle .champ-meta{color:#6e4f14}
.champ-hero small{color:var(--muted)}
.champ-won{background:#fffaf0;border:1px solid #c9982f55;border-inline-start:4px solid var(--seal);border-radius:8px;color:var(--ink-soft)}
.hero-stats dt{color:var(--muted)}.hero-stats dd{color:var(--ink)}
.hero-share{background:#fffaf0;color:var(--seal);border-color:#c9982f}
.account-sub{color:var(--ink-soft)}
.landing-clock small{color:var(--muted)}.landing-clock strong{color:var(--seal)}
.cta{color:var(--ink);border:1px solid #c9982f;border-radius:18px;background:radial-gradient(120% 100% at 0% 0%,#fffdf6 0%,#f8f0dc 50%,#ecdcb6 100%);
  box-shadow:0 0 0 6px #fffaf0,0 0 0 7px #c9982f88,0 26px 60px #3f372c33,0 0 70px #e2b64a26}
.cta h2{color:var(--ink);text-shadow:0 2px 0 #fff}.cta p{color:var(--ink-soft)}
.cta .btn-ink{background:transparent;border-color:var(--ink);color:var(--ink)}.cta .btn-ink:hover{background:var(--ink);color:#fbf5e8}
.champ-spot-crest{background:radial-gradient(circle,#fffaf0 45%,#efdcb0)}.champ-spot-crest .icon{color:var(--seal)}
.champ-prize{background:#fffaf0;border:1px solid #c9982f55;color:var(--ink)}.champ-prize small{color:var(--muted)}

/* Server rules (/Rules): the banner with a numbered contents list, one card per rule group, the "in short" box. */
.rules-toc a{display:inline-flex;align-items:center;gap:.55rem;padding:.35rem .5rem;border-radius:8px;color:var(--ink);text-decoration:none;font-weight:600;font-size:.92rem}
.rules-toc a:hover{background:#f3e2b0}
.rules-toc a span{display:grid;place-items:center;flex:none;width:1.6rem;height:1.6rem;border-radius:50%;background:var(--seal);color:#fbe9c9;font:700 .78rem/1 Inter,sans-serif}
.rules-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(460px,100%),1fr));gap:1rem;margin:2rem 0 1rem}
.rules-card{padding:1.4rem 1.6rem;border-top:3px solid var(--gold);scroll-margin-top:110px}
.rules-card h2{display:flex;align-items:center;gap:.55rem;margin:0 0 .8rem;font-size:1.25rem}
.rules-num{display:grid;place-items:center;flex:none;width:2rem;height:2rem;border-radius:50%;background:var(--seal);color:#fbe9c9;font:700 .9rem/1 Inter,sans-serif}
.rules-card ul{margin:0;padding-inline-start:1.2rem;display:grid;gap:.5rem}.rules-card li{color:var(--ink-soft);line-height:1.55}
.rules-accept{padding:1.6rem 1.8rem;margin:0 0 2rem;border:1px solid #2f6b3a55;background:linear-gradient(120deg,#2f6b3a12,#fffaf0)}
.rules-accept h2{margin:0 0 .5rem}.rules-accept ul{list-style:none;padding:0;margin:.4rem 0 1rem;display:grid;gap:.3rem;font-weight:600}
.rules-sign{margin:0;font-weight:600}.rules-sign strong{color:var(--seal)}

.rules-banner{grid-template-columns:1fr;min-height:0;padding:2.2rem 2.6rem 1.8rem}.rules-banner .pb-lead{max-width:46rem}
.rules-toc{display:flex;flex-wrap:wrap;gap:.45rem;margin:1.6rem 0 0}
.rules-toc a{padding:.4rem .8rem .4rem .45rem;border-radius:999px;background:#fffaf0;border:1px solid #c9982f66;box-shadow:0 2px 6px #3f372c12}

/* Admin -> IP allowlist */
.ia-me{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.4rem;padding:1.2rem 1.5rem;margin:0 0 1.2rem;border-top:3px solid var(--gold)}
.ia-me small{display:block;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:700}.ia-me strong{font:700 1.5rem/1.2 Cinzel,Georgia,serif}
.ia-me form{margin:0}.ia-me>div{margin-inline-end:auto}
.ia-list{padding:1.4rem 1.6rem;margin:0 0 1.2rem}.ia-list h2{display:flex;align-items:center;gap:.5rem;margin:0 0 .3rem;font-size:1.3rem}
.ia-list h2 small{font:700 .8rem/1 Inter,sans-serif;padding:.25rem .6rem;border-radius:999px;background:#2f6b3a17;color:var(--ok)}
.ia-edit,.ia-add{display:flex;flex-wrap:wrap;gap:.4rem;margin:0}.ia-edit .form-control,.ia-add .form-control{flex:1 1 9rem;min-width:0}
.ia-add{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}
.ia-actions{white-space:nowrap}.ia-actions form{display:inline;margin:0}
.ia-off td{opacity:.55}.ia-you{color:var(--ok);font-weight:700}
.ia-warn{padding:1.1rem 1.4rem;margin:0 0 1.2rem;border:1px solid var(--seal);background:#9b2c2210}.ia-warn p{margin:0 0 .7rem;font-weight:700;color:var(--seal)}

/* Top menus (Shared/_MainMenu, owner 2026-10-26): a button per group; its panel opens under the bar on hover or focus (tap):
   links with a gold line icon and one line each, and a picture card for the group's main page. */
.site-nav .container{position:relative}
.nav-drop>button{display:inline-flex;align-items:center;gap:.3rem;background:none;border:0;padding:.4rem 0;font:inherit;font-weight:500;color:var(--ink-soft);cursor:pointer}
.nav-drop>button::after{content:"";width:.4rem;height:.4rem;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg);opacity:.7;transition:transform .15s}
.nav-drop:hover>button,.nav-drop:focus-within>button{color:var(--seal)}
.nav-drop:hover>button::after,.nav-drop:focus-within>button::after{transform:translateY(1px) rotate(225deg)}
.nav-mega{position:absolute;inset-inline:0;top:100%;z-index:30;display:grid;grid-template-columns:minmax(0,1fr) 15rem;gap:.4rem 1rem;max-width:58rem;margin:0 auto;padding:1rem;border:1px solid #b8913f;border-radius:14px;background:#fffaf0;box-shadow:0 22px 50px #3a2c1438;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .15s,transform .15s,visibility .15s}
.nav-mega::before{content:"";position:absolute;inset-inline:0;top:-.9rem;height:.9rem} /* keeps hover while the pointer crosses the gap */
.nav-drop:hover>.nav-mega,.nav-drop:focus-within>.nav-mega{opacity:1;visibility:visible;transform:none}
.mm-lead{grid-column:1/-1;margin:0 .3rem .2rem;font:700 .72rem Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.mm-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.2rem .4rem;align-content:start;margin:0;padding:0;list-style:none}
.mm-links a{display:flex;align-items:flex-start;gap:.7rem;padding:.6rem .7rem;border-radius:10px;color:var(--ink);text-decoration:none;transition:background .15s}
.mm-links a:hover,.mm-links a:focus{background:#f5d77e40;color:var(--ink)}
.mm-ico{flex:none;display:grid;place-items:center;width:2.3rem;height:2.3rem;border-radius:10px;background:#c9982f1a;border:1px solid #c9982f88;color:#7d211a;transition:background .15s,color .15s}
.mm-links a:hover .mm-ico,.mm-links a:focus .mm-ico{background:linear-gradient(#b23a2e,#7d211a);color:#fbe9c9;border-color:#7d211a}
.mm-ico .icon{width:1.15rem;height:1.15rem}
.mm-links strong{display:block;font-size:.95rem;font-weight:700}
.mm-links small{display:block;margin-top:.1rem;color:var(--muted);font-size:.8rem;line-height:1.35;font-weight:400}
.mm-feature{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:13rem;border-radius:12px;overflow:hidden;color:#fff;text-decoration:none}
.mm-feature img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.mm-feature:hover img{transform:scale(1.05)}
.mm-feature span{position:relative;padding:1rem;background:linear-gradient(transparent,#1d1209e6 55%)}
.mm-feature strong{display:block;font:700 1.1rem Cinzel,Georgia,serif;color:#fbe9c9}
.mm-feature small{display:block;color:#f3e6c8;font-size:.82rem}
.mm-feature em{display:inline-block;margin-top:.5rem;font-style:normal;font-weight:700;font-size:.82rem;color:#f5d77e}
/* Download: the one sealed button among the menus (owner 2026-10-27). */
.nav-download{display:flex;align-items:center}
.nav-links .nav-download>a{display:inline-flex;align-items:center;gap:.45rem;padding:.38rem .95rem .38rem .75rem;border:1px solid #c9982f;border-radius:999px;background:linear-gradient(#b23a2e,#7d211a);color:#fbe9c9;font-weight:700;box-shadow:inset 0 1px #f5d77e55,0 3px 10px #7d211a40;transition:filter .15s,transform .15s}
.nav-links .nav-download>a:hover,.nav-links .nav-download>a:focus{color:#fff;filter:brightness(1.12);transform:translateY(-1px)}
.nav-download .icon{width:1.05rem;height:1.05rem}
@media(max-width:1180px){
  .nav-links .nav-download>a{justify-content:center;width:100%;padding:.6rem 1rem}
  .nav-drop>button{pointer-events:none;padding:0;font-family:Inter,sans-serif;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}
  .nav-drop>button::after{display:none}
  .nav-mega{position:static;display:block;opacity:1;visibility:visible;transform:none;max-width:none;padding:.2rem 0 0;border:0;background:none;box-shadow:none}
  .nav-mega::before,.mm-lead,.mm-feature{display:none}
  .mm-links{grid-template-columns:1fr}
  .mm-links a{padding:.45rem .3rem}
}
.hero-copy .daytheme{margin:1.5rem 0 1.9rem}
.daytheme .dt-badge:hover{filter:brightness(1.1)}

/* Staff dock (_StaffDock): dark lacquer rail with gold edge on the left, GMs and PMs only; labels slide out on hover. */
.staff-dock{position:fixed;inset-inline-start:0;top:50%;transform:translateY(-50%);z-index:40;display:flex;flex-direction:column;gap:.2rem;width:3.1rem;padding:.5rem .35rem;
  background:linear-gradient(180deg,#2b2117f2,#1a130cf2);border:1px solid #c9982f;border-inline-start:0;border-radius:0 14px 14px 0;box-shadow:0 12px 34px #00000055;transition:width .2s;overflow:hidden}
[dir=rtl] .staff-dock{border-radius:14px 0 0 14px}
.staff-dock:hover,.staff-dock:focus-within{width:14rem}
.sd-role{align-self:center;margin-bottom:.3rem;padding:.1rem .45rem;border-radius:999px;background:var(--seal);color:#fbe9c9;font:800 .66rem/1.4 Inter,sans-serif;letter-spacing:.12em}
.staff-dock a,.sd-search{position:relative;display:flex;align-items:center;gap:.7rem;min-height:2.3rem;padding:0 .45rem;border-radius:9px;color:#f3e2b0;text-decoration:none;font:600 .86rem/1 Inter,sans-serif;white-space:nowrap}
.staff-dock i{flex:none;width:1.5rem;text-align:center;font-style:normal;font-size:1.05rem}
.staff-dock a:hover,.staff-dock a:focus{background:#c9982f33;color:#fff}
.staff-dock a.is-on{background:#c9982f;color:#1a130c}
.sd-search input{min-width:0;flex:1;padding:.3rem .5rem;border:1px solid #c9982f88;border-radius:6px;background:#00000040;color:#fff;font:inherit}
.sd-search input::placeholder{color:#f3e2b099}
.sd-badge{position:absolute;top:.1rem;inset-inline-start:1.45rem;min-width:1.1rem;padding:0 .25rem;border-radius:999px;background:#e0412f;color:#fff;font:800 .64rem/1.1rem Inter,sans-serif;text-align:center;box-shadow:0 0 0 2px #1a130c}
@media(max-width:760px){.staff-dock{display:none}}
.sd-health i span{display:inline-block;width:.7rem;height:.7rem;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px #ffffff1a,0 0 10px currentColor}
.sd-green{color:#6fdc84!important}.sd-amber{color:#f5c04e!important}.sd-red{color:#ff6b5a!important}
.sd-green i span{animation:sd-pulse 2s ease-in-out infinite}@keyframes sd-pulse{50%{box-shadow:0 0 0 6px #6fdc8422,0 0 14px currentColor}}
/* Staff extras on player pages: an Edit tag on store cards and articles, a shield after hero names. */
.staff-edit{position:absolute;top:.6rem;inset-inline-start:.6rem;z-index:3;padding:.15rem .55rem;border-radius:999px;background:#1a130ce6;border:1px solid #c9982f;color:#f3e2b0;font:700 .72rem/1.5 Inter,sans-serif;text-decoration:none;opacity:.85}
.staff-edit:hover{opacity:1;background:#c9982f;color:#1a130c}
.news-article-head{position:relative}.news-article-head .staff-edit{top:0;inset-inline-start:auto;inset-inline-end:0}
.staff-hero{margin-inline-start:.3rem;font-size:.8em;text-decoration:none;opacity:.55}.staff-hero:hover{opacity:1}

/* Lottery (/Lottery): compact banner with cost chips, rule cards (shared with /Rules), the rank-odds table, the rank 1 showcase and the prize lists. */
.lt-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 .9rem}
.lt-chip{display:inline-flex;align-items:center;gap:.45rem;padding:.35rem .9rem;border-radius:999px;background:#fffaf0;border:1px solid #c9982f88;font-weight:700;color:var(--ink);box-shadow:0 2px 6px #3f372c12}
.lt-chip img{width:28px;height:28px;object-fit:contain}
.rules-card ol{margin:0;padding-inline-start:1.3rem;display:grid;gap:.5rem}.rules-card ol li{color:var(--ink-soft);line-height:1.55}
.rules-card h3{margin:1.1rem 0 .5rem;font-size:1.05rem}.rules-card p{margin:0 0 .5rem}
.lt-odds{padding:1.4rem 1.6rem;margin:0 0 2rem;scroll-margin-top:110px}.lt-odds h2{margin:0 0 .4rem;font-size:1.25rem}
.lt-table-wrap{overflow-x:auto}
.lt-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.lt-table th,.lt-table td{padding:.5rem .8rem;border-bottom:1px solid var(--line);text-align:start;white-space:nowrap}
.lt-table thead th{font:700 .78rem/1.3 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
.lt-table td strong{color:var(--ink)}.lt-table td small{margin-inline-start:.5rem;color:var(--muted)}
.lt-table .lt-top{background:linear-gradient(90deg,#f3e2b0,transparent)}.lt-table .lt-top th,.lt-table .lt-top strong{color:var(--seal)}
.lt-shout{margin-inline-start:.35rem;font-size:.85em}
.lt-grand{position:relative;margin:0 0 1rem;padding:1.8rem 1.6rem;border-radius:16px;border:1px solid #c9982f;scroll-margin-top:110px;
  background:radial-gradient(120% 100% at 50% 0%,#fffdf6 0%,#f8ecc8 55%,#ead6a4 100%);box-shadow:0 18px 40px #3f372c33,0 0 0 4px #fffaf0,0 0 0 5px #c9982f}
.lt-grand-head{text-align:center;max-width:44rem;margin:0 auto 1.3rem}.lt-grand-head h2{margin:.2rem 0 .4rem;font-size:clamp(1.7rem,4vw,2.4rem);color:#a3291f;text-shadow:0 2px 0 #fff}
.lt-grand-tag{display:inline-block;margin:0;padding:.3rem 1rem;border-radius:999px;background:var(--seal);color:#fbe9c9;font:800 .78rem/1.3 Inter,sans-serif;letter-spacing:.16em;text-transform:uppercase}
.lt-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr));gap:.6rem}
.lt-prize{display:flex;align-items:center;gap:.7rem;padding:.5rem;border:1px solid var(--line);border-radius:10px;background:#fbf7eef5;min-width:0}
.lt-prize[hidden]{display:none}
.lt-prize>div{display:flex;flex-direction:column;gap:.1rem;min-width:0}
.lt-prize strong{overflow-wrap:anywhere;line-height:1.3}.lt-prize small{color:var(--muted);font-size:.8rem}
.lt-grid-grand .lt-prize{background:#fffaf0;border-color:#c9982f88}
.lt-extra{border-style:dashed;border-color:var(--seal)}
.lt-only{align-self:flex-start;margin-top:.15rem;padding:.05rem .45rem;border-radius:999px;background:#9b2c2214;color:var(--seal);font:700 .72rem/1.4 Inter,sans-serif}
.lt-filter{padding:1.2rem 1.4rem 0;margin-bottom:1.2rem}.lt-filter h2{margin:0 0 .3rem;font-size:1.25rem}
.lt-filter .panel-tabs{flex-wrap:wrap;gap:.4rem 1.2rem;padding:.6rem 0 0}
.lt-rank{margin:0 0 1.6rem;scroll-margin-top:110px}
.lt-rank h3{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;margin:0 0 .7rem;font-size:1.15rem}.lt-rank h3 small{font:600 .85rem/1.3 Inter,sans-serif;color:var(--muted)}
@media(max-width:560px){.lt-odds,.lt-grand{padding:1.2rem .9rem}.lt-table th,.lt-table td{padding:.45rem .5rem}.lt-table td small{display:block;margin:0}
  .lt-prize .item-slot{width:60px;height:60px}.lt-prize .item-slot img{width:50px;height:50px}}

/* Nox Market (/Market): the daily index board, one card per good with today's change, the shop price and a 30-day chart
   (inline SVG: the index in seal red on its own scale, the booth price in gold on another). */
.mk-facts{margin:0 0 1rem;padding-inline-start:1.2rem;display:grid;gap:.35rem;max-width:46rem;color:var(--ink-soft);line-height:1.5;text-align:start}
.mk-empty{margin:2rem 0;padding:1.6rem 1.8rem;text-align:center}.mk-empty h2{margin:0 0 .4rem}.mk-empty p{margin:0;color:var(--ink-soft)}
.mk-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .5rem;margin:1.6rem 0 0;font-size:.88rem;color:var(--muted)}
.mk-key{display:inline-block;width:1.4rem;height:3px;border-radius:2px;margin-inline-start:.5rem}.mk-key-index{background:var(--seal)}.mk-key-booth{background:#c9982f}
.mk-group{margin:1.6rem 0}.mk-group>h2{margin:0 0 .8rem;font-size:1.3rem}
.mk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:.8rem}
.mk-item{padding:.9rem 1rem;min-width:0}
.mk-item header{display:flex;align-items:center;gap:.7rem}.mk-item header>div{flex:1;min-width:0}
.mk-item .item-slot{width:56px;height:56px}.mk-item .item-slot img{width:46px;height:46px}
.mk-item h3{margin:0;font-size:1.02rem;line-height:1.25;overflow-wrap:anywhere}
.mk-tag{display:inline-block;margin-top:.2rem;padding:.05rem .5rem;border-radius:999px;background:#6a5f4e1a;color:var(--muted);font:700 .72rem/1.4 Inter,sans-serif}
.mk-change{flex:none;font:800 1rem/1 Inter,sans-serif;color:var(--muted);font-variant-numeric:tabular-nums}
.mk-change.is-up{color:var(--ok)}.mk-change.is-down{color:var(--seal)}
.mk-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .5rem;margin:.7rem 0 .5rem}
.mk-price small{width:100%;color:var(--muted);font-size:.78rem}.mk-price strong{font-size:1.1rem;color:var(--ink)}.mk-price span{color:var(--ink-soft);font-size:.88rem}
.mk-chart{display:flex;gap:.35rem;align-items:stretch}
.mk-chart svg{flex:1;min-width:0;height:84px;background:#fffaf0;border:1px solid #c9982f44;border-radius:6px}
.mk-chart polyline{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.mk-index{stroke:var(--seal)}.mk-booth{stroke:#c9982f;stroke-dasharray:4 3}
.mk-axis{display:flex;flex-direction:column;justify-content:space-between;min-width:1.8rem;font:600 .7rem/1 Inter,sans-serif;color:var(--seal);text-align:end}
.mk-axis b{font-weight:600}.mk-axis-booth{color:#8a6a1e;text-align:start}
.mk-dates{display:flex;justify-content:space-between;gap:.5rem;margin:.3rem 2.2rem 0;font-size:.74rem;color:var(--muted)}

/* Two-step sign-in (Account/TwoFactor): QR code on white, the key in groups of 4, a wide code box. */
.tf-steps{padding-inline-start:1.2rem;margin:.6rem 0}.tf-steps li{margin:.3rem 0}
.tf-qr{display:grid;place-items:center;margin:.8rem auto;padding:.6rem;width:max-content;max-width:100%;background:#fff;border:1px solid #c9982f;border-radius:10px}
.tf-qr svg{display:block;width:min(220px,70vw);height:auto}
.tf-key{text-align:center;margin:.2rem 0 .8rem}.tf-key code{font-size:1rem;letter-spacing:.08em;word-break:break-all}
.tf-code{font-size:1.4rem;letter-spacing:.3em;text-align:center}

/* Why Nox (/Why-Nox): a banner with three proof stats, five themed cards (gold medallion, number, answer line, proof chips),
   the closing call to action; the home page's "Why Nox?" strip. */
.wn-stats{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 1rem;padding:0;list-style:none}
.wn-stats li{flex:1 1 9rem;padding:.7rem .9rem;border-radius:12px;background:#fffaf0;border:1px solid #c9982f66;box-shadow:0 2px 8px #3f372c14}
.wn-stats strong{display:block;font:700 1.5rem/1.1 Cinzel,Georgia,serif;color:var(--seal);font-variant-numeric:tabular-nums}
.wn-stats span{font:700 .72rem/1.3 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.wn-toc{display:flex;flex-wrap:wrap;gap:.45rem;margin:1.6rem 0 0}
.wn-toc a{display:inline-flex;align-items:center;gap:.45rem;padding:.4rem .9rem .4rem .45rem;border-radius:999px;background:#fffaf0;border:1px solid #c9982f66;
  box-shadow:0 2px 6px #3f372c12;color:var(--ink);text-decoration:none;font-weight:600;font-size:.92rem}
.wn-toc a:hover{background:#f3e2b0}.wn-toc .icon{width:1.5rem;height:1.5rem;padding:.25rem;border-radius:50%;background:var(--seal);color:#fbe9c9}
.wn-list{display:grid;gap:1.6rem;margin:2rem 0}
.wn-theme{position:relative;display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr);gap:1.6rem 2.2rem;padding:2rem 2.2rem;overflow:hidden;
  border:1px solid #c9982f;border-radius:18px;scroll-margin-top:110px;background:radial-gradient(120% 120% at 0% 0%,#fffdf6 0%,#f8f0dc 55%,#efe0bd 100%);
  box-shadow:0 0 0 5px #fffaf0,0 0 0 6px #c9982f66,0 18px 44px #3f372c26}
.wn-theme:nth-child(even){grid-template-columns:minmax(0,1fr) minmax(0,15rem);background:radial-gradient(120% 120% at 100% 0%,#fffdf6 0%,#f8f0dc 55%,#efe0bd 100%)}
.wn-theme:nth-child(even) .wn-head{order:2}
.wn-head{display:flex;flex-direction:column;align-items:flex-start;gap:.6rem}
.wn-medal{display:grid;place-items:center;width:4.6rem;height:4.6rem;border-radius:50%;color:#fbe9c9;
  background:radial-gradient(circle at 35% 30%,#c4483a,var(--seal) 55%,#6e1c15);box-shadow:0 0 0 4px #fffaf0,0 0 0 6px #c9982f,0 10px 24px #9b2c2244}
.wn-medal .icon{width:2.2rem;height:2.2rem}
.wn-num{margin:0;font:800 .74rem/1 Inter,sans-serif;letter-spacing:.28em;color:#6e4f14}
.wn-head h2{margin:0;font-size:clamp(1.4rem,2.6vw,1.9rem);line-height:1.15;text-shadow:0 2px 0 #fff}
.wn-head p{margin:0;color:var(--ink-soft);line-height:1.5}
.wn-points{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));gap:.8rem;margin:0;padding:0;list-style:none;align-content:start}
.wn-points li{display:flex;flex-direction:column;gap:.45rem;padding:1rem 1.1rem;border-radius:12px;background:#fffaf0e6;border:1px solid #c9982f55;
  border-inline-start:4px solid var(--gold);box-shadow:0 2px 8px #3f372c12;color:var(--ink);line-height:1.45;font-weight:600}
.wn-points a{margin-top:auto;align-self:flex-start;font:700 .8rem/1.3 Inter,sans-serif;text-decoration:none;color:var(--seal)}
.wn-points a::after{content:" →"}[dir=rtl] .wn-points a::after{content:" ←"}
.wn-points a:hover{text-decoration:underline}
.wn-note{margin:-.6rem 0 0;font-size:.85rem;color:var(--muted);text-align:center}
.wn-teaser{display:flex;align-items:center;justify-content:space-between;gap:1rem 1.6rem;flex-wrap:wrap;padding:1.6rem 2rem;border-radius:14px;
  background:linear-gradient(110deg,#fffdf6,#f3e2b0);border:1px solid #c9982f}
.wn-teaser h2{margin:0 0 .3rem}.wn-teaser p:not(.eyebrow){margin:0;max-width:44rem}
@media(max-width:860px){.wn-theme,.wn-theme:nth-child(even){grid-template-columns:1fr;padding:1.5rem 1.2rem}
  .wn-theme:nth-child(even) .wn-head{order:0}.wn-head{align-items:center;text-align:center}.wn-medal{width:3.8rem;height:3.8rem}
  .wn-stats li{text-align:center}.wn-teaser{padding:1.3rem 1.2rem}}

/* Guides index (/Guides): compact banner with search, "Start here" row, topic chips, colour-coded topic sections. */
.guides-banner .news-search{margin:1rem 0 .4rem}
.gd-facts{display:flex;flex-wrap:wrap;gap:.5rem 1.2rem;margin:.6rem 0 0;font:600 .9rem/1.4 Inter,sans-serif;color:var(--muted)}
.gd-facts strong{font:700 1.25rem/1 Cinzel,Georgia,serif;color:var(--seal)}
.gd-start{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1.6rem 0 0}
.gd-start-card{position:relative;display:flex;flex-direction:column;gap:.35rem;padding:1.3rem 1.4rem 1.2rem;border-radius:14px;color:var(--ink);text-decoration:none;
  background:radial-gradient(120% 90% at 0% 0%,#fffdf6,#f6ead0);border:1px solid #c9982f;box-shadow:0 10px 26px #3a2c141c,inset 0 0 0 4px #fffaf0;transition:transform .2s,box-shadow .2s}
.gd-start-card:hover{transform:translateY(-3px);box-shadow:0 18px 36px #3a2c142e,inset 0 0 0 4px #fffaf0;color:var(--ink)}
.gd-start-icon{display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;background:#fff6d8;border:1px solid #c9982f;font-size:1.5rem;margin-bottom:.3rem}
.gd-start-card strong{font:700 1.15rem/1.3 Cinzel,Georgia,serif}.gd-start-card small{color:var(--muted);font-size:.9rem;line-height:1.45;flex:1}
.gd-start-card em{font-style:normal;font-weight:700;color:var(--seal);font-size:.9rem}
.gd-toc{margin-top:1.4rem}
.gd-topic{--acc:#2f6b3a;--acc-soft:#2f6b3a14;margin-top:2.2rem;scroll-margin-top:90px}
.gd-topic-char{--acc:#2d5d8a;--acc-soft:#2d5d8a14}.gd-topic-gear{--acc:#a0702a;--acc-soft:#a0702a16}.gd-topic-boss{--acc:#9b2c22;--acc-soft:#9b2c2214}.gd-topic-pvp{--acc:#5b3fa0;--acc-soft:#5b3fa014}
.gd-topic-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin:0 0 .9rem;padding-bottom:.55rem;border-bottom:2px solid var(--acc)}
.gd-topic-head h2{display:flex;align-items:center;gap:.6rem;margin:0;font-size:1.45rem}
.gd-topic-head small{color:var(--muted);font-weight:700;font-size:.85rem;white-space:nowrap}
.gd-topic-icon{display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:10px;background:var(--acc-soft);border:1px solid var(--acc);font-size:1.2rem}
.gd-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:.9rem}
.gd-card{display:flex;align-items:flex-start;gap:.95rem;padding:1rem 1.1rem;border-radius:12px;color:var(--ink);text-decoration:none;background:#fbf7eef5;
  border:1px solid #d6c59d;border-inline-start:4px solid var(--acc);box-shadow:0 6px 18px #3a2c1412;transition:transform .18s,box-shadow .18s,background .18s}
.gd-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px #3a2c1426;background:#fffdf6;color:var(--ink)}
.gd-card-icon{flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;font-size:1.9rem;line-height:1;
  background:radial-gradient(circle at 50% 35%,#fffdf6,var(--acc-soft) 75%),#fff6e0;border:2px solid var(--acc);box-shadow:0 0 0 3px #fffaf0,0 4px 10px #3a2c1424}
.gd-card:hover .gd-card-icon{transform:scale(1.06) rotate(-4deg)}.gd-card-icon{transition:transform .2s}
.gd-card-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:.2rem}
.gd-card-text strong{font-size:1.02rem;line-height:1.3}
.gd-card-text small{color:var(--muted);font-size:.86rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.gd-card-text em{font-style:normal;font-size:.76rem;font-weight:700;color:var(--acc);margin-top:.15rem}
.gd-card-go{align-self:center;color:var(--acc);font-weight:800;transition:transform .18s}.gd-card:hover .gd-card-go{transform:translateX(3px)}
[dir=rtl] .gd-card:hover .gd-card-go{transform:translateX(-3px)}
@media(max-width:860px){.gd-start{grid-template-columns:1fr}.gd-facts{justify-content:center}.gd-topic-head h2{font-size:1.2rem}}

/* Guide page (/Guides/{slug}): banner with the guide's symbol, topic colour (.gd-topic-*), new tables, item chips and side boxes. */
.gd-page{margin-top:1.6rem}
.gd-page .news-crumbs{margin:0 0 .4rem}
.gd-banner{position:relative;grid-template-columns:auto 1fr;align-items:center;gap:1.6rem;margin-top:1.4rem;padding:2rem 2.4rem 1.7rem}
.gd-banner-pic{display:grid;place-items:center;width:104px;height:104px;border-radius:50%;font-size:3.2rem;line-height:1;
  background:radial-gradient(circle at 50% 35%,#fffdf6,var(--acc-soft) 75%),#fff6e0;border:3px solid var(--acc);box-shadow:0 0 0 5px #fffaf0,0 10px 24px #3a2c1430}
.gd-banner h1{margin:.2rem 0 .3rem;font-size:clamp(1.7rem,3.2vw,2.5rem)}
.gd-banner .pb-lead{margin:0}
.gd-banner .gd-facts{margin-top:.8rem}.gd-banner .gd-facts span{padding:.2rem .7rem;border-radius:999px;background:#fffaf0;border:1px solid #c9982f66;font-size:.85rem}
.gd-page .guide-layout{margin-top:1.4rem}
.gd-side-box{padding:1rem 1.1rem;border-radius:14px;background:#fbf7eef5;border:1px solid #d6c59d;border-top:3px solid var(--acc);box-shadow:0 8px 20px #3a2c1414}
.gd-side-title{margin:0 0 .5rem;font:700 .74rem/1.3 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.gd-page .guide-toc ol{list-style:none;counter-reset:toc;padding:0;margin:0}
.gd-page .guide-toc li{counter-increment:toc;margin:0}
.gd-page .guide-toc a{display:flex;gap:.55rem;align-items:baseline;padding:.32rem .4rem;border-radius:8px;font-size:.9rem;line-height:1.35}
.gd-page .guide-toc a::before{content:counter(toc);flex:none;display:grid;place-items:center;width:1.35rem;height:1.35rem;border-radius:50%;background:var(--acc-soft);border:1px solid var(--acc);color:var(--acc);font:700 .7rem/1 Inter,sans-serif}
.gd-page .guide-toc a:hover,.gd-page .guide-others a:hover{background:var(--acc-soft);color:var(--ink)}
.gd-page .guide-others ul{list-style:none;padding:0;margin:0}
.gd-page .guide-others li{margin:0}
.gd-page .guide-others a{display:flex;gap:.5rem;align-items:center;padding:.3rem .4rem;border-radius:8px;font-size:.88rem}
.gd-page .guide-others a span{flex:none;width:1.4rem;text-align:center}
.gd-page .guide-others li.active a{background:var(--acc-soft);color:var(--ink);font-weight:700;box-shadow:inset 3px 0 0 var(--acc)}
[dir=rtl] .gd-page .guide-others li.active a{box-shadow:inset -3px 0 0 var(--acc)}
.gd-body{border-radius:16px;border-top:3px solid var(--acc)}
.gd-page .guide-prose h2{display:flex;align-items:center;gap:.6rem;padding-top:1.2rem;border-top:1px dashed #c9982f66}
.gd-page .guide-prose h2::before{content:"";flex:none;width:.6rem;height:.6rem;transform:rotate(45deg);background:var(--acc);box-shadow:0 0 0 3px var(--acc-soft)}
.gd-page .guide-prose h2:first-child{border-top:0;padding-top:0}
.gd-page .guide-prose h3{color:var(--acc)}

/* Tables in guides and news: parchment with a gold header row. */
.news-table{border:1px solid #c9982f88;border-radius:12px;box-shadow:0 6px 18px #3a2c1412;background:#fffdf7}
.news-table th{background:linear-gradient(#f6e6bd,#ecd59b);color:#3b2a0a;font:700 .78rem/1.3 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;padding:.75rem 1rem;border-bottom:2px solid #c9982f;white-space:nowrap}
[dir=rtl] .news-table th{letter-spacing:0;text-transform:none;font-size:.9rem}
.news-table td{padding:.7rem 1rem;border-top:1px solid #e7dcc2}
.news-table tr:nth-child(even) td{background:#fbf5e6}
.news-table tbody tr:hover td{background:#f6e9c6}
.news-table td:first-child{font-weight:600;color:var(--ink)}

/* Item chips ({{item:ID|Name}}): game icon in a round gold frame. */
.item-ref{gap:.4rem;padding:.12rem .6rem .12rem .15rem;border:1px solid #c9982f88;border-radius:999px;background:linear-gradient(#fffdf6,#f7ecd2);box-shadow:0 1px 3px #3a2c141a}
.item-ref img{width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 50% 40%,#3a2a16,#15110c 80%);border:1px solid #c9982f;padding:2px}
.item-ref-super img{box-shadow:0 0 0 2px #f5d77e66,0 0 8px #e0b85a99}

@media(max-width:860px){.gd-banner{grid-template-columns:1fr;justify-items:center;text-align:center;padding:1.5rem 1.2rem}.gd-banner-pic{width:84px;height:84px;font-size:2.6rem}.gd-banner .gd-facts{justify-content:center}}

/* Guide text in colour: warm body text, tinted section bands, topic-coloured headings, bold words, bullets and step numbers. */
.gd-page .guide-prose{color:#4a3b28}
.gd-page .guide-prose strong{color:var(--acc);font-weight:700}
.gd-page .guide-prose a{color:var(--seal);font-weight:600;text-decoration-color:#9b2c2255;text-underline-offset:3px}
.gd-page .guide-prose h2{margin:2.2rem 0 1rem;padding:.7rem 1rem;border:0;border-radius:12px;color:var(--acc);
  background:linear-gradient(90deg,var(--acc-soft),transparent 85%);box-shadow:inset 4px 0 0 var(--acc)}
[dir=rtl] .gd-page .guide-prose h2{background:linear-gradient(-90deg,var(--acc-soft),transparent 85%);box-shadow:inset -4px 0 0 var(--acc)}
.gd-page .guide-prose h2:first-child{margin-top:0;padding-top:.7rem}
.gd-page .guide-prose h2::before{background:#c9982f;box-shadow:0 0 0 3px #f5d77e66}
.gd-page .guide-prose h3{display:inline-block;margin:1.6rem 0 .6rem;padding-bottom:.15rem;color:#7a4a12;border-bottom:2px solid #c9982f88}
.gd-page .guide-prose ul{list-style:none;padding-inline-start:.2rem}
.gd-page .guide-prose ul>li{position:relative;padding-inline-start:1.3rem}
.gd-page .guide-prose ul>li::before{content:"";position:absolute;inset-inline-start:.15rem;top:.72em;width:.45rem;height:.45rem;transform:rotate(45deg);background:var(--acc);opacity:.8}
.gd-page .guide-prose ol{list-style:none;counter-reset:step;padding-inline-start:.2rem}
.gd-page .guide-prose ol>li{counter-increment:step;position:relative;padding-inline-start:2.2rem;margin:.55rem 0}
.gd-page .guide-prose ol>li::before{content:counter(step);position:absolute;inset-inline-start:0;top:.12em;display:grid;place-items:center;width:1.6rem;height:1.6rem;border-radius:50%;
  background:var(--acc);color:#fff;font:700 .8rem/1 Inter,sans-serif;box-shadow:0 2px 6px #3a2c1430}
.gd-page .guide-prose blockquote{border-inline-start-color:var(--acc);background:var(--acc-soft);border-radius:0 10px 10px 0;font-style:normal;color:#3d3020}
.gd-page .news-table th{background:linear-gradient(var(--acc-soft),var(--acc-soft)),linear-gradient(#f6e6bd,#ecd59b);border-bottom-color:var(--acc)}
.gd-page .news-table td:first-child{color:var(--acc)}
.gd-page .news-table tbody tr:hover td{background:var(--acc-soft)}
.guide-main{min-width:0}@media(max-width:960px){.guide-layout{grid-template-columns:minmax(0,1fr)}}
.item-ref img{background:radial-gradient(circle at 50% 40%,#fffdf6,#f1e0b4 80%)}
/* Table header: a deep band (topic colour in guides, dark ink in news) with gold Cinzel lettering. */
.news-table th{background:linear-gradient(#2b2117,#1a130c);color:#f5d77e;font:700 .82rem/1.3 Cinzel,Georgia,serif;letter-spacing:.08em;text-transform:none;
  padding:.85rem 1rem;border-bottom:3px solid #c9982f;text-shadow:0 1px 2px #0008}
.gd-page .news-table th{background:linear-gradient(color-mix(in srgb,var(--acc) 82%,#000),color-mix(in srgb,var(--acc) 55%,#000));border-bottom-color:#c9982f}
.news-table thead th:first-child{border-start-start-radius:11px}.news-table thead th:last-child{border-start-end-radius:11px}
[dir=rtl] .news-table th{font-family:"Noto Kufi Arabic",Inter,sans-serif;letter-spacing:0;font-size:.85rem}


/* Tables in guides and news (owner 2026-10-29, "sharp"): square gold document frame with red corner marks, thin ledger
   lines, a light header in small capitals, every cell centred, item icons in one column on a parchment tile, a green check
   for "✓". NewsMarkup marks the cells (num, nil, yes) and gives each a data-label: on a phone every row becomes a card. */
.news-table,.gd-page .news-table{margin:1.6rem 0;padding:0;overflow-x:auto;border-radius:0;box-shadow:none;border:1px solid #b8913f;outline:1px solid #e3cf9c;outline-offset:-5px;
  background:linear-gradient(#9b2c22,#9b2c22) top left/14px 2px no-repeat,linear-gradient(#9b2c22,#9b2c22) top left/2px 14px no-repeat,linear-gradient(#9b2c22,#9b2c22) top right/14px 2px no-repeat,linear-gradient(#9b2c22,#9b2c22) top right/2px 14px no-repeat,linear-gradient(#9b2c22,#9b2c22) bottom left/14px 2px no-repeat,linear-gradient(#9b2c22,#9b2c22) bottom left/2px 14px no-repeat,linear-gradient(#9b2c22,#9b2c22) bottom right/14px 2px no-repeat,linear-gradient(#9b2c22,#9b2c22) bottom right/2px 14px no-repeat,#fffcf4}
.news-table table{margin:5px;width:calc(100% - 10px);border-collapse:collapse;border-spacing:0;font-size:.94rem}
.news-table th,.gd-page .news-table th{border-radius:0!important;background:#fbf3df;color:#1d1812;border-bottom:1px solid #b8913f;text-shadow:none;
  font:700 .7rem/1.3 Inter,"Segoe UI",sans-serif;letter-spacing:.16em;text-transform:uppercase;padding:.8rem 1rem;white-space:nowrap}
.news-table th,.news-table td{text-align:center;vertical-align:middle;unicode-bidi:plaintext} /* each cell takes its own direction: "+20%" and "4,000 EGP" stay in order in Arabic */
.news-table th+th,.news-table td+td{border-inline-start:1px solid #ece0c4}
.news-table td{padding:.75rem 1rem;border-top:1px solid #ece0c4;color:#3f342a;background:transparent}
.news-table tbody tr:first-child td{border-top:0}
.news-table tr:nth-child(even) td{background:transparent}
.news-table tbody tr:hover td,.gd-page .news-table tbody tr:hover td{background:#f8eed6;box-shadow:none}
.news-table td:first-child,.gd-page .news-table td:first-child{color:#1d1812;font-weight:600}
.news-table td strong,.gd-page .guide-prose .news-table strong{color:#8a2a1f;font-weight:700}
.news-table td.num{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600;color:#1d1812}
.news-table td.nil{color:#c2b394}
.news-table td.yes{font-size:0}
.news-table td.yes::before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%232f7a3d'/%3E%3Cpath d='M5.5 10.4l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
.news-table .item-ref{display:grid;grid-template-columns:40px 1fr;align-items:center;column-gap:.75rem;width:100%;max-width:230px;margin:0 auto;text-align:start;
  white-space:normal;padding:0;border:0;background:none;box-shadow:none;border-radius:0}
.news-table .item-ref img{width:38px;height:38px;object-fit:contain;padding:1px;border-radius:0;background:radial-gradient(circle at 50% 40%,#fffdf6,#efe0b8 85%);border:1px solid #b8913f;box-shadow:none}
.news-table .item-ref b{font-weight:600;color:#1d1812}
[dir=rtl] .news-table th,[dir=rtl] .gd-page .news-table th{font-family:"Noto Kufi Arabic",Inter,sans-serif;letter-spacing:0;text-transform:none;font-size:.8rem}
@media(max-width:640px){
  .news-prose .news-table{background:none;border:0;outline:0;overflow:visible}
  .news-prose .news-table table{margin:0;width:100%}
  .news-prose .news-table table,.news-prose .news-table tbody,.news-prose .news-table tr,.news-prose .news-table td{display:block;width:100%}
  .news-prose .news-table thead{display:none}
  .news-prose .news-table tbody tr{margin:0 0 .8rem;border:1px solid #b8913f;outline:1px solid #e3cf9c;outline-offset:-4px;background:#fffcf4}
  .news-prose .news-table td,.news-prose .news-table td+td{border:0;border-top:1px solid #ece0c4;padding:.55rem .85rem}
  .news-prose .news-table td::before{content:attr(data-label);display:block;margin-bottom:.15rem;font:700 .64rem/1.2 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#9c7426}
  [dir=rtl] .news-prose .news-table td::before{font-family:"Noto Kufi Arabic",Inter,sans-serif;letter-spacing:0;text-transform:none;font-size:.72rem}
  .news-prose .news-table td:first-child,.gd-page .news-prose .news-table td:first-child{border-top:0;background:#fbf3df;border-bottom:1px solid #b8913f;font-weight:700;padding:.65rem .85rem}
  .news-prose .news-table td:first-child::before{display:none}
  .news-prose .news-table td.yes{font-size:0}
  .news-prose .news-table td.yes::before{content:attr(data-label);display:block;width:auto;height:auto;background:none}
  .news-prose .news-table td.yes::after{content:"";display:inline-block;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%232f7a3d'/%3E%3Cpath d='M5.5 10.4l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat}
  .news-prose .news-table tbody tr:hover td{background:none}
  .news-prose .news-table tbody tr:hover td:first-child{background:#fbf3df}
}

/* Vote page (/Vote): banner with facts, partner cards with the partner's own logo on a dark stage in its colour, 3 steps. */
.vt-facts .coin{width:1.1rem;height:1.1rem;vertical-align:-.2rem;margin-inline-end:.3rem}
.vt-notice,.vt-ready{margin:1.4rem 0 0;font-weight:600}
.vt-ready{color:var(--ok)}
.vt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));gap:1.1rem;margin:1.2rem 0 0}
.vt-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:.6rem;padding:1rem 1rem 1.2rem;border-radius:16px;text-align:center;
  background:radial-gradient(120% 80% at 50% 0%,#fffdf6,#f4e8cc);border:1px solid #c9982f;box-shadow:0 0 0 4px #fffaf0,0 0 0 5px #c9982f66,0 14px 30px #3a2c1424;transition:transform .2s,box-shadow .2s}
.vt-card:hover{transform:translateY(-4px);box-shadow:0 0 0 4px #fffaf0,0 0 0 5px var(--site),0 20px 38px #3a2c1436}
.vt-state{position:absolute;top:.7rem;inset-inline-end:.7rem;z-index:2;padding:.15rem .6rem;border-radius:999px;background:#fffaf0;border:1px solid #c9982f88;font:700 .72rem/1.6 Inter,sans-serif;color:var(--muted)}
.vt-card.is-ready .vt-state{background:#2f6b3a;border-color:#2f6b3a;color:#fff}
.vt-stage{display:grid;place-items:center;width:100%;height:120px;border-radius:12px;padding:.8rem;
  background:radial-gradient(70% 90% at 50% 50%,color-mix(in srgb,var(--site) 55%,transparent),transparent 75%),linear-gradient(#241b12,#0f0b07);
  box-shadow:inset 0 0 0 1px #c9982f88,inset 0 -12px 24px #0006}
.vt-stage img{max-width:100%;max-height:92px;object-fit:contain;filter:drop-shadow(0 4px 10px #000a)}
.vt-card h2{margin:.3rem 0 0;font-size:1.25rem}
.vt-reward{margin:0;font-weight:800;color:#8a6420;display:flex;align-items:center;gap:.35rem}
.vt-card .btn{margin-top:.3rem}
.vt-wait{font-variant-numeric:tabular-nums}
.vt-how{margin-top:2.2rem}
.vt-how h2{font-size:1.4rem;margin:0 0 .9rem}
.vt-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.vt-steps li{display:flex;flex-direction:column;gap:.25rem;padding:1.1rem 1.2rem;border-radius:14px;background:#fbf7eef5;border:1px solid #d6c59d;border-top:3px solid var(--seal)}
.vt-steps li span{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--seal);color:#fbe9c9;font:700 .95rem/1 Cinzel,Georgia,serif;margin-bottom:.3rem}
.vt-steps li small{color:var(--muted);line-height:1.45}
@media(max-width:760px){.vt-steps{grid-template-columns:1fr}}
.site-footer .vote-badge img{height:34px;max-width:120px;object-fit:contain;margin-bottom:.2rem}
.vt-bonus{display:flex;align-items:center;gap:1rem;margin:1rem 0 0;padding:1rem 1.2rem;border-radius:14px;background:linear-gradient(90deg,#fff3cf,#fffaf0);border:1px solid #c9982f;box-shadow:0 8px 20px #3a2c1418}
.vt-bonus.is-done{background:linear-gradient(90deg,#e3f2e3,#fffaf0);border-color:#2f6b3a}
.vt-bonus-gift{flex:none;display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;background:#fffaf0;border:2px solid #c9982f;font-size:1.5rem}
.vt-bonus strong{display:block;color:#7a2119}.vt-bonus.is-done strong{color:var(--ok)}
.vt-bonus small{display:block;color:var(--muted);font-size:.85rem;margin-top:.15rem}
.vt-bonus-bar{display:block;height:8px;margin-top:.5rem;border-radius:999px;background:#ecdfc2;overflow:hidden;max-width:22rem}
.vt-bonus-bar i{display:block;height:100%;background:linear-gradient(90deg,#c9982f,#9b2c22)}
.vt-support{background:radial-gradient(120% 80% at 50% 0%,#fffdf6,#efe6d2)}
.vt-support .vt-state{background:#fff6d8;border-color:#c9982f;color:#8a6420}
.vt-support-note{margin:0;font-size:.85rem;line-height:1.45;color:var(--muted)}
/* Level grid (/Levels) */
.lv-band{margin-top:2rem;scroll-margin-top:110px}.lv-band h2{display:flex;align-items:center;gap:.6rem;margin:0}.lv-band .news-table{margin:.8rem 0 .5rem}
.lv-num{font-variant-numeric:tabular-nums;white-space:nowrap}.lv-old{color:var(--muted);text-decoration:line-through}
#lv-notes,#lv-rebirth{scroll-margin-top:110px}

/* Level grid charts (_LevelCharts): parchment frames, seal-red line/bars for now, dashed bronze for before. */
.lv-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(460px,100%),1fr));gap:1.2rem;margin-top:1.6rem;scroll-margin-top:110px}
.lv-chart{margin:0;padding:1rem 1.1rem .8rem;border-radius:14px;background:#fffdf6;border:1px solid #c9982f;box-shadow:0 0 0 4px #fffaf0,0 0 0 5px #c9982f55,0 12px 26px #3a2c141c}
.lv-chart figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .6rem;margin-bottom:.4rem}
.lv-chart figcaption strong{font:700 1.05rem/1.3 Cinzel,Georgia,serif;color:#7a2119}.lv-chart figcaption small{color:var(--muted)}
.lv-chart svg{display:block;width:100%;height:auto}
.lv-grid{stroke:#e7dcc2;stroke-width:1}
.lv-ylab{font:600 11px Inter,sans-serif;fill:#8a7a5c;text-anchor:end}.lv-xlab{font:600 11px Inter,sans-serif;fill:#8a7a5c;text-anchor:middle}
.lv-newband{fill:#c9982f;opacity:.12}
.lv-line{fill:none;stroke:#9b2c22;stroke-width:2.5;stroke-linejoin:round}
.lv-old-line{fill:none;stroke:#a0702a;stroke-width:2;stroke-dasharray:6 5}
.lv-bar-new{fill:#9b2c22}.lv-bar-old{fill:#d9c08a}
.lv-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .9rem;margin:.4rem 0 0;font-size:.82rem;color:var(--muted)}
.lv-key{display:inline-block;width:1.2rem;height:.6rem;margin-inline-end:.35rem;border-radius:3px;vertical-align:middle}
.lv-key-new{background:#9b2c22}.lv-key-old{background:repeating-linear-gradient(90deg,#a0702a 0 6px,transparent 6px 10px);height:3px}.lv-key-band{background:#c9982f33;border:1px solid #c9982f66}
.lv-chart .lv-key-old{background:#d9c08a;height:.6rem}
.lv-chart:first-child .lv-key-old{background:repeating-linear-gradient(90deg,#a0702a 0 6px,transparent 6px 10px);height:3px}

/* Player reviews (/Reviews, the home page, Admin -> Player reviews): gold stars, a rating summary card in the banner, a pure-CSS
   star picker (radios 5..1 in row-reverse, so it reads correctly in RTL too) and parchment review cards with the hero's portrait. */
.rv-stars{color:#d9cdb2;letter-spacing:.08em;font-size:1.05rem;line-height:1;white-space:nowrap}.rv-stars>span{color:#c9982f;text-shadow:0 1px 0 #7a5a1455}
.rv-meter{position:relative;display:inline-block;color:#ddd0b3;font-size:1.6rem;letter-spacing:.1em;line-height:1;white-space:nowrap}
.rv-meter>span{position:absolute;inset-block:0;inset-inline-start:0;overflow:hidden;color:#c9982f;text-shadow:0 1px 0 #7a5a1466}
@media(min-width:861px){.rv-banner{grid-template-columns:1.1fr .9fr;align-items:center}}
.rv-cta{margin-top:1.1rem}
.rv-summary{position:relative;padding:1.4rem 1.5rem;border-radius:16px;background:radial-gradient(120% 80% at 50% 0%,#fffdf6,#f4e8cc);border:1px solid #c9982f;
  box-shadow:0 0 0 4px #fffaf0,0 0 0 5px #c9982f66,0 14px 30px #3a2c1424}
.rv-score{display:flex;flex-direction:column;align-items:center;gap:.35rem;text-align:center;margin-bottom:1rem}
.rv-score>strong{font:700 clamp(3rem,7vw,4.2rem)/1 Cinzel,Georgia,serif;color:var(--seal)}
.rv-score small,.rv-home-score small{color:var(--muted);font-weight:700;letter-spacing:.06em}
.rv-bars{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.rv-bars a{display:grid;grid-template-columns:2.6rem 1fr 2.2rem;align-items:center;gap:.6rem;padding:.15rem .3rem;border-radius:8px;color:var(--ink-soft);text-decoration:none;font-weight:700;font-size:.85rem}
.rv-bars a:hover{background:#c9982f1f}
.rv-bars i{display:block;height:9px;border-radius:999px;background:#ecdfc2;overflow:hidden}.rv-bars b{display:block;height:100%;background:linear-gradient(90deg,#e0b85a,#c9982f)}
[dir=rtl] .rv-bars b{background:linear-gradient(270deg,#e0b85a,#c9982f)}
.rv-bars em{font-style:normal;color:var(--muted);text-align:end}
.rv-first{text-align:center;padding:.6rem 0}.rv-first-icon{font-size:2.6rem}.rv-first h2{margin:.3rem 0}.rv-first p{margin:0;color:var(--ink-soft)}
.rv-write{margin-top:1.6rem;padding:1.5rem 1.7rem;border-radius:14px;scroll-margin-top:90px}
.rv-write h2{font-size:1.35rem;margin:0 0 .35rem}
.rv-write-row{display:flex;align-items:center;gap:1.1rem;flex-wrap:wrap}.rv-write-row>div{flex:1;min-width:min(260px,100%)}.rv-write-row p{margin:0}
.rv-write-icon{flex:none;display:grid;place-items:center;width:3.2rem;height:3.2rem;border-radius:50%;background:#fffaf0;border:2px solid #c9982f;font-size:1.5rem}
.rv-gift,.rv-gift-note{display:inline-flex;align-items:center;gap:.2rem;color:#8a6420;font-weight:800}
.rv-gift-note{margin:.6rem 0 0;padding:.45rem .8rem;border-radius:999px;background:#fff3cf;border:1px solid #c9982f}
.rv-best{margin-top:.4rem!important;font-weight:700;color:var(--seal)}
.rv-done,.rv-error{margin:0 0 1rem;padding:.7rem 1rem;border-radius:10px;font-weight:700}.rv-done{background:#e3f2e3;color:var(--ok)}.rv-error{background:#f7e3df;color:var(--seal)}
.rv-form-wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:1.6rem;align-items:start}.rv-form-intro p{margin:0;color:var(--ink-soft)}
.rv-form{display:flex;flex-direction:column;gap:.9rem}.rv-form .field{margin:0}.rv-form .btn{align-self:flex-start}
.rv-pick-wrap{border:0;margin:0;padding:0;min-width:0}.rv-pick-wrap legend{font-size:.95rem;font-weight:700;margin-bottom:.2rem}
.rv-pick{display:inline-flex;flex-direction:row-reverse;gap:.15rem}
.rv-pick input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.rv-pick label{cursor:pointer;font-size:2.3rem;line-height:1;color:#d9cdb2;transition:color .12s,transform .12s}
.rv-pick input:checked~label,.rv-pick label:hover,.rv-pick label:hover~label{color:#c9982f}
.rv-pick label:hover{transform:scale(1.15)}
.rv-pick input:focus-visible+label{outline:2px solid var(--seal);outline-offset:2px;border-radius:4px}
.rv-mine-head{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:.9rem}.rv-mine-head h2{margin:0}
.rv-state{display:inline-flex;align-items:center;padding:.15rem .7rem;border-radius:999px;border:1px solid #c9982f88;background:#fffaf0;font:700 .78rem/1.6 Inter,sans-serif;color:var(--muted)}
.rv-state.is-pending{background:#fbefd4;color:#8a6420}.rv-state.is-approved,.rv-state.is-paid{background:#e3efe2;border-color:#2f6b3a66;color:var(--ok)}.rv-state.is-hidden{background:#f3dddb;color:var(--seal)}
.rv-mine .rv-card{max-width:40rem}
.rv-edit{margin-top:1rem}.rv-edit summary{cursor:pointer;font-weight:700;color:var(--seal)}.rv-edit[open] summary{margin-bottom:.4rem}
.rv-list{scroll-margin-top:90px}.rv-filter{margin:0 0 1.2rem}
.rv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:1.2rem;align-items:start}
.rv-card{position:relative;display:flex;flex-direction:column;gap:.55rem;min-width:0;padding:1.1rem 1.2rem 1rem;border-radius:16px;
  background:radial-gradient(120% 80% at 50% 0%,#fffdf6,#f4e8cc);border:1px solid #c9982f;box-shadow:0 0 0 4px #fffaf0,0 0 0 5px #c9982f55,0 14px 30px #3a2c1420}
.rv-card-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.rv-card h3{margin:0;font-size:1.12rem;line-height:1.3;overflow-wrap:anywhere}
.rv-body{margin:0;white-space:pre-line;overflow-wrap:anywhere;line-height:1.55;color:var(--ink-soft)}
.rv-lang{padding:0 .45rem;border-radius:4px;border:1px solid var(--line);background:#fffaf0;font:700 .68rem/1.6 Inter,sans-serif;letter-spacing:.08em;color:var(--muted)}
.rv-reply{padding:.6rem .8rem;border-radius:10px;background:linear-gradient(#fff6dc,#f6e6bd);border:1px solid #c9982f88;border-inline-start:4px solid #9b2c22;color:#4a3b28}
.rv-reply strong{display:block;font-size:.8rem;letter-spacing:.06em;color:#7a2119}.rv-reply p{margin:.2rem 0 0;white-space:pre-line;overflow-wrap:anywhere;font-size:.92rem;line-height:1.5}
.rv-hero{display:flex;align-items:center;gap:.7rem;margin-top:auto;padding-top:.7rem;border-top:1px dashed #c9982f66}
.rv-hero .portrait{--p:42px}.rv-hero .framed-portrait{margin:calc(var(--p)*-.35)}
.rv-initial{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#2a2118;border:2px solid var(--gold);color:#f5d77e;font:700 1.15rem/1 Cinzel,Georgia,serif}
.rv-who{display:flex;flex-direction:column;min-width:0;flex:1}.rv-who strong{overflow-wrap:anywhere}
.rv-who small{display:flex;flex-wrap:wrap;gap:.15rem .5rem;color:var(--muted);font-size:.78rem;font-weight:600}
.rv-reborn{padding:0 .4rem;border-radius:999px;background:#5b3fa0;color:#fff;font-size:.68rem;line-height:1.6}
.rv-hero time{flex:none;align-self:flex-end;color:var(--muted);font-size:.75rem}
.rv-empty{margin:0}
.rv-pages{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem;margin-top:1.4rem}
.rv-pages a{display:grid;place-items:center;min-width:2.3rem;height:2.3rem;padding:0 .5rem;border-radius:999px;border:1px solid var(--line);background:#fbf7eeee;color:var(--ink-soft);text-decoration:none;font-weight:700}
.rv-pages a.active{background:var(--ink);border-color:var(--ink);color:#f3ecdc}
.rv-home-grid{display:grid;grid-template-columns:minmax(200px,.7fr) repeat(3,1fr);gap:1.2rem;align-items:stretch}
.rv-home-score{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.45rem;padding:1.3rem;border-radius:16px;text-align:center}
.rv-home-score>strong{font:700 3.4rem/1 Cinzel,Georgia,serif;color:var(--seal)}
.rv-home .rv-body{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.rv-home .wn-teaser h2{font-size:1.3rem}
.arv-list{display:flex;flex-direction:column;gap:1rem}
.arv-row{display:grid;grid-template-columns:1fr auto;gap:1rem 1.4rem;padding:1.1rem 1.3rem}
.arv-main{display:flex;flex-direction:column;gap:.45rem;min-width:0}.arv-main h3{margin:0;font-size:1.05rem}.arv-main .news-meta{display:flex;flex-wrap:wrap;gap:.3rem .8rem;margin:0}
.arv-reply{display:flex;flex-direction:column;gap:.35rem;margin-top:.3rem}.arv-reply label{font-weight:700;font-size:.85rem}
.arv-reply-actions{display:flex;gap:.5rem;flex-wrap:wrap}
@media(max-width:1000px){.rv-home-grid{grid-template-columns:1fr 1fr}}
@media(max-width:860px){.rv-form-wrap{grid-template-columns:1fr;gap:1rem}.rv-summary{padding:1.1rem}.rv-write{padding:1.2rem 1rem}}
@media(max-width:620px){.rv-home-grid{grid-template-columns:1fr}.arv-row{grid-template-columns:1fr}.rv-write-row{text-align:center;justify-content:center}}
@media(prefers-reduced-motion:reduce){.rv-pick label{transition:none}.rv-pick label:hover{transform:none}}
.rv-card .rv-reply p{color:#4a3b28}


/* Features page (/Features): banner, topic chips, colour-coded groups (gd-topic-*), parchment feature cards with gold stats. */
.ft-group{margin-top:2.6rem}
.ft-group .gd-topic-head small{max-width:28rem;text-align:end;white-space:normal}
.ft-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(290px,100%),1fr));gap:1rem}
.ft-card{position:relative;display:flex;flex-direction:column;gap:.4rem;padding:1.1rem 1.2rem 1.15rem;border-radius:14px;background:#fbf7eef5;
  border:1px solid #d6c59d;border-top:3px solid var(--acc);box-shadow:0 8px 20px #3a2c1414;transition:transform .18s,box-shadow .18s}
.ft-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px #3a2c1426}
.ft-card h3{margin:0;font:700 1.05rem/1.3 Inter,"Segoe UI",sans-serif;color:var(--ink);padding-inline-end:5.5rem}
.ft-card p{margin:0;font-size:.93rem;line-height:1.55;color:#4a3b28;flex:1}
.ft-stat{align-self:flex-start;margin-top:.35rem;padding:.2rem .7rem;border-radius:999px;background:linear-gradient(#fff6d8,#f3e2b0);border:1px solid #c9982f;
  color:#7a4a12;font:700 .78rem/1.5 Inter,sans-serif}
.ft-testing{position:absolute;top:.8rem;inset-inline-end:.8rem;padding:.1rem .55rem;border-radius:999px;background:#fff1d6;border:1px solid #d9a441;color:#8a5a12;font:700 .7rem/1.6 Inter,sans-serif}
.ft-gallery{margin-top:1.2rem}
.ft-cta{display:flex;align-items:center;justify-content:space-between;gap:1.4rem;flex-wrap:wrap;margin:3rem 0 0;padding:1.8rem 2rem;border-radius:18px;
  background:radial-gradient(120% 100% at 0% 0%,#fffdf6,#f4e6c4);border:1px solid #c9982f;box-shadow:0 0 0 4px #fffaf0,0 0 0 5px #c9982f66,0 14px 30px #3a2c1424}
.ft-cta h2{margin:0 0 .3rem}.ft-cta p{margin:0;color:var(--muted)}
@media(max-width:860px){.ft-group .gd-topic-head{flex-direction:column;align-items:flex-start}.ft-group .gd-topic-head small{text-align:start}.ft-cta{flex-direction:column;align-items:flex-start}}

/* Phones and tablets (owner 2026-10-25: "the website on mobile is not good at all").
   1. The open menu was part of the sticky header and grew taller than the screen (1,485px on a 740px phone): a swipe moved the
      page first, and the account panel, absolutely placed under its button, opened below the screen. Now the open menu is a
      full-screen panel that scrolls by itself (the page behind it is locked, html.nav-locked in site.js), and the account and
      language panels open inside it instead of floating. */
@media(max-width:1180px){
  .site-nav.open{position:fixed;inset:0;z-index:60;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#f3ecdc;backdrop-filter:none}
  .site-nav.open .container{align-items:flex-start;padding-bottom:2rem}
  html.nav-locked,html.nav-locked body{overflow:hidden}
  .site-nav.open .account-nav{flex-wrap:wrap;align-items:stretch}
  .site-nav.open .user-menu,.site-nav.open .lang-menu{width:100%}
  .site-nav.open .user-menu summary{justify-content:flex-start}
  .site-nav.open .user-menu-name{display:inline;max-width:none}
  .site-nav.open .user-menu-caret{margin-inline-start:auto}
  .site-nav.open .user-menu-panel,.site-nav.open .lang-list{position:static;min-width:0;width:100%;margin-top:.5rem;box-shadow:none}
  .nav-links>li>a,.mm-links a,.account-nav .user-menu-panel a,.account-nav .user-menu-panel button{min-height:44px;display:flex;align-items:center}
}
/* 2. Small screens: no blur behind the sticky header (it repaints on every scroll frame and makes phones lag), dialogs and the
      Discord panel sized to the visible screen (100vh includes the hidden address bar), text fields at 16px so iOS doesn't zoom
      in on focus, and room at the bottom so the Discord button never covers the last line of a page. */
@media(max-width:760px){
  .site-nav{backdrop-filter:none;background:#f3ecdcf2}
  .hero,.lp-hero{min-height:calc(100svh - 64px)}
  .store-promo{max-height:calc(100dvh - 32px)}
  .discord-panel{max-height:calc(100dvh - 120px)}
  input,select,textarea,.form-control,.form-select,.form-control-sm,.form-select-sm{font-size:16px}
  main.container{padding-bottom:4.5rem}
}

/* Wishlist (owner 2026-10-25: "doesn't explain what to do, not aligned"): the steps come first, gift cards sit centred at a
   steady width instead of one card stuck on the left. */
.wl-steps{margin-top:1.5rem}
.wl-gifts{grid-template-columns:repeat(auto-fit,minmax(230px,300px));justify-content:center}

/* Home "Built for Nox" (owner 2026-10-25): the page banner with the feature areas as a numbered list and crossfading screenshots.
   Each slide shows for 6 s of a loop of --slides x 6 s (4 slides: the keyframes' 25% is one slide's share). */
.bx{align-items:stretch;margin-top:3rem}
.bx-title{margin:0;font-size:clamp(2.4rem,5vw,3.9rem);line-height:1.08;text-shadow:0 2px 0 #fff}
.bx-title em{font-style:normal;color:#a3291f;text-shadow:0 2px 0 #fff,0 0 24px #e2b64a55}
.bx .pb-lead{margin-bottom:1rem}
.bx-list{display:grid;grid-template-columns:1fr 1fr;column-gap:1.4rem;margin:0 0 1.4rem;border-top:1px solid #c9982f66}
.bx-row{position:relative;display:grid;grid-template-columns:2.2rem 1fr;align-items:baseline;column-gap:.5rem;padding:.6rem .3rem .55rem;border-bottom:1px solid #c9982f40;color:var(--ink);text-decoration:none;transition:background .2s}
.bx-row::after{content:"";position:absolute;inset-inline-start:0;bottom:-1px;width:0;height:2px;background:linear-gradient(90deg,#a3291f,#e2b64a);transition:width .35s}
.bx-row:hover{background:linear-gradient(90deg,#f5d77e33,transparent);color:var(--ink)}.bx-row:hover::after{width:100%}
[dir=rtl] .bx-row:hover{background:linear-gradient(270deg,#f5d77e33,transparent)}
.bx-num{grid-row:span 2;font:700 1.05rem Cinzel,Georgia,serif;color:#a3291f;text-align:center}
.bx-row strong{font:700 1rem Cinzel,Georgia,"Noto Kufi Arabic",serif;letter-spacing:.02em}
.bx-row small{grid-column:2;font-size:.8rem;line-height:1.35;color:var(--ink-soft)}
.bx-foot{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem 1.6rem}
.bx-art{aspect-ratio:auto;min-height:420px;align-self:stretch}
.bx-slide{position:absolute;inset:0;opacity:0;animation:bx-fade calc(var(--slides,4) * 6s) infinite;animation-delay:calc(var(--i) * 6s)}
.bx-slide img{width:100%;height:100%;object-fit:cover;animation:bx-zoom calc(var(--slides,4) * 6s) infinite;animation-delay:inherit}
.bx-slide span{position:absolute;inset:auto 0 0;padding:2.2rem 1.2rem .9rem;background:linear-gradient(transparent,#1d1812d9);color:#f6ecd4;font:600 .9rem/1.3 Cinzel,Georgia,"Noto Kufi Arabic",serif;letter-spacing:.05em}
@keyframes bx-fade{0%{opacity:0}4%{opacity:1}25%{opacity:1}29%{opacity:0}100%{opacity:0}}
@keyframes bx-zoom{0%{transform:scale(1.02)}29%{transform:scale(1.12)}100%{transform:scale(1.12)}}
.bx-seal{position:absolute;top:1rem;inset-inline-end:1rem;z-index:2;display:grid;place-items:center;align-content:center;width:86px;height:86px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#c23a2c,#8a1f16 70%);color:#fbe9c9;box-shadow:0 0 0 3px #fffaf0,0 0 0 5px #c9982f,0 10px 24px #0006;line-height:1}
.bx-seal b{font:700 1.6rem Cinzel,Georgia,serif}.bx-seal small{font:800 .58rem Inter,sans-serif;letter-spacing:.16em;text-transform:uppercase;margin-top:.2rem}
@media(prefers-reduced-motion:reduce){.bx-slide,.bx-slide img{animation:none}.bx-slide:first-child{opacity:1}}
@media(max-width:1180px){.bx-art{min-height:0;aspect-ratio:16/9}}
@media(max-width:760px){.bx-list{grid-template-columns:1fr;text-align:start}.bx-foot{justify-content:center}.bx-seal{width:66px;height:66px}.bx-seal b{font-size:1.2rem}}

/* VIP duration chooser (_VipChooser, owner 2026-10-25): three radio pills switch every VIP card between its 3, 7 and 30-day item. */
.vd-r{position:absolute;opacity:0;pointer-events:none}
.vd-switch{display:flex;gap:.4rem;width:max-content;max-width:100%;margin:0 0 1.2rem;padding:.3rem;border:1px solid var(--line);border-radius:999px;background:#fffaf0;box-shadow:0 6px 18px #3a2c1426}
.vd-switch label{display:flex;flex-direction:column;align-items:center;min-width:110px;padding:.45rem 1rem;border-radius:999px;cursor:pointer;color:var(--ink-soft);line-height:1.2;transition:background .2s,color .2s}
.vd-switch b{font-weight:700}.vd-switch small{font-size:.72rem;color:var(--muted)}
#vd3:checked~.vd-switch [for=vd3],#vd7:checked~.vd-switch [for=vd7],#vd30:checked~.vd-switch [for=vd30]{background:var(--seal);color:#fff}
#vd3:checked~.vd-switch [for=vd3] small,#vd7:checked~.vd-switch [for=vd7] small,#vd30:checked~.vd-switch [for=vd30] small{color:#f6dcd6}
.vd-r:focus-visible~.vd-switch{outline:2px solid var(--gold);outline-offset:3px}
.vd-pane{display:none}
#vd3:checked~.shop-grid .vd-3,#vd7:checked~.shop-grid .vd-7,#vd30:checked~.shop-grid .vd-30{display:contents}
.vd-day{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .5rem;margin:.15rem 0 .8rem;font-size:.82rem;color:var(--muted)}
.vd-save{display:inline-block;padding:.05rem .55rem;border-radius:999px;background:#2f6b3a1f;color:var(--ok,#2f6b3a);font-weight:700}
.vd-direct{margin-top:1rem}
@media(max-width:560px){.vd-switch{width:100%}.vd-switch label{flex:1;min-width:0;padding:.45rem .3rem}}

/* Account page folded lists (Coin history, My orders): the heading is the toggle, with the count and a caret. */
.ac-fold>summary{display:flex;align-items:center;gap:.7rem;list-style:none;cursor:pointer;user-select:none;padding:.2rem 0}
.ac-fold>summary::-webkit-details-marker{display:none}
.ac-fold>summary h2{margin:0}
.ac-fold-count{min-width:1.8rem;padding:.05rem .55rem;border-radius:999px;background:#c9982f26;border:1px solid #c9982f88;color:#6e4f14;font:700 .8rem Inter,sans-serif;text-align:center}
.ac-fold>summary::after{content:"";margin-inline-start:auto;width:.55rem;height:.55rem;border:solid var(--seal);border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform .2s}
.ac-fold[open]>summary::after{transform:rotate(225deg)}
.ac-fold[open]>summary{margin-bottom:.8rem}
.ac-fold>summary:hover h2{color:var(--seal)}
.ac-fold-foot{margin:1rem 0 0}

/* IP allowlist, redesigned (owner 2026-10-25: "primitive"): banner with status tiles, tick-and-change toolbar, folded history. */
.ia-banner .pb-lead{max-width:52rem}
.ia-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.8rem;margin-top:1.2rem}
.ia-tile{position:relative;display:flex;flex-direction:column;gap:.2rem;padding:.9rem 1rem;border:1px solid #c9982f88;border-radius:10px;background:#fffaf0d9;color:var(--ink);text-decoration:none;box-shadow:0 8px 20px #3a2c1414}
a.ia-tile:hover{border-color:var(--gold);color:var(--ink)}
.ia-tile small{font:700 .7rem Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.ia-tile strong{font:700 1.45rem/1.2 Cinzel,Georgia,serif}.ia-tile strong span{font-size:.95rem;color:var(--muted)}
.ia-tile em{font-style:normal;font-size:.8rem;font-weight:600;color:var(--ink-soft)}
.ia-tile.is-ok{border-top:3px solid var(--ok,#2f6b3a)}.ia-tile.is-ok em{color:var(--ok,#2f6b3a)}
.ia-tile.is-warn{border-top:3px solid var(--seal)}.ia-tile.is-warn em{color:var(--seal)}
.ia-tile-me{border-top:3px solid var(--gold)}.ia-tile-me .btn{align-self:flex-start;margin-top:.3rem}
.ia-last{font-size:1.1rem!important}
.ia-head{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .7rem;margin-bottom:.3rem}
.ia-head h2{display:flex;align-items:center;gap:.6rem;margin:0;font-size:1.3rem}
.ia-icon{display:grid;place-items:center;width:2.3rem;height:2.3rem;border-radius:10px;background:#c9982f1f;border:1px solid #c9982f99;font-size:1.1rem}
.ia-chip{padding:.2rem .65rem;border-radius:999px;background:#6a5f4e14;color:var(--muted);font:700 .78rem Inter,sans-serif}
.ia-chip-on{background:#2f6b3a17;color:var(--ok,#2f6b3a)}
.ia-quick{margin:0 0 0 auto}[dir=rtl] .ia-quick{margin:0 auto 0 0}
.ia-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.9rem 0 .5rem;padding:.55rem .8rem;border:1px dashed #c9982f88;border-radius:10px;background:#fffaf0}
.ia-bulk .btn{opacity:.45;pointer-events:none}.ia-bulk.is-on .btn{opacity:1;pointer-events:auto}
.ia-bulk.is-on{border-style:solid;border-color:var(--gold);box-shadow:0 6px 16px #c9982f26}
.ia-all{display:flex;align-items:center;gap:.4rem;margin:0;font-weight:600;cursor:pointer}
.ia-ticked{margin-inline-end:auto;color:var(--muted);font-size:.85rem}.ia-ticked b{color:var(--seal)}
.ia-tick{width:2rem;text-align:center}
.ia-tick input,.ia-all input{width:1.05rem;height:1.05rem;accent-color:var(--seal)}
.ia-table td{vertical-align:middle}
.ia-mine td{background:#2f6b3a0d}
.ia-ip{font-family:Consolas,monospace;max-width:12rem}
.ia-state{display:inline-block;padding:.15rem .6rem;border-radius:999px;background:#6a5f4e14;color:var(--muted);font-size:.78rem;font-weight:700}
.ia-state.on{background:#2f6b3a17;color:var(--ok,#2f6b3a)}
.ia-adds{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}
.ia-adds .ia-add{margin:0;padding:0;border:0}
.ia-many{margin-top:.7rem}
.ia-many>summary{cursor:pointer;font-weight:700;color:var(--seal)}
.ia-many form{display:flex;flex-direction:column;gap:.5rem;margin-top:.6rem}
.ia-many textarea{font-family:Consolas,monospace}
.ia-many-row{display:flex;flex-wrap:wrap;gap:.5rem}.ia-many-row .form-control{flex:1 1 14rem}
.ia-skipped{margin:.4rem 0 0;padding-inline-start:1.2rem;font-weight:500}
.ia-act{display:inline-block;padding:.1rem .5rem;border-radius:999px;font-size:.74rem;font-weight:700;background:#6a5f4e14}
.ia-act-add{background:#2f6b3a17;color:var(--ok,#2f6b3a)}.ia-act-delete{background:#9b2c2214;color:var(--seal)}
.ia-act-toggle,.ia-act-edit{background:#c9982f1f;color:#6e4f14}

/* Account -> My bans and Admin -> Ban appeals (owner 2026-10-25). */
.mb-section h2{display:flex;align-items:center;gap:.6rem}
.mb-clear{margin:.4rem 0 .8rem;font-weight:700;color:var(--ok,#2f6b3a)}
.mb-ban{margin:.7rem 0;padding:.9rem 1.1rem;border:1px solid var(--line);border-radius:10px;background:#fffaf0}
.mb-ban.is-running{border-color:var(--seal);border-inline-start:4px solid var(--seal);background:linear-gradient(90deg,#9b2c220d,transparent 60%),#fffaf0}
.mb-ban-head{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .8rem}
.mb-kind{padding:.12rem .6rem;border-radius:999px;background:#c9982f1f;border:1px solid #c9982f88;color:#6e4f14;font:700 .74rem Inter,sans-serif}
.mb-state{margin-inline-start:auto;padding:.12rem .6rem;border-radius:999px;background:#6a5f4e14;color:var(--muted);font:700 .74rem Inter,sans-serif}
.mb-state.on{background:#9b2c221a;color:var(--seal)}
.mb-times{display:flex;flex-wrap:wrap;gap:.3rem 1.2rem;margin:.5rem 0 0;font-size:.86rem;color:var(--ink-soft)}
.mb-appeal{margin-top:.7rem;padding:.6rem .8rem;border-radius:8px;background:#fff;border:1px dashed var(--line)}
.mb-appeal p{margin:.3rem 0}.mb-appeal small{color:var(--muted)}
.mb-appeal-pending{border-color:#c9982f}.mb-appeal-approved{border-color:var(--ok,#2f6b3a)}.mb-appeal-approved strong{color:var(--ok,#2f6b3a)}
.mb-appeal-denied{border-color:var(--seal)}.mb-appeal-denied strong{color:var(--seal)}
.mb-form{margin-top:.7rem}.mb-form>summary{cursor:pointer;font-weight:700;color:var(--seal)}
.mb-form form{display:flex;flex-direction:column;gap:.6rem;margin-top:.6rem}.mb-form label{display:flex;flex-direction:column;gap:.3rem;font-weight:600}
.mb-form .btn{align-self:flex-start}
.ap-empty{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:2.4rem 1.4rem;text-align:center;color:var(--ink-soft);font-weight:600}
.ap-empty span{display:grid;place-items:center;width:2.8rem;height:2.8rem;border-radius:50%;background:#2f6b3a17;color:var(--ok,#2f6b3a);font-size:1.3rem}
/* Admin tab strip (Reports, Appeals): pills with a count, the open one filled seal red, clear of the list below. */
.adm-tabs{margin:1.6rem 0 1.2rem}
.adm-tabs a{padding:.4rem .5rem .4rem .9rem}
.adm-tabs a span{width:auto;min-width:1.6rem;padding:0 .45rem;border-radius:999px;background:#6a5f4e1f;color:var(--ink-soft)}
.adm-tabs a.active{background:linear-gradient(#b23a2e,#7d211a);border-color:#7d211a;color:#fbe9c9}
.adm-tabs a.active span{background:#fbe9c9;color:#7d211a}
.ap-card{padding:1.2rem 1.4rem;margin:0 0 1rem}
.ap-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.8rem}
.ap-head small{color:var(--muted)}
.ap-status{padding:.15rem .7rem;border-radius:999px;font:700 .78rem Inter,sans-serif;background:#c9982f1f;color:#6e4f14}
.ap-approved{background:#2f6b3a17;color:var(--ok,#2f6b3a)}.ap-denied{background:#9b2c2214;color:var(--seal)}
.ap-body{display:grid;grid-template-columns:1.3fr 1fr;gap:1.2rem}
.ap-body h3{margin:0 0 .4rem;font-size:.95rem;font-family:Inter,sans-serif;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.ap-words p{margin:0 0 .5rem;white-space:pre-line}.ap-details{color:var(--ink-soft);font-size:.92rem}
.ap-ban dl{display:grid;grid-template-columns:auto 1fr;gap:.25rem .8rem;margin:0}.ap-ban dt{color:var(--muted);font-weight:600}.ap-ban dd{margin:0}
.ap-decide{display:flex;flex-direction:column;gap:.6rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}
.ap-buttons{display:flex;flex-wrap:wrap;gap:.6rem}
.ap-answer{margin:1rem 0 0;padding-top:.8rem;border-top:1px solid var(--line);color:var(--ink-soft)}
@media(max-width:760px){.ap-body{grid-template-columns:1fr}}

/* Admin -> Player reports (owner 2026-10-25): the card's edge follows the server's recommendation. */
.rp-card{border-inline-start:4px solid var(--line)}
.rp-ban,.rp-enforced{border-inline-start-color:var(--seal)}.rp-jail{border-inline-start-color:#c26a2a}.rp-watch,.rp-review{border-inline-start-color:var(--gold)}
.rp-people{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.4rem;margin:0 0 .8rem}
.rp-people>div{display:flex;flex-direction:column}.rp-people small{color:var(--muted)}
.rp-arrow{color:var(--muted);font-size:1.3rem}.rp-place{margin-inline-start:auto}
.rp-note{margin:0 0 .8rem;padding:.6rem .8rem;border-radius:8px;background:#fffaf0;border:1px dashed var(--line);font-style:italic}
.rp-scan{margin:0 0 .4rem;font-weight:700}.rp-scan-clean{color:var(--ok,#2f6b3a)}.rp-scan-findings,.rp-scan-no_reply{color:var(--seal)}
.rp-facts{margin:0;padding-inline-start:1.1rem;font-size:.88rem}
.rp-parts{margin:.2rem 0 .1rem;padding-inline-start:1rem;font-size:.84rem}
.rp-hint{display:block;color:var(--ink-soft);font-size:.78rem;line-height:1.35}
.rp-advice{display:flex;flex-direction:column;gap:.2rem;margin-top:1rem;padding:.6rem .8rem;border-radius:8px;background:#c9982f14;border:1px solid #c9982f66}
.rp-advice small{color:var(--ink-soft)}
/* Admin → Site settings: a section list beside the cards, and a save bar that stays in view. */
.st-layout{display:grid;grid-template-columns:13rem minmax(0,1fr);gap:1.2rem;align-items:start;margin-top:1.2rem}
.st-nav{position:sticky;top:5.5rem;display:flex;flex-direction:column;gap:.15rem;padding:.6rem}
.st-nav a{display:flex;align-items:center;gap:.55rem;padding:.5rem .65rem;border-radius:8px;color:var(--ink);font-weight:600;text-decoration:none}
.st-nav a:hover{background:#c9982f1f;color:var(--ink)}.st-nav i{font-style:normal;width:1.3rem;text-align:center}
.st-nav-out{margin-top:.4rem;border-top:1px solid var(--line);border-radius:0 0 8px 8px!important;color:var(--seal)!important}
.st-form .ia-list{scroll-margin-top:5.5rem}
.st-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:.2rem 1rem;margin-top:.6rem}
.st-grid-wide{grid-template-columns:minmax(0,3fr) minmax(10rem,1fr)}
.st-sub{margin:1.1rem 0 0;padding-top:.9rem;border-top:1px solid var(--line);font:700 .78rem Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.st-switch{margin:.8rem 0 .2rem;font-size:1.05rem}.st-switch input{width:1.15rem;height:1.15rem;accent-color:var(--seal)}
.st-save{position:sticky;bottom:.8rem;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem 1rem;padding:.75rem 1rem;border:1px solid var(--gold);border-radius:12px;background:#fffaf0f2;box-shadow:0 10px 26px #3a2c1426}
.st-save span{color:var(--muted);font-size:.88rem}
@media (max-width:820px){.st-layout{grid-template-columns:1fr}.st-nav{position:static;flex-direction:row;flex-wrap:wrap}.st-nav-out{margin:0;border:0}.st-grid-wide{grid-template-columns:1fr}}
/* Checkout at the unpaid-orders limit: the orders that hold it, each with Open and Cancel (owner 2026-10-26). */
.unpaid-box{margin:0 0 1.2rem;padding:1rem 1.1rem;border:1px solid #b23a2e;border-inline-start:5px solid #b23a2e;border-radius:10px;background:#fbe9c9}
.unpaid-box h2{margin:0 0 .3rem;font:700 1.05rem Inter,sans-serif;color:#a3291f}
.unpaid-box p{margin:0 0 .8rem;font-size:.88rem;color:#5a1a14}
.unpaid-box ul{display:flex;flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none}
.unpaid-box li{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .7rem;padding:.55rem .7rem;border:1px solid #c9982f66;border-radius:8px;background:#fffaf0}
.unpaid-box li>span{flex:1 1 9rem;min-width:0}.unpaid-box li small{display:block;color:var(--muted)}
.unpaid-box form{margin:0}
.checkout button[disabled]{opacity:.45;cursor:not-allowed}
/* Admin -> Store editor: tabs and the New package button on one line. */
.store-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem 1rem;margin:1.6rem 0 1.2rem}
.store-bar .adm-tabs{margin:0}
/* Admin -> Gift center (owner 2026-10-26): numbered steps, code cards with a usage bar, the coin mark for coin gifts. */
.gc-step{padding:1.4rem 1.6rem 1.5rem;margin:0 0 1.2rem}
.gc-step>header{display:flex;align-items:center;gap:.8rem;margin:0 0 1rem}
.gc-step>header b{flex:none;display:grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;background:linear-gradient(#b23a2e,#7d211a);color:#fbe9c9;font:700 1rem Cinzel,Georgia,serif;box-shadow:0 0 0 3px #fffaf0,0 0 0 4px #c9982f88}
.gc-step>header h2{margin:0;font-size:1.3rem}.gc-step>header p{margin:.1rem 0 0;color:var(--muted);font-size:.88rem}
.gc-fresh{padding:1.2rem 1.4rem;margin:0 0 1.2rem;border-top:3px solid var(--ok,#2f6b3a)}.gc-fresh h2{margin:0 0 .3rem;font-size:1.15rem;color:var(--ok,#2f6b3a)}
.gc-fresh textarea{font-family:Consolas,monospace}
.gc-coins{display:inline-block;flex:none;width:48px;height:48px;border-radius:50%;background:#2a1a10 url("../img/nox-icon.png") center/cover no-repeat;box-shadow:0 0 0 2px #c9982f,0 6px 12px #3a2c1440}
.gc-codes{display:flex;flex-direction:column;gap:.7rem}
.gc-code{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem 1.2rem;padding:1rem 1.2rem;border-inline-start:4px solid var(--ok,#2f6b3a)}
.gc-code.is-closed{border-inline-start-color:var(--line);opacity:.7}
.gc-code-gift{flex:none;display:grid;place-items:center;width:56px}
.gc-code-main{flex:1 1 16rem;min-width:0}
.gc-code-top{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 0 .3rem}
.gc-code-top code{padding:.25rem .6rem;border:1px dashed #c9982f;border-radius:6px;background:#fff6d8;color:#6d4d0e;font:700 .95rem Consolas,monospace;letter-spacing:.06em}
.gc-code h3{margin:0 0 .45rem;font-size:1.05rem}
.gc-code .wish-bar{display:block;max-width:22rem}
.gc-code-facts{display:flex;flex-wrap:wrap;gap:.3rem 1rem;margin:.4rem 0 0;color:var(--muted);font-size:.82rem}
.gc-code form{margin:0}
/* Gift center -> Send a gift: audience cards (the checked one filled), its own fields only, reward cards, the letter preview. */
.gc-who{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.7rem}
.gc-who label{position:relative;display:flex;flex-direction:column;gap:.35rem;padding:.9rem 1rem;border:1px solid #c9982f66;border-radius:12px;background:#fffaf0;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.gc-who label:hover{border-color:var(--gold);transform:translateY(-2px)}
.gc-who input{position:absolute;opacity:0;pointer-events:none}
.gc-who strong{font:700 1rem Cinzel,Georgia,serif;color:var(--ink)}
.gc-who small{color:var(--muted);font-size:.8rem;line-height:1.4}
.gc-glyph{width:2.3rem;height:2.3rem;display:grid;place-items:center;border-radius:10px;background:#c9982f1f;border:1px solid #c9982f99;color:#7d211a;font:700 1rem Cinzel,Georgia,serif}
.gc-who label:has(input:checked){border-color:#7d211a;background:linear-gradient(#fffaf0,#fbe9c9);box-shadow:0 0 0 2px #b23a2e55,0 10px 22px #7d211a1f}
.gc-who label:has(input:checked) .gc-glyph{background:linear-gradient(#b23a2e,#7d211a);color:#fbe9c9;border-color:#7d211a}
.gc-who label:has(input:focus-visible){outline:2px solid #7d211a;outline-offset:2px}
.gc-filter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.8rem;margin-top:1rem;padding:1rem;border:1px dashed #c9982f88;border-radius:12px;background:#fffaf0}
.gc-filter .field{margin:0;flex:1 1 11rem}.gc-filter .field[data-for="names"]{flex-basis:100%}
.gc-filter [data-for]{display:none}
.gc-send-form:has(input[value="names"]:checked) [data-for~="names"],.gc-send-form:has(input[value="top"]:checked) [data-for~="top"],
.gc-send-form:has(input[value="vip"]:checked) [data-for~="vip"],.gc-send-form:has(input[value="guild"]:checked) [data-for~="guild"],
.gc-send-form:has(input[value="class"]:checked) [data-for~="class"],.gc-send-form:has(input[value="active"]:checked) [data-for~="active"],
.gc-send-form:has(input[value="returning"]:checked) [data-for~="returning"],.gc-send-form:has(input[value="everyone"]:checked) [data-for~="everyone"]{display:block}
.gc-gifts{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.7rem;max-height:30rem;overflow-y:auto;padding:.2rem}
.gc-gift{position:relative;display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:1rem .7rem .9rem;border:1px solid #c9982f66;border-radius:12px;background:#fffaf0;text-align:center;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.gc-gift:hover{border-color:var(--gold)}
.gc-gift input[type=checkbox]{position:absolute;top:.5rem;inset-inline-end:.5rem;width:1.05rem;height:1.05rem;accent-color:#7d211a}
.gc-gift strong{font-size:.85rem;line-height:1.3}.gc-gift small{color:var(--muted);font-size:.72rem}
.gc-gift:has(input:checked){border-color:#7d211a;box-shadow:0 0 0 2px #b23a2e55;background:linear-gradient(#fffaf0,#fbe9c9)}
.gc-gift-coins input{width:7rem;text-align:center}
.gc-gift-coins:has(input:not(:placeholder-shown)){border-color:#7d211a;box-shadow:0 0 0 2px #b23a2e55;background:linear-gradient(#fffaf0,#fbe9c9)}
.gc-check{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:1.2rem;align-items:start;margin:0 0 1.2rem}
.gc-mail{position:relative;padding:1.3rem 1.4rem;border:1px solid #c9982f;border-radius:6px;background:linear-gradient(#fffaf0,#f6e8c6);box-shadow:0 12px 26px #3a2c1426}
.gc-mail::before{content:"";position:absolute;top:-.9rem;inset-inline-end:1.2rem;width:2.4rem;height:2.4rem;border-radius:50%;background:radial-gradient(circle at 35% 35%,#d14b3d,#7d211a);box-shadow:0 3px 8px #7d211a66}
.gc-mail small{display:block;font:700 .7rem Inter,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#a3291f;margin-bottom:.4rem}
.gc-mail h3{margin:0 0 .5rem;font:700 1.25rem Cinzel,Georgia,serif}
.gc-mail p{margin:0 0 .6rem;color:var(--ink-soft);font-family:Georgia,serif;white-space:pre-line}
.gc-mail .gc-mail-gives{margin:0;font:700 .9rem Inter,sans-serif;color:#6e4f14}
.gc-reach-box{padding:1.1rem 1.2rem;border:1px solid #2f6b3a55;border-radius:12px;background:#2f6b3a0d}
.gc-reach{display:flex;align-items:baseline;gap:.5rem;margin:0 0 .2rem;color:var(--ok,#2f6b3a);font-weight:700}
.gc-reach strong{font:700 2rem Cinzel,Georgia,serif}
.gc-sample{margin:.4rem 0 0;font-size:.85rem;color:var(--ink-soft)}
.gc-send{margin-bottom:1.2rem}.gc-send-buttons{display:flex;flex-wrap:wrap;gap:.5rem}
.gc-history{display:flex;flex-direction:column;gap:.7rem}
.gc-past{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem 1.2rem;padding:1rem 1.2rem;border-inline-start:4px solid var(--gold)}
.gc-past-gives{margin:0 0 .2rem;font-weight:700;color:#6e4f14}
.gc-past-msg{margin:0 0 .45rem;color:var(--ink-soft);font-style:italic}
.gc-failed{color:var(--seal)}
@media(max-width:820px){.gc-check{grid-template-columns:1fr}}
.gift-letters{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.4rem 1rem;margin:1.2rem 0 .6rem}
.gc-path{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.6rem 0 1rem;padding:0;list-style:none}
.gc-path li{padding:.35rem .8rem;border-radius:999px;background:#fffaf0;border:1px solid #c9982f66;font-size:.82rem;font-weight:600}
.gc-path li+li::before{content:"→";margin-inline-end:.5rem;color:var(--gold)}
/* Patches (owner 2026-10-26): one slim line per client release, the newest in seal red; a help card beside it. */
.pt-layout{display:grid;grid-template-columns:minmax(0,1fr) 20rem;gap:1.4rem;align-items:start;margin-top:1.6rem}
.pt-list{margin:0;padding:.3rem;border:1px solid #c9982f55;border-radius:14px;background:#fffaf0d9;list-style:none}
.pt-row{display:grid;grid-template-columns:4.6rem 5.6rem minmax(0,1fr) 4.4rem 1.2rem;align-items:center;gap:.8rem;padding:.6rem .8rem;border-radius:10px;color:var(--ink);text-decoration:none;transition:background .15s}
.pt-row:hover{background:#c9982f14;color:var(--ink)}
.pt-row+.pt-row,li+li .pt-row{border-top:1px solid #c9982f22}
.pt-ver{justify-self:start;padding:.18rem .55rem;border-radius:6px;background:#3a2c140d;font:700 .85rem Consolas,monospace;letter-spacing:.02em}
.pt-row time{color:var(--muted);font-size:.8rem}
.pt-what{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;color:var(--ink-soft)}
.pt-size{justify-self:end;color:var(--muted);font:600 .78rem Inter,sans-serif}
.pt-go{color:#c9982f;font-size:.9rem}
.pt-row.is-now .pt-ver{background:linear-gradient(#b23a2e,#7d211a);color:#fbe9c9}
.pt-row.is-now .pt-what{color:var(--ink);font-weight:600}
@media(max-width:640px){.pt-row{grid-template-columns:4.4rem minmax(0,1fr) auto;gap:.2rem .6rem}.pt-row time{grid-column:2;grid-row:2}.pt-what{grid-column:2;grid-row:1}.pt-size{grid-row:1/3;grid-column:3}.pt-go{display:none}}
.pt-help{position:sticky;top:5.5rem;padding:1.2rem 1.3rem;border-top:3px solid var(--seal)}
.pt-help h2{margin:0 0 .3rem;font-size:1.2rem}
.pt-help>p{margin:0 0 .8rem;color:var(--ink-soft);font-size:.9rem}
.pt-steps{margin:0 0 1rem;padding:0;list-style:none;display:flex;flex-direction:column;gap:.6rem}
.pt-steps li{display:flex;gap:.6rem;align-items:flex-start;font-size:.9rem;line-height:1.45}
.pt-steps b{flex:none;display:grid;place-items:center;width:1.6rem;height:1.6rem;border-radius:50%;background:linear-gradient(#b23a2e,#7d211a);color:#fbe9c9;font:700 .8rem Cinzel,Georgia,serif}
.pt-help .btn{width:100%}
.pt-help small{display:block;margin-top:.6rem;color:var(--muted);font-size:.78rem}
@media(max-width:900px){.pt-layout{grid-template-columns:1fr}.pt-help{position:static;order:-1}}
/* Get Started (CD74, owner 2026-10-29): the page every new account lands on after its email code. */
.gs-login{display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap;margin:0 0 1.6rem;padding:1.6rem 1.9rem;border:2px solid #c9982f;border-radius:14px;background:radial-gradient(120% 140% at 0% 0%,#fffdf6 0%,#f8f0dc 55%,#ecdcb6 100%);box-shadow:0 18px 40px #3a2c1426}
.gs-login>div{flex:1;min-width:220px}.gs-login small{display:block;font-size:.74rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);font-weight:700}
/* Inter, not Cinzel: Cinzel draws lowercase as capitals and the login must show its exact letters. */
.gs-login strong{display:block;margin:.15rem 0 .35rem;font:700 clamp(1.8rem,4.2vw,2.6rem)/1.15 Inter,"Segoe UI",Arial,sans-serif;color:var(--seal);word-break:break-all}
.gs-login p{margin:0}
.gs-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin:0;padding:0;list-style:none;counter-reset:gs}
.gs-steps li{display:flex;flex-direction:column;padding:1rem;border:1px solid #c9982f88;border-radius:12px;background:#fffaf0e6}
.gs-steps>li>b{display:inline-grid;place-items:center;width:2.1rem;height:2.1rem;margin-bottom:.6rem;border-radius:50%;background:linear-gradient(#b23a2e,#7d211a);color:#fbe9c9;font:700 1rem Cinzel,Georgia,serif}
.gs-steps h3{margin:0 0 .3rem}.gs-steps p{margin:0 0 .8rem;font-size:.93rem}
.gs-shot{display:block;margin-top:auto;aspect-ratio:16/10;width:100%;border:1px solid #d6c59d;border-radius:8px;background:#efe4ca;object-fit:cover}
.gs-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.gs-tips{margin:0;padding:0;list-style:none}.gs-tips li{display:flex;gap:.7rem;margin:.55rem 0;line-height:1.55}.gs-tips li>span{flex:none;width:1.6rem;text-align:center;font-size:1.15rem}
.gs-faq details{border-bottom:1px solid #d6c59d}.gs-faq details:last-child{border-bottom:0}
.gs-faq summary{cursor:pointer;padding:.75rem 0;font-weight:600}.gs-faq details p{margin:0 0 .9rem}
.gs-help{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.btn-discord{background:#5865f2;color:#fff;border-color:#5865f2}.btn-discord:hover{background:#4752c4;border-color:#4752c4;color:#fff}
.mobile-notice{display:none;margin:0 0 1rem;padding:.8rem 1rem;border:1px solid #c9982f;border-radius:8px;background:#fff6dc;color:var(--ink);font-size:.93rem}
@media (hover:none) and (pointer:coarse){.mobile-notice{display:block}}
@media (max-width:900px){.gs-steps{grid-template-columns:1fr 1fr}.gs-grid{grid-template-columns:1fr}}
@media (max-width:520px){.gs-steps{grid-template-columns:1fr}.gs-login{padding:1.2rem}}
.gs-login-anon{font-size:clamp(1.4rem,3vw,1.9rem)!important}
.gs-mirrors{margin-top:2rem}.gs-faq,.gs-help,.gs-grid,.win7-fix{scroll-margin-top:6rem}.gs-help h2,.gs-help p{margin:0}
.mirror-banner p.mirror-tip{margin-top:.35rem;font-size:.85rem;opacity:.9}
.gs-link{margin:0 0 1.2rem;color:var(--ink-soft)}
.verify-first{margin:.2rem 0 1rem;padding:.7rem .9rem;border-inline-start:3px solid var(--seal);background:#fff6dc;color:var(--ink);font-weight:600;font-size:.93rem}
.login-hint{display:block;margin-top:.25rem;color:var(--seal);font-weight:600}
.resend-form{margin-top:.6rem}

/* Sharp header controls and guide steps (owner 2026-10-29: "the round ones look childish"; same sharp language as the
   guide tables). The Day badge keeps its name in the phone menu, where there is room (it showed the icon alone). */
.nav-links .nav-download>a,.daytheme.dt-compact .dt-badge,.dt-compact .dt-icon,.account-nav .sound-toggle,.account-nav .coin-chip,.coin-chip-plus,
.user-menu summary,.account-nav .lang-switch{border-radius:2px}
.daytheme.dt-compact .dt-badge{border:1px solid #c9982f;box-shadow:inset 0 0 0 1px #f5d77e55}
.gd-page .guide-prose ol>li::before{border-radius:0;background:#9b2c22;color:#fff;border:1px solid #c9982f;box-shadow:inset 0 0 0 2px #9b2c22,inset 0 0 0 3px #f5d77e66;
  font:700 .82rem/1 Inter,sans-serif;width:1.65rem;height:1.65rem}
@media(max-width:1180px){
  .dt-compact .dt-text{display:block}
  .site-nav.open .account-nav .daytheme,.site-nav.open .account-nav .dt-badge{width:100%}
  .site-nav.open .account-nav .dt-badge{justify-content:flex-start;padding:.45rem .7rem .45rem .45rem}
}

/* Staff letter editor: independent language fields stay readable in both page directions. */
.letters-compose{margin-bottom:1.5rem}.letters-compose>.hint{margin:1rem 0}
.letters-languages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;margin:1.5rem 0}
.letters-language{min-width:0;padding:1rem;border:1px solid var(--line);border-radius:4px;background:#fff8}
.letters-language legend{float:none;width:auto;padding:0 .4rem;font-size:1rem;font-weight:700}
.letters-language .field:last-child{margin:0}.letters-language textarea{resize:vertical;min-height:10rem}
.patch-file{overflow-wrap:anywhere}
.patch-facts{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.patch-facts dd{overflow-wrap:anywhere}
@media(max-width:1000px){.letters-languages{grid-template-columns:1fr}}
@media(max-width:560px){.letters-compose{padding:1rem}.letters-compose .news-editor-row{grid-template-columns:minmax(0,1fr)}}
