#chapter-panel{position:fixed;left:22px;top:250px;z-index:9;width:min(255px,35vw);padding:8px 12px;color:#275955;background:#fff2d5ee;border:2px solid #dfbe82;border-radius:14px;pointer-events:auto;font-size:12px}#chapter-panel[hidden],#chapter-panel button[hidden]{display:none}#chapter-panel summary{font-weight:900;cursor:pointer}#chapter-panel p{margin:6px 0}#chapter-panel button{font:inherit;font-weight:750;border:1px solid #9dc8b6;border-radius:8px;color:#145750;background:#d8eee2;padding:5px;margin:2px}#chapter-panel:not(.chapter-at-bridge) [data-chapter=stone],#chapter-panel:not(.chapter-at-bridge) [data-chapter=plank]{display:none}.mobile-ui #chapter-panel{left:8px;top:99px;font-size:10px;padding:4px 7px;width:min(175px,34vw)}#elder-dialog{position:fixed;inset:0;z-index:80;display:grid;place-items:center;background:#163b4588;padding:12px}#elder-dialog[hidden],#elder-dialog button[hidden]{display:none}#elder-dialog article{position:relative;width:min(540px,100%);max-height:92dvh;overflow:auto;padding:clamp(16px,4vw,28px);border:5px solid #43a99b;border-radius:24px;background:#fff3d6;color:#284f4e;box-shadow:0 5px #226769}#elder-dialog h2{margin:.25em 2rem .45em 0;line-height:1.15}#elder-dialog p{margin:.5em 0 1em;line-height:1.45}#elder-dialog footer{display:flex;gap:8px;flex-wrap:wrap}#elder-dialog button{padding:8px 14px;min-height:40px;border:2px solid #fee9b0;border-radius:999px;background:#177f73;color:#fff;font:inherit;font-weight:800}#elder-dialog button:disabled{opacity:.5}#elder-dialog [data-close]{position:absolute;right:8px;top:8px;background:#bb5741;font-size:21px;line-height:1}.resource-art{display:inline-block;width:2.45rem;height:auto;max-width:100%;aspect-ratio:1;object-fit:contain;vertical-align:middle}.mini-map-controls{display:flex;align-items:center;gap:4px;margin-top:4px}.mini-map-controls button{border:2px solid #ebd5a7;border-radius:10px;background:#fff7df;color:#24776e;font-weight:900;cursor:pointer;width:28px;height:26px}.mini-map-controls span{font-size:10px;flex:1;text-align:center}#island-map,#island-welcome{position:fixed;inset:0;z-index:80;display:grid;place-items:center;background:#103f4b66;padding:16px}#island-map[hidden],#island-welcome[hidden]{display:none}.island-map-card,#island-welcome article{background:#fff7df;border:7px solid #52b7ad;border-radius:28px;box-shadow:0 9px #277d7c,0 18px 40px #123e4855;color:#236760;padding:16px;width:min(1050px,95vw);max-height:94dvh;overflow:auto}.island-map-card header{display:flex;align-items:center;justify-content:space-between}.island-map-card h2,#island-welcome h2{margin:4px 0 12px}.island-map-card small,#island-welcome small{letter-spacing:2px;font-size:10px}.island-map-card canvas{width:100%;max-height:65dvh;object-fit:contain;border-radius:16px}.island-map-card footer{display:flex;justify-content:center;gap:8px;margin:10px}.island-map-card button,#island-welcome button{padding:10px 16px;border:2px solid #fff4d6;border-radius:16px;background:#51b8a8;color:#fff;font-weight:900;box-shadow:0 4px #2f8d81;cursor:pointer}.island-map-card button.active{background:#e7ad47;box-shadow:0 4px #bb8430}.island-map-card p{text-align:center;font-size:12px;margin:8px}.island-map-card .guide-close{background:#ef8470;font-size:24px;padding:5px 15px}#region-plaque{position:absolute;left:50%;top:115px;transform:translate(-50%,-20px);opacity:0;pointer-events:none;border:3px solid #fff4ce;border-radius:20px;background:var(--region-color,#58a998);padding:11px 25px;color:#fffbed;font-size:21px;font-weight:900;text-shadow:0 2px #0002;box-shadow:0 5px #1a535533;white-space:nowrap}#region-plaque.show{animation:region-arrival 5s both}@keyframes region-arrival{0%,to{opacity:0;transform:translate(-50%,-15px)}10%,85%{opacity:1;transform:translate(-50%)}}#island-welcome article{width:min(490px,94vw);padding:25px}#island-welcome p{line-height:1.6;font-size:15px}#island-welcome button{display:block;width:100%;margin:12px 0 0}.guide-highlight{outline:4px solid #eabd46;box-shadow:0 0 0 12px #f3cd5755!important;animation:guide-pulse 1.5s infinite}@keyframes guide-pulse{50%{outline-offset:5px}}@media(pointer:coarse){#region-plaque{top:55px;font-size:14px;padding:7px 16px}.mini-map-controls{gap:2px}.mini-map-controls button{width:23px;height:22px;padding:0}.island-map-card{padding:8px;border-width:4px}.island-map-card h2{font-size:19px;margin:3px}.island-map-card canvas{max-height:58dvh}.island-map-card footer{margin:5px;gap:4px}.island-map-card button{padding:7px;font-size:11px}.island-map-card p{display:none}#island-welcome article{max-height:90dvh;padding:16px}#island-welcome p{font-size:13px;line-height:1.4;margin:7px 0}}@media(prefers-reduced-motion:reduce){.guide-highlight{animation:none}}@media(pointer:coarse)and (orientation:landscape){.mobile-ui #hud aside.map-panel{display:block;right:calc(var(--safe-r,0px) + 103px);top:57px;width:110px;padding:5px;pointer-events:auto}.mobile-ui #hud aside.map-panel canvas{width:94px;height:76px}.mobile-ui #hud aside.map-panel small{display:none}.mobile-ui #hud aside.map-panel .mini-map-controls{gap:2px}.mobile-ui #hud aside.map-panel .mini-map-controls button{width:21px;height:21px;font-size:12px}.mobile-ui #hud aside.map-panel .mini-map-controls span{font-size:8px}.mobile-ui #hud aside.map-panel>div:first-child{font-size:7px}}#island-overview{position:fixed;inset:0;z-index:21;pointer-events:none}.overview-close{position:absolute;left:50%;top:14px;transform:translate(-50%);pointer-events:auto;padding:9px 17px;border-radius:14px;background:#fff3d4;color:#236760;font-weight:800}.overview-close:active{transform:translate(-50%)}.overview-north{position:absolute;left:17px;top:105px;color:#fff;font-weight:900;text-shadow:0 1px 4px #114}.overview-labels span{position:absolute;left:0;top:0;background:#fff3db;color:#16645e;border:1px solid #54a78f;border-radius:12px;padding:3px 7px;font-size:clamp(9px,1.15vw,13px);font-weight:800;white-space:nowrap;box-shadow:0 2px 5px #1236}@media(pointer:fine){#hud aside.map-panel{width:252px}#hud aside.map-panel canvas{width:100%;height:auto}}#hud aside.map-panel{width:218px;padding:0;border:0;box-shadow:none;background:none;overflow:visible;text-align:center}#hud aside.map-panel>div:first-child,#hud aside.map-panel>small{display:none}#hud aside.map-panel canvas{display:block;width:100%;height:auto;aspect-ratio:1;border:6px solid #fff5d7;border-radius:50%;box-shadow:0 4px #416e65,0 7px 18px #103c5a66;background:#64b9d8}.mini-north{position:absolute;top:-14px;left:50%;transform:translate(-50%);display:grid;place-items:center;width:32px;height:32px;border:3px solid #fff5d7;border-radius:50%;color:#fff!important;background:#397868;font-size:16px!important;font-weight:900}.map-panel .mini-map-controls{justify-content:center;gap:4px;margin:9px auto 0;width:max-content;background:#fff4d9;padding:2px 5px;border-radius:12px}.mini-map-controls span{padding:0 4px}.overview-actions{position:absolute;left:50%;top:59px;transform:translate(-50%);display:flex;gap:6px;pointer-events:auto;z-index:2;white-space:nowrap}.overview-actions button{min-width:34px;padding:5px 9px;border:2px solid #fff2cc;background:#e7f3d5;color:#216257;border-radius:12px;font-weight:900}.overview-route{position:absolute;inset:0;width:100%;height:100%;z-index:-1;overflow:hidden}.overview-route polyline{fill:none;stroke:#ffe889;stroke-width:4;stroke-dasharray:7 5;stroke-linejoin:round;filter:drop-shadow(0 1px 2px #183a35)}@media(pointer:coarse){.mobile-ui #hud aside.map-panel{width:95px;padding:0}.mobile-ui #hud aside.map-panel canvas{width:100%;height:auto;border-width:3px}.mini-north{width:23px;height:23px;top:-11px;font-size:12px!important}.map-panel .mini-map-controls{margin:5px auto 0}.overview-actions{top:49px}}#island-welcome{padding:12px;background:#103f4ba0}#island-welcome .welcome-card{display:grid;grid-template-columns:44% minmax(0,1fr);width:min(1080px,95vw,165dvh);max-height:96dvh;padding:clamp(7px,1.2vw,16px);border:clamp(4px,1vw,12px) solid #25bcb1;border-radius:clamp(18px,4vw,56px);background:linear-gradient(125deg,#fffaf0,#fcf0d9);box-shadow:inset 0 0 0 2px #fffbea,0 6px #087c76,0 14px 40px #142f4866}.welcome-art{width:100%;aspect-ratio:650/786;align-self:center;border-radius:clamp(10px,3vw,38px);background-repeat:no-repeat;background-size:244% 126.21%;background-position:7.48% 55.3%}.welcome-copy{align-self:center;padding:0 3% 0 6%;min-width:0}#island-welcome small{display:block;font-weight:900;text-transform:uppercase;color:#075650;font-size:clamp(.65rem,1.5vw,1.15rem);letter-spacing:.1em}#island-welcome h2{color:#06564e;font-size:clamp(1rem,4vw,3.6rem);line-height:1.03;margin:.18em 0 .28em}#island-welcome p{color:#315951;font-size:clamp(.72rem,2vw,1.53rem);line-height:1.28;margin:.45em 0}#island-welcome button{border-color:#51ddcd;background:linear-gradient(#1ac6b8,#079c90);box-shadow:0 4px #067568;font-size:clamp(.74rem,2.1vw,1.65rem);padding:.5em .7em;margin:.65em 0 0;border-radius:999px}.welcome-steps{display:flex;justify-content:center;gap:.4em;margin:.8em auto 0}.welcome-steps i{width:.62em;height:.62em;background:#d7ccb5;border-radius:50%}.welcome-steps .active{background:#079e92}.welcome-resources{display:flex;flex-wrap:wrap;gap:3px}.welcome-resources>span{display:flex;align-items:center;gap:2px;background:#fff5df;padding:1px 5px;border:1px solid #dac8a7;border-radius:999px;font-size:clamp(.62rem,1.2vw,.95rem);font-weight:900}.welcome-resources .resource-art{width:clamp(20px,3vw,38px)}@media(orientation:portrait)and (max-width:600px){#island-welcome .welcome-card{grid-template-columns:1fr;width:min(94vw,430px);max-height:94dvh}.welcome-art{width:min(60%,28dvh);justify-self:center}.welcome-copy{padding:8px 5px}#island-welcome h2{font-size:1.45rem}}@media(orientation:landscape)and (max-height:460px){#island-welcome h2{font-size:clamp(1rem,6dvh,1.8rem)}#island-welcome p{font-size:clamp(.65rem,3.7dvh,1rem)}.welcome-steps{margin-top:.4em}.welcome-resources .resource-art{width:22px}}#hud .game-tools .icon-only{display:inline-grid;place-items:center;min-width:48px;padding:10px}#hud .game-tools .icon-only svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#hud .game-tools .settings-toggle svg{fill:none;stroke:currentColor;stroke-width:1.7}#hud .game-tools .icon-only[aria-pressed=true]{background:#31a899;color:#fff}@media(pointer:coarse){.mobile-ui #hud .game-tools .icon-only{min-width:44px;padding:8px}}#hud .game-tools button.icon-only,#hud #leave{box-sizing:border-box;width:48px;height:48px;min-width:48px;min-height:48px;border-radius:50%;padding:0}.mobile-ui #hud .game-tools button.icon-only,.mobile-ui #hud #leave{width:44px;height:44px;min-width:44px;min-height:44px}body:not(.mobile-ui) #hud .game-tools #mobile-fullscreen{display:none}.inventory-hands{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.inventory-hands>div{border:2px solid #dbc495;border-radius:18px;padding:8px;background:#fff9e8;text-align:center}.inventory-hands small{display:block;font-weight:900;color:#28796e;font-size:11px;margin-bottom:5px}.inventory-hands button{min-height:54px;min-width:70px;border:2px solid #dfc597;border-radius:14px;background:linear-gradient(#fffdf0,#f3e2bd);font-size:29px;display:inline-flex;align-items:center;gap:8px;padding:5px 12px}.inventory-hands b{font-size:13px}.inventory-hands .empty:after{content:"Свободна";font-size:13px;color:#9b8a6e}.inventory-hands img{max-height:42px}@media(max-height:500px){.inventory-hands{gap:6px;margin-bottom:7px}.inventory-hands>div{padding:4px}.inventory-hands small{font-size:10px}.inventory-hands button{min-height:37px;font-size:22px}}#island-loading-progress{appearance:none;width:min(330px,78vw);height:22px;border:3px solid #fff6d6;border-radius:20px;overflow:hidden;background:#d8c49c;box-shadow:0 4px #a38d64}#island-loading-progress::-webkit-progress-bar{background:#d8c49c}#island-loading-progress::-webkit-progress-value{background:linear-gradient(90deg,#40b6a5,#82d3a2,#ffdc68);border-radius:16px;transition:width .18s}#island-loading-progress::-moz-progress-bar{background:#53c4af}#island-loading-value{font-size:22px;color:#217b70;margin-top:16px}#loading{z-index:10000}:root{font-family:Manrope,Arial,sans-serif;color:#183e3c;background:#8cd5df;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.65;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #f9bd4a;outline-offset:4px}button{transition:transform .15s,background .15s}button:hover{filter:brightness(1.04)}button:active{transform:scale(.97)}[hidden]{display:none!important}#world{position:fixed;inset:0;width:100%;height:100%;touch-action:none}#landing{position:relative;min-height:100svh;background:linear-gradient(90deg,rgba(229,249,244,.78),transparent 65%);display:flex;flex-direction:column}.site-header{display:flex;align-items:center;justify-content:space-between;padding:32px 5vw}.brand{text-decoration:none;color:#163e3c;font-size:30px;font-weight:800;letter-spacing:-1.5px}.brand span,.game-brand b span{color:#efad45;margin-left:5px}.pill{font-size:10px;letter-spacing:1.5px;background:#ffffff8c;border:1px solid #ffffffa0;padding:12px 18px;border-radius:30px;display:flex;align-items:center;gap:9px}i{display:inline-block;background:#409d72;width:7px;height:7px;border-radius:50%;box-shadow:0 0 0 4px #409d7212}.version{font-size:10px;letter-spacing:2px}.welcome{flex:1;display:flex;align-items:center;justify-content:space-between;gap:35px;padding:25px 7vw 45px}.intro{align-self:flex-start;padding-top:55px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px}h1{font-size:clamp(32px,4.1vw,65px);line-height:1.13;letter-spacing:-3px;margin:22px 0}h1 span{color:#eaa641}.intro p{font-size:16px;line-height:1.8;color:#476c66}.island-note{display:flex;gap:12px;align-items:center;margin-top:45px;font-size:12px;font-weight:700}.island-note>span{background:#ffffff75;border:1px solid white;border-radius:50%;padding:12px;font-size:21px}.island-note small{display:block;font-size:10px;font-weight:500;opacity:.7;margin-top:5px}.login-card{width:380px;flex-shrink:0;padding:28px;border-radius:25px;background:#fffdf7f2;box-shadow:0 25px 80px #164f4726;border:1px solid white;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.card-heading{display:flex;align-items:center;gap:10px}.card-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.mini-logo{font-size:29px;color:#299d89}h2{font-size:25px;letter-spacing:-1px;margin:14px 0 8px}.muted{font-size:11px;color:#82908a;margin:0 0 23px}.social-row{display:flex;gap:9px}.social{padding:13px 10px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:8px;flex:1;font-size:12px;font-weight:700}.telegram{background:#e7f3fa;color:#278bb7}.instagram{background:#f8eaf0;color:#a65875}.social svg{width:17px;height:17px;fill:currentColor}.instagram svg{fill:none;stroke:currentColor;stroke-width:1.8}.divider{position:relative;text-align:center;margin:25px 0 22px;border-top:1px solid #e6e8df}.divider span{font-size:7px;letter-spacing:1.1px;background:#fffdf7;padding:0 9px;position:relative;top:-9px;color:#9ba79d}.form-title{display:flex;align-items:center;justify-content:space-between;margin-top:-5px;margin-bottom:16px;font-size:12px}.form-title span{font-size:7px;letter-spacing:1px;background:#edf0e5;color:#809078;padding:5px 7px;border-radius:4px}label{display:block;font-size:10px;font-weight:700;margin:13px 0 7px}input{width:100%;padding:12px 13px;border-radius:8px;border:1px solid #dee3d9;background:#f5f6ef;font-size:12px;color:#294c46;outline:none}input:focus{border-color:#299d89;box-shadow:0 0 0 3px #299d8915}.animal-picker{display:flex;gap:6px}.animal{flex:1;background:#f1f2ea;border:1px solid transparent;border-radius:10px;height:47px;font-size:25px;padding:0}.animal.selected{background:#e1f1df;border-color:#86b584;box-shadow:0 0 0 2px #86b58415}.password-wrap{position:relative}.password-wrap input{padding-right:40px}.password-wrap button{position:absolute;right:8px;top:8px;background:none;color:#8e9c90}.primary{width:100%;display:flex;align-items:center;justify-content:space-between;background:#247f67;color:#fff;padding:15px 17px;border-radius:10px;font-size:12px;font-weight:700;box-shadow:0 5px #1c6957}.primary span{font-size:19px}.error{font-size:11px;color:#ba4f3d;min-height:0;margin:10px 0}.card-foot{display:flex;align-items:center;justify-content:center;gap:8px;font-size:9px;color:#899a8c;margin-top:21px}.card-foot i{width:5px;height:5px}.landing-footer{display:flex;justify-content:space-between;align-items:center;padding:20px 5vw;font-size:8px;letter-spacing:1.5px;color:#416b61}.landing-footer div{display:flex;gap:25px;letter-spacing:0;font-size:11px}.glass{background:#fffdf1e6;border:1px solid #ffffffb8;box-shadow:0 6px 25px #194c4514;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:16px}.game-header{position:fixed;top:24px;left:28px;right:28px;display:flex;align-items:center;gap:12px}.game-brand{padding:12px 20px}.game-brand b{font-size:24px;letter-spacing:-1px}.game-brand small{display:block;letter-spacing:1.5px;font-size:7px;margin-top:2px}.online{margin-left:auto;padding:13px 18px;display:flex;gap:9px;align-items:center;font-size:11px}.icon-button{width:43px;height:43px;font-size:22px;color:#30574c}.map-panel{position:fixed;right:28px;top:115px;padding:14px;width:208px}.map-panel>div{display:flex;justify-content:space-between;font-size:10px}.map-panel span{color:#92a28c;font-size:9px}.map-panel small{font-size:9px;color:#7e947e}.map-panel canvas{width:180px;height:145px}.bottom-hud{position:fixed;bottom:60px;left:28px;right:28px;display:flex;justify-content:space-between;align-items:center;gap:15px}.player-card{display:flex;align-items:center;gap:10px;padding:12px 18px}.player-card>span{font-size:29px}.player-card b{display:block;font-size:12px}.player-card small{display:block;font-size:9px;color:#78917d;margin-top:3px}.game-tools{display:flex;gap:8px}.tool{padding:14px 17px;color:#285d4f;font-size:18px}.tool span{font-size:10px;margin-left:5px}.tool.active{background:#247f67;color:#fff}.controls-hint{position:fixed;bottom:24px;width:100%;text-align:center;font-size:10px;color:#fff;text-shadow:0 1px 5px #183e3c}.controls-hint b{margin:0 10px;opacity:.6}#labels{position:fixed;inset:0;pointer-events:none;overflow:hidden}.nametag{position:absolute;left:0;top:0;background:#183e3cbd;color:#fff;border:1px solid #ffffff75;border-radius:20px;padding:5px 11px;font-size:10px;white-space:nowrap;box-shadow:0 0 16px #f8ffd450;will-change:transform}.nametag.self{background:#fffce9ed;color:#24694e}.nametag.speaking{border-color:#70ea8e;box-shadow:0 0 12px #70ea8e}#toast{position:fixed;bottom:120px;left:50%;transform:translate(-50%);border-radius:12px;background:#183e3ced;color:#fff;padding:13px 20px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:20;max-width:90vw}#toast.visible{opacity:1}#loading{position:fixed;inset:0;z-index:30;background:#eef6e9ed;display:flex;flex-direction:column;align-items:center;justify-content:center}#loading p{font-size:12px;color:#698b77}.spinner{width:35px;height:35px;border:3px solid #d1e0ce;border-top-color:#27856c;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:0;border-radius:24px;padding:32px;max-width:390px;color:#234c42;background:#fffdf5;box-shadow:0 25px 80px #123d4750}dialog::backdrop{background:#163c4a70;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}dialog p{font-size:13px;line-height:1.8;color:#708374;margin-bottom:25px}.close{position:absolute;right:15px;top:12px;font-size:24px;background:none;color:#7c8f7f}#joystick,#jump{display:none}#hud{touch-action:none}@media(max-width:900px){.pill{display:none}.welcome{padding:10px 5vw 35px;gap:20px}.intro h1{font-size:40px;letter-spacing:-2px}.intro p{font-size:13px}.login-card{width:350px;padding:23px}.landing-footer>span:last-child{display:none}}@media(max-width:650px){.site-header{padding:20px 23px}.brand{font-size:27px}.welcome{flex-direction:column;padding:0 22px 25px;gap:20px}.intro{padding-top:6px;align-self:stretch}.intro .eyebrow{font-size:8px}.intro h1{font-size:34px;letter-spacing:-1.8px;margin:12px 0}.intro p{font-size:12px;margin:0;line-height:1.5}.intro p br,.island-note{display:none}.login-card{width:100%;max-width:380px;padding:22px}.landing-footer{justify-content:center;padding:15px}.landing-footer>span{display:none}.game-header{top:14px;left:14px;right:14px;gap:7px}.game-brand{padding:10px 12px}.game-brand b{font-size:21px}.online{padding:12px;font-size:9px}.map-panel{right:14px;top:90px;width:134px;padding:9px}.map-panel canvas{width:114px;height:95px}.map-panel small{font-size:7px}.map-panel>div{font-size:8px}.bottom-hud{left:14px;right:14px;bottom:calc(170px + env(safe-area-inset-bottom));align-items:flex-end}.player-card{padding:8px 10px}.player-card b{font-size:10px}.player-card>span{font-size:22px}.tool{padding:10px 12px}.tool span,.controls-hint{display:none}.game-tools{gap:5px}}@media(pointer:coarse){#joystick{display:block;position:fixed;bottom:calc(35px + env(safe-area-inset-bottom));left:30px;width:110px;height:110px;border-radius:50%;background:#ffffff30;border:2px solid #ffffff80;touch-action:none}#joystick div{position:absolute;left:32px;top:32px;width:42px;height:42px;border-radius:50%;background:#fffcdfc9;box-shadow:0 5px 20px #244e4240;pointer-events:none}#jump{display:block;position:fixed;bottom:calc(45px + env(safe-area-inset-bottom));right:32px;width:75px;height:75px;border:2px solid #ffffff90;background:#fffce3aa;color:#357455;font-size:35px;border-radius:50%;touch-action:none}.controls-hint{display:none}}#landing{background:#72cafa url(/islandgram-welcome.webp) center center/cover no-repeat;overflow:hidden}#landing:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 40%,#15b4c710 100%);pointer-events:none}#landing>*{position:relative}.site-header{padding:25px 3vw}.brand{display:block;line-height:0}.brand img{display:block;width:min(32vw,510px);height:auto;filter:drop-shadow(0 10px 12px #004f7960)}.game-brand{display:flex;align-items:center;gap:6px}.game-brand img{display:block;width:146px;height:auto}.game-brand small{white-space:nowrap}.round-button{border-radius:50%;width:58px;height:58px;background:linear-gradient(#fffef2,#ead6a8);border:3px solid #fff5d0;box-shadow:0 6px #bd9459,0 10px 18px #005b6970;color:#187e7a;font-size:29px;font-weight:800}.welcome{padding:0 3vw 30px;align-items:center}.intro{visibility:hidden;max-width:42%}.login-card{width:min(410px,100%);padding:27px 28px 24px;border:9px solid #2ab6ac;border-radius:58px;background:linear-gradient(#fffbedf5,#fff1d3f4);box-shadow:inset 0 0 0 3px #b6eee2,0 13px #118e88,0 26px 50px #035a676b;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);text-align:center}.login-card h2{font-size:25px;color:#075e5b;margin:5px 0}.login-card .muted{font-size:13px;font-weight:700;color:#947d68;margin-bottom:20px}.social-row{flex-direction:column;gap:12px}.social{height:58px;flex:none;border-radius:32px;color:#fff;font-size:16px;font-weight:800;text-shadow:0 2px 2px #0004;box-shadow:0 5px #005a8d,0 8px 13px #5b64755c;border:2px solid #ffffff8f}.telegram{background:linear-gradient(#49caff,#0096df)}.instagram{background:linear-gradient(110deg,#ffbd48,#f74198,#ad29ec);box-shadow:0 5px #9533ac,0 8px 13px #5b64755c}.social svg{width:25px;height:25px}.divider{border-color:#c7bba5;margin:28px 0 14px}.divider span{background:#fff7e2;color:#967963;font-size:10px;font-weight:800}.login-card label{text-align:left;color:#785c4b}.login-card input{background:#fffefa;border-color:#d9cdb8}.assigned-note{text-align:left;font-size:10px;color:#826e60;margin:8px 0 4px}.login-card .primary{border-radius:25px;background:linear-gradient(#32bc9e,#078f82);box-shadow:0 5px #086d6a}.card-foot{font-size:9px;color:#9b856a}.landing-footer{padding:16px 3vw 25px;align-items:flex-end;color:#006560}.landing-footer>span{border-radius:25px;background:#fff8df;padding:13px 20px;font-size:17px;letter-spacing:-.5px;font-weight:800;box-shadow:0 5px #b99c6c}.landing-footer div{gap:12px}.world-clock{padding:13px 15px;font-size:11px;color:#2a614e}.backpack{position:fixed;right:28px;bottom:132px;width:340px;z-index:10;padding:22px;background:#fff9e9f5}.backpack-head{display:flex;align-items:flex-start;justify-content:space-between}.backpack-head small{letter-spacing:1.5px;font-size:9px;color:#8b947a}.backpack-head h2{margin:3px 0;font-size:28px}.backpack-head button{background:none;font-size:28px;color:#4f7565}.backpack>p{font-size:11px;color:#768b7b;line-height:1.5}.resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:17px 0}.resource-grid>div{display:flex;align-items:center;gap:7px;padding:11px;background:#eaf3dc;border-radius:9px;font-size:22px}.resource-grid span{font-size:10px;color:#3a6855}.resource-grid b{margin-left:auto;font-size:12px}.backpack-note{color:#8b947a;font-size:9px}@media(max-width:650px){#landing{min-height:100svh;background-position:28% center}.site-header{padding:20px}.brand{font-size:44px}.round-button{width:46px;height:46px;font-size:23px}.welcome{padding:0 15px 22px;justify-content:flex-end;gap:0}.intro{display:none}.login-card{width:min(100%,390px);padding:16px 20px 17px;border-width:6px;border-radius:38px}.login-card h2{font-size:21px}.login-card .muted{font-size:11px;margin-bottom:12px}.social{height:48px;font-size:13px}.social svg{width:20px;height:20px}.divider{margin:19px 0 10px}.login-card label{margin:9px 0 5px}.login-card input{padding:9px 11px}.login-card .primary{padding:11px 14px}.landing-footer{justify-content:space-between;padding:8px 14px 20px}.landing-footer>span{display:block;font-size:11px;padding:10px 12px}.landing-footer div{gap:6px}.landing-footer .round-button{width:40px;height:40px;font-size:20px}.world-clock{padding:11px 7px;font-size:9px}.game-brand small{display:none}.backpack{right:14px;left:14px;bottom:calc(235px + env(safe-area-inset-bottom));width:auto;padding:17px}.game-tools{flex-wrap:wrap;justify-content:flex-end;max-width:230px}}@media(max-width:650px){.brand img{width:min(58vw,250px)}.game-brand img{width:102px}}.game-header .glass,.bottom-hud .glass,.map-panel,.backpack{border:3px solid #fff3cf;background:linear-gradient(#fffdf0,#fce8bd);box-shadow:0 5px #b99966,0 10px 22px #1d60687a;border-radius:22px;color:#075e5b}.game-brand b{font-weight:800;color:#0b766a}.online,.world-clock{font-size:13px;font-weight:800}.map-panel{border:5px solid #23ada8;box-shadow:0 6px #117d78,0 12px 20px #1d60687a}.player-card b{font-size:14px}.tool{font-weight:800;font-size:20px;min-height:55px}.tool span{font-size:13px}.game-tools .tool:first-child{background:linear-gradient(#ffd86b,#f9a92f);border-color:#fff0b2;box-shadow:0 5px #c67c22;color:#6e4818}.game-tools .tool:nth-child(2){background:linear-gradient(#6ad5fc,#159fdc);box-shadow:0 5px #137cae;color:#fff}.game-tools .tool:nth-child(3){background:linear-gradient(#76db8b,#22b79c);box-shadow:0 5px #147a6b;color:#fff}#harvest{position:fixed;bottom:155px;left:50%;transform:translate(-50%);z-index:10;padding:16px 24px;border:4px solid #fff1c4;border-radius:30px;background:linear-gradient(#ffe177,#ffad30);box-shadow:0 6px #ba6d1d,0 10px 24px #384f3d90;color:#5e3d0e;font-size:22px;font-weight:800;white-space:nowrap}#harvest span{font-size:16px}.backpack{border:6px solid #29b4aa;box-shadow:0 7px #127f7c,0 12px 28px #284c4770}.resource-grid>div{background:#fff0ca;border:2px solid #eacb85}.resource-grid b{font-size:16px}.controls-hint{font-weight:800}@media(max-width:650px){.game-header{right:10px;left:10px;gap:4px}.game-header .glass{border-width:2px}.game-brand{padding:8px}.game-brand b{font-size:18px}.online,.world-clock{font-size:9px;padding:9px}.icon-button{height:38px;width:38px}.map-panel{right:10px;top:83px}.bottom-hud{bottom:calc(160px + env(safe-area-inset-bottom));left:10px;right:10px}.player-card{padding:7px!important}.player-card b{font-size:10px}.game-tools{max-width:205px}.tool{min-height:45px;padding:8px 10px}#harvest{bottom:calc(125px + env(safe-area-inset-bottom));font-size:18px;padding:11px 17px}#harvest span{font-size:12px}.backpack{bottom:calc(220px + env(safe-area-inset-bottom))}}@media(max-width:650px){.bottom-hud{flex-direction:column;align-items:stretch;gap:8px;bottom:calc(165px + env(safe-area-inset-bottom))}.player-card{align-self:flex-start}.game-tools{max-width:none;display:flex;flex-wrap:nowrap;justify-content:space-between}.game-tools .tool{flex:1;white-space:nowrap;font-size:15px;padding:8px 4px}.game-tools .tool:last-child{flex:0 0 42px}.game-tools .tool span{display:inline;font-size:10px;margin-left:2px}}#backpack{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(840px,calc(100vw - 28px));max-height:calc(100svh - 28px);overflow:auto;padding:22px;border:9px solid #19b8b4;border-radius:38px;background:linear-gradient(#fffdf0,#fff2d8);box-shadow:inset 0 0 0 3px #fff,0 12px #0a7779,0 25px 60px #0d3e4eb0}.backpack-head{align-items:center}.backpack-head h2{font-size:34px;font-weight:800;color:#086a65;margin:0}.backpack-head button{height:50px;width:50px;border-radius:50%;background:linear-gradient(#ff8a73,#e94c47);border:3px solid #fff7db;color:#fff;box-shadow:0 5px #a53d3b;font-size:24px}.capacity{display:inline-block;margin:12px 0;padding:8px 16px;border:2px solid #74d7c3;border-radius:22px;font-weight:800;color:#07877e;background:#fff9e7}.inventory-body{display:grid;grid-template-columns:1fr .8fr;gap:18px}.slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.slot{position:relative;aspect-ratio:1;border:3px solid #e8cda0;border-radius:17px;background:linear-gradient(#fffdf5,#f7e6cb);box-shadow:0 4px #cba578;color:#674827;font-size:clamp(20px,3vw,37px);display:flex;align-items:center;justify-content:center}.slot.selected{border-color:#ffc436;box-shadow:0 0 0 4px #fff0a0,0 4px #bc8c32}.slot b{position:absolute;bottom:3px;right:6px;font-size:13px;background:#fff6e7;border-radius:8px;padding:0 5px}.slot.empty{opacity:.7}.item-detail{border:3px solid #ebcca0;border-radius:22px;background:#fff9ed;padding:14px;text-align:center}.item-detail #item-art{border-radius:20px;background:linear-gradient(#8ddbf8,#3eaecb);font-size:85px;padding:15px}.item-detail h3{font-size:22px;color:#08756d;margin:12px 0 4px}.item-detail p{font-size:12px;color:#897263;min-height:45px}.equip-button{width:100%;padding:13px;border:3px solid #c0fff0;border-radius:20px;background:linear-gradient(#38d0bd,#029e93);box-shadow:0 5px #087d77;color:#fff;font-weight:800;font-size:17px}#hotbar{position:fixed;left:50%;bottom:13px;transform:translate(-50%);display:flex;gap:6px;align-items:center;padding:7px 10px;border:5px solid #24aca8;background:#fff4d6e9;border-radius:25px;box-shadow:0 5px #087f7d;z-index:5}#hotbar button{width:48px;height:45px;position:relative;border:2px solid #dbb875;border-radius:14px;background:#fff8e9;font-size:25px}#hotbar button.active{border-color:#ffcc31;box-shadow:0 0 0 3px #ffd848}#hotbar b{position:absolute;bottom:0;right:2px;font-size:11px;background:#fff;border-radius:5px}.hotbar-hint{font-size:10px;color:#397568;font-weight:700;max-width:130px}.controls-hint{bottom:92px}body:has(#backpack:not([hidden])) .controls-hint{display:none}@media(max-width:650px){#backpack{top:42%;padding:12px;border-width:6px;border-radius:25px}.backpack-head h2{font-size:22px}.backpack-head button{height:39px;width:39px;font-size:19px}.capacity{margin:6px 0;padding:5px 9px;font-size:11px}.inventory-body{grid-template-columns:1fr;gap:8px}.slots{grid-template-columns:repeat(4,1fr);gap:5px}.slot{border-width:2px;border-radius:10px;font-size:23px}.slot b{font-size:10px}.item-detail{display:grid;grid-template-columns:75px 1fr;gap:4px;text-align:left;padding:7px}.item-detail #item-art{grid-row:span 3;font-size:38px;padding:8px;text-align:center}.item-detail h3{font-size:16px;margin:2px}.item-detail p{font-size:10px;min-height:0;margin:0}.equip-button{font-size:12px;padding:8px;grid-column:2}#hotbar{bottom:calc(6px + env(safe-area-inset-bottom));padding:3px 6px;border-width:3px}#hotbar button{width:38px;height:37px;font-size:20px}.hotbar-hint{font-size:8px;max-width:95px}}.controls-hint{pointer-events:none}#backpack .gift-panel[hidden],#backpack .craft-panel[hidden]{display:none}#backpack .gift-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0}#backpack .gift-slots button{min-height:42px}#backpack .gift-submit,#backpack .gift-cancel{width:100%;margin-top:8px;padding:9px;border:2px solid #9ce0cb;border-radius:12px;background:#fff9e6;color:#086a65;font-size:14px;font-weight:800}#backpack .gift-submit{background:#098c81;color:#fff}#backpack .gift-submit:disabled{opacity:.55}#toast{white-space:pre-line;max-width:min(480px,90vw)}@media(pointer:coarse){.mobile-ui #hud #backpack .gift-slots{gap:5px}.mobile-ui #hud #backpack .gift-submit,.mobile-ui #hud #backpack .gift-cancel{min-height:36px;margin-top:5px;padding:5px}}#hotbar{gap:7px}#hotbar button{width:55px;height:52px;flex:none;font-size:26px}#hotbar button i{position:absolute;left:4px;top:2px;width:auto;height:auto;background:none;box-shadow:none;border-radius:0;font-style:normal;font-size:11px;font-weight:800;color:#835a35}#hotbar button.active{background:#fff2b0;border-color:#f2b51a}#social-actions{position:fixed;inset:0;z-index:25;display:flex;align-items:center;justify-content:center;background:#0a35465e;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}#social-actions[hidden]{display:none}.social-card{width:min(380px,calc(100vw - 28px));padding:26px;border:7px solid #20b6b1;border-radius:34px;background:linear-gradient(#fffdf2,#fce7c0);box-shadow:0 10px #09847f,0 22px 55px #092f4c8c;text-align:center;position:relative}.social-avatar{font-size:50px}.social-card h2{color:#096b65;font-size:25px}.social-card p{font-size:12px;color:#8c745f}.social-card button{border-radius:18px;font-weight:800}.social-card #social-close{position:absolute;right:12px;top:10px;background:#ff7466;color:#fff;width:35px;height:35px;font-size:23px}.social-card #social-buttons,.social-card #gift-options{display:grid;gap:10px}.social-card #gift-options[hidden],.social-card #social-buttons[hidden]{display:none}.social-card #social-buttons button,.social-card #gift-options button{padding:12px 14px;background:linear-gradient(#38caba,#0c9f93);box-shadow:0 4px #08746b;color:#fff;font-size:15px}.social-card #gift-options button:nth-child(2){background:linear-gradient(#ffd574,#f3a73f);box-shadow:0 4px #b67525;color:#694216}.social-card button:disabled{opacity:.45;cursor:not-allowed}#hotbar .hotbar-hint{display:none}@media(max-width:650px){#hotbar button{width:49px;height:43px;font-size:23px}#hotbar{gap:4px;bottom:calc(4px + env(safe-area-inset-bottom))}}#profile-panel{position:fixed;inset:0;z-index:26;display:flex;align-items:center;justify-content:center;padding:18px;background:#0a354690;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}#profile-panel[hidden]{display:none}.profile-card{width:min(740px,100%);padding:22px;border:8px solid #14aead;border-radius:38px;background:linear-gradient(150deg,#fffdf0,#f9e5bb);box-shadow:0 10px #087b7b,0 24px 58px #092b4780;position:relative}.profile-heading{font-size:28px;font-weight:900;color:#066d6a;text-align:center;text-shadow:1px 2px #fff}.profile-card #profile-close{position:absolute;right:18px;top:13px;width:42px;height:42px;border-radius:50%;background:linear-gradient(#ff9989,#e9584a);box-shadow:0 4px #a93029;color:#fff;font-size:22px;font-weight:900}.profile-grid{display:grid;grid-template-columns:minmax(220px,1fr) 1fr;gap:20px;margin-top:16px}.profile-view{border:4px solid #f3d49d;border-radius:25px;background:radial-gradient(circle at 50% 32%,#8fdbed,#3ea9c8 80%);overflow:hidden;text-align:center}.profile-view canvas{display:block;width:100%;height:280px;touch-action:none;cursor:grab}.profile-view small{display:block;padding:5px 8px 12px;color:#fff;font-size:11px;font-weight:800;text-shadow:0 1px 3px #236}.profile-data{display:flex;flex-direction:column;gap:5px;padding:10px 2px}.profile-data>span{color:#92775c;font-size:11px;font-weight:900;text-transform:uppercase}.profile-data>strong{font-size:22px;color:#075d5b;margin-bottom:8px}.profile-data #profile-friends{display:flex;flex-wrap:wrap;gap:6px;min-height:42px;align-content:flex-start;max-height:90px;overflow:auto}.profile-data #profile-friends span{border-radius:15px;padding:7px 10px;background:#fff8e5;color:#486c5e;font-size:12px;font-weight:800}.profile-data #profile-backpack{margin-top:auto;min-height:53px;border-radius:19px;background:linear-gradient(#40d3c0,#0ca79b);box-shadow:0 5px #08786e;color:#fff;font-size:17px;font-weight:900}@media(max-width:620px){.profile-card{padding:16px;border-width:6px;border-radius:28px}.profile-heading{font-size:21px}.profile-grid{grid-template-columns:1fr;gap:10px}.profile-view canvas{height:180px}.profile-data>strong{font-size:17px;margin-bottom:3px}.profile-data #profile-friends{max-height:60px}.profile-data #profile-backpack{min-height:45px;font-size:14px}}.mobile-tool-icon,#mobile-fullscreen,#rotate-notice{display:none}body.mobile-ui{--safe-l:max(12px,env(safe-area-inset-left));--safe-r:max(12px,env(safe-area-inset-right));--safe-b:max(12px,env(safe-area-inset-bottom));-webkit-tap-highlight-color:transparent}body.mobile-playing{overflow:hidden;overscroll-behavior:none;user-select:none;-webkit-user-select:none}.mobile-ui #hud .game-header{top:max(8px,env(safe-area-inset-top));left:var(--safe-l);right:var(--safe-r);gap:6px;pointer-events:none}.mobile-ui #hud .game-header>*{pointer-events:auto}.mobile-ui #hud .glass{border-width:2px;border-radius:14px;box-shadow:0 3px #8b7849a8,0 4px 12px #143e3530}.mobile-ui #hud .game-brand{padding:3px 8px;height:36px;min-width:94px;justify-content:center}.mobile-ui #hud .game-brand img{width:80px;max-height:29px;object-fit:contain}.mobile-ui #hud .game-brand small,.mobile-ui .controls-hint,.mobile-ui #hud .player-card{display:none}.mobile-ui #hud .online,.mobile-ui #hud .world-clock{height:34px;display:flex;align-items:center;padding:5px 9px;font-size:10px;font-weight:800;white-space:nowrap}.mobile-ui #hud .online{gap:6px}.mobile-ui #hud .online i{width:5px;height:5px}.mobile-ui #hud #leave{height:36px;width:36px;font-size:21px;flex:none}.mobile-ui #hud .bottom-hud{display:contents}.mobile-ui #hud .game-tools{position:fixed;top:57px;right:var(--safe-r);display:grid;grid-template-columns:repeat(2,44px);gap:7px;max-width:none;z-index:6}.mobile-ui #hud .game-tools .tool{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;min-width:44px;flex:none;padding:8px;border:2px solid #fff4d5;border-radius:13px;font-size:0;box-shadow:0 3px #386d5c90;background:linear-gradient(#fffdf1,#f4dfb8);color:#166f68;touch-action:manipulation}.mobile-ui #hud .game-tools .tool span{display:none}.mobile-ui #hud #profile-toggle{background:linear-gradient(#ffdd78,#f6b945);color:#805214}.mobile-ui #hud #backpack-toggle{background:linear-gradient(#83dff5,#31add6);color:#fff}.mobile-ui #hud #mic{background:linear-gradient(#92ddb5,#47b695);color:#fff}.mobile-ui #hud #mic[aria-pressed=true]{background:linear-gradient(#43ddad,#0c997b);border-color:#d2ffee;box-shadow:0 0 0 2px #4dffc858,0 3px #237962}.mobile-ui .mobile-tool-icon{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.mobile-ui #hud #mobile-fullscreen{display:flex}.mobile-ui #hud #hotbar{bottom:max(8px,env(safe-area-inset-bottom));gap:5px;padding:5px 7px;border-width:3px;border-radius:18px;box-shadow:0 3px #167b73a8;background:#fff5d5e0;z-index:6}.mobile-ui #hud #hotbar button{width:44px;height:44px;font-size:22px;border-radius:11px;border-width:1px;touch-action:manipulation}.mobile-ui #hud #hotbar button i{font-size:9px;top:1px;left:3px}.mobile-ui #hud #hotbar button b{font-size:9px;right:2px}.mobile-ui #hud #hotbar button.active{box-shadow:0 0 0 2px #ffd44d}.mobile-ui #hud #joystick{display:block;width:96px;height:96px;left:calc(var(--safe-l) + 8px);bottom:calc(var(--safe-b) + 7px);border:2px solid #fff9d786;background:#143e382c;box-shadow:inset 0 0 0 10px #fff8d510,0 3px 15px #183e3820;z-index:7;touch-action:none}.mobile-ui #hud #joystick>div{width:44px;height:44px;left:calc(50% - 22px);top:calc(50% - 22px);background:linear-gradient(#fffdf0ed,#e2d6b5d9);border:2px solid #fff8df;box-shadow:0 3px 8px #163f3855}.mobile-ui #hud #joystick.sprinting{border-color:#a4f5c2;background:#25886b38}.mobile-ui #hud #jump{display:block;width:64px;height:64px;right:calc(var(--safe-r) + 8px);bottom:calc(var(--safe-b) + 10px);border:2px solid #fff6dcbd;border-radius:50%;background:linear-gradient(#fffbeaeb,#e9d4a9cf);box-shadow:0 4px #8c714894,0 6px 15px #183e3830;font-size:31px;color:#147f75;z-index:7;touch-action:none}.mobile-ui #hud .map-panel{display:none;top:57px;right:calc(var(--safe-r) + 107px);width:142px;padding:8px;z-index:8;border:3px solid #37b7a7}.mobile-ui.mobile-map-open #hud .map-panel{display:block}.mobile-ui #hud .map-panel canvas{width:120px;height:97px}.mobile-ui #hud .map-panel>div{font-size:8px}.mobile-ui #hud .map-panel small{font-size:8px}.mobile-ui .nametag{font-size:8px;padding:3px 7px}.mobile-ui #toast{bottom:70px;max-width:min(430px,70vw);padding:8px 12px;font-size:10px;text-align:center}.mobile-ui:has(#backpack:not([hidden])) #toast,.mobile-ui:has(#profile-panel:not([hidden])) #toast,.mobile-ui:has(#social-actions:not([hidden])) #toast{display:none}.mobile-ui #hud #backpack{top:50%;width:min(640px,calc(100vw - 46px));max-height:calc(100dvh - 28px);padding:12px 16px;border-width:5px;border-radius:24px;overscroll-behavior:contain;touch-action:pan-y}.mobile-ui #hud .backpack-head h2{font-size:22px}.mobile-ui #hud .backpack-head small{display:none}.mobile-ui #hud .backpack-head button{width:34px;height:34px;font-size:20px}.mobile-ui #hud .capacity{font-size:11px;margin:5px 0 8px;padding:4px 10px}.mobile-ui #hud .inventory-body{grid-template-columns:1fr .8fr;gap:12px}.mobile-ui #hud .slots{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.mobile-ui #hud .slot{height:clamp(36px,12svh,58px);min-height:36px;aspect-ratio:auto;font-size:24px;border-width:2px;border-radius:10px;box-shadow:0 2px #cba578}.mobile-ui #hud .slot b{font-size:10px}.mobile-ui #hud .item-detail{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:9px;border-width:2px;border-radius:15px;text-align:center}.mobile-ui #hud .item-detail #item-art{font-size:48px;padding:8px;border-radius:12px;line-height:1.1}.mobile-ui #hud .item-detail h3{font-size:16px;margin:3px 0}.mobile-ui #hud .item-detail p{font-size:10px;min-height:0;margin:0 0 4px}.mobile-ui #hud .equip-button{font-size:12px;padding:8px;border-width:2px;border-radius:13px;min-height:38px}.mobile-ui #profile-panel{padding:12px;overflow:auto;touch-action:pan-y}.mobile-ui .profile-card{width:min(620px,100%);max-height:calc(100dvh - 24px);overflow:auto;padding:14px 18px;border-width:5px;border-radius:24px}.mobile-ui .profile-heading{font-size:20px}.mobile-ui .profile-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:10px}.mobile-ui .profile-view canvas{height:clamp(120px,42svh,210px)}.mobile-ui .profile-view small{padding:4px;font-size:9px}.mobile-ui .profile-data{padding:0;gap:3px}.mobile-ui .profile-data>strong{font-size:16px;margin-bottom:3px}.mobile-ui .profile-data>span{font-size:9px}.mobile-ui .profile-data #profile-friends{max-height:46px;min-height:25px}.mobile-ui .profile-data #profile-friends span{font-size:10px;padding:5px 7px}.mobile-ui .profile-data #profile-backpack{min-height:38px;font-size:12px;margin-top:4px}.mobile-ui .profile-card #profile-close{width:32px;height:32px;top:9px;right:10px;font-size:19px}.mobile-ui .social-card{max-height:calc(100dvh - 24px);overflow:auto;padding:14px 20px;border-width:5px;border-radius:24px}.mobile-ui .social-avatar{font-size:30px}.mobile-ui .social-card h2{font-size:20px;margin:6px 0}.mobile-ui .social-card p{margin:6px 0;font-size:11px}.mobile-ui dialog{max-height:calc(100dvh - 30px);overflow:auto;padding:20px}.mobile-ui dialog h2{font-size:20px}.mobile-ui dialog p{font-size:12px;line-height:1.5}body.mobile-playing.mobile-portrait:not(.portrait-allowed) #rotate-notice{display:flex;position:fixed;inset:0;z-index:28;align-items:center;justify-content:center;padding:28px;background:#113f3fb5;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.rotate-card{width:min(320px,100%);padding:22px;border:4px solid #50caba;border-radius:28px;background:linear-gradient(#fffbeb,#f9e8c7);box-shadow:0 7px #197e73;text-align:center;color:#136f64}.rotate-device{font-size:56px;line-height:1}.rotate-card h2{font-size:24px;margin:10px 0}.rotate-card p{font-size:12px;line-height:1.6}.rotate-card button{display:block;min-height:44px;width:100%;border-radius:14px;padding:10px;font-size:13px;font-weight:800;background:#27a58e;color:#fff;margin-top:10px}.rotate-card #rotate-dismiss{background:none;color:#657c6d;font-size:11px}@media(orientation:portrait){.mobile-ui #hud #hotbar{bottom:calc(var(--safe-b) + 124px)}}@media(orientation:landscape)and (max-height:540px){.mobile-ui #landing .site-header,.mobile-ui #landing .landing-footer{position:absolute}.mobile-ui #landing{min-height:100dvh;overflow:auto}.mobile-ui .site-header{position:absolute;left:0;top:0;right:0;padding:14px 20px;pointer-events:none}.mobile-ui .site-header .brand{pointer-events:auto}.mobile-ui .site-header .brand img{width:min(31vw,250px)}.mobile-ui .site-header #landing-help{display:none}.mobile-ui .welcome{display:flex;justify-content:flex-end;align-items:center;padding:10px 3vw;min-height:100dvh;gap:0}.mobile-ui .intro{display:none}.mobile-ui .login-card{width:min(365px,53vw);max-height:calc(100dvh - 20px);overflow:auto;padding:10px 17px 13px;border-width:5px;border-radius:29px;box-shadow:0 5px #148e82}.mobile-ui .login-card h2{font-size:18px;margin:0 0 9px}.mobile-ui .login-card .muted,.mobile-ui .card-foot{display:none}.mobile-ui .social-row{flex-direction:row;gap:6px}.mobile-ui .social{height:35px;min-height:35px;padding:6px;font-size:10px;border-radius:15px;box-shadow:0 3px #117da5}.mobile-ui .social svg{width:16px;height:16px;flex:none}.mobile-ui .divider{margin:16px 0 4px}.mobile-ui .divider span{font-size:8px}.mobile-ui .login-card label{font-size:10px;margin:7px 0 4px}.mobile-ui .login-card input{padding:6px 9px;min-height:36px;font-size:16px}.mobile-ui .assigned-note{font-size:9px;line-height:1.3;margin:5px 0}.mobile-ui .login-card .primary{min-height:39px;padding:8px 12px;font-size:12px;border-radius:16px}.mobile-ui .login-card .error{font-size:10px;margin:5px 0}.mobile-ui .landing-footer{position:absolute;bottom:12px;left:18px;padding:0;justify-content:flex-start;pointer-events:none}.mobile-ui .landing-footer>span{display:none}.mobile-ui .landing-footer div{pointer-events:auto;gap:8px}.mobile-ui .landing-footer .round-button{width:36px;height:36px;font-size:20px;border-width:2px;box-shadow:0 3px #bd9459}}#backpack.inventory-v2{width:min(900px,calc(100vw - 36px));padding:20px 24px;touch-action:pan-y}#backpack.inventory-v2 .backpack-head h2{font-size:29px;margin:0}#backpack.inventory-v2 .inventory-tabs{display:flex;gap:7px;margin:14px 0 0;padding-bottom:10px;border-bottom:1px solid #decba6}#backpack.inventory-v2 .inventory-tabs button{min-height:39px;padding:8px 18px;border:2px solid #e1c9a0;border-radius:14px;background:#fff9e9;color:#6e8273;font-weight:800;font-size:13px}#backpack.inventory-v2 .inventory-tabs button.active{background:linear-gradient(#45cbbb,#179c8e);border-color:#aaf0db;box-shadow:0 3px #117f73;color:#fff}#backpack.inventory-v2 .inventory-subbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0}#backpack.inventory-v2 .capacity{margin:0;padding:6px 12px;font-size:12px}#backpack.inventory-v2 .inventory-bulk{min-height:34px;padding:5px 10px;border:2px solid #e6c992;border-radius:11px;background:#fff6dc;color:#8a642e;font-size:13px;font-weight:800}#backpack.inventory-v2 .inventory-bulk small{font-size:9px;font-weight:600;margin-left:5px}#backpack.inventory-v2 .inventory-bulk[aria-pressed=true]{background:#ffe79a;border-color:#f7ba34}#backpack.inventory-v2 .inventory-body{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(210px,1fr);gap:18px}#backpack.inventory-v2 .slots{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}#backpack.inventory-v2 .slot{aspect-ratio:1;min-width:0;min-height:47px;border:2px solid #e4cca4;border-radius:13px;font-size:30px;box-shadow:0 3px #cba578}#backpack.inventory-v2 .slot.empty{background:linear-gradient(#fffaf0,#f4e6cf);opacity:.7}#backpack.inventory-v2 .slot b{font-size:11px}#backpack.inventory-v2 .inventory-help{font-size:10px;line-height:1.55;color:#8d7a61;margin:13px 0 0}#backpack.inventory-v2 .craft-panel{padding:13px 15px;border:2px solid #e5c9a0;border-radius:22px;background:linear-gradient(#fffaf0,#f8e9d0);text-align:center;min-width:0}#backpack.inventory-v2 .craft-panel h3{font-size:22px;color:#08756d;margin:0 0 4px}#backpack.inventory-v2 .craft-recipe{font-size:11px;color:#8f795f;margin:0 0 12px}#backpack.inventory-v2 .craft-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}#backpack.inventory-v2 .craft-slot{position:relative;aspect-ratio:1;min-width:0;border:2px solid #d5b989;border-radius:12px;box-shadow:inset 0 2px 5px #9e774322;background:#f1dfbf;font-size:28px;color:#637766}#backpack.inventory-v2 .craft-slot b{position:absolute;bottom:2px;right:4px;padding:0 3px;font-size:11px;border-radius:5px;background:#fff7e4}#backpack.inventory-v2 .craft-arrow{color:#62ac93;font-size:22px;line-height:1.4}#backpack.inventory-v2 .craft-result{width:100%;min-height:75px;display:grid;grid-template-columns:48px 1fr;align-content:center;align-items:center;gap:2px 8px;text-align:left;padding:9px 12px;border:2px solid #c6dac0;border-radius:16px;background:#eff0dc;color:#70917e;cursor:default}#backpack.inventory-v2 .craft-result span{grid-row:span 2;text-align:center;font-size:35px}#backpack.inventory-v2 .craft-result b{font-size:14px}#backpack.inventory-v2 .craft-result small{font-size:10px}#backpack.inventory-v2 .craft-result.ready{background:linear-gradient(#51d6bd,#1aab8e);border-color:#c2ffe3;box-shadow:0 4px #117c6d;color:#fff;cursor:pointer}#backpack.inventory-v2 .craft-empty-note{color:#a18e70;font-size:10px;line-height:1.5;padding:8px 2px 0;margin:4px 0 0}#backpack.inventory-v2 .craft-result[hidden],#backpack.inventory-v2 .craft-arrow[hidden],#backpack.inventory-v2 .craft-empty-note[hidden]{display:none!important}.inventory-ghost{opacity:.25}.held-source{outline:2px dashed #efb72f;outline-offset:2px}#inventory-cursor{position:fixed;top:50%;left:50%;display:flex;align-items:center;gap:7px;z-index:80;pointer-events:none;border:2px solid #fff6d3;border-radius:15px;background:#126f65f2;color:#fff;padding:7px 10px;box-shadow:0 5px 18px #103d3b66;max-width:180px}#inventory-cursor>span{font-size:31px}#inventory-cursor>small{font-size:11px;font-weight:800}#inventory-cursor.touch-cursor{top:auto!important;left:50%!important;bottom:max(74px,env(safe-area-inset-bottom));transform:translate(-50%);padding:5px 10px}body:has(#backpack.inventory-v2:not([hidden])) #hotbar{z-index:14}#backpack.inventory-v2 .inventory-profile-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:16px}#backpack.inventory-v2 .inventory-profile-preview{min-width:0;min-height:230px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 35%,#9de1ee,#3ca6bd);border:3px solid #edd19b;border-radius:22px;overflow:hidden}#backpack.inventory-v2 .inventory-profile-preview canvas{width:100%;height:260px;touch-action:none;display:block}#backpack.inventory-v2 .inventory-profile-placeholder{font-size:90px}#backpack.inventory-v2 .inventory-profile-data{display:flex;flex-direction:column;gap:6px;padding:8px 0;min-width:0}#backpack.inventory-v2 .inventory-profile-data>small{color:#95815f;font-size:10px;text-transform:uppercase;font-weight:800}#backpack.inventory-v2 .inventory-profile-data>strong{font-size:22px;color:#146c64;overflow-wrap:anywhere;margin-bottom:8px}#backpack.inventory-v2 #inventory-profile-friends{display:flex;flex-wrap:wrap;align-content:flex-start;gap:6px;min-height:60px;max-height:100px;overflow:auto}#backpack.inventory-v2 #inventory-profile-friends span{padding:6px 9px;border:1px solid #e2d4b3;border-radius:12px;background:#fff8e7;color:#62816c;font-size:12px;font-weight:700}#backpack.inventory-v2 .inventory-return-bag{min-height:43px;margin-top:auto;border:2px solid #c0ffe7;border-radius:15px;background:linear-gradient(#42cbb3,#15a18b);box-shadow:0 3px #147a6e;color:#fff;font-weight:800;font-size:13px}.mobile-ui #hud #backpack.inventory-v2{width:min(760px,calc(100vw - 40px));top:calc(50% - 32px);padding:8px 13px;max-height:calc(100dvh - 86px)}.mobile-ui #hud #backpack.inventory-v2 .backpack-head h2{font-size:20px}.mobile-ui #hud #backpack.inventory-v2 .backpack-head button{width:28px;height:28px;font-size:18px}.mobile-ui #hud #backpack.inventory-v2 .inventory-tabs{margin:4px 0 0;padding-bottom:4px;gap:6px}.mobile-ui #hud #backpack.inventory-v2 .inventory-tabs button{min-height:28px;font-size:11px;padding:4px 12px;border-radius:10px}.mobile-ui #hud #backpack.inventory-v2 .inventory-subbar{margin:4px 0}.mobile-ui #hud #backpack.inventory-v2 .capacity{font-size:10px;padding:4px 8px}.mobile-ui #hud #backpack.inventory-v2 .inventory-bulk{min-height:25px;font-size:11px;padding:3px 8px}.mobile-ui #hud #backpack.inventory-v2 .inventory-bulk small{font-size:8px}.mobile-ui #hud #backpack.inventory-v2 .inventory-body{grid-template-columns:minmax(0,1.55fr) minmax(160px,1fr);gap:10px}.mobile-ui #hud #backpack.inventory-v2 .slots{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.mobile-ui #hud #backpack.inventory-v2 .slot{height:clamp(28px,9svh,36px);min-height:28px;aspect-ratio:auto;font-size:23px;border-radius:9px;box-shadow:0 2px #cba578}.mobile-ui #hud #backpack.inventory-v2 .slot b{font-size:9px;right:3px;bottom:1px}.mobile-ui #hud #backpack.inventory-v2 .inventory-help{font-size:8px;line-height:1.4;margin:7px 0 0}.mobile-ui #hud #backpack.inventory-v2 .craft-panel{padding:8px;border-radius:15px}.mobile-ui #hud #backpack.inventory-v2 .craft-panel h3{font-size:16px}.mobile-ui #hud #backpack.inventory-v2 .craft-recipe{font-size:9px;margin-bottom:7px}.mobile-ui #hud #backpack.inventory-v2 .craft-slots{gap:4px}.mobile-ui #hud #backpack.inventory-v2 .craft-slot{height:clamp(26px,8svh,32px);aspect-ratio:auto;font-size:22px;border-radius:8px}.mobile-ui #hud #backpack.inventory-v2 .craft-slot b{font-size:9px}.mobile-ui #hud #backpack.inventory-v2 .craft-arrow{font-size:15px;line-height:1.2}.mobile-ui #hud #backpack.inventory-v2 .craft-result{min-height:42px;padding:4px 7px;border-radius:11px;grid-template-columns:30px 1fr;gap:1px 4px}.mobile-ui #hud #backpack.inventory-v2 .craft-result span{font-size:26px}.mobile-ui #hud #backpack.inventory-v2 .craft-result b{font-size:11px}.mobile-ui #hud #backpack.inventory-v2 .craft-result small{font-size:8px}.mobile-ui #hud #backpack.inventory-v2 .inventory-profile-layout{gap:12px;margin-top:9px}.mobile-ui #hud #backpack.inventory-v2 .inventory-profile-preview{min-height:130px;border-radius:15px}.mobile-ui #hud #backpack.inventory-v2 .inventory-profile-preview canvas{height:clamp(120px,43svh,210px)}.mobile-ui #hud #backpack.inventory-v2 .inventory-profile-data{gap:3px;padding:2px 0}.mobile-ui #hud #backpack.inventory-v2 .inventory-profile-data>small{font-size:9px}.mobile-ui #hud #backpack.inventory-v2 .inventory-profile-data>strong{font-size:16px;margin-bottom:4px}.mobile-ui #hud #backpack.inventory-v2 #inventory-profile-friends{min-height:30px;max-height:55px}.mobile-ui #hud #backpack.inventory-v2 #inventory-profile-friends span{font-size:10px;padding:4px 6px}.mobile-ui #hud #backpack.inventory-v2 .inventory-return-bag{font-size:11px;min-height:33px;border-radius:10px}@media(orientation:portrait)and (max-width:650px){.mobile-ui #hud #backpack.inventory-v2 .inventory-body{grid-template-columns:1fr}.mobile-ui #hud #backpack.inventory-v2 .craft-panel{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;align-items:center}.mobile-ui #hud #backpack.inventory-v2 .craft-panel h3,.mobile-ui #hud #backpack.inventory-v2 .craft-recipe{grid-column:1/-1}.mobile-ui #hud #backpack.inventory-v2 .craft-slots{grid-row:span 2}.mobile-ui #hud #backpack.inventory-v2 .craft-arrow{display:none}.mobile-ui #hud #backpack.inventory-v2 .craft-result{height:70px}.mobile-ui #hud #backpack.inventory-v2 .inventory-profile-layout{grid-template-columns:1fr}.mobile-ui #hud #backpack.inventory-v2 .inventory-profile-preview canvas{height:180px}}@media(orientation:landscape)and (max-height:350px){.mobile-ui #hud #backpack.inventory-v2 .inventory-subbar{position:absolute;right:54px;top:10px;margin:0;gap:5px}.mobile-ui #hud #backpack.inventory-v2 .inventory-bulk small,.mobile-ui #hud #backpack.inventory-v2 .craft-recipe,.mobile-ui #hud #backpack.inventory-v2 .inventory-help{display:none}.mobile-ui #hud #backpack.inventory-v2 .inventory-body{margin-top:7px}.mobile-ui #hud #backpack.inventory-v2 .craft-panel h3{font-size:14px}.mobile-ui #hud #backpack.inventory-v2 .craft-panel{padding:5px}.mobile-ui #hud #backpack.inventory-v2 .craft-result{min-height:36px}.mobile-ui #hud #backpack.inventory-v2 .craft-arrow{font-size:12px}}.craft-recipe-choice{width:100%;margin:.55rem 0;padding:.45rem;border:2px solid #d9c394;border-radius:12px;background:#fff5dc;color:#235a54;font:inherit;font-weight:800}#chest-panel{position:fixed;inset:0;z-index:52;display:flex;align-items:center;justify-content:center;padding:22px;background:#123d46aa;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);touch-action:pan-y}#chest-panel[hidden]{display:none!important}.chest-card{position:relative;width:min(710px,100%);max-height:calc(100dvh - 44px);overflow:auto;padding:24px;border:7px solid #b17c42;border-radius:32px;background:linear-gradient(#fff9e4,#f6e6c1);box-shadow:inset 0 0 0 2px #fff8e3,0 8px #795633,0 20px 65px #0a343e90;color:#316e60}.chest-card>header{display:flex;align-items:center;gap:13px;padding-right:40px}.chest-card h2{font-size:28px;margin:1px 0;color:#75542f}.chest-emblem{font-size:44px}.chest-card header small{font-size:9px;letter-spacing:1.7px;color:#b18d59;font-weight:800}.chest-close{position:absolute;top:14px;right:15px;width:40px;height:40px;border:2px solid #fff3cf;border-radius:50%;box-shadow:0 3px #a14832;background:linear-gradient(#f88b6e,#df5e48);color:#fff;font-size:24px}.chest-ownership{font-size:10px;color:#72a085;margin:10px 0 0}.chest-ownership.foreign{color:#b76d52}.chest-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}.chest-toolbar nav{display:flex;gap:7px}.chest-toolbar button{min-height:36px;border:2px solid #e2c69c;border-radius:12px;padding:7px 12px;background:#fff7e3;color:#9b7b4d;font-size:12px;font-weight:800}.chest-toolbar button.active{background:linear-gradient(#46c8b0,#189e89);border-color:#a9e9cf;color:#fff;box-shadow:0 3px #128071}.chest-toolbar .chest-bulk[aria-pressed=true]{background:#ffe398;border-color:#ecb847}.chest-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.chest-slot{position:relative;aspect-ratio:1;min-width:0;min-height:50px;border:2px solid #d9bb8c;border-radius:13px;background:linear-gradient(#fffdf1,#f3e3c6);box-shadow:0 3px #bb9564;font-size:31px;color:#567562}.chest-slot b{position:absolute;bottom:3px;right:5px;background:#fff9e6;padding:0 4px;border-radius:5px;font-size:11px}.chest-slot:disabled{opacity:1;cursor:default}.chest-slot.empty{background:#ecdab7;opacity:.65}.chest-help{font-size:10px;line-height:1.6;color:#9a825c;margin:12px 0}.chest-card>footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.chest-capacity{font-size:10px;color:#aa8d5d}.chest-take{min-height:40px;padding:8px 15px;border:2px solid #fff0c9;border-radius:14px;background:linear-gradient(#e9bb62,#ca8f3d);box-shadow:0 3px #996324;color:#fff;font-weight:800;font-size:12px}.chest-take:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.mobile-ui #chest-panel{padding:13px}.mobile-ui .chest-card{max-height:calc(100dvh - 26px);padding:13px 16px;border-width:5px;border-radius:22px}.mobile-ui .chest-card h2{font-size:21px}.mobile-ui .chest-card header small{font-size:8px}.mobile-ui .chest-emblem{font-size:30px}.mobile-ui .chest-close{width:31px;height:31px;font-size:21px;right:10px;top:10px}.mobile-ui .chest-ownership{margin-top:5px;font-size:9px}.mobile-ui .chest-toolbar{margin:7px 0}.mobile-ui .chest-toolbar button{min-height:29px;padding:5px 9px;font-size:10px;border-radius:9px}.mobile-ui .chest-toolbar nav{gap:5px}.mobile-ui .chest-slots{gap:5px}.mobile-ui .chest-slot{height:clamp(31px,10svh,43px);min-height:31px;aspect-ratio:auto;font-size:24px;border-radius:9px;box-shadow:0 2px #bb9564}.mobile-ui .chest-slot b{font-size:9px;bottom:1px;right:3px}.mobile-ui .chest-help{font-size:9px;margin:8px 0}.mobile-ui .chest-take{min-height:33px;padding:5px 10px;font-size:11px;border-radius:11px}.mobile-ui .chest-capacity{font-size:9px}@media(orientation:landscape)and (max-height:350px){.mobile-ui .chest-card>header{gap:8px}.mobile-ui .chest-ownership{position:absolute;top:16px;right:52px;margin:0}.mobile-ui .chest-help{margin:6px 0;font-size:8px}.mobile-ui .chest-slot{height:28px;min-height:28px;font-size:21px}.mobile-ui .chest-toolbar{margin:6px 0}.mobile-ui .chest-take{min-height:29px}.mobile-ui .chest-card{padding:10px 14px}}#survival-ui{position:fixed;left:28px;top:110px;z-index:5;width:151px;display:grid;gap:6px;padding:8px;border:2px solid #fff0cfbd;border-radius:15px;background:#fff6d9d9;box-shadow:0 3px #8c784760;pointer-events:none;color:#476c54;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}#survival-ui[hidden]{display:none}.vital-row{display:flex;gap:6px;align-items:center;height:15px}.vital-icon{width:15px;text-align:center;flex:none;font-size:16px;line-height:1}.vital-health .vital-icon{color:#e87368}.vital-hunger .vital-icon{color:#c69037;font-weight:900}.vital-track{height:8px;flex:1;overflow:hidden;border-radius:9px;background:#c8bea342;box-shadow:inset 0 1px 2px #6c77562e}.vital-fill{display:block;width:100%;height:100%;transform-origin:left center;border-radius:inherit;transition:transform .35s ease-out;background:linear-gradient(#f49a88,#df706a)}.vital-hunger .vital-fill{background:linear-gradient(#f9d76a,#e5aa40)}.vital-value{width:21px;flex:none;text-align:right;font-size:10px;font-weight:900;line-height:1}.vital-low .vital-fill{background:linear-gradient(#f29666,#df583c)}.vital-low .vital-value{color:#bc4e38}.vital-starving .vital-hunger .vital-icon{color:#e1573e}.mobile-ui #survival-ui{left:var(--safe-l,12px);top:54px;width:112px;padding:6px;gap:5px;border-radius:12px;background:#fff7d9bf;box-shadow:0 2px #8c784744}.mobile-ui #survival-ui .vital-row{gap:4px;height:12px}.mobile-ui #survival-ui .vital-icon{width:12px;font-size:13px}.mobile-ui #survival-ui .vital-track{height:6px}.mobile-ui #survival-ui .vital-value{width:18px;font-size:9px}.hunger-warning{position:absolute;left:0;top:100%;width:min(230px,34vw);margin:54px 0 0;padding:9px 11px;border:2px solid #e8b866;border-radius:12px;background:#fff2cf;color:#754312;font-size:12px;font-weight:800;line-height:1.3;box-shadow:0 3px #63401455}#block-owner-warning{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:21;width:max-content;max-width:min(380px,72vw);padding:12px 18px;border:2px solid #fff0cc;border-radius:15px;background:#234a43f2;color:#fff8e3;text-align:center;font-size:clamp(12px,2.3vw,15px);font-weight:800;line-height:1.35;pointer-events:none;box-shadow:0 4px #152f2c80}.mobile-ui .hunger-warning{font-size:10px;width:min(160px,30vw);padding:6px 8px;margin-top:4px}#recipe-book,#knowledge-book{position:fixed;inset:0;z-index:54;display:grid;place-items:center;padding:12px;background:#123d46b5;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}#recipe-book[hidden],#knowledge-book[hidden]{display:none}.recipe-book-card{--gutter:clamp(10px,2.5vw,36px);position:relative;isolation:isolate;box-sizing:border-box;width:min(1160px,100%);height:min(740px,calc(100dvh - 24px));display:flex;flex-direction:column;gap:clamp(7px,1.5vh,15px);padding:clamp(10px,2.2vh,24px) var(--gutter) clamp(9px,1.6vh,19px);border:clamp(4px,1vw,10px) solid #0e807a;border-radius:clamp(16px,3vw,40px);background:linear-gradient(90deg,#f5daaa,#fff4d7 5%,#fff3d7 46%,#dfb57b,#fff2d3 54%,#fff4d7 95%,#ecd0a1);box-shadow:0 5px #075858,0 10px 32px #061e2d80,inset 0 0 0 2px #d49d43,inset 0 -6px #e1b77b;color:#533519;overflow:hidden}.recipe-book-card:before,.recipe-book-card:after{content:"";position:absolute;pointer-events:none;z-index:-1;inset:4px;border-radius:inherit;border:1px solid #fff9e7}.recipe-book-card:after{inset:auto 0 0;height:5px;background:repeating-linear-gradient(0deg,#ab773d 0 1px,#e7bd7f 1px 2px);border:0}.recipe-book-card>header{display:flex;align-items:center;gap:clamp(7px,1.6vw,18px);padding-right:46px;flex:none}.recipe-book-emblem{font-size:clamp(24px,5vw,56px);line-height:1;filter:drop-shadow(0 3px 2px #583a3740)}.recipe-book-card header small{display:block;font-weight:900;letter-spacing:.15em;color:#815222;font-size:clamp(8px,1vw,12px)}.recipe-book-card h2{margin:0;color:#075a52;line-height:1.05;font-size:clamp(22px,4vw,47px);font-weight:900;letter-spacing:-.025em}.recipe-book-intro{margin:4px 0 0;font-size:clamp(11px,1.45vw,16px);line-height:1.3;color:#704d2c}.recipe-book-close{position:absolute;right:clamp(8px,2vw,21px);top:clamp(8px,2vh,19px);width:clamp(35px,5vw,51px);aspect-ratio:1;display:grid;place-items:center;padding:0;border:3px solid #ffd777;border-radius:50%;background:radial-gradient(circle at 45% 25%,#ff9472,#c84130);box-shadow:0 3px #955525,inset 0 0 0 1px #fff0bf;color:#fff5d8;font-size:clamp(24px,4vw,37px);font-weight:900;line-height:1;z-index:2;cursor:pointer}#recipe-book .recipe-book-card{height:min(960px,calc(100dvh - 24px))}.recipe-book-pages{flex:1;min-height:0;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(7px,1.25vh,13px) var(--gutter);padding:4px 3px}.recipe-book-pages{grid-template-rows:repeat(3,minmax(0,1fr))}.recipe-book-recipe,.knowledge-pages article{min-width:0;border:1px solid #cd9a50;border-radius:clamp(10px,1.8vw,21px);background:linear-gradient(140deg,#fff9e4,#f9e6ba);box-shadow:inset 0 0 0 2px #fff7dd,0 2px #b78b5044;padding:clamp(5px,1.3vh,12px)}.recipe-book-recipe{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;gap:clamp(3px,.9vh,9px)}.recipe-book-recipe h3{justify-self:start;margin:0;padding:.25em .62em;border:2px solid #e9bc64;border-radius:999px;background:linear-gradient(#16988b,#086d65);color:#fff8df;text-shadow:0 1px #244a3b;font-size:clamp(11px,min(1.65vw,2.65dvh),21px);font-weight:900;line-height:1.1;overflow-wrap:anywhere}.recipe-book-formula{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,28%);align-items:stretch;gap:clamp(3px,.85vw,10px);flex:1;min-width:0}.recipe-book-ingredients{display:grid;grid-template-columns:repeat(var(--ingredients),minmax(0,1fr));gap:clamp(2px,.45vw,6px);min-width:0}.recipe-book-item{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;gap:2px;padding:3px;border:1px solid #d6af77;border-radius:clamp(5px,1.1vw,13px);background:linear-gradient(#fff9e8,#ffedc3);text-align:center;color:#543519}.recipe-book-item>span{font-size:clamp(16px,3.3dvh,34px);line-height:1}.recipe-book-item img,.recipe-book-item .resource-art{width:clamp(16px,4dvh,42px);height:auto;object-fit:contain;max-width:100%}.recipe-book-item>small{font-size:clamp(9px,1.1vw,14px);line-height:1.12;font-weight:800;overflow-wrap:anywhere}.recipe-book-item b{display:block;white-space:nowrap}.recipe-book-result{border-color:#68ae8d;background:linear-gradient(#e0f6df,#bcebd3);color:#12554c}.recipe-book-arrow{align-self:center;font-size:clamp(13px,2.2vw,28px);font-weight:900;color:#0c8676}.recipe-book-empty{grid-column:1/-1;text-align:center}@media(max-height:500px)and (orientation:landscape){.recipe-book-card{--gutter:clamp(9px,2vw,18px);height:calc(100dvh - 16px);gap:6px}.recipe-book-card h2{font-size:clamp(19px,6vh,27px)}.recipe-book-emblem{font-size:28px}.recipe-book-intro{font-size:11px}.recipe-book-recipe{padding:4px;gap:3px}.recipe-book-recipe h3{padding:.14em .55em;font-size:clamp(10px,3.25vh,13px)}.recipe-book-item{flex-direction:row;gap:3px;padding:2px}.recipe-book-item>span{font-size:15px;flex:none}.recipe-book-item img,.recipe-book-item .resource-art{width:15px}.recipe-book-item b{display:inline;margin-left:3px}.recipe-book-item>small{font-size:clamp(9px,2.8vh,12px)}.book-pagination button{font-size:21px}}@media(max-width:580px)and (orientation:portrait){.recipe-book-card{--gutter:9px;background:linear-gradient(110deg,#f6dfb2,#fff5dc 12% 91%,#eed2a2)}.recipe-book-pages{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:minmax(0,1fr)}.recipe-book-recipe h3{font-size:13px}.recipe-book-item>small{font-size:11px}.recipe-book-item>span{font-size:23px}}@media(max-width:740px)and (max-height:500px)and (orientation:landscape){.recipe-book-pages{grid-template-rows:repeat(2,minmax(0,1fr))}}@media(max-width:600px)and (max-height:350px){.recipe-book-pages{grid-template-rows:minmax(0,1fr)}}@media(max-height:700px){#recipe-book .recipe-book-card{height:calc(100dvh - 16px);gap:6px;padding-block:8px}#recipe-book .recipe-book-card h2{font-size:clamp(19px,5dvh,34px)}#recipe-book .book-pagination button{font-size:23px;padding:.1em .85em}#recipe-book .recipe-book-recipe{padding:clamp(4px,1dvh,8px)}}.book-pagination{display:flex;align-items:center;justify-content:space-between;flex:none;color:#fff6d6;font-weight:900;font-size:clamp(12px,2vw,19px)}.book-pagination button,.book-pagination span{border:2px solid #e6b655;border-radius:999px;background:linear-gradient(#17a193,#08665f);box-shadow:0 2px #a57233;color:inherit;padding:.2em 1em;line-height:1.2}.book-pagination button{font-size:clamp(21px,3vw,32px);cursor:pointer}.book-pagination button:disabled{opacity:.45;cursor:default}.page-turning .recipe-book-pages,.page-turning .knowledge-pages{animation:turn-page .22s ease-out;transform-origin:center}@keyframes turn-page{0%{opacity:.35;transform:perspective(1000px) rotateY(-8deg)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.page-turning .recipe-book-pages,.page-turning .knowledge-pages{animation:none}}#library-buttons{position:fixed;left:28px;top:179px;display:flex;gap:7px;z-index:6}#library-buttons[hidden]{display:none}#library-buttons button{position:relative;width:43px;height:43px;border:2px solid #fff5d3;border-radius:14px;background:linear-gradient(#fffcdf,#ecd6a8);box-shadow:0 3px #a68c5b;font-size:23px}#library-buttons button b{display:none;position:absolute;right:-4px;top:-6px;background:#35c75b;color:#fff;border:2px solid white;border-radius:50%;width:20px;height:20px;font-size:15px;line-height:18px}#library-buttons button.unread b{display:block}.mobile-ui #library-buttons{left:calc(var(--safe-l,12px) + 133px);top:55px;gap:5px}.mobile-ui #library-buttons button{width:36px;height:36px;border-radius:11px;font-size:21px}#camera-toggle{padding:10px 12px}#camera-toggle span{font-size:10px}@media(min-width:901px){#hud .game-brand{padding:9px 15px}#hud .game-brand img{width:133px;height:auto;display:block}#hud .game-brand small{display:none}}.mobile-ui #camera-toggle{width:44px;min-width:44px;padding:0}.mobile-ui #camera-toggle span{display:none}#hud .controls-hint{bottom:137px;font-size:9px;pointer-events:none}#camera-toggle{min-height:44px}#survival-ui{top:123px}#library-buttons{top:189px}#chest-hover-label{position:fixed;z-index:18;pointer-events:none;padding:7px 15px;border:2px solid #baffcd;border-radius:16px;color:#fff5c9;background:#22584de8;box-shadow:0 0 17px #76ffc78c;font-size:15px;font-weight:900;text-shadow:0 1px 3px #08332e}#chest-hover-label[hidden]{display:none}#knowledge-book .recipe-book-card{--gutter:clamp(9px,2.4vw,31px);width:min(1280px,100%);height:min(830px,calc(100dvh - 24px));background:linear-gradient(90deg,#dfb77a,#fff1cf 4%,#fff3d4 46%,#ca985d,#fff3d4 54%,#fff1cf 96%,#dfb77a);border-color:#08766e;box-shadow:0 5px #064e4a,0 10px 34px #061e2d80,inset 0 0 0 3px #d09a48,inset 0 -7px #d6ad6f}#knowledge-book .recipe-book-card h2{color:#593414;font-family:Georgia,serif;font-weight:900}#knowledge-book .recipe-book-intro{font-family:Georgia,serif;font-weight:700}.knowledge-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gutter);flex:1;min-height:0;overflow:clip;overscroll-behavior:contain;padding:3px 3px 6px;scrollbar-width:thin;scrollbar-color:#a8834c transparent}.knowledge-leaf{display:grid;grid-template-rows:repeat(4,minmax(min-content,1fr)) auto;gap:clamp(4px,1.1vh,10px);min-width:0;min-height:100%}.knowledge-leaf article{display:grid;grid-template-columns:clamp(25px,6vw,80px) minmax(0,1fr);align-items:center;gap:clamp(4px,1vw,12px);padding:clamp(5px,1vh,11px);border:1px solid #bc8f4f;border-left:2px solid #6da28a;border-radius:clamp(8px,1.8vw,19px);background:linear-gradient(125deg,#fff7dc,#f9e6bc);box-shadow:inset 0 0 0 2px #fff6da,0 2px #ad783b35}.knowledge-chapter-icon{font-size:clamp(15px,4vw,49px);text-align:center;border-right:1px solid #d5a860;line-height:1.4}.knowledge-leaf h3{margin:0 0 3px;color:#533116;font-size:clamp(12px,1.45vw,22px);line-height:1.17;overflow-wrap:anywhere}.knowledge-leaf p{margin:0;color:#51361c;font-size:clamp(10px,1.08vw,15px);line-height:1.32;overflow-wrap:anywhere}.knowledge-leaf-number{grid-row:5;text-align:center;color:#794d23;font:bold clamp(13px,1.8vw,20px) Georgia,serif}.knowledge-leaf-number:before,.knowledge-leaf-number:after{content:"◆";margin:0 .75em;color:#c3934c;font-size:.6em}#knowledge-book .book-pagination button{color:#155e55;background:linear-gradient(#fff3ad,#f2bb51);border-color:#d39b43}#knowledge-book .book-pagination span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-height:500px)and (orientation:landscape){.knowledge-leaf article{grid-template-columns:26px minmax(0,1fr);gap:5px;padding:5px}.knowledge-chapter-icon{font-size:17px}.knowledge-leaf h3{font-size:13px}.knowledge-leaf p{font-size:11px;line-height:1.25}}@media(max-width:580px)and (orientation:portrait){.knowledge-leaf article{grid-template-columns:minmax(0,1fr);gap:2px}.knowledge-chapter-icon{text-align:left;border:0}.knowledge-leaf p{font-size:11px}}#knowledge-book .recipe-book-card:before{inset:3px;border:2px solid #d49b41;box-shadow:inset 0 0 0 2px #fff2cc}#knowledge-book .recipe-book-card:after{inset:auto 38% 0;height:6px;border-radius:70% 70% 0 0;background:linear-gradient(#f7cf76,#ab7134)}@media(max-height:500px)and (orientation:landscape){#knowledge-book{padding:5px}#knowledge-book .recipe-book-card{height:calc(100dvh - 10px);padding-block:7px;gap:4px}#knowledge-book .book-pagination button{padding:.06em .85em}.knowledge-leaf{gap:3px}.knowledge-leaf article{padding:3px 5px}.knowledge-leaf h3{margin-bottom:1px}.knowledge-leaf p{line-height:1.17}}@media(max-width:700px)and (max-height:500px)and (orientation:landscape){.knowledge-leaf h3{font-size:12px}.knowledge-leaf p{font-size:10.5px}}.knowledge-pages{position:relative}.knowledge-leaf{grid-template-rows:repeat(4,minmax(0,1fr)) auto}.knowledge-introduction .knowledge-leaf{grid-template-rows:repeat(4,minmax(min-content,1fr)) auto}.knowledge-measure{position:absolute;visibility:hidden;pointer-events:none;inset:3px auto 6px 3px;width:calc((100% - var(--gutter) - 6px)/2);min-height:0;display:flex;flex-direction:column}.knowledge-measure article,.knowledge-measure .knowledge-leaf-number{flex:none}@media(max-width:600px)and (max-height:350px){.knowledge-leaf article{padding-block:1px}.knowledge-leaf h3{line-height:1.1}}#audio-settings{position:fixed;inset:0;z-index:29;display:flex;align-items:center;justify-content:center;padding:20px;background:#103e496e;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);touch-action:pan-y}#audio-settings[hidden]{display:none}.settings-card{width:min(510px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:23px;border:7px solid #28b7a7;border-radius:34px;background:linear-gradient(145deg,#fffdf1,#fce9c5);box-shadow:inset 0 0 0 2px #fff8e4,0 8px #167e76,0 20px 50px #123b4d66;color:#146f63;overscroll-behavior:contain}.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.settings-heading small{font-size:9px;letter-spacing:2px;color:#9b8261;font-weight:800}.settings-heading h2{font-size:29px;font-weight:900;margin:2px 0;letter-spacing:-.8px}#settings-close{width:40px;height:40px;flex:none;border:2px solid #fff4d6;border-radius:50%;background:linear-gradient(#ff997e,#ec5e50);box-shadow:0 3px #ac4839;color:#fff;font-size:26px;font-weight:800}.settings-volume-row{padding:13px 15px;margin-bottom:11px;border:2px solid #ecd1a2;border-radius:19px;background:#fff9e9bf;box-shadow:0 3px #d7b67e50}.settings-volume-title{display:flex;align-items:center;gap:10px}.settings-sound-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:11px;background:#d4f0dc;color:#168c77;font-size:25px;font-weight:800}.settings-volume-title strong{display:block;font-size:15px}.settings-volume-title small{display:block;font-size:10px;color:#9c866b;margin-top:2px}.settings-mute{margin-left:auto;min-height:34px;padding:6px 11px;border-radius:12px;background:linear-gradient(#76d7bb,#36b29a);box-shadow:0 3px #29967d;color:#fff;font-size:10px;font-weight:800}.settings-mute[aria-pressed=true]{background:linear-gradient(#e7d7bd,#cfbca0);color:#776a57;box-shadow:0 3px #b7a27f}.settings-range{display:flex;align-items:center;gap:12px;margin:13px 0 1px}.settings-range input{width:100%;padding:0;height:24px;border:0;box-shadow:none;accent-color:#1bae95;background:transparent;cursor:pointer}.settings-range output{width:34px;flex:none;font-size:12px;font-weight:900;text-align:right}#settings-email-form{margin-top:14px}#settings-email-form>label{font-size:11px;font-weight:800;color:#6c7058}.settings-email-controls{display:flex;gap:8px;align-items:center}.settings-email-controls input{min-width:0;flex:1;font-size:14px;background:#fffdf7;border:2px solid #ead4af;border-radius:13px;min-height:42px;padding:9px 11px}.settings-email-controls button{min-height:42px;padding:8px 13px;background:linear-gradient(#60cbb6,#20a78f);box-shadow:0 3px #19826e;border-radius:13px;color:#fff;font-size:11px;font-weight:800}#settings-email-status{font-size:10px;color:#8d826c;line-height:1.45;min-height:15px;margin:7px 0 3px}.settings-voice-note{font-size:10px;text-align:center;line-height:1.5;color:#8f8067;margin:10px 0 12px}#settings-leave{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:45px;padding:10px 15px;border:2px solid #ffe3c7;border-radius:16px;background:linear-gradient(#f7956b,#e77853);box-shadow:0 4px #b95536;color:#fff;font-size:13px;font-weight:900}#settings-leave span{font-size:21px}.settings-gear-icon{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.game-tools #help-toggle.settings-toggle{display:flex;align-items:center;justify-content:center;gap:7px}.game-tools #help-toggle.settings-toggle .settings-gear-icon{display:block;width:22px;height:22px}.game-tools #help-toggle.settings-toggle span{margin:0;font-size:11px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#landing-help .settings-gear-icon{display:block;width:26px;height:26px;margin:auto}.mobile-ui #audio-settings{padding:12px}.mobile-ui .settings-card{width:min(510px,100%);max-height:calc(100dvh - 24px);padding:14px 17px;border-width:5px;border-radius:25px}.mobile-ui .settings-heading{margin-bottom:9px}.mobile-ui .settings-heading h2{font-size:23px}.mobile-ui .settings-heading small{font-size:8px}.mobile-ui #settings-close{width:34px;height:34px;font-size:23px}.mobile-ui .settings-volume-row{padding:8px 11px;margin-bottom:8px;border-radius:14px}.mobile-ui .settings-volume-title strong{font-size:13px}.mobile-ui .settings-volume-title small{font-size:9px}.mobile-ui .settings-sound-icon{width:29px;height:29px;font-size:22px}.mobile-ui .settings-range{margin-top:6px;gap:8px}.mobile-ui .settings-range input{height:23px}.mobile-ui .settings-mute{min-height:32px}.mobile-ui .settings-email-controls input{font-size:16px;min-height:38px;padding:6px 9px}.mobile-ui .settings-email-controls button{min-height:38px}.mobile-ui #settings-email-form{margin-top:8px}.mobile-ui #settings-email-form>label{margin:5px 0}.mobile-ui #settings-email-status{margin:4px 0;min-height:13px}.mobile-ui .settings-voice-note{margin:6px 0;font-size:9px}.mobile-ui #settings-leave{min-height:37px;padding:6px 11px;font-size:12px}@media(orientation:landscape)and (max-height:480px){.mobile-ui .settings-card{width:min(660px,100%);display:grid;grid-template-columns:1fr 1fr;column-gap:13px;align-content:start}.mobile-ui .settings-heading{grid-column:1/-1;margin-bottom:8px}.mobile-ui .settings-volume-row{margin:0 0 7px}.mobile-ui #settings-email-form{grid-column:1/-1;margin-top:0}.mobile-ui .settings-voice-note{grid-column:1/-1;margin:5px 0}.mobile-ui #settings-leave{grid-column:1/-1}.mobile-ui .settings-volume-title{gap:7px}.mobile-ui .settings-volume-title small{display:none}.mobile-ui .settings-mute{padding:5px 7px;font-size:9px}.mobile-ui .settings-card #settings-email-form>label{margin-top:2px}}.inventory-dialog{width:min(420px,88vw);box-sizing:border-box;padding:26px;border:6px solid #56bbb0;border-radius:30px;background:linear-gradient(#fffcf0,#f8e9c7);color:#20665d;box-shadow:0 9px #267f79,0 20px 65px #102c4980;font:700 17px Nunito,Arial,sans-serif;z-index:1000}.inventory-dialog::backdrop{background:#123d4866;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.inventory-dialog h2{font-size:25px;margin:0 0 15px}.inventory-dialog p{line-height:1.5;white-space:pre-line}.inventory-dialog label{display:grid;gap:9px}.inventory-dialog label[hidden]{display:none}.inventory-dialog input{width:100%;box-sizing:border-box;border:3px solid #d8bb80;border-radius:14px;padding:12px;background:#fffdf4;font:800 23px Arial;color:#20665d}.inventory-dialog form>div{display:flex;gap:14px;margin-top:20px}.inventory-dialog button{flex:1;border:3px solid #fff0ba;border-radius:17px;padding:13px 10px;background:linear-gradient(#ffdf7b,#f5b940);box-shadow:0 5px #c59c49;color:#704b27;font:800 19px Arial;cursor:pointer}.inventory-dialog [data-confirm]{background:linear-gradient(#63d4c3,#2eaa9c);box-shadow:0 5px #207f76;color:#fff}.inventory-dialog .dialog-error{color:#b43f35;display:block;min-height:1em;margin-top:10px}.craft-uncraft{margin-top:10px;border:3px solid #fff0bf;border-radius:18px;background:linear-gradient(#d3aff2,#9978d0);box-shadow:0 5px #7455a2;color:#fff;font:800 18px Nunito,Arial;padding:12px;cursor:pointer;width:100%}.craft-uncraft[hidden]{display:none}@media(max-height:480px){.inventory-dialog{padding:15px}.inventory-dialog h2{font-size:20px;margin-bottom:8px}.inventory-dialog p{margin:8px 0}.inventory-dialog input{padding:6px}.inventory-dialog form>div{margin-top:10px}}#fishing-banner{position:fixed;top:90px;left:50%;transform:translate(-50%);z-index:9;pointer-events:none;display:flex;align-items:center;gap:10px;padding:10px 14px;border:3px solid #fff1cf;border-radius:20px;background:linear-gradient(#fffdf2ed,#f6e7c9ed);box-shadow:0 4px #62876a99,0 7px 18px #113c4333;color:#186c60;max-width:340px;font-size:12px;font-weight:800}#fishing-banner[hidden]{display:none}#fishing-status-icon{font-size:24px;line-height:1}.fishing-banner-copy{display:grid;gap:2px}#fishing-subtitle{font-size:10px;font-weight:500;color:#8d7e65}#fishing-reel{pointer-events:auto;touch-action:manipulation;min-height:40px;white-space:nowrap;padding:9px 13px;border:2px solid #d9fff1;border-radius:14px;background:linear-gradient(#40cfad,#0ca085);box-shadow:0 3px #197c69;font-size:12px;font-weight:900;color:#fff}#fishing-banner.fishing-bite{border-color:#ffe78b;background:linear-gradient(#fff8cb,#ffeaa1);animation:fishing-bite .65s ease-in-out infinite alternate}@keyframes fishing-bite{to{box-shadow:0 0 0 4px #ffe79655,0 4px #ac9852}}.mobile-ui #fishing-banner{top:58px;max-width:min(290px,calc(100vw - 230px));padding:7px 10px;border-width:2px;border-radius:15px;font-size:11px;gap:7px}.mobile-ui #fishing-status-icon{font-size:20px}.mobile-ui #fishing-subtitle{font-size:9px}.mobile-ui #fishing-reel{font-size:11px;min-height:42px;padding:7px 10px;border-radius:12px}@media(max-width:620px){.mobile-ui #fishing-banner{max-width:235px;flex-wrap:wrap;justify-content:center}.mobile-ui #fishing-banner #fishing-subtitle{display:none}.mobile-ui #fishing-reel{width:100%}}#fishing-banner{max-width:min(390px,90vw);flex-wrap:wrap;justify-content:center;z-index:30}.fish-drag-board{width:min(340px,75vw);pointer-events:auto;touch-action:none;padding:10px 2px 0}.fish-drag-board[hidden]{display:none}.fish-drag-rail{position:relative;height:46px;margin:0 22px;background:linear-gradient(#275c6e,#173e4f);border:3px solid #ddc78d;border-radius:24px;box-shadow:inset 0 3px 5px #092d4477}.fish-yellow-target{position:absolute;top:4px;bottom:4px;width:12px;left:50%;transform:translate(-50%);border:2px solid #fff3ac;border-radius:8px;background:#ffd447;box-shadow:0 0 12px #ffc831aa;transition:left .1s linear}.fish-green-handle{position:absolute;top:50%;left:5%;width:38px;height:38px;transform:translate(-50%,-50%);border:3px solid #e5ffd5;border-radius:50%;background:radial-gradient(circle at 35% 25%,#a8ee73,#25aa56 70%);box-shadow:0 3px #176e3b,0 1px 8px #073e48aa;cursor:grab;touch-action:none;z-index:2}.fish-green-handle.dragging{cursor:grabbing;box-shadow:0 0 0 5px #75e38c55}.fish-catch-progress{display:block;width:100%;height:17px;margin:12px 0 6px;accent-color:#42be73}.fish-drag-board>small{display:block;font-size:10px;color:#786d51;text-align:center}.fish-drag-board.on-target .fish-drag-rail{border-color:#8bf3a0}.mobile-ui #fishing-banner{max-width:80vw}.mobile-ui .fish-green-handle{width:42px;height:42px}.fish-yellow-target{z-index:3;pointer-events:none}#expedition-panel{position:fixed;left:50%;bottom:135px;transform:translate(-50%);z-index:25;display:grid;gap:7px;min-width:240px;max-width:85vw;padding:13px 18px;background:#fff6df;border:4px solid #4db4aa;border-radius:23px;box-shadow:0 5px #227d79;color:#216d65;text-align:center}#expedition-panel[hidden],#underwater-tint[hidden],#swim-controls[hidden]{display:none}#expedition-panel progress{width:100%;height:15px;accent-color:#e9a548}#expedition-panel small{font-size:11px}#expedition-panel button,#swim-controls button{padding:8px 12px;background:linear-gradient(#71cfba,#29998e);border:2px solid #fff1ce;box-shadow:0 3px #207a73;border-radius:14px;color:#fff;font-weight:800;cursor:pointer}#underwater-tint{position:fixed;inset:0;background:#1765b346;pointer-events:none;z-index:9;box-shadow:inset 0 0 120px #123d6599}#swim-controls{position:fixed;right:18px;bottom:150px;display:flex;gap:8px;z-index:20}#swim-controls button{font-size:23px;width:45px;height:45px}.mobile-ui #expedition-panel{bottom:78px;padding:8px 12px;min-width:200px;border-width:3px}.mobile-ui #swim-controls{bottom:115px;right:10px}#expedition-panel button[hidden]{display:none}.resource-tooltip{position:fixed;z-index:120;max-width:250px;padding:10px 13px;white-space:pre-line;background:#fff8e9;color:#286d62;border:2px solid #75bfb0;border-radius:13px;box-shadow:0 4px 12px #123b4f44;font-size:12px;line-height:1.5;pointer-events:none}.resource-tooltip[hidden]{display:none}
