/* WANDMC 2027 — visual layer for Cave. Existing commerce logic is untouched. */
:root {
    color-scheme: dark;
    --mainBackground: #100e0c;
    --white: #fff8eb;
    --activeColor: #ffba43;
    --navbarStatic: #c4b8aa;
    --navbarBorder: #ffffff14;
    --navbarOnline: #e7dccb;
    --navbarActive: #211b15;
    --headerBtn: #ffb638;
    --headerBtnColor: #211206;
    --headerDefaultBorder: #58422a;
    --eula: #bdb1a1;
    --footerBtn: #211b15;
    --footerBtnHover: #362719;
    --spaceis: #a99a88;
    --infoCardColor: #e6d9c6;
    --borderContainer: #ffffff12;
    --administrationCard: #211b16;
    --administrationCardHover: #2e2217;
    --administrationHref: #e7d8c6;
    --shopCard: #201a15;
    --shopCardColor: #c7b9a7;
    --shopCardHover: #2e2217;
    --shopCardPrice: #ffaa3438;
    --termsHeaderDescription: #c9bcab;
    --termsParagraph: #c9bcab;
    --amber: #ffb638;
    --line: rgba(255, 213, 159, .13);
    --surface: #1c1713;
    --ease: cubic-bezier(.2,.8,.2,1);
}
html { scroll-padding-top: 110px; }
body {
    color: var(--white); font-weight: 400; min-height: 100vh; height: auto;
    background: radial-gradient(ellipse at 82% 0%, #57311455, transparent 40rem), radial-gradient(ellipse at 0% 50%, #67351018, transparent 34rem), #100e0c;
    background-attachment: scroll;
}
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url('../img/bgMain.png') center / cover; opacity: .14; }
.container { max-width: 1336px; --bs-gutter-x: 2rem; }
:where(a,button,input):focus-visible { outline: 2px solid #ffc96e; outline-offset: 4px; }
::selection { color: #1b1107; background: #ffbf50; }
::-webkit-scrollbar-thumb { background: #5e4530; border-radius: 20px; }
/* Header / navigation */
#navbar { position: sticky; top: 0; z-index: 100; padding-top: 16px; }
.navbar { min-height: 80px; padding: 10px 24px; border: 1px solid var(--line); border-radius: 22px; background: #1a1510ed; box-shadow: 0 12px 35px #0005, inset 0 1px #ffffff08; backdrop-filter: blur(18px); }
.navbar__link { min-width: 0; gap: 30px; }
.navbar__brand { padding: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.navbar__brand::after { display: none; }
.navbar__brand img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 3px 8px #ff9a0033); transition: transform .3s var(--ease); }
.navbar__brand:hover img { transform: scale(1.07); }
.brand-wordmark { font-weight: 800; font-size: 15px; letter-spacing: -.035em; color: #fff8eb; white-space: nowrap; }
.brand-wordmark span { color: var(--amber); }
.navbar__nav { padding: 0; margin: 0; gap: 4px; align-items: center; }
.navbar__nav li { padding: 0; }
.navbar__nav a { display: block; padding: 11px 15px; border-radius: 11px; font-size: 13px; font-weight: 500; transition: background .2s, color .2s; }
.navbar__nav li:hover a, .navbar__nav a.nav__active { color: #ffd18a !important; background: #ffac2515; font-weight: 500 !important; }
.indicator, .nav__active::after, .nav__active::before { display: none !important; }
.navbar__online { margin: 0; padding: 10px 14px; border: 1px solid #ffbc4324; border-radius: 99px; background: #ffbc4309; font-size: 12px; white-space: nowrap; }
.online__blob { width: 24px; height: 24px; min-width: 24px; min-height: 24px; margin-right: 1px; border: 0; animation: none; }
.online__circle { width: 14px; height: 14px; border: 1px solid #ffbd51; animation: wand-pulse 2.8s ease-out infinite; }
.online__circle--circle { width: 7px; height: 7px; background: #ffbd51; animation: none; }
@keyframes wand-pulse { 0% { box-shadow: 0 0 0 0 #ffb63866; } 80%,100% { box-shadow: 0 0 0 10px #ffb63800; } }
.navbar__menu { cursor: pointer; border: 1px solid var(--line); background: #ffffff07; border-radius: 12px; width: 44px; height: 44px; padding: 12px; opacity: 1; filter: none; }
.navbar__menu img { width: 100%; filter: brightness(0) invert(1); }
/* Hero */
#header { padding: 0; }
.header { position: relative; isolation: isolate; overflow: hidden; margin: 26px 0 64px; padding: clamp(32px,5vw,76px); min-height: 510px; border: 1px solid #ffce8524; border-radius: 34px; background: radial-gradient(ellipse at 82% 47%, #c7792138, transparent 46%), linear-gradient(120deg,#211710,#16120e 55%,#2a1c12); box-shadow: 0 24px 80px #0005, inset 0 1px #ffffff0d; }
.header::before { content:none; }
.header::after { content:none; }
.header > .row { min-height: 360px; --bs-gutter-x: 2rem; }
.header__infoSection { padding-bottom: 0; position: relative; z-index: 2; animation: wand-enter .75s var(--ease) both; }
.hero-kicker, .section-kicker { display:flex; align-items:center; gap: 9px; color:#ffc36a; font-size: 11px; letter-spacing: .18em; font-weight: 700; text-transform: uppercase; margin-bottom: 18px; }
.hero-kicker::before { content:''; display:block; width: 26px; height: 2px; border-radius: 5px; background: #ffb638; box-shadow: 0 0 12px #ffab4a80; }
.header__title { font-size: clamp(39px,4.4vw,70px); line-height: 1.08; letter-spacing: -.055em; font-weight: 800; width: 100%; margin-bottom: 23px; max-width: 640px; }
.header__title span { color:#ffbd4b; background:linear-gradient(110deg,#ffdf94,#ffb738 60%,#ef8c20); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.header__description { color:#cabba8; font-size: 16px; line-height:1.75; margin-bottom:32px; }
.header__btnSection { gap:12px; }
.header__btn, .black-button { position:relative; overflow:hidden; min-height: 52px; border-radius: 14px; padding: 15px 20px; gap: 16px; font-size:13px; font-weight:600; color:#f7ecdb; border:1px solid #ffce8528; background:#ffffff08; cursor:pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s,border-color .25s; }
.header__btn img { width: 18px; height: 18px; object-fit:contain; }
.header__btn--color,.black-button { color:#241506; background:linear-gradient(115deg,#ffd375,#ffb133 65%,#f49920); border-color:#ffd783; box-shadow:0 6px 22px #ff9d0028,inset 0 1px #ffffff55; }
.header__btn--color::after,.black-button::after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(105deg,transparent 32%,#fff5 50%,transparent 68%); transform:translateX(-120%); transition:transform .65s var(--ease); }
.header__btn--color:hover::after,.black-button:hover::after { transform:translateX(120%); }
.header__btn:hover,.black-button:hover { transform:translateY(-3px); border-color:#ffbf5b88; color:#fff8eb; background:#ffffff10; }
.header__btn--color:hover,.black-button:hover { color:#241506; background:linear-gradient(115deg,#ffe29b,#ffbc46 65%,#f8a329); box-shadow:0 12px 30px #ff9d0044; }
.header__btn:active,.black-button:active { transform:translateY(0) scale(.98); }
.header__imgSection { display:flex; justify-content:center; align-items:center; min-height:400px; padding: 10px 0 58px; isolation:isolate; }
.hero-art { position:relative; width:min(100%,440px); aspect-ratio:1; display:grid; place-items:center; }
.hero-art::before { content:''; position:absolute; inset:8%; border-radius:50%; background:radial-gradient(circle,#ff9a0040,transparent 68%); filter:blur(20px); z-index:-1; animation:wand-glow 6s ease-in-out infinite alternate; }
.header__img { display:block; width:100%; height:auto; max-width:440px; margin:0; object-fit:contain; filter:drop-shadow(0 18px 24px #0008) drop-shadow(0 0 22px #ff9f0025); animation:wand-float 6s ease-in-out infinite; }
.header__infoCard { display:flex; position:absolute; z-index:2; max-width: none; width:auto; padding:11px 14px; gap:10px; background:#1e1813ed; border:1px solid #ffcb7250; border-radius:15px; transform:none; box-shadow:0 12px 26px #0006; backdrop-filter:blur(12px); }
.header__infoCard--first { right:0; top:25px; }
.header__infoCard--second { left:0; right:auto; top:auto; bottom:10px; }
.header__infoCard:hover { transform:translateY(-4px); }
.header__infoCard--info { margin:0; font-size:12px!important; line-height:1.5!important; }
.header__infoCard img { width:30px; height:30px; min-width:30px; min-height:30px; }
@keyframes wand-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
@keyframes wand-glow { from { opacity:.65; transform:scale(.92); } to { opacity:1; transform:scale(1.12); } }
@keyframes wand-enter { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
/* Store and product grid */
#shop,#administration,#last { padding:0; }
.section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin:0 0 24px; }
.section-heading h2,.administration__title,.last__title { font-size:clamp(23px,2.4vw,34px); font-weight:700; letter-spacing:-.04em; margin:0; line-height:1.2; }
.section-kicker { margin-bottom:9px; }
.shop,.administration__container { margin:0; padding:0; border:0; border-radius:0; background:none; }
.shop > .row,.administration__container > .row { --bs-gutter-x: 20px; --bs-gutter-y:20px; }
.shop > .row > div { display:flex; }
.shop__card { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:flex-end; width:100%; min-height:250px; margin:0; padding:24px; border-radius:24px; border:1px solid var(--line); filter:none; background-color:#211b16; background-repeat:no-repeat; background-size:160px auto; background-position:right 9px top 14px !important; box-shadow:0 8px 26px #0003,inset 0 1px #ffffff08; transition:transform .3s var(--ease),border-color .3s,box-shadow .3s; }
.shop__card::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#211b16 0%,#211b16e8 40%,#211b1615 90%),linear-gradient(0deg,#211b16 10%,#211b16cc 30%,transparent 80%); pointer-events:none; }
.shop__card::after,.administration__card::after { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(280px circle at var(--mx,80%) var(--my,10%),#ffbb4730,transparent 72%); opacity:0; transition:opacity .3s; }
.shop__card:hover,.shop__card:focus-within,.administration__card:hover { transform:translateY(-5px); border-color:#ffc15a66; box-shadow:0 18px 38px #0006,0 0 24px #f7a02010; }
.shop__card:hover::after,.shop__card:focus-within::after,.administration__card:hover::after { opacity:1; }
.shop__card--context { display:flex; flex-direction:column; align-items:flex-start; width:100%; min-width:0; }
.shop__card--title { color:#fff5e5; font-size:23px; font-weight:700; letter-spacing:-.035em; margin:0 0 10px; overflow-wrap:anywhere; max-width:85%; }
.shop__card--description { color:#c8baa8; font-size:13px; line-height:1.65; margin:0 0 20px; max-width:78%; overflow-wrap:anywhere; }
.shop__card--href { display:inline-flex; flex-direction:row-reverse; justify-content:space-between; gap:15px; background:#ffb63812; border:1px solid #ffb63842; color:#ffd18a; border-radius:12px; padding:12px 15px; font-size:13px; font-weight:600; transition:background .25s,color .25s,gap .25s; }
.shop__card:hover .shop__card--href { gap:19px; }
.shop__card--href:hover { background:#ffba43; color:#241506; }
.shop__card--href img { width:16px; height:16px; object-fit:contain; filter:brightness(0) saturate(100%) invert(83%) sepia(75%) saturate(630%) hue-rotate(326deg); transition:transform .25s; }
.shop__card--href:hover img { transform:translateX(3px); filter:brightness(0); }
.shop__card--product { min-height:300px; }
.shop__card--price { display:inline-flex; flex-wrap:wrap; align-items:baseline; gap:5px; width:auto; margin:0 0 15px; padding:9px 13px; border-radius:10px; border:1px solid #ffbc4340; background:#ffb63810; color:#ffd18a; font-size:15px; font-weight:700; }
.shop__card--price small { color:#c4ab90; font-weight:400; }
.shop__header { width:100%; padding:56px 0 30px; }
.shop__header--title { font-size:clamp(28px,4vw,48px); font-weight:700; letter-spacing:-.045em; overflow-wrap:anywhere; }
.shop__header__btn { width:fit-content; max-width:100%; margin-bottom:24px; color:#d5c6b3; padding:12px 16px; border:1px solid var(--line); background:#ffffff06; border-radius:12px; gap:12px; justify-content:flex-start; }
.shop__header__btn:hover { color:#ffd18a; background:#ffb63812; }
/* Staff, history and footer */
.administration,.last { margin:64px 0 0; padding:0; }
.administration__title,.last__title { margin-bottom:24px; padding:0; }
.administration__title::after,.last__title::after { width:38px; border-radius:10px; background:#ffb638; }
.administration__card { isolation:isolate; position:relative; overflow:hidden; height:100%; margin:0; padding:24px; border:1px solid var(--line); border-radius:22px; background:#1e1914; transition:transform .3s var(--ease),border-color .3s,box-shadow .3s; }
.administration__head { gap:14px; }
.administration__head img { width:52px; height:52px; border-radius:12px; image-rendering:pixelated; box-shadow:0 0 0 4px #ffffff06; }
.administration__info h5 { font-weight:600; margin-bottom:12px; }
.administration__info h6 { font-weight:500; }
.administration__href { margin-top:22px; padding:13px 15px; border-radius:12px; border:1px solid var(--line); background:#ffffff05; color:#dfd1bd; gap:10px; }
.administration__href:hover { color:#ffd18a; background:#ffb63810; }
.administration__href img { width:15px; }
.last__container { gap:10px; }
.last__box { padding:10px; border:1px solid var(--line); background:#211b16; border-radius:13px; transition:transform .2s,border-color .2s; }
.last__box:hover { transform:translateY(-4px); border-color:#ffb63877; }
.last__box img { width:36px; image-rendering:pixelated; }
.footer { margin:76px 0 28px; padding:26px 28px 0; border:1px solid var(--line); border-radius:25px; background:linear-gradient(120deg,#1d1814,#171310); }
.copyright { font-weight:700; letter-spacing:-.02em; font-size:17px; margin:0; padding:0 0 18px; }
.footer__up { padding-top:22px; margin-bottom:0; border-color:var(--line); }
.eula { font-size:12px; line-height:1.75; margin-bottom:24px; }
.footer__nav { padding:0; flex-wrap:wrap; gap:12px 22px; }
.footer__nav a { color:#c4b6a4; font-size:13px; }
.footer__center { margin-bottom:24px; }
.footer__btnSection { flex-wrap:wrap; gap:10px; }
.footer__btn { color:#d5c6b4; background:#ffffff07; border:1px solid var(--line); padding:10px 16px; border-radius:10px; }
.footer__btn:hover { color:#ffd18a; border-color:#ffc15a55; }
.footer__down { padding:18px 0; border-top:1px solid var(--line); }
.copy--second { font-size:12px; opacity:1; margin:0; }
.spaceis { color:#b5a28d; font-size:12px; }
.spaceis h6 { color:#d2c2ae; opacity:1; }
/* Forms and content pages */
.voucher,.status,.terms { margin:40px 0; padding:clamp(20px,4vw,48px); color:var(--white); background:#1c1713; border:1px solid var(--line); border-radius:24px; }
.voucher__form { display:grid; gap:16px; }
.voucher__input { display:grid; gap:8px; }
.voucher__input label { color:#e4d7c6; font-size:14px; font-weight:500; }
.voucher__input input { width:100%; min-height:50px; border:1px solid var(--line); border-radius:12px; background:#120f0c; color:#fff8eb; padding:12px 15px; transition:border-color .2s; }
.voucher__input input:focus { border-color:#ffb638; }
.black-button { width:fit-content; }
.status .shop__header { padding:0; }
.status .status__box { margin-top:28px; padding:24px 0 0; border-top:1px solid var(--line); }
.status__info h3 { overflow-wrap:anywhere; }
.terms { line-height:1.8; overflow-wrap:anywhere; }
.terms img { max-width:100%; height:auto; }
.terms a { color:#ffc36a; }
.terms__container { background:transparent; padding:0; border:0; }
.wand-empty { border:1px dashed #ffbf5033; border-radius:18px; color:#c8baa8; padding:30px; text-align:center; }
/* Progressive enhancement — visible if script is blocked */
.wand-reveal { opacity:1; transform:none; }
.wand-reveal.wand-enter { animation:wand-enter .65s var(--ease) both; animation-delay:var(--reveal-delay,0ms); }
@media (min-width:1200px) { .header__infoSection { flex:0 0 54%; max-width:54%; } .header__imgSection { flex:0 0 46%; max-width:46%; } }
@media (max-width:1199px) {
    .header > .row { align-items:center; }
    .header__infoSection { flex:0 0 58%; max-width:58%; }
    .header__imgSection { flex:0 0 42%; max-width:42%; min-height:300px; }
    .header__infoCard--first { top:0; right:0; }
    .header__infoCard--second { bottom:0; left:0; }
    .header__infoCard--info { font-size:11px!important; }
}
@media (max-width:1100px) {
    .navbar__nav { display:none; }
    .navbar__nav--active { position:absolute; top:calc(100% + 10px); left:0; right:0; width:100%; padding:10px; display:flex; flex-direction:column; align-items:stretch; border-radius:17px; border:1px solid var(--line); background:#1c1713; box-shadow:0 18px 35px #0009; }
    .navbar__nav--active li { padding:0; }
    .navbar__menu { display:block; }
    .navbar__online { display:flex; margin-left:auto; margin-right:12px; order:0; }
    .navbar__menu { order:1; }
    .footer__navbar { margin-bottom:0; }
    .footer__nav li:nth-child(1) { margin-left:0; }
}
@media (max-width:767px) {
    .container { --bs-gutter-x:1.5rem; }
    #navbar { padding-top:8px; }
    .navbar { padding:9px 12px; min-height:65px; border-radius:17px; }
    .navbar__brand img { width:44px; height:44px; }
    .navbar__link { gap:0; }
    .navbar__online { display:none; }
    .header { margin:16px 0 40px; padding:28px 20px 20px; min-height:0; border-radius:25px; }
    .header > .row { min-height:0; --bs-gutter-x:0; }
    .header__infoSection,.header__imgSection { flex:0 0 100%; max-width:100%; }
    .header__title { font-size:clamp(35px,8.5vw,53px); }
    .header__description { font-size:14px; margin-bottom:22px; }
    .header__btnSection { gap:10px; }
    .header__btn { padding:12px 14px; min-height:48px; font-size:12px; gap:8px; }
    .header__imgSection { min-height:0; padding:28px 0 44px; }
    .hero-art { width:min(78%,320px); }
    .header__infoCard--first { top:16px; right:0; }
    .header__infoCard--second { bottom:0; left:0; }
    .header__infoCard { padding:8px 10px; gap:6px; }
    .header__infoCard img { width:23px; height:23px; min-width:23px; min-height:23px; }
    .section-heading { margin-bottom:16px; }
    .shop__card { min-height:230px; padding:20px; border-radius:19px; background-size:145px auto; }
    .shop__card--product { min-height:270px; }
    .administration,.last { margin-top:42px; }
    .footer { margin-top:48px; padding:20px 18px 0; }
    .footer__navbar,.spaceisSection { justify-content:flex-start; }
    .footer__nav { margin-bottom:24px; }
    .spaceis { margin:0; }
    .voucher,.status,.terms { margin:24px 0; }
}
@media (prefers-reduced-motion:reduce) {
    *,*::before,*::after { animation-duration:.001ms!important; animation-iteration-count:1!important; transition-duration:.001ms!important; scroll-behavior:auto!important; }
}
/* Keep the page canvas continuous and release transforms after entry animations. */
html { height:auto; min-height:100%; background:#100e0c; }
body { background-repeat:no-repeat; background-size:100% 100%; }
body::before { display:none; }
.wand-reveal.wand-enter { animation-fill-mode:backwards; }
.header__infoSection { animation-fill-mode:backwards; }
@media (prefers-reduced-motion:reduce) { .wand-reveal.wand-enter { animation-delay:0ms!important; } }

/* WANDMC 2027 / refinement — a clean, aligned layout with pixel-world accents. */
body { isolation:isolate; overflow-x:clip; }
.wand-world { position:fixed; inset:0; z-index:-1; pointer-events:none; overflow:hidden; }
.wand-pixels { --px:24px; width:var(--px); height:var(--px); position:absolute; border-radius:2px; background:#ffb63830; box-shadow:24px -24px #ffb63822,48px 0 #ffb63814,0 24px #ffb63817,-24px 24px #ffb63838,24px 48px #ffc9670c,48px 48px #ffb6380e,-24px 72px #ffb63816,0 96px #ffb6380b; animation:pixel-drift 12s ease-in-out infinite alternate; }
.wand-pixels--left { top:29%; left:6px; }
.wand-pixels--right { top:14%; right:38px; transform:rotate(180deg); animation-delay:-6s; }
.wand-pixels--lower { top:74%; right:0; opacity:.65; animation-delay:-3s; }
@keyframes pixel-drift { from { translate:0 -8px; opacity:.65; } to { translate:0 12px; opacity:1; } }
.brand-wordmark { color:#ffb638; font-size:16px; }
.brand-wordmark span { color:#fff8eb; }
.navbar__link { gap:24px; }
.navbar__nav { position:static; }
.navbar__nav a { white-space:nowrap; line-height:1.4; }
.navbar__online { gap:9px; }
.wand-server-status { font-weight:600; }
[data-server-status][data-state="online"] { color:#91e7b0; }
[data-server-status][data-state="unknown"] { color:#d5c6b3; }
.navbar__online:has([data-state="online"]) .online__circle--circle,.header__infoCard:has([data-state="online"]) .online__circle--circle { background:#91e7b0; }
.navbar__online:has([data-state="unknown"]) .online__circle--circle,.header__infoCard:has([data-state="unknown"]) .online__circle--circle { background:#ab9e8d; }
.header { min-height:0; padding:clamp(28px,4vw,60px); margin-bottom:52px; }
.header > .row { align-items:center; }
.header__title { text-wrap:balance; max-width:100%; font-size:clamp(34px,4vw,61px); line-height:1.12; }
.header__description { max-width:470px; margin-bottom:26px; }
.hero-break { display:block; }
.header__btnSection { align-items:center; }
.header__btnSection .header__btn { display:inline-flex; align-items:center; justify-content:space-between; min-height:54px; margin:0; white-space:nowrap; }
.header__btn svg { width:20px; height:20px; flex:none; }
.hero-address { margin-top:22px; display:flex; flex-wrap:wrap; align-items:center; gap:9px; font-size:12px; color:#bfb09d; }
.hero-address__dot { width:6px; height:6px; border-radius:2px; background:#ffc36a; box-shadow:0 0 12px #ffc36a88; }
.hero-address button,.inline-copy { border:0; padding:0; background:none; color:#ffd18a; font-weight:600; cursor:pointer; }
.hero-address button:hover,.inline-copy:hover { text-decoration:underline; }
.header__imgSection { display:flex!important; flex-direction:column; justify-content:center; align-items:center; min-height:0; padding:0 0 0 12px; gap:18px; }
.hero-art { width:min(100%,385px); }
.header__img { max-width:385px; animation:wand-float 7s ease-in-out infinite; }
.hero-status-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; width:100%; max-width:470px; }
.hero-status-row .header__infoCard { position:static; transform:none; justify-content:flex-start; align-items:center; gap:10px; min-width:0; min-height:67px; padding:12px 13px; border-radius:15px; box-shadow:0 8px 18px #0003; }
.hero-status-row .header__infoCard:hover { transform:translateY(-2px); }
.hero-status-row .header__infoCard > div:last-child { min-width:0; }
.hero-status-row .header__infoCard small { display:block; color:#b6a48e; font-size:10px; font-weight:500; line-height:1.4; margin:0 0 3px; }
.hero-status-row .header__infoCard--info { margin:0; font-size:12px!important; line-height:1.4!important; font-weight:600!important; color:#f3e7d4; overflow-wrap:anywhere; }
.hero-status-row .online__blob { margin:0; scale:1; }
.section-description { color:#bfb09d; font-size:14px; line-height:1.65; margin:8px 0 0; font-weight:400; }
.section-count { font-size:12px; color:#d3bb94; background:#ffb6380b; border:1px solid var(--line); padding:7px 12px; border-radius:99px; white-space:nowrap; }
.wand-mode-card,.wand-product-card { display:flex; flex-direction:column; align-items:stretch; justify-content:space-between; gap:18px; min-height:270px; padding:20px; background:linear-gradient(145deg,#2c2115,#1e1914 60%); }
.wand-mode-card::before,.wand-product-card::before { background:radial-gradient(ellipse at 85% 12%,#f2a33424,transparent 58%); }
.mode-card-top { display:flex; align-items:flex-start; justify-content:space-between; min-height:95px; gap:14px; }
.mode-label { color:#e1c59c; border:1px solid #ffc36a30; background:#ffb6380b; font-size:11px; font-weight:600; border-radius:8px; padding:6px 9px; white-space:nowrap; }
.mode-art { display:block; width:110px; height:100px; object-fit:contain; object-position:right center; filter:drop-shadow(0 8px 12px #0005); transition:transform .35s var(--ease); }
.shop__card:hover .mode-art { transform:translateY(-4px) scale(1.04); }
.wand-mode-card .shop__card--title,.wand-product-card .shop__card--title { max-width:100%; }
.wand-mode-card .shop__card--description,.wand-product-card .shop__card--description { max-width:100%; margin-bottom:16px; }
.wand-mode-card .shop__card--description:empty,.wand-product-card .shop__card--description:empty { display:none; }
.shop__card--href { min-height:43px; margin-top:auto; }
.wand-product-card { min-height:340px; }
.wand-category-nav { display:flex; gap:9px; flex-wrap:wrap; margin:0 0 32px; }
.wand-category-nav a { text-decoration:none; color:#f4dfbb; font-size:13px; font-weight:500; padding:11px 17px; background:#231c16; border:1px solid var(--line); border-radius:12px; transition:background .2s,border .2s; }
.wand-category-nav a:hover,.wand-category-nav a:focus-visible { background:#49321b; border-color:#ffb63877; }
.wand-product-category { margin-bottom:42px; scroll-margin-top:115px; }
.wand-community { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:20px; margin:48px 0 0; }
.wand-join-panel,.wand-discord-card { position:relative; isolation:isolate; overflow:hidden; padding:clamp(24px,3vw,38px); border-radius:24px; border:1px solid var(--line); background:linear-gradient(145deg,#251e17,#191512); box-shadow:0 8px 26px #0003; }
.wand-community h2 { font-size:clamp(23px,2.4vw,34px); letter-spacing:-.035em; line-height:1.2; font-weight:700; margin:0 0 15px; }
.wand-steps { display:grid; gap:16px; margin-top:25px; }
.wand-steps > div { display:flex; align-items:center; gap:14px; }
.step-number { flex:none; display:grid; place-items:center; width:43px; height:43px; border-radius:12px; background:#ffb63810; border:1px solid #ffb63833; color:#ffc36a; font-size:13px; font-weight:700; }
.wand-steps h3 { font-size:15px; font-weight:600; margin:0 0 4px; }
.wand-steps p,.wand-discord-card p { color:#bfb09d; font-size:13px; line-height:1.6; margin:0; }
.wand-discord-card { display:flex; flex-direction:column; align-items:flex-start; min-height:330px; background:radial-gradient(ellipse at 95% 70%,#78471e66,transparent 75%),#201913; }
.wand-discord-card h2,.wand-discord-card p { max-width:100%; position:relative; z-index:1; }
.wand-discord-card .header__btn { display:inline-flex; width:fit-content; position:relative; z-index:1; margin-top:auto; }
.wand-discord-card p { margin-bottom:95px; max-width:270px; }
.discord-art { position:absolute; width:190px; height:190px; object-fit:contain; bottom:10px; right:6px; opacity:.9; filter:drop-shadow(0 10px 15px #0007); animation:wand-float 7s ease-in-out infinite; pointer-events:none; }
.discord-orbit { position:absolute; right:-60px; bottom:-110px; border-radius:50%; width:320px; height:320px; border:1px solid #ffbd5025; box-shadow:0 0 0 22px #ffbd5008,0 0 0 50px #ffbd5007; z-index:-1; }
.administration__title::after,.last__title::after { display:none; }
.administration__head { align-items:center; margin:0; }
.administration__head img,.staff-placeholder { width:60px; height:60px; flex:none; border-radius:15px; object-fit:cover; }
.administration__head img.staff-avatar--owner { image-rendering:auto; object-position:50% 50%; }
.staff-placeholder { display:grid; place-items:center; background:#ffb6380c; color:#d6a858; border:1px dashed #ffb63844; }
.staff-placeholder svg { width:30px; height:30px; }
.administration__info { display:grid; gap:5px; }
.administration__info h5,.administration__info h6 { margin:0; line-height:1.35; }
.administration__info h5 { font-weight:700; }
.administration__info .staff-role { color:#ffca73; font-size:11px; letter-spacing:.12em; font-weight:700; }
.staff-pending { color:#b5a48e; font-size:12px; }
.staff-pending span { color:#c19f6b; }
.last__container { display:grid; grid-template-columns:repeat(auto-fit,minmax(225px,1fr)); gap:10px; }
.last__box { min-width:0; display:flex; align-items:center; gap:10px; padding:12px; }
.last__box img { width:38px; height:38px; border-radius:8px; flex:none; }
.purchase-copy { display:grid; gap:3px; min-width:0; flex:1; }
.purchase-copy strong,.purchase-copy span { white-space:nowrap; text-overflow:ellipsis; overflow:hidden; font-size:12px; }
.purchase-copy strong { color:#ffd18a; }.purchase-copy span,.last__box time { color:#bfb09d; font-size:11px; }
.last__box time { white-space:nowrap; }
.wand-toast { position:fixed; z-index:200; right:24px; bottom:24px; max-width:calc(100vw - 48px); padding:15px 20px; border-radius:14px; background:#252019; color:#ffe3a8; border:1px solid #ffb63866; box-shadow:0 12px 35px #0009; font-size:14px; font-weight:600; animation:wand-enter .25s var(--ease); }
.wand-toast[hidden] { display:none; }
.wand-voucher h1 { font-size:clamp(28px,4vw,44px); font-weight:700; letter-spacing:-.04em; }
.wand-voucher .row { margin-top:24px; }
@media (max-width:1199px) { .header__imgSection { padding:0 0 0 8px; } .hero-status-row { grid-template-columns:1fr; } .hero-status-row .header__infoCard { min-height:54px; } }
@media (max-width:1100px) { .navbar__nav--active { position:absolute; } .wand-pixels { opacity:.4; } }
@media (max-width:767px) { .header { margin-bottom:36px; padding:24px 18px; } .header__imgSection { padding:26px 0 0; } .hero-art { width:min(85%,300px); } .hero-status-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; } .hero-status-row .header__infoCard { padding:9px; gap:6px; } .hero-status-row .header__infoCard--info { font-size:11px!important; } .hero-status-row .header__infoCard small { font-size:9px; } .header__btnSection .header__btn { min-height:48px; } .hero-break { display:none; } .header__title { text-wrap:initial; } .header__description { margin-bottom:20px; } .wand-community { grid-template-columns:1fr; margin-top:34px; } .wand-discord-card { min-height:300px; } .discord-art { width:165px; height:165px; } .section-heading { align-items:flex-start; } .section-count { font-size:10px; padding:6px 8px; } .wand-pixels { opacity:.25; } .wand-product-category { scroll-margin-top:85px; } }
@media (max-width:370px) { .hero-status-row { grid-template-columns:1fr; } .header__btnSection .header__btn { width:100%; } .section-heading { flex-wrap:wrap; } }
@media (prefers-reduced-motion:reduce) { .wand-pixels,.discord-art,.header__img { animation:none!important; } }

/* V3: stronger wordmark; style-only treatment of the original SpaceIS mode cards. */
.navbar__brand .brand-wordmark,
.navbar__brand .brand-wordmark > span {
    font-family: 'Arial Black', 'Poppins', Arial, sans-serif;
    font-weight: 900;
    -webkit-text-stroke: .35px currentColor;
    letter-spacing: -.025em;
}
.navbar__brand .brand-wordmark { color: #ffb638; font-size: 17px; }
.navbar__brand .brand-wordmark > span { color: #fff8eb; }
#shop .shop__card {
    min-height: 258px;
    background-size: min(52%, 210px) auto;
    background-position: right 10px top 14px !important;
    border-radius: 24px;
    filter: none;
}
#shop .shop__card::before {
    background: linear-gradient(0deg,#211b16 5%,#211b16e8 28%,#211b161a 76%),
                linear-gradient(90deg,#211b16 0%,#211b16b3 30%,transparent 72%);
}
#shop .shop__card--title { max-width: 100%; }
#shop .shop__card--description { max-width: 100%; }
#shop .shop__card--href { align-items: center; }
@media (max-width: 767px) {
    .navbar__brand .brand-wordmark { font-size: 16px; }
    #shop .shop__card { min-height: 230px; border-radius: 19px; background-size: min(46%, 165px) auto; }
}

/* V4: neutral graphite and porcelain surfaces, gold accents. */
:root {
    --canvas:#0d1017; --surface:#171c26; --surface-raised:#1d2330; --surface-glass:#141923f2;
    --ink:#f3f5fa; --muted:#a9b3c3; --subtle:#8793a7; --accent:#ffc14b; --accent-text:#ffce73;
    --line:#ffffff16; --shadow:0 12px 36px #00000029; --field:#111620;
    --wash:#ffb63812; --status:#f6bf55; --success:#42e3a1; --unknown:#9ba9bd;
    --mainBackground:var(--canvas); --white:var(--ink); --activeColor:var(--accent-text);
    --navbarStatic:var(--muted); --navbarBorder:var(--line); --navbarOnline:var(--ink); --navbarActive:var(--surface-raised);
    --headerDefaultBorder:var(--line); --eula:var(--muted); --footerBtn:var(--surface-raised); --footerBtnHover:var(--wash); --spaceis:var(--muted);
    --infoCardColor:var(--ink); --borderContainer:var(--line); --administrationCard:var(--surface); --administrationCardHover:var(--surface-raised); --administrationHref:var(--muted);
    --shopCard:var(--surface); --shopCardColor:var(--muted); --shopCardHover:var(--surface-raised); --shopCardPrice:var(--wash); --termsHeaderDescription:var(--muted); --termsParagraph:var(--muted);
    --bs-body-color:var(--ink); --bs-body-bg:var(--canvas); --bs-border-color:var(--line);
}
:root[data-theme="light"] {
    color-scheme:light; --canvas:#f3f5f9; --surface:#ffffff; --surface-raised:#eef1f6; --surface-glass:#ffffffed;
    --ink:#171d29; --muted:#536175; --subtle:#627087; --accent:#f4ae29; --accent-text:#925500;
    --line:#2537511c; --shadow:0 12px 36px #2837520d; --field:#f7f9fc; --wash:#e9a32314;
    --status:#b97500; --success:#087d52; --unknown:#68778b;
}
html,body { background:var(--canvas); color:var(--ink); }
body { background-image:radial-gradient(ellipse at 86% 0%, #728ab514,transparent 45rem),radial-gradient(ellipse at 6% 45%,#efb03c09,transparent 36rem); }
.navbar { background:var(--surface-glass); box-shadow:var(--shadow); gap:12px; }
.navbar__link { flex:1; gap:20px; }
.navbar__online { margin:0; color:var(--ink); border-color:var(--line); background:var(--surface-raised); }
.navbar__nav a { color:var(--muted); }
.navbar__nav li:hover a,.navbar__nav a.nav__active { color:var(--accent-text)!important; background:var(--wash); }
.navbar__brand .brand-wordmark > span { color:var(--ink); }
:root[data-theme="light"] .navbar__brand .brand-wordmark { color:#a66400; }
.theme-switch { display:grid; place-items:center; flex:none; width:42px; height:42px; padding:10px; border:1px solid var(--line); border-radius:13px; background:var(--surface-raised); color:var(--ink); cursor:pointer; order:2; transition:transform .25s,background .25s; }
.theme-switch:hover { transform:rotate(8deg); background:var(--wash); color:var(--accent-text); }
.theme-switch svg { width:20px; height:20px; grid-area:1/1; }
.theme-moon { display:none; }
[data-theme="light"] .theme-sun { display:none; } [data-theme="light"] .theme-moon { display:block; }
.navbar__menu { order:3; background:var(--surface-raised); }
[data-theme="light"] .navbar__menu img { filter:brightness(0); }
.navbar__nav--active { background:var(--surface); }
/* Status beacon: color is driven by actual ping result, not decorative optimism. */
.online__blob,.hero-status-row .online__blob { --beacon:var(--status); display:grid; place-items:center; width:28px; height:28px; min-width:28px; min-height:28px; border:0; margin:0; background:none; box-shadow:none; animation:none; }
[data-state="online"] .online__blob { --beacon:var(--success); }
[data-state="unknown"] .online__blob { --beacon:var(--unknown); }
.online__blob .online__circle { width:18px; height:18px; display:grid; place-items:center; position:relative; border:1px solid color-mix(in srgb,var(--beacon) 65%,transparent); border-radius:50%; background:color-mix(in srgb,var(--beacon) 12%,transparent); animation:none; box-shadow:0 0 12px color-mix(in srgb,var(--beacon) 26%,transparent); }
.online__blob .online__circle::after { content:''; position:absolute; inset:-5px; border:1px solid var(--beacon); border-radius:50%; animation:beacon-ring 2.8s ease-out infinite; }
.online__blob .online__circle--circle,.navbar__online:has([data-state="online"]) .online__circle--circle,.header__infoCard:has([data-state="online"]) .online__circle--circle,.navbar__online:has([data-state="unknown"]) .online__circle--circle,.header__infoCard:has([data-state="unknown"]) .online__circle--circle { width:8px; height:8px; border-radius:50%; background:var(--beacon); box-shadow:0 0 8px var(--beacon); }
[data-state="unknown"] .online__circle::after { animation:none; opacity:.2; }
@keyframes beacon-ring { 0% { transform:scale(.7); opacity:.65; } 80%,100% { transform:scale(1.7); opacity:0; } }
[data-server-status][data-state="online"] { color:var(--success); } [data-server-status][data-state="unknown"] { color:var(--muted); }
.header { background:radial-gradient(ellipse at 82% 45%,#ffb63820,transparent 48%),linear-gradient(125deg,var(--surface),var(--surface-raised)); border-color:var(--line); box-shadow:var(--shadow); }
.header__title { color:var(--ink); }
[data-theme="light"] .header__title span { background:linear-gradient(105deg,#a05d04,#ce820d); background-clip:text; -webkit-background-clip:text; }
.header__description,.hero-address,.section-description,.wand-steps p,.wand-discord-card p { color:var(--muted); }
.hero-kicker,.section-kicker,.hero-address button,.inline-copy { color:var(--accent-text); }
.header__infoCard { background:var(--surface-glass); border-color:var(--line); box-shadow:var(--shadow); }
.hero-status-row .header__infoCard small { color:var(--subtle); }
.hero-status-row .header__infoCard--info { color:var(--ink); }
.header__btn:not(.header__btn--color) { background:var(--surface); color:var(--ink); border-color:var(--line); }
.header__btn:not(.header__btn--color):hover { background:var(--surface-raised); color:var(--accent-text); }
.wand-discord-join { gap:12px!important; }
.discord-heads { --overlap:-8px; display:flex; flex:none; align-items:center; padding-left:1px; }
.header__btn .discord-heads img { display:block; flex:none; width:29px; height:29px; object-fit:cover; image-rendering:pixelated; border:2px solid var(--surface); border-radius:50%; box-shadow:0 2px 6px #0003; transition:margin .28s var(--ease),transform .28s var(--ease); }
.discord-heads img + img { margin-left:var(--overlap); }
.wand-discord-join:hover .discord-heads,.wand-discord-join:focus-visible .discord-heads,.wand-discord-join:active .discord-heads { --overlap:3px; }
.wand-discord-join:hover .discord-heads img:nth-child(2) { transform:translateY(-3px); }
.shop__card { background-color:var(--surface); box-shadow:var(--shadow); }
#shop .shop__card::before { background:linear-gradient(0deg,var(--surface) 5%,color-mix(in srgb,var(--surface) 91%,transparent) 28%,transparent 76%),linear-gradient(90deg,var(--surface) 0%,color-mix(in srgb,var(--surface) 65%,transparent) 30%,transparent 72%); }
.wand-product-card { background:linear-gradient(145deg,var(--surface-raised),var(--surface) 70%); }
.shop__card--title,.shop__header--title { color:var(--ink); }
.shop__card--description,.shop__header__btn,.shop__card--price small { color:var(--muted); }
.shop__card--href,.shop__card--price,.section-count,.mode-label { color:var(--accent-text); background:var(--wash); }
.shop__card--href:hover { color:#241506; background:#ffba43; }
.wand-category-nav a { color:var(--ink); background:var(--surface); }
.wand-category-nav a:hover,.wand-category-nav a:focus-visible { color:var(--accent-text); background:var(--wash); }
.wand-join-panel,.wand-discord-card,.administration__card,.last__box,.voucher,.status,.terms { color:var(--ink); background:var(--surface); box-shadow:var(--shadow); }
.wand-discord-card { background:radial-gradient(ellipse at 95% 70%,#eeb13f20,transparent 75%),var(--surface); }
.administration__href,.staff-pending,.staff-pending span,.purchase-copy span,.last__box time,.wand-empty { color:var(--muted); }
.administration__info .staff-role,.purchase-copy strong,.step-number { color:var(--accent-text); }
.voucher__input label,.status .status__info h3 { color:var(--ink); }
.status .status__info h6 { color:var(--muted); }
.voucher__input input { color:var(--ink); background:var(--field); }
.wand-toast { color:var(--ink); background:var(--surface); }
.terms a,.wand-legal a { color:var(--accent-text); }
/* Footer, with original SpaceIs attribution kept visible in both themes. */
.wand-footer { padding:32px 32px 0; background:var(--surface); box-shadow:var(--shadow); }
.wand-footer-top { display:flex; justify-content:space-between; align-items:flex-start; gap:32px; padding-bottom:28px; }
.wand-footer-brand { display:flex; gap:16px; align-items:center; color:var(--ink); text-decoration:none; }
.wand-footer-brand img { width:72px; height:72px; object-fit:contain; }
.wand-footer-brand > span { display:grid; gap:5px; }
.wand-footer-brand strong { font-size:23px; letter-spacing:-.045em; font-weight:900; line-height:1.2; }
.wand-footer-brand strong span { color:var(--accent-text); }
.wand-footer-brand small { font-size:13px; color:var(--muted); }
.wand-footer-links { display:flex; gap:clamp(28px,5vw,68px); }
.wand-footer-links > div { display:grid; gap:10px; align-content:start; }
.wand-footer-links h3 { margin:0 0 4px; color:var(--ink); font-size:13px; font-weight:700; }
.wand-footer-links a { color:var(--muted); font-size:13px; text-decoration:none; }
.wand-footer-links a:hover { color:var(--accent-text); }
.wand-footer .eula,.wand-disclaimer { margin:0; font-size:12px; line-height:1.7; color:var(--muted); }
.wand-disclaimer { margin-top:5px; }
.wand-footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:15px; padding:20px 0; margin-top:25px; border-top:1px solid var(--line); }
.wand-footer-bottom .spaceisSection { display:flex; align-items:center; }
.wand-footer-bottom .spaceis { margin:0!important; color:var(--muted); }
.wand-footer-bottom .spaceis h6 { color:var(--ink); }
[data-theme="light"] .spaceis img { filter:brightness(.55); }
/* Dedicated information pages */
.wand-legal { max-width:1020px; margin:36px auto 0; padding:clamp(22px,5vw,60px); background:var(--surface); border:1px solid var(--line); border-radius:26px; box-shadow:var(--shadow); color:var(--ink); }
.wand-legal h1 { font-size:clamp(30px,5vw,52px); font-weight:800; letter-spacing:-.045em; margin:0 0 13px; }
.wand-legal p,.wand-legal li { color:var(--muted); line-height:1.85; font-size:14px; font-weight:400; }
.wand-legal nav { display:flex; gap:8px; flex-wrap:wrap; margin:26px 0; }
.wand-legal nav a { border:1px solid var(--line); padding:9px 13px; border-radius:10px; background:var(--surface-raised); font-size:12px; text-decoration:none; }
.wand-legal section { padding:24px 0 8px; border-top:1px solid var(--line); scroll-margin-top:120px; }
.wand-legal h2 { font-size:21px; font-weight:700; margin:0 0 14px; }
.wand-legal li { margin-bottom:9px; padding-left:4px; }
.legal-notice { padding:14px 17px; border:1px solid #e5a33155; background:var(--wash); color:var(--ink); border-radius:12px; font-size:13px; line-height:1.7; }
@media (max-width:1100px) { .navbar__link { flex:1; } .navbar__online { margin-left:auto; } .navbar__nav--active { z-index:5; } }
@media (max-width:767px) { .navbar { gap:7px; } .navbar__online { display:none; } .theme-switch,.navbar__menu { width:40px;height:40px; } .wand-footer { padding:22px 18px 0; } .wand-footer-top { flex-direction:column; gap:24px; } .wand-footer-links { width:100%; gap:28px; justify-content:space-between; } .wand-footer-bottom { align-items:flex-start; flex-direction:column; } .header__btnSection { flex-wrap:wrap; } .wand-discord-join { max-width:100%; } }
@media (prefers-reduced-motion:reduce) { .online__blob .online__circle::after { animation:none; opacity:.35; } }
/* Final optical corrections */
.online__blob,.hero-status-row .online__blob { scale:1; }
.online__blob .online__circle--circle { position:static; animation:none; }
.wand-footer-brand:hover { color:var(--ink); }
.wand-footer-bottom .spaceis:hover { color:var(--ink); }
.wand-footer-bottom .spaceis h6 { margin:0!important; display:flex; align-items:center; }
[data-theme="light"] .staff-placeholder { color:#925500; }
[data-theme="light"] .header__btn:not(.header__btn--color) > img,[data-theme="light"] .administration__href img,[data-theme="light"] .shop__header__btn img { filter:brightness(0); }
[data-theme="light"] .shop__card--href img { filter:brightness(0) saturate(100%) invert(34%) sepia(75%) saturate(920%) hue-rotate(11deg); }
[data-theme="light"] .shop__card--href:hover img { filter:brightness(0); }
@media (min-width:1101px) and (max-width:1250px) { .navbar__link { gap:10px; } .navbar__nav a { padding:9px 10px; } .navbar { padding-inline:15px; } }

/* V5 — mode art has its own area; no tint or mask on panel images. */
:root { --wordmark-gold:#ffb638; --mode-line:#aab8d32b; }
:root[data-theme="light"] { --wordmark-gold:#a66400; --mode-line:#64748b30; }
.navbar__brand .brand-wordmark,
.wand-footer-brand strong.brand-wordmark {
    color:var(--wordmark-gold);
    font-family:'Arial Black','Poppins',Arial,sans-serif;
    font-weight:900;
    letter-spacing:-.025em;
    -webkit-text-stroke:.35px currentColor;
    white-space:nowrap;
}
.navbar__brand .brand-wordmark > span,
.wand-footer-brand strong.brand-wordmark > span { color:var(--ink); font-weight:inherit; -webkit-text-stroke:inherit; }
.wand-footer-brand strong.brand-wordmark { font-size:clamp(20px,3vw,25px); line-height:1.15; }
#shop .shop__card.wand-mode-v5 {
    display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start;
    min-height:0; gap:0; padding:10px; border-radius:24px;
    background:var(--surface); border:1px solid var(--mode-line); box-shadow:var(--shadow);
    filter:none;
}
#shop .shop__card.wand-mode-v5::before,
#shop .shop__card.wand-mode-v5::after { content:none; }
.wand-mode-visual {
    position:relative; isolation:isolate; display:grid; place-items:center;
    aspect-ratio: 16 / 10; width:100%; min-width:0; overflow:hidden; padding:18px;
    border-radius:16px; border:1px solid var(--line);
    background:radial-gradient(ellipse at 50% 50%, #f8bc4420, transparent 70%), var(--surface-raised);
}
.wand-mode-visual::before { content:none; }
.wand-mode-visual img {
    display:block; width:100%; height:100%; min-height:0; max-width:100%; max-height:100%;
    object-fit:contain; object-position:center; filter:none; opacity:1; mix-blend-mode:normal;
    transition:transform .35s var(--ease);
}
.wand-mode-fallback { width:64px; height:64px; color:var(--accent-text); opacity:.7; }
#shop .wand-mode-v5 .shop__card--context { padding:18px 10px 10px; flex:1; width:100%; gap:0; align-items:stretch; }
#shop .wand-mode-v5 .shop__card--title { color:var(--ink); font-size:clamp(20px,2vw,24px); font-weight:800; line-height:1.24; margin:0 0 9px; }
#shop .wand-mode-v5 .shop__card--description { color:var(--muted); font-size:13px; line-height:1.65; margin:0 0 17px; }
#shop .wand-mode-v5 .shop__card--description:empty { display:none; }
#shop .wand-mode-v5 .shop__card--href {
    margin-top:auto; min-height:48px; width:100%; gap:12px; justify-content:space-between;
    border:1px solid #ffc14b55; border-radius:12px; padding:12px 15px;
    color:#171d29; background:linear-gradient(110deg,#ffd56e,#ffb638); font-weight:700;
}
#shop .wand-mode-v5 .shop__card--href img { filter:brightness(0); }
#shop .wand-mode-v5 .shop__card--href:hover { background:#ffd56e; color:#171d29; gap:12px; }
#shop .shop__card.wand-mode-v5:hover,
#shop .shop__card.wand-mode-v5:focus-within { border-color:#f5b941a0; box-shadow:var(--shadow),0 0 0 1px #ffb63822; transform:translateY(-4px); }
#shop .wand-mode-v5:hover .wand-mode-visual img { transform:scale(1.035); }
[data-theme="light"] .wand-mode-visual { background:radial-gradient(ellipse at 50% 50%,#f6c65029,transparent 75%),#f3f5f9; }

@media (max-width:767px) {
    #shop .shop__card.wand-mode-v5 { border-radius:20px; padding:8px; }
    .wand-mode-visual { border-radius:14px; padding:14px; }
    #shop .wand-mode-v5 .shop__card--context { padding:15px 8px 8px; }
}
@media (prefers-reduced-motion:reduce) {
    #shop .shop__card.wand-mode-v5:hover,#shop .shop__card.wand-mode-v5:focus-within,#shop .wand-mode-v5:hover .wand-mode-visual img { transform:none; }
    .wand-mode-visual img { transition:none; }
}

/* V6 — clean artwork surfaces and distinct Minecraft-inspired edge pixels. */
:root {
    --edge-pixel-strong:#ffb638a8;
    --edge-pixel-mid:#ffc35c68;
    --edge-pixel-soft:#ffbc4430;
    --edge-pixel-neutral:#a8b7d02c;
    --edge-pixel-faint:#a8b7d015;
}
:root[data-theme="light"] {
    --edge-pixel-strong:#d99108b8;
    --edge-pixel-mid:#e6a51a87;
    --edge-pixel-soft:#e2a41f4d;
    --edge-pixel-neutral:#71829f40;
    --edge-pixel-faint:#71829f24;
}
.header {
    background:radial-gradient(ellipse at 82% 43%,#ffb63824,transparent 49%),
               linear-gradient(125deg,var(--surface),var(--surface-raised));
}
[data-theme="light"] .header {
    background:radial-gradient(ellipse at 82% 43%,#f2bd4626,transparent 49%),
               linear-gradient(125deg,var(--surface),#f5f7fa);
}
.wand-pixels {
    --px:24px;
    border-radius:1px;
    background:var(--edge-pixel-strong);
    box-shadow:24px -24px var(--edge-pixel-mid),48px 0 var(--edge-pixel-soft),
               0 24px var(--edge-pixel-mid),-24px 24px var(--edge-pixel-strong),
               24px 48px var(--edge-pixel-neutral),48px 48px var(--edge-pixel-soft),
               -24px 72px var(--edge-pixel-soft),0 96px var(--edge-pixel-faint),
               24px 96px var(--edge-pixel-neutral);
    animation:wand-edge-drift 12s ease-in-out infinite alternate;
    opacity:.92;
}
.wand-pixels--left { top:29%; left:6px; }
.wand-pixels--right { top:14%; right:38px; animation-delay:-6s; }
.wand-pixels--lower { top:74%; right:0; animation-delay:-3s; }
@keyframes wand-edge-drift {
    from { translate:0 -6px; }
    to { translate:0 10px; }
}
@media (max-width:767px) {
    .wand-pixels { opacity:.48; }
    .wand-pixels--left { left:-13px; }
    .wand-pixels--right { right:0; }
    .wand-pixels--lower { right:-12px; }
}
@media (prefers-reduced-motion:reduce) {
    .wand-pixels { animation:none!important; translate:none; }
}


/* V8 — fluid card rows and consistent vertical rhythm. */
:root { --section-gap:clamp(28px,4vw,48px); --card-gap:clamp(12px,1.5vw,20px); }
body { min-height:100vh; background-size:auto; }
.wand-main { min-width:0; }
.wand-main > .container { padding-inline:0; }
.header { margin-bottom:var(--section-gap); }
.header__infoSection { padding-bottom:0; }
.hero-status-row .header__infoCard { display:flex; }
#shop .shop,.administration__container { margin:0; padding:0; }
#shop .shop > .row,.administration__container > .row {
    display:flex; flex-wrap:wrap; gap:var(--card-gap); margin:0; --bs-gutter-x:0; --bs-gutter-y:0;
}
#shop .shop > .row > div,.administration__container > .row > div {
    flex:1 1 calc((100% - 2 * var(--card-gap)) / 3); width:auto; max-width:100%; min-width:0; padding:0; margin:0; display:flex;
}
#shop .shop > .row > .col-12 { flex-basis:100%; }
#shop .shop > .row > .col-12 > .wand-empty { width:100%; }
#shop .shop__card,.administration__card { width:100%; min-width:0; margin:0; }
#shop .shop__card.wand-mode-v5 { min-height:0; }
.wand-mode-visual { aspect-ratio:auto; height:clamp(160px,17vw,220px); min-height:0; }
.wand-mode-visual img { min-width:0; }
#shop .wand-mode-v5 .shop__card--context { min-width:0; }
#shop .shop__card.wand-product-card { min-height:0; gap:16px; }
.wand-product-card .shop__card--context { flex:1; }
.wand-product-card .shop__card--href { margin-top:auto; }
#shop .shop__header { padding:clamp(24px,4vw,46px) 0 22px; }
.wand-category-nav { margin-bottom:24px; }
.wand-category-nav:empty { display:none; }
#shop .wand-product-category { margin-bottom:var(--section-gap); }
#shop .wand-product-category:last-child { margin-bottom:0; }
.wand-community { margin-top:var(--section-gap); }
.administration,.last { margin:var(--section-gap) 0 0; }
.administration__title,.last__title { padding:0; margin:0 0 18px; }
#last .last__container { margin:0; padding:0; }
.footer { margin-top:var(--section-gap); }
.wand-empty { background:var(--surface); color:var(--muted); padding:22px; }
/* Never hide content while waiting for scroll animations. */
.wand-reveal,.wand-reveal.wand-enter,.header__infoSection { opacity:1; animation:none; }
@media (min-width:768px) {
    #shop .shop > .row > div:only-child > .wand-product-card { flex-direction:row; align-items:center; }
    #shop .shop > .row > div:only-child .wand-product-card .mode-card-top { flex:0 0 36%; align-items:center; flex-wrap:wrap; }
    #shop .shop > .row > div:only-child .wand-product-card .mode-art { width:clamp(90px,13vw,160px); height:140px; }
}
@media (max-width:1199px) {
    #shop .shop > .row > div,.administration__container > .row > div { flex-basis:calc((100% - var(--card-gap)) / 2); }
}
@media (max-width:767px) {
    #shop .shop > .row > div,.administration__container > .row > div { flex-basis:100%; }
    .wand-mode-visual { height:clamp(150px,48vw,220px); }
    .wand-discord-card { min-height:0; }
    .wand-discord-card p { margin-bottom:28px; padding-right:0; }
    .wand-discord-card .discord-art { position:relative; right:auto; bottom:auto; align-self:center; width:130px; height:130px; margin:0 0 14px; }
    .wand-discord-card .header__btn { margin-top:0; }
}

/* V9 — compact mode grid, independent of the number of panel entries. */
:root { --earthsmp-green:#8ae8a6; }
:root[data-theme="light"] { --earthsmp-green:#247d47; }
#shop .wand-mode-list > .row {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:stretch; gap:var(--card-gap);
}
#shop .wand-mode-list > .row > div {
    width:100%; min-width:0; max-width:100%; margin:0; padding:0;
}
#shop .wand-mode-list > .row > .col-12 { grid-column:1 / -1; }
#shop .wand-mode-list .shop__card.wand-mode-v5 {
    display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start;
    min-height:0; padding:9px; gap:0; border-radius:20px;
}
#shop .wand-mode-list .wand-mode-visual { height:clamp(128px,12vw,165px); padding:12px; border-radius:13px; }
#shop .wand-mode-list .wand-mode-v5 .shop__card--context { padding:13px 7px 7px; }
#shop .wand-mode-list .wand-mode-v5 .shop__card--title { font-size:clamp(17px,1.5vw,20px); margin:0 0 7px; }
#shop .wand-mode-list .wand-mode-v5 .shop__card--description { font-size:12px; line-height:1.55; margin:0 0 12px; }
#shop .wand-mode-list .wand-mode-v5 .shop__card--href { min-height:42px; margin-top:auto; padding:10px 12px; font-size:12px; }
#shop .wand-mode-list .wand-mode-v5 .shop__card--title.wand-earthsmp-name,
#shop .shop__header--title > .wand-earthsmp-name { color:var(--earthsmp-green); }
.wand-footer-brand { align-items:center; gap:12px; }
.wand-footer-brand .wand-footer-tagline { color:var(--muted); font-weight:600; font-size:clamp(14px,1.25vw,17px); line-height:1.4; }
.wand-footer-brand img { flex:none; }
@media (max-width:1199px) { #shop .wand-mode-list > .row { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:991px) { #shop .wand-mode-list > .row { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:479px) { #shop .wand-mode-list > .row { grid-template-columns:minmax(0,1fr); } #shop .wand-mode-list .wand-mode-visual { height:158px; } }

/* V10 — reference-driven cinematic Minecraft design. All data remains panel-driven. */
:root { --canvas:#0f141f; --surface:#181e29; --surface-raised:#202838; --surface-glass:#101d31dc; --ink:#f6f7fb; --muted:#b7c0d0; --accent-text:#ffd064; --line:#9eafce30; --gold:#ffc244; --glow:#ffa90042; --success:#83ef4f; --hero-shadow:0 12px 35px #050a1680; }
:root[data-theme="light"] { --canvas:#f3f6fb; --surface:#fff; --surface-raised:#eaf0f8; --surface-glass:#ffffffeb; --ink:#162033; --muted:#48576c; --accent-text:#986000; --line:#40567830; --gold:#eeb13e; --glow:#efab0033; --success:#187c37; --hero-shadow:0 12px 35px #536f9a22; }
.container { max-width:1512px; --bs-gutter-x:clamp(28px,5vw,76px); }
.wand-main { position:relative; }
.wand-icon { width:21px; height:21px; flex:none; display:inline-block; vertical-align:middle; }
.wand-accent { color:var(--accent-text); }
body.wand-home { background:var(--canvas); }
body.wand-home::before { display:block; content:''; position:absolute; top:0; left:0; width:100%; height:clamp(790px,57vw,1020px); z-index:-1; pointer-events:none; background:linear-gradient(0deg,var(--canvas) 0%,transparent 20%),url('../img/world/hero-world.webp') center top / cover no-repeat; opacity:1; }
:root[data-theme="light"] body.wand-home::before { background:linear-gradient(0deg,var(--canvas) 0%,transparent 30%),linear-gradient(90deg,#f3f6fbfa 0%,#f3f6fbed 32%,#f3f6fb72 68%,#f3f6fb40),url('../img/world/hero-world.webp') center top / cover no-repeat; }
#navbar { padding-top:20px; }
.navbar { min-height:76px; padding:7px 17px; border-radius:23px; gap:14px; border-color:#a6c5f34a; background:linear-gradient(110deg,#142137e8,#102037d4); box-shadow:0 12px 38px #0005,inset 0 0 16px #91b9f30e; }
.navbar__brand img { width:70px;height:70px; }
.navbar__link { flex:1; gap:clamp(12px,2.4vw,36px); }
.navbar__nav { flex:1; justify-content:space-between; gap:4px; }
.navbar__nav a { display:flex; align-items:center; gap:9px; font-size:clamp(12px,1vw,15px); padding:12px 13px; font-weight:600; color:var(--ink); border:1px solid transparent; }
.navbar__nav a .wand-icon { color:var(--muted); }
.navbar__nav a.nav__active,.navbar__nav li:hover a { background:linear-gradient(150deg,#ffc14b24,#ffab0912); border-color:#ffbf62; color:var(--accent-text)!important; box-shadow:inset 0 0 12px #ffae0028,0 0 16px #ffac0022; font-weight:700!important; }
.navbar__nav a.nav__active .wand-icon,.navbar__nav li:hover a .wand-icon { color:var(--accent-text); }
.navbar__online { order:1; padding:8px 13px; border:1px solid #a8c9f13d; border-radius:15px; background:#6b9bca14; min-width:154px; }
.nav-status-text { display:grid; line-height:1.35; gap:2px; }
.nav-status-text small { font-size:11px; color:var(--muted); }
.nav-status-text .wand-server-status { font-size:12px; font-weight:700; }
.theme-switch { width:48px;height:48px; border-radius:14px; border-color:#a6c5f34a; background:#6b9bca17; }
.online__blob .online__circle { width:20px;height:20px; border:0; }
.online__blob .online__circle--circle { width:11px;height:11px; box-shadow:0 0 17px var(--beacon); }
[data-theme="light"] .navbar { background:#ffffffec; border-color:#a5b6d35c; box-shadow:var(--shadow); }
[data-theme="light"] .navbar__nav a.nav__active { border-color:#c9952e; background:#ffe5a14f; }
/* Hero — no opaque wrapper; art extends edge to edge behind the content. */
.wand-home #header { position:relative; }
.wand-home .header { margin:24px 0 clamp(58px,6vw,92px); padding:clamp(20px,3vw,48px) 0 clamp(15px,3vw,44px); border:0; border-radius:0; background:none; box-shadow:none; overflow:visible; }
.wand-home .header > .row { margin:0; --bs-gutter-x:0; align-items:center; }
.wand-home .header__infoSection { padding:0 18px 0 0; }
.hero-kicker { font-size:clamp(11px,1.05vw,15px); letter-spacing:.18em; margin-bottom:22px; }
.hero-kicker::before,.section-kicker::before { content:''; display:block; width:32px; height:3px; border-radius:9px; background:var(--accent-text); flex:none; }
.wand-home .header__title { font-size:clamp(41px,4.6vw,78px); line-height:1.035; letter-spacing:-.055em; font-weight:800; margin:0 0 29px; text-wrap:initial; position:relative; width:100%; }
.wand-home .header__title span { display:inline; background:linear-gradient(100deg,#ffe485,#ffc143 48%,#ffa62d); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; filter:drop-shadow(0 5px 13px #ff9a002f); }
.wand-home .header__title::after { content:''; display:block; width:34%; height:4px; margin:12px 0 0 8%; background:linear-gradient(90deg,transparent,#ffd95c,transparent); transform:rotate(-4deg); border-radius:50%; }
[data-theme="light"] .wand-home .header__title span { background:linear-gradient(100deg,#8d5100,#d98c08); background-clip:text; -webkit-background-clip:text; }
.wand-home .header__description { max-width:610px; font-size:clamp(15px,1.32vw,20px); line-height:1.56; margin-bottom:34px; color:var(--ink); font-weight:400; }
.header__description strong { color:var(--accent-text); font-weight:700; }
.header__btnSection { gap:16px; }
.header__btnSection .header__btn { min-height:64px; padding:16px clamp(14px,1.8vw,25px); gap:13px; border-radius:18px; font-size:clamp(14px,1.25vw,19px); font-weight:700; justify-content:center; }
.header__btn--color,.black-button { background:linear-gradient(150deg,#ffe080,#ffb52e 68%,#ffb53b); border:1px solid #ffe6a1; box-shadow:0 0 24px var(--glow),inset 0 0 7px #fff9; color:#1b170d; }
.header__btn--color:hover,.black-button:hover { background:linear-gradient(135deg,#fff1ad,#ffc34c); box-shadow:0 0 32px var(--glow); }
.header__btnSection .header__btn:not(.header__btn--color) { background:linear-gradient(140deg,#21324ce8,#11213dd9); border-color:#9bbde68a; box-shadow:inset 0 0 15px #8fc1ff15,0 9px 24px #0004; }
[data-theme="light"] .header__btnSection .header__btn:not(.header__btn--color) { background:#fffffff0; border-color:var(--line); box-shadow:var(--shadow); }
.hero-address { max-width:520px; padding:12px 15px; border:1px solid #9db9e477; border-radius:17px; background:linear-gradient(135deg,#253652c9,#102440c9); box-shadow:inset 0 0 13px #a8d0ff18; color:var(--ink); gap:12px; font-size:13px; margin-top:32px; }
.hero-address > .wand-icon { width:26px;height:26px; color:var(--muted); }
.hero-address button { display:flex; flex:1; justify-content:space-between; align-items:center; gap:10px; padding-left:16px; border-left:1px solid var(--line); text-decoration:none; min-width:0; }
.hero-address button strong { font-size:clamp(17px,1.6vw,24px); color:var(--accent-text); font-weight:800; white-space:nowrap; }
.hero-address button .wand-icon { width:38px;height:38px; padding:8px; border:1px solid #a3c7f54d; border-radius:10px; color:var(--ink); }
[data-theme="light"] .hero-address { background:#ffffffed; border-color:var(--line); }
.wand-home .header__imgSection { padding:0; gap:14px; }
.hero-art { width:min(100%,560px); isolation:isolate; }
.hero-art::before { inset:8%; background:radial-gradient(ellipse,#ffb03965,transparent 70%); filter:blur(27px); }
.hero-art::after { content:''; position:absolute; z-index:-1; width:100%; height:28%; border:4px solid #ffd378; border-radius:50%; transform:rotate(-13deg); box-shadow:0 0 25px #ffb83d,inset 0 0 18px #ffac44; opacity:.87; top:44%; }
.wand-home .header__img { max-width:560px; filter:drop-shadow(0 14px 28px #0008) drop-shadow(0 0 21px #ff9f0040); }
.hero-status-row { max-width:100%; gap:14px; }
.hero-status-row .header__infoCard { min-height:90px; border-radius:20px; padding:14px 17px; background:linear-gradient(125deg,#243650d9,#141d2de8); border:1px solid #ffc96c85; box-shadow:inset 0 0 14px #ffb63816,0 0 16px #ffc14b15; }
.hero-status-row .header__infoCard--first { order:2; }
.hero-status-row .header__infoCard--second { order:1; border-color:#8ec4ef9c; }
.hero-status-row .header__infoCard > .wand-icon { width:36px;height:36px;color:var(--accent-text); }
.hero-status-row .header__infoCard small { font-size:13px; color:var(--muted); }
.hero-status-row .header__infoCard--info { font-size:clamp(14px,1.35vw,21px)!important; font-weight:700!important; }
[data-theme="light"] .hero-status-row .header__infoCard { background:#fffef9f0; border-color:var(--line); box-shadow:var(--shadow); }
/* Mode section: the screenshot's horizontal layout for one or two modes; compact grid for more. */
.section-kicker { font-size:12px; letter-spacing:.09em; }
.section-heading { margin:0 0 24px; }
.section-heading h2,.administration__title { font-size:clamp(28px,3.3vw,49px); font-weight:800; letter-spacing:-.04em; }
.section-description { font-size:clamp(13px,1.2vw,17px); margin-top:10px; }
#shop .wand-mode-list > .row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
#shop .wand-mode-list > .row > div:only-child { grid-column:1/-1; }
#shop .wand-mode-list .shop__card.wand-mode-v5 { flex-direction:row; align-items:stretch; padding:0; border-radius:24px; overflow:hidden; min-height:225px; background:var(--surface); }
#shop .wand-mode-list .wand-mode-visual { position:relative; flex:0 0 43%; width:43%; height:auto; min-height:225px; padding:20px; border:0; border-radius:0; overflow:hidden; background:radial-gradient(ellipse,#ffb63825,transparent 70%),linear-gradient(90deg,transparent,var(--surface)),url('../img/world/v21-forest.webp') left bottom / cover no-repeat; }
#shop .wand-mode-list .wand-mode-visual img { width:100%; height:100%; max-height:240px; object-fit:contain; filter:drop-shadow(0 6px 12px #0005); }
#shop .wand-mode-list .wand-mode-v5 .shop__card--context { padding:clamp(16px,2.3vw,32px); justify-content:center; min-width:0; }
.mode-title-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.mode-title-row > .wand-icon { width:32px; height:32px; }
#shop .wand-mode-list .wand-mode-v5 .shop__card--title { margin:0; font-size:clamp(20px,2vw,30px); font-weight:800; overflow-wrap:anywhere; }
#shop .wand-mode-list .wand-mode-v5 .shop__card--description { font-size:14px; margin:0 0 16px; }
#shop .wand-mode-list .wand-mode-v5 .shop__card--href { min-height:48px; font-size:14px; margin-top:10px; border-radius:14px; background:linear-gradient(140deg,#ffe082,#ffb638); color:#1c1a14; box-shadow:0 0 18px var(--glow); }
#shop .wand-mode-list > .row > div:only-child .wand-mode-visual { flex-basis:46%; width:46%; min-height:285px; background:linear-gradient(90deg,transparent 50%,var(--surface) 100%),url('../img/world/v21-forest.webp') center / cover no-repeat; }
#shop .wand-mode-list > .row > div:only-child .wand-mode-visual img { max-height:265px; }
#shop .wand-mode-list > .row > div:only-child .shop__card--title { font-size:clamp(27px,3.2vw,44px); }
#shop .wand-mode-list > .row > div:only-child .shop__card--href { min-height:57px; font-size:17px; }
[data-theme="light"] #shop .wand-mode-list .wand-mode-visual { background:linear-gradient(90deg,#ffffff22,var(--surface)),url('../img/world/v21-forest.webp') left bottom / cover no-repeat; }
/* Illustrated community and staff cards. */
.wand-community { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:18px; }
.wand-join-panel,.wand-discord-card { border-radius:25px; padding:clamp(24px,3vw,39px); min-height:330px; }
.wand-community h2 { font-size:clamp(25px,2.6vw,39px); font-weight:800; }
.wand-join-panel { background:linear-gradient(90deg,var(--surface) 37%,transparent 100%),url('../img/world/sunset.webp') right bottom / auto 88% no-repeat,var(--surface); }
.wand-steps { gap:14px; }
.wand-steps > div { gap:12px; }
.step-number,.step-icon { width:43px; height:43px; flex:none; display:grid; place-items:center; border-radius:12px; color:var(--accent-text); background:var(--wash); border:1px solid #ffc14b6b; }
.step-icon { border-color:var(--line); background:var(--surface-raised); }
.step-icon .wand-icon { width:24px;height:24px; }
.wand-steps h3 { font-weight:700; font-size:15px; }
.wand-steps p { font-size:13px; }
.wand-discord-card { background:radial-gradient(ellipse at 87% 68%,#ffb63827,transparent 55%),var(--surface); }
.wand-discord-card .discord-art { width:clamp(140px,18vw,270px); height:auto; right:8px; bottom:8px; opacity:1; }
.wand-discord-card p { max-width:58%; margin-bottom:55px; }
.wand-discord-card .header__btn { font-weight:700; font-size:15px; min-height:52px; }
.administration__title { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.administration__title::before { content:''; width:29px; height:3px; border-radius:5px; background:var(--accent-text); flex:none; }
.administration__card { padding:24px; border-radius:23px; min-height:175px; background:linear-gradient(90deg,var(--surface) 31%,transparent 100%),url('../img/world/sunset.webp') right bottom / auto 100% no-repeat,var(--surface); }
.administration__head { gap:15px; }
.administration__head img,.staff-placeholder { width:65px;height:65px; border:1px solid #ffc14b9e; border-radius:15px; }
.administration__info h5 { font-size:21px; font-weight:800; }
.administration__info .staff-role { border:1px solid #ffc14b70; background:var(--wash); padding:4px 11px; border-radius:999px; width:fit-content; display:flex; align-items:center; gap:5px; letter-spacing:0; }
.staff-role .wand-icon { width:15px;height:15px; }
.administration__href { margin-top:22px; min-height:48px; display:flex; align-items:center; gap:10px; border:1px solid #ffc14b70; background:var(--surface-glass); color:var(--ink); padding:12px 14px; border-radius:14px; }
.administration__href > .wand-icon { color:var(--accent-text); }
.administration__href > img { margin-left:auto; }
.staff-pending { border-color:var(--line); }
.staff-pending span { margin-left:auto; border-radius:99px; padding:5px 9px; color:var(--accent-text); background:var(--wash); }
/* Footer as in the final reference, with original SpaceIS credit kept. */
.wand-footer { padding:32px 36px 0; border-radius:25px; background:linear-gradient(90deg,var(--surface) 24%,transparent 53%,var(--surface) 68%),url('../img/world/footer-sunset.webp') 47% center / auto 100% no-repeat,var(--surface); }
.wand-footer-top { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:32px; padding-bottom:30px; }
.wand-footer-brand { gap:20px; margin-bottom:22px; }
.wand-footer-brand img { width:100px;height:100px; }
.wand-footer-brand strong.brand-wordmark { font-size:clamp(25px,3.3vw,45px); letter-spacing:-.02em; }
.wand-footer-brand .wand-footer-tagline { font-size:clamp(14px,1.45vw,21px); font-weight:500; }
.wand-footer-about p { font-size:14px; color:var(--muted); line-height:1.65; margin:0 0 8px; max-width:610px; }
.wand-footer-about b,.wand-footer-bottom b { color:var(--accent-text); }
.wand-footer-links { justify-content:space-between; gap:22px; }
.wand-footer-links > div + div { border-left:1px solid var(--line); padding-left:22px; }
.wand-footer-links h3 { color:var(--accent-text); text-transform:uppercase; font-weight:800; font-size:14px; }
.wand-footer-links a { display:flex; align-items:center; gap:10px; color:var(--ink); font-size:14px; font-weight:500; }
.footer-icon { width:36px;height:36px; border:1px solid #ffc14b65; border-radius:11px; display:grid; place-items:center; background:var(--wash); color:var(--accent-text); flex:none; }
.wand-footer-bottom { border-top:1px solid #ffc14b65; }
.wand-footer-bottom .copy--second { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--muted); }
.wand-footer-bottom .copy--second .wand-icon { color:var(--accent-text); }
[data-theme="light"] .wand-join-panel { background:linear-gradient(90deg,#fff 40%,#ffffff22 100%),url('../img/world/sunset.webp') right bottom / auto 88% no-repeat,#fff; }
[data-theme="light"] .administration__card { background:linear-gradient(90deg,#fff 45%,#ffffff44 100%),url('../img/world/sunset.webp') right bottom / auto 100% no-repeat,#fff; }
[data-theme="light"] .wand-footer { background:linear-gradient(90deg,#fff 30%,#ffffff77 48%,#fff 70%),url('../img/world/footer-sunset.webp') 47% center / auto 100% no-repeat,#fff; }
@media (max-width:1250px) { .navbar__link { gap:12px; } .navbar__nav a { gap:6px; padding:10px 8px; } .navbar__nav a .wand-icon { width:18px;height:18px; } .navbar__online { min-width:0; } }
@media (max-width:1199px) { .wand-home .header__infoSection,.wand-home .header__imgSection { width:50%; } .header__btnSection { flex-wrap:wrap; } .header__btnSection .header__btn { min-height:54px; } .hero-status-row .header__infoCard { padding:12px; } .hero-status-row .header__infoCard small { font-size:11px; } .wand-footer-top { grid-template-columns:1fr 1fr; gap:20px; } }
@media (max-width:1100px) { .navbar__nav { justify-content:flex-start; } .navbar__nav--active { position:absolute; background:var(--surface); padding:14px; } .navbar__nav a { padding:12px; } }
@media (max-width:991px) { .wand-home .header__title { font-size:clamp(35px,5vw,54px); } .wand-home .header__infoSection { padding:0 15px 0 0; } .hero-status-row { grid-template-columns:1fr; } .hero-status-row .header__infoCard { min-height:65px; } .hero-address { margin-top:20px; } #shop .wand-mode-list .shop__card.wand-mode-v5 { flex-direction:column; } #shop .wand-mode-list .wand-mode-visual,#shop .wand-mode-list > .row > div:only-child .wand-mode-visual { width:100%; flex:none; height:190px; min-height:0; } .wand-community { grid-template-columns:1fr; } .wand-join-panel,.wand-discord-card { min-height:285px; } .wand-footer-top { grid-template-columns:1fr; } .wand-footer-links { justify-content:flex-start; gap:45px; } }
@media (max-width:767px) { .container { --bs-gutter-x:28px; } #navbar { padding-top:10px; } .navbar { min-height:61px; padding:6px 11px; border-radius:16px; } .navbar__brand img { width:51px;height:51px; } .theme-switch { width:40px;height:40px; } .wand-home .header { margin:26px 0 38px; padding:0; } .wand-home .header > .row { display:flex; flex-direction:column; } .wand-home .header__infoSection,.wand-home .header__imgSection { width:100%; padding:0; } .wand-home .header__title { font-size:clamp(35px,8.6vw,51px); } .wand-home .header__description { margin-bottom:22px; } .header__btnSection { gap:9px; } .header__btnSection .header__btn { font-size:13px; padding:12px; flex:1 1 auto; min-height:48px; border-radius:13px; } .header__btnSection .header__btn .wand-icon { width:17px;height:17px; } .hero-address { padding:10px; gap:8px; font-size:11px; margin-top:17px; } .hero-address button { padding-left:10px; } .hero-address button .wand-icon { width:31px;height:31px; } .wand-home .header__imgSection { margin-top:24px; } .hero-art { width:min(87%,350px); } .hero-status-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; } .hero-status-row .header__infoCard { padding:9px; min-height:64px; border-radius:13px; } .hero-status-row .header__infoCard > .wand-icon { width:24px;height:24px; } .hero-status-row .header__infoCard--info { font-size:12px!important; } body.wand-home::before { height:1100px; background-position:65% top; } #shop .wand-mode-list > .row { gap:12px; } #shop .wand-mode-list .wand-mode-v5 .shop__card--context { padding:14px; } .wand-community h2 { font-size:25px; } .wand-join-panel,.wand-discord-card { padding:19px; } .wand-steps > div { gap:8px; } .step-number,.step-icon { width:32px;height:36px; } .step-icon .wand-icon { width:19px;height:19px; } .wand-discord-card p { max-width:100%; } .wand-discord-card .discord-art { width:150px; height:auto; } .administration__card { padding:19px; } .wand-footer { padding:20px 17px 0; } .wand-footer-brand img { width:75px;height:75px; } .wand-footer-links { gap:13px; justify-content:space-between; } .wand-footer-links > div + div { padding-left:10px; } .wand-footer-links a { font-size:12px; gap:6px; } .footer-icon { width:28px;height:28px; } .footer-icon .wand-icon { width:16px;height:16px; } }
@media (max-width:479px) { #shop .wand-mode-list > .row { grid-template-columns:1fr; } .wand-discord-card .discord-art { position:absolute; right:5px; bottom:5px; width:125px; margin:0; } .wand-discord-card p { max-width:95%; margin-bottom:62px; } .wand-footer-links { flex-wrap:wrap; gap:22px; } .wand-footer-links > div + div { padding-left:0; border:0; } }
/* Final V10 finishing: soften the actual artwork edges, reserve room for text. */
@media (min-width:1200px) { #navbar,.wand-main,#footer { width:90%; } .wand-main > .container { max-width:none; width:100%; } }
.wand-discord-card h2 { position:relative; z-index:2; max-width:100%; }
.wand-discord-card .discord-art { width:clamp(125px,15.8vw,230px); bottom:9px; right:8px; z-index:0; }
.wand-discord-card .discord-orbit { opacity:.65; }
.wand-join-panel { background-size:auto,auto 85%,auto; }
.wand-footer { background-size:auto,auto 88%,auto; }
[data-theme="light"] .wand-join-panel { background-image:linear-gradient(90deg,#fff 40%,#ffffff66 100%),url('../img/world/sunset.webp'); }
[data-theme="light"] .wand-footer { background-image:linear-gradient(90deg,#fff 26%,#ffffffa0 49%,#fff 72%),url('../img/world/footer-sunset.webp'); }
@media (max-width:767px) { .wand-discord-card .discord-art { width:145px; } .wand-footer { background-size:auto,auto 62%,auto; background-position:center,65% 82%,center; } .wand-join-panel { background-image:linear-gradient(90deg,var(--surface) 30%,color-mix(in srgb,var(--surface) 50%,transparent)),url('../img/world/sunset.webp'); } }
@media (max-width:479px) { .wand-discord-card .discord-art { width:125px; } }

/* V11 — geometry and artwork calibrated to the supplied four mockups.
   Live text, API-driven mode cards and interaction remain HTML/PHP. */
:root { --canvas:#111520; --surface:#191d29; --surface-raised:#202633; --gold:#ffbf36; --accent-text:#ffd05c; --ink:#f7f8fc; --muted:#c0c5d0; }
:root[data-theme="light"] { --canvas:#f3f6fb; --surface:#ffffff; --surface-raised:#eaf0f8; --accent-text:#946000; --ink:#192134; --muted:#4b586b; }
body { font-family:Poppins,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
button,input { font-family:inherit; }
.wand-home .wand-pixels--left,.wand-home .wand-pixels--right { display:none; }
.hero-crown { display:none; color:#ffdb58; width:clamp(35px,3.4vw,56px); height:auto; filter:drop-shadow(0 0 8px #ffae00); transform:rotate(15deg); position:absolute; right:6%; top:-.45em; }
.wand-home .header__title { font-family:Poppins,system-ui,sans-serif; font-weight:800; letter-spacing:-.043em; max-width:none; }
.hero-discord-icon { width:32px;height:32px;flex:none; }
.wand-discord-join .discord-heads { display:none; }
@media (hover:hover) { .wand-discord-join:hover .hero-discord-icon { display:none; } .wand-discord-join:hover .discord-heads { display:flex; } }
.status-inline { display:flex; align-items:center; gap:5px; }
.status-inline .online__blob { width:17px;height:17px;min-width:17px;min-height:17px;margin:0; }
.hero-status-row .header__infoCard .status-grass { width:clamp(32px,3.5vw,56px);height:auto;object-fit:contain; filter:drop-shadow(0 4px 8px #0005); }
.grass-icon { width:36px;height:36px;flex:none;object-fit:contain; }
.step-icon .grass-icon { width:29px;height:29px; }
.mode-title-row { flex-wrap:wrap; }
.mode-title-row .mode-earth { color:var(--ink); }
.mode-title-row .mode-smp { color:var(--accent-text); }
.mode-featured { border:1px solid #ffc34b9c; color:var(--accent-text); background:#ffb63808; border-radius:999px; padding:5px 12px; font-size:12px; font-weight:700; white-space:nowrap; }
.section-heading h2,.administration__title,.wand-community h2 { font-family:Poppins,system-ui,sans-serif; font-weight:800; letter-spacing:-.035em; }
.wand-join-panel,.wand-discord-card,.administration__card,.wand-footer,#shop .wand-mode-list .shop__card.wand-mode-v5 { border-color:#aab4ca38; }
.header__btn--color,.black-button { background:linear-gradient(164deg,#fff1ad 0%,#ffd357 28%,#ffb32a 75%,#ffc74b 100%); box-shadow:0 0 24px #ffac0063,inset 0 0 9px #fff8,0 5px 13px #0004; }
[data-theme="light"] .header__btn--color { box-shadow:0 6px 19px #e6a51c36,inset 0 0 8px #fff9; }
[data-theme="light"] .hero-status-row .header__infoCard .status-grass { filter:none; }
@media (min-width:1200px) {
  #navbar,.wand-main,#footer { width:88%; max-width:1800px; padding-inline:0; }
  #navbar { padding-top:1.35vw; }
  .navbar { min-height:4.7vw; padding:0 .9vw; border-radius:1.5vw; gap:1.2vw; }
  .navbar__brand img { width:5.7vw;height:5.7vw;max-width:100px;max-height:100px; margin:-.5vw 0; }
  .navbar__nav a { font-size:clamp(13px,1vw,18px); padding:.75vw .95vw; border-radius:.9vw; gap:.75vw; }
  .navbar__nav a .wand-icon { width:1.5vw;height:1.5vw; }
  .navbar__online { padding:.55vw .9vw; min-width:10.4vw; }
  .nav-status-text small { font-size:clamp(10px,.8vw,14px); }
  .nav-status-text .wand-server-status { font-size:clamp(12px,.9vw,16px); }
  .theme-switch { width:3.2vw;height:3.2vw;max-width:60px;max-height:60px; }
  .wand-home #header { margin:0; }
  .wand-home .header { margin:0 0 3vw; padding:0; min-height:0; height:47.7vw; max-height:940px; }
  .wand-home .header > .row { height:100%; min-height:0; align-items:stretch; display:grid; grid-template-columns:49% 51%; }
  .wand-home .header__infoSection,.wand-home .header__imgSection { width:100%;max-width:none;min-width:0; }
  .wand-home .header__infoSection { padding:5.8vw 0 0; }
  .hero-kicker { font-size:.98vw; letter-spacing:.18em; margin-bottom:1.5vw; gap:.95vw; }
  .hero-kicker::before { width:2.9vw;height:3px; }
  .wand-home .header__title { font-size:clamp(53px,4.57vw,88px); line-height:1.06; letter-spacing:-.045em; margin:0 0 2.1vw; -webkit-text-stroke:.45px currentColor; }
  .wand-home .header__title span { display:inline-block; white-space:nowrap; -webkit-text-stroke:0; font-weight:800; filter:drop-shadow(0 3px 7px #ff990066); }
  .wand-home .header__title::after { width:32%; margin:.65vw 0 0 7%; height:.35vw; }
  .hero-crown { display:block; }
  .wand-home .header__description { max-width:39vw; font-size:clamp(16px,1.30vw,24px); line-height:1.46; margin:0 0 3vw; }
  .header__btnSection { gap:1.35vw; flex-wrap:nowrap; }
  .header__btnSection .header__btn { min-height:4.7vw; border-radius:1.25vw; font-size:clamp(16px,1.4vw,24px); padding:.95vw 2.1vw; gap:.95vw; white-space:nowrap; }
  .header__btnSection .header__btn .wand-icon { width:1.65vw;height:1.65vw; }
  .header__btnSection .header__btn--color { min-width:18.8vw; }
  .header__btnSection .wand-discord-join { min-width:19.2vw; }
  .header__btnSection .wand-discord-join .hero-discord-icon { width:2.2vw;height:2.2vw; }
  .hero-address { max-width:34vw; margin-top:2.7vw; padding:.75vw 1.2vw; border-radius:1.25vw; min-height:4.7vw; font-size:clamp(12px,1vw,18px); gap:1vw; }
  .hero-address button strong { font-size:clamp(19px,1.65vw,31px); }
  .hero-address button .wand-icon { width:3vw;height:3vw; }
  .wand-home .header__imgSection { justify-content:flex-start; padding:0; gap:0; position:relative; }
  .hero-art { position:absolute; top:.8vw; width:100%; max-width:41vw; height:35.8vw; aspect-ratio:auto; }
  .wand-home .header__img { max-width:100%; max-height:100%; object-fit:contain; }
  .hero-status-row { position:absolute; top:36.8vw; width:96%; max-width:none; display:grid;grid-template-columns:1fr 1.14fr;gap:1.8vw; }
  .hero-status-row .header__infoCard { min-height:6.25vw; border-radius:1.35vw; padding:1.1vw 1.5vw; gap:1.1vw; border:1px solid #c8d8f6a0; box-shadow:inset 0 0 16px #91baff27,0 0 20px #0004; }
  .hero-status-row .header__infoCard--first { border-color:#ffcb78bd; box-shadow:inset 0 0 18px #ffa53b30,0 0 20px #ffb6382a; }
  .hero-status-row .header__infoCard--second { border-color:#8ec4efb0; box-shadow:inset 0 0 18px #a5baff22,0 0 20px #ffb63825; }
  .hero-status-row .header__infoCard small { font-size:clamp(12px,1vw,18px); }
  .hero-status-row .header__infoCard--info { font-size:clamp(15px,1.45vw,25px)!important; line-height:1.3!important; }
  .hero-status-row .header__infoCard > .wand-icon { width:2.9vw;height:2.9vw; }
  html:not([data-theme="light"]) body.wand-home::before { height:56.28vw; max-height:1120px; background:linear-gradient(0deg,var(--canvas) 0%,transparent 9%),url('../img/world/hero-reference.webp') center top / 100% auto no-repeat; }
  html:not([data-theme="light"]) .wand-home .hero-art { opacity:0; pointer-events:none; }
  /* Keep the same view proportions even on a wide desktop. */
  .section-heading h2,.administration__title { font-size:clamp(38px,3.15vw,58px); }
  .section-kicker { font-size:clamp(12px,1vw,17px); }
  .section-description { font-size:clamp(16px,1.18vw,21px); }
  #shop .wand-mode-list > .row > div:only-child .wand-mode-visual { min-height:19vw; }
  #shop .wand-mode-list > .row > div:only-child .wand-mode-visual img { max-height:18vw; }
  #shop .wand-mode-list > .row > div:only-child .shop__card--context { padding:2.4vw 3.2vw; }
  #shop .wand-mode-list > .row > div:only-child .shop__card--title { font-size:clamp(30px,2.7vw,50px); }
  #shop .wand-mode-list > .row > div:only-child .shop__card--description { font-size:clamp(15px,1.25vw,23px); margin-bottom:1.4vw; }
  #shop .wand-mode-list > .row > div:only-child .shop__card--href { min-height:4.2vw; font-size:clamp(16px,1.35vw,25px); border-radius:1vw; }
  .wand-community { gap:1.4vw; }
  .wand-join-panel,.wand-discord-card { min-height:22vw; padding:2.4vw; }
  .wand-community h2 { font-size:clamp(28px,2.55vw,47px); }
  .wand-steps { gap:1vw; }
  .wand-steps h3 { font-size:clamp(15px,1.12vw,20px); }
  .wand-steps p,.wand-discord-card p { font-size:clamp(13px,1vw,19px); }
  .step-number,.step-icon { width:3.2vw;height:3.2vw; }
  .administration__card { padding:1.8vw; min-height:12.5vw; }
  .administration__head img,.staff-placeholder { width:4.7vw;height:4.7vw; }
  .administration__info h5 { font-size:clamp(21px,1.6vw,29px); }
  .administration__href { min-height:3.2vw; font-size:clamp(14px,1vw,18px); }
  .wand-footer { padding:2.8vw 3.4vw 0; }
  .wand-footer-top { grid-template-columns:1.6fr 1fr; gap:3vw; padding-bottom:1.5vw; }
  .wand-footer-brand img { width:8vw;height:8vw; }
  .wand-footer-brand strong.brand-wordmark { font-size:clamp(34px,3vw,55px); }
  .wand-footer-brand .wand-footer-tagline { font-size:clamp(16px,1.5vw,27px); }
  .wand-footer-about p { font-size:clamp(15px,1.1vw,20px); max-width:42vw; }
  .wand-footer-links h3 { font-size:clamp(15px,1.1vw,20px); }
  .wand-footer-links a { font-size:clamp(14px,1.05vw,19px); }
  .footer-icon { width:3vw;height:3vw; }
  .wand-footer-bottom .copy--second { font-size:clamp(14px,1.05vw,20px); }
}
@media(min-width:1200px) and (max-width:1400px) { .mode-featured { font-size:10px;padding:4px 8px; } .hero-crown { right:3%; } }
@media(min-width:1200px) and (max-width:1300px) { .navbar__nav a { padding:.75vw .5vw; gap:.4vw; } .header__btnSection .header__btn { padding:.95vw 1.4vw; } }
@media(min-width:2100px) { .wand-home .header { height:940px; } .wand-home .header__infoSection { padding-top:110px; } .hero-status-row { top:740px; } html:not([data-theme="light"]) .wand-home .hero-art { opacity:1; } html:not([data-theme="light"]) body.wand-home::before { background:linear-gradient(0deg,var(--canvas),transparent 25%),url('../img/world/hero-world.webp') center top/cover; } }
@media(max-width:767px) { .hero-crown { display:none; } .hero-discord-icon { width:22px;height:22px; } .status-inline { gap:2px; } .hero-status-row .header__infoCard .status-grass { width:24px;min-width:24px; } .mode-featured { font-size:10px; } .grass-icon { width:26px;height:26px; } }
/* Pixel-reference finishing pass. */
.wand-footer .wand-footer-about .eula,.wand-footer .wand-footer-about .wand-disclaimer { font-size:clamp(13px,1.1vw,20px); line-height:1.55; opacity:1; }
.wand-home .wand-pixels--lower { display:none; }
.hero-status-row .header__infoCard--info { overflow-wrap:normal; }
@media (min-width:1200px) {
  .hero-kicker { margin-bottom:1.05vw; }
  .wand-home .header__title { font-size:clamp(56px,4.87vw,93px); line-height:1.015; letter-spacing:-.043em; margin-bottom:1.8vw; }
  .wand-home .header__title span { font-size:1.035em; }
  .hero-crown { right:10%; top:-.41em; }
  .wand-home .header__description { max-width:36.4vw; margin-bottom:2.8vw; }
  .header__btnSection .wand-discord-join { min-width:19.2vw; padding-inline:1.45vw; }
  .hero-status-row { top:36.15vw; }
  .hero-status-row .header__infoCard .status-grass { width:3.5vw;min-width:3.5vw;max-width:60px; }
  .hero-status-row .header__infoCard { gap:.8vw; }
  .hero-status-row .header__infoCard--info { font-size:clamp(15px,1.4vw,25px)!important; }
  .wand-footer-bottom .spaceisSection .spaceis { font-size:clamp(14px,1vw,18px); }
  .wand-footer-bottom .spaceis h6 { font-size:clamp(16px,1.25vw,23px); font-weight:700; }
  .wand-footer-bottom .spaceis img { width:clamp(30px,2.4vw,48px); height:auto; }
  .wand-discord-card .header__btn { min-height:3.8vw; padding:1vw 1.5vw; font-size:clamp(15px,1.2vw,21px); }
}
@media (min-width:1200px) {
  [data-theme="light"] .wand-home .hero-art { top:1.2vw; height:33.8vw; grid-template: minmax(0,1fr) / minmax(0,1fr); }
  [data-theme="light"] .wand-home .hero-art .header__img { width:min(100%,33vw); height:100%; max-height:33vw; margin:0; align-self:center; justify-self:center; object-fit:contain; }
}

/* V12 — role-specific artwork extracted from the four supplied reference images. */
.navbar__brand img {object-fit:contain;filter:none;}
.wand-footer-brand img {object-fit:contain;filter:none;}
.wand-discord-card .discord-orbit {display:none;}
.wand-discord-card .discord-art {width:52%;height:auto;max-height:none;right:0;bottom:0;object-fit:contain;filter:none;opacity:1;mask-image:none;}
.wand-join-panel {background: url('../img/world/v21-sunset.webp') right bottom / auto 76% no-repeat,var(--surface);}
.administration__card {background:url('../img/world/v21-sunset.webp') right top / auto 61% no-repeat,var(--surface);}
.administration__head img.staff-avatar--owner {object-fit:cover;box-shadow:0 0 16px #ffae333d;border:0;}
.wand-footer {background:url('../img/world/v21-sunset.webp') 56% 35% / auto 76% no-repeat,var(--surface);}
.wand-footer::after {content:'';position:absolute;bottom:0;left:0;width:80px;height:66px;background:url('../img/world/reference-corner.webp') left bottom/contain no-repeat;pointer-events:none;z-index:0;}
.wand-footer {position:relative;overflow:hidden;}
.wand-footer-top,.wand-footer-bottom {position:relative;z-index:1;}
#shop .wand-mode-list .wand-mode-visual,#shop .wand-mode-list > .row > div:only-child .wand-mode-visual {background: url('../img/world/v21-forest.webp') center / cover no-repeat,var(--surface);}
#shop .wand-mode-list .wand-mode-visual:has(.wand-mode-fallback) {padding:0;}
#shop .wand-mode-list .wand-mode-visual img.wand-mode-fallback {width:100%;height:100%;max-height:none;object-fit:cover;filter:none;}
[data-theme="light"] .wand-join-panel {background:linear-gradient(90deg,#fff 35%,#fff0 85%),url('../img/world/v21-sunset.webp') right bottom/auto 76% no-repeat,#fff;}
[data-theme="light"] .administration__card {background:linear-gradient(90deg,#fff 33%,#fff3 100%),url('../img/world/v21-sunset.webp') right top/auto 61% no-repeat,#fff;}
[data-theme="light"] .wand-footer {background:linear-gradient(90deg,#fff 25%,#fff6 49%,#fff 72%),url('../img/world/v21-sunset.webp') 56% 35%/auto 76% no-repeat,#fff;}
[data-theme="light"] #shop .wand-mode-list .wand-mode-visual,[data-theme="light"] #shop .wand-mode-list > .row > div:only-child .wand-mode-visual {background:url('../img/world/v21-forest.webp') center/cover no-repeat,#eef2f8;}
[data-theme="light"] .wand-discord-card .discord-art {mask-image:linear-gradient(90deg,transparent 0%,#000 24%);}
.wand-home .hero-art .header__img {object-fit:contain;filter:none;animation:none;}
@media (min-width:1200px) {
 .navbar__brand img {width:5.7vw;height:5.25vw;margin:0;}
 .wand-home .header__title {font-weight:800;letter-spacing:-.043em;}
 .header__btnSection .header__btn--color {border:1.5px solid #fff0a8;box-shadow:0 0 24px #ffac007f,inset 0 0 12px #fff9,0 5px 13px #0004;background:linear-gradient(165deg,#ffe787,#ffb52e 76%,#ffa91a);}
 .hero-status-row {top:36.65vw;}
 .hero-status-row .header__infoCard--second {box-shadow:inset 0 0 17px #9fc5ff35,0 0 13px #ffb6382a;}
 .wand-discord-card .discord-art {width:55%;bottom:0;right:0;}
 .wand-footer-brand img {width:8.5vw;height:8.5vw;}
 [data-theme="light"] .wand-home .hero-art .header__img {width:100%;height:100%;max-height:none;}
}
@media(max-width:767px) { .wand-home .hero-art {width:100%;height:auto;aspect-ratio:1.4;} .wand-home .hero-art .header__img {width:100%;height:100%;} .wand-discord-card .discord-art {position:absolute;width:43%;right:0;bottom:0;} .wand-footer::after {width:44px;height:38px;} }

/* Light theme uses the same original composition as the dark theme, not a second rectangular copy. */
@media (min-width:1200px) and (max-width:2099px) {
 :root[data-theme="light"] body.wand-home::before {height:56.28vw;max-height:1120px;background:linear-gradient(0deg,var(--canvas) 0%,transparent 15%),linear-gradient(90deg,#f3f6fbf7 0%,#f3f6fbf2 37%,#f3f6fb85 45%,transparent 55%),url('../img/world/hero-reference.webp') center top / 100% auto no-repeat;}
 [data-theme="light"] .wand-home .hero-art {opacity:0;pointer-events:none;}
}
[data-theme="light"] .wand-discord-card .discord-art {mask-image:linear-gradient(90deg,transparent 0%,#000 29%);}
[data-theme="light"] .wand-join-panel {background-image:linear-gradient(90deg,#fff 40%,#ffffffe0 56%,#fff0 85%),url('../img/world/v21-sunset.webp');}
[data-theme="light"] .wand-footer {background-image:linear-gradient(90deg,#fff 33%,#ffffffb5 49%,#fff8 55%,#fff 71%),url('../img/world/v21-sunset.webp');}

/* V13 — compact, dark-only reference layout. All payment and panel data are unchanged. */
:root { color-scheme:dark; --canvas:#111520; --surface:#191d29; --ink:#f7f8fc; --muted:#c0c5d0; --accent-text:#ffca4a; --success:#63ef40; --section-gap:clamp(24px,3vw,40px); --design-unit:min(1vw,14px); }
#navbar,.wand-main,#footer { width:calc(100% - 48px); max-width:1240px; padding-inline:0; }
.theme-switch { display:none!important; }
#navbar { padding-top:16px; }
.navbar { min-height:66px; padding:6px 13px; gap:12px; border-radius:20px; overflow:visible; }
.navbar__brand img { width:65px;height:60px; }
.navbar__link { gap:clamp(12px,2vw,28px); min-width:0; }
.navbar__nav { gap:3px; }
.navbar__nav a { font-size:clamp(12px,1vw,14px); font-weight:600; padding:10px 12px; gap:8px; border-radius:12px; transition:background .22s,border-color .22s,box-shadow .22s,color .22s; }
.navbar__nav a .wand-icon { width:20px;height:20px; }
.navbar__nav .indicator { display:none; }
.navbar__nav a.nav__active,.navbar__nav a:hover,.navbar__nav a:focus-visible { color:#ffe09a!important; border:1px solid #ffc65b; background:radial-gradient(ellipse at 50% 100%,#b77b244a,transparent 95%),linear-gradient(160deg,#493718,#27241e); box-shadow:inset 0 0 10px #ffc14b42,0 0 7px #ffb63878,0 0 22px #ff990040; }
.navbar__online { order:1; min-width:148px; padding:8px 13px; gap:12px; border-radius:14px; }
.navbar__online .nav-status-text { min-width:0; }
.nav-status-text .wand-server-status { font-size:14px; }
[data-server-status][data-state="online"] { color:#85f357!important; }
.online__blob,.hero-status-row .online__blob,.status-inline .online__blob { width:24px;min-width:24px;height:24px;min-height:24px;flex:0 0 24px; margin:0; position:relative; scale:1; }
.online__blob .online__circle { width:19px;height:19px; }
.online__blob .online__circle--circle { width:10px;height:10px; }
.status-inline { display:flex; align-items:center; gap:9px; min-width:0; }
.status-inline .online__circle::after { inset:-3px; }
.hero-status-row .header__infoCard--info { white-space:normal; overflow-wrap:normal; font-size:16px!important; }
.hero-status-row .header__infoCard { gap:12px; min-width:0; }
.hero-status-row .header__infoCard small { font-size:12px; }
.hero-status-row .header__infoCard--second,.hero-status-row .header__infoCard--first { border:1px solid transparent; background:linear-gradient(125deg,#243650ed,#171d2bef) padding-box,linear-gradient(130deg,#ffcc78,#566b8d 45%,#8cbae5 70%,#ffc658) border-box; box-shadow:inset 0 0 13px #86baff25,0 0 13px #ffc44a29; }
/* Gold controls: luminous border and subtle bloom, not just a flat yellow fill. */
.header__btn--color,#shop .wand-mode-list .wand-mode-v5 .shop__card--href { color:#20170a; font-weight:800; border:1px solid #fff0ab; background:linear-gradient(165deg,#ffe88a 0%,#ffce56 40%,#ffb22b 85%,#ffbe42 100%); box-shadow:inset 0 0 10px #fff8,0 0 9px #ffbb3370,0 0 24px #ff9a0040; transition:transform .23s ease,box-shadow .23s ease,filter .23s ease; }
.header__btn--color:hover,.header__btn--color:focus-visible,#shop .wand-mode-list .wand-mode-v5 .shop__card--href:hover,#shop .wand-mode-list .wand-mode-v5 .shop__card--href:focus-visible { color:#20170a; filter:brightness(1.09); box-shadow:inset 0 0 12px #fff9,0 0 12px #ffc859a0,0 0 30px #ff9a007a; transform:translateY(-2px); }
.header__btn--color:active,#shop .wand-mode-list .wand-mode-v5 .shop__card--href:active { transform:translateY(0); }
.header__btnSection .wand-discord-join { border-color:#a1c3e789; box-shadow:inset 0 0 16px #91bfff24,0 0 11px #4f91dc33; }
.header__btnSection .wand-discord-join:hover,.header__btnSection .wand-discord-join:focus-visible { border-color:#ffe099; box-shadow:inset 0 0 16px #8fbfff34,0 0 20px #ffc14b44; }
.section-heading { margin-bottom:18px; }
.section-heading h2,.administration__title { font-size:clamp(26px,3vw,40px); font-weight:800; letter-spacing:-.035em; line-height:1.13; }
.section-kicker { font-size:12px; font-weight:750; letter-spacing:.075em; }
.section-description { font-size:15px; line-height:1.55; }
#shop .wand-mode-list > .row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
#shop .wand-mode-list > .row > div { width:100%; min-width:0; }
#shop .wand-mode-list > .row > div:only-child { grid-column:1/-1; }
#shop .wand-mode-list .shop__card.wand-mode-v5 { border-radius:22px; min-height:0; }
#shop .wand-mode-list .wand-mode-visual { flex:0 0 40%; width:40%; min-height:176px; padding:12px; }
#shop .wand-mode-list .wand-mode-visual img { max-height:172px; }
#shop .wand-mode-list > .row > div:only-child .wand-mode-visual { flex:0 0 46%; width:46%; min-height:0; height:clamp(200px,20vw,250px); }
#shop .wand-mode-list > .row > div:only-child .wand-mode-visual img { max-height:100%; }
#shop .wand-mode-list .wand-mode-v5 .shop__card--context { padding:18px; flex:1; min-width:0; }
#shop .wand-mode-list > .row > div:only-child .shop__card--context { padding:clamp(20px,3vw,40px); position:relative; }
#shop .wand-mode-list > .row > div:only-child .shop__card--context::before { content:''; position:absolute; left:0; top:17%; bottom:17%; width:1px; background:#a8b7d22b; }
#shop .wand-mode-list .wand-mode-v5 .shop__card--title { font-size:clamp(18px,2vw,24px); font-weight:800; }
#shop .wand-mode-list > .row > div:only-child .shop__card--title { font-size:clamp(26px,3.2vw,36px); }
#shop .wand-mode-list .wand-mode-v5 .shop__card--description { font-size:14px; line-height:1.55; margin:0 0 14px; }
#shop .wand-mode-list .wand-mode-v5 .shop__card--href { min-height:44px; margin-top:10px; padding:11px 16px; font-size:14px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
#shop .wand-mode-list > .row > div:only-child .shop__card--href { min-height:52px; font-size:16px; border-radius:13px; }
.mode-title-row .grass-icon { width:30px;height:30px; }
.mode-featured { font-size:10px; padding:5px 9px; }
/* The original screenshot's two columns and 3 equal staff cards. */
.wand-community { grid-template-columns:minmax(0,1.29fr) minmax(0,1fr); gap:16px; margin-top:var(--section-gap); }
.wand-join-panel,.wand-discord-card { min-height:clamp(278px,24vw,316px); padding:clamp(20px,2.4vw,30px); border-radius:22px; }
.wand-community h2 { font-size:clamp(23px,2.45vw,32px); line-height:1.17; margin:10px 0 20px; font-weight:800; letter-spacing:-.035em; }
.wand-join-panel { background:linear-gradient(90deg,var(--surface) 30%,#191d29d9 46%,#191d2900 77%),url('../img/world/v21-sunset.webp') right bottom/auto 84% no-repeat,var(--surface); }
.wand-steps { gap:12px; }
.wand-steps > div { gap:10px; }
.step-number,.step-icon { width:40px;height:40px; border-radius:10px; }
.step-number { font-size:16px; font-weight:800; color:#ffd16a; box-shadow:inset 0 0 9px #ffb63816; }
.step-icon .wand-icon { width:23px;height:23px; stroke-width:2.4; }
.wand-steps h3 { font-size:15px; font-weight:750; line-height:1.3; }
.wand-steps p { font-size:13px; line-height:1.45; }
.wand-discord-card .discord-art { width:51%; max-width:260px; }
.wand-discord-card p { max-width:55%; font-size:14px; line-height:1.6; margin-bottom:28px; }
.wand-discord-card .header__btn { position:relative; z-index:2; min-height:48px; font-size:15px; padding:12px 18px; }
.administration__title { display:flex; gap:12px; align-items:center; flex-wrap:nowrap; margin:0 0 18px; }
.administration__title::before { width:30px;height:3px; flex:0 0 30px; }
.admin-heading-text { display:block; min-width:0; }
.administration__container > .row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.administration__container > .row > div { width:100%; min-width:0; }
.administration__card { position:relative; overflow:hidden; min-height:0; padding:18px 20px; border-radius:20px; background:linear-gradient(90deg,var(--surface) 28%,#191d2940 64%,#191d2900 100%),url('../img/world/v21-sunset.webp') right top/auto 69% no-repeat,var(--surface); }
.administration__card::after { content:''; position:absolute; bottom:0; left:0; width:45px;height:37px; background:url('../img/world/reference-corner.webp') left bottom/contain no-repeat; pointer-events:none; z-index:0; }
.administration__head,.administration__href { position:relative; z-index:1; }
.administration__head { gap:14px; }
.administration__head img,.staff-placeholder { width:64px;height:64px; border-radius:13px; }
.staff-placeholder { border:1px solid #ffc14b; box-shadow:inset 0 0 13px #ffb63821,0 0 8px #ffb63820; }
.staff-placeholder svg { width:34px;height:34px; }
.staff-placeholder svg path { stroke-width:2.1; }
.administration__info h5 { font-size:21px; font-weight:800; margin:0 0 7px; }
.administration__info .staff-role { font-size:11px; font-weight:800; padding:5px 11px; }
.administration__href { min-height:44px; padding:10px 12px; margin-top:19px; font-size:13px; gap:10px; border:1px solid #ffc64eaa; box-shadow:inset 0 0 12px #ffb63818,0 0 9px #ffb6381c; transition:box-shadow .24s,border-color .24s,background .24s; }
.administration__href:not(.staff-pending):hover,.administration__href:not(.staff-pending):focus-visible { border-color:#ffe08b; background:#24252c; box-shadow:inset 0 0 12px #ffbc4333,0 0 16px #ffb6385c; }
.administration__href .staff-arrow { margin-left:auto; }
.administration__href.staff-pending { border-color:var(--line); box-shadow:inset 0 0 10px #afc8ff0e; }
.staff-pending span { flex:none; font-size:11px; }
/* Footer: graphic is kept away from copy and links; both corners retained. */
.wand-footer { padding:28px 30px 0; border-radius:24px; background:linear-gradient(90deg,var(--surface) 26%,#191d29b0 42%,#191d2900 52%,var(--surface) 68%),url('../img/world/v21-sunset.webp') 56% 48%/auto 84% no-repeat,var(--surface); }
.wand-footer-top { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:24px; padding-bottom:22px; }
.wand-footer-brand { gap:18px; margin-bottom:20px; }
.wand-footer-brand img { width:94px;height:94px; }
.wand-footer-brand strong.brand-wordmark { font-weight:800!important; font-size:clamp(27px,3vw,39px); }
.wand-footer-brand .wand-footer-tagline { font-size:17px; }
.wand-footer .wand-footer-about .eula,.wand-footer .wand-footer-about .wand-disclaimer { font-size:14px; line-height:1.6; max-width:78%; text-shadow:0 1px 5px #111520; }
.wand-footer-links { gap:14px; }
.wand-footer-links > div + div { padding-left:14px; }
.wand-footer-links h3 { font-size:13px; display:flex; align-items:center; gap:9px; }
.wand-footer-links h3::before { content:''; width:18px;height:3px;border-radius:4px;background:var(--accent-text); }
.wand-footer-links a { font-size:13px; gap:10px; }
.footer-icon { width:37px;height:37px; border-color:#e9b23a8a; color:#ffc64a; }
.footer-icon .wand-icon { width:21px;height:21px; stroke-width:2.3; }
.wand-footer-bottom { border-top:1px solid #ffc14b92; padding-top:17px; padding-bottom:17px; gap:12px; }
.wand-footer-bottom .copy--second { font-size:13px; }
.wand-footer-bottom .spaceisSection .spaceis { font-size:13px; }
.wand-footer-bottom .spaceis h6 { font-size:16px; }
.wand-footer-bottom .spaceis img { width:29px;height:auto; }
.wand-footer::before,.wand-footer::after { content:'';position:absolute;bottom:0;width:58px;height:48px;background:url('../img/world/reference-corner.webp') left bottom/contain no-repeat;pointer-events:none;z-index:0; }
.wand-footer::before { right:0; left:auto; transform:scaleX(-1); }
@media (min-width:1200px) {
 #navbar,.wand-main,#footer { width:88%; max-width:1240px; }
 html:not([data-theme="light"]) body.wand-home::before { height:calc(var(--design-unit)*56.28); max-height:none; background:linear-gradient(0deg,var(--canvas),transparent 12%),url('../img/world/hero-reference.webp') center top / max(100%, 1200px) auto no-repeat; background-size:auto,calc(var(--design-unit)*100) auto; }
 .wand-home .header { height:calc(var(--design-unit)*47); max-height:658px; margin-bottom:24px; }
 .wand-home .header__infoSection { padding:calc(var(--design-unit)*5.8) 0 0; }
 .hero-kicker { font-size:13px; margin-bottom:18px; }
 .wand-home .header__title { font-size:clamp(45px,4.35vw,64px); line-height:1.06; margin-bottom:24px; }
 .wand-home .header__title span { font-size:1.02em; }
 .hero-crown { width:43px;right:9%;top:-.44em; }
 .wand-home .header__description { max-width:92%; font-size:16px; line-height:1.55; margin-bottom:26px; }
 .header__btnSection { gap:13px; }
 .header__btnSection .header__btn { min-height:54px; padding:12px 21px; font-size:16px; gap:11px; border-radius:15px; min-width:0; }
 .header__btnSection .header__btn--color { min-width:39%; }
 .header__btnSection .wand-discord-join { min-width:42%; }
 .header__btnSection .wand-discord-join .hero-discord-icon { width:26px;height:26px; }
 .header__btnSection .header__btn .wand-icon { width:21px;height:21px; }
 .hero-address { max-width:83%; min-height:54px; margin-top:22px; padding:9px 13px; font-size:13px; border-radius:15px; gap:12px; }
 .hero-address button strong { font-size:23px; }
 .hero-address button .wand-icon { width:35px;height:35px; }
 .hero-status-row { top:calc(var(--design-unit)*36.3); width:98%; gap:14px; grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); }
 .hero-status-row .header__infoCard { min-height:75px; padding:12px 15px; border-radius:15px; }
 .hero-status-row .header__infoCard .status-grass { width:40px;min-width:40px; }
 .hero-status-row .header__infoCard > .wand-icon { width:32px;height:32px; }
}
@media (min-width:1101px) and (max-width:1199px) { .navbar__nav a { padding:9px 7px; gap:5px; font-size:12px; } .navbar__nav a .wand-icon { width:17px;height:17px; } }
@media(max-width:1199px) {
 .wand-home .header { margin:20px 0 32px; height:auto; padding:12px 0; }
 .wand-home .header > .row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px; align-items:center; }
 .wand-home .header__infoSection,.wand-home .header__imgSection { width:100%;max-width:none;min-width:0;padding:0; }
 .wand-home .header__title { font-size:clamp(34px,4.5vw,53px); }
 .wand-home .header__title span { white-space:normal; }
 .hero-art { position:relative; width:100%; max-width:100%; height:auto; aspect-ratio:1.53; }
 .hero-art .header__img { width:100%;height:100%;object-fit:contain; }
 .hero-status-row { position:static; width:100%; grid-template-columns:minmax(0,1fr); gap:9px; }
 .hero-status-row .header__infoCard { min-height:57px; padding:10px 13px; }
 .header__btnSection .header__btn { min-height:47px; font-size:14px; padding:10px 15px; gap:8px; }
 .hero-address { max-width:100%; margin-top:18px; }
 .hero-address button strong { font-size:19px; }
 .wand-community h2 { font-size:clamp(22px,2.6vw,30px); }
 .wand-footer-top { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
 .wand-footer .wand-footer-about .eula,.wand-footer .wand-footer-about .wand-disclaimer { max-width:100%; }
 .wand-footer { background-image:linear-gradient(90deg,#191d29f5 25%,#191d29a0 55%,var(--surface) 72%),url('../img/world/v21-sunset.webp'); }
}
@media(max-width:1100px) { .navbar__nav:not(.navbar__nav--active) { display:none; } .navbar__nav--active { display:flex; position:absolute; top:calc(100% + 8px); left:0;right:0; width:100%; flex-direction:column; align-items:stretch; z-index:20; background:#151e30; } .navbar__nav--active a { min-height:44px; } .navbar__menu { display:grid;place-items:center; order:3; width:44px;height:44px; } .navbar__online { margin:0; } }
@media(max-width:991px) {
 #shop .wand-mode-list > .row { grid-template-columns:repeat(2,minmax(0,1fr)); }
 #shop .wand-mode-list .shop__card.wand-mode-v5 { flex-direction:column; }
 #shop .wand-mode-list .wand-mode-visual,#shop .wand-mode-list > .row > div:only-child .wand-mode-visual { width:100%; flex:none; height:174px; min-height:0; }
 #shop .wand-mode-list > .row > div:only-child { grid-column:auto; }
 #shop .wand-mode-list > .row > div:only-child .shop__card--context { padding:18px; }
 #shop .wand-mode-list > .row > div:only-child .shop__card--context::before { display:none; }
 #shop .wand-mode-list > .row > div:only-child .shop__card--title { font-size:24px; }
 .wand-community { grid-template-columns:1fr; }
 .wand-join-panel,.wand-discord-card { min-height:270px; }
 .administration__container > .row { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .wand-footer-top { grid-template-columns:1fr; }
 .wand-footer-links { justify-content:flex-start; gap:32px; }
 .wand-footer .wand-footer-about .eula,.wand-footer .wand-footer-about .wand-disclaimer { max-width:85%; }
}
@media(max-width:767px) {
 #navbar,.wand-main,#footer { width:calc(100% - 28px); }
 #navbar { padding-top:10px; }
 .navbar { min-height:60px; border-radius:16px; padding:5px 10px; }
 .navbar__brand img { width:52px;height:49px; }
 .navbar__online { display:flex; min-width:0; padding:6px 10px; gap:9px; }
 .nav-status-text small { font-size:10px; } .nav-status-text .wand-server-status { font-size:12px; }
 .navbar__menu { width:40px;height:40px; }
 .wand-home .header { margin:22px 0 27px; padding:0; }
 .wand-home .header > .row { grid-template-columns:minmax(0,1fr); gap:16px; }
 .wand-home .header__title { font-size:clamp(33px,8.2vw,49px); margin-bottom:18px; }
 .wand-home .header__description { font-size:14px; line-height:1.58; margin-bottom:18px; }
 .hero-kicker { font-size:11px; margin-bottom:14px; }
 .hero-address { padding:9px 11px; gap:8px; min-height:48px; }
 .hero-address button strong { font-size:17px; }
 .wand-home .header__imgSection { margin-top:0; }
 .wand-home .hero-art { width:100%; height:auto; aspect-ratio:1.53; max-height:310px; }
 .hero-status-row { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 .hero-status-row .header__infoCard { gap:7px; padding:9px; border-radius:12px; min-height:60px; }
 .hero-status-row .header__infoCard--info { font-size:12px!important; }
 .hero-status-row .header__infoCard small { font-size:10px; }
 .hero-status-row .header__infoCard .status-grass,.hero-status-row .header__infoCard > .wand-icon { width:25px;min-width:25px;height:25px; }
 .status-inline { gap:5px; } .status-inline .online__blob { width:20px;min-width:20px;flex-basis:20px;height:20px;min-height:20px; }
 .section-heading h2,.administration__title { font-size:27px; }
 .section-description { font-size:13px; }
 .wand-join-panel,.wand-discord-card { padding:20px; min-height:250px; border-radius:18px; }
 .wand-community h2 { font-size:25px; margin:8px 0 16px; }
 .wand-steps > div { gap:8px; }
 .step-number,.step-icon { width:32px;height:32px; font-size:13px; }
 .step-icon .wand-icon,.step-icon .grass-icon { width:21px;height:21px; }
 .wand-steps h3 { font-size:13px; } .wand-steps p { font-size:12px; }
 .wand-discord-card .discord-art { width:44%; }
 .wand-discord-card p { font-size:13px; max-width:56%; margin-bottom:22px; }
 .wand-discord-card .header__btn { font-size:13px; padding:11px 13px; min-height:44px; }
 .administration__container > .row { grid-template-columns:1fr; gap:12px; }
 .administration__card { padding:16px; }
 .wand-footer { padding:20px 18px 0; }
 .wand-footer-brand img { width:72px;height:72px; }
 .wand-footer-brand strong.brand-wordmark { font-size:28px; }
 .wand-footer-brand .wand-footer-tagline { font-size:14px; }
 .wand-footer .wand-footer-about .eula,.wand-footer .wand-footer-about .wand-disclaimer { max-width:100%; font-size:13px; }
 .wand-footer-links { gap:12px; flex-wrap:wrap; }
 .wand-footer-links > div + div { padding-left:10px; }
 .wand-footer-links a { font-size:12px; gap:7px; }
 .footer-icon { width:30px;height:30px; }
 .footer-icon .wand-icon { width:17px;height:17px; }
 .wand-footer-bottom { gap:12px; padding:14px 0; }
 .wand-footer-bottom .copy--second { font-size:11px; }
 .wand-footer-bottom .spaceisSection { align-self:flex-end; }
}
@media(max-width:540px) { #shop .wand-mode-list > .row { grid-template-columns:1fr; } .wand-footer-links > div { flex:1 1 130px; } .wand-footer-links > div + div { border:0;padding-left:0; } .header__btnSection .header__btn { white-space:normal; } }
@media(max-width:380px) { .hero-status-row { grid-template-columns:1fr; } .navbar__online { padding:5px 7px; gap:5px; } .navbar__online .online__blob { width:20px;min-width:20px;flex-basis:20px; } .hero-address > .wand-icon { display:none; } .header__btnSection .header__btn { flex:1 1 100%; } .wand-discord-card .discord-art { width:39%; } }
@media(hover:hover) and (prefers-reduced-motion:no-preference) { .navbar__nav a.nav__active { animation:nav-gold-breathe 3.6s ease-in-out infinite alternate; } @keyframes nav-gold-breathe { from { box-shadow:inset 0 0 10px #ffc14b42,0 0 7px #ffb63878,0 0 18px #ff990040; } to { box-shadow:inset 0 0 13px #ffc14b65,0 0 10px #ffb638a0,0 0 27px #ff990055; } } }
@media(prefers-reduced-motion:reduce) { .navbar__nav a,.header__btn,.administration__href,.online__circle::after { animation:none!important;transition:none!important; } }
/* Final alignment pass. */
#shop .wand-mode-list .wand-mode-v5 .shop__card--href { flex-direction:row; text-align:left; }
#shop .wand-mode-list .wand-mode-v5 .shop__card--href .wand-icon { order:2; margin-left:auto; }
.wand-footer-bottom { padding-inline:12px; }
.wand-footer::before,.wand-footer::after { width:46px;height:40px; }
@media (min-width:1200px) and (max-width:1450px) { html:not([data-theme="light"]) body.wand-home::before { background-size:auto,100% auto; } }
@media (max-width:540px) { .wand-footer-bottom { padding-inline:0; } .wand-footer::before,.wand-footer::after { width:26px;height:25px; } }
@media (max-width:767px) {
 .wand-join-panel { background-image:linear-gradient(90deg,#191d29 8%,#191d29e8 40%,#191d2999 76%,#191d2960 100%),url('../img/world/v21-sunset.webp'); }
 .wand-footer { background-image:linear-gradient(90deg,#191d29f7 15%,#191d29c9 62%,#191d29e8 100%),url('../img/world/v21-sunset.webp'); }
 .wand-steps p { color:#d5d9e2; }
}

/* V14: original reference lettering, crown and gold underline as a single transparent asset. */
.wand-home .header__title.reference-heading { display:block; width:100%; max-width:100%; margin:0 0 clamp(18px,2vw,28px); padding:0; line-height:1; text-align:left; }
.wand-home .header__title.reference-heading::before,.wand-home .header__title.reference-heading::after { content:none!important; display:none!important; }
.wand-home .header__title.reference-heading img { display:block; width:100%; max-width:100%; height:auto; object-fit:contain; object-position:left center; margin:0; padding:0; border:0; }
@media (max-width:767px) { .wand-home .header__title.reference-heading { margin-bottom:18px; } }

/* V15 — continuous full-viewport scenery; never paint two hero logos. */
html { background:#111520; }
body,body.wand-home { background:#111520; isolation:isolate; min-height:100vh; }
/* The scenery contains no logo or text and stays behind every page. A fixed
   element (rather than background-attachment:fixed) works on mobile Safari. */
.wand-world {
 position:fixed; inset:0; width:auto; height:auto; z-index:-2; pointer-events:none;
 background:linear-gradient(180deg,rgba(10,16,30,.19),rgba(12,17,29,.54)),url('../img/world/hero-world.webp') center center / cover no-repeat;
}
html:not([data-theme="light"]) body.wand-home::before { display:none; }
/* Desktop: the supplied composite is the only hero logo. Keep the existing
   alignment with the content, but feather the artwork into the full-width world. */
@media (min-width:1200px) {
 html:not([data-theme="light"]) body.wand-home::before {
  display:block; content:''; position:absolute; z-index:-1; pointer-events:none;
  top:0; left:50%; right:auto; width:min(100%,1400px); height:auto; aspect-ratio:1672/941;
  max-height:none; transform:translateX(-50%); opacity:1;
  background:url('../img/world/hero-reference.webp') center top / 100% 100% no-repeat;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%),linear-gradient(to bottom,#000 0%,#000 82%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%),linear-gradient(to bottom,#000 0%,#000 82%,transparent 100%);
  mask-composite:intersect;
 }
 html:not([data-theme="light"]) .wand-home .hero-art { display:none; opacity:0; pointer-events:none; }
}
/* Tablet/phone: the separate hero artwork is shown once; the fixed scenery
   keeps the entire viewport covered, regardless of document length. */
@media (max-width:1199px) {
 html:not([data-theme="light"]) .wand-home .hero-art { display:grid; opacity:1; pointer-events:none; }
 .wand-home .hero-art::before,.wand-home .hero-art::after { display:none; }
 .wand-home .hero-art .header__img { width:100%;height:100%;object-fit:contain; }
 .wand-world { background-position:65% center; }
}
@media (max-width:767px) {
 .wand-world { background-position:72% center; background-image:linear-gradient(180deg,rgba(10,16,30,.40),rgba(12,17,29,.63)),url('../img/world/hero-world.webp'); }
 .wand-home .hero-art .header__img { -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); }
}
/* Preserve legibility where headings appear directly over the scenery. */
.section-heading,.administration__title { text-shadow:0 2px 9px #0a101e,0 1px 3px #0a101e; }

/* V16 — EARTHSMP brand accents and local illustration alignment. */
#shop .mode-title-row .mode-earth,
#shop .shop__header--title .wand-earthsmp-name .mode-earth {
 color:#fff; -webkit-text-fill-color:#fff;
}
#shop .mode-title-row .mode-smp,
#shop .shop__header--title .wand-earthsmp-name .mode-smp {
 color:#90df08;
 background:linear-gradient(180deg,#d0f808 8%,#b8e808 35%,#58c808 95%);
 -webkit-background-clip:text; background-clip:text;
 -webkit-text-fill-color:transparent;
}
#shop .shop__header--title > .wand-earthsmp-name { color:#fff; display:inline-block; max-width:100%; overflow-wrap:normal; }
@media (forced-colors:active) {
 #shop .mode-title-row .mode-smp,#shop .shop__header--title .wand-earthsmp-name .mode-smp { background:none; color:CanvasText; -webkit-text-fill-color:currentColor; }
 #shop .mode-title-row .mode-earth,#shop .shop__header--title .wand-earthsmp-name .mode-earth {color:CanvasText;-webkit-text-fill-color:currentColor;}
}
/* Keep the entire chain inside the icon frame, even on mobile. */
.wand-steps .step-icon { display:grid; place-items:center; box-sizing:border-box; padding:4px; overflow:visible; }
.wand-steps .step-icon .wand-icon { display:block; margin:0; max-width:100%; max-height:100%; overflow:visible; flex-shrink:0; }
/* Reset all four inset values from the earlier hover overlay. The grass
   decoration now appears at the lower right, behind the actual card content. */
.administration__card::after {
 inset:auto 0 0 auto; width:45px; height:37px;
 background-position:right bottom; transform:scaleX(-1);
 z-index:0; pointer-events:none;
}
@media(max-width:767px) { .administration__card::after {width:34px;height:29px;} }

/* V17 — illustrated server rules, scoped to this page only. */
.wand-legal.wand-rules-v17 {
 --rules-gold:#ffcf32; --rules-ink:#f7f8fb; --rules-muted:#d7dbe5;
 width:100%;max-width:1326px;margin:26px auto 0;padding:clamp(16px,2vw,25px);
 background:linear-gradient(145deg,#10151feb,#111620f5 55%,#161c29f5);
 border:1px solid #ffffff13;border-radius:26px;box-shadow:0 12px 40px #06091142;
 color:var(--rules-ink);position:relative;isolation:isolate;
}
.wand-rules-v17 .rules-hero { position:relative;isolation:isolate;overflow:hidden;padding:clamp(14px,2vw,27px) clamp(8px,2vw,24px) 7px; }
.wand-rules-v17 .rules-hero::before { content:'';position:absolute;z-index:-1;inset:0 0 0 auto;width:47%;background:url('../img/world/v21-sunset.webp') right top / cover no-repeat;mask-image:linear-gradient(90deg,transparent,#000 36%);opacity:.94;pointer-events:none; }
.wand-rules-v17 .rules-kicker { display:flex;align-items:center;gap:9px;color:var(--rules-gold);font-size:clamp(10px,1vw,13px);font-weight:750;letter-spacing:.035em;text-transform:uppercase;margin-bottom:12px; }
.wand-rules-v17 .rules-kicker::before { content:'';width:35px;height:2px;background:var(--rules-gold);box-shadow:0 0 8px #ffbf3177; }
.wand-rules-v17 .rules-hero h1 { font-size:clamp(30px,3.8vw,52px);font-weight:850;letter-spacing:-.043em;line-height:1.13;color:var(--rules-ink);margin:0 0 10px; }
.wand-rules-v17 h1 span,.wand-rules-v17 h2 span { color:var(--rules-gold); }
.wand-rules-v17 .rules-hero p { color:var(--rules-muted);font-size:clamp(12px,1.15vw,15px);line-height:1.65;max-width:75%;margin:0 0 5px;text-shadow:0 1px 5px #090e17; }
.wand-rules-v17 .rules-hero .rules-draft { font-size:11px;color:#b9bfcd;margin-top:8px; }
.wand-rules-v17 .rules-nav { display:grid;grid-template-columns:repeat(6,minmax(0,auto));gap:10px;margin:18px 0 23px;padding:0 clamp(0px,1vw,16px); }
.wand-rules-v17 .rules-nav a { display:flex;align-items:center;justify-content:center;gap:8px;min-height:49px;min-width:0;padding:9px 13px;border:1px solid #e8ba393b;border-radius:999px;background:#141820e6;box-shadow:inset 0 0 9px #ffbf3109;color:var(--rules-gold);font-size:clamp(10px,1.05vw,13px);font-weight:700;line-height:1.25;text-decoration:none;text-align:center;transition:background .2s,box-shadow .2s,border-color .2s,transform .2s; }
.wand-rules-v17 .rules-nav a svg { width:18px;height:18px;flex:0 0 18px;overflow:visible; }
.wand-rules-v17 .rules-nav a[aria-current],.wand-rules-v17 .rules-nav a:hover { background:linear-gradient(165deg,#ffe272,#ffca20);color:#17130a;border-color:#ffe28c;box-shadow:0 0 17px #ffc53363,inset 0 1px 2px #fff3b8; }
.wand-rules-v17 .rules-nav a:hover {transform:translateY(-2px);}
.wand-rules-v17 a:focus-visible {outline:2px solid #ffe272;outline-offset:4px;}
.wand-rules-v17 .rules-sections {display:grid;gap:18px;}
.wand-rules-v17 .rules-card { display:grid;grid-template-columns:clamp(64px,7vw,94px) minmax(0,1fr);align-items:start;gap:clamp(15px,2.1vw,35px);position:relative;isolation:isolate;overflow:hidden;min-height:170px;padding:clamp(17px,2vw,25px) clamp(14px,2.3vw,30px);margin:0;border:1px solid #a68e4938;border-radius:22px;background:linear-gradient(120deg,#121720,#151b28);box-shadow:inset 0 1px 0 #f6ca4520,0 5px 16px #080b1328;scroll-margin-top:115px;transition:border-color .25s,box-shadow .25s; }
.wand-rules-v17 .rules-card:hover,.wand-rules-v17 .rules-card:target {border-color:#e8bc536e;box-shadow:0 0 20px #e8b13719,inset 0 1px 0 #ffda6940;}
.wand-rules-v17 .rules-card::before {content:'';position:absolute;z-index:-1;inset:0 0 0 auto;width:25%;background:url('../img/world/v21-forest.webp') right bottom / auto 100% no-repeat;mask-image:linear-gradient(90deg,transparent,#000 35%);pointer-events:none;opacity:.78;}
.wand-rules-v17 .rules-card--behavior::before {background-image:url('../img/world/v21-community.webp');opacity:1;}
.wand-rules-v17 .rules-card--fair::before,.wand-rules-v17 .rules-card--changes::before {background-image:url('../img/world/v21-sunset.webp');background-size:cover;}
.wand-rules-v17 .rules-card--account::before,.wand-rules-v17 .rules-card--shop-rules::before {opacity:.55;}
.wand-rules-v17 .rules-emblem { width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border:1px solid #e8b64eab;border-radius:23%;background:radial-gradient(circle,#49371265,#1d2027 70%);box-shadow:0 0 19px #e8ad292b,inset 0 0 13px #edba3330;color:var(--rules-gold); }
.wand-rules-v17 .rules-emblem img {width:100%;height:100%;object-fit:contain;display:block;}
.wand-rules-v17 .rules-emblem svg {width:55%;height:55%;overflow:visible;filter:drop-shadow(0 0 7px #ffbd3c6b);}
.wand-rules-v17 .rules-copy {position:relative;min-width:0;padding-right:24%;}
.wand-rules-v17 .rules-copy h2 {font-size:clamp(19px,2vw,27px);line-height:1.3;font-weight:800;letter-spacing:-.033em;margin:0 0 9px;color:var(--rules-ink);}
.wand-rules-v17 .rules-copy ol {counter-reset:rules-point;list-style:none;padding:0;margin:0;display:grid;gap:8px;}
.wand-rules-v17 .rules-copy li {counter-increment:rules-point;position:relative;padding:1px 0 1px 40px;margin:0;min-height:28px;color:var(--rules-muted);font-size:clamp(12px,1.03vw,15px);line-height:1.6;font-weight:400;overflow-wrap:anywhere;}
.wand-rules-v17 .rules-copy li::before {content:counter(rules-point);position:absolute;top:0;left:0;display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:#eec43316;color:var(--rules-gold);font-size:13px;font-weight:800;box-shadow:inset 0 0 8px #eec4330b;}
.wand-rules-v17 .rules-copy a {color:var(--rules-gold);text-decoration:underline;text-underline-offset:3px;}
@media(max-width:1050px) { .wand-rules-v17 .rules-nav {grid-template-columns:repeat(3,minmax(0,1fr));} .wand-rules-v17 .rules-nav a {font-size:13px;} .wand-rules-v17 .rules-copy {padding-right:21%;} }
@media(max-width:767px) { .wand-legal.wand-rules-v17 {padding:12px;margin:16px auto 0;border-radius:18px;} .wand-rules-v17 .rules-hero {padding:12px 6px 6px;} .wand-rules-v17 .rules-hero::before {width:65%;opacity:.48;mask-image:linear-gradient(90deg,transparent,#000 75%);} .wand-rules-v17 .rules-hero p {max-width:100%;} .wand-rules-v17 .rules-nav {grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:14px 0 17px;} .wand-rules-v17 .rules-nav a {font-size:11px;padding:8px 7px;min-height:44px;gap:6px;} .wand-rules-v17 .rules-nav a svg {width:16px;height:16px;flex-basis:16px;} .wand-rules-v17 .rules-card {grid-template-columns:42px minmax(0,1fr);gap:10px;padding:14px 12px;border-radius:15px;min-height:0;} .wand-rules-v17 .rules-card::before {width:38%;opacity:.13;} .wand-rules-v17 .rules-copy {padding-right:0;} .wand-rules-v17 .rules-copy li {padding-left:29px;font-size:12px;} .wand-rules-v17 .rules-copy li::before {width:21px;height:23px;font-size:11px;} .wand-rules-v17 .rules-copy h2 {font-size:18px;} }
@media(max-width:380px) { .wand-rules-v17 .rules-card {grid-template-columns:1fr;gap:9px;} .wand-rules-v17 .rules-emblem {width:42px;} .wand-rules-v17 .rules-nav a {font-size:10px;} }
@media(prefers-reduced-motion:reduce) { .wand-rules-v17 .rules-nav a,.wand-rules-v17 .rules-card {transition:none;} .wand-rules-v17 .rules-nav a:hover {transform:none;} }
/* V18: responsive mode gallery and optional audio. */
#shop .wand-mode-list > .row.wand-mode-grid-v18{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,.58fr);gap:12px;align-items:stretch;margin:0}
#shop .wand-mode-grid-v18 > div{padding:0;margin:0;width:100%;max-width:none;min-width:0}
#shop .wand-mode-grid-v18 .shop__card.wand-mode-v5{display:flex;flex-direction:column;width:100%;padding:10px;gap:0;min-height:0;border-radius:22px;background:#151a25;border:1px solid #77839b38;box-shadow:inset 0 0 0 1px #ffffff08,0 6px 20px #0003;overflow:hidden}
#shop .wand-mode-grid-v18 .wand-mode-visual{width:100%;flex:none;height:auto;aspect-ratio:2.8;min-height:0;padding:0;border-radius:12px;overflow:hidden;background-position:center;background-size:cover}
#shop .wand-mode-grid-v18 .wand-mode-visual img{width:100%;height:100%;max-height:none;object-fit:contain;display:block}
#shop .wand-mode-grid-v18 .wand-mode-visual img.wand-mode-banner{object-fit:cover}
#shop .wand-mode-grid-v18 .wand-mode-v5 .shop__card--context{padding:12px 8px 8px;display:flex;flex-direction:column;flex:1;gap:6px;width:100%}
#shop .wand-mode-grid-v18 .mode-title-row{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0}
#shop .wand-mode-grid-v18 .shop__card--title{font-size:clamp(17px,1.7vw,25px);margin:0;line-height:1.2}
#shop .wand-mode-grid-v18 .mode-featured{font-size:9px;padding:4px 7px;white-space:nowrap}
#shop .wand-mode-grid-v18 .shop__card--description{font-size:13px;margin:0 0 8px;line-height:1.5}
#shop .wand-mode-grid-v18 .shop__card--href{margin-top:auto;min-height:44px;width:100%;border-radius:11px}
#shop .wand-mode-brand{border:1px solid #77839b45;border-radius:22px;overflow:hidden;min-height:220px;background:#151a25;display:flex}
#shop .wand-mode-brand img{width:100%;height:100%;object-fit:cover;display:block}
#shop .wand-mode-soon{border:1px dashed #e6b73588;border-radius:22px;background:#151a25;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px!important;gap:14px}
.wand-mode-soon>span{display:grid;place-items:center;width:54px;height:54px;border:1px solid #ffd344;border-radius:13px;color:#ffd344;font-size:38px;line-height:1;box-shadow:0 0 18px #ffbd3238}.wand-mode-soon h3{font-size:18px;line-height:1.3;margin:0;color:#fff}.wand-mode-soon p{font-size:13px;line-height:1.5;margin:0;color:#bbc1ce}
@media(max-width:1100px){#shop .wand-mode-list > .row.wand-mode-grid-v18{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){#shop .wand-mode-list > .row.wand-mode-grid-v18{grid-template-columns:minmax(0,1fr)}#shop .wand-mode-brand{min-height:0;max-height:250px}#shop .wand-mode-brand img{object-fit:contain}#shop .wand-mode-soon{min-height:180px}}
.wand-sound-toggle{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #8295b54d;border-radius:10px;background:#19263a;color:#cbd6e8;cursor:pointer;margin:0 0 0 7px;padding:0}.wand-sound-toggle:hover,.wand-sound-toggle[aria-pressed=true]{color:#ffd15b;border-color:#ffd15b88;box-shadow:0 0 12px #ffc44b33}.wand-sound-toggle .sound-on,.wand-sound-toggle[aria-pressed=true] .sound-off{display:none}.wand-sound-toggle[aria-pressed=true] .sound-on{display:block}.wand-sound-toggle:focus-visible{outline:2px solid #ffd15b;outline-offset:3px}


/* V19: full-width landscape and illustrated voucher. */
body,body.wand-home {position:relative;min-height:100vh;isolation:isolate;}
.wand-world {position:fixed;inset:0;z-index:-3;background:linear-gradient(90deg,rgba(8,15,28,.24),rgba(8,15,28,.50) 47%,rgba(8,15,28,.20)),url('../img/world/world-v19-night.webp') center 21% / cover no-repeat;}
.wand-world-end {position:absolute;inset:auto 0 0;height:min(100%,1050px);z-index:-2;pointer-events:none;background:linear-gradient(0deg,#080f1c52,#08132137 55%,#08132144),url('../img/world/world-v19-sunset.webp') center 68% / cover no-repeat;mask-image:linear-gradient(180deg,transparent,#000 38%);}
@media(min-width:1200px){html:not([data-theme="light"]) body.wand-home::before {bottom:auto;height:min(56.28vw,788px);mask-image:linear-gradient(to right,transparent,#000 16%,#000 85%,transparent),linear-gradient(to bottom,#000 0%,#000 76%,transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent,#000 16%,#000 85%,transparent),linear-gradient(to bottom,#000 0%,#000 76%,transparent 100%);}}
@media(max-width:767px){.wand-world {background:linear-gradient(90deg,#08101e50,#08101e70),url('../img/world/world-v19-portrait.webp') center top / cover no-repeat;}.wand-world-end{height:min(100%,740px);background-position:center 70%;}}
.wand-voucher.wand-voucher-v19 {--voucher-gold:#ffcf32;position:relative;isolation:isolate;overflow:hidden;display:block;margin:28px 0 40px;padding:clamp(23px,3.8vw,60px);min-height:clamp(430px,41vw,575px);border:1px solid #5b6b846e;border-radius:24px;background:linear-gradient(120deg,#0d1622,#101c30);box-shadow:0 12px 40px #04081466,inset 0 1px 0 #ffffff17;color:#f6f7fb;}
.wand-voucher-v19::after {content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;border:1px solid transparent;background:linear-gradient(140deg,#d2e6ff55,transparent 28%,transparent 68%,#ffce38a3) border-box;mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);mask-composite:exclude;}
.voucher-v19-art {position:absolute;z-index:-1;inset:0 0 0 auto;width:58%;background:url('../img/world/voucher-v19.webp') right center / cover no-repeat;mask-image:linear-gradient(90deg,transparent,#000 27%);pointer-events:none;}
.voucher-v19-content {width:52%;max-width:640px;position:relative;min-width:0;}
.voucher-v19-kicker {display:flex;align-items:center;gap:11px;color:var(--voucher-gold);text-transform:uppercase;font-size:clamp(11px,1.1vw,15px);font-weight:800;letter-spacing:.04em;margin-bottom:12px;}
.voucher-v19-kicker::before {content:'';width:36px;height:3px;border-radius:5px;background:#ffcf32;box-shadow:0 0 10px #ffcf3266;}
.wand-voucher-v19 h1 {font-size:clamp(31px,3.6vw,51px);font-weight:850;line-height:1.13;letter-spacing:-.043em;margin:0 0 14px;color:#f9fafb;}
.wand-voucher-v19 h1 span {color:var(--voucher-gold);}
.voucher-v19-description {color:#bfc8d7;font-size:clamp(13px,1.4vw,17px);line-height:1.5;margin:0 0 24px;}
.wand-voucher-v19 .voucher__form {display:grid;gap:19px;width:100%;margin:0;}
.wand-voucher-v19 .voucher__input {display:grid;gap:8px;min-width:0;}
.wand-voucher-v19 .voucher__input label {display:flex;align-items:center;gap:10px;font-size:clamp(15px,1.5vw,19px);font-weight:750;color:#f6f7fb;margin:0;}
.wand-voucher-v19 label .wand-icon {width:24px;height:24px;flex:0 0 24px;color:var(--voucher-gold);overflow:visible;}
.voucher-v19-field {position:relative;display:flex;align-items:center;min-width:0;}
.voucher-v19-field > .wand-icon {position:absolute;left:15px;width:22px;height:22px;color:#becbdb;pointer-events:none;}
.wand-voucher-v19 .voucher__input input {display:block;width:100%;min-height:55px;padding:12px 15px 12px 49px;border:1px solid #b2c4dc59;border-radius:14px;background:linear-gradient(110deg,#17263b,#141e2e);box-shadow:inset 0 0 10px #bed2ff16,0 1px 0 #ffce3260;color:#fff;font-size:16px;outline:none;transition:box-shadow .2s,border-color .2s;}
.wand-voucher-v19 .voucher__input input::placeholder {color:#aab7ca;opacity:1;}
.wand-voucher-v19 .voucher__input input:focus {border-color:#ffcf32;box-shadow:0 0 0 3px #ffcf3224,inset 0 0 12px #ffcf3217;}
.wand-voucher-v19 .voucher-v19-submit {display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,390px);min-height:60px;margin-top:12px;padding:12px 22px;font-size:clamp(15px,1.6vw,19px);font-weight:850;line-height:1.3;border-radius:17px;background:linear-gradient(170deg,#ffeb8c,#ffd039 38%,#ffbd14);color:#171307;border:1px solid #ffec91;box-shadow:0 0 24px #ffc3296b,inset 0 1px 8px #fff9;}
.wand-voucher-v19 .voucher-v19-submit .wand-icon {width:24px;height:24px;flex:0 0 24px;}
.wand-voucher-v19 .voucher-v19-submit span {flex:1;text-align:left;}
.wand-voucher-v19 .voucher-v19-submit:hover {box-shadow:0 0 34px #ffc329a8,inset 0 1px 8px #fff9;background:linear-gradient(170deg,#fff1ad,#ffd64c 38%,#ffbd14);color:#171307;}
.wand-voucher-v19 .voucher-v19-submit:focus-visible {outline:2px solid #fff;outline-offset:4px;}
.wand-voucher-v19 .alert {margin:0;overflow-wrap:anywhere;}
@media(max-width:1000px){.voucher-v19-content{width:58%;}.voucher-v19-art{width:54%;}.wand-voucher-v19{min-height:0;}}
@media(max-width:767px){.wand-voucher.wand-voucher-v19{display:flex;flex-direction:column;margin:18px 0 26px;padding:20px;min-height:0;border-radius:19px;}.voucher-v19-content{width:100%;max-width:none;}.voucher-v19-art{position:relative;inset:auto;order:2;z-index:0;width:calc(100% + 40px);margin:18px -20px -20px;aspect-ratio:1.45;background-size:cover;background-position:center 56%;mask-image:linear-gradient(180deg,transparent,#000 15%);}.wand-voucher-v19 h1{font-size:clamp(28px,6.6vw,40px);}.voucher-v19-description{margin-bottom:20px;}.wand-voucher-v19 .voucher-v19-submit{width:100%;margin-top:5px;min-height:53px;padding:12px 15px;}.wand-voucher-v19 .voucher__form{gap:15px;}}
@media(prefers-reduced-motion:reduce){.wand-voucher-v19 .voucher-v19-submit,.wand-voucher-v19 .voucher__input input{transition:none;}.wand-voucher-v19 .voucher-v19-submit:hover{transform:none;}}

/* V20: the complete supplied portrait, one background, no repeated castle. */
html {background:#0b1528;}
body,body.wand-home {background:#0b1528;position:relative;isolation:isolate;min-height:100vh;}
.wand-world {position:fixed;inset:0;width:100%;height:100%;z-index:-3;pointer-events:none;overflow:hidden;
 background-image:linear-gradient(90deg,rgba(8,15,28,.15),rgba(8,15,28,.31) 49%,rgba(8,15,28,.13)),url('../img/world/world-v20-full.webp');
 background-size:100% 100%,cover;background-repeat:no-repeat;background-position:center,center var(--wand-world-progress,0%);}
.wand-world-end {display:none!important;background:none!important;}
html:not([data-theme="light"]) body.wand-home::before {display:none!important;content:none!important;background:none!important;}
html:not([data-theme="light"]) .wand-home .hero-art {display:grid!important;opacity:1;pointer-events:none;isolation:isolate;place-items:center;}
.wand-home .hero-art::before,.wand-home .hero-art::after {display:none!important;content:none!important;}
.wand-home .hero-art .header__img {display:block;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;object-fit:contain;filter:drop-shadow(0 10px 24px #080f1c44);mask-image:none;-webkit-mask-image:none;animation:none;}
@media(min-width:1200px){
 .wand-home .hero-art {position:absolute;top:0;left:50%;transform:translateX(-50%);width:100%;max-width:none;height:calc(var(--design-unit)*36);aspect-ratio:auto;}
}
@media(max-width:1199px){.wand-home .hero-art{position:relative;width:100%;height:auto;max-height:none;aspect-ratio:710/595;}}
@media(max-width:767px){.wand-home .hero-art{max-height:310px;}.wand-world{background-image:linear-gradient(90deg,#08101e38,#08101e55),url('../img/world/world-v20-full.webp');}}
/* A scroll-linked position shows the entire original vertical image, rather than stretching it. */

/* V21 — coherent brand colors and original high-detail voxel illustrations. */
#shop .mode-title-row .mode-box, #shop .shop__header--title .wand-boxpvp-name .mode-box { color:#fff; -webkit-text-fill-color:#fff; }
#shop .mode-title-row .mode-pvp, #shop .shop__header--title .wand-boxpvp-name .mode-pvp {
 color:#d620f0; background:linear-gradient(180deg,#fa70ff 0%,#e52af7 25%,#d011ef 52%,#af00d4 100%); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
#shop .shop__header--title > .wand-boxpvp-name {display:inline-block;max-width:100%;overflow-wrap:normal;color:#fff;}
#shop .wand-mode-grid-v18 .wand-mode-visual:has(+ .shop__card--context .mode-pvp) {background-image:url('../img/world/v21-arena.webp');}
.wand-rules-v17 .rules-hero::before {background-position:right center;}
.wand-rules-v17 .rules-card::before {width:34%;background-size:cover;background-position:right center;mask-image:linear-gradient(90deg,transparent 0%,#000 46%);opacity:.97;}
.wand-rules-v17 .rules-card--behavior::before {background-position:right center;}
.wand-rules-v17 .rules-copy {padding-right:29%;}
.wand-mode-error {border:1px solid #e4b54d80;line-height:1.6;padding:24px;color:#ffe5a9;}
@media (max-width:767px){.wand-rules-v17 .rules-copy{padding-right:0;}.wand-rules-v17 .rules-card::before{opacity:.13;width:45%;}}
@media (forced-colors:active){#shop .mode-title-row .mode-pvp,#shop .shop__header--title .wand-boxpvp-name .mode-pvp {background:none;color:CanvasText;-webkit-text-fill-color:currentColor;}}

.mode-slug-warning{margin-top:auto;color:#ffe1a0;font-size:12px;line-height:1.5;}
@media(min-width:1101px){#shop .wand-mode-list > .row.wand-mode-grid-v18:has(> div:nth-child(5)){grid-template-columns:repeat(4,minmax(0,1fr));}}

/* V23: freshly rendered landscape; desktop and mobile art at native aspect ratio. */
html,body,body.wand-home {background:#0b1528;}
.wand-world {position:fixed;inset:0;width:100%;height:100%;z-index:-3;pointer-events:none;overflow:hidden;
 background-image:linear-gradient(90deg,rgba(5,12,25,.42),rgba(6,14,30,.49) 45%,rgba(5,12,25,.19)),url('../img/world/world-v23-wide.webp');
 background-size:100% 100%,cover;background-repeat:no-repeat;background-position:center,center center;}
.wand-pixels,.wand-world-end,.mode-featured{display:none!important;}
@media(max-width:767px){.wand-world{background-image:linear-gradient(180deg,#07122277,#09142782),url('../img/world/world-v23-mobile.webp');background-position:center,center var(--wand-world-progress,0%);}}
@media(prefers-reduced-motion:reduce){.wand-world{background-position:center,center center;}}

/* V24 — full-bleed card landscapes, illustrated privacy, scroll position. */
.wand-join-panel {
 background:linear-gradient(90deg,#141a27f7 0%,#141a27ed 28%,#141a27b5 58%,#141a2724 100%),linear-gradient(0deg,#10172650,transparent 65%),url('../img/world/v24-panorama.webp') right center/cover no-repeat,#141a27;
}
.administration__card {
 background:linear-gradient(90deg,#151b28f7 0%,#151b28d9 35%,#151b2860 65%,#151b2828 100%),linear-gradient(0deg,#111827bb 0%,transparent 75%),url('../img/world/v24-panorama.webp') right center/cover no-repeat,#151b28;
}
.wand-footer {
 background:linear-gradient(90deg,#151b28fa 0%,#151b28e8 28%,#151b2890 51%,#151b28d8 75%,#151b28f0 100%),linear-gradient(0deg,#101622e8 0%,transparent 32%),url('../img/world/v24-panorama.webp') center center/cover no-repeat,#151b28;
}
.wand-footer .wand-footer-about .eula,.wand-footer .wand-footer-about .wand-disclaimer {max-width:100%;text-shadow:0 1px 5px #0a101d;}
.wand-footer-links a,.wand-steps p,.wand-steps h3 {text-shadow:0 1px 5px #080f1c;}
.wand-footer::before,.wand-footer::after,.administration__card::after{display:none!important;}
.mode-title-row .grass-icon{background:transparent!important;border:none!important;box-shadow:none!important;padding:0;object-fit:contain;}
.wand-rules-v17 .rules-hero::before,.wand-rules-v17 .rules-card--fair::before,.wand-rules-v17 .rules-card--changes::before{background-image:url('../img/world/v24-panorama.webp');}
.wand-rules-v17 .rules-emblem img{width:72%;height:72%;filter:drop-shadow(0 3px 8px #0005);}
.wand-scroll-progress{position:fixed;inset:0 0 auto;height:3px;z-index:2147483640;background:#111b2b50;pointer-events:none;}
.wand-scroll-progress span{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left center;background:linear-gradient(90deg,#f5a919,#ffd65a 60%,#fff0ab);box-shadow:0 0 10px #ffc343;border-radius:0 4px 4px 0;}
.wand-legal.wand-privacy-v24{--privacy-gold:#ffcf42;max-width:1326px;width:100%;margin:26px auto 0;padding:clamp(14px,2.1vw,28px);border:1px solid #8096bc26;border-radius:24px;background:linear-gradient(160deg,#081525ef,#0b172aee 70%,#102139ef);box-shadow:0 12px 40px #03091680;position:relative;isolation:isolate;overflow:hidden;}
.wand-privacy-v24 .privacy-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(12px,2vw,24px);border-radius:17px;background:linear-gradient(90deg,#0b1528fa 12%,#0b1528db 48%,#0b15284d 100%),url('../img/world/v24-panorama.webp') right center/cover no-repeat;}
.wand-privacy-v24 h1{display:flex;align-items:center;gap:12px;font-size:clamp(27px,4vw,48px);line-height:1.15;letter-spacing:-.04em;color:#f7f9ff;margin:8px 0 10px;overflow-wrap:anywhere;}
.wand-privacy-v24 h1 img{width:clamp(36px,4.7vw,62px);height:auto;flex:none;filter:drop-shadow(0 0 12px #ffbd3b66);}
.wand-privacy-v24 h1 b{color:var(--privacy-gold);font-weight:inherit;}
.wand-privacy-v24 .legal-notice{margin:18px 0 0;padding:13px 15px;border:1px solid #e8b94e80;background:#1b2233e6;color:#edf1fa;border-radius:12px;font-size:13px;line-height:1.6;box-shadow:inset 0 0 12px #e8b94e15;}
.wand-privacy-v24 .privacy-nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:17px 0;}
.wand-privacy-v24 .privacy-nav a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:8px 6px;border:1px solid #8096bc45;border-radius:10px;background:#172439;color:var(--privacy-gold);font-size:clamp(10px,1vw,13px);line-height:1.35;font-weight:650;transition:box-shadow .2s,border-color .2s,background .2s;}
.wand-privacy-v24 .privacy-nav a:hover,.wand-privacy-v24 .privacy-nav a[aria-current]{background:linear-gradient(170deg,#ffdf71,#ffbc28);color:#171307;border-color:#ffe698;box-shadow:0 0 15px #ffc34366;}
.wand-privacy-v24 .privacy-sections{display:grid;gap:12px;}
.wand-privacy-v24 .privacy-card{display:grid;grid-template-columns:clamp(66px,8vw,108px) minmax(0,1fr);align-items:start;gap:clamp(12px,2vw,25px);padding:clamp(13px,2vw,24px);border:1px solid #8298bc40;border-radius:17px;background:linear-gradient(110deg,#142238f2,#101b2bee);scroll-margin-top:110px;box-shadow:inset 0 1px 0 #ffffff08;}
.wand-privacy-v24 .privacy-card:target{border-color:#ffcf4299;box-shadow:0 0 18px #ffbf321f;}
.privacy-emblem{display:grid;place-items:center;aspect-ratio:1;border:1px solid #eabb4d85;background:radial-gradient(circle,#3c352855,#121c2d 80%);border-radius:18px;box-shadow:inset 0 0 12px #ffc34718;}
.privacy-emblem img{width:82%;height:auto;filter:drop-shadow(0 3px 8px #03081288);}
.privacy-copy{min-width:0;padding-left:clamp(12px,1.8vw,22px);border-left:2px solid #eabc46;overflow-wrap:anywhere;}
.wand-privacy-v24 h2{color:#f5f7fc;font-size:clamp(17px,2vw,25px);font-weight:800;line-height:1.3;margin:0 0 8px;letter-spacing:-.025em;}
.wand-privacy-v24 p,.wand-privacy-v24 li{color:#dbe2ef;font-size:clamp(12px,1.13vw,14px);line-height:1.65;margin:0 0 8px;}
.wand-privacy-v24 .privacy-copy > :last-child{margin-bottom:0;}
.wand-privacy-v24 ul{padding-left:19px;margin:8px 0;}.wand-privacy-v24 li::marker{color:var(--privacy-gold);}
.wand-privacy-v24 .privacy-copy a{color:var(--privacy-gold);text-decoration:underline;}
.wand-privacy-v24 a:focus-visible{outline:2px solid #ffe28a;outline-offset:3px;}
@media(max-width:1050px){.wand-privacy-v24 .privacy-nav{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:767px){.wand-join-panel{background-image:linear-gradient(90deg,#141a27f5,#141a27c2 75%,#141a278c),url('../img/world/v24-panorama.webp');}.wand-footer{background-image:linear-gradient(90deg,#151b28f2,#151b28ba),url('../img/world/v24-panorama.webp');}.wand-legal.wand-privacy-v24{margin-top:16px;border-radius:18px;}.wand-privacy-v24 .privacy-nav{grid-template-columns:repeat(2,minmax(0,1fr));}.wand-privacy-v24 .privacy-card{grid-template-columns:48px minmax(0,1fr);gap:10px;padding:12px;}.privacy-emblem{border-radius:10px;}.privacy-copy{padding-left:10px;}.wand-privacy-v24 .privacy-hero{padding:12px;}.wand-privacy-v24 .legal-notice{font-size:12px;}}
@media(max-width:370px){.wand-privacy-v24 .privacy-card{grid-template-columns:1fr;}.privacy-emblem{width:48px;}.privacy-copy{padding-left:10px;}}
@media(prefers-reduced-motion:reduce){.wand-privacy-v24 .privacy-nav a{transition:none;}}

.wand-privacy-v24 .privacy-nav a{gap:5px}.wand-privacy-v24 .privacy-nav img{width:17px;height:17px;flex:none}.wand-privacy-v24 .privacy-nav a span{min-width:0;overflow-wrap:anywhere}
/* Keep full-bleed sizing even when older mobile styles override background layers. */
.wand-join-panel,.administration__card,.wand-footer{background-size:cover!important;background-repeat:no-repeat!important;background-position:center center!important;}

/* V24.1 — keep illustrated surfaces inside their rounded borders.
   Do not clip the navbar (its mobile dropdown must remain outside). */
.wand-join-panel,
.wand-discord-card,
.administration__card,
.wand-footer,
#shop .wand-mode-grid-v18 .shop__card.wand-mode-v5,
#shop .wand-mode-brand,
.shop__card--product,
.wand-legal.wand-rules-v17,
.wand-rules-v17 .rules-card,
.wand-legal.wand-privacy-v24,
.wand-privacy-v24 .privacy-card,
.wand-voucher.wand-voucher-v19 {
    overflow: hidden;
    isolation: isolate;
    background-clip: padding-box;
    border-color: #394356;
}
/* An opaque outline prevents the bright landscape showing through a thin
   translucent border. Keep gold hover accents without revealing the image. */
.wand-join-panel:hover,
.wand-discord-card:hover,
.administration__card:hover,
#shop .wand-mode-grid-v18 .shop__card.wand-mode-v5:hover,
.shop__card--product:hover,
.wand-rules-v17 .rules-card:hover,
.wand-privacy-v24 .privacy-card:target {
    border-color: #b68b3c;
}
#shop .wand-mode-grid-v18 .wand-mode-visual,
.wand-privacy-v24 .privacy-hero,
.wand-rules-v17 .rules-hero {
    overflow: hidden;
    isolation: isolate;
    background-clip: padding-box;
}
#shop .wand-mode-grid-v18 .wand-mode-visual { border-radius: 12px; }
.wand-rules-v17 .rules-card::before,
.wand-rules-v17 .rules-hero::before,
.wand-discord-card .discord-art,
.voucher-v19-art { pointer-events: none; }
/* Background illustrations never paint beneath the outer border. */
.wand-footer::before,.wand-footer::after,
.administration__card::after { display:none!important; content:none!important; }
/* The progress line stays within its own three-pixel track. */
.wand-scroll-progress { overflow:hidden; background:transparent; }
.wand-scroll-progress span { box-shadow:inset 0 0 3px #fff0ab; border-radius:0 2px 2px 0; }
/* Preserve keyboard focus when a control sits in a clipped surface. */
.wand-join-panel :focus-visible,
.wand-discord-card :focus-visible,
.administration__card :focus-visible,
.wand-footer :focus-visible,
.shop__card :focus-visible,
.wand-legal :focus-visible,
.wand-voucher :focus-visible { outline-offset: -2px; }


/* V28 — individual original artwork, clipped surfaces, slender legal navigation. */
.wand-rules-v17 .rules-hero {
  position:relative; isolation:isolate; overflow:hidden; border-radius:18px;
  padding:clamp(16px,2vw,24px); border:1px solid #394356;
  background:#101a2b; background-clip:padding-box;
  box-shadow:inset 0 1px 0 #ffffff08;
}
.wand-rules-v17 .rules-hero::before {
  display:block; content:''; position:absolute; inset:0 0 0 auto; width:56%; z-index:-1;
  background:url('../img/world/v28-rules-header.webp') right center / cover no-repeat;
  mask-image:linear-gradient(90deg,transparent 0%,#000 44%); opacity:1; pointer-events:none;
}
.wand-rules-v17 .rules-hero h1 {
  display:flex; align-items:center; gap:12px; margin:8px 0 10px;
  font-size:clamp(29px,3.8vw,52px); color:#f7f8fb; line-height:1.13;
}
.wand-rules-v17 .rules-hero h1 > span {color:#f7f8fb; min-width:0;}
.wand-rules-v17 .rules-hero h1 > span b {color:var(--rules-gold); font-weight:inherit;}
.wand-rules-v17 .rules-hero h1 img {width:clamp(36px,4.7vw,62px);height:auto;flex:none;filter:drop-shadow(0 0 12px #ffbd3b66);}
.wand-rules-v17 .rules-hero p {max-width:min(720px,70%);text-shadow:0 1px 4px #080f1c;}
.wand-rules-v17 .rules-card {position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(120deg,#121720,#151b28); background-clip:padding-box;}
.wand-rules-v17 .rules-card::before {
  content:''; position:absolute; inset:0 0 0 auto; z-index:-1; width:34%;
  background-image:var(--rule-scene); background-size:cover; background-position:center;
  background-repeat:no-repeat; mask-image:linear-gradient(90deg,transparent 0%,#000 42%);
  pointer-events:none; opacity:1;
}
.wand-rules-v17 .rules-copy {padding-right:29%;}
.wand-rules-v17 #general { --rule-scene:url('../img/world/v28-rules-general.webp'); }
.wand-rules-v17 #behavior { --rule-scene:url('../img/world/v28-rules-behavior.webp'); }
.wand-rules-v17 #fair { --rule-scene:url('../img/world/v28-rules-fair.webp'); }
.wand-rules-v17 #account { --rule-scene:url('../img/world/v28-rules-account.webp'); }
.wand-rules-v17 #sanctions { --rule-scene:url('../img/world/v28-rules-sanctions.webp'); }
.wand-rules-v17 #appeal { --rule-scene:url('../img/world/v28-rules-appeal.webp'); }
.wand-rules-v17 #shop-rules { --rule-scene:url('../img/world/v28-rules-shop-rules.webp'); }
.wand-rules-v17 #changes { --rule-scene:url('../img/world/v28-rules-changes.webp'); }
 .wand-rules-v17 .rules-sections .rules-card::before {background-image:var(--rule-scene);}
/* Flexible content-sized pills: one line of text in each pill, whole pills wrap on small screens. */
.wand-privacy-v24 .privacy-nav {
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:8px; margin:18px 0 22px; padding:2px 0;
}
.wand-privacy-v24 .privacy-nav a {
  display:flex; flex:1 0 auto; align-items:center; justify-content:center; gap:6px;
  min-width:0; min-height:44px; height:44px; max-width:100%; padding:0 11px;
  border:1px solid #e8ba393b; border-radius:999px; background:#141820e6;
  color:var(--privacy-gold); font-size:clamp(11px,.92vw,12px); font-weight:700; line-height:1.2;
  box-shadow:inset 0 0 9px #ffbf3109; text-decoration:none; white-space:nowrap;
  transition:background .2s,box-shadow .2s,border-color .2s,transform .2s;
}
.wand-privacy-v24 .privacy-nav a span {min-width:0;white-space:nowrap;overflow-wrap:normal;word-break:normal;}
.wand-privacy-v24 .privacy-nav .privacy-nav-icon {display:block;width:17px;height:17px;flex:0 0 17px;overflow:hidden;}
.wand-privacy-v24 .privacy-nav a[aria-current],.wand-privacy-v24 .privacy-nav a:hover {
  background:linear-gradient(165deg,#ffe272,#ffca20); color:#17130a; border-color:#ffe28c;
  box-shadow:0 0 17px #ffc53363,inset 0 1px 2px #fff3b8;
}
.wand-privacy-v24 .privacy-nav a:hover {transform:translateY(-1px);}
@media (max-width:767px) {
  .wand-rules-v17 .rules-hero {padding:14px 12px 125px;}
  .wand-rules-v17 .rules-hero::before {inset:auto 0 0;width:100%;height:130px;mask-image:linear-gradient(180deg,transparent,#000 38%);background-position:center 55%;}
  .wand-rules-v17 .rules-hero p {max-width:100%;}
  .wand-rules-v17 .rules-card {padding-bottom:132px;}
  .wand-rules-v17 .rules-card::before {inset:auto 0 0;width:100%;height:135px;opacity:1;mask-image:linear-gradient(180deg,transparent,#000 36%);background-position:center 55%;}
  .wand-rules-v17 .rules-copy {padding-right:0;}
  .wand-privacy-v24 .privacy-nav {gap:7px;justify-content:flex-start;}
  .wand-privacy-v24 .privacy-nav a {flex:1 0 auto;padding:0 10px;font-size:11px;}
}
@media(prefers-reduced-motion:reduce){.wand-privacy-v24 .privacy-nav a{transition:none;}.wand-privacy-v24 .privacy-nav a:hover{transform:none;}}
/* Keep the seven pills slender at narrower desktop widths; never stretch a lone pill. */
.wand-privacy-v24 .privacy-nav a {flex:0 0 auto;}
@media (min-width:1200px) and (max-width:1399px){
 .wand-privacy-v24 .privacy-nav {gap:5px;}
 .wand-privacy-v24 .privacy-nav a {padding:0 6px;gap:4px;font-size:10.5px;}
 .wand-privacy-v24 .privacy-nav .privacy-nav-icon {width:15px;height:15px;flex-basis:15px;}
}
@media (max-width:767px){.wand-privacy-v24 .privacy-nav a {flex:0 0 auto;}}


/* V29 — product offer, scoped exclusively to the shop page.
   Images, promotion values, categories and payment URLs still come from SpaceIS. */
body.wand-shop-page .wand-world {
  position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:-3;
  background-image:linear-gradient(90deg,rgba(4,17,43,.18),rgba(4,16,39,.08) 57%,transparent 100%),url('../img/world/world-v23-wide.webp');
  background-size:100% 100%,cover; background-position:center,center 25%; background-repeat:no-repeat;
}
body.wand-shop-page .wand-main {width:calc(100% - clamp(32px,7.3vw,140px));max-width:1900px;padding-inline:0;}
.wand-shop-page .wand-main > #shop {width:100%;max-width:none;padding:0;}
.wand-shop-page #shop .shop__header {width:100%;padding:clamp(20px,3vw,40px) 0 clamp(22px,2.5vw,46px);}
.wand-shop-page #shop .shop__header__btn {
  display:inline-flex; align-items:center; justify-content:flex-start; gap:clamp(10px,1vw,18px);
  width:fit-content;max-width:100%;min-height:clamp(45px,3.3vw,64px);padding:12px clamp(14px,1.3vw,26px);
  margin:0 0 clamp(20px,2.1vw,40px);border:1px solid #8da7d76b;border-radius:16px;
  background:#101f3e99;box-shadow:inset 0 1px 5px #9fb6ee16;color:#f5f7ff;
  font-size:clamp(13px,1.15vw,21px);font-weight:600;line-height:1.35;text-decoration:none;
}
.wand-shop-page #shop .shop__header__btn img {width:20px;height:20px;object-fit:contain;filter:brightness(0) invert(1);flex:none;}
.wand-shop-page #shop .shop__header__btn:hover {border-color:#ffcf66;background:#1a2b47;}
.wand-shop-page #shop .shop__header--title {margin:0;color:#f7f8ff;font-size:clamp(29px,3.45vw,66px);font-weight:800;line-height:1.12;letter-spacing:-.045em;text-shadow:0 3px 14px #06132980;}
.wand-shop-page #shop .shop__header--title > .wand-earthsmp-name,
.wand-shop-page #shop .shop__header--title > .wand-boxpvp-name {text-shadow:none;}
.wand-shop-page .wand-category-nav {gap:12px;margin:0 0 clamp(22px,2vw,37px);}
.wand-shop-page .wand-category-nav a {
  display:inline-flex;align-items:center;justify-content:center;min-height:clamp(43px,3.1vw,59px);max-width:100%;
  padding:10px clamp(15px,1.15vw,23px);border:1px solid #8b9bb64d;border-radius:15px;
  background:#151c2a;box-shadow:inset 0 1px 4px #ffffff12;color:#f7f8ff;font-size:clamp(13px,1.05vw,19px);font-weight:650;overflow-wrap:anywhere;
}
.wand-shop-page .wand-category-nav a:hover,.wand-shop-page .wand-category-nav a:focus-visible {border-color:#ffcc58;color:#ffdc76;background:#252a32;}
.wand-shop-page #shop .wand-product-category .section-heading {margin:0 0 clamp(16px,1.6vw,29px);align-items:flex-end;}
.wand-shop-page #shop .wand-product-category .section-kicker {font-size:clamp(11px,.88vw,16px);color:#ffd132;margin-bottom:clamp(7px,.75vw,14px);}
.wand-shop-page #shop .wand-product-category .section-heading h2 {font-size:clamp(29px,3.05vw,58px);color:#f7f8ff;line-height:1.1;overflow-wrap:anywhere;}
.wand-shop-page #shop .wand-product-category .section-count {background:#0e172ab8;color:#ffd44b;border:1px solid #f3c45d26;font-weight:600;font-size:clamp(11px,.9vw,16px);padding:8px 14px;}
.wand-shop-page #shop .wand-product-category > .row {display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(14px,1.2vw,24px);}
.wand-shop-page #shop .wand-product-category > .row > div {width:100%;max-width:100%;min-width:0;display:flex;}
.wand-shop-page #shop .shop__card.wand-product-card,
.wand-shop-page #shop .shop > .row > div:only-child > .wand-product-card {
  display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:clamp(14px,1.5vw,29px);
  min-height:clamp(200px,15.8vw,304px);padding:clamp(18px,1.45vw,28px);border:2px solid #ffcf6a;border-radius:clamp(19px,1.5vw,29px);
  background:linear-gradient(145deg,#111827,#111724 65%,#131a27);background-clip:padding-box;
  box-shadow:inset 0 0 9px #ffd78b52,inset 0 0 2px #fff3cc,0 0 4px #ffcf75b0,0 0 18px #ffa72b35,0 12px 30px #03091855;
  overflow:hidden;isolation:isolate;transform:none;filter:none;
}
.wand-shop-page #shop .shop__card.wand-product-card::before,.wand-shop-page #shop .shop__card.wand-product-card::after {display:none;content:none;}
.wand-shop-page #shop .shop__card.wand-product-card:hover,.wand-shop-page #shop .shop__card.wand-product-card:focus-within {border-color:#ffe9ac;box-shadow:inset 0 0 12px #ffd78b70,0 0 18px #ffb73866,0 12px 30px #03091866;transform:none;}
.wand-shop-page #shop .wand-product-card .mode-card-top,
.wand-shop-page #shop .shop > .row > div:only-child .wand-product-card .mode-card-top {
 display:flex;flex:0 0 36%;min-width:0;min-height:0;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px;
}
.wand-shop-page #shop .wand-product-card .mode-label {flex:none;max-width:100%;border:1px solid #ffc944a0;background:linear-gradient(150deg,#302619,#171c28);border-radius:11px;color:#ffd23d;font-size:clamp(11px,.84vw,16px);font-weight:750;padding:8px 12px;box-shadow:inset 0 0 6px #ffc54532,0 0 5px #ffbf321c;}
.wand-shop-page #shop .wand-product-card .mode-art,
.wand-shop-page #shop .shop > .row > div:only-child .wand-product-card .mode-art {
 display:block;width:clamp(145px,14.4vw,276px);height:clamp(145px,13.7vw,263px);max-width:65%;object-fit:contain;object-position:center;
 flex:0 1 auto;min-width:0;filter:drop-shadow(0 10px 12px #0005);transform:none;transition:filter .25s ease;
}
.wand-shop-page #shop .wand-product-card:hover .mode-art {transform:none;filter:drop-shadow(0 8px 14px #ffbc3220);}
.wand-shop-page #shop .wand-product-card .shop__card--context {flex:1 1 0;min-width:0;width:auto;align-items:flex-start;justify-content:center;gap:0;}
.wand-shop-page #shop .wand-product-card .shop__card--title {color:#f7f8ff;font-size:clamp(23px,1.85vw,36px);font-weight:800;line-height:1.2;margin:0 0 clamp(10px,.9vw,16px);max-width:100%;}
.wand-shop-page #shop .wand-product-card .shop__card--description {color:#c6cbd6;font-size:clamp(13px,1.1vw,20px);line-height:1.5;margin:0 0 clamp(13px,1.2vw,22px);max-width:100%;}
.wand-shop-page #shop .wand-product-card .shop__card--price {
 display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:5px;width:auto;max-width:100%;padding:clamp(9px,.8vw,15px) clamp(12px,.85vw,17px);
 margin:0 0 clamp(13px,1.1vw,22px);border:1px solid #d5ab5966;border-radius:13px;
 background:linear-gradient(130deg,#25262c,#1c202b);box-shadow:inset 0 0 9px #ffc25a13;color:#ffcf29;
 font-size:clamp(15px,1.3vw,25px);line-height:1.25;font-weight:800;text-align:left;overflow-wrap:anywhere;
}
.wand-shop-page #shop .wand-product-card .shop__card--price .wand-price-prefix {color:#f4f5f8;}
.wand-shop-page #shop .wand-product-card .shop__card--price small {font-size:.77em;font-weight:600;color:#b1b8c5;}
.wand-shop-page #shop .wand-product-card .shop__card--href {
 display:inline-flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:18px;width:fit-content;max-width:100%;min-height:clamp(44px,3.1vw,60px);
 margin:0;padding:10px clamp(15px,1.1vw,21px);border:1px solid #ffca43;border-radius:14px;background:linear-gradient(150deg,#29261f,#171c26);color:#ffd13d;
 font-size:clamp(14px,1.04vw,20px);font-weight:750;line-height:1.3;box-shadow:inset 0 0 8px #ffc13b37,0 0 6px #ffbe3625;text-decoration:none;
}
.wand-shop-page #shop .wand-product-card .shop__card--href .wand-icon {width:21px;height:21px;flex:none;}
.wand-shop-page #shop .wand-product-card .shop__card--href:hover,.wand-shop-page #shop .wand-product-card .shop__card--href:focus-visible {background:linear-gradient(165deg,#ffe27c,#ffbd2f);color:#171307;box-shadow:0 0 13px #ffc33d88;gap:18px;}
@media(max-width:767px){
 body.wand-shop-page .wand-world {background-image:linear-gradient(180deg,#06162e48,#0713278c),url('../img/world/world-v23-mobile.webp');background-position:center,center var(--wand-world-progress,0%);}
 body.wand-shop-page .wand-main {width:calc(100% - 28px);}
 .wand-shop-page #shop .shop__header{padding:24px 0;}
 .wand-shop-page #shop .shop__header--title{font-size:clamp(26px,6.6vw,36px);}
 .wand-shop-page #shop .shop__card.wand-product-card,.wand-shop-page #shop .shop > .row > div:only-child > .wand-product-card {flex-direction:column;align-items:stretch;gap:14px;padding:17px;min-height:0;}
 .wand-shop-page #shop .wand-product-card .mode-card-top,.wand-shop-page #shop .shop > .row > div:only-child .wand-product-card .mode-card-top {flex:none;width:100%;position:relative;min-height:150px;justify-content:center;}
 .wand-shop-page #shop .wand-product-card .mode-label {position:absolute;top:0;left:0;padding:6px 8px;font-size:10px;z-index:1;}
 .wand-shop-page #shop .wand-product-card .mode-art,.wand-shop-page #shop .shop > .row > div:only-child .wand-product-card .mode-art {width:min(65%,190px);height:clamp(150px,40vw,190px);}
 .wand-shop-page #shop .wand-product-card .shop__card--context {flex:none;width:100%;}
 .wand-shop-page #shop .wand-product-card .shop__card--href {width:100%;}
 .wand-shop-page #shop .wand-product-category .section-heading {gap:8px;align-items:flex-end;}
 .wand-shop-page #shop .wand-product-category .section-heading > div {min-width:0;}
 .wand-shop-page #shop .wand-product-category .section-count {flex:none;padding:6px 8px;}
}
@media(prefers-reduced-motion:reduce){.wand-shop-page #shop .wand-product-card,.wand-shop-page #shop .wand-product-card .mode-art,.wand-shop-page #shop .wand-product-card .shop__card--href{transition:none;}}


/* V30 — a full-bleed illustrated backdrop INSIDE the offer card.
   The product image, prices, promotion flag and checkout link are untouched. */
.wand-shop-page #shop .shop__card.wand-product-card,
.wand-shop-page #shop .shop > .row > div:only-child > .wand-product-card {
  background-color:#101725;
  background-image:linear-gradient(90deg,rgba(13,20,34,.91) 0%,rgba(13,20,34,.83) 24%,rgba(13,20,34,.92) 39%,rgba(13,20,34,.91) 51%,rgba(13,20,34,.64) 65%,rgba(13,20,34,.15) 89%,rgba(13,20,34,.12) 100%),linear-gradient(0deg,#10172555,transparent 58%,#10172520),url('../img/world/v24-panorama.webp');
  background-size:100% 100%,100% 100%,cover!important;
  background-position:center,center,center 56%!important;
  background-repeat:no-repeat!important;
  background-origin:padding-box;
  background-clip:padding-box;
  overflow:hidden;
}
.wand-shop-page #shop .wand-product-card .shop__card--title,
.wand-shop-page #shop .wand-product-card .shop__card--description {text-shadow:0 2px 6px #050912;}
.wand-shop-page #shop .wand-product-card .shop__card--description {color:#d8dfeb;}
@media(max-width:767px){
 .wand-shop-page #shop .shop__card.wand-product-card,
 .wand-shop-page #shop .shop > .row > div:only-child > .wand-product-card {
  background-image:linear-gradient(180deg,rgba(13,20,34,.35) 0%,rgba(13,20,34,.60) 30%,rgba(13,20,34,.93) 49%,rgba(13,20,34,.95) 100%),linear-gradient(90deg,#0d142235,transparent 45%,#0d142235),url('../img/world/v24-panorama.webp');
  background-position:center,center,72% center!important;
 }
}
