/* Zoblins homepage (home.html). Built from the Claude Design canvas "Zoblins Homepage"; edit here from now on. */
/* fonts served from the site (assets/fonts, SIL OFL): no requests to Google */
@font-face{font-family:'Fredoka';font-style:normal;font-weight:300 700;font-display:swap;src:url(../assets/fonts/fredoka-latin.woff2) format('woff2')}
@font-face{font-family:'Nunito';font-style:normal;font-weight:200 1000;font-display:swap;src:url(../assets/fonts/nunito-latin.woff2) format('woff2')}
@font-face{font-family:'Architects Daughter';font-style:normal;font-weight:400;font-display:swap;src:url(../assets/fonts/architects-daughter-latin.woff2) format('woff2')}
body{margin:0;background:#0b0818}
a{color:#b6f04a}a:hover{color:#d6ff8a}
.zh{--bg:#0b0818;--bg2:#120d26;--card:#18122f;--card2:#201842;--line:rgba(196,170,255,.14);--ink:#f4f0fb;--mute:#bdb3d6;--slime:#a6e83a;--slime2:#7cc21b;--violet:#8f5ce0;--gold:#f6c344;
  background:var(--bg);color:var(--ink);font-family:Nunito,system-ui,sans-serif;font-size:17px;line-height:1.6;overflow:hidden}
.zh *{box-sizing:border-box}
.zh h1,.zh h2,.zh h3,.zh h4{font-family:Fredoka,Nunito,sans-serif;font-weight:600;line-height:1.1;margin:0;letter-spacing:-.01em}
.zh p{margin:0}
.zh img{display:block;max-width:100%}
.wrap{max-width:1200px;margin:0 auto;padding:0 32px}
.eyebrow{font-family:Fredoka,sans-serif;font-weight:600;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--slime)}
.sec{padding:112px 0}
.sec-head{display:flex;flex-direction:column;gap:14px;max-width:720px;margin-bottom:56px}
.sec-head h2{font-size:52px}
.sec-head p{color:var(--mute);font-size:19px}
.center{text-align:center;align-items:center;margin-left:auto;margin-right:auto}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 28px;border-radius:999px;font-family:Fredoka,sans-serif;font-weight:600;font-size:18px;text-decoration:none;white-space:nowrap;border:0;cursor:pointer}
.btn-play{background:linear-gradient(180deg,#bdf35a,#86cc22);color:#10200a;box-shadow:0 0 0 3px rgba(166,232,58,.18),0 10px 30px rgba(124,194,27,.35),inset 0 -3px 0 rgba(0,0,0,.18)}
.btn-play:hover{color:#10200a;filter:brightness(1.06)}
.btn-big{min-height:64px;padding:0 36px;font-size:21px}
.btn-ghost{background:rgba(255,255,255,.06);color:var(--ink);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.22)}
.btn-ghost:hover{color:var(--ink);background:rgba(255,255,255,.12)}
.btn svg{width:20px;height:20px}

/* header */
.top{position:absolute;left:0;right:0;top:0;z-index:5}
.top .wrap{display:flex;align-items:center;gap:32px;height:88px}
.top .logo img{height:56px;width:auto}
.nav{display:flex;gap:28px;margin-left:auto}
.nav a{color:var(--ink);text-decoration:none;font-weight:700;font-size:16px;opacity:.86}
.nav a:hover{opacity:1;color:var(--slime)}
.top .btn{min-height:46px;font-size:16px;padding:0 22px}
.menu{display:none;margin-left:auto}
.menu summary{list-style:none;cursor:pointer;width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.08);color:var(--ink)}
.menu summary::-webkit-details-marker{display:none}
.menu nav{position:absolute;right:16px;top:76px;display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:8px;min-width:220px;box-shadow:0 20px 50px rgba(0,0,0,.5)}
.menu nav a{color:var(--ink);text-decoration:none;font-weight:700;padding:12px 14px;border-radius:10px}

/* hero */
.hero{position:relative;min-height:860px;display:flex;align-items:flex-end;padding:160px 0 64px;isolation:isolate}
.hero-media{position:absolute;inset:0;z-index:-1;overflow:hidden}
.hero-media img,.hero-media video{width:100%;height:100%;object-fit:cover;object-position:60% 40%;display:block}
.hv-tall{display:none !important}
/* old-recording look, the game's Fail Cam layers (css/style.css #failCam): tint, scanlines + vignette with flicker, grain, REC and timestamp */
.fc-tint,.fc-lines,.fc-static{position:absolute;pointer-events:none;z-index:1}
.fc-tint{inset:0;background:linear-gradient(rgba(30,60,40,.16),rgba(30,60,40,.16))}
.fc-lines{inset:0;opacity:.55;background:repeating-linear-gradient(rgba(0,0,0,.28) 0 1px,transparent 1px 3px),radial-gradient(ellipse at center,transparent 50%,rgba(0,0,0,.6) 100%);animation:tvFlicker 3.2s steps(1) infinite}
.fc-static{inset:-50%;opacity:.07;background:repeating-radial-gradient(circle at 17% 32%,rgba(255,255,255,.5) 0 1px,transparent 1px 3px),repeating-radial-gradient(circle at 71% 64%,rgba(255,255,255,.4) 0 1px,transparent 1px 4px);animation:fcGrain .2s steps(4) infinite}
@keyframes tvFlicker{0%,100%{opacity:.55}41%{opacity:.45}43%{opacity:.55}77%{opacity:.5}}
@keyframes fcGrain{0%{transform:translate(0,0)}25%{transform:translate(-3%,2%)}50%{transform:translate(2%,-3%)}75%{transform:translate(-2%,-1%)}}
.hero-media::after{z-index:2}
.fc-rec{position:absolute;right:40px;top:112px;z-index:3;display:flex;align-items:center;gap:8px;font-family:Fredoka,sans-serif;font-weight:700;font-size:18px;color:#fff;text-shadow:0 2px 0 #000;letter-spacing:.06em}
.fc-rec i{width:12px;height:12px;border-radius:50%;background:#ff2a2a;box-shadow:0 0 10px #ff2a2a;animation:fcBlink 1s steps(1) infinite}
@keyframes fcBlink{50%{opacity:.25}}
.fc-time{position:absolute;right:40px;bottom:40px;z-index:3;font-family:ui-monospace,Consolas,monospace;font-weight:600;font-size:15px;color:#e8f5e0;text-shadow:0 2px 0 #000;letter-spacing:.04em}
@media (prefers-reduced-motion:reduce){.fc-lines,.fc-static,.fc-rec i{animation:none}}
.hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,8,24,.94) 0%,rgba(11,8,24,.78) 34%,rgba(11,8,24,.15) 62%,rgba(11,8,24,0) 100%),linear-gradient(180deg,rgba(11,8,24,.7) 0%,rgba(11,8,24,0) 22%,rgba(11,8,24,0) 70%,#0b0818 100%)}
.hero-copy{max-width:600px;display:flex;flex-direction:column;gap:24px}
.hero h1{font-size:76px;font-weight:700;line-height:1.02}
.hero h1 em{font-style:normal;color:var(--slime)}
.hero .lede{font-size:21px;color:#ded6f0;max-width:540px}
.cta-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.trust{display:flex;flex-wrap:wrap;gap:8px 22px;color:var(--mute);font-size:15px;font-weight:700}
.trust span{display:inline-flex;align-items:center;gap:8px}
.trust svg{width:16px;height:16px;color:var(--slime)}
.cont{font-size:15px;color:var(--mute)}
.cont a{font-weight:700}
.vidtag{position:absolute;right:32px;bottom:72px;display:flex;align-items:center;gap:10px;padding:8px 14px;border-radius:999px;background:rgba(11,8,24,.6);border:1px dashed rgba(255,255,255,.3);color:var(--mute);font-size:13px;font-weight:700}

/* stats */
.stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg2)}
.stats .wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));}
.stat{padding:30px 24px;display:flex;flex-direction:column;gap:2px;border-left:1px solid var(--line)}
.stat:first-child{border-left:0}
.stat b{font-family:Fredoka,sans-serif;font-size:44px;font-weight:700;color:var(--slime);line-height:1}
.stat span{color:var(--mute);font-weight:700;font-size:15px}

