/* ALI v2: an illustrated world behind the entire tale. No scroll JavaScript. */
.world{--line:#e6c87c40;background:#102d29;color:#fff1d0;isolation:isolate}
.world-backdrop{position:fixed;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,#031c2280,transparent 75%),url('assets/forest-cave-v2.webp') center/cover no-repeat}
.world-backdrop:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#051f2440,transparent 55%,#061e2580)}
.world .masthead{max-width:none;padding:18px max(5%,calc((100vw - 1296px)/2));background:#071e24b8;border-color:var(--line)}
.world .masthead nav a:hover,.world .text-link:hover{color:#ffd980}
.world a:focus-visible,.world button:focus-visible,.world input:focus-visible{outline-color:#ffd980}
.world .skip{background:#102d29}
.world .launch-top{display:block;max-width:1440px;margin:auto;padding:18px 5% 0;border:0}
.world .launch-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 32px;margin:0;padding:17px 24px 13px;border:1px solid #d5a64980;border-radius:12px;background:#09282cee;box-shadow:0 12px 40px #03161140}
.world .contract-block{min-width:0}
.world #launch-title{margin:0;font:700 10px/1.6 var(--mono);letter-spacing:1.5px;color:#edcc84}
.world .ca-row{padding:3px 0 0;margin:0;border:0;gap:10px}
.world #ca{font-size:13px;color:#fff1d0}
.world #copy{color:#fff1d0;padding:0 8px}
.world .launch-links{align-items:center;gap:9px}
.world .launch-links .button{min-width:94px;padding:12px 18px;color:#fff1d0;border-color:#e6c87c60;border-radius:6px}
.world .launch-links .primary{background:#e7ba5c;color:#152923;border-color:#e7ba5c}
.world .launch-links .icon-button{min-width:64px}
.world .icon{display:block;fill:currentColor}.world .icon-dex{width:18px;height:21px}.world .icon-x{width:19px;height:19px}
.world .launch-links [aria-disabled=true]{opacity:.65}
.world .launch-notes{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:5px 20px;border-top:1px solid var(--line);padding-top:9px;margin-top:6px;color:#c8d6be}
.world .launch-meta,.world .launch-notes .help{margin:0;font-size:9px}
.world .launch-notes .help:last-child{margin-left:auto}
.world .hero{min-height:660px;padding-top:30px;padding-bottom:55px;grid-template-columns:1fr 1fr;gap:20px}
.world .hero-copy{position:relative;text-shadow:0 2px 18px #031b23}
.world .hero-copy:before{content:"";position:absolute;inset:-35px -65px;z-index:-1;background:radial-gradient(ellipse,#071f25c9,transparent 72%);pointer-events:none}
.world .hero .eyebrow{color:#f9dea0}
.world .dot{background:#ffd980;box-shadow:0 0 15px #ffc13b}
.world h1{font-size:clamp(88px,10vw,150px)}
.world h1 em,.world h2 em{color:#f3c664}
.world .hero-deck{font-size:25px}
.world .button{border-color:#e6c87c80;color:#fff1d0;border-radius:6px}
.world .primary{background:#e7ba5c;color:#152923;text-shadow:none;border-color:#e7ba5c;box-shadow:0 5px 24px #d5a64925}
.world .button:hover:not([aria-disabled=true]){background:#f5d585;color:#152923}
.world .hero-art{margin:0;align-self:end;text-align:center}
.world .hero-art>img{width:100%;max-height:535px;object-fit:contain;filter:drop-shadow(0 12px 25px #071e2470)}
.world .art-seal{right:0;top:22px;background:#123c39ed;border-color:#e7ba5c;color:#fff1d0;box-shadow:0 6px 20px #03161140}
.world .art-caption{color:#fff1d0;text-shadow:0 2px 8px #001b20}
.world .art-caption span{color:#f3c664}
.world .chapter-strip{background:#143b34ed;color:#f5d585;border-block:1px solid #d5a64960}
.world .story{max-width:none;padding:85px max(5%,calc((100vw - 1188px)/2));background:linear-gradient(100deg,#071f25ed,#103933b8);border-bottom:1px solid var(--line)}
.world .story-copy{color:#e2e7d3}
.world .cave-section{background:linear-gradient(100deg,#102d29ed,#123d38a6);border-bottom:1px solid var(--line)}
.world .input-row .button{color:#152923}
.world .cave-stage{filter:drop-shadow(0 0 35px #e8b64c25)}
.world .cave-arch{box-shadow:0 10px 0 #051e234d,0 0 55px #e9b24820}
.world .reports{max-width:none;padding:85px max(5%,calc((100vw - 1188px)/2));background:#071f25d4}
.world .report{background:#163b35f5;border-color:#ddb86055;border-radius:10px;box-shadow:0 14px 30px #03161140}
.world .report .eyebrow{color:#edcc84}
.world .report>div>p:last-child{color:#d4deca}
.world .kit-card{background:linear-gradient(145deg,#245d61,#173f38);border-color:#e6be6d}
.world .kit-card:hover{background:#245d61}
.world .risk{max-width:none;padding:55px max(5%,calc((100vw - 1188px)/2));background:#071f25f7}
.world .risk p:not(.eyebrow){color:#cdd7c9}
.world footer{background:#061b20f7;border-color:var(--line)}
.fireflies{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.fireflies i{position:absolute;width:4px;height:4px;border-radius:50%;background:#ffe391;box-shadow:0 0 14px 4px #e6bc5355;animation:drift 9s ease-in-out infinite alternate}
.fireflies i:nth-child(1){top:33%;left:6%}.fireflies i:nth-child(2){top:67%;left:43%;animation-delay:-3s}.fireflies i:nth-child(3){top:23%;left:83%;animation-delay:-5s}.fireflies i:nth-child(4){top:79%;left:93%;animation-delay:-1s}.fireflies i:nth-child(5){top:51%;left:63%;animation-delay:-7s}.fireflies i:nth-child(6){top:89%;left:23%;animation-delay:-4s}
@keyframes drift{from{transform:translate(0,0);opacity:.25}to{transform:translate(12px,-25px);opacity:.85}}
@media(min-width:1800px){.world .hero{min-height:740px}.world .hero-art>img{max-height:610px}}
@media(max-width:900px){.world .launch-panel{gap:0 20px}.world .launch-links .button{min-width:70px;padding:12px}.world .hero{min-height:590px}.world .hero-art>img{max-height:460px}.world .art-seal{width:94px;height:94px;padding:17px 6px;font-size:7px;right:-5px;top:-40px}.world .art-seal b{font-size:18px}.world .hero-deck{font-size:22px}.world .hero .eyebrow{font-size:9px;letter-spacing:1px}}
@media(max-width:600px){
 .world-backdrop{background-position:64% center}.world-backdrop:after{background:linear-gradient(180deg,#05212866,#051e2440 70%,#051e2480)}
 .world .masthead{padding:15px 6%}.world .launch-top{padding:14px 6% 0}
 .world .launch-panel{grid-template-columns:1fr;padding:13px 15px 11px;gap:7px}
 .world #ca{font-size:11px}.world .ca-row{padding:0}.world .launch-links{gap:8px}.world .launch-links .button{min-height:44px;min-width:0;padding:10px;gap:8px}
 .world .launch-notes{gap:4px;margin-top:2px;padding-top:8px}.world .launch-meta{width:100%;font-size:8px;gap:12px}.world .launch-notes .help{font-size:8px}.world .launch-notes .help:last-child{display:none}
 .world .hero{min-height:0;padding:34px 6% 27px;gap:12px}.world h1{font-size:clamp(80px,23vw,120px);letter-spacing:-5px;margin:22px 0}
 .world .hero-copy:before{inset:-20px -10px;background:radial-gradient(ellipse at left,#071f25bb,transparent 95%)}
 .world .hero-art{width:100%;margin:0;align-self:center}.world .hero-art>img{max-height:390px}.world .art-seal{right:0;top:18px}.world .art-caption{font-size:7px;margin-top:4px}
 .world .story,.world .reports{padding:50px 6%}.world .risk{padding:40px 6%}.world .hero-deck{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.fireflies{display:none}.world-backdrop{position:absolute;height:1100px;background-position:center top}}
/* Meme kit on the same forest: dark panels keep tiles and copy readable over the painting. */
.kit-world .kit-intro h1{font-size:clamp(52px,14vw,110px)}
.kit-world .kit-intro,.kit-world .kit-section>h2,.kit-world .kit-section>p{text-shadow:0 2px 18px #031b23}
.kit-world .tile{background:#0b2a2cee;border-color:#ddb86055;border-radius:10px;box-shadow:0 14px 30px #03161140}
.kit-world .kit-rules{background:#071f25ee;border:1px solid var(--line);border-radius:12px}
