*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#a3c6c2;color:#fff;font-family:Inter,'PingFang SC','Microsoft YaHei',sans-serif;user-select:none}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;font:inherit}button:focus-visible,a:focus-visible{outline:2px solid #d0f09b;outline-offset:4px}#world{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}.vignette{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#132e2b9c,transparent 64%),linear-gradient(0deg,#142c2c8a,transparent 32%,transparent 80%,#142c2c50)}body.playing .vignette{background:linear-gradient(0deg,#142c2c65,transparent 21%,transparent 85%,#142c2c40)}header{position:fixed;top:0;width:100%;display:flex;justify-content:space-between;align-items:center;padding:27px 40px;z-index:4}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:white}.brand>span{font-size:20px;letter-spacing:3px;font-weight:800}.brand small{display:block;font-size:8px;letter-spacing:3.2px;font-weight:500;opacity:.6;margin-top:5px}.worldtag{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:.8px;background:#172f3048;backdrop-filter:blur(10px);border:1px solid #ffffff20;padding:11px 16px;border-radius:25px}.worldtag i,.live-dot{width:5px;height:5px;display:inline-block;background:#cef1a7;border-radius:50%}.worldtag span{border-left:1px solid #ffffff35;padding-left:12px;color:#d4dfd3;font-size:10px}nav{display:flex;gap:8px}nav button{height:35px;min-width:35px;color:#fff;border:1px solid #ffffff28;background:#18343240;border-radius:6px;backdrop-filter:blur(8px)}nav button:hover{background:#ffffff25}nav span{font-size:11px;padding-right:7px}.menu{position:fixed;inset:0;z-index:2;display:flex;align-items:center;padding:100px 7.5% 120px;pointer-events:none}.hero{pointer-events:auto}.eyebrow{font-size:10px;letter-spacing:3px;color:#e0ecce;display:flex;align-items:center;gap:12px}.eyebrow>span{width:23px;height:1px;background:#d3e7b9}h1{font-size:clamp(36px,4.7vw,70px);font-weight:800;line-height:1.32;letter-spacing:1px;margin:24px 0 20px;text-shadow:0 3px 24px #14372a30}h1 span{color:#d3edaa}.hero>p{font-size:13px;line-height:2.2;color:#e1e8dfd4;font-weight:400}.actions{display:flex;gap:12px;margin-top:30px;align-items:center}.primary{padding:16px 25px;background:#d4eea9;color:#273e2c;border:1px solid #e1f4c2;border-radius:5px;box-shadow:0 4px 0 #8ea66f;font-size:13px;font-weight:800;letter-spacing:1px}.primary span{margin-left:28px;font-size:20px}.primary:hover{background:#e2f6c1;transform:translateY(-1px)}.secondary{padding:16px 20px;background:#18372c38;border:1px solid #ffffff50;color:#fff;border-radius:5px;font-size:12px}.secondary span{margin-left:16px;color:#cdd7cb}.worldinfo{display:flex;gap:25px;margin-top:36px;font-size:10px;letter-spacing:1px;color:#e4eddd}.worldinfo i{font-style:normal;margin-right:7px;color:#d8edaf;font-size:16px}.note{font-size:9px;letter-spacing:.5px;color:#ffffff69;margin-top:26px}.scene-label{position:absolute;right:5%;bottom:160px;text-align:right;text-shadow:0 2px 15px #0004}.scene-label>span{font-size:9px;letter-spacing:3px;color:#eff1ddc9}.scene-label h2{font-size:19px;letter-spacing:2px;font-weight:500;margin:10px 0}.scene-label p{font-size:8px;letter-spacing:2px;color:#e3ebd0b0}footer{position:fixed;bottom:0;width:100%;padding:19px 38px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#e1e8dacf;z-index:4;gap:18px;background:linear-gradient(0deg,#162e2d65,transparent)}.footer-left{display:flex;gap:9px;align-items:center}.divider{opacity:.4}kbd{font:inherit;display:inline-block;padding:3px 5px;border:1px solid #ffffff50;border-radius:3px;margin:0 5px 0 10px;color:white;font-size:9px}#controlsHint{font-size:9px;color:#e1e7dfaa}.footer-right{letter-spacing:1px}#hotbarWrap{position:fixed;bottom:64px;left:50%;transform:translateX(-50%);z-index:3;text-align:center;transition:opacity .2s;opacity:.85}body:not(.playing) #hotbarWrap{opacity:.65;pointer-events:none}.material-label{font-size:12px;margin-bottom:10px;text-shadow:0 2px 4px #172d23}.material-label small{font-size:8px;letter-spacing:1px;opacity:.6;margin-left:16px}#hotbar{display:flex;gap:4px;background:#162d2b90;border:1px solid #ffffff29;padding:6px;border-radius:7px;backdrop-filter:blur(10px)}.slot{position:relative;width:49px;height:48px;background:#e6efdb0d;border:1px solid #ffffff15;border-radius:3px;padding:8px;display:grid;place-items:center;color:#dce9c9}.slot.selected{border:2px solid #d8efaf;background:#d8efaf30;box-shadow:0 0 12px #c0ec9320;transform:translateY(-2px)}.slot small{position:absolute;top:2px;left:4px;font-size:8px;opacity:.65}.slot .cube{width:25px;height:28px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);position:relative;background:var(--c)}.cube:before{content:'';position:absolute;inset:0;background:#0003;clip-path:polygon(0 25%,50% 50%,50% 100%,0 75%)}.cube:after{content:'';position:absolute;inset:0;background:#fff3;clip-path:polygon(0 25%,50% 0,100% 25%,50% 50%)}#hud{position:fixed;inset:0;pointer-events:none}.coordinates{position:absolute;top:107px;left:40px;display:flex;flex-direction:column;gap:7px;font-family:monospace;font-size:10px;letter-spacing:1px;color:#ffffffb0;text-shadow:0 1px 3px #0008}#crosshair{position:absolute;top:50%;left:50%;mix-blend-mode:difference}#crosshair i{position:absolute;left:-7px;top:-1px;width:14px;height:2px;background:white}#crosshair b{position:absolute;top:-7px;left:-1px;width:2px;height:14px;background:white}#target{position:absolute;top:calc(50% + 25px);left:50%;transform:translateX(-50%);font-size:10px;text-shadow:0 1px 4px #000;background:#122e2955;padding:4px 8px;border-radius:4px}#target:empty{display:none}.hidden{display:none!important}#toast{position:fixed;top:110px;left:50%;transform:translateX(-50%) translateY(-10px);opacity:0;background:#1b332de8;border:1px solid #d8edaf44;color:#e3efcd;padding:12px 20px;border-radius:6px;font-size:12px;z-index:10;transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.dialog{position:fixed;inset:0;z-index:9;background:#102b287a;backdrop-filter:blur(10px);display:grid;place-items:center;padding:24px}.dialog-card{background:#1c3532;border:1px solid #cfe1b636;padding:40px;max-width:800px;position:relative;box-shadow:0 25px 100px #0005;border-radius:10px}.dialog-card h2{font-size:28px;margin:18px 0 28px}.close{position:absolute;right:15px;top:12px;background:none;border:none;color:#cddbc5;font-size:25px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.guide-grid b{color:#daecbd;font-size:12px}.guide-grid p{font-size:10px;line-height:2.3;color:#b8c9c1}.guide-grid kbd{margin-left:0}.tip{font-size:10px;color:#c8d8bb;padding:15px 0;border-top:1px solid #ffffff15;line-height:1.8}.dialog .primary{font-size:11px;padding:13px 20px}#resetWrap{margin-top:20px}#resetWrap button{border:0;background:none;color:#e9d4b6;text-decoration:underline;font-size:10px;padding:0;margin-right:12px}#resetWrap span{font-size:9px;color:#ffffff60}#touch{position:fixed;inset:0;pointer-events:none;z-index:3}.dpad{position:absolute;bottom:130px;left:25px;width:134px;height:134px}.dpad button,.touch-actions button{pointer-events:auto;touch-action:none;border:1px solid #ffffff45;background:#17383266;color:white;backdrop-filter:blur(5px);border-radius:8px;width:42px;height:42px}.up{position:absolute;top:0;left:46px}.left{position:absolute;top:46px;left:0}.down{position:absolute;top:46px;left:46px}.right{position:absolute;top:46px;left:92px}.touch-actions{position:absolute;bottom:143px;right:22px;display:grid;grid-template-columns:52px 52px;gap:8px}.touch-actions button{font-size:11px;width:52px;height:42px}body.playing .scene-label{display:none}@media(max-width:850px){header{padding:19px 22px}.brand>span{font-size:16px}.brand svg{width:26px}.worldtag{display:none}.menu{padding:95px 7% 130px}h1{font-size:45px}.scene-label{display:none}footer{padding:15px 22px}.footer-right{display:none}.coordinates{left:22px;top:90px}.guide-grid{grid-template-columns:1fr;gap:10px}.dialog-card{padding:25px;max-height:90vh;overflow:auto}.dialog-card h2{font-size:23px;margin:15px 0}.guide-grid p{margin:5px 0}.slot{width:40px;height:42px}#hotbarWrap{bottom:58px}}@media(max-width:550px){header{padding:16px}.brand{gap:8px}.brand small{font-size:6px}.brand>span{font-size:15px}nav{gap:5px}nav button{min-width:30px;height:30px}nav span{display:none}h1{font-size:35px;margin:20px 0}.hero>p{font-size:11px}.menu{padding:100px 24px 150px;align-items:center}.eyebrow{font-size:8px;letter-spacing:2px}.actions{margin-top:22px}.primary{padding:12px 17px;font-size:12px}.primary span{margin-left:8px}.secondary{padding:15px 13px;font-size:11px}.worldinfo{gap:17px;margin-top:25px;font-size:9px}.note{font-size:8px;margin-top:18px}.slot{width:32px;height:35px;padding:4px}.slot .cube{width:20px;height:23px}#hotbar{gap:2px;padding:4px}#hotbarWrap{bottom:55px;width:max-content}.material-label small{display:none}footer{padding:14px 16px;font-size:8px}#controlsHint{display:none}#fps{display:none}.divider{display:none}#toast{font-size:10px;max-width:85vw;width:max-content;top:90px}.dialog{padding:15px}.dialog-card{padding:25px}.dialog-card h2{font-size:21px}}
#world{image-rendering:pixelated}#toolbelt{display:flex;justify-content:center;gap:5px;margin-bottom:6px;align-items:center}#toolbelt button{font-size:10px;color:#e5ebdc;background:#142f28c9;border:1px solid #a6b5976b;border-radius:2px;padding:7px 11px;box-shadow:inset 1px 1px #ffffff18,inset -2px -2px #0004}#toolbelt button.selected{border-color:#e6efc6;background:#728458d9;color:#fff}#toolName{display:none}#toolHint{font-size:9px;color:#eff4df;text-shadow:0 2px 3px #000;margin-bottom:9px;letter-spacing:.5px}#hotbar{border-radius:2px;border:2px solid #9a9c8e;background:#22291ce0;box-shadow:inset 1px 1px #fff4,2px 2px 0 #0006}.slot{border-radius:0;border:2px solid #58634e;box-shadow:inset 2px 2px #0006,inset -1px -1px #ffffff25;background:#757f6580}.slot.selected{transform:none;border:2px solid #f1f3d5;box-shadow:inset 1px 1px #fff6,0 0 0 1px #172016;background:#a2ad8b66}#waterHint{position:absolute;top:140px;left:40px;font-size:11px;color:#d8f4ff;background:#14394b9e;border:1px solid #91d1d059;padding:9px 12px;border-radius:3px}body.underwater:after{content:'';position:fixed;inset:0;z-index:1;pointer-events:none;background:#1073ab3c;box-shadow:inset 0 0 140px #043e79a8}#miningUI{position:absolute;left:50%;top:calc(50% + 60px);transform:translateX(-50%);width:205px;text-shadow:0 1px 3px #000;font-size:10px;color:#fff}#miningUI>div:first-child{display:flex;justify-content:space-between;gap:15px;margin-bottom:7px}.mine-track{height:8px;background:#1b211ad9;border:1px solid #e1e4d585;padding:1px;box-shadow:0 1px 3px #0005}.mine-track i{display:block;height:100%;background:#b6db6c;width:0}#miningUI small{display:block;font-size:8px;text-align:center;opacity:.8;margin-top:6px}#handView{position:absolute;right:7%;bottom:12%;font-size:94px;filter:drop-shadow(8px 10px 0 #0003);transform:rotate(-20deg);image-rendering:pixelated;opacity:.93}body.mining #handView{animation:dig-swing .32s ease-in-out infinite}@keyframes dig-swing{0%,100%{transform:translate(0,0) rotate(-20deg)}50%{transform:translate(-24px,-24px) rotate(-48deg)}}.material-label{margin-bottom:7px}body:not(.playing) #hotbarWrap{opacity:.7}@media(max-width:850px){#waterHint{left:22px;top:120px}#toolbelt button{padding:5px 9px;font-size:9px}}@media(max-width:550px){#waterHint{left:15px;top:118px;font-size:9px;max-width:85vw}#toolHint{font-size:8px;margin-bottom:5px}#toolbelt button{padding:5px 9px;font-size:9px}#toolbelt{margin-bottom:5px}.material-label{display:none}#handView{font-size:63px;right:22%;bottom:29%}.dpad{bottom:175px}.touch-actions{bottom:185px}.touch-actions button{font-size:10px}#miningUI{top:calc(50% + 48px);width:175px}}
.stack-count{position:absolute;right:3px;bottom:1px;z-index:1;color:#fff;font-size:11px;font-family:monospace;text-shadow:1px 1px #18220e;pointer-events:none}#adventureHUD{position:absolute;inset:0}#questCard{position:absolute;top:172px;left:38px;width:245px;background:#18342ee8;border:1px solid #a6bc814a;border-radius:6px;padding:15px;backdrop-filter:blur(8px);box-shadow:0 10px 28px #10201826}.quest-top{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1px;color:#e2d7ff}.quest-top b{font-size:11px;background:#b69be82b;padding:4px 7px;border-radius:3px}#questCard h3{font-size:13px;margin:12px 0 8px;color:#eaf0d7}#questCard p{font-size:11px;color:#d5e0c4;margin:0 0 10px}.quest-track{height:4px;background:#8b9c7333}.quest-track i{height:100%;display:block;background:#d2e694;transition:width .4s}#questCard small{font-size:9px;color:#9db6a4;line-height:1.8;display:block;margin-top:10px}#questOpen{display:flex;justify-content:space-between;pointer-events:auto;width:100%;padding:10px 0 0;margin-top:12px;border:0;border-top:1px solid #e0efbc22;background:none;color:#cde4ab;font-size:9px}#questOpen span{opacity:.65}#mapCard{position:absolute;right:38px;top:110px;width:142px;background:#19342bce;padding:7px;border:1px solid #b6c99b59;border-radius:5px;backdrop-filter:blur(6px)}#dayClock{font-size:9px;color:#e4e8c9;padding:2px 0 7px;text-align:center}#minimap{display:block;width:126px;height:126px;border:1px solid #d4dfb43b;image-rendering:pixelated}.waypoint{display:flex;gap:5px;align-items:center;padding-top:7px;font-size:9px;color:#e9e1ba}.waypoint b{font-size:9px;flex:1;font-weight:500}.waypoint small{font-size:9px;opacity:.7}#compassArrow{display:inline-block;color:#dcc5ff;transform-origin:center;width:13px;text-align:center}#resourceBar{position:absolute;left:38px;bottom:83px;display:flex;gap:15px;align-items:center;background:#173329c9;border:1px solid #b4c69645;padding:11px 13px;border-radius:4px;font-size:13px;color:#e7d6ab}#resourceBar>span{display:flex;align-items:center;gap:5px}#resourceBar small{font-size:8px;color:#b3c6b0}#resourceBar b{font-size:12px;color:#f2edda}#useBtn{pointer-events:auto;background:none;border:0;border-left:1px solid #ffffff25;color:#d8edb6;padding:0 0 0 10px;font-size:9px}#useBtn kbd{margin:0 3px 0 0}#useHint{position:absolute;left:50%;top:calc(50% + 48px);transform:translateX(-50%);font-size:9px;color:#e8eddab3;text-shadow:0 1px 3px #11241d}body.mining #useHint{display:none}#pickup{position:absolute;left:50%;bottom:260px;transform:translateX(-50%);font-size:12px;font-weight:600;color:#e5efbb;text-shadow:0 2px 3px #132f20;opacity:0;pointer-events:none}#pickup.pop{animation:pickup 1.3s ease-out}@keyframes pickup{0%{opacity:0;translate:0 12px}20%{opacity:1}80%{opacity:1}100%{opacity:0;translate:0 -20px}}.workshop-card{background:#1b342d;border:1px solid #c6d8a349;border-radius:8px;padding:35px;max-width:960px;width:100%;max-height:92vh;overflow:auto;position:relative;box-shadow:0 25px 100px #0006}.workshop-card h2{font-size:28px;margin:16px 0 10px}.workshop-intro{font-size:11px;line-height:1.8;color:#a9c19e}.workshop-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-top:24px}.workshop-grid h3{font-size:12px;color:#d8e8b4;letter-spacing:1px;margin:0 0 9px}.workshop-grid section>p{font-size:10px;line-height:1.9;color:#9fb7a4}.recipe{display:flex;align-items:center;gap:12px;background:#40523926;border:1px solid #a0b38a2b;padding:13px 12px;margin:9px 0;border-radius:4px}.recipe-icon{font-size:25px}.recipe>div{flex:1}.recipe b{font-size:12px}.recipe small,.recipe em{display:block;font-size:9px;margin-top:5px;color:#a9c29b;font-style:normal}.recipe em{color:#d0c69e}.recipe button,.relic-card button,.camp-summary button,.build-switch button{background:#b7d28b19;border:1px solid #bdcf9440;border-radius:3px;color:#d5e4b5;padding:9px 11px;font-size:10px}.recipe button:hover,.relic-card button:hover{background:#b7d28b33}.recipe button:disabled{opacity:.45;cursor:default}.relic-card{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #bdd09a24}.relic-card>span{color:#c6adff;font-size:28px;width:30px}.relic-card>div{flex:1}.relic-card b{font-size:12px;color:#e1d7f0}.relic-card p{font-size:9px;color:#9bb59f;line-height:1.7;margin:5px 0}.camp-summary{margin-top:20px;border-top:1px solid #bdcf9429;padding-top:17px}.camp-summary>b{font-size:11px;color:#e4e5b4}.camp-summary p{font-size:10px;line-height:1.9;color:#9fb7a4}.camp-summary button{margin-right:6px;margin-top:5px}.build-switch{margin-top:22px;background:#51654122;padding:15px;border-radius:4px}.build-switch p{font-size:10px;color:#a5bca0;line-height:1.8}.victory-card{text-align:center;background:#19352df5;border:1px solid #e0dfa056;border-radius:10px;padding:48px 42px;max-width:650px;box-shadow:0 0 100px #c3e6b322}.win-symbol{font-size:65px;color:#dfecaa;text-shadow:0 0 35px #d9ed9577}.victory-card .eyebrow{justify-content:center;font-size:9px}.victory-card h2{font-size:30px;line-height:1.4;margin:22px 0}.victory-card p{font-size:12px;line-height:2.2;color:#b7cdb7}.victory-card #winStats{font-size:10px;color:#dfd9a3;border-top:1px solid #c6d89b33;border-bottom:1px solid #c6d89b33;padding:17px 0;margin:23px 0}.victory-card small{display:block;color:#829f87;font-size:9px;margin-top:24px}.victory-card .secondary{margin-left:8px}.worldtag{font-size:10px}.worldtag span{font-size:9px}#hotbarWrap{bottom:59px}.material-label{font-size:10px}#toolHint{font-size:8px}#handView{bottom:13%}@media(max-width:1050px){#resourceBar small{display:none}#resourceBar{gap:10px}#questCard{width:215px;left:22px}#mapCard{right:22px}.workshop-card{padding:28px}#resourceBar{left:22px;bottom:220px}}@media(max-width:700px){.workshop-grid{grid-template-columns:1fr;gap:25px}.workshop-card h2{font-size:24px}.workshop-card{padding:26px 20px}#questCard{top:167px;left:15px;width:180px;padding:11px}#questCard h3{font-size:11px;line-height:1.6}#questCard small{font-size:8px}#questCard p{font-size:9px}#mapCard{right:15px;top:100px;width:104px;padding:5px}#minimap{width:92px;height:92px}#dayClock{font-size:8px}.waypoint b{font-size:8px}.waypoint small{font-size:8px}#resourceBar{left:15px;bottom:145px;padding:8px;gap:9px}#resourceBar>span{font-size:10px}#resourceBar b{font-size:10px}#useBtn{font-size:8px}#questOpen{font-size:8px}#questOpen span{display:none}.victory-card{padding:30px 22px}.victory-card h2{font-size:24px}.victory-card .secondary{display:block;margin:18px auto 0}.hero h1{font-size:clamp(32px,6vw,48px)}.note{max-width:270px;line-height:1.8}}@media(max-width:550px){header{gap:8px}#full,#soundBtn{display:none}.brand>span{font-size:13px}.brand svg{width:22px}.brand small{font-size:5px;letter-spacing:2px}nav button{min-width:29px;height:29px}nav{gap:4px}#questCard{top:158px;width:172px}#questCard small{max-height:28px;overflow:hidden}#mapCard{top:95px}#questCard h3{margin:7px 0}.quest-top{font-size:8px}.quest-top b{font-size:9px;padding:3px 5px}#resourceBar{bottom:151px}#handView{display:none}.workshop-card .eyebrow{font-size:8px;letter-spacing:1px}#useHint{font-size:8px;white-space:nowrap}.recipe{padding:12px 8px}.recipe button{padding:8px;font-size:9px}#pickup{bottom:280px}.menu{padding-bottom:185px}.hero>p{max-width:300px}}
#combatBars{position:absolute;bottom:218px;left:50%;transform:translateX(-50%);width:445px;text-shadow:1px 2px #142117}.life-row{display:flex;justify-content:space-between;font-family:monospace;font-size:20px;letter-spacing:1px}#health{color:#df6c5d}#hunger{color:#cb9b56}#airBar{position:absolute;bottom:58px;right:0;font-size:21px;color:#a9e9ff;letter-spacing:2px}#airSeconds{position:absolute;bottom:84px;right:0;color:#c6e9f3;font-size:9px}.xp-track{margin-top:6px;height:4px;border:1px solid #111b0ee8;background:#24311cf2}.xp-track i{display:block;height:100%;background:#b8d557;width:0}.combat-sub{display:flex;justify-content:space-between;font-size:8px;color:#e5e8c7;margin-top:6px;letter-spacing:.5px}#attackMeter{position:absolute;top:calc(50% + 22px);left:50%;transform:translateX(-50%);width:110px;text-align:center;font-size:8px;color:#e5ecce;text-shadow:0 1px 3px #000}#attackMeter>div{margin:5px auto 0;height:3px;width:60px;background:#13241dd9}#attackFill{display:block;height:100%;background:#e5dfaf}#useHint{top:calc(50% + 60px)}#enemyHud{position:absolute;left:50%;top:calc(50% - 85px);transform:translateX(-50%);width:180px;text-shadow:0 1px 3px #102213;font-size:11px}#enemyHud b{font-weight:500}#enemyHud small{float:right;font-size:9px;color:#e2d6bc}#enemyHud>div{height:5px;background:#2a1a1abf;border:1px solid #f1d3c544;margin-top:6px}#enemyLife{display:block;height:100%;background:#d17963}#damageFlash{position:fixed;inset:0;z-index:8;pointer-events:none;opacity:0;box-shadow:inset 0 0 130px 40px #c43635b5;transition:opacity .15s}#damageFlash.flash{opacity:1}body.swinging #handView{animation:sword-swing .28s ease-out}@keyframes sword-swing{0%,100%{transform:rotate(-20deg)}45%{transform:translate(-100px,-25px) rotate(-75deg)}}#shieldView{position:absolute;left:10%;bottom:13%;width:120px;height:170px;background:repeating-linear-gradient(90deg,#947144 0 23px,#6b5033 24px 26px);border:9px solid #8c9c8d;clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%);transform:rotate(8deg);box-shadow:inset 0 0 0 3px #394b3b;opacity:.95}#shieldView i{display:block;width:17px;height:100%;margin:auto;background:#b6bbaa}#combatActions{position:absolute;right:38px;bottom:82px;display:flex;gap:6px;pointer-events:auto}#combatActions button{touch-action:none;background:#1b342cdf;border:1px solid #9eae7b6b;border-radius:4px;color:#ece7c7;min-width:40px;height:39px;font-size:15px;padding:6px 10px}#combatActions small{font-size:8px;margin-left:5px;color:#b9c99e}#foodAmount{font-size:11px}#graveHint{position:absolute;left:38px;bottom:63px;font-size:9px;color:#e1d9b0;text-shadow:0 1px 3px #102013}#defenseHUD{position:absolute;top:108px;left:50%;transform:translateX(-50%);text-align:center;border:1px solid #d8b48280;background:#492d23da;padding:12px 24px;border-radius:5px;box-shadow:0 0 30px #af6a3429}#defenseHUD b{display:block;font-size:13px;color:#f0d39c}#defenseHUD span{display:block;margin-top:7px;color:#dbc4a6;font-size:10px}.combat-workshop{grid-column:1/-1;border-top:1px solid #c5d69b3b;padding-top:23px}.combat-heading{display:flex;justify-content:space-between;align-items:center}.combat-heading label{font-size:10px;color:#b2c49a}.combat-heading select{background:#2c4435;color:#e4edca;border:1px solid #91a67166;border-radius:4px;margin-left:8px;padding:7px 14px}.combat-heading p{font-size:10px;color:#adc098}.combat-workshop>p{font-size:10px;color:#b3c39e;line-height:1.8}.combat-recipes{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}.combat-recipes article{padding:14px 12px;background:#52624024;border:1px solid #a2b17e2e;border-radius:4px}.combat-recipes b{font-size:12px;color:#e0dfb7}.combat-recipes p{font-size:9px;color:#a6b893;min-height:27px;line-height:1.8}.combat-recipes button,.equipment-state button{border:1px solid #a5ba7f66;background:#63774244;color:#e0eac3;padding:8px 9px;border-radius:3px;font-size:10px}.equipment-state{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:15px;color:#c2d0a8;font-size:10px}.combat-tips{border-top:1px solid #ffffff15;padding-top:13px}.death-card{background:#342722f5;border:1px solid #bf9b7c66;border-radius:9px;max-width:510px;text-align:center;padding:45px 38px}.death-card .eyebrow{justify-content:center;color:#c8b19a}.death-card h2{font-size:39px;letter-spacing:5px;margin:25px 0;color:#efdac5}.death-card p{font-size:12px;color:#c9baa9;line-height:2}.death-card small{display:block;margin-top:26px;font-size:9px;line-height:1.9;color:#9e8e7f}body.creative #health,body.creative #hunger{opacity:.35}body.mining #attackMeter{display:none}#death{z-index:12}#miningUI{top:calc(50% + 73px)}@media(max-width:1050px){#combatActions{right:22px;bottom:80px}#combatBars{width:410px}.life-row{font-size:18px}#graveHint{left:22px;bottom:201px}}@media(max-width:700px){#combatBars{bottom:208px;width:340px}.life-row{font-size:15px;letter-spacing:0}.combat-sub{font-size:7px}#combatActions{right:15px;bottom:145px;max-width:155px;flex-wrap:wrap;justify-content:flex-end}#combatActions button{height:35px;padding:5px 8px;min-width:34px}#graveHint{left:15px;bottom:131px;font-size:8px;max-width:210px}#defenseHUD{top:80px;padding:8px 15px;min-width:200px}#defenseHUD b{font-size:11px}.combat-recipes{grid-template-columns:1fr 1fr}.combat-recipes article{padding:12px 10px}.equipment-state{gap:8px}#shieldView{width:80px;height:110px;left:8%;bottom:30%}}@media(max-width:550px){#combatBars{bottom:198px;width:300px}.life-row{font-size:14px}#resourceBar{bottom:115px}#graveHint{bottom:101px;max-width:200px;font-size:7px}#combatActions{bottom:155px;right:15px;gap:4px}#combatActions button{width:40px;padding:4px}#combatActions small{display:none}#enemyHud{width:145px;top:calc(50% - 65px)}#attackMeter{top:calc(50% + 23px);font-size:7px}#handView{display:block;font-size:50px;right:10%;bottom:25%;opacity:.85}#handTool svg{width:85px;height:115px}#toolbelt button{font-size:8px;padding:5px 6px}.touch-actions{bottom:248px}.dpad{bottom:248px}#questCard{width:159px;top:151px;padding:9px}#questCard small{max-height:24px;line-height:1.5}#questOpen{margin-top:7px;padding-top:7px}#questCard h3{font-size:10px}.death-card{padding:30px 23px}.death-card h2{font-size:31px}}
.production-workshop{grid-column:1/-1;border-top:1px solid #b7cb9a40;padding-top:23px;scroll-margin-top:20px}.production-workshop h3{font-size:13px;color:#e2e4b1}.production-workshop .combat-heading p{font-size:10px;color:#a3bb9a;line-height:1.8}#homeStocks,#foodStocks{font-size:11px;line-height:2;background:#4d60412e;border:1px solid #a6bd8030;padding:9px 13px;color:#dce7bd;border-radius:4px;margin:8px 0}#foodStocks{color:#dfcaa4;background:#77613922}.production-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:17px}.production-grid article{padding:17px;border:1px solid #a8b78730;background:#35503a27;border-radius:4px}.production-grid h4{font-size:13px;color:#dde4b9;margin:0 0 10px}.production-grid p{font-size:10px;line-height:1.9;color:#a8bca1}.production-grid button{display:block;border:1px solid #a9bf7e4f;border-radius:3px;background:#60764426;color:#e0e7bd;padding:9px 11px;font-size:10px;margin-top:8px;width:100%;text-align:left}.production-grid button:hover{background:#70874944}.production-grid small{display:block;font-size:10px;color:#e1cda4;line-height:1.8}.furnace-track{height:5px;background:#18281e;margin:9px 0 13px}.furnace-track i{display:block;height:100%;background:#e0a566;transition:width .3s}#furnaceStatus{font-size:10px;color:#dac9a6;margin-top:10px}#farmHint{position:absolute;left:38px;bottom:46px;font-size:8px;color:#bcd6a4;text-shadow:0 1px 3px #13291a}#toolbelt{gap:3px}#toolbelt button{padding:7px 8px}#toolHint{max-width:440px;white-space:nowrap}.workshop-card{max-width:1000px}@media(max-width:700px){.production-grid{grid-template-columns:1fr}.production-grid article{padding:14px}.production-workshop .combat-heading{display:block}#farmHint{left:15px;bottom:87px;font-size:7px;max-width:210px}#toolbelt button{padding:5px 7px;font-size:9px}#homeStocks,#foodStocks{font-size:10px}.production-grid h4{font-size:12px}}@media(max-width:550px){#toolbelt{gap:2px}#toolbelt button{padding:5px;font-size:8px}#toolHint{font-size:7px;max-width:310px;overflow:hidden;text-overflow:ellipsis}#farmHint{bottom:89px;font-size:6px;max-width:190px}.production-grid article{padding:12px}}
#productionOpen{pointer-events:auto;display:block;background:#b4c98212;border:1px solid #c6d69929;border-radius:3px;padding:8px 9px;margin-top:9px;width:100%;color:#d7dfa9;font-size:9px;text-align:left}.workshop-card>.close{position:sticky;top:0;float:right;z-index:2;width:32px;height:32px;background:#1b342df2;border:1px solid #afc18c33;border-radius:4px;margin:-13px -13px 0 0}@media(max-width:550px){#productionOpen{font-size:8px;padding:6px;margin-top:7px}}
.prep-action{border:1px solid #d1df9b85!important;background:#c3dc8b25!important;color:#e3edbc!important;cursor:pointer}#endPrep{pointer-events:auto;display:block;width:100%;padding:10px 8px;margin-top:12px;border-radius:4px;font-size:11px;box-shadow:inset 0 0 18px #b8d68a0e}#endPrep:hover,#menuEndPrep:hover{background:#c3dc8b42!important}.actions{flex-wrap:wrap}#menuEndPrep{padding:17px 18px;font-size:11px}.wave-rules{background:#4054321a;border:1px solid #a8bd8533;padding:17px;border-radius:5px}.wave-rules>p{font-size:10px;line-height:1.9;color:#b7c9a6}.wave-number-rule{font-size:15px;line-height:1.8;color:#e1e8b8;padding:12px 0;letter-spacing:1px;border-top:1px solid #c5d69b29;border-bottom:1px solid #c5d69b29;margin:12px 0}#workshopEndPrep{font-size:11px;width:100%;margin:12px 0;padding:12px}#waveTimer{position:absolute;top:103px;left:50%;transform:translateX(-50%);font-size:12px;color:#e8edc4;background:#17352bd4;border:1px solid #b4c9905e;border-radius:4px;padding:9px 17px;letter-spacing:1px}#defenseHUD{top:149px;min-width:235px;padding:10px 20px}#eatFleshBtn{font-size:11px!important;color:#dcc0a5!important}#fleshAmount{color:#f1e7c8;font-size:12px}.death-card h2{font-size:33px}#questCard{width:255px}.scene-label{bottom:190px}@media(max-width:850px){#questCard{width:215px}#waveTimer{top:93px;font-size:10px}#defenseHUD{top:133px;padding:8px 12px;min-width:190px}}@media(max-width:550px){#questCard{width:169px}#endPrep{font-size:9px;padding:8px 5px;margin-top:8px}#waveTimer{top:79px;font-size:9px;padding:6px 10px}#defenseHUD{top:115px;font-size:10px;min-width:175px}#menuEndPrep{padding:12px 14px;font-size:10px}.wave-rules{padding:13px}.wave-number-rule{font-size:12px}#combatActions{max-width:151px}.hero h1{font-size:34px}.scene-label{display:none}.worldinfo{gap:15px;font-size:8px}#combatActions button{width:auto;min-width:39px}#eatFleshBtn{font-size:9px!important}}
/* Classic, pixel-edged inventory and unified nine-slot hotbar. */
#toolbelt{display:none!important}#hotbarWrap{bottom:24px;opacity:1!important;width:max-content;max-width:100vw;--slot-size:44px}#hotbar{gap:0;padding:3px;background:#343434ba;border:3px solid #161616;border-radius:0;box-shadow:inset 2px 2px #969696,inset -2px -2px #555;backdrop-filter:none;overflow:visible}#hotbar .slot{width:var(--slot-size);height:var(--slot-size);border:2px solid #373737;background:#7778;box-shadow:inset 2px 2px #2228,inset -2px -2px #ddd5;margin:0;padding:5px;overflow:visible}#hotbar .slot.selected{outline:3px solid #ececec;outline-offset:-1px;border-color:#555;box-shadow:inset 2px 2px #fff9,0 0 0 2px #181818;z-index:2;background:#aaa6}.mc-slot svg{width:100%;height:100%;display:block;image-rendering:pixelated;filter:drop-shadow(2px 2px #0006)}.mc-slot .cube{width:29px;height:32px;image-rendering:pixelated;filter:drop-shadow(2px 2px #0006)}.stack-count{right:2px;bottom:0;font-size:17px;font-weight:700;font-family:monospace;line-height:1;text-shadow:2px 2px #303030;letter-spacing:-1px}.item-durability{position:absolute;left:5px;right:5px;bottom:3px;height:4px;background:#161616;box-shadow:0 1px #000}.item-durability i{display:block;height:3px}.material-label{font-size:14px;margin-bottom:9px;text-shadow:2px 2px #222;font-family:monospace}.material-label #buildMode,.material-label small{display:none}#toolHint{display:none}#inventoryBtn{position:absolute;left:calc(100% + 10px);bottom:8px;background:#777;border:2px solid #222;box-shadow:inset 2px 2px #ddd,inset -2px -2px #444;color:white;text-shadow:1px 1px #222;font-size:11px;white-space:nowrap;padding:9px}#inventory{position:fixed;inset:0;z-index:12;display:grid;place-items:center;background:#0009;color:#353535;font-family:monospace;padding:12px;--cell:44px}.mc-inventory{position:relative;padding:22px 16px 13px;background:#c6c6c6;border:3px solid #121212;box-shadow:inset 3px 3px #fff,inset -3px -3px #555,0 20px 80px #0007;max-height:95vh;overflow:auto;width:calc(var(--cell)*9 + 38px)}#closeInventory{position:absolute;right:7px;top:5px;background:none;border:0;font-size:23px;color:#444;padding:0 4px}.inventory-top{display:flex;align-items:center;gap:12px;min-height:148px}.equipment-column{width:85px;display:flex;flex-direction:column;gap:12px;font-size:10px;line-height:1.7}.equipment-column>div{padding:5px;background:#999;border:2px solid;border-color:#555 #fff #fff #555;min-height:42px}#inventoryPlayer{align-self:stretch;display:grid;place-items:center;background:#181818;width:85px;min-width:60px;border:2px solid;border-color:#555 #fff #fff #555}#inventoryPlayer svg{width:65px;height:115px;image-rendering:pixelated}.inventory-craft{flex:1;font-size:12px}.inventory-craft b{font-weight:normal}.craft-decoration{display:grid;grid-template-columns:26px 26px 15px 30px;grid-template-rows:26px 26px;gap:3px;margin:10px 0}.craft-decoration i{background:#8b8b8b;border:2px solid;border-color:#373737 #fff #fff #373737}.craft-decoration i:nth-child(3){grid-row:2;grid-column:1}.craft-decoration i:nth-child(4){grid-row:2;grid-column:2}.craft-decoration span{grid-column:3;grid-row:1/3;align-self:center}.craft-decoration i:last-child{grid-column:4;grid-row:1/3;height:34px;align-self:center}#inventoryCraft{color:white;text-shadow:1px 1px #222;background:#777;border:2px solid #222;box-shadow:inset 2px 2px #bbb,inset -2px -2px #444;padding:7px;font-size:10px}.inventory-craft small{display:block;font-size:9px;margin-top:6px;color:#555}.mc-inventory h2{font-size:14px;font-weight:400;margin:14px 0 7px}#backpackGrid,#inventoryHotbar{display:grid;grid-template-columns:repeat(9,var(--cell));gap:0}#inventoryHotbar{margin-top:10px}#inventory .mc-slot{width:var(--cell);height:var(--cell);padding:5px;border:2px solid;border-color:#373737 #fff #fff #373737;background:#8b8b8b;box-shadow:inset 1px 1px #555;border-radius:0;transform:none}#inventory .mc-slot:hover{background:#b7b7b7}#inventory .mc-slot.selected{outline:2px solid #f5f5f5;outline-offset:-4px}#inventory .mc-slot.carried{background:#b4bca3;outline:2px dashed #fff;outline-offset:-5px}.inventory-instructions{font-size:10px;line-height:1.8;margin:12px 0 0;color:#555}#inventoryOverflow{font-size:10px;max-height:46px;overflow:auto;line-height:1.6;margin:6px 0 0;color:#684e25}#inventoryOverflow:empty{display:none}#survivalHUD{bottom:95px}body.playing footer{display:none}@media(max-width:550px){#hotbarWrap{--slot-size:calc((100vw - 24px)/9);bottom:16px}.material-label{display:block;font-size:12px}#inventoryBtn{bottom:calc(var(--slot-size) + 35px);left:auto;right:0;padding:6px}#inventory{--cell:calc((100vw - 62px)/9)}.mc-inventory{padding-top:22px}.inventory-top{min-height:125px;gap:7px}.equipment-column{width:65px;font-size:9px}#inventoryPlayer{width:60px}.craft-decoration{transform:scale(.85);transform-origin:left center}.inventory-craft{font-size:10px}#inventoryCraft{font-size:9px}.mc-slot .cube{width:22px;height:25px}.stack-count{font-size:14px}.inventory-instructions{font-size:9px}#inventory .mc-slot{padding:3px}}
#inventoryBtn{pointer-events:auto}body:not(.playing) #hotbarWrap{opacity:.85!important}
#hotbarWrap{z-index:5}
#criticalHit{position:fixed;z-index:6;left:50%;top:calc(50% - 72px);transform:translateX(-50%);pointer-events:none;opacity:0;font:700 17px monospace;color:#ffe1a3;white-space:nowrap;text-shadow:2px 2px #512e1b,-1px -1px #241b14;letter-spacing:1px}#criticalHit.active{animation:critical-impact .55s ease-out both}#criticalHit:before,#criticalHit:after{content:'';position:absolute;left:50%;top:62px;width:46px;height:4px;background:#fff3cd;box-shadow:0 0 0 2px #7f4d34;transform:translateX(-50%) rotate(45deg)}#criticalHit:after{transform:translateX(-50%) rotate(-45deg)}@keyframes critical-impact{0%{opacity:0;scale:.8}16%{opacity:1;scale:1.12}45%{opacity:1;scale:1}100%{opacity:0;translate:0 -20px;scale:1}}@media(prefers-reduced-motion:reduce){#criticalHit.active{animation:none;opacity:1}#criticalHit:before,#criticalHit:after{display:none}}
#impactMarker{position:fixed;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;opacity:0;font:30px/1 monospace;color:#fff1cc;text-shadow:1px 1px #402615}#impactMarker.active{opacity:1}#impactMarker.kill{color:#b8f077;font-size:36px}#killFeedback{position:fixed;z-index:5;left:50%;top:calc(50% + 80px);transform:translateX(-50%);pointer-events:none;opacity:0;font:700 16px monospace;color:#c9f39b;text-shadow:2px 2px #22331a;white-space:nowrap}#killFeedback.active{animation:kill-pop 1.4s ease-out both}@keyframes kill-pop{0%{opacity:0;translate:0 8px;scale:.9}12%,65%{opacity:1;translate:0 0;scale:1}100%{opacity:0;translate:0 -10px}}@media(prefers-reduced-motion:reduce){#killFeedback.active{animation:none;opacity:1}}
.perk-card{padding:32px;background:#c6c6c6;color:#333;border:3px solid #171717;box-shadow:inset 3px 3px #fff,inset -3px -3px #555;max-width:800px;width:100%;max-height:92vh;overflow:auto}.perk-card .eyebrow{color:#56693a}.perk-card h2{font-size:28px;margin:16px 0}.perk-card p{font-size:12px;line-height:1.9;color:#555}.perk-options{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.perk-options button{display:flex;flex-direction:column;gap:14px;align-items:center;padding:24px 12px;background:#858585;color:#fff;border:3px solid;border-color:#eee #444 #444 #eee;text-shadow:1px 1px #222}.perk-options button:hover,.perk-options button:focus-visible{background:#6c8251;outline:2px solid #e0f1b3}.perk-options button>span{font-size:36px;color:#e0f1aa}.perk-options small{font-size:11px;line-height:1.8;font-weight:normal}#progressHUD{position:fixed;right:18px;top:100px;z-index:4;display:none;flex-direction:column;gap:7px;max-width:300px;padding:12px;background:#1c2d23ab;border:1px solid #bccda355;pointer-events:none;font-size:10px;text-shadow:1px 1px #152417}body.playing #progressHUD{display:flex}#perkStatus{font-size:12px;color:#e6f4b4}#airdropStatus{color:#ffe2a0}#historyStatus{color:#c4ceba}#dashButton{pointer-events:auto;padding:8px;color:#fff;background:#335660;border:1px solid #a5d9da}#health{max-width:360px;white-space:normal;overflow-wrap:anywhere}@media(max-width:650px){.perk-card{padding:20px}.perk-options{grid-template-columns:repeat(2,1fr);gap:8px;margin:15px 0}.perk-options button{padding:12px 8px;gap:8px}.perk-options button>span{font-size:25px}.perk-card h2{font-size:22px}.perk-card p{font-size:10px}#progressHUD{top:70px;right:8px;max-width:190px;font-size:8px;padding:7px;gap:4px}#towerStatus,#historyStatus{display:none}#perkStatus{font-size:10px}}
#progressHUD{top:310px}@media(max-width:650px){#progressHUD{top:255px}}
#comboHUD{position:fixed;z-index:5;left:50%;top:24%;transform:translateX(-50%) skew(-5deg);display:flex;align-items:center;gap:13px;color:var(--combo-color,#fff0bc);text-shadow:2px 3px #15201d;pointer-events:none;font-family:monospace;background:linear-gradient(90deg,#15231d00,#15231d99,#15231d00);padding:8px 20px}body:not(.playing) #comboHUD{display:none}#comboRank{font-size:63px;line-height:1;font-weight:900;font-style:italic}#comboHUD>div{display:grid;grid-template-columns:auto auto;gap:3px 8px;align-items:end}#comboHUD small{font-size:10px;letter-spacing:2px}#comboCount{font-size:36px;line-height:.9}#comboTitle{grid-column:1/3;font-size:12px;font-weight:700;font-style:normal}#comboBest{grid-column:1/3;opacity:.65;font-size:9px!important;letter-spacing:0!important}.combo-track{grid-column:1/3;width:145px;height:4px;background:#090f0b99;margin:4px 0}.combo-track i{display:block;height:100%;background:var(--combo-color);box-shadow:0 0 7px var(--combo-color)}#comboHUD.combo-pop{animation:combo-punch .2s ease-out}@keyframes combo-punch{0%{scale:1.22}100%{scale:1}}#impactPulse{position:fixed;inset:0;pointer-events:none;z-index:2;opacity:0;box-shadow:inset 0 0 110px 5px #f4cf8c}#cameraShakeToggle{margin-right:12px;margin-bottom:12px}@media(max-width:650px){#comboHUD{top:28%;padding:5px 10px;gap:8px}#comboRank{font-size:40px}#comboCount{font-size:26px}.combo-track{width:100px}}@media(prefers-reduced-motion:reduce){#comboHUD.combo-pop{animation:none}#impactPulse{display:none}}
#skipRest{pointer-events:auto;display:block;width:100%;padding:10px 8px;margin-top:12px;border-radius:4px;font-size:11px}#workshopSkipRest{width:100%;font-size:11px;margin:12px 0}#menuSkipRest{font-size:11px}#mapCard{width:228px}#minimap{width:100%;height:auto;aspect-ratio:2/1}#progressHUD{top:300px}@media(max-width:650px){#mapCard{width:156px}#progressHUD{top:245px}}

/* Compact pixel sword with a vanilla-style equip pose and one short attack sweep. */
body.sword-equipped #handView{right:5%;bottom:11%;transform:perspective(600px) rotateY(-20deg) rotateZ(-12deg);transform-origin:23% 82%;filter:drop-shadow(3px 4px 0 #0004);opacity:1}
body.sword-equipped #handTool svg{width:205px;height:205px;image-rendering:pixelated}
body.sword-equipped.swinging #handView{animation:classic-sword-swing .28s ease-out both}
@keyframes classic-sword-swing{0%,100%{transform:perspective(600px) rotateY(-20deg) rotateZ(-12deg)}22%{transform:perspective(600px) translate(-12px,-8px) rotateY(-35deg) rotateZ(-20deg)}48%{transform:perspective(600px) translate(-58px,18px) rotateY(25deg) rotateX(-15deg) rotateZ(-62deg)}72%{transform:perspective(600px) translate(-24px,12px) rotateY(8deg) rotateZ(-35deg)}}
@media(max-width:650px){body.sword-equipped #handView{right:5%;bottom:24%}body.sword-equipped #handTool svg{width:135px;height:135px}}
@media(prefers-reduced-motion:reduce){body.sword-equipped.swinging #handView{animation:none}}

/* Large first-person sword, with the grip continuing beyond the lower-right edge. */
body.sword-equipped #handView{right:-3%;bottom:-9%;line-height:0}
body.sword-equipped #handTool svg{width:clamp(260px,48vh,440px);height:clamp(260px,48vh,440px)}
@media(max-width:650px){body.sword-equipped #handView{right:-5%;bottom:-5%}body.sword-equipped #handTool svg{width:clamp(180px,42vh,290px);height:clamp(180px,42vh,290px)}}

/* Three compact wrist-led cuts; no fullscreen trails or aim displacement. */
body.sword-equipped.swinging.chain-cut-0 #handView{animation:chain-diagonal .44s linear both}
body.sword-equipped.swinging.chain-cut-1 #handView{animation:chain-backhand .44s linear both}
body.sword-equipped.swinging.chain-cut-2 #handView{animation:chain-finisher .5s linear both}
/* Grip-anchored cuts: fast tip travel, quiet handle, unchanged recovery time. */
body.sword-equipped #handView{transform-origin:15.625% 84.375%}
/* Reference motion: the tip cuts forward and down; the grip stays near the wrist. */
@keyframes chain-diagonal{
0%,100%{transform:perspective(600px) translate3d(0,0,0) rotateY(-20deg) rotateX(0deg) rotateZ(-12deg)}
7%{transform:perspective(600px) translate3d(2px,-3px,0) rotateY(-24deg) rotateX(-7deg) rotateZ(-3deg);animation-timing-function:cubic-bezier(.12,.8,.22,1)}
23%{transform:perspective(600px) translate3d(-7px,7px,-28px) rotateY(5deg) rotateX(57deg) rotateZ(-72deg);animation-timing-function:ease-out}
38%{transform:perspective(600px) translate3d(-6px,9px,-24px) rotateY(9deg) rotateX(62deg) rotateZ(-76deg);animation-timing-function:cubic-bezier(.35,0,.45,1)}
76%{transform:perspective(600px) translate3d(-2px,4px,-9px) rotateY(-11deg) rotateX(24deg) rotateZ(-32deg);animation-timing-function:ease-out}}
@keyframes chain-backhand{
0%,100%{transform:perspective(600px) translate3d(0,0,0) rotateY(-20deg) rotateX(0deg) rotateZ(-12deg)}
6%{transform:perspective(600px) translate3d(2px,-2px,0) rotateY(-27deg) rotateX(-5deg) rotateZ(-7deg);animation-timing-function:cubic-bezier(.12,.8,.22,1)}
22%{transform:perspective(600px) translate3d(-5px,7px,-30px) rotateY(-3deg) rotateX(68deg) rotateZ(-54deg);animation-timing-function:ease-out}
38%{transform:perspective(600px) translate3d(-4px,10px,-26px) rotateY(2deg) rotateX(70deg) rotateZ(-60deg);animation-timing-function:cubic-bezier(.35,0,.45,1)}
76%{transform:perspective(600px) translate3d(-1px,4px,-10px) rotateY(-14deg) rotateX(27deg) rotateZ(-28deg);animation-timing-function:ease-out}}
@keyframes chain-finisher{
0%,100%{transform:perspective(600px) translate3d(0,0,0) rotateY(-20deg) rotateX(0deg) rotateZ(-12deg)}
8%{transform:perspective(600px) translate3d(1px,-5px,0) rotateY(-26deg) rotateX(-12deg) rotateZ(0deg);animation-timing-function:cubic-bezier(.1,.85,.2,1)}
23%{transform:perspective(600px) translate3d(-7px,8px,-34px) rotateY(-6deg) rotateX(73deg) rotateZ(-65deg);animation-timing-function:ease-out}
40%{transform:perspective(600px) translate3d(-6px,11px,-28px) rotateY(1deg) rotateX(76deg) rotateZ(-69deg);animation-timing-function:cubic-bezier(.4,0,.45,1)}
80%{transform:perspective(600px) translate3d(-2px,4px,-11px) rotateY(-13deg) rotateX(29deg) rotateZ(-31deg);animation-timing-function:ease-out}}
@media(prefers-reduced-motion:reduce){body.sword-equipped.swinging #handView{animation:none!important}}

/* Finishing cut: grip anchored forward thrust, sharp snap, measured recovery. */
body.sword-equipped.swinging.executing #handView{animation:execution-cut .95s linear both}
@keyframes execution-cut{
0%,100%{transform:perspective(600px) rotateY(-20deg) rotateZ(-12deg)}
7%{transform:perspective(600px) translate3d(0,-8px,0) rotateX(-24deg) rotateY(-32deg) rotateZ(30deg);animation-timing-function:cubic-bezier(.08,.8,.2,1)}
15%{transform:perspective(600px) translate3d(-8px,-14px,-10px) rotateX(18deg) rotateY(12deg) rotateZ(-100deg)}
18%{transform:perspective(600px) translate3d(-8px,-10px,-10px) rotateX(26deg) rotateY(12deg) rotateZ(-106deg)}
22%{transform:perspective(600px) translate3d(-8px,-14px,-10px) rotateX(18deg) rotateY(12deg) rotateZ(-100deg)}
55%{transform:perspective(600px) translate3d(-6px,-10px,-8px) rotateX(20deg) rotateY(6deg) rotateZ(-82deg);animation-timing-function:ease-in-out}}
body.executing #impactMarker.active{width:140px;height:140px;display:grid;place-items:center;font-size:42px;color:#fff3d0;background:radial-gradient(circle,#fff6cfbb 0 3%,#ffd37455 6%,#ffd37400 42%);border:2px solid #ffe2a380;border-radius:50%;box-shadow:0 0 22px #ffd37466,inset 0 0 18px #fff1b666;animation:slam-center-impact .24s ease-out both}
@keyframes slam-center-impact{0%{opacity:1;scale:.35}35%{opacity:1;scale:1}100%{opacity:0;scale:1.45}}
@media(prefers-reduced-motion:reduce){body.sword-equipped.swinging.executing #handView{animation:none!important}}

/* Forward thrust: grip at lower centre, tip foreshortened into the scene. */
body.sword-equipped.dash-thrust #handView{--thrust-size:clamp(260px,48vh,440px);width:var(--thrust-size);height:var(--thrust-size);left:50%;right:auto;margin-left:calc(var(--thrust-size)*-.15625);bottom:3%;transform-origin:15.625% 84.375%;animation:dash-sword-thrust .22s ease-out both;filter:drop-shadow(0 0 5px #8cdded88)}
@keyframes dash-sword-thrust{0%{transform:perspective(650px) translate(15vw,10vh) rotateX(12deg) rotateZ(-20deg)}32%{transform:perspective(650px) translate(0,0) rotateX(48deg) rotateZ(-45deg)}65%{transform:perspective(650px) translate3d(0,-3vh,-30px) rotateX(58deg) rotateZ(-45deg)}100%{transform:perspective(650px) translate3d(0,-3vh,-45px) rotateX(58deg) rotateZ(-45deg)}}
#dashSpeedFX{position:fixed;inset:0;pointer-events:none;z-index:2;opacity:0;overflow:hidden}body.dash-thrust #dashSpeedFX{animation:dash-speed-flash .22s ease-out both}#dashSpeedFX i{position:absolute;top:50%;left:-3%;width:22%;height:2px;background:linear-gradient(90deg,transparent,#9ce8facc,transparent);transform:rotate(10deg);box-shadow:0 0 5px #9ce8fa88}#dashSpeedFX i:nth-child(2){top:67%;transform:rotate(-14deg)}#dashSpeedFX i:nth-child(3){top:83%;transform:rotate(-27deg)}#dashSpeedFX i:nth-child(n+4){left:auto;right:-3%;transform:rotate(-10deg)}#dashSpeedFX i:nth-child(5){top:67%;transform:rotate(14deg)}#dashSpeedFX i:nth-child(6){top:83%;transform:rotate(27deg)}
@keyframes dash-speed-flash{0%{opacity:0;scale:.92}25%{opacity:.8}100%{opacity:0;scale:1.12}}
@media(max-width:650px){body.sword-equipped.dash-thrust #handView{--thrust-size:clamp(180px,42vh,290px);bottom:8%}}
@media(prefers-reduced-motion:reduce){body.dash-thrust #dashSpeedFX{display:none}body.sword-equipped.dash-thrust #handView{animation:none;transform:perspective(650px) rotateX(48deg) rotateZ(-45deg)}}

#dashChainHUD{position:fixed;right:4%;top:56%;z-index:3;pointer-events:none;text-align:right;color:#cafff5;text-shadow:0 2px 3px #112b34,0 0 12px #5cddec77;border-right:3px solid #80edf0;padding:6px 12px}#dashChainHUD span,#dashChainHUD small{display:block;font-size:12px;letter-spacing:2px}#dashChainHUD b{display:block;font-size:43px;font-style:italic;line-height:1.15}#dashChainHUD small{font-size:10px;opacity:.8;letter-spacing:0}.dash-chain-pop{animation:dash-chain-bump .22s ease-out}@keyframes dash-chain-bump{0%{scale:1.15}100%{scale:1}}@media(max-width:650px){#dashChainHUD{top:49%;right:3%;padding:4px 7px}#dashChainHUD b{font-size:30px}#dashChainHUD span{font-size:10px}}@media(prefers-reduced-motion:reduce){.dash-chain-pop{animation:none}}

#triangleButton{pointer-events:auto;border:1px solid #b69bff88;background:#433269dd;color:#e4dcff;padding:8px 10px;border-radius:4px;font:inherit}#triangleStatus{color:#cdbdff;max-width:310px}@media(max-width:650px){#triangleButton{padding:6px;font-size:9px}}

#particleGlow{position:fixed;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;mix-blend-mode:screen}

/* Held bow stays at the edge of the view; only its string and limbs flex. */
body.bow-equipped #handView{right:8%;bottom:13%;opacity:1;transform:rotate(-12deg)}body.bow-equipped #handTool .bow-model{width:clamp(150px,29vh,260px);height:auto;image-rendering:pixelated;filter:drop-shadow(3px 4px 0 #16201c66)}@media(max-width:650px){body.bow-equipped #handView{right:2%;bottom:22%}body.bow-equipped #handTool .bow-model{width:clamp(120px,24vh,175px)}}

body.bow-equipped #handView{right:3%;bottom:6%;transform:rotate(-15deg)}body.bow-equipped #handTool .bow-model{width:clamp(240px,43vh,380px);filter:drop-shadow(2px 3px 0 #18271b55)}@media(max-width:650px){body.bow-equipped #handView{right:-5%;bottom:17%}body.bow-equipped #handTool .bow-model{width:clamp(170px,33vh,250px)}}

/* Reference pose: tall, close to camera, arrow directed forward-left. */
body.bow-equipped #handView{right:-7%;bottom:-16%;transform:rotate(13deg);pointer-events:none}body.bow-equipped #handTool .bow-model{width:clamp(360px,80vh,720px);height:auto;max-width:none} @media(max-width:650px){body.bow-equipped #handView{right:-21%;bottom:-3%}body.bow-equipped #handTool .bow-model{width:clamp(300px,68vh,480px)}}

#dialog .dialog-card{max-height:88vh;overflow-y:auto;width:min(900px,94vw)}.key-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.key-guide section{background:#152d2a;border:1px solid #8faaa34a;padding:15px;text-align:left}.key-guide h3{font-size:13px;color:#d5edb3;margin:0 0 12px}.key-row{display:flex;align-items:center;gap:9px;margin:9px 0;font-size:11px;line-height:1.6}.key-row kbd{flex-shrink:0;min-width:29px;padding:3px 7px;text-align:center;background:#354b43;border:1px solid #819284;border-bottom-width:3px;border-radius:3px;color:#fff;font:11px monospace}.key-row span{color:#cfdbce}.key-note{font-size:12px;line-height:1.9;color:#d0ddc6}@media(max-width:760px){.key-guide{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.key-guide{grid-template-columns:1fr}.key-row{font-size:12px}}

.author-credit{font-size:10px;font-weight:400;color:#d0ddcc;opacity:.7;white-space:nowrap}.sensitivity-setting{margin:18px 0;padding:16px 18px;background:#18332e;border:1px solid #8eab8c55;border-radius:6px;text-align:left}.sensitivity-setting>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.sensitivity-setting label{font-size:14px;color:#e6efdf}.sensitivity-setting output{font:13px monospace;color:#d1eea5}.sensitivity-setting input{display:block;width:100%;height:24px;margin:13px 0;accent-color:#c0dfa0;cursor:pointer}.sensitivity-setting small{font-size:11px;color:#b9cab7}.sensitivity-setting button{padding:6px 10px;border:1px solid #a7c48a66;border-radius:4px;background:#354d38;color:#e3ecd9;font-size:11px}

.rank-card{position:relative;width:min(1000px,94vw);max-height:88vh;overflow:auto;background:#16312b;color:#e4ecdf;border:1px solid #9db98066;border-radius:10px;padding:30px}.rank-card h2{font-size:28px;margin:10px 0}.rank-card p,.rank-card small{font-size:12px;line-height:1.8}.rank-profile{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.rank-profile input{background:#0e2520;color:#fff;border:1px solid #8aab7c;padding:10px;border-radius:4px;max-width:200px}.rank-profile button{background:#bddb92;border:0;padding:10px;border-radius:4px;color:#193020}.rank-profile button:disabled{opacity:.5}#rankBoards{display:grid;gap:20px;margin:22px 0}#rankBoards section{overflow:auto}#rankBoards h3{font-size:16px;color:#cde5ae}#rankBoards table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}#rankBoards th,#rankBoards td{padding:10px;border-bottom:1px solid #adc59a33;overflow-wrap:anywhere}#rankBoards th{color:#a9c399}#rankStatus{color:#d4e6b9;min-height:22px}.rank-card .close{position:absolute;right:15px;top:12px}@media(max-width:600px){.rank-card{padding:24px 16px}.rank-profile{gap:8px}#rankBoards td{padding:8px 5px}}

#playerHitCue{position:fixed;z-index:15;left:50%;top:65%;transform:translateX(-50%);color:#ffe1d4;font-size:14px;font-weight:700;text-shadow:0 2px 5px #200a08;padding:7px 14px;background:#571a1977;border-bottom:2px solid #ed9c7c;opacity:0;pointer-events:none;white-space:nowrap}#damageDirection{display:none;position:fixed;left:50%;top:50%;width:220px;height:220px;pointer-events:none;z-index:14}#damageDirection i{position:absolute;left:calc(50% - 14px);top:0;width:28px;height:12px;background:#ff8762;clip-path:polygon(50% 0,100% 100%,0 100%);filter:drop-shadow(0 0 5px #ec5940)}@media(prefers-reduced-motion:reduce){#playerHitCue{transition:none}}

.actions .trial-entry{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;min-height:46px;border:1px solid #d1e1b85c;border-radius:4px;color:#e9f2dc;background:#213e358c;font-size:12px;text-decoration:none;backdrop-filter:blur(8px)}.actions .trial-entry:hover{background:#496348c9;border-color:#d9ebbe}.actions .trial-entry span{color:#cfe5a9}

.enchant-card{position:relative;width:min(860px,94vw);max-height:88vh;overflow:auto;padding:30px;background:#152b2b;border:1px solid #acb5dc;border-radius:14px;color:#edf5ef;box-shadow:0 25px 100px #0009}.enchant-card h2{font-size:27px;margin:12px 0}.enchant-card p,.enchant-card small{font-size:12px;line-height:1.8;color:#bfcecf}.enchant-card select{padding:9px;background:#253b42;color:white;border:1px solid #8293ab;border-radius:5px}.enchant-card strong{display:block;margin:16px 0;color:#c7edb5}#enchantList{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}#enchantList article{padding:16px;border:1px solid;border-radius:8px;background:#102022}#enchantList h3{font-size:16px;margin:0}#enchantList button{padding:9px 14px;border:1px solid #aeb6db;border-radius:5px;background:#c9d4ef;color:#182438;cursor:pointer}#enchantList button:disabled{opacity:.45;cursor:default}@media(max-width:600px){#enchantList{grid-template-columns:1fr}.enchant-card{padding:22px}}

/* Opening screen: quiet forest tones, warm metal details, clear play hierarchy. */
#menu{padding:108px 7.5% 85px;overflow:auto;isolation:isolate;background:linear-gradient(90deg,rgba(8,22,21,.94) 0%,rgba(9,25,23,.86) 30%,rgba(10,27,23,.43) 65%,rgba(10,25,23,.25)),linear-gradient(0deg,#081b19d9,transparent 45%,#0d23233d);align-items:center}
#menu:before{content:"";position:absolute;inset:24px;border:1px solid #d4d7b514;pointer-events:none;z-index:-1}#menu:after{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 78% 25%,#f0cf6c12,transparent 45%);z-index:-1}
#menu .hero{position:relative;width:480px;max-width:100%;animation:frontier-arrive .7s ease-out both}#menu .eyebrow{color:#d5caa0;font-size:10px;letter-spacing:3px;gap:12px}#menu .eyebrow>span{width:28px;background:#d8bf80}#menu .eyebrow b{font-size:9px;font-weight:400;letter-spacing:2px;color:#a2b3a6;border-left:1px solid #d7d6b530;padding-left:12px}
#menu h1{font-size:clamp(54px,5.7vw,86px);line-height:1.12;letter-spacing:6px;font-weight:850;color:#f0f0db;margin:26px 0 24px;text-shadow:0 4px 28px #0004}#menu h1>span{display:block;font-size:clamp(20px,2vw,27px);font-weight:450;letter-spacing:4px;color:#d7c38f;margin-top:20px;line-height:1.4}#menu .hero>p{max-width:none;color:#a8b9af;font-size:12px;line-height:2.1;letter-spacing:.6px;margin:0}
#menu .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:27px;max-width:438px}#menu .actions>*{margin:0;display:flex;justify-content:space-between;align-items:center;min-height:45px;padding:12px 17px;font-size:11px;border-radius:5px;text-decoration:none;transition:background .18s,border-color .18s,transform .18s;backdrop-filter:none}#menu .actions #start{grid-column:1/-1;min-height:61px;background:linear-gradient(120deg,#e8d5a3,#b7c88b);border:1px solid #f2e3b8;color:#20362c;box-shadow:inset 0 1px #fff7,0 4px 0 #62764c,0 8px 32px #b5c47b14;font-size:15px;font-weight:750;letter-spacing:2px;padding:15px 23px;order:0}#menu .actions #start:hover{background:linear-gradient(120deg,#f3e4bc,#d0e0a2);transform:translateY(-2px)}#menu .actions #start:active{transform:translateY(2px);box-shadow:inset 0 1px #fff7,0 1px 0 #62764c}#menu .actions #start span{font-size:24px;margin-left:0;font-weight:400}#menu .secondary{color:#d3dfd0;border:1px solid #b6c4ab36;background:#c5d5bd08;box-shadow:inset 0 1px #fff04}#menu .secondary:hover{background:#d2dfc518;border-color:#d3dfc66b;transform:translateY(-1px)}#menu .secondary span{font-size:15px;color:#a8bf9b;margin-left:12px}#menu #trialMenuOpen{order:1}#menu #rankMenuOpen{order:2}#menu #guide{order:3}#menu #menuEndPrep,#menu #menuSkipRest{order:4;background:transparent!important;border-color:#b6c4ab26!important;color:#a5b7a1!important;font-size:10px}
#menu .worldinfo{max-width:438px;margin-top:29px;padding-top:21px;border-top:1px solid #d3dcc324;display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:12px;color:#d8ddc8;letter-spacing:0}#menu .worldinfo>span{display:block}#menu .worldinfo b{font-family:Georgia,'Times New Roman',serif;font-size:26px;font-weight:400;line-height:1}#menu .worldinfo small{font-family:inherit;font-size:10px;margin-left:5px;color:#a6b69e}#menu .worldinfo em{display:block;font-style:normal;font-size:9px;color:#8fa395;margin-top:10px;letter-spacing:.3px}#menu .note{margin-top:20px;font-size:9px;letter-spacing:1px;color:#80988b}#menu #resetWrap{margin-top:17px}#menu #resetWrap span{font-size:9px}
#menu .scene-label{display:block;position:absolute;right:7.5%;bottom:15%;width:285px;text-align:left;padding:22px 24px;border:1px solid #e1dfb632;border-radius:7px;background:linear-gradient(135deg,#132e27d9,#18352cbf);box-shadow:0 18px 70px #0002,inset 0 1px #fff08;backdrop-filter:blur(12px);text-shadow:none;animation:frontier-arrive .9s ease-out both}#menu .scene-top{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:2px;color:#d7d9b8}#menu .scene-dot{height:5px;width:5px;background:#d6d89a;box-shadow:0 0 9px #d4df9980;border-radius:50%}#menu .scene-top small{margin-left:auto;color:#92a48d;font-size:7px;letter-spacing:1px}#menu .scene-number{font:italic 92px/1 Georgia,serif;letter-spacing:-4px;color:#e5d7ad;margin:24px 0 16px}#menu .scene-number span{display:inline-block;writing-mode:vertical-rl;font:9px/1.4 sans-serif;letter-spacing:4px;color:#a5b59c;margin-left:15px}#menu .scene-label h2{font-size:16px;font-weight:500;letter-spacing:1px;color:#e2e7cc;margin:0 0 10px}#menu .scene-label p{font-size:10px;line-height:2;letter-spacing:.6px;color:#a3b5a2;margin:0}#menu .scene-route{position:relative;display:flex;justify-content:space-between;margin:24px 0;height:7px}#menu .scene-route:before{content:"";position:absolute;left:0;right:0;top:3px;height:1px;background:linear-gradient(90deg,#c6ce95,#8d9f7033)}#menu .scene-route i{position:relative;display:block;width:6px;height:6px;transform:rotate(45deg);background:#6a835e;border:1px solid #9fb282}#menu .scene-route i:first-child{background:#dfd8a6;box-shadow:0 0 10px #d9db9950}#menu .scene-bottom{border-top:1px solid #c6d1b121;padding-top:15px;font-size:8px;color:#899d89;letter-spacing:1px;display:flex;flex-direction:column;gap:9px}#menu .scene-bottom b{font-size:9px;color:#c7d1b7;font-weight:400}
.menu-atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}.menu-atmosphere i{position:absolute;width:3px;height:3px;background:#e3dfaa;box-shadow:0 0 12px 3px #d4df9a38;left:65%;top:56%;opacity:.45;animation:frontier-mote 9s ease-in-out infinite}.menu-atmosphere i:nth-child(2){left:78%;top:28%;animation-delay:-4s}.menu-atmosphere i:nth-child(3){left:90%;top:69%;animation-delay:-7s}.menu-atmosphere i:nth-child(4){left:54%;top:38%;animation-delay:-2s}.menu-atmosphere i:nth-child(5){left:85%;top:18%;animation-delay:-6s}.menu-atmosphere i:nth-child(6){left:63%;top:78%;animation-delay:-1s}
body:has(#menu:not(.hidden)):not(.playing) #hotbarWrap,body:has(#menu:not(.hidden)):not(.playing) #controlsHint,body:has(#menu:not(.hidden)):not(.playing) .footer-right{display:none}body:has(#menu:not(.hidden)):not(.playing) header nav button:not(#soundBtn):not(#full):not(#help){display:none}body:has(#menu:not(.hidden)):not(.playing) header .worldtag{background:transparent;border-color:#d5dfc51f;border-radius:4px}body:has(#menu:not(.hidden)):not(.playing) footer{background:transparent;color:#a6b5a2;padding:22px 40px}
@keyframes frontier-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes frontier-mote{0%,100%{opacity:.12;transform:translate(0,0)}50%{opacity:.65;transform:translate(14px,-22px)}}
@media(max-width:1000px){#menu{padding-left:6%;padding-right:6%}#menu .hero{width:455px}#menu .scene-label{right:5%;width:240px;padding:19px;bottom:17%}#menu .scene-number{font-size:78px}#menu .scene-label h2{font-size:14px}body:has(#menu:not(.hidden)) header .worldtag{display:none}}
@media(max-width:800px){#menu .scene-label{display:none}#menu .hero{width:500px}#menu{padding:108px 8% 75px;background:linear-gradient(90deg,#0b211ff2,#0d2520bc),linear-gradient(0deg,#0b211f,transparent)}#menu h1{font-size:65px}#menu .actions,#menu .worldinfo{max-width:465px}}
@media(max-width:550px){#menu{padding:100px 26px 75px;align-items:flex-start}#menu:before{inset:12px}#menu .eyebrow{font-size:8px;letter-spacing:2px;gap:9px}#menu .eyebrow b{font-size:8px;letter-spacing:1px;padding-left:9px}#menu h1{font-size:53px;letter-spacing:4px;margin:25px 0 20px}#menu h1>span{font-size:19px;letter-spacing:2px;margin-top:16px}#menu .hero>p{font-size:11px;line-height:2.1}#menu .actions{margin-top:23px;gap:9px}#menu .actions>*{font-size:10px;padding:11px 12px}#menu .actions #start{min-height:57px;font-size:14px}#menu .worldinfo{margin-top:25px;padding-top:20px;gap:8px}#menu .worldinfo b{font-size:25px}#menu .worldinfo em{font-size:8px}#menu .note{font-size:8px;letter-spacing:.4px}body:has(#menu:not(.hidden)):not(.playing) footer{padding:16px 26px}body:has(#menu:not(.hidden)):not(.playing) header{padding:24px 25px}body:has(#menu:not(.hidden)):not(.playing) header .brand>span{font-size:16px}body:has(#menu:not(.hidden)):not(.playing) header nav{gap:5px}body:has(#menu:not(.hidden)):not(.playing) header nav button{min-width:29px;height:29px}}
@media(max-height:720px) and (min-width:801px){#menu{padding-top:95px;padding-bottom:65px;align-items:flex-start}#menu h1{font-size:60px;margin:17px 0}#menu h1>span{font-size:22px;margin-top:13px}#menu .actions{margin-top:18px}#menu .worldinfo{margin-top:22px;padding-top:16px}#menu .scene-label{bottom:12%}}
@media(prefers-reduced-motion:reduce){#menu .hero,#menu .scene-label,.menu-atmosphere i{animation:none}}

/* Sword uses its own real mesh and perspective camera; bow/tool overlays stay independent. */
body.sword-equipped #handView{visibility:hidden!important}#swordView3D{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;display:none}body:not(.playing) #swordView3D{display:none!important}

body.bow-equipped #handView{visibility:hidden!important}
.account-card{width:min(460px,92vw);max-height:90vh;overflow:auto}.account-card label{display:block;margin:12px 0;color:#d9dfcf}.account-card input:not([type=checkbox]),.account-card textarea{display:block;width:100%;box-sizing:border-box;padding:12px;margin-top:6px;border:1px solid #a5b38c66;border-radius:6px;background:#11291f;color:#f5f1d7;font:inherit}.account-card input[type=checkbox]{margin-right:8px}.account-tabs{display:flex;gap:8px;flex-wrap:wrap}.account-tabs [aria-pressed=true]{border-color:#e5d39c;color:#f4df99}.account-card>button{margin:6px 6px 0 0}.account-card textarea{height:90px;overflow-wrap:anywhere}.account-card small{display:block;line-height:1.6;margin:8px 0}#accountStatus{min-height:24px;color:#e8d6a0}
#monsterCompass{position:fixed;left:50%;bottom:145px;transform:translateX(-50%);z-index:18;display:flex;align-items:center;gap:12px;max-width:85vw;padding:9px 16px;border:1px solid #dce7b84d;border-radius:9px;background:#102a22d9;color:#eff3d7;pointer-events:none}#monsterCompass.hidden{display:none}.hunt-arrow{font-size:32px;line-height:1;display:block;color:#ffda82}.hunt-title,.hunt-detail{display:block}.hunt-title{font-size:13px}.hunt-detail{font-size:11px;margin-top:3px;color:#cbd7c1}@media(max-width:600px){#monsterCompass{bottom:180px;padding:7px 11px}.hunt-detail{font-size:10px}}
.account-card button{border:1px solid #b5c19966;border-radius:6px;background:#203f32;color:#e9ecd6;padding:10px 14px;font:inherit;cursor:pointer}.account-card button:hover{background:#2d5140}.account-tabs [aria-pressed=true],.account-card #accountSubmit{background:#d7d5a0;color:#173328;border-color:#eee2b0}.account-card button:disabled{opacity:.55;cursor:wait}

body:not(.playing) #monsterCompass{display:none}
