body[data-view=home]{background:#292a20}body[data-view=home]>.page,body[data-view=home]>footer{display:none}body[data-view=play]>.welcome{display:none}.welcome{min-height:100svh;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 60% 48%,#a68a5040,transparent 55%),#292a20;color:#f3e9ce}.welcome:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.17;background:url('./assets/interface/action-wood.webp') center/500px;mix-blend-mode:soft-light;z-index:-1}.welcome-nav{height:100px;margin:0 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f2d49c24;gap:18px;position:relative;z-index:3}.welcome-brand{display:flex;align-items:center;gap:10px;font:clamp(21px,2.4vw,36px)/1 Quarry,Impact,sans-serif;letter-spacing:-.4px}.welcome-brand img{width:36px}.welcome-nav>div{display:flex;align-items:center;gap:28px}.welcome-nav a{text-decoration:none;font:19px Quarry,Impact,sans-serif;color:#e1d3ad}.welcome-nav button{font:20px Quarry,Impact,sans-serif;background:#e5bb72;color:#3b3020;border:1px solid #f2dca4;border-radius:40% 25% 25% 35% / 10%;min-width:110px;min-height:46px}.welcome-world{height:calc(100svh - 100px);min-height:640px;max-height:1100px;position:relative;max-width:1800px;margin:auto}.welcome-copy{position:absolute;left:5%;top:15%;z-index:2;max-width:40%;pointer-events:none}.welcome-copy>p{font:12px/1.5 'Trebuchet MS',sans-serif;letter-spacing:1.6px;color:#d8c59a}.welcome-copy h1{font:clamp(70px,11vw,178px)/.89 Quarry,Impact,sans-serif;letter-spacing:-2px;color:#eee1bf;text-shadow:0 6px 1px #191c1640}.welcome-copy h1 span{color:#d99850}.welcome-play{margin-top:28px;min-height:64px;min-width:210px;border:1px solid #f0ce89;border-bottom:5px solid #7c572e;background:#d6a45f;color:#33291d;border-radius:14px 18px 12px 15px;box-shadow:0 9px 25px #1117;font:28px/1 Quarry,Impact,sans-serif;pointer-events:auto;padding:16px 28px}.welcome-play:active{translate:0 2px;box-shadow:0 3px 12px #1117}.welcome-copy>small{display:block;margin-top:12px;font:12px/1.5 'Trebuchet MS',sans-serif;color:#c3b492}.welcome-miner{position:absolute;left:30%;width:48%;max-width:860px;aspect-ratio:2/3;bottom:-36%;filter:drop-shadow(0 15px 30px #1119);pointer-events:none}.portrait-source,.portrait-canvas{display:block;width:100%;height:100%;object-fit:contain}.portrait-canvas{position:absolute;inset:0}.portrait-canvas[hidden]{display:none}.welcome-aside{position:absolute;z-index:2;right:5%;top:43%;width:16%;font:clamp(24px,2.8vw,46px)/1.1 Quarry,Impact,sans-serif;color:#e7ce9c}.welcome-aside span{display:block;margin-top:15px;font:12px/1.5 'Trebuchet MS',sans-serif;color:#b6aa8a}.welcome-bottom{position:absolute;bottom:25px;left:5%;right:5%;display:flex;justify-content:space-between;gap:15px;font:11px/1.4 'Trebuchet MS',sans-serif;letter-spacing:.5px;color:#b4a98b}.welcome-bottom b{font-weight:400;color:#e9c47d}
@media(min-width:1500px){.welcome-miner{bottom:-43%;width:50%}}
@media(max-width:900px){.welcome-nav{height:80px}.welcome-world{height:calc(100svh - 80px);min-height:670px}.welcome-miner{left:30%;width:67%;bottom:-8%}.welcome-copy{left:5%;top:13%}.welcome-copy h1{font-size:clamp(70px,14vw,115px)}.welcome-aside{right:5%;top:18%;width:25%;font-size:24px}.welcome-copy>p{max-width:170px;font-size:10px}.welcome-play{font-size:23px;min-width:170px;min-height:55px}}
@media(max-width:550px){.welcome-nav{margin:0 5%;gap:8px;height:75px}.welcome-brand{font-size:23px}.welcome-brand img{width:27px}.welcome-nav>div{gap:12px}.welcome-nav a{font-size:16px}.welcome-nav button{display:none}.welcome-world{height:calc(100svh - 75px);min-height:700px;max-height:900px}.welcome-copy{top:5%;max-width:90%}.welcome-copy>p{max-width:none;font-size:9px;margin-bottom:13px}.welcome-copy h1{font-size:clamp(69px,19vw,105px);letter-spacing:-1px}.welcome-miner{left:4%;width:96%;bottom:2%;aspect-ratio:2/3}.welcome-aside{top:28%;right:6%;width:31%;font-size:21px}.welcome-aside span{font-size:10px}.welcome-copy .welcome-play{position:fixed;bottom:26px;left:50%;translate:-50% 0;width:220px;box-shadow:0 8px 30px #1119;z-index:4}.welcome-copy>small{display:none}.welcome-bottom{bottom:7px;font-size:8px;z-index:3}.welcome-bottom span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.welcome *{scroll-behavior:auto!important}}
.welcome:before{background:url('./assets/worlds/stone.webp') center/cover no-repeat;opacity:.10;filter:grayscale(1) blur(3px);mix-blend-mode:luminosity}.welcome-world{min-height:580px}.welcome-bottom{display:none}@media(max-width:900px){.welcome-world{min-height:640px}}@media(max-width:550px){.welcome-world{min-height:700px}}
@media(max-width:550px){.welcome-aside{display:none}.welcome-nav a{font-size:14px}.welcome-brand{font-size:21px}.welcome-world{height:calc(100svh - 75px)}.welcome-miner{width:106%;left:-3%;bottom:4%}.welcome-copy h1{font-size:clamp(62px,18vw,92px)}}
@media(min-width:551px) and (max-width:900px){.welcome-miner{left:40.5%;width:58%;bottom:-7%}.welcome-copy{max-width:39%;top:16%}.welcome-copy h1{font-size:12vw}.welcome-aside{display:none}.welcome-nav{z-index:5}}
/* Clipping must not create an invisible scroll area around the mascot. */
.welcome{overflow:clip}

.welcome-miner[role=button]{pointer-events:auto;cursor:pointer;touch-action:manipulation}.welcome-miner[role=button]:focus-visible{outline:2px solid #c59b62;outline-offset:8px;border-radius:40%}

/* Short product promise; the protocol mark stays legible beside the mascot. */
.welcome-copy .welcome-network{display:flex;align-items:center;gap:12px;max-width:300px;font-size:11px;line-height:1.5;letter-spacing:1.2px}
.welcome-network img{width:27px;height:27px;flex:none}
.welcome-aside .welcome-token{font:clamp(13px,1.1vw,17px)/1.5 'Trebuchet MS',sans-serif;color:#edbd71;overflow-wrap:anywhere;letter-spacing:.2px;margin-top:18px}
.welcome-copy>small b{font-weight:600;color:#edbd71}
@media(max-width:550px){.welcome-copy .welcome-network{font-size:9px;gap:9px;max-width:240px}.welcome-network img{width:22px;height:22px}.welcome-copy>small{display:block;font-size:10px;max-width:210px;margin-top:14px}.welcome-copy{pointer-events:none}.welcome-copy h1{margin-bottom:0}}

@media(min-width:901px) and (max-height:800px){.welcome-copy{top:10%}.welcome-copy h1{font-size:clamp(80px,9vw,130px)}.welcome-aside{font-size:clamp(24px,2.4vw,38px)}}

@media(max-width:550px){.welcome-copy{top:2%;width:90%;max-width:90%}.welcome-copy h1{font-size:clamp(38px,11vw,58px);white-space:nowrap;letter-spacing:-.7px}.welcome-copy h1 br{display:none}.welcome-copy>small{max-width:none;margin-top:10px}.welcome-miner{bottom:3%}}