/* steps: three panels that join into one panorama */
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-radius:28px;overflow:hidden;border:1px solid var(--line);background:var(--card)}
.step{display:flex;flex-direction:column;position:relative;border-left:1px solid rgba(0,0,0,.5)}
.step:first-child{border-left:0}
/* one graveyard backdrop spans all three panels; the real in-game renders (transparent) stand on it */
.step .art{aspect-ratio:16/10;overflow:hidden;position:relative;display:flex;align-items:flex-end;justify-content:center;padding:0 4% 14%;background-image:linear-gradient(180deg,rgba(11,8,24,.35),rgba(11,8,24,.15) 40%,rgba(11,8,24,.55)),url(/assets/home/img/bg_graveyard.webp);background-size:auto,300% auto;background-repeat:no-repeat}
.step:nth-child(1) .art{background-position:0 0,0% 35%}
.step:nth-child(2) .art{background-position:0 0,50% 35%}
.step:nth-child(3) .art{background-position:0 0,100% 35%}
.step .art img{position:relative;z-index:1;width:100%;height:auto;max-height:100%;object-fit:contain;filter:drop-shadow(0 18px 24px rgba(0,0,0,.55));transition:transform .5s ease}
.step:hover .art img{transform:translateY(-6px) scale(1.04)}
.step .art::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(24,18,47,0) 55%,#18122f 100%)}
.step .txt{padding:0 28px 30px;margin-top:-30px;position:relative;display:flex;flex-direction:column;gap:10px}
.step .num{font-family:Fredoka,sans-serif;font-weight:700;font-size:16px;color:#10200a;background:var(--slime);width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 6px rgba(166,232,58,.18)}
.step h3{font-size:30px}
.step p{color:var(--mute)}

/* backdrop bands between sections */
.band{position:relative;min-height:440px;display:flex;align-items:center;overflow:hidden;isolation:isolate;background-size:cover;background-position:center;background-attachment:fixed}
.band::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0b0818 0%,rgba(11,8,24,.25) 30%,rgba(11,8,24,.25) 70%,#0b0818 100%)}
.band.alt::before{background:linear-gradient(180deg,#120d26 0%,rgba(18,13,38,.2) 30%,rgba(11,8,24,.3) 70%,#0b0818 100%)}
.band .wrap{width:100%}
.band h2{font-size:64px;font-weight:700;max-width:760px;text-shadow:0 4px 30px rgba(0,0,0,.7)}
.band p{font-size:20px;color:#ece6f8;max-width:560px;margin-top:16px;text-shadow:0 2px 16px rgba(0,0,0,.8)}
.band-caves{--bbg:url(/assets/home/img/bg_caves.webp)}
.band-volcano{--bbg:url(/assets/home/img/bg_volcano.webp)}
.band-lab{--bbg:url(/assets/home/img/bg_lab.webp)}
.band-swamp{--bbg:url(/assets/home/img/bg_swamp.webp)}
.motes{position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(2px 2px at 12% 30%,#d6ff8a,transparent),radial-gradient(2px 2px at 28% 70%,#bdf35a,transparent),radial-gradient(3px 3px at 46% 40%,#e8ffb0,transparent),radial-gradient(2px 2px at 63% 62%,#bdf35a,transparent),radial-gradient(3px 3px at 78% 28%,#d6ff8a,transparent),radial-gradient(2px 2px at 90% 74%,#bdf35a,transparent);animation:drift 9s ease-in-out infinite alternate;opacity:.8}
.sec-mines{background:linear-gradient(180deg,#0b0818 0%,rgba(11,8,24,.88) 12%,rgba(11,8,24,.88) 88%,#0b0818 100%),url(/assets/home/img/bg_mines.webp) center/cover fixed}
.sec-swamp{border-top:0;background:linear-gradient(180deg,#0b0818 0%,rgba(11,8,24,.92) 10%,rgba(11,8,24,.72) 28%,rgba(11,8,24,.72) 78%,#120d26 100%),url(/assets/home/img/bg_swamp.webp) center/cover fixed}

/* worlds: one full-height panel per world, its backdrop pinned so each world wipes over the last */
.worlds-intro{padding:120px 0 72px;text-align:center}
.worlds-intro .wrap{display:flex;flex-direction:column;align-items:center;gap:14px}
.worlds-intro h2{font-size:60px;font-weight:700}
.worlds-intro p{color:var(--mute);font-size:19px;max-width:640px}
.scroll-cue{margin-top:18px;display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:var(--slime);animation:bob 1.8s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(6px)}}
/* panels overlap by 260px; each backdrop is masked to fade in and out, so neighbouring worlds crossfade through a band of mist instead of meeting at a hard line */
.wpanel{position:relative;min-height:1040px;display:flex;align-items:center;padding:280px 0;margin-top:-260px;isolation:isolate}
.worlds-intro+.wpanel{margin-top:-120px}
.wpanel::after{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--wbg);background-size:cover;background-position:center;background-attachment:fixed;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 260px,#000 calc(100% - 260px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 260px,#000 calc(100% - 260px),transparent 100%)}
.wpanel::before{content:"";position:absolute;left:0;right:0;top:0;height:300px;z-index:-1;pointer-events:none;background:radial-gradient(55% 140px at 22% 50%,rgba(205,190,255,.16),transparent 70%),radial-gradient(45% 120px at 70% 40%,rgba(166,232,58,.10),transparent 70%),radial-gradient(60% 160px at 50% 60%,rgba(11,8,24,.55),transparent 75%);animation:mist 14s ease-in-out infinite alternate}
.worlds-intro+.wpanel::before{display:none}
@keyframes mist{from{transform:translateX(-3%)}to{transform:translateX(3%)}}
.wp-graveyard{--wbg:url(/assets/home/img/bg_graveyard.webp)}
.wp-mines{--wbg:url(/assets/home/img/bg_mines.webp)}
.wp-frost{--wbg:url(/assets/home/img/bg_frost.webp)}
.wp-hellfire{--wbg:url(/assets/home/img/bg_volcano.webp)}
.wp-lab{--wbg:url(/assets/home/img/bg_lab.webp)}
.wgrid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center}
.wgrid.flip{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.wgrid.flip .wcard{order:2}
.wcard{background:rgba(14,10,30,.8);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(196,170,255,.2);border-radius:28px;padding:34px;display:flex;flex-direction:column;gap:16px;box-shadow:0 30px 80px rgba(0,0,0,.45)}
.wnum{font-family:Fredoka,sans-serif;font-weight:600;font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:var(--slime)}
.wnum i{font-style:normal;color:var(--mute)}
.wcard h3{font-size:46px;font-weight:700}
.wcard>p{color:#ddd5ee;font-size:17px}
.wnew{display:flex;flex-direction:column;gap:8px}
.wlab{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--mute)}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chips img{width:48px;height:48px;transition:transform .2s ease}
.chips img:hover{transform:scale(1.15) rotate(-4deg)}
.moss-say{display:flex;align-items:center;gap:14px;margin-top:6px;padding-top:18px;border-top:1px solid var(--line)}
.moss-say img{width:72px;height:72px;flex:none;border-radius:50%;background:radial-gradient(circle,#2f2360,#130e28)}
.moss-say q{font-family:Fredoka,sans-serif;font-weight:500;font-size:18px;line-height:1.35;quotes:"\201C" "\201D"}
.wshot{margin:0;position:relative;border-radius:22px;overflow:hidden;border:2px solid rgba(255,255,255,.14);box-shadow:0 40px 90px rgba(0,0,0,.65);transform:rotate(-1.2deg);transition:transform .4s ease}
.wgrid.flip .wshot{transform:rotate(1.2deg)}
.wshot:hover,.wgrid.flip .wshot:hover{transform:rotate(0) scale(1.02)}
.wshot img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.wshot figcaption{position:absolute;left:16px;bottom:16px;background:rgba(11,8,24,.8);border-radius:999px;padding:6px 14px;font-size:13px;font-weight:800}
/* skills + hazards: Moss Chewer's chalkboard (dark slate, chalk dust, a timber frame) */
.blueprint{position:relative;isolation:isolate;overflow:hidden;color:#f2f0ea;
  background:
    radial-gradient(38% 22% at 18% 12%,rgba(255,255,255,.07),transparent 70%),
    radial-gradient(30% 18% at 78% 34%,rgba(255,255,255,.05),transparent 70%),
    radial-gradient(42% 20% at 40% 70%,rgba(255,255,255,.06),transparent 70%),
    radial-gradient(26% 14% at 85% 88%,rgba(255,255,255,.05),transparent 70%),
    repeating-linear-gradient(-12deg,rgba(255,255,255,.012) 0 2px,transparent 2px 9px),
    radial-gradient(ellipse at 50% 40%,#25302b 0%,#1a2420 55%,#121915 100%)}
/* Mikey's gothic chalkboard art, nine-sliced: candles, skulls and raven along the top, the ledge along the bottom; the corners keep their shape and only the plain slate and the side rails stretch to fit the content */
.chalk-sec{container-type:inline-size;padding:24px 0 96px;background:radial-gradient(ellipse at 50% 35%,#1b1533 0%,#0b0818 70%)}
.board{--bw:min(1280px,calc(100cqw - 64px));width:var(--bw);margin:0 auto;border-style:solid;border-width:calc(var(--bw)*.199) calc(var(--bw)*.051) calc(var(--bw)*.158);border-image:none 195 50 155 fill / calc(var(--bw)*.199) calc(var(--bw)*.051) calc(var(--bw)*.158) stretch;background:#0e0c14;padding:0 28px;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 34px);mask-image:linear-gradient(180deg,transparent 0,#000 34px)}
.board-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:-10px}
.board-title{max-width:640px;display:flex;flex-direction:column;gap:10px}
.board-title h2{font-size:48px;font-weight:700}
.board-title p{color:rgba(242,240,234,.82);font-size:17px}
.board-sketch{width:290px;height:auto;flex:none;opacity:.8;transform:rotate(-3deg)}
.tabs{display:flex;gap:8px;margin:20px 0 24px;border-bottom:2px dashed rgba(242,240,234,.35)}
.tab{display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:6px 18px;margin-bottom:-2px;background:none;border:0;border-bottom:4px solid transparent;color:rgba(242,240,234,.65);font-family:'Architects Daughter',cursive;font-size:24px;cursor:pointer}
.tab:hover{color:#fff}
.tab[aria-selected="true"]{color:#fff;border-bottom-color:#ffe27a}
.tab .stamp{font-size:11px;padding:1px 8px;margin-left:8px;border-width:2px}
.tabpanel{min-height:560px}
.blueprint .skill{padding:28px 10px 16px}
.blueprint .skill img{width:72px;height:72px}
.haz-intro{color:rgba(242,240,234,.82);margin-bottom:18px}
.board-note{display:flex;justify-content:space-between;gap:16px;margin:26px 0 0;font-family:'Architects Daughter',cursive;font-size:15px;color:rgba(242,240,234,.55)}
.blueprint .eyebrow{color:#ffe27a}
.blueprint .sec-head p,.blueprint .haz-head p{color:rgba(255,255,255,.82)}
.bp-hand{font-family:'Architects Daughter',cursive}
.sketches{position:absolute;inset:0;z-index:-1;pointer-events:none;color:#fff}
.sketches svg{position:absolute;overflow:visible}
.sketches text{font-family:'Architects Daughter',cursive;fill:#fff;font-size:16px}
.ch{position:absolute;height:auto;filter:drop-shadow(0 0 1px rgba(255,255,255,.25))}
.ch-builder{right:5%;top:70px;width:400px;opacity:.6;transform:rotate(-3deg)}
.ch-clinger{left:-20px;top:30%;width:200px;opacity:.22}
.ch-digger{right:-10px;top:50%;width:170px;opacity:.22}
.ch-brolly{left:25%;bottom:56px;width:200px;opacity:.5;transform:rotate(4deg)}
.ch-springer{left:41%;bottom:50px;width:230px;opacity:.5}
.ch-blocker{left:59%;bottom:70px;width:250px;opacity:.5;transform:rotate(-2deg)}
.ch-boomer{right:6%;bottom:54px;width:190px;opacity:.5;transform:rotate(3deg)}

.titleblock{position:absolute;left:52px;bottom:52px;display:grid;grid-template-columns:auto auto;border:2px solid rgba(242,240,234,.55);transform:rotate(-1.5deg);font-family:'Architects Daughter',cursive;font-size:13px;color:rgba(255,255,255,.85);z-index:0}
.titleblock span{padding:6px 12px;border-right:1px solid rgba(255,255,255,.5);border-bottom:1px solid rgba(255,255,255,.5)}
.titleblock span:nth-child(2n){border-right:0}
.titleblock span:nth-last-child(-n+2){border-bottom:0}
.blueprint .skills{counter-reset:skill}
.blueprint .skill{position:relative;background:rgba(255,255,255,.025);border:3px solid rgba(242,240,234,.82);border-radius:255px 18px 225px 18px/18px 225px 18px 255px;box-shadow:none;padding:34px 12px 20px;transition:transform .2s ease,background .2s ease}
.blueprint .skill:nth-child(even){border-radius:18px 225px 18px 255px/255px 18px 225px 18px}
.blueprint .skill:hover{transform:rotate(-1.5deg) scale(1.03);background:rgba(255,255,255,.06)}
.blueprint .skill::before{counter-increment:skill;content:"JOB " counter(skill,decimal-leading-zero);position:absolute;left:10px;top:7px;font-family:'Architects Daughter',cursive;font-size:12px;letter-spacing:.06em;color:rgba(255,255,255,.75)}
.blueprint .skill img{border-radius:50%;outline:2px dashed rgba(242,240,234,.4);outline-offset:5px}
.blueprint .skill h4{font-family:'Architects Daughter',cursive;font-weight:400;font-size:22px}
.blueprint .skill h4{color:#fff}
.blueprint .skill p{color:rgba(255,255,255,.82)}
.blueprint .skill.more{background:transparent;border-style:dashed;box-shadow:none}
.blueprint .skill.more::before{content:"HOMEWORK"}
.blueprint .skill.more b,.blueprint .skill.more p{color:#ffe27a}
.blueprint .hazards{counter-reset:hz}
.blueprint .haz{position:relative;background:rgba(255,255,255,.02);border:2.5px dashed rgba(242,240,234,.7);border-radius:14px 120px 14px 160px/120px 14px 160px 14px;padding:14px 16px 14px 12px}
.blueprint .haz::after{counter-increment:hz;content:"HZ-" counter(hz,decimal-leading-zero);position:absolute;right:10px;top:6px;font-family:'Architects Daughter',cursive;font-size:11px;color:rgba(255,255,255,.65)}
.blueprint .haz span{color:rgba(255,255,255,.8)}
.blueprint .haz-head h3{font-family:Fredoka,sans-serif}
.stamp{display:inline-block;transform:rotate(-6deg);border:3px solid #ff9d8f;color:#ff9d8f;font-family:'Architects Daughter',cursive !important;font-family:Fredoka,sans-serif;font-weight:700;font-size:14px;letter-spacing:.14em;padding:4px 12px;border-radius:6px;margin-left:12px;vertical-align:middle}
/* how it works, process row: three floating dioramas joined by dashed arrows */
.steps.process{grid-template-columns:repeat(3,minmax(0,1fr));gap:72px;border:0;border-radius:0;background:none;overflow:visible}
.process .step{border:0;text-align:center;align-items:center}
.process .step .art{background:none;padding:0;aspect-ratio:3/2;align-items:center;overflow:visible;width:100%}
.process .step .art::after{display:none}
.process .step .art::before{content:"";position:absolute;left:12%;right:12%;bottom:4%;height:22%;border-radius:50%;background:radial-gradient(ellipse,rgba(166,232,58,.28),rgba(166,232,58,0) 70%);filter:blur(6px)}
.process .step .art img{filter:drop-shadow(0 26px 26px rgba(0,0,0,.55));animation:float 6s ease-in-out infinite}
.process .step:nth-child(2) .art img{animation-delay:-2s}
.process .step:nth-child(3) .art img{animation-delay:-4s}
.process .step:hover .art img{transform:none}
@keyframes float{50%{translate:0 -12px}}
.process .step .txt{margin-top:6px;padding:0;align-items:center;max-width:340px}
.process .step:not(:last-child)::before{content:"";position:absolute;right:-60px;top:31%;width:46px;border-top:3px dashed rgba(166,232,58,.75)}
.process .step:not(:last-child)::after{content:"";position:absolute;right:-62px;top:calc(31% - 7px);width:14px;height:14px;border-top:3px solid rgba(166,232,58,.9);border-right:3px solid rgba(166,232,58,.9);transform:rotate(45deg)}
/* worlds: between panels you dig down through the game's own terrain (grass, soil, bones, earth, then the next world's rock) */
.wpanel{margin-top:0;padding:150px 0;min-height:860px}
.worlds-intro+.wpanel{margin-top:0}
.wpanel::after{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 120px,#000 100%);mask-image:linear-gradient(180deg,transparent 0,#000 120px,#000 100%)}
.strata+.wpanel::after{-webkit-mask-image:none;mask-image:none}
.wpanel::before{display:none}
.strata{position:relative;z-index:3;display:flex;flex-direction:column;margin:-70px 0 -60px;pointer-events:none;filter:drop-shadow(0 -8px 12px rgba(0,0,0,.45)) drop-shadow(0 14px 18px rgba(0,0,0,.7))}
.strata i{display:block;flex:none;margin-top:-16px;background-size:auto,190px;background-repeat:repeat}
.strata .l-grass{margin-top:0;height:60px;background-image:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.28)),url(/assets/tex/moss.webp);clip-path:polygon(0.0% 37.8%,3.6% 48.1%,7.1% 0.0%,10.7% 10.3%,14.3% 20.6%,17.9% 30.9%,21.4% 41.2%,25.0% 51.6%,28.6% 3.4%,32.1% 13.8%,35.7% 24.1%,39.3% 34.4%,42.9% 44.7%,46.4% 55.0%,50.0% 6.9%,53.6% 17.2%,57.1% 27.5%,60.7% 37.8%,64.3% 48.1%,67.9% 0.0%,71.4% 10.3%,75.0% 20.6%,78.6% 30.9%,82.1% 41.2%,85.7% 51.6%,89.3% 3.4%,92.9% 13.8%,96.4% 24.1%,100.0% 34.4%,100% 0.0%,100% 100%,0 100%)}
.strata .l-soil{height:96px;background-image:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.28)),url(/assets/tex/soil.webp);clip-path:polygon(0.0% 6.9%,5.0% 11.0%,10.0% 15.1%,15.0% 19.2%,20.0% 0.0%,25.0% 4.1%,30.0% 8.2%,35.0% 12.4%,40.0% 16.5%,45.0% 20.6%,50.0% 1.4%,55.0% 5.5%,60.0% 9.6%,65.0% 13.8%,70.0% 17.9%,75.0% 22.0%,80.0% 2.8%,85.0% 6.9%,90.0% 11.0%,95.0% 15.1%,100% 0.0%,100% 100%,0 100%)}
.strata .l-bones{height:58px;background-image:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.28)),url(/assets/tex/bones.webp);clip-path:polygon(0.0% 30.0%,4.2% 3.8%,8.3% 9.4%,12.5% 15.0%,16.7% 20.6%,20.8% 26.2%,25.0% 0.0%,29.2% 5.6%,33.3% 11.2%,37.5% 16.9%,41.7% 22.5%,45.8% 28.1%,50.0% 1.9%,54.2% 7.5%,58.3% 13.1%,62.5% 18.8%,66.7% 24.4%,70.8% 30.0%,75.0% 3.8%,79.2% 9.4%,83.3% 15.0%,87.5% 20.6%,91.7% 26.2%,95.8% 0.0%,100% 0.0%,100% 100%,0 100%)}
.strata .l-earth{height:74px;background-image:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.28)),url(/assets/tex/cave_earth.webp);clip-path:polygon(0.0% 16.2%,5.6% 21.1%,11.1% 26.0%,16.7% 3.2%,22.2% 8.1%,27.8% 13.0%,33.3% 17.9%,38.9% 22.8%,44.4% 0.0%,50.0% 4.9%,55.6% 9.8%,61.1% 14.6%,66.7% 19.5%,72.2% 24.4%,77.8% 1.6%,83.3% 6.5%,88.9% 11.4%,94.4% 16.2%,100% 0.0%,100% 100%,0 100%)}
.strata .l-deep{height:80px;background-image:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.28)),url(/assets/tex/cave_rock.webp);clip-path:polygon(0.0% 6.9%,3.3% 11.0%,6.7% 15.1%,10.0% 19.2%,13.3% 0.0%,16.7% 4.1%,20.0% 8.2%,23.3% 12.4%,26.7% 16.5%,30.0% 20.6%,33.3% 1.4%,36.7% 5.5%,40.0% 9.6%,43.3% 13.8%,46.7% 17.9%,50.0% 22.0%,53.3% 2.8%,56.7% 6.9%,60.0% 11.0%,63.3% 15.1%,66.7% 19.2%,70.0% 0.0%,73.3% 4.1%,76.7% 8.2%,80.0% 12.4%,83.3% 16.5%,86.7% 20.6%,90.0% 1.4%,93.3% 5.5%,96.7% 9.6%,100.0% 13.8%,100.0% 84.2%,96.7% 93.7%,93.3% 62.0%,90.0% 71.5%,86.7% 81.0%,83.3% 90.5%,80.0% 100.0%,76.7% 68.3%,73.3% 77.8%,70.0% 87.3%,66.7% 96.8%,63.3% 65.2%,60.0% 74.7%,56.7% 84.2%,53.3% 93.7%,50.0% 62.0%,46.7% 71.5%,43.3% 81.0%,40.0% 90.5%,36.7% 100.0%,33.3% 68.3%,30.0% 77.8%,26.7% 87.3%,23.3% 96.8%,20.0% 65.2%,16.7% 74.7%,13.3% 84.2%,10.0% 93.7%,6.7% 62.0%,3.3% 71.5%,0.0% 81.0%)}
.st-frost .l-deep{background-image:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.28)),url(/assets/tex/ice.webp)}
.st-hellfire .l-deep{background-image:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.28)),url(/assets/tex/basalt.webp)}
.st-lab .l-deep{background-image:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.28)),url(/assets/tex/metal.webp)}

/* skills + hazards: Mikey's chalkboard across the full width, the slate scrolls inside it */
.chalk-sec{padding:0;background:#0b0818}
/* Mikey's chunky waxy board: transparent above the top rail, so its candles and raven stand over the end of the worlds; nine-sliced so it can be taller than the art */
/* no frame: a seamless dusty slate across the full width, fading in and out at the top and bottom; chalk doodles live in the side margins */
.chalk-sec{position:relative;background:none}
/* no frame: a tall seamless dusty slate across the full width. It rises out of the last world through a long soft fade with a drift of chalk dust,
   and dissolves the same way into the next section; whole chalk doodles live in the side margins */
.chalk-sec{position:relative;z-index:2;margin:-140px 0 -60px;background:none}
.board2{position:relative;width:100%;height:1180px;border:0;border-image:none;padding:0;background:#15181a url(/assets/home/slate.webp) 0 0/560px repeat;-webkit-mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.35) 90px,#000 240px,#000 calc(100% - 240px),rgba(0,0,0,.35) calc(100% - 90px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,rgba(0,0,0,.35) 90px,#000 240px,#000 calc(100% - 240px),rgba(0,0,0,.35) calc(100% - 90px),transparent 100%)}
.board2::before,.board2::after{content:"";position:absolute;left:0;right:0;height:300px;pointer-events:none;background:radial-gradient(40% 60% at 20% 50%,rgba(225,225,215,.07),transparent 70%),radial-gradient(35% 55% at 62% 40%,rgba(225,225,215,.06),transparent 70%),radial-gradient(30% 50% at 88% 60%,rgba(225,225,215,.05),transparent 70%)}
.board2::before{top:90px}.board2::after{bottom:90px;transform:scaleY(-1)}
.chalk-decor{position:absolute;inset:0;pointer-events:none}
.cd{position:absolute;height:auto;opacity:.8}
.cd-wtl{left:10px;top:170px;width:230px}.cd-wtr{right:10px;top:170px;width:250px}
.cd-wbl{left:10px;bottom:160px;width:230px}.cd-wbr{right:10px;bottom:160px;width:220px}
.cd-sp1{left:150px;top:220px;width:56px;animation:dangle 4s ease-in-out infinite alternate;transform-origin:top center}
.cd-sp2{right:60px;top:330px;width:58px;animation:dangle 5s ease-in-out -2s infinite alternate;transform-origin:top center}
@keyframes dangle{from{transform:rotate(-4deg)}to{transform:rotate(4deg) translateY(10px)}}
.cd-candle{left:34px;top:24%;width:110px;transform:rotate(-4deg)}
.cd-bone1{left:24px;top:46%;width:130px;transform:rotate(-12deg)}
.cd-skull{right:26px;top:30%;width:135px;transform:rotate(5deg)}
.cd-bone3{right:30px;top:56%;width:130px;transform:rotate(14deg)}
.cd-potion{left:44px;top:64%;width:90px}
/* the slate tiles seamlessly, so the board simply grows to fit everything: no inner scroll */
.chalk-sec .board2{height:auto;padding:250px 0 270px}
.chalk-sec .slate{position:relative;top:auto;bottom:auto;left:auto;right:auto;margin:0 max(180px,calc(50% - 560px))}
.chalk-sec .slate-scroll{overflow:visible;-webkit-mask-image:none;mask-image:none;padding:24px 0 0}
.chalk-sec .scroll-hint{display:none}
@media (max-width:640px){.chalk-sec .board2{padding:170px 0 190px}.chalk-sec .slate{margin:0 22px}}
/* roomier lesson: darker see-through cards so the chalk shows through, more air around titles and cards, 5 skills a row */
.blueprint .skill{background:rgba(6,9,8,.42);padding:36px 16px 26px;gap:12px}
.blueprint .skills{grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 26px}
.blueprint .haz{background:rgba(6,9,8,.42);padding:18px 22px 18px 16px;gap:16px}
.blueprint .hazards{gap:22px 24px}
.chalk-h{margin-bottom:30px}
.chalk-h.haz-title{margin-top:72px;margin-bottom:12px}
.haz-intro{margin-bottom:32px;max-width:640px}
@media (max-width:1060px){.blueprint .skills{grid-template-columns:repeat(3,minmax(0,1fr))}.blueprint .hazards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.blueprint .skills{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.blueprint .hazards{grid-template-columns:minmax(0,1fr);gap:14px}.chalk-h{margin-bottom:20px}.chalk-h.haz-title{margin-top:48px}}
.cd-rip{right:max(200px,calc(50% - 520px));bottom:120px;width:120px;opacity:.55}
.cd-tally{left:max(200px,calc(50% - 520px));bottom:140px;width:80px;opacity:.55}
.cd-zob{left:calc(50% - 85px);bottom:100px;width:170px;opacity:.75}
@media (max-width:1200px){.cd-sp1,.cd-sp2,.cd-candle,.cd-bone1,.cd-bone3,.cd-skull,.cd-potion{display:none}.cd-wtl,.cd-wtr,.cd-wbl,.cd-wbr{width:150px}}
@media (max-width:640px){.cd-wtl,.cd-wtr,.cd-wbl,.cd-wbr{width:96px;opacity:.6}.cd-wtl,.cd-wtr{top:110px}.cd-wbl,.cd-wbr{bottom:100px}.cd-rip,.cd-tally{display:none}.cd-zob{width:110px;left:calc(50% - 55px);bottom:70px}}
.slate{position:absolute;top:240px;bottom:240px;left:max(180px,calc(50% - 560px));right:max(180px,calc(50% - 560px));display:flex;flex-direction:column}
.slate-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 1% 6px}
.slate-head>div{display:flex;flex-direction:column;gap:8px;max-width:640px}
.slate-head h2{font-size:clamp(26px,3.2vw,50px);font-weight:700}
.slate-head p{color:rgba(242,240,234,.82);font-size:clamp(14px,1.15vw,17px)}
.slate-sketch{width:clamp(110px,15vw,250px);height:auto;flex:none;opacity:.8;transform:rotate(-3deg)}
.slate-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:26px 14px 56px 6px;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 26px,#000 calc(100% - 56px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 26px,#000 calc(100% - 56px),transparent 100%);scrollbar-width:thin;scrollbar-color:rgba(242,240,234,.45) transparent}
.slate-scroll::-webkit-scrollbar{width:6px}
.slate-scroll::-webkit-scrollbar-thumb{background:rgba(242,240,234,.45);border-radius:3px}
.chalk-h{font-family:'Architects Daughter',cursive;font-weight:400;font-size:30px;color:#fff;margin:0 0 16px;display:flex;align-items:center;gap:10px}
.chalk-h small{font-size:18px;color:#ffe27a}
.chalk-h.haz-title{margin-top:44px}
.scroll-hint{position:absolute;right:1%;bottom:-6px;font-family:'Architects Daughter',cursive;font-size:15px;color:rgba(255,226,122,.85);transform:rotate(-2deg);animation:bob 1.8s ease-in-out infinite}
@media (max-width:900px){
  .board2{height:1000px;background-size:420px}
  .slate{top:170px;bottom:170px;left:22px;right:22px}
  .chalk-sec{margin:-80px 0 -40px}
  .slate-head{flex-direction:column;align-items:flex-start;gap:0}
  .slate-sketch{display:none}
  .blueprint .skills{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-template-rows:none;overflow:visible}
  .blueprint .hazards{grid-template-columns:minmax(0,1fr);grid-auto-flow:row;grid-template-rows:none;overflow:visible}
}
@media (max-width:640px){
  .strata{margin:-44px 0 -40px}
  .strata i{background-size:auto,120px;margin-top:-10px}
  .strata .l-grass{height:38px}.strata .l-soil{height:58px}.strata .l-bones{height:36px}.strata .l-earth{height:44px}.strata .l-deep{height:50px}
  .wpanel{padding:90px 0;min-height:0}
  .chalk-h{font-size:24px}
  .slate-scroll{padding:20px 4px 48px 2px}
}
/* divider art: one painted ground cross-section (grass, graves, mud, skulls, bones, rock and crystals) on transparent, full width */
.strata{width:100%;height:320px;aspect-ratio:auto;margin:-120px 0 -110px;background:url(/assets/home/ground_tile.webp) center/auto 100% repeat-x;filter:drop-shadow(0 -6px 14px rgba(0,0,0,.5)) drop-shadow(0 16px 22px rgba(0,0,0,.75))}
.strata i{display:none}
/* each divider travels from the world above into the world below */
.strata.st-mines{background-image:url(/assets/home/tr_mines.webp?v=2)}
.strata.st-frost{background-image:url(/assets/home/tr_frost.webp?v=2)}
.strata.st-hellfire{background-image:url(/assets/home/tr_hellfire.webp?v=2)}
.strata.st-lab{background-image:url(/assets/home/tr_lab.webp?v=2)}
@media (max-width:640px){.strata{height:170px;margin:-64px 0 -58px;background-image:url(/assets/home/ground_tile_m.webp)}
  .strata.st-mines{background-image:url(/assets/home/tr_mines_m.webp?v=2)}
  .strata.st-frost{background-image:url(/assets/home/tr_frost_m.webp?v=2)}
  .strata.st-hellfire{background-image:url(/assets/home/tr_hellfire_m.webp?v=2)}
  .strata.st-lab{background-image:url(/assets/home/tr_lab_m.webp?v=2)}}
/* daily card: the real Daily screen, with today's level playing as a picture-in-picture */
.feat.hero-f .daily-pic{position:relative;aspect-ratio:16/9;overflow:visible}
.daily-pic>img{border-radius:0}
.pip{position:absolute;right:-14px;bottom:-26px;width:46%;margin:0;border-radius:12px;overflow:hidden;border:3px solid #a6e83a;box-shadow:0 18px 40px rgba(0,0,0,.7);transform:rotate(2deg);background:#000}
.pip img{width:100%;height:auto;display:block}
.pip figcaption{position:absolute;left:8px;top:8px;background:rgba(11,8,24,.82);color:#fff;font-size:12px;font-weight:800;padding:3px 9px;border-radius:999px}
.feat.hero-f{overflow:visible}
.feat.hero-f .pic img{border-radius:26px 26px 0 0}
.chips-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.chips-row span{font-size:13px;font-weight:800;color:#d6ff8a;background:rgba(166,232,58,.1);border:1px solid rgba(166,232,58,.3);padding:4px 10px;border-radius:999px}
@media (max-width:640px){.pip{right:8px;bottom:-18px;width:52%}}
/* the board hangs between two waxy wooden rails (candles, skulls, chalk) instead of fading into the sections around it */
.rail{position:relative;z-index:3;height:270px;background:url(/assets/home/rail.webp) center/auto 100% repeat-x;pointer-events:none;filter:drop-shadow(0 12px 16px rgba(0,0,0,.65))}
.rail-top{margin-bottom:-150px}.rail-bot{margin-top:-130px}
/* pull the board up over the end of the Lab panel, so the top rail's candles stand against the Lab backdrop, not the page colour */
.chalk-sec{margin:-200px 0 0}
.wpanel.wp-lab{padding-bottom:300px}
/* spacing inside the slate (beats the global .zh h3/.zh p margin reset) */
.zh .slate .chalk-h{margin:0 0 34px}
.zh .slate .chalk-h.haz-title{margin:80px 0 14px}
.zh .slate .haz-intro{margin:0 0 40px}
.zh .slate .board-note{margin-top:40px}
/* tighter finish under the board: less slate below the cards, the bottom rail tucked up, and the gallery starting sooner */
.chalk-sec .board2{padding-bottom:110px}
.rail-bot{margin-bottom:-90px}
.chalk-sec+.sec{padding-top:40px}
.cd-rip,.cd-tally{display:none}
.cd-zob{bottom:14px;width:150px}
.cd-wbl,.cd-wbr{bottom:60px}
.chalk-sec .board2{padding:190px 0 210px;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 60px,#000 calc(100% - 60px),transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 60px,#000 calc(100% - 60px),transparent 100%)}
.chalk-sec .board2::before,.chalk-sec .board2::after{display:none}
@media (max-width:640px){.zh .slate .chalk-h{margin-bottom:22px}.zh .slate .chalk-h.haz-title{margin-top:56px}.zh .slate .haz-intro{margin-bottom:26px}.chalk-sec .board2{padding-bottom:80px}.rail-bot{margin-bottom:-50px}.rail{height:150px;background-image:url(/assets/home/rail_m.webp)}.rail-top{margin-bottom:-84px}.rail-bot{margin-top:-74px}.chalk-sec{margin-top:-110px}.wpanel.wp-lab{padding-bottom:170px}.chalk-sec .board2{padding:120px 0 140px}}
/* worlds intro: all five world backdrops in one banner, left to right in campaign order, blending diagonally into each other */
.worlds-intro{position:relative;overflow:hidden;isolation:isolate;padding:180px 0 170px}
.wi-bands{position:absolute;inset:0;z-index:-2}
.wi-bands i{position:absolute;inset:0;background-size:cover;background-position:center}
.wi-bands .b1{background-image:url(/assets/home/img/bg_graveyard.webp);-webkit-mask-image:linear-gradient(105deg,#000 0,#000 15%,transparent 27%);mask-image:linear-gradient(105deg,#000 0,#000 15%,transparent 27%)}
.wi-bands .b2{background-image:url(/assets/home/img/bg_mines.webp);-webkit-mask-image:linear-gradient(105deg,transparent 13%,#000 25%,#000 35%,transparent 47%);mask-image:linear-gradient(105deg,transparent 13%,#000 25%,#000 35%,transparent 47%)}
.wi-bands .b3{background-image:url(/assets/home/img/bg_frost.webp);-webkit-mask-image:linear-gradient(105deg,transparent 33%,#000 45%,#000 55%,transparent 67%);mask-image:linear-gradient(105deg,transparent 33%,#000 45%,#000 55%,transparent 67%)}
.wi-bands .b4{background-image:url(/assets/home/img/bg_volcano.webp);-webkit-mask-image:linear-gradient(105deg,transparent 53%,#000 65%,#000 75%,transparent 87%);mask-image:linear-gradient(105deg,transparent 53%,#000 65%,#000 75%,transparent 87%)}
.wi-bands .b5{background-image:url(/assets/home/img/bg_lab.webp);-webkit-mask-image:linear-gradient(105deg,transparent 73%,#000 85%,#000 100%);mask-image:linear-gradient(105deg,transparent 73%,#000 85%,#000 100%)}
.worlds-intro::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 60% 55% at 50% 48%,rgba(11,8,24,.82),rgba(11,8,24,.35) 75%,rgba(11,8,24,.25)),linear-gradient(180deg,#0b0818 0%,rgba(11,8,24,0) 20%,rgba(11,8,24,0) 78%,#0b0818 100%)}
.wi-names{position:absolute;left:0;right:0;bottom:56px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));text-align:center;font-family:Fredoka,sans-serif;font-weight:600;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.8);text-shadow:0 2px 8px #000}
@media (max-width:640px){.worlds-intro{padding:110px 0 120px}.wi-names{font-size:9px;letter-spacing:.06em;bottom:36px}}
/* header and hero sit on a wider grid so the hero copy hugs the left of the screen */
.top .wrap,.hero .wrap{max-width:1440px;padding:0 56px}
/* the hero is a flex row: without a width its inner column shrank to the copy and auto margins centred it */
.hero>.wrap,.wpanel>.wrap{width:100%;flex:1 1 auto}
/* hero copy on a soft see-through panel, so the video shows across the whole width and the copy still reads */
.hero .hero-copy{max-width:640px;padding:40px 44px 36px;border-radius:28px;background:rgba(8,5,18,.5);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(196,170,255,.16);box-shadow:0 30px 80px rgba(0,0,0,.45)}
.hero-media::after{background:linear-gradient(90deg,rgba(11,8,24,.55) 0%,rgba(11,8,24,.25) 40%,rgba(11,8,24,0) 70%),linear-gradient(180deg,rgba(11,8,24,.7) 0%,rgba(11,8,24,0) 22%,rgba(11,8,24,0) 70%,#0b0818 100%)}
@media (max-width:640px){.hero .hero-copy{padding:24px 20px 22px;border-radius:22px;background:rgba(8,5,18,.62)}}
/* the big slime logo leads the hero; the headline steps down a size under it */
.hero-logo{width:min(560px,100%);height:auto;margin:0 0 -6px -10px;filter:drop-shadow(0 12px 30px rgba(0,0,0,.65))}
.hero h1{font-size:72px}
.top .logo img{height:58px;width:auto}
@media (max-width:640px){.hero-logo{width:300px;margin:0 0 -4px -6px}.hero h1{font-size:38px}.top .logo img{height:42px}}
@media (max-width:640px){.top .wrap,.hero .wrap{padding:0 16px}}
/* drifting fog banks: one rolls in over the end of the TV section into the worlds banner, one rolls out of the banner into the Graveyard (painted fog on black, screen-blended so the black vanishes) */
.fogband{position:relative;z-index:4;height:320px;margin:-160px 0;pointer-events:none;background:none;mix-blend-mode:screen;animation:fogdrift 70s linear infinite}
.fog-b{animation-duration:95s;animation-direction:reverse;opacity:.9}
@keyframes fogdrift{to{background-position:1127px 50%}}
@media (max-width:640px){.fogband{height:190px;margin:-95px 0}@keyframes fogdrift{to{background-position:669px 50%}}}
@media (prefers-reduced-motion:reduce){.fogband{animation:none}}
/* Contact us: a modal styled as Moss Chewer's post office */
.navbtn,.linkbtn{background:none;border:0;padding:0;cursor:pointer;font:inherit}
.nav .navbtn{color:var(--ink);font-weight:700;font-size:16px;opacity:.86}
.nav .navbtn:hover{opacity:1;color:var(--slime)}
.menu nav .navbtn{color:var(--ink);font-weight:700;padding:12px 14px;border-radius:10px;text-align:left}
.foot .linkbtn{color:var(--ink);font-weight:600}
.foot .linkbtn:hover{color:var(--slime)}
.cmodal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:96px 24px 24px}
.cm-backdrop{position:absolute;inset:0;border:0;padding:0;background:rgba(5,3,12,.8);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);cursor:pointer}
.cm-card{position:relative;width:min(660px,100%);max-height:calc(100vh - 120px);overflow:auto;padding:92px 40px 34px;border-radius:28px;background:radial-gradient(ellipse at 50% 0%,#2a2052 0%,#18122f 55%,#120d26 100%);border:2px solid rgba(166,232,58,.45);box-shadow:0 0 0 6px rgba(166,232,58,.08),0 40px 100px rgba(0,0,0,.75);animation:cmIn .35s cubic-bezier(.2,1.3,.4,1) both}
@keyframes cmIn{from{transform:translateY(24px) scale(.96);opacity:0}}
.cm-moss{position:absolute;left:50%;top:-74px;width:150px;height:auto;transform:translateX(-50%) rotate(-4deg);filter:drop-shadow(0 14px 24px rgba(0,0,0,.6));animation:cmMoss 3s ease-in-out infinite alternate}
@keyframes cmMoss{to{transform:translateX(-50%) rotate(3deg) translateY(-4px)}}
.cmodal .cm-card{overflow:visible}
.cm-x{position:absolute;right:14px;top:14px;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.08);color:var(--ink);display:flex;align-items:center;justify-content:center;cursor:pointer}
.cm-x:hover{background:rgba(255,255,255,.16)}
.cm-head{text-align:center;display:flex;flex-direction:column;gap:8px;margin-bottom:24px}
.cm-head h2,.cm-done h2{font-size:38px;font-weight:700}
.cm-head p,.cm-done p{color:var(--mute)}
.cm-form{display:flex;flex-direction:column;gap:16px}
.cm-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cm-form label{display:flex;flex-direction:column;gap:7px;font-weight:800;font-size:14px;color:#e4dcf2}
.cm-form input[type=text],.cm-form input[type=email],.cm-form textarea{font:inherit;font-weight:600;font-size:16px;color:var(--ink);background:rgba(0,0,0,.32);border:1.5px solid rgba(196,170,255,.25);border-radius:14px;padding:13px 15px;outline:none;resize:vertical}
.cm-form input::placeholder,.cm-form textarea::placeholder{color:rgba(189,179,214,.55)}
.cm-form input:focus,.cm-form textarea:focus{border-color:var(--slime);box-shadow:0 0 0 4px rgba(166,232,58,.18)}
.cm-topics{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.cm-topics legend{font-weight:800;font-size:14px;color:#e4dcf2;margin-bottom:8px;padding:0}
.chip{position:relative;cursor:pointer}
.chip input{position:absolute;opacity:0;pointer-events:none}
.chip span{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;border:1.5px solid rgba(196,170,255,.25);background:rgba(0,0,0,.25);font-weight:700;font-size:14px;color:var(--ink)}
.chip input:checked+span{border-color:var(--slime);background:rgba(166,232,58,.14);color:#d6ff8a}
.chip input:focus-visible+span{box-shadow:0 0 0 4px rgba(166,232,58,.25)}
.cm-form .cm-check{flex-direction:row;align-items:center;gap:10px;font-weight:600;color:var(--mute)}
.cm-check input{width:20px;height:20px;accent-color:#a6e83a}
.cm-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:6px}
.cm-note{color:var(--mute);font-size:14px}
.cm-done{text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;padding:10px 0 6px}
.cm-tick{width:72px;height:72px;border-radius:50%;background:var(--slime);color:#10200a;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 10px rgba(166,232,58,.18)}
@media (max-width:640px){.cmodal{padding:84px 12px 12px;align-items:flex-start}.cm-card{padding:80px 18px 22px;border-radius:22px}.cm-moss{width:120px;top:-60px}.cm-row{grid-template-columns:minmax(0,1fr)}.cm-head h2,.cm-done h2{font-size:30px}.cm-actions .btn{width:100%}}
@keyframes drift{from{transform:translateY(10px)}to{transform:translateY(-18px)}}

/* trailer */
/* trailer: the TV sits on the stage of the Zoblins' cinema (the in-game Collection backdrop) */
/* trailer: the whole section is the in-game TV (Fail Cam frame, its room included); the screen holds a title card, then the film */
.trailer{position:relative;overflow:hidden;min-height:820px;display:flex;flex-direction:column;justify-content:center;padding:120px 0 130px;background:linear-gradient(180deg,#0b0818 0%,rgba(11,8,24,0) 14%,rgba(11,8,24,0) 82%,#0b0818 100%),url(/assets/home/tv_room2.webp) center 35%/cover no-repeat}
.tv{position:relative;width:min(62%,980px);margin:0 auto;aspect-ratio:2400/1311;filter:drop-shadow(0 34px 44px rgba(0,0,0,.7))}
.tv-frame{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}
/* scroll life: the room drifts slower than the page, the TV rises and grows into place as it scrolls in, and its screen throws a flickering glow on the room */
.trailer{background-attachment:scroll,fixed}
.trailer::before{content:"";position:absolute;left:50%;top:50%;width:90%;height:90%;transform:translate(-50%,-50%);background:radial-gradient(ellipse at center,rgba(150,190,255,.18),rgba(150,190,255,0) 60%);pointer-events:none;animation:tvGlow 2.6s steps(1) infinite}
@keyframes tvGlow{0%,100%{opacity:1}23%{opacity:.7}26%{opacity:1}61%{opacity:.82}64%{opacity:1}}
@supports (animation-timeline:view()){
  .tv{animation:tvIn linear both;animation-timeline:view();animation-range:entry 0% cover 42%}
  @keyframes tvIn{from{transform:translateY(90px) scale(.78);opacity:.25}to{transform:none;opacity:1}}
}
@media (prefers-reduced-motion:reduce){.tv{animation:none}.trailer::before{animation:none}}
.tv-screen{position:absolute;left:11.9%;top:11.6%;width:76.1%;height:73.3%;border-radius:3% / 5.5%;overflow:hidden;background:#000;z-index:1}
.tv-screen video{width:100%;height:100%;object-fit:cover;display:block;background:#000}
.tv-card{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;padding:4% 10%;background:radial-gradient(ellipse at 50% 45%,rgba(11,8,24,.35),rgba(11,8,24,.88) 80%),url(/assets/home/img/bg_graveyard.webp) center/cover}
.tv-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(0,0,0,.22) 0 2px,transparent 2px 4px);mix-blend-mode:multiply}
.tv-card h2{font-size:40px;font-weight:700;text-shadow:0 4px 24px rgba(0,0,0,.9)}
.tv-card p{color:#e4dcf2;font-size:17px;max-width:560px;text-shadow:0 2px 12px rgba(0,0,0,.9)}
.tv-live{display:inline-flex;align-items:center;gap:8px;background:#c8102e;color:#fff;font-family:Fredoka,sans-serif;font-weight:700;font-size:14px;letter-spacing:.16em;padding:5px 12px;border-radius:4px}
.tv-live i{width:8px;height:8px;border-radius:50%;background:#fff;animation:blink 1s steps(2) infinite}
@keyframes blink{50%{opacity:0}}
.tv-play{position:relative;z-index:1;margin-top:6px}
.tv-cap{color:#cfc6e2;font-size:14px;font-weight:700}
.tv-head-m{display:none}

/* worlds */
.worlds{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}
.world{grid-column:span 2;position:relative;border-radius:26px;overflow:hidden;background:var(--card);border:1px solid var(--line);display:flex;flex-direction:column}
.world.wide{grid-column:span 3}
.world .pic{position:relative;aspect-ratio:16/9;overflow:hidden}
.world .pic img{width:100%;height:100%;object-fit:cover}
.world .badge{position:absolute;left:18px;bottom:-34px;width:84px;height:auto;filter:drop-shadow(0 6px 14px rgba(0,0,0,.6))}
.world .body{padding:22px 24px 26px;display:flex;flex-direction:column;gap:8px}
.world .tag{font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--mute)}
.world h3{font-size:28px}
.world p{color:var(--mute);font-size:16px}
.lvl{position:absolute;right:16px;top:16px;background:rgba(11,8,24,.72);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:800;color:var(--ink)}

/* skills */
.skills{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
.skill{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:20px 12px 22px;border-radius:22px;background:var(--card);border:1px solid var(--line)}
.skill img{width:96px;height:96px}
.skill h4{font-size:19px}
.skill p{font-size:14px;line-height:1.45;color:var(--mute)}
.skill.more{justify-content:center;background:transparent;border-style:dashed}
.skill.more b{font-family:Fredoka,sans-serif;font-size:20px}
.haz-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:88px 0 32px}
.haz-head h3{font-size:36px}
.haz-head p{color:var(--mute);max-width:520px}
.hazards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.haz{display:flex;gap:14px;align-items:center;padding:12px 16px 12px 12px;border-radius:18px;background:var(--bg2);border:1px solid var(--line)}
.haz img{width:60px;height:60px;flex:none}
.haz b{font-family:Fredoka,sans-serif;font-weight:600;font-size:17px;display:block;line-height:1.2}
.haz span{font-size:13.5px;color:var(--mute);line-height:1.4;display:block}

/* gallery */
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.shot{margin:0;display:flex;flex-direction:column;gap:12px}
.shot .ph{aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:var(--card2);border:1px solid var(--line);position:relative}
.shot .ph img{width:100%;height:100%;object-fit:cover}
.shot.big{grid-column:span 2;grid-row:span 2}
.shot.big .ph{aspect-ratio:auto;flex:1}
.shot figcaption{font-size:15px;color:var(--mute)}
.shot figcaption b{color:var(--ink)}
.slot{position:absolute;left:12px;top:12px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:rgba(11,8,24,.75);color:var(--gold);padding:5px 10px;border-radius:8px}

/* features */
.bento{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
.feat{grid-column:span 2;background:var(--card);border:1px solid var(--line);border-radius:26px;padding:28px;display:flex;flex-direction:column;gap:10px}
.feat img.ic{width:64px;height:64px;margin-bottom:6px}
.feat h3{font-size:24px}
.feat p{color:var(--mute);font-size:16px}
.feat.hero-f{grid-column:span 3;padding:0;overflow:hidden}
.feat.hero-f .pic{aspect-ratio:2/1;overflow:hidden}
.feat.hero-f .pic img{width:100%;height:100%;object-fit:cover}
.feat.hero-f .txt{padding:26px 28px 30px;display:flex;flex-direction:column;gap:10px}

/* moss + platforms */
.moss{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center}
.moss-art{position:relative;aspect-ratio:1/1;border-radius:50%;overflow:hidden;background:url(/assets/home/moss_bg.webp) center/cover;display:flex;align-items:flex-end;justify-content:center;box-shadow:0 0 0 6px rgba(143,92,224,.35),0 30px 70px rgba(0,0,0,.6)}
.moss-art::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 60px rgba(0,0,0,.65);pointer-events:none}
.moss-art img{width:86%;height:auto;position:relative;z-index:1;margin-bottom:-2%}
.quote{font-family:Fredoka,sans-serif;font-size:30px;line-height:1.3;font-weight:500}
.quote small{display:block;font-family:Nunito,sans-serif;font-size:16px;color:var(--mute);margin-top:12px;font-weight:700}
.plats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:36px}
.plat{border-radius:20px;padding:20px;background:var(--card);border:1px solid var(--line);display:flex;flex-direction:column;gap:6px}
.plat svg{width:28px;height:28px;color:var(--ink)}
.plat b{font-family:Fredoka,sans-serif;font-size:20px;font-weight:600}
.plat .st{font-size:14px;font-weight:800}
.plat .st.on{color:var(--slime)}
.plat .st.soon{color:var(--gold)}
.plat.live{background:linear-gradient(180deg,#22351a,#18122f);border-color:rgba(166,232,58,.35)}

/* update + faq */
.two{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px;align-items:start}
.upd{background:var(--card);border:1px solid var(--line);border-radius:26px;padding:32px;display:flex;flex-direction:column;gap:16px}
.upd time{font-size:14px;font-weight:800;color:var(--gold);letter-spacing:.06em;text-transform:uppercase}
.upd h3{font-size:28px}
.upd ul{margin:0;padding-left:20px;color:var(--mute);display:flex;flex-direction:column;gap:8px}
.faq{display:flex;flex-direction:column;gap:12px}
.faq details{background:var(--bg2);border:1px solid var(--line);border-radius:18px;padding:0 22px}
.faq summary{cursor:pointer;list-style:none;font-family:Fredoka,sans-serif;font-weight:600;font-size:19px;padding:18px 0;display:flex;justify-content:space-between;gap:16px;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--slime);font-size:26px;line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq details p{color:var(--mute);padding-bottom:20px}

/* final cta */
.final{position:relative;overflow:hidden;isolation:isolate;text-align:center;padding:140px 0}
.final .bgimg{position:absolute;inset:0;z-index:-1}
.final .bgimg img{width:100%;height:100%;object-fit:cover;opacity:.55}
.final .bgimg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0b0818 0%,rgba(11,8,24,.55) 40%,rgba(11,8,24,.7) 100%)}
.final h2{font-size:64px;font-weight:700}
.final p{color:#ded6f0;font-size:20px;margin:18px auto 34px;max-width:560px}

/* footer */
.foot{border-top:1px solid var(--line);background:#080612;padding:56px 0 40px}
.foot .wrap{display:grid;grid-template-columns:minmax(0,4fr) repeat(3,minmax(0,2fr));gap:32px}
.foot img{height:48px;width:auto}
.foot h4{font-size:15px;color:var(--mute);text-transform:uppercase;letter-spacing:.1em;margin-bottom:12px;font-family:Nunito,sans-serif;font-weight:800}
.foot ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.foot a{color:var(--ink);text-decoration:none;font-weight:600}
.foot a:hover{color:var(--slime)}
.foot .small{color:var(--mute);font-size:14px;margin-top:14px;max-width:340px}
.foot .legal{grid-column:1/-1;border-top:1px solid var(--line);padding-top:24px;margin-top:8px;color:var(--mute);font-size:14px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

/* tablet */
@media (max-width:1060px){
  .nav{display:none}.menu{display:block}
  .top .btn{margin-left:0}
  .hero h1{font-size:60px}
  .skills{grid-template-columns:repeat(4,minmax(0,1fr))}
  .hazards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .world,.world.wide{grid-column:span 3}
  .feat,.feat.hero-f{grid-column:span 3}
  .two,.moss{grid-template-columns:minmax(0,1fr)}
  .moss-art{max-width:360px;margin:0 auto}
  .tv{width:86%}
  .tv-card p{display:none}
  .tv-card h2{font-size:32px}
}
/* phone */
@media (max-width:640px){
  .zh{font-size:16px}
  .wrap{padding:0 16px}
  .sec{padding:72px 0}
  .sec-head{margin-bottom:36px}
  .sec-head h2{font-size:36px}
  .sec-head p{font-size:17px}
  .top .wrap{height:72px;gap:12px}
  .top .logo img{height:42px}
  .top .btn{min-height:44px;padding:0 18px;font-size:15px}
  .hero{min-height:0;display:block;padding:0 0 48px}
  .hero-media{position:relative;inset:auto;height:420px}
  .hero-media img,.hero-media video{object-position:50% 50%}
  .hv-wide{display:none !important}
  .hv-tall{display:block !important}
  .fc-rec{top:84px;right:16px;font-size:15px}
  .fc-time{right:16px;bottom:84px;font-size:12px}
  .hero-media{height:480px}
  .hero-media::after{background:linear-gradient(180deg,rgba(11,8,24,.75) 0%,rgba(11,8,24,0) 26%,rgba(11,8,24,0) 55%,#0b0818 100%)}
  .hero-copy{margin-top:-64px;position:relative;gap:20px}
  .hero h1{font-size:42px}
  .hero .lede{font-size:18px}
  .cta-row .btn{width:100%}
  .vidtag{right:16px;top:330px;bottom:auto}
  .stats .wrap{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}
  .stat{padding:22px 16px;border-left:0;border-top:1px solid var(--line)}
  .stat:nth-child(even){border-left:1px solid var(--line)}
  .stat:nth-child(-n+2){border-top:0}
  .stat b{font-size:36px}
  .steps,.worlds,.bento,.gallery,.plats{grid-template-columns:minmax(0,1fr)}
  .world,.world.wide,.feat,.feat.hero-f,.shot.big{grid-column:auto;grid-row:auto}
  .shot.big .ph{aspect-ratio:16/9}
  .step{border-left:0;border-top:1px solid rgba(0,0,0,.5)}
  .step:first-child{border-top:0}
  .steps.process{gap:28px;grid-template-columns:minmax(0,1fr)}
  .process .step:not(:last-child)::before,.process .step:not(:last-child)::after{display:none}
  .process .step .art{max-width:340px}
  .skills{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .skill img{width:80px;height:80px}
  .hazards{grid-template-columns:minmax(0,1fr)}
  .haz-head{flex-direction:column;align-items:flex-start;margin:64px 0 24px}
  .haz-head h3{font-size:30px}
  .trailer{background-attachment:scroll;min-height:0;padding:64px 0 80px;background-image:linear-gradient(180deg,#0b0818 0%,rgba(11,8,24,.2) 18%,rgba(11,8,24,.2) 80%,#0b0818 100%),url(/assets/home/tv_room_m.webp);background-position:center 30%}
  .tv-head-m{display:flex}
  .tv{width:96%}
  .tv-card h2,.tv-card p,.tv-card .tv-cap{display:none}
  .tv-card{gap:8px}
  .tv-play{min-height:44px;padding:0 18px;font-size:15px}
  .quote{font-size:23px}
  .band{min-height:340px;background-attachment:scroll}
  .worlds-intro{padding:72px 0 40px}
  .worlds-intro h2{font-size:38px}
  .worlds-intro p{font-size:17px}
  .wpanel::after{background-attachment:scroll}
  .wgrid,.wgrid.flip{grid-template-columns:minmax(0,1fr);gap:20px}
  .wgrid .wshot,.wgrid.flip .wshot{order:-1;transform:none}
  .wgrid.flip .wcard{order:0}
  .wcard{padding:22px;border-radius:22px}
  .wcard h3{font-size:34px}
  .chips img{width:42px;height:42px}
  .moss-say img{width:60px;height:60px}
  .moss-say q{font-size:16px}
  .sec-swamp{background-attachment:scroll}
  .sec-mines{background-attachment:scroll}

  .ch-builder{width:190px;right:-24px;top:24px;opacity:.35}
  .ch-clinger,.ch-digger,.ch-blocker,.ch-boomer{display:none}
  .ch-brolly{left:12%;bottom:120px;width:130px}
  .ch-springer{left:auto;right:10%;bottom:110px;width:150px}
  .titleblock{left:20px;right:20px;bottom:24px;font-size:11px}
  .board{--bw:calc(100cqw - 12px);padding:0 6px}
  .board-head{flex-direction:column;align-items:flex-start;gap:4px;margin-top:0}
  .board-title h2{font-size:30px}
  .board-title p{font-size:15px}
  .board-sketch{width:150px;align-self:flex-end;margin-top:-8px}
  .tab{font-size:18px;padding:6px 10px}
  .tabpanel{min-height:0}
  .board-note{flex-direction:column;gap:2px;font-size:13px}
  .band h2{font-size:38px}
  .band p{font-size:17px}
  .step .txt{padding:0 20px 26px}
  .final{padding:96px 0}
  .final h2{font-size:42px}
  .final .btn{width:100%}
  .foot .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot .brand{grid-column:1/-1}
}

/* ---- live-page additions (not in the design canvas) ---- */
[hidden]{display:none !important}
.hp{position:absolute !important;left:-9999px;width:1px;height:1px;overflow:hidden}
.cm-error{color:#ff9d8f;font-weight:700;font-size:14px;margin:0}
.cm-error a{color:#ffe27a}
.cm-actions .btn[disabled]{opacity:.6;cursor:wait}
.tv-screen video{width:100%;height:100%;object-fit:cover;display:block;background:#000}
body.modal-open{overflow:hidden}
:focus-visible{outline:3px solid #a6e83a;outline-offset:3px}
.skip{position:absolute;left:-9999px;top:8px;z-index:200;background:#a6e83a;color:#10200a;padding:10px 16px;border-radius:10px;font-weight:800}
.skip:focus{left:16px}

/* ---- performance: same look, far less work for the browser ----
   1. fog: alpha fog image (no blend mode) slid with a GPU transform instead of repainting background-position
   2. pinned backdrops: a position:fixed layer clipped by its panel (composited) instead of background-attachment:fixed (repaints every scroll)
   3. no backdrop blur on the five world cards */
.fogband{background:none;mix-blend-mode:normal;animation:none;overflow:hidden}
.fogband::before{content:"";position:absolute;top:0;bottom:0;left:0;width:calc(100% + 1127px);background:url(/assets/home/fog_a.webp) 0 50%/auto 100% repeat-x;animation:fogslide 70s linear infinite;will-change:transform}
.fog-b::before{animation-duration:95s;animation-direction:reverse}
@keyframes fogslide{to{transform:translateX(-1127px)}}
.wpanel{clip-path:inset(0)}
.wpanel::after{position:fixed;background-attachment:scroll;-webkit-mask-image:none;mask-image:none}
.strata+.wpanel::after{-webkit-mask-image:none;mask-image:none}
.trailer,.sec-swamp,.sec-mines,.band{background-attachment:scroll}
.wcard{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(14,10,30,.9)}
@media (max-width:640px){
  .fogband::before{width:calc(100% + 669px)}
  @keyframes fogslide{to{transform:translateX(-669px)}}
  .wpanel{clip-path:none}
  .wpanel::after{position:absolute}
}
@media (prefers-reduced-motion:reduce){.fogband::before{animation:none}}
/* 4. the chalkboard: no mask on the 2000px board (its animated spiders made the browser re-mask the whole board every frame); the wooden rails hide its edges anyway */
.chalk-sec .board2,.blueprint{-webkit-mask-image:none;mask-image:none}
/* phone: the five world names are too long for one row each; short labels, two lines */
@media (max-width:640px){.wi-names{font-size:8.5px;letter-spacing:.04em;line-height:1.25}.wi-names span{padding:0 2px;white-space:normal}}

/* ---- support.html / updates.html ---- */
.doc-page .top{position:relative;background:rgba(11,8,24,.9);border-bottom:1px solid var(--line)}
.doc-hero{padding:72px 0 40px;background:radial-gradient(ellipse at 30% 0%,#241a49 0%,#0b0818 70%)}
.doc-hero .wrap{display:flex;flex-direction:column;gap:16px;max-width:860px}
.doc-hero h1{font-size:56px;font-weight:700}
.doc-hero .lede{font-size:19px;color:#ded6f0;max-width:680px}
.doc-small{color:var(--mute);font-size:15px}
.doc-body{max-width:860px;padding-bottom:96px;display:flex;flex-direction:column;gap:22px}
.doc-body section,.doc-body article{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:28px 30px}
.zh .doc-body h2{font-size:26px;margin-bottom:12px}
.zh .doc-body p{color:#d8d0ea;margin:0 0 12px}
.doc-body ul{margin:0;padding-left:22px;color:#d8d0ea;display:flex;flex-direction:column;gap:8px}
.doc-body time{display:block;color:var(--gold);font-weight:800;font-size:14px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px}
.linkbtn.inline{color:var(--slime);font-weight:800;text-decoration:underline}
@media (max-width:640px){.doc-hero{padding:48px 0 28px}.doc-hero h1{font-size:38px}.doc-body section,.doc-body article{padding:22px 18px}}

/* ---- About / How to Play / Privacy: long text on the homepage look ---- */
.prose{gap:0}
.zh .prose h2{font-size:30px;margin:44px 0 14px;color:#fff}
.zh .prose h2:first-child{margin-top:8px}
.zh .prose h3{font-size:20px;margin:24px 0 8px}
.zh .prose p,.prose li{color:#d8d0ea;font-size:17px}
.zh .prose p{margin:0 0 14px}
.prose ol,.prose ul{margin:0 0 16px;padding-left:24px;display:flex;flex-direction:column;gap:10px;color:#d8d0ea}
.prose a{font-weight:700}
.prose .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;margin:6px 0 18px}
.prose .card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px 20px;color:#d8d0ea;line-height:1.5}
.prose .card b{font-family:Fredoka,sans-serif;font-weight:600;font-size:18px;color:var(--slime)}
.prose kbd{display:inline-block;min-width:26px;padding:1px 8px;border-radius:7px;background:#241a49;border:1px solid var(--line);font:600 14px Fredoka,sans-serif;color:#fff;text-align:center}
@media (max-width:640px){.zh .prose h2{font-size:25px;margin-top:34px}.prose .grid{grid-template-columns:minmax(0,1fr)}}

/* ---- fixes after Mikey's localhost review ----
   1. world panels: each pinned backdrop fades out to the page colour over the top and bottom ~40% of its panel, so one world
      blends into the next about half way between their cards (the fixed layer can't carry a panel-relative mask), and the
      Graveyard no longer starts on a hard line under the fog
   2. backdrop bands ("Something new every day"): the parallax is back, as a pinned layer clipped by the band (cheap) instead
      of background-attachment:fixed */
.wpanel::before{display:block;content:"";position:absolute;inset:0;height:auto;z-index:-1;pointer-events:none;animation:none;
  background:linear-gradient(180deg,#0b0818 0%,rgba(11,8,24,.55) 16%,rgba(11,8,24,0) 40%,rgba(11,8,24,0) 60%,rgba(11,8,24,.55) 84%,#0b0818 100%)}
.band{clip-path:inset(0)}
.band::after{content:"";position:fixed;inset:0;z-index:-2;background-image:var(--bbg);background-size:cover;background-position:center}
@media (max-width:640px){.band{clip-path:none}.band::after{position:absolute}}
.band::before{inset:-2px 0;background:linear-gradient(180deg,#0b0818 0%,rgba(11,8,24,.25) 30%,rgba(11,8,24,.25) 66%,#0b0818 94%,#0b0818 100%)}
.band.alt::before{inset:-2px 0}
.band{clip-path:inset(2px 0)}   /* hides the 1px of pinned image the clip edge lets through */
@media (max-width:640px){.band{clip-path:none}}
.wpanel{clip-path:inset(2px 0)}
@media (max-width:640px){.wpanel{clip-path:none}}
/* "Something new every day": the lab backdrop carries on down behind the top half of the feature cards, then fades out */
.band-lab{padding-bottom:300px}
.band-lab+#features{margin-top:-300px;position:relative;z-index:1;background:none}
@media (max-width:640px){.band-lab{padding-bottom:180px}.band-lab+#features{margin-top:-180px}}

/* Jobs and hazards cards: hazards drawn like the job cards */
.blueprint .skill.hz::before{content:"HAZARD " counter(skill,decimal-leading-zero);color:#ff9d8f}
.blueprint .skill.hz{border-color:rgba(255,190,180,.8)}

/* Cards: paper base (the parchment block below replaces the paper) */
.chalk-sec .blueprint .skills{gap:34px 30px}
.chalk-sec .blueprint .skill{--tilt:-1.6deg;transform:rotate(var(--tilt));border:0;border-radius:3px 6px 4px 7px;padding:40px 14px 22px;background:radial-gradient(120% 90% at 30% 20%,#f6efdc 0%,#ece1c6 62%,#dccdab 100%);box-shadow:0 10px 18px rgba(0,0,0,.45),0 2px 3px rgba(0,0,0,.35)}
.chalk-sec .blueprint .skill:nth-child(3n+2){--tilt:1.2deg}
.chalk-sec .blueprint .skill:nth-child(3n){--tilt:-.5deg}
.chalk-sec .blueprint .skill:nth-child(4n+1){--tilt:2deg}
.chalk-sec .blueprint .skill:hover{transform:rotate(0) translateY(-4px) scale(1.03);background:radial-gradient(120% 90% at 30% 20%,#fbf5e6 0%,#f0e6cd 62%,#e0d2b1 100%)}
/* two strips of tape across the top corners, drawn as diagonal bands in corner squares */
.chalk-sec .blueprint .skill::after{content:"";position:absolute;left:-13px;right:-13px;top:-13px;height:46px;pointer-events:none;background:linear-gradient(135deg,transparent 30%,rgba(236,230,205,.78) 30%,rgba(236,230,205,.78) 64%,transparent 64%) left top/46px 46px no-repeat,linear-gradient(225deg,transparent 30%,rgba(236,230,205,.78) 30%,rgba(236,230,205,.78) 64%,transparent 64%) right top/46px 46px no-repeat;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25))}
.chalk-sec .blueprint .skill::before{left:50%;top:12px;transform:translateX(-50%);white-space:nowrap;color:#7a6a52;font-size:12px}
.chalk-sec .blueprint .skill img{outline-color:rgba(60,45,30,.35)}
.chalk-sec .blueprint .skill h4{color:#2b2130}
.chalk-sec .blueprint .skill p{color:#4c4150}
.chalk-sec .blueprint .skill.hz{background:radial-gradient(120% 90% at 30% 20%,#f8e8dc 0%,#efd6c4 62%,#e0bea8 100%)}
.chalk-sec .blueprint .skill.hz::before{color:#b8322a}
.chalk-sec .blueprint .skill.hz h4{color:#5a1612}
/* the guide link is a yellow sticky note */
.chalk-sec .blueprint .skill.more{background:linear-gradient(180deg,#ffe98a,#f7d54e);border:0}
.chalk-sec .blueprint .skill.more::before{color:#7a5c00}
.chalk-sec .blueprint .skill.more::after{background:linear-gradient(180deg,rgba(236,230,205,.8),rgba(236,230,205,.8)) center top/70px 26px no-repeat}
.chalk-sec .blueprint .skill.more b,.chalk-sec .blueprint .skill.more p{color:#3a2a00}

/* Cards on old parchment (ChatGPT, 4 scraps cycled so neighbours differ); shadow is baked into the images */
.chalk-sec .blueprint .skill:not(.more){border-radius:0;box-shadow:none;padding:52px 12% 34px;background:url(/assets/home/parch/parch1.webp?v=1) center/100% 100% no-repeat}
.chalk-sec .blueprint .skill:not(.more):nth-child(4n+2){background-image:url(/assets/home/parch/parch2.webp?v=1)}
.chalk-sec .blueprint .skill:not(.more):nth-child(4n+3){background-image:url(/assets/home/parch/parch3.webp?v=1)}
.chalk-sec .blueprint .skill:not(.more):nth-child(4n){background-image:url(/assets/home/parch/parch4.webp?v=1)}
.chalk-sec .blueprint .skill::after{content:none}
.chalk-sec .blueprint .skill::before{top:28px;color:#6b4a25}
.chalk-sec .blueprint .skill h4{color:#2a1a0e}
.chalk-sec .blueprint .skill p{color:#4a3320}
.chalk-sec .blueprint .skill img{outline-color:rgba(70,40,15,.4)}
.chalk-sec .blueprint .skill.hz::before{color:#a3241c}
.chalk-sec .blueprint .skill.hz h4{color:#5a140f}
.chalk-sec .blueprint .skill.more,.chalk-sec .blueprint .skill.more:hover{background:linear-gradient(180deg,#ffe98a,#f7d54e);box-shadow:0 10px 18px rgba(0,0,0,.45);padding:40px 14px 22px}
.chalk-sec .blueprint .skill.more::after{content:""}
.chalk-sec .blueprint .skill.more::before{top:12px}
@media (max-width:640px){.chalk-sec .blueprint .skill:not(.more){padding:40px 13% 30px}}


/* Belts: jobs, then hazards, each two rows of big parchment cards drifting sideways (hazards the other way), faded at the sides.
   Pauses on hover, focus or touch; off screen it stops. Without JS or with reduced motion it is a sideways-scrolling strip. */
.chalk-sec .belt{overflow-x:auto;overflow-y:hidden;margin:0 -24px;padding:26px 24px 34px;scrollbar-width:thin;scrollbar-color:rgba(242,240,234,.45) transparent;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%)}
.chalk-sec .belt:focus-visible{outline:3px dashed #ffe27a;outline-offset:-3px}
.chalk-sec .belt-track{display:flex;width:max-content}
.chalk-sec .blueprint .belt-set{display:grid;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:250px;grid-template-columns:none;gap:30px 30px;padding-right:30px}
.chalk-sec .belt.run{overflow:hidden}
.chalk-sec .belt.run .belt-track{animation:belt var(--dur,80s) linear infinite;animation-play-state:paused}
.chalk-sec .belt-rev.run .belt-track{animation-direction:reverse}
.chalk-sec .belt.run.on .belt-track{animation-play-state:running}
.chalk-sec .belt.run:hover .belt-track,.chalk-sec .belt.run:focus-within .belt-track,.chalk-sec .belt.run:active .belt-track{animation-play-state:paused}
.chalk-sec .blueprint .belt .skill:not(.more){padding:56px 13% 40px}
.chalk-sec .blueprint .belt .skill img{width:96px;height:96px}
.chalk-sec .blueprint .belt .skill h4{font-size:25px}
/* the description sits on a black chalk label so it reads on any stain */
.chalk-sec .blueprint .belt .skill:not(.more) p{background:rgba(14,11,9,.88);color:#f4efe4;border:2px dotted rgba(242,240,234,.7);border-radius:8px;padding:8px 10px;font-size:14.5px;line-height:1.4;margin-top:2px;width:100%}
.chalk-sec .blueprint .belt .skill.more{justify-content:center}
.zh .slate .chalk-h.haz-title{margin-top:56px}
@media (max-width:640px){
  .chalk-sec .belt{margin:0 -16px;padding:20px 16px 26px}
  .chalk-sec .blueprint .belt-set{grid-auto-columns:200px;gap:20px 18px;padding-right:18px}
  .chalk-sec .blueprint .belt .skill:not(.more){padding:48px 13% 34px}
  .chalk-sec .blueprint .belt .skill img{width:80px;height:80px}
  .chalk-sec .blueprint .belt .skill h4{font-size:21px}
  .chalk-sec .blueprint .belt .skill:not(.more) p{font-size:13.5px;padding:6px 8px}
  .zh .slate .chalk-h.haz-title{margin-top:40px}
}

/* Moss Chewer's circle comes alive: the swamp drifts slowly, Moss sways and breathes, fireflies rise (transform/opacity only) */
.moss-art{background:none;isolation:isolate}
.moss-art::before{content:"";position:absolute;inset:-6%;z-index:-1;background:url(/assets/home/moss_bg.webp) center/cover;animation:mossBg 26s ease-in-out infinite alternate}
.moss-art img{transform-origin:50% 100%;animation:mossSway 5.5s ease-in-out infinite}
.moss-flies{position:absolute;inset:0;z-index:2;pointer-events:none}
.moss-flies::before,.moss-flies::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 70%,#e9ff9a 0 3px,rgba(200,255,120,.35) 4px,transparent 9px),radial-gradient(circle at 74% 58%,#e9ff9a 0 2.5px,rgba(200,255,120,.3) 4px,transparent 8px),radial-gradient(circle at 40% 84%,#e9ff9a 0 2px,rgba(200,255,120,.3) 3px,transparent 7px),radial-gradient(circle at 86% 80%,#e9ff9a 0 2px,rgba(200,255,120,.3) 3px,transparent 7px);animation:mossFly 7s ease-in-out infinite}
.moss-flies::after{background:radial-gradient(circle at 28% 50%,#e9ff9a 0 2px,rgba(200,255,120,.3) 3px,transparent 7px),radial-gradient(circle at 62% 76%,#e9ff9a 0 3px,rgba(200,255,120,.35) 4px,transparent 9px),radial-gradient(circle at 12% 40%,#e9ff9a 0 2px,rgba(200,255,120,.3) 3px,transparent 7px),radial-gradient(circle at 80% 38%,#e9ff9a 0 2.5px,rgba(200,255,120,.3) 4px,transparent 8px);animation-duration:9s;animation-delay:-4s}
@keyframes mossBg{0%{transform:scale(1) translate(0,0)}100%{transform:scale(1.1) translate(-2.5%,1.5%)}}
@keyframes mossSway{0%,100%{transform:rotate(-1.6deg) scaleY(1)}50%{transform:rotate(1.6deg) scaleY(1.025)}}
@keyframes mossFly{0%{transform:translate(0,12%);opacity:0}20%{opacity:1}55%{opacity:.35}75%{opacity:1}100%{transform:translate(4%,-26%);opacity:0}}
@media (prefers-reduced-motion:reduce){.moss-art::before,.moss-art img,.moss-flies::before,.moss-flies::after{animation:none}.moss-flies::after{opacity:0}}

/* Belts v2: four single rows (each row runs the other way to the one above), picture + name only, edge to edge across the
   board (over the chalk drawings), faded at the screen edges; the guide links are buttons under each pair */
.chalk-sec .belt{position:relative;z-index:2;width:100cqw;margin:0 0 0 calc(50% - 50cqw);padding:14px 0 18px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%)}
.chalk-sec .belt:not(.run){padding-left:24px;padding-right:24px}
.chalk-sec .blueprint .belt-set{grid-template-rows:none;grid-auto-columns:200px;gap:0 28px;padding-right:28px}
.chalk-sec .blueprint .belt .skill:not(.more){padding:50px 14% 34px;gap:10px}
.chalk-sec .blueprint .belt .skill img{width:104px;height:104px}
.chalk-sec .blueprint .belt .skill h4{font-size:24px;line-height:1.1}
.belt-more{display:flex;justify-content:center;margin:22px 0 0}
.belt-more .btn{font-family:'Architects Daughter',cursive;font-size:20px;box-shadow:inset 0 0 0 2px rgba(242,240,234,.55);border-radius:255px 18px 225px 18px/18px 225px 18px 255px}
.belt-more .btn:hover{box-shadow:inset 0 0 0 2px #ffe27a;color:#ffe27a}
@media (max-width:640px){
  .chalk-sec .belt{padding:10px 0 14px}
  .chalk-sec .blueprint .belt-set{grid-auto-columns:150px;gap:0 18px;padding-right:18px}
  .chalk-sec .blueprint .belt .skill:not(.more){padding:40px 14% 28px}
  .chalk-sec .blueprint .belt .skill img{width:80px;height:80px}
  .chalk-sec .blueprint .belt .skill h4{font-size:19px}
  .belt-more .btn{font-size:17px}
}
@keyframes belt{to{transform:translateX(calc(-1 * var(--shift,50%)))}}
.chalk-sec .blueprint .belt .skill::before{content:none}
.chalk-sec .blueprint .belt .skill:not(.more){padding-top:30px}
.belt-more{position:relative;z-index:2}
@media (max-width:640px){.chalk-sec .blueprint .belt .skill:not(.more){padding-top:24px}}
.chalk-sec .belt.run .belt-track{will-change:transform}
.belt-more .btn{background:#1b1e20}
/* no edge fade; pause only while the mouse is over a row or it has keyboard focus (a click left it paused before) */
.chalk-sec .belt{-webkit-mask-image:none;mask-image:none}
.chalk-sec .belt.run:focus-within .belt-track,.chalk-sec .belt.run:active .belt-track{animation-play-state:running}
.chalk-sec .belt.run.on:hover .belt-track,.chalk-sec .belt.run.on:focus-visible .belt-track{animation-play-state:paused}
.chalk-sec .blueprint .belt-set{align-items:start}

/* Card pop-up: click a job or hazard card on the board to read what it does, on a big parchment note */
.cardpop{align-items:center;padding:24px}
.cp-card{position:relative;width:min(420px,100%);padding:56px 44px 46px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;background:url(/assets/home/parch/parch1.webp?v=1) center/100% 100% no-repeat;color:#2a1a0e;animation:cmIn .35s cubic-bezier(.2,1.3,.4,1) both}
.cp-card.hz{background-image:url(/assets/home/parch/parch3.webp?v=1)}
.cp-card .cm-x{right:30px;top:30px;background:rgba(42,26,14,.12);color:#2a1a0e}
.cp-card .cm-x:hover{background:rgba(42,26,14,.24)}
.cp-ico{width:150px;height:150px;border-radius:50%;outline:2px dashed rgba(70,40,15,.4);outline-offset:6px;margin-bottom:6px}
.cp-kind{font-family:'Architects Daughter',cursive;font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:#6b4a25}
.cp-card.hz .cp-kind{color:#a3241c}
.cp-card h3{font-family:'Architects Daughter',cursive;font-weight:400;font-size:38px;line-height:1.05;color:#2a1a0e}
.cp-card.hz h3{color:#5a140f}
.cp-card p{background:rgba(14,11,9,.88);color:#f4efe4;border:2px dotted rgba(242,240,234,.7);border-radius:10px;padding:12px 16px;font-size:17px;line-height:1.45;margin:6px 0 10px}
.cp-link{font-family:'Architects Daughter',cursive;font-size:18px;background:#1b1e20;box-shadow:inset 0 0 0 2px rgba(242,240,234,.55);border-radius:255px 18px 225px 18px/18px 225px 18px 255px}
.cp-link:hover{box-shadow:inset 0 0 0 2px #ffe27a;color:#ffe27a}
.chalk-sec .belt .skill[role="button"]{cursor:pointer}
.chalk-sec .belt .skill[role="button"]:focus-visible{outline:3px dashed #ffe27a;outline-offset:4px}
@media (max-width:640px){.cp-card{padding:48px 30px 38px}.cp-card .cm-x{right:20px;top:20px}.cp-ico{width:120px;height:120px}.cp-card h3{font-size:32px}.cp-card p{font-size:16px}}
.modal-open .chalk-sec .belt.run.on .belt-track{animation-play-state:paused}

/* The lab background runs behind "Something new every day" AND the feature cards as one layer, then fades into Moss's swamp */
.lab-zone{position:relative;isolation:isolate;clip-path:inset(2px 0)}
.lab-zone::after{content:"";position:fixed;inset:0;z-index:-2;background:url(/assets/home/img/bg_lab.webp) center/cover}
.lab-zone::before{content:"";position:absolute;inset:-2px 0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#0b0818 0,rgba(11,8,24,.25) 260px,rgba(11,8,24,.25) 440px,rgba(11,8,24,.6) 620px,rgba(11,8,24,.6) calc(100% - 260px),#0b0818 100%)}
.lab-zone .band-lab{clip-path:none;isolation:auto;padding-bottom:0}
.lab-zone .band-lab::before,.lab-zone .band-lab::after{content:none}
.lab-zone .band-lab+#features{margin-top:0}
.lab-zone #features{padding-bottom:160px}
@media (max-width:640px){.lab-zone{clip-path:none;overflow:hidden}.lab-zone::after{position:absolute}.lab-zone .band-lab{padding-bottom:0}.lab-zone .band-lab+#features{margin-top:0}.lab-zone #features{padding-bottom:110px}}
/* shorter dark seam between the lab and the swamp: each side darkens only over its last/first ~140px */
.lab-zone::before{background:linear-gradient(180deg,#0b0818 0,rgba(11,8,24,.25) 260px,rgba(11,8,24,.25) 440px,rgba(11,8,24,.45) 620px,rgba(11,8,24,.45) calc(100% - 150px),#0b0818 100%)}
.lab-zone+.sec-swamp{background:linear-gradient(180deg,#0b0818 0,rgba(11,8,24,.72) 150px,rgba(11,8,24,.72) 78%,#120d26 100%),url(/assets/home/img/bg_swamp.webp) center/cover scroll}

/* Moss Chewer's notice board: dark wooden planks (ChatGPT, seamless) instead of the slate; chalk doodles retired; cards nailed on */
.chalk-sec .board2{background:#1d120c url(/assets/home/board_wood.webp?v=1) 0 0/600px auto repeat}
.chalk-sec .board2::before,.chalk-sec .board2::after,.chalk-sec .chalk-decor,.chalk-sec .slate-sketch{display:none}
.chalk-sec .belt .skill:not(.more)::after{content:"";position:absolute;left:50%;top:9px;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:radial-gradient(circle at 35% 32%,#e6e0d2 0,#9a9083 32%,#4a4038 70%,#2a221c 100%);box-shadow:0 3px 3px rgba(0,0,0,.55)}
.chalk-sec .slate-head p,.chalk-sec .haz-intro,.chalk-sec .board-note{text-shadow:0 2px 6px rgba(0,0,0,.8)}
.chalk-sec .board-note{color:rgba(242,240,234,.7)}
@media (max-width:640px){.chalk-sec .board2{background-size:420px auto}.chalk-sec .belt .skill:not(.more)::after{width:12px;height:12px;margin-left:-6px;top:7px}}
.chalk-sec .board2{background:radial-gradient(ellipse 70% 30% at 50% 0,rgba(255,170,70,.16),transparent 70%),radial-gradient(ellipse 70% 30% at 50% 100%,rgba(255,170,70,.12),transparent 70%),radial-gradient(ellipse 85% 75% at 50% 50%,transparent 45%,rgba(8,4,2,.55) 100%),#1d120c url(/assets/home/board_wood.webp?v=1) 0 0/600px auto repeat}
@media (max-width:640px){.chalk-sec .board2{background-size:auto,auto,auto,420px auto}}
/* pop-up description: plain ink on the parchment, semi-bold for reading */
.cp-card p{background:none;border:0;padding:0 4px;color:#2e1d10;font-weight:600;font-size:18px;line-height:1.5;margin:4px 0 12px}
@media (max-width:640px){.cp-card p{font-size:17px}}
/* bigger cards: about five across a desktop screen, two and a bit on a phone */
.chalk-sec .blueprint .belt-set{grid-auto-columns:260px;gap:0 40px;padding-right:40px}
.chalk-sec .blueprint .belt .skill img{width:140px;height:140px}
.chalk-sec .blueprint .belt .skill h4{font-size:30px}
.chalk-sec .blueprint .belt .skill:not(.more){padding:38px 14% 40px;gap:12px}
@media (max-width:640px){
  .chalk-sec .blueprint .belt-set{grid-auto-columns:170px;gap:0 22px;padding-right:22px}
  .chalk-sec .blueprint .belt .skill img{width:92px;height:92px}
  .chalk-sec .blueprint .belt .skill h4{font-size:21px}
  .chalk-sec .blueprint .belt .skill:not(.more){padding:28px 14% 30px}
}

/* old cork notice board (ChatGPT, seamless) replaces the wood planks */
.chalk-sec .board2{background:radial-gradient(ellipse 70% 30% at 50% 0,rgba(255,170,70,.14),transparent 70%),radial-gradient(ellipse 70% 30% at 50% 100%,rgba(255,170,70,.1),transparent 70%),radial-gradient(ellipse 85% 75% at 50% 50%,transparent 45%,rgba(8,4,2,.5) 100%),#2a160c url(/assets/home/board_cork.webp?v=1) 0 0/700px auto repeat}
@media (max-width:640px){.chalk-sec .board2{background-size:auto,auto,auto,460px auto}}
/* the pop-up's guide link, inked onto the note: hand-drawn outline, fills with ink on hover */
.cp-link{background:none;color:#2a1a0e;box-shadow:none;border:2.5px solid #3a2414;border-radius:255px 18px 225px 18px/18px 225px 18px 255px;font-size:20px;padding:8px 24px;transform:rotate(-1.5deg);transition:background .2s,color .2s,transform .2s}
.cp-link:hover,.cp-link:focus-visible{background:#2a1a0e;color:#f6ecd4;box-shadow:none;transform:rotate(0) scale(1.04)}
.cp-card.hz .cp-link{color:#5a140f;border-color:#5a140f}
.cp-card.hz .cp-link:hover,.cp-card.hz .cp-link:focus-visible{background:#5a140f;color:#f8e8dc}

/* old hazard tape stuck across the board between the jobs and the hazards */
.chalk-sec .board2{overflow-x:clip}
.haz-tape{position:relative;z-index:2;width:calc(100cqw + 120px);margin:64px 0 0 calc(50% - 50cqw - 60px);height:64px;background:url(/assets/home/hazard_tape.webp?v=1) 0 50%/auto 100% repeat-x;transform:rotate(-1.6deg);filter:drop-shadow(0 6px 6px rgba(0,0,0,.5));pointer-events:none}
.zh .slate .haz-tape+.chalk-h.haz-title{margin-top:48px}
@media (max-width:640px){.haz-tape{height:44px;margin-top:44px}.zh .slate .haz-tape+.chalk-h.haz-title{margin-top:34px}}

/* board headings centred and bigger, one-line intros under them; tighter space above and below; buttons clear of the cards */
.chalk-sec .slate-head{justify-content:center;text-align:center}
.chalk-sec .slate-head>div{max-width:760px;margin:0 auto;align-items:center}
.chalk-sec .slate-head p{margin-left:auto;margin-right:auto;font-size:18px}
.zh .slate .chalk-h{justify-content:center;font-size:44px;margin:46px 0 6px}
.zh .slate .chalk-h small{font-size:24px}
.zh .slate .chalk-h.haz-title{margin-top:44px}
.zh .slate .belt-intro{text-align:center;font-size:19px;color:#f4efe4;margin:0 0 6px;max-width:none;text-shadow:0 2px 6px rgba(0,0,0,.8)}
.belt-more{margin-top:44px}
.chalk-sec .board2{padding:190px 0 200px}
.chalk-sec .board-note{margin-top:36px}
@media (max-width:640px){
  .zh .slate .chalk-h{font-size:32px;margin:36px 0 4px}
  .zh .slate .chalk-h small{font-size:18px}
  .zh .slate .chalk-h.haz-title{margin-top:30px}
  .zh .slate .belt-intro{font-size:16px}
  .belt-more{margin-top:30px}
  .chalk-sec .board2{padding:100px 0 120px}
}
@media (max-width:640px){.chalk-sec .slate-head{align-items:center}}

/* ===== How to Play (how-to-play.html), in the homepage's look ===== */
.htp-hero{padding:64px 0 40px;background:radial-gradient(ellipse at 30% 0%,#241a49 0%,#0b0818 70%)}
.htp-hero-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:center}
.htp-hero-txt{display:flex;flex-direction:column;gap:16px}
.htp-hero h1{font-size:60px;font-weight:700;line-height:1.02}
.htp-hero .lede{font-size:19px;color:#ded6f0}
.htp-hero-shot{margin:0;border-radius:22px;overflow:hidden;border:2px solid rgba(166,232,58,.35);box-shadow:0 30px 70px rgba(0,0,0,.6);transform:rotate(1.2deg)}
.htp-hero-shot img{display:block;width:100%;height:auto}
.htp-basics{padding-top:72px}
/* the cork board */
.htp-board{position:relative;container-type:inline-size;margin-top:24px}
.htp-board-in{background:radial-gradient(ellipse 70% 20% at 50% 0,rgba(255,170,70,.14),transparent 70%),radial-gradient(ellipse 85% 75% at 50% 50%,transparent 45%,rgba(8,4,2,.5) 100%),#2a160c url(/assets/home/board_cork.webp?v=1) 0 0/700px auto repeat;padding:150px 0 170px;overflow-x:clip}
.htp-board .rail-top{margin-bottom:-150px}.htp-board .rail-bot{margin-top:-130px}
.htp-head{text-align:center;max-width:760px;margin:0 auto 34px;display:flex;flex-direction:column;align-items:center;gap:10px}
.zh .htp-head h2{font-size:52px;font-weight:700;text-shadow:0 3px 14px rgba(0,0,0,.7)}
.zh .htp-head p{font-size:18px;color:#f4efe4;text-shadow:0 2px 6px rgba(0,0,0,.8);margin:0}
.htp-head .stamp{font-size:16px;vertical-align:middle}
.htp-board .haz-tape{width:calc(100% + 120px);margin:70px 0 60px -60px}
.htp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:30px 26px}
.htp-grid .card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:34px 22px 34px;background:url(/assets/home/parch/parch1.webp?v=1) center/100% 100% no-repeat;color:#2e1d10}
.htp-grid .card:nth-child(4n+2){background-image:url(/assets/home/parch/parch2.webp?v=1);transform:rotate(1deg)}
.htp-grid .card:nth-child(4n+3){background-image:url(/assets/home/parch/parch3.webp?v=1);transform:rotate(-.8deg)}
.htp-grid .card:nth-child(4n){background-image:url(/assets/home/parch/parch4.webp?v=1);transform:rotate(1.4deg)}
.htp-grid .card:nth-child(4n+1){transform:rotate(-1.2deg)}
.htp-grid .card::after{content:"";position:absolute;left:50%;top:10px;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:radial-gradient(circle at 35% 32%,#e6e0d2 0,#9a9083 32%,#4a4038 70%,#2a221c 100%);box-shadow:0 3px 3px rgba(0,0,0,.55)}
.htp-grid .card img{width:96px;height:96px;border-radius:50%;outline:2px dashed rgba(70,40,15,.4);outline-offset:5px;margin:8px 0 4px}
.htp-grid .card b{font-family:'Architects Daughter',cursive;font-weight:400;font-size:26px;line-height:1.1;color:#2a1a0e}
.htp-grid .card small{display:block;font-family:Nunito,sans-serif;font-size:13px;font-weight:700;color:#6b4a25}
.htp-grid .card span{font-weight:600;font-size:15.5px;line-height:1.45;color:#3a2614}
.htp-grid.hz .card b{color:#5a140f}
/* boosts: same notes on the dark page */
.htp-grid.boosts{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.htp-note{max-width:760px;margin:34px auto 0;text-align:center;color:var(--mute)}
/* controls */
.htp-ctl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px}
.htp-ctl-card{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:28px 30px}
.htp-ctl-card img{width:64px;height:64px;margin-bottom:10px}
.zh .htp-ctl-card h3{font-size:24px;margin-bottom:14px}
.htp-ctl-card ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:10px;color:#d8d0ea}
.keys{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
.keys div{display:flex;flex-direction:column;gap:4px}
.keys dt{color:var(--ink);font-weight:700}
.keys dd{margin:0;color:var(--mute);font-size:15px}
kbd{display:inline-block;min-width:30px;padding:3px 8px;margin:0 2px;border-radius:7px;background:#2a2052;border:1px solid rgba(196,170,255,.35);border-bottom-width:3px;font:700 14px Nunito,sans-serif;color:#fff;text-align:center}
/* tips */
.htp-tipgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
.htp-tipgrid article{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:24px 24px 22px;display:flex;flex-direction:column;gap:8px}
.htp-tipgrid img{width:56px;height:56px}
.zh .htp-tipgrid h3{font-size:20px}
.htp-tipgrid p{color:var(--mute);margin:0;font-size:15px}
/* daily */
.htp-daily{background:radial-gradient(ellipse at 70% 50%,#241a49 0%,#0b0818 70%)}
.htp-daily-in{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:center}
.htp-daily figure{margin:0;border-radius:22px;overflow:hidden;border:2px solid rgba(166,232,58,.35);box-shadow:0 30px 70px rgba(0,0,0,.6)}
.htp-daily figure img{display:block;width:100%;height:auto}
.htp-daily-in>div{display:flex;flex-direction:column;gap:14px}
.zh .htp-daily h2{font-size:40px}
.htp-daily p{color:#d8d0ea}
@media (max-width:900px){.htp-hero-in,.htp-daily-in,.htp-ctl{grid-template-columns:minmax(0,1fr)}.htp-hero-shot{transform:none}}
@media (max-width:640px){
  .htp-hero{padding:40px 0 24px}.htp-hero h1{font-size:40px}.htp-hero .lede{font-size:17px}
  .htp-board-in{padding:90px 0 110px;background-size:auto,auto,460px auto}
  .htp-board .rail-top{margin-bottom:-84px}.htp-board .rail-bot{margin-top:-74px}
  .zh .htp-head h2{font-size:36px}.zh .htp-head p{font-size:16px}
  .htp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}
  .htp-grid .card{padding:28px 12px 26px}.htp-grid .card img{width:72px;height:72px}
  .htp-grid .card b{font-size:21px}.htp-grid .card span{font-size:14px}
  .htp-board .haz-tape{margin:44px 0 40px -60px;height:44px}
  .keys{grid-template-columns:minmax(0,1fr)}
  .zh .htp-daily h2{font-size:30px}
}
.htp-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 30px}
.htp-grid .card{padding:40px 15% 40px}
.htp-grid.boosts{grid-template-columns:repeat(3,minmax(0,1fr));max-width:900px;margin:0 auto}
.htp-tipgrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
@media (max-width:1060px){.htp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.htp-tipgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.htp-grid,.htp-grid.boosts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.htp-grid .card{padding:32px 14% 32px}.htp-tipgrid{grid-template-columns:minmax(0,1fr)}}

/* worlds banner: names lifted clear of the fog band below */
.worlds-intro{padding-bottom:300px}
.wi-names{bottom:190px}
@media (max-width:640px){.worlds-intro{padding-bottom:200px}.wi-names{bottom:118px}}
/* notice board: tape above the jobs too (tilted the other way), less empty board top and bottom, job/hazard buttons further from the cards */
.haz-tape.tape-top{margin-top:30px;transform:rotate(1.4deg) scaleX(-1)}
.zh .slate .haz-tape.tape-top+.chalk-h{margin-top:40px}
.chalk-sec .board2{padding:130px 0 120px}
.chalk-sec .board-note{margin-top:30px}
.belt-more{margin-top:70px}
@media (max-width:640px){.chalk-sec .board2{padding:80px 0 80px}.haz-tape.tape-top{margin-top:20px}.zh .slate .haz-tape.tape-top+.chalk-h{margin-top:28px}.belt-more{margin-top:44px}}
/* the trailer thumbnail behind the Breaking News card, darkened in the middle so the title and button read */
.tv-card{background:radial-gradient(ellipse 62% 58% at 50% 50%,rgba(11,8,24,.64),rgba(11,8,24,.32) 75%,rgba(11,8,24,.15)),url(/assets/home/trailer_thumb.webp?v=1) center/cover}
@media (max-width:400px){.zh .slate .chalk-h{font-size:28px;flex-wrap:wrap;gap:6px 8px}.zh .slate .chalk-h .stamp{font-size:11px;padding:2px 8px;margin-left:2px}}
/* one trailer heading for search engines: the phone title above the TV is a styled paragraph; on phones the card's real h2 is kept for screen readers but visually hidden */
.tv-head-m .h2{font-family:Fredoka,Nunito,sans-serif;font-weight:600;font-size:52px;line-height:1.1;letter-spacing:-.01em;margin:0;color:var(--ink)}
@media (max-width:640px){.tv-head-m .h2{font-size:36px}.tv-card h2{display:block;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
/* title, text and button sit above the scanline overlay, so only the thumbnail behind gets the TV effect */
.tv-card::after{z-index:0}
.tv-card>*{position:relative;z-index:1}

/* Lazy CSS backgrounds: browsers fetch every CSS background at once, so sections below the first screen carry .lazy-bg and
   show no background images until js/home.js marks them .bg-in (about two screens before they scroll into view).
   Only with JS running (html.js); without it everything loads as normal. */
.js .lazy-bg:not(.bg-in),.js .lazy-bg:not(.bg-in)::before,.js .lazy-bg:not(.bg-in)::after,
.js .lazy-bg:not(.bg-in) *,.js .lazy-bg:not(.bg-in) *::before,.js .lazy-bg:not(.bg-in) *::after{background-image:none!important}

/* Hazards on red paper with white writing (same torn scraps, recoloured) */
.chalk-sec .blueprint .skill.hz:not(.more){background-image:url(/assets/home/parch/parch_red1.webp?v=1)}
.chalk-sec .blueprint .skill.hz:not(.more):nth-child(4n+2){background-image:url(/assets/home/parch/parch_red2.webp?v=1)}
.chalk-sec .blueprint .skill.hz:not(.more):nth-child(4n+3){background-image:url(/assets/home/parch/parch_red3.webp?v=1)}
.chalk-sec .blueprint .skill.hz:not(.more):nth-child(4n){background-image:url(/assets/home/parch/parch_red4.webp?v=1)}
.chalk-sec .blueprint .skill.hz h4{color:#fff4ea;text-shadow:0 2px 3px rgba(40,0,0,.7)}
.chalk-sec .blueprint .skill.hz img{outline-color:rgba(255,230,220,.45)}
.htp-grid.hz .card{background-image:url(/assets/home/parch/parch_red1.webp?v=1);color:#fff4ea}
.htp-grid.hz .card:nth-child(4n+2){background-image:url(/assets/home/parch/parch_red2.webp?v=1)}
.htp-grid.hz .card:nth-child(4n+3){background-image:url(/assets/home/parch/parch_red3.webp?v=1)}
.htp-grid.hz .card:nth-child(4n){background-image:url(/assets/home/parch/parch_red4.webp?v=1)}
.htp-grid.hz .card b{color:#fff4ea;text-shadow:0 2px 3px rgba(40,0,0,.7)}
.htp-grid.hz .card span{color:#ffe6dc}
.htp-grid.hz .card img{outline-color:rgba(255,230,220,.45)}
.cp-card.hz{background-image:url(/assets/home/parch/parch_red3.webp?v=1);color:#fff4ea}
.cp-card.hz h3{color:#fff4ea}
.cp-card.hz .cp-kind{color:#ffd0c4}
.cp-card.hz p{color:#fff0e8}
.cp-card.hz .cm-x{background:rgba(255,240,230,.15);color:#fff4ea}
.cp-card.hz .cp-ico{outline-color:rgba(255,230,220,.45)}
.cp-card.hz .cp-link{color:#fff4ea;border-color:#fff4ea}
.cp-card.hz .cp-link:hover,.cp-card.hz .cp-link:focus-visible{background:#fff4ea;color:#5a140f}
/* worlds banner: same breathing room above "The campaign" as below the world names */
@media (max-width:640px){.worlds-intro{padding-top:150px;padding-bottom:170px}.wi-names{bottom:100px}}
@media (max-width:640px){.worlds-intro{padding-bottom:220px}.wi-names{bottom:150px}}

/* ===== How to Play polish: centred section heads, scrolling world backdrops, controls rebalanced ===== */
.htp .sec-head{margin-left:auto;margin-right:auto;text-align:center;align-items:center}
.zh .htp-note{margin:34px auto 0;max-width:760px}
/* a section with its own pinned world painting behind it (like the homepage bands); phones scroll it with the page */
.scene{position:relative;isolation:isolate;clip-path:inset(2px 0)}
.scene::after{content:"";position:fixed;inset:0;z-index:-2;background:var(--sbg) center/cover no-repeat;pointer-events:none}
.scene::before{content:"";position:absolute;inset:-2px 0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#0b0818 0,rgba(11,8,24,.62) 200px,rgba(11,8,24,.62) calc(100% - 200px),#0b0818 100%)}
.htp-hero.scene{background:none}
.htp-hero.scene::before{background:linear-gradient(90deg,rgba(11,8,24,.9) 0,rgba(11,8,24,.55) 55%,rgba(11,8,24,.3) 100%),linear-gradient(180deg,rgba(11,8,24,.4) 0,transparent 30%,transparent 70%,#0b0818 100%)}
.htp-daily.scene{background:none}
@media (max-width:640px){.scene{clip-path:none;overflow:hidden}.scene::after{position:absolute}.htp-hero.scene::before{background:linear-gradient(180deg,rgba(11,8,24,.75),rgba(11,8,24,.6) 50%,#0b0818 100%)}}
/* controls: touch narrower, keyboard wider; each key on its own row */
.htp-ctl{grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);max-width:1080px;margin:0 auto}
.keys{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}
.keys div{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:14px;flex-direction:row;padding:8px 0;border-bottom:1px solid var(--line)}
.keys dt{display:flex;flex-wrap:wrap;align-items:center;gap:4px;color:var(--mute);font-weight:600;font-size:14px}
.keys dt span{font-size:13px;color:var(--mute)}
.keys dd{color:#e6dff4;font-size:15.5px}
.zh .keys kbd{margin:0}
kbd.wide{min-width:56px}
@media (max-width:1060px){.keys{grid-template-columns:minmax(0,1fr)}}
@media (max-width:900px){.htp-ctl{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.keys div{grid-template-columns:128px minmax(0,1fr)}}

/* ===== Updates: a picture left, the notes right, each update opens to show every change ===== */
.upd-page .doc-hero.scene{background:none;padding:80px 0 60px}
.upd-list .wrap{display:flex;flex-direction:column;gap:26px;max-width:1080px}
.upd-list .upd{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:30px;align-items:start;background:rgba(18,13,38,.92);border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:0 20px 50px rgba(0,0,0,.45)}
.upd-pic{margin:0;border-radius:16px;overflow:hidden;border:1px solid rgba(166,232,58,.25);aspect-ratio:16/9;background:#0b0818}
.upd-pic img{display:block;width:100%;height:100%;object-fit:cover}
.upd-txt{display:flex;flex-direction:column;gap:10px;padding:6px 6px 4px 0}
.upd-txt time{color:var(--gold);font-weight:800;font-size:14px;letter-spacing:.06em;text-transform:uppercase}
.zh .upd-txt h2{font-size:28px}
.upd-list .upd details summary{list-style:none;cursor:pointer;display:flex;flex-direction:column;gap:10px}
.upd-list .upd details summary::-webkit-details-marker{display:none}
.upd-lead{color:#d8d0ea}
.upd-list .upd details[open] .upd-lead{display:none}
.upd-more{align-self:flex-start;font-weight:800;font-size:14px;color:var(--slime);display:inline-flex;align-items:center;gap:6px}
.upd-more::before{content:"See all " attr(data-n) " changes"}
.upd-list .upd details[open] .upd-more{order:2;margin-top:6px}
.upd-list .upd details[open] .upd-more::before{content:"Hide changes"}
.upd-more::after{content:"";width:8px;height:8px;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.upd-list .upd details[open] .upd-more::after{transform:rotate(-135deg) translateY(-2px)}
.upd-list .upd summary:focus-visible{outline:3px dashed #ffe27a;outline-offset:4px;border-radius:6px}
.upd-list .upd ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:8px;color:#d8d0ea}
.upd-list .upd details[open] ul{margin-top:4px}
@media (max-width:760px){.upd{grid-template-columns:minmax(0,1fr);padding:16px}.zh .upd-txt h2{font-size:23px}}

/* ===== About: art beside the story and the gameplay, features grid, an ending with Moss ===== */
.about-page .htp-hero{padding-bottom:70px}
.ab-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:56px;align-items:center}
.ab-row.flip .ab-art{order:2}
.ab-art{margin:0}
.ab-art img{display:block;width:100%;height:auto;filter:drop-shadow(0 24px 40px rgba(0,0,0,.6))}
.ab-art.shot img{border-radius:20px;border:2px solid rgba(166,232,58,.3);filter:none;box-shadow:0 24px 60px rgba(0,0,0,.6);transform:rotate(-1.2deg)}
.ab-txt{display:flex;flex-direction:column;gap:14px}
.zh .ab-txt h2{font-size:44px}
.zh .ab-txt p{color:#ddd5ee;font-size:17.5px;line-height:1.65;margin:0}
.ab-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ab-grid article{background:rgba(24,18,47,.92)}
.ab-end-in{display:grid;grid-template-columns:260px minmax(0,1fr);gap:48px;align-items:center;max-width:980px}
.ab-end-in>img{width:100%;height:auto;filter:drop-shadow(0 20px 30px rgba(0,0,0,.6))}
.ab-end-in>div{display:flex;flex-direction:column;gap:14px}
.zh .ab-end-in h2{font-size:40px}
.zh .ab-end-in p{color:#ddd5ee;margin:0}
.zh .ab-credits{font-size:14.5px;color:var(--mute)!important}
.ab-credits a{color:var(--slime)}
@media (max-width:900px){.ab-row,.ab-end-in{grid-template-columns:minmax(0,1fr);gap:28px}.ab-row.flip .ab-art{order:0}.ab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ab-end-in>img{width:200px;margin:0 auto}}
@media (max-width:640px){.zh .ab-txt h2{font-size:32px}.ab-grid{grid-template-columns:minmax(0,1fr)}.zh .ab-end-in h2{font-size:30px}}

/* scenes: each painting fades fully to the page colour before the next begins (no seam where two meet) */
.scene{clip-path:inset(0)}
.scene::before{inset:0;background:linear-gradient(180deg,#0b0818 0,#0b0818 24px,rgba(11,8,24,.62) 260px,rgba(11,8,24,.62) calc(100% - 260px),#0b0818 calc(100% - 24px),#0b0818 100%)}
/* updates: one painting behind the whole page */
.upd-page.scene::before{background:linear-gradient(180deg,rgba(11,8,24,.55) 0,rgba(11,8,24,.7) 600px,rgba(11,8,24,.7) calc(100% - 300px),#0b0818 100%)}
.upd-page .doc-hero{background:none}
/* keyboard: keys in one aligned column, the meaning right beside them, never wrapping; two pairs per row when wide */
.keys{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content minmax(0,1fr);gap:0 18px;align-items:center}
.keys div{display:contents}
.keys dt,.keys dd{padding:11px 0;border-bottom:1px solid var(--line);min-height:50px;display:flex;align-items:center}
.keys dt{gap:5px;flex-wrap:nowrap;white-space:nowrap}
.keys dt i{font-style:normal;color:var(--mute);padding:0 2px}
.keys dd{margin:0;color:#e6dff4;font-size:15.5px;line-height:1.3}
.zh .keys kbd{min-width:32px;padding:4px 8px;font-size:14px}
.zh .keys kbd.wide{min-width:60px}
@media (max-width:1060px){.keys{grid-template-columns:max-content minmax(0,1fr)}}
/* trim 2px off each scene edge (the page colour shows there) so no sliver of the pinned painting can peek out */
.scene{clip-path:inset(2px 0)}
.scene::before{inset:-2px 0}
@media (max-width:640px){.scene{clip-path:none}}
.htp-hero.scene::before{background:linear-gradient(90deg,rgba(11,8,24,.9) 0,rgba(11,8,24,.55) 55%,rgba(11,8,24,.3) 100%),linear-gradient(180deg,rgba(11,8,24,.4) 0,transparent 30%,transparent 62%,#0b0818 calc(100% - 24px),#0b0818 100%)}
.upd-page.scene::before{background:linear-gradient(180deg,rgba(11,8,24,.55) 0,rgba(11,8,24,.7) 600px,rgba(11,8,24,.7) calc(100% - 300px),#0b0818 calc(100% - 24px),#0b0818 100%)}
@media (max-width:640px){.htp-hero.scene::before{background:linear-gradient(180deg,rgba(11,8,24,.75),rgba(11,8,24,.6) 50%,#0b0818 calc(100% - 24px),#0b0818 100%)}}

/* pop-up: the job or hazard in action (the game's own clip) in a little screen, with its medallion pinned to the corner */
.cp-clip{position:relative;width:100%;margin:2px 0 8px;display:flex;justify-content:center}
.cp-clip video{display:none}
.cp-clip.has-clip video{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:12px;border:3px solid #3a2414;background:#120d26;box-shadow:0 8px 18px rgba(0,0,0,.35)}
.cp-clip.has-clip .cp-ico{position:absolute;left:-12px;bottom:-16px;width:78px;height:78px;margin:0;outline-offset:3px;background:#2a1a0e;border-radius:50%;box-shadow:0 4px 10px rgba(0,0,0,.5)}
.cp-card.hz .cp-clip.has-clip video{border-color:#2a0505}
.cp-card{width:min(460px,100%)}
@media (max-width:640px){.cp-clip.has-clip .cp-ico{width:62px;height:62px;left:-8px;bottom:-12px}}
/* keyboard, final: one control per row, keys in a fixed column, one unbroken line under each row */
.keys{display:flex;flex-direction:column;gap:0}
.keys div{display:grid;grid-template-columns:172px minmax(0,1fr);align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid var(--line)}
.keys div:last-child{border-bottom:0}
.keys dt,.keys dd{padding:0;border:0;min-height:0}
@media (max-width:640px){.keys div{grid-template-columns:156px minmax(0,1fr);gap:12px}.zh .keys kbd{min-width:29px;padding:4px 6px}}
.keys{align-items:stretch}.keys dt{justify-content:flex-start}.keys dd{display:block;text-align:left}

/* info-page backdrops scroll with the page (no pinned layer, so no 1px seam at any display scaling) */
.scene{clip-path:none}
.scene::after{position:absolute;inset:0}
.scene::before{inset:0}
/* pop-up: the job/hazard badge sits on the note's top-left corner, overlapping its edge */
.cp-clip.has-clip .cp-ico,.cp-ico{position:absolute;left:-30px;top:-30px;bottom:auto;width:100px;height:100px;margin:0;z-index:3;background:#2a1a0e;border-radius:50%;outline:3px solid #2a1a0e;outline-offset:0;box-shadow:0 8px 18px rgba(0,0,0,.55)}
.cp-clip{position:static}
.cp-clip:not(.has-clip){height:60px}
.cp-card{padding-top:58px}
.cp-card.hz .cp-ico{outline-color:#2a0505;background:#2a0505}
@media (max-width:640px){.cp-clip.has-clip .cp-ico,.cp-ico{width:76px;height:76px;left:-14px;top:-22px}}
/* the guide link, filled by default */
.cp-link{background:#2a1a0e;color:#f6ecd4;border-color:#2a1a0e}
.cp-link:hover,.cp-link:focus-visible{background:#4a2e18;color:#fff;border-color:#4a2e18;transform:rotate(0) scale(1.04)}
.cp-card.hz .cp-link{background:#fff4ea;color:#5a140f;border-color:#fff4ea}
.cp-card.hz .cp-link:hover,.cp-card.hz .cp-link:focus-visible{background:#fff;color:#3a0a08;border-color:#fff}
/* How to Play cards open the pop-up */
.htp-grid .card{cursor:pointer;transition:transform .2s}
.htp-grid .card:hover{transform:rotate(0) translateY(-4px) scale(1.03)}
.htp-grid .card:focus-visible{outline:3px dashed #ffe27a;outline-offset:4px}
/* controls: both cards the same height */
.htp-ctl{align-items:stretch}
.scene::after{inset:3px 0}
/* pop-up badge: centred on the note's top edge near the left, half on the paper and half off */
.cp-clip.has-clip .cp-ico,.cp-ico{left:28px;top:-32px}
.cp-card{padding-top:72px}
@media (max-width:640px){.cp-clip.has-clip .cp-ico,.cp-ico{left:22px;top:-20px}.cp-card{padding-top:62px}}
/* boost cards on How to Play don't open the pop-up */
.htp-grid.boosts .card{cursor:default}
.htp-grid.boosts .card:hover{transform:none}
.htp-grid.boosts .card:nth-child(4n+1){transform:rotate(-1.2deg)}.htp-grid.boosts .card:nth-child(4n+2){transform:rotate(1deg)}.htp-grid.boosts .card:nth-child(4n+3){transform:rotate(-.8deg)}.htp-grid.boosts .card:nth-child(4n){transform:rotate(1.4deg)}
/* updates: the painting covers only the hero and the top of the first update, then fades into the page colour */
.upd-page.scene::after{bottom:auto;height:960px;background-position:center 30%}
.upd-page.scene::before{bottom:auto;height:964px;background:linear-gradient(180deg,rgba(11,8,24,.45) 0,rgba(11,8,24,.55) 380px,rgba(11,8,24,.85) 700px,#0b0818 940px,#0b0818 100%)}
@media (max-width:640px){.upd-page.scene::after{height:760px}.upd-page.scene::before{height:764px;background:linear-gradient(180deg,rgba(11,8,24,.55) 0,rgba(11,8,24,.65) 300px,rgba(11,8,24,.9) 560px,#0b0818 740px,#0b0818 100%)}}
/* controls: each card only as tall as its own content */
.htp-ctl{align-items:start}
.htp-grid .card.no-pop{cursor:default}
.htp-grid .card.no-pop:hover{transform:rotate(1deg)}

/* contact form: the whole pop-up scrolls when the form is taller than the screen (centred when it fits) */
.cmodal{overflow-y:auto;overscroll-behavior:contain;align-items:flex-start}
.cmodal .cm-card{max-height:none;margin:auto 0}
.cmodal.cardpop{align-items:center}
.cmodal.cardpop .cp-card{margin:auto 0}
/* updates on tablets and phones: picture on top, then date, title and changes */
@media (max-width:900px){.upd-list .upd{grid-template-columns:minmax(0,1fr);gap:18px;padding:16px}.upd-txt{padding:0 6px 6px}.zh .upd-txt h2{font-size:24px}}

/* Updates: two entries side by side, each one date, picture, title, then its changes */
.upd-list .wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;max-width:1180px;align-items:start}
.upd-list .upd{display:flex;flex-direction:column;gap:12px;padding:20px}
.upd-list .upd .upd-txt{display:contents}
.upd-list .upd time{order:-1;padding:0 4px}
.upd-list .upd h2,.upd-list .upd details{padding:0 4px}
.zh .upd-list .upd h2{font-size:26px}
@media (max-width:760px){.upd-list .wrap{grid-template-columns:minmax(0,1fr);gap:20px}.upd-list .upd{padding:16px}.zh .upd-list .upd h2{font-size:23px}}
/* the five world names on narrow screens: a zigzag (up, down, up...) so each name has room instead of squeezing onto one line */
@media (max-width:820px){
  .wi-names{font-size:11px;letter-spacing:.08em;line-height:1.2;padding-bottom:2.2em}
  .wi-names span{white-space:nowrap;justify-self:center;padding:0}
  .wi-names span:nth-child(even){transform:translateY(2.2em)}
}
@media (max-width:380px){.wi-names{font-size:10px;letter-spacing:.05em}}
@media (max-width:820px){.wi-names span:first-child{justify-self:start;padding-left:14px}.wi-names span:last-child{justify-self:end;padding-right:14px}}
/* contact form: Cloudflare Turnstile box. Invisible unless Cloudflare asks for a tick, so it takes no room (and no extra gap) until then */
.cm-ts{margin-bottom:-16px}.cm-ts iframe{margin-bottom:16px}
