.world-root{--island-ink:#34462d;--island-paper:#fff4df;position:fixed;inset:0;overflow:hidden;background:#8dd4ec;color:#123540;font-family:Inter,Avenir Next,Segoe UI,sans-serif}.world-root *{box-sizing:border-box}.world-root button{cursor:pointer}.world-root button:focus-visible{outline:3px solid #f5c655;outline-offset:3px}.world-root .world-camera-tools{position:absolute;z-index:4;top:93px;right:22px;display:flex;align-items:flex-end;flex-direction:column;gap:8px}.world-root .world-camera-tools .world-zoom{position:static}.world-camera-menu,.world-orbit-panel{border:1px solid #ffffff70;border-radius:12px;background:#234550e8;color:white;box-shadow:0 6px 20px #12354026}.world-camera-menu{display:flex;gap:7px;align-items:center;padding:10px 13px;font:inherit;font-size:13px;font-weight:700}.world-camera-menu:disabled{opacity:.5}.world-orbit-panel{display:grid;grid-template-columns:repeat(3,42px);gap:4px;padding:9px}.world-orbit-panel button{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff40;border-radius:8px;background:#ffffff18;color:white;touch-action:manipulation}.world-orbit-panel button:hover{background:#ffffff35}.orbit-up{grid-column:2;grid-row:1}.orbit-left{grid-column:1;grid-row:2}.orbit-reset{grid-column:2;grid-row:2}.orbit-right{grid-column:3;grid-row:2}.orbit-down{grid-column:2;grid-row:3}.world-orbit-panel small{grid-column:1/-1;text-align:center;font-size:10px;line-height:1.5;margin-top:3px}@media (max-width:700px){.world-root .world-camera-tools{top:114px;right:10px}.world-orbit-panel{grid-template-columns:repeat(3,44px)}.world-orbit-panel button{width:44px;height:44px}}@media (max-height:540px) and (min-width:701px){.world-orbit-panel{grid-template-columns:repeat(5,38px)}.world-orbit-panel button{grid-row:1;grid-column:auto;width:38px;height:38px}.world-orbit-panel small{display:none}}.world-canvas,.world-canvas canvas{display:block;width:100%;height:100%}.world-canvas{position:absolute;inset:0}.world-topbar{position:absolute;top:0;left:0;right:0;z-index:4;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px max(22px,env(safe-area-inset-right)) 0 max(22px,env(safe-area-inset-left));pointer-events:none}.world-topbar>*{pointer-events:auto}.world-brand{display:flex;align-items:center;gap:11px;padding:5px 12px 5px 5px;background:rgba(255,255,255,.91);border:1px solid rgba(29,82,88,.15);border-radius:7px;box-shadow:0 10px 30px rgba(17,65,73,.12)}.world-brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:5px;background:#0c7774;color:white;font-size:24px;font-weight:900}.world-brand small,.world-brand strong{display:block;letter-spacing:0}.world-brand strong{font-size:16px;line-height:1.15}.world-brand small{color:#557274;font-size:12px;line-height:1.3}.world-top-actions{display:flex;align-items:center;gap:8px}.world-fragments,.world-top-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid rgba(25,74,79,.16);border-radius:7px;background:rgba(255,255,255,.94);color:#163b42;box-shadow:0 10px 30px rgba(17,65,73,.12);font-size:14px;font-weight:800;white-space:nowrap}.world-fragments svg{color:#d89925}.world-top-button:hover{background:#fff3cf}.world-quest{position:absolute;top:93px;left:22px;z-index:3;display:flex;gap:11px;width:min(290px,calc(100vw - 44px));padding:14px;border-left:4px solid #e8ac47;border-radius:6px;background:rgba(255,255,255,.94);box-shadow:0 12px 28px rgba(16,68,72,.14)}.world-quest-icon{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:5px;background:#e5f2ed;color:#137c71}.world-quest strong{display:block;font-size:15px;line-height:1.2}.world-quest p{margin:5px 0 0;color:#526d6b;font-size:13px;line-height:1.35}.world-location{right:22px;bottom:23px;gap:6px;padding:8px 11px;background:rgba(18,53,64,.85);color:white}.world-bottom-hint,.world-location{position:absolute;z-index:3;display:inline-flex;align-items:center;border-radius:5px;font-size:13px;font-weight:750}.world-bottom-hint{bottom:22px;left:50%;gap:7px;transform:translateX(-50%);padding:8px 12px;background:rgba(255,255,255,.87);color:#24515a;white-space:nowrap}.world-move{position:absolute;bottom:22px;left:22px;z-index:4;display:grid;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px);gap:4px;touch-action:none}.move-button{display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid rgba(22,77,81,.22);border-radius:7px;background:rgba(255,255,255,.85);color:#214a50;box-shadow:0 7px 18px rgba(13,70,75,.1);font-size:24px;font-weight:850;line-height:1}.move-button:active{background:#e0f3e8;transform:translateY(1px)}.move-forward{grid-column:2;grid-row:1}.move-left{grid-column:1;grid-row:2}.move-back{grid-column:2;grid-row:2}.move-right{grid-column:3;grid-row:2}.world-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.world-profile-select select{min-height:44px;max-width:180px;padding:0 27px 0 11px;border:1px solid rgba(25,74,79,.16);border-radius:7px;background:rgba(255,255,255,.94);color:#163b42;box-shadow:0 10px 30px rgba(17,65,73,.12);font-family:inherit;font-size:14px;font-weight:750;line-height:1.2;text-overflow:ellipsis}.world-top-button:disabled{opacity:.55;cursor:not-allowed}.world-add-profile{width:44px;padding:0}.world-quest-progress{display:flex;margin-top:11px}.world-quest-progress span{width:28px;height:6px;border-radius:3px;background:#c8d9d5}.world-quest-progress .is-found{background:#e5aa3b}.world-quest-list{display:inline-flex;align-items:center;gap:5px;margin-top:9px;min-height:32px;padding:3px 8px;border:1px solid #c3d2ad;border-radius:8px;background:#e7edd4;color:#3c5836;font:inherit;font-size:12px;font-weight:800}.world-quest-list:hover{background:#d8e4be}.world-hint-button{min-height:40px;margin-top:16px;padding:7px 13px;border:1px solid #b9d7cc;border-radius:9px;background:#eef5e8;color:#3c604b;font:inherit;font-size:13px;font-weight:750}.world-interact{position:absolute;z-index:5;left:50%;bottom:87px;display:flex;align-items:center;justify-content:center;gap:9px;min-height:50px;max-width:min(92vw,420px);padding:9px 16px;transform:translateX(-50%);border:2px solid #fff;border-radius:7px;background:#e4a93e;color:#17343a;box-shadow:0 6px 0 #9a641f,0 14px 32px rgba(20,62,62,.3);font-size:15px;font-weight:850;text-align:center}.world-interact:hover{background:#f2ba52}.world-interact:active{transform:translate(-50%,3px);box-shadow:0 3px 0 #9a641f,0 8px 20px rgba(20,62,62,.25)}.world-alert{position:absolute;z-index:12;right:20px;top:91px;display:flex;align-items:flex-start;gap:12px;width:min(330px,calc(100vw - 40px));padding:12px 13px;border:1px solid #cf7670;border-radius:7px;background:#fff1ec;color:#752c2b;box-shadow:0 14px 38px rgba(51,41,35,.22);font-size:14px;line-height:1.4}.world-alert button{flex:0 0 auto;display:grid;place-items:center;width:25px;height:25px;padding:0;border:0;background:transparent;color:inherit}.world-overlay{position:absolute;z-index:10;inset:0;display:grid;place-items:center;padding:20px;background:rgba(12,37,43,.58);backdrop-filter:blur(3px)}.world-dialog{position:relative;width:min(100%,480px);max-height:min(92vh,780px);overflow:auto;padding:26px;border:2px solid rgba(255,255,255,.78);border-radius:8px;background:#f9fcf8;color:#173b42;box-shadow:0 22px 0 -12px #197d78,0 30px 80px rgba(7,39,46,.4)}.world-dialog h1,.world-dialog h2,.world-dialog h3,.world-dialog p{margin-top:0}.world-dialog h1,.world-dialog h2{margin-bottom:0;font-size:27px;line-height:1.1;font-weight:900}.world-dialog h3{display:flex;align-items:center;gap:8px;margin:0 0 18px;font-size:18px}.world-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.world-eyebrow{margin:0 0 6px;color:#157d72;font-size:12px;font-weight:900;text-transform:uppercase}.world-close{flex:0 0 auto;display:grid;place-items:center;width:35px;height:35px;padding:0;border:1px solid #cfddda;border-radius:6px;background:#fff;color:#315760}.world-close:hover{background:#e8f3f0}.world-dialog-copy,.world-parent-note{color:#4e6769;font-size:14px;line-height:1.5}.world-dialog-copy{margin-bottom:20px}.world-parent-note{margin:14px 0 0;font-size:12px}.world-form{display:grid;gap:15px}.world-field{display:grid;gap:6px;color:#244e54;font-size:14px;font-weight:800}.world-field input,.world-field select{min-width:0;width:100%;height:45px;padding:0 12px;border:1px solid #afc9c6;border-radius:6px;background:#fff;color:#1e3c43;font-family:inherit;font-size:15px;font-weight:600;line-height:1.2}.world-field input:focus,.world-field select:focus{outline:2px solid #168d82;outline-offset:1px}.world-primary-button,.world-secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 17px;border-radius:6px;font-size:15px;font-weight:850;line-height:1.2}.world-primary-button{border:1px solid #07655e;background:#0d8076;color:white;box-shadow:0 4px 0 #07554e}.world-primary-button:hover{background:#0c9487}.world-primary-button:disabled{opacity:.6;cursor:not-allowed}.world-secondary-button{border:1px solid #b6cfcb;background:#fff;color:#235b5b}.world-secondary-button:hover{background:#e9f4f0}.world-registration .world-primary-button{width:100%;margin-top:4px}.world-workshop{width:min(100%,800px);padding:0;overflow:hidden}.world-workshop>.world-dialog-header{margin:0;padding:22px 24px 16px;border-bottom:1px solid #d6e6e1}.world-workshop-form{display:flex;flex-direction:column;max-height:calc(min(92vh, 780px) - 90px)}.world-workshop-scroll{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;overflow:auto}.world-editor-section{min-width:0;padding:21px 24px}.world-editor-section+.world-editor-section{border-left:1px solid #d6e6e1}.world-choice-group{min-width:0;margin:0 0 17px;padding:0;border:0}.world-choice-group legend{margin-bottom:8px;padding:0;color:#365e61;font-size:13px;font-weight:850}.world-choice-options,.world-swatch-options{display:flex;flex-wrap:wrap;gap:7px}.world-choice{min-height:35px;padding:5px 10px;border:1px solid #b9d0ca;border-radius:5px;background:#fff;color:#34585c;font-size:13px;font-weight:750}.world-choice.is-selected{border-color:#0b8177;background:#d9eee7;color:#075e59;box-shadow:inset 0 0 0 1px #0b8177}.world-swatch{position:relative;display:grid;place-items:center;width:38px;height:38px;padding:3px;border:2px solid transparent;border-radius:50%;background:transparent}.world-swatch>span{width:100%;height:100%;border:1px solid rgba(28,50,50,.16);border-radius:50%}.world-swatch svg{position:absolute;color:#fff;filter:drop-shadow(0 1px 2px #243d40)}.world-swatch.is-selected{border-color:#087f75}.world-editor-section .world-field{margin-bottom:17px}.world-dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding:16px 24px 20px;border-top:1px solid #d6e6e1;background:#f3f9f5}.world-task{width:min(100%,530px)}.world-task-body{padding-top:5px}.world-task-prompt{margin-bottom:20px;font-weight:800;line-height:1.4}.world-answer-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.world-answer-options button{min-height:58px;padding:9px;border:2px solid #a6d1c9;border-radius:6px;background:#e9f6f0;color:#145e5c;font-weight:900}.world-answer-options button:hover{background:#ccece1;border-color:#178a7b}.world-answer-options button:disabled{opacity:.6;cursor:wait}.world-task-feedback{min-height:28px;margin:14px 0 0;color:#9c5430;font-size:14px;font-weight:750}.world-task-success{display:grid;justify-items:center;gap:12px;padding:8px 0 2px;text-align:center}.world-task-success strong{font-size:20px;line-height:1.3}.world-task-success p{margin:0 0 5px;color:#4e6769;font-size:14px}.world-finale-mark,.world-reward{display:grid;place-items:center;width:74px;height:74px;border-radius:50%;background:#fff0bc;color:#b57916}.world-finale{text-align:center}.world-finale .world-dialog-header{text-align:left}.world-finale-mark{width:96px;height:96px;margin:12px auto 20px}.world-finale>p{color:#4e6769;font-size:16px;line-height:1.5}.world-finale .world-primary-button{margin-top:8px}.world-root:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;box-shadow:inset 0 0 125px rgba(13,54,65,.12)}.world-brand{gap:12px;padding:7px 17px 7px 7px;border:1px solid rgba(243,224,176,.42);border-radius:15px;background:rgba(40,61,39,.92);color:#fff5df;box-shadow:0 7px 20px rgba(35,47,26,.17),inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(12px)}.world-brand-mark{border-radius:11px;background:linear-gradient(145deg,#f8d27c,#e8a844);color:#204650;text-shadow:0 1px 0 rgba(255,255,255,.5)}.world-brand strong{font-size:17px;letter-spacing:-.025em}.world-brand small{color:#d8dec4}.world-fragments,.world-profile-select select,.world-top-button{border:1px solid rgba(147,117,64,.3);border-radius:13px;background:rgba(255,245,224,.94);color:var(--island-ink);box-shadow:0 5px 16px rgba(43,57,31,.16),inset 0 1px 0 rgba(255,255,255,.8);backdrop-filter:blur(12px)}.world-fragments{padding-inline:15px;color:#77501e;background:rgba(255,245,213,.92)}.world-fragments svg{color:#d59025}.world-top-button:hover{background:#fff4d7;transform:translateY(-1px)}.world-top-button:active{transform:translateY(1px)}.world-quest{gap:13px;width:min(305px,calc(100vw - 44px));padding:16px;border:1px solid rgba(169,138,83,.5);border-left:4px solid #c09340;border-radius:5px 15px 15px 5px;background:rgba(255,245,222,.94);color:var(--island-ink);box-shadow:0 8px 22px rgba(50,56,28,.17),inset 0 1px 0 rgba(255,255,255,.6);backdrop-filter:blur(10px)}.world-quest-icon{flex-basis:34px;height:34px;border-radius:9px;background:#f5d078;color:#284c53}.world-quest strong{font-size:16px}.world-quest p{color:#5c644b;font-size:14px;line-height:1.45}.world-quest-progress{gap:7px;margin-top:12px}.world-quest-progress span{width:34px;height:7px;border-radius:9px;background:#d9cfad}.world-quest-progress .is-found{background:#f7cb67;box-shadow:0 0 10px rgba(255,203,103,.45)}.world-location{border:1px solid rgba(255,255,255,.22);border-radius:11px;background:rgba(21,61,74,.8);box-shadow:0 8px 24px rgba(10,54,67,.18);backdrop-filter:blur(10px)}.world-bottom-hint{min-height:39px;padding:8px 14px;border:1px solid rgba(255,255,255,.32);border-radius:11px;background:rgba(20,65,75,.78);color:#fff;box-shadow:0 8px 22px rgba(13,55,62,.18);backdrop-filter:blur(9px)}.move-button{border:1px solid rgba(255,255,255,.46);border-radius:13px;background:rgba(19,67,79,.79);color:#fff;box-shadow:0 8px 20px rgba(9,52,64,.2),inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(10px)}.move-button:active{background:#1b8a84}.world-interact{border:2px solid #fff5d9;border-radius:14px;background:linear-gradient(180deg,#ffe395,#f3b74d);color:#31505a;box-shadow:0 6px 0 #ad7630,0 15px 30px rgba(25,64,67,.27)}.world-interact:hover{background:linear-gradient(180deg,#ffeba8,#fac660)}.world-camera-toggle{position:absolute;right:22px;bottom:72px;z-index:4;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:8px 13px;border:1px solid rgba(255,255,255,.46);border-radius:12px;background:rgba(19,67,79,.83);color:#fff;box-shadow:0 8px 20px rgba(9,52,64,.2);backdrop-filter:blur(10px);font-size:14px;font-weight:800}.world-camera-toggle:hover{background:rgba(21,102,108,.94)}.world-zoom{position:absolute;top:93px;right:22px;z-index:4;display:flex;align-items:center;gap:3px;padding:4px;border:1px solid rgba(255,255,255,.46);border-radius:13px;background:rgba(19,67,79,.88);color:#fff;box-shadow:0 8px 20px rgba(9,52,64,.2);backdrop-filter:blur(10px)}.world-zoom-label{padding:0 9px;font-size:13px;font-weight:800}.world-zoom button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:9px;background:rgba(255,255,255,.1);color:inherit;touch-action:manipulation;user-select:none}.world-zoom button:hover{background:rgba(255,255,255,.22)}.world-zoom button:active{background:#1b8a84}.world-jump{position:absolute;right:22px;bottom:127px;z-index:4;display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:10px 14px;border:1px solid #ffe9ad;border-radius:14px;background:linear-gradient(180deg,#ffe395,#f3b74d);color:#34462d;box-shadow:0 4px 0 #a47531,0 8px 20px rgba(9,52,64,.2);font-size:15px;font-weight:850;touch-action:manipulation;user-select:none}.world-jump kbd{padding:3px 5px;border:1px solid rgba(115,80,30,.28);border-radius:5px;font-family:inherit;font-size:11px;font-weight:600}.world-jump:hover{background:#ffe7a8}.world-jump:active{transform:translateY(3px);box-shadow:0 1px 0 #a47531,0 5px 12px rgba(9,52,64,.2)}.move-button:disabled,.world-camera-toggle:disabled,.world-jump:disabled,.world-zoom button:disabled{opacity:.5;cursor:default}.world-mouse-hint{text-align:center;line-height:1.6;position:absolute;left:50%;bottom:67px;z-index:3;transform:translateX(-50%);padding:7px 11px;border:1px solid rgba(255,255,255,.3);border-radius:10px;background:rgba(19,67,79,.78);color:#fff;box-shadow:0 8px 20px rgba(9,52,64,.15);backdrop-filter:blur(8px);font-size:12px;font-weight:700;white-space:nowrap;pointer-events:none}.world-dialog{border-radius:18px;background:#fbfdfb;box-shadow:0 23px 0 -13px #197d78,0 32px 80px rgba(7,39,46,.4)}.world-overlay:has(.world-workshop){display:flex;align-items:stretch;justify-content:flex-end;padding:18px;background:rgba(7,35,45,.21);backdrop-filter:none}.world-workshop{width:min(100%,440px);max-height:none;border-radius:18px;box-shadow:0 22px 70px rgba(5,36,47,.42)}.world-workshop-form{max-height:calc(100dvh - 105px)}.world-workshop-scroll{grid-template-columns:1fr}.world-editor-section+.world-editor-section{border-left:0;border-top:1px solid #d6e6e1}.world-choice,.world-close,.world-field input,.world-field select{border-radius:9px}.world-primary-button,.world-secondary-button{border-radius:10px}.world-answer-options button{border-radius:12px}@media (max-width:700px){.world-topbar{padding:10px 10px 0}.world-brand{gap:7px;padding-right:7px}.world-brand-mark{width:34px;height:34px;font-size:21px}.world-brand strong{font-size:14px}.world-brand small{font-size:11px}.world-top-actions{gap:5px}.world-fragments,.world-top-button{min-height:42px;padding:0 8px}.world-top-button span{display:none}.world-quest{top:68px;left:10px;width:min(272px,calc(100vw - 20px));padding:10px}.world-quest strong{font-size:14px}.world-quest p{font-size:12px}.world-move{bottom:max(14px,env(safe-area-inset-bottom));left:10px;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px)}.move-button{width:44px;height:44px}.world-bottom-hint{bottom:max(18px,env(safe-area-inset-bottom));left:auto;right:10px;transform:none;max-width:calc(100vw - 172px);overflow:hidden;text-overflow:ellipsis}.world-location{display:none}.world-topbar{flex-direction:column;gap:6px}.world-top-actions{align-self:stretch;justify-content:flex-end}.world-profile-select{flex:1;min-width:0}.world-profile-select select{width:100%;max-width:none}.world-add-profile{flex:0 0 42px}.world-quest{top:114px;width:min(272px,calc(100vw - 78px))}.world-zoom{top:114px;right:10px;flex-direction:column}.world-zoom-label{display:none}.world-interact{left:10px;right:10px;bottom:max(195px,calc(env(safe-area-inset-bottom) + 175px));max-width:none;transform:none;min-height:49px}.world-interact:active{transform:translateY(3px)}.world-camera-toggle{right:10px;bottom:max(141px,calc(env(safe-area-inset-bottom) + 121px));min-height:42px;padding:7px 11px}.world-jump{right:10px;bottom:max(75px,calc(env(safe-area-inset-bottom) + 55px));min-height:54px;min-width:121px}.world-jump kbd,.world-mouse-hint{display:none}.world-alert{top:110px;right:10px}.world-overlay{padding:12px}.world-dialog{max-height:calc(100dvh - 24px);padding:20px}.world-dialog h1,.world-dialog h2{font-size:23px}.world-workshop{padding:0}.world-overlay:has(.world-workshop){align-items:center;justify-content:center;padding:12px;background:rgba(12,37,43,.58);backdrop-filter:blur(3px)}.world-workshop{width:100%;max-height:calc(100dvh - 24px)}.world-workshop>.world-dialog-header{padding:17px 17px 13px}.world-workshop-form{max-height:calc(100dvh - 105px)}.world-workshop-scroll{grid-template-columns:1fr}.world-editor-section{padding:18px}.world-editor-section+.world-editor-section{border-left:0;border-top:1px solid #d6e6e1}.world-dialog-actions{padding:12px 17px 17px}}.island-map-dialog{position:fixed;inset:0;width:min(900px,calc(100vw - 36px));max-height:calc(100dvh - 36px);margin:auto;padding:0;overflow:auto;border:1px solid #e4cc94;border-radius:22px;background:#fcf2d9;color:#34462d;box-shadow:0 28px 90px #0c2d4266;font-family:inherit}.island-map-dialog::backdrop{background:#153e4cb8}.island-map-sheet{padding:25px}.island-map-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.island-map-header h2{margin:0;font-size:29px;line-height:1.1}.island-map-header .world-eyebrow{color:#8c713f;letter-spacing:.1em;font-size:10px}.island-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:25px}.island-map-drawing{position:relative;aspect-ratio:1;overflow:hidden;border:5px solid #e8d4a3;border-radius:16px;background:#6ab1b6;box-shadow:0 3px 12px #765b2722}.island-map-drawing canvas,.island-map-drawing svg{position:absolute;inset:0;width:100%;height:100%}.island-map-place{fill:#445735;font-size:5px;font-weight:750;text-anchor:middle;paint-order:stroke;stroke:#d9d4a0;stroke-width:1px;stroke-linejoin:round}.island-map-you{position:absolute;left:10px;bottom:10px;display:flex;align-items:center;gap:6px;padding:6px 10px;background:#fff8e8;border-radius:8px;font-size:12px;font-weight:750}.island-map-you>span{width:9px;height:9px;border-radius:50%;background:#1767b4}.island-map-legend h3{display:flex;align-items:center;gap:7px;margin:0 0 18px;font-size:16px}.island-map-legend{max-height:min(530px,64dvh);overflow-y:auto;padding-right:8px}.island-map-rewards{margin:-8px 0 18px;color:#75623b;font-size:12px;font-weight:750}.island-map-legend ol{display:grid;gap:18px;list-style:none;margin:0;padding:0}.island-map-legend li{display:flex;align-items:flex-start;gap:10px}.island-map-legend li>div{min-width:0;overflow-wrap:anywhere}.map-number{display:grid;flex:0 0 27px;height:27px;place-items:center;border-radius:50%;background:#f7d98e;color:#6e501f;font-size:13px;font-weight:850}.map-number.is-complete{background:#337b5a;color:white}.island-map-legend small,.island-map-legend strong,.map-distance{display:block}.island-map-legend strong{font-size:14px}.island-map-legend small{margin-top:3px;color:#70725a;font-size:11px}.map-distance{margin-top:4px;color:#5b775a;font-size:11px;font-weight:750}.island-map-legend p{margin:20px 0 0;color:#77745c;font-size:11px;line-height:1.7}.island-map-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:22px;padding-top:18px;border-top:1px solid #d9cba7}.island-map-footer>span{color:#79745d;font-size:12px}@media (max-width:700px){.island-map-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:17px}.island-map-sheet{padding:16px}.island-map-header{margin-bottom:15px}.island-map-header h2{font-size:24px}.island-map-layout{grid-template-columns:1fr;gap:18px}.island-map-legend h3{margin-bottom:12px;font-size:14px}.island-map-legend{max-height:none;overflow-y:visible;padding-right:0}.island-map-legend ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 8px}.island-map-legend li{gap:6px}.island-map-legend strong{font-size:12px}.island-map-legend small{font-size:10px}.island-map-footer>span,.island-map-legend p{display:none}.island-map-footer{margin-top:18px;padding-top:15px;justify-content:stretch}.island-map-footer .world-primary-button{width:100%}}.world-portal-button{position:absolute;z-index:7;left:50%;bottom:100px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:10px;min-height:55px;padding:14px 24px;border:1px solid #dbc6ff;border-radius:18px;background:linear-gradient(130deg,#5d42a9,#a157b8);color:white;box-shadow:0 0 30px #ba92e982;font:inherit;font-weight:800;white-space:nowrap;cursor:pointer}.world-portal-button:hover{background:#7950b5}.world-travel{position:absolute;inset:0;z-index:15;pointer-events:none;display:grid;align-items:end;justify-items:center;padding:100px 15px;background:radial-gradient(ellipse at center,transparent 35%,#7552ad55)}.world-travel span{display:flex;align-items:center;gap:10px;padding:16px 24px;border-radius:18px;color:white;background:#3b2955dc;font-size:18px;font-weight:750}@keyframes portal-arrival{0%,60%{opacity:1}to{background-color:#d8c6ef}}@media (max-width:700px){.world-portal-button{bottom:200px;max-width:calc(100% - 24px);font-size:14px;padding:12px 16px}.world-travel{padding-bottom:230px}.world-travel span{font-size:14px}}.world-quest>div:last-child{flex:1;min-width:0}.world-quest-progress{gap:4px}.world-quest-progress span{width:auto;min-width:0;flex:1}.world-travel.is-falling{animation:portal-arrival 1.8s ease-in both}.island-map-dialog{overflow:hidden}.island-map-sheet{display:flex;flex-direction:column;max-height:calc(100dvh - 38px)}.island-map-footer,.island-map-header{flex:0 0 auto}.island-map-layout{min-height:0;overflow-y:auto;overscroll-behavior:contain}.island-map-drawing{width:min(100%,calc(100dvh - 230px));justify-self:center}.island-map-legend{max-height:min(530px,calc(100dvh - 230px))}.world-answer-options:has(>button:nth-child(4)),.world-answer-options[data-long-options=true]{grid-template-columns:repeat(2,minmax(0,1fr))}.world-answer-options button{min-width:0;overflow-wrap:anywhere;line-height:1.25}.world-answer-options[data-long-options=true] button{font-size:18px}@media (max-width:700px){.island-map-sheet{max-height:calc(100dvh - 22px)}.island-map-layout{display:flex;flex-direction:column;align-items:stretch}.island-map-drawing{flex:0 0 auto;width:100%}.island-map-legend{flex:0 0 auto;max-height:none}.world-answer-options button{font-size:19px}.world-answer-options[data-long-options=true] button{font-size:16px}}@media (max-height:540px) and (min-width:701px){.world-brand small,.world-mouse-hint,.world-quest p{display:none}.world-quest{width:250px}.world-quest-progress{margin-top:8px}}@media (min-width:701px) and (max-width:1150px){.world-brand{min-width:0;gap:8px}.world-brand-mark{flex:0 0 38px}.world-brand>div{min-width:0}.world-brand small,.world-brand strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.world-top-actions{flex:0 0 auto;gap:6px}.world-top-button{width:44px;padding:0}.world-top-button span{display:none}.world-profile-select select{width:clamp(110px,16vw,180px)}}.world-joystick,.world-touch-hint{display:none}@media (max-width:700px),(pointer:coarse){.world-move{display:none}.world-joystick{position:absolute;z-index:4;display:grid;place-items:center;left:max(18px,env(safe-area-inset-left));bottom:max(30px,calc(env(safe-area-inset-bottom) + 15px));width:128px;height:128px;padding:0;border:2px solid #ffffff80;border-radius:50%;background:#163f5266;color:#fff;box-shadow:inset 0 0 0 8px #ffffff0f,0 6px 22px #12354030;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.joystick-knob{grid-area:1/1;width:54px;height:54px;border:2px solid #fff9;border-radius:50%;background:linear-gradient(160deg,#fff8df,#dfc790);box-shadow:0 4px 8px #153a4855;pointer-events:none}.joystick-directions{position:absolute;inset:8px;display:grid;grid-template:repeat(3,1fr) /repeat(3,1fr);place-items:center;font-size:19px;opacity:.9;pointer-events:none}.joystick-directions span:first-child{grid-area:1/2}.joystick-directions span:nth-child(2){grid-area:2/1}.joystick-directions span:nth-child(3){grid-area:2/3}.joystick-directions span:nth-child(4){grid-area:3/2}.joystick-label{position:absolute;top:calc(100% + 4px);font-size:12px;font-weight:750;text-shadow:0 1px 3px #143f51}.world-jump{touch-action:none;-webkit-touch-callout:none;right:max(18px,env(safe-area-inset-right));min-width:106px;min-height:66px}.world-jump kbd,.world-mouse-hint{display:none}.world-touch-hint{display:block;position:absolute;left:50%;bottom:max(185px,calc(env(safe-area-inset-bottom) + 170px));transform:translateX(-50%);max-width:calc(100% - 30px);padding:6px 10px;border-radius:10px;background:#163f52b3;color:white;font-size:12px;white-space:nowrap;pointer-events:none}.world-root:has(.world-interact) .world-touch-hint{display:none}.world-topbar{top:max(14px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right))}}@media (max-height:540px) and (min-width:701px){.world-joystick{width:110px;height:110px;bottom:max(20px,env(safe-area-inset-bottom))}.world-jump{bottom:max(28px,env(safe-area-inset-bottom))}.world-camera-toggle{bottom:112px}.world-location,.world-touch-hint{display:none}.world-bottom-hint{bottom:15px}.world-interact{bottom:60px}}.world-root{--story-ink:#39474a;--story-paper:#fbf6eaeF;--story-line:#697d6c30}.world-root:after{box-shadow:inset 0 0 100px #74688910}.world-brand{background:var(--story-paper);color:var(--story-ink);border:1px solid #ffffffa6;border-radius:20px;box-shadow:0 4px 20px #384d4b10}.world-brand-mark{background:#d9e6d3;border-radius:50%;color:#557568;text-shadow:none}.world-brand small{color:#78857b;font-size:11px;margin-top:4px}.world-brand strong{letter-spacing:-.3px}.world-fragments,.world-profile-select select,.world-top-button{background:var(--story-paper);border-color:var(--story-line);border-radius:16px;color:var(--story-ink);box-shadow:0 4px 16px #384d4b0d}.world-top-button:hover{background:#fffaf0}.world-fragments{color:#8a7953;font-size:12px}.world-quest{top:100px;width:255px;padding:13px 16px;border:1px solid #ffffff80;border-radius:18px;background:#fcf8eccf;box-shadow:0 4px 16px #384d4b0d;gap:10px}.world-quest-icon{display:none}.world-quest strong{color:#43564d;font-size:14px}.world-quest p{color:#798273;font-size:12px;line-height:1.5}.world-quest-progress{height:4px;overflow:hidden;border-radius:6px;background:#d9dfcf;display:block;margin-top:10px}.world-quest-progress .is-found{display:block;height:100%;min-width:0;border-radius:inherit;background:#789a80;box-shadow:none;transition:width .5s ease}.world-quest-list{min-height:27px;margin-top:5px;padding:0;border:0;background:transparent;color:#627767;font-size:11px}.world-quest-list:hover{background:transparent;color:#354e40}.world-bottom-hint,.world-location{display:none}.world-interact{bottom:37px;min-height:54px;border:1px solid #fffaf0;border-radius:24px;background:#faf2dd;box-shadow:0 6px 24px #3b4e442e;color:#475c50;padding:10px 18px 10px 10px}.world-interact:hover{background:#fff8e7}.world-interact:active{transform:translate(-50%,1px);box-shadow:0 3px 12px #3b4e4420}.world-talk-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#dce8d3;font-size:12px}.world-camera-tools{top:100px}.world-camera-menu,.world-camera-toggle,.world-camera-tools .world-zoom,.world-orbit-panel{background:#f9f4e6dc;color:#5b6f67;border:1px solid #ffffffa6;box-shadow:0 4px 16px #384d4b10}.world-zoom-label{display:none}.world-zoom button{width:36px;height:36px;background:transparent}.world-camera-toggle{bottom:25px}.world-camera-toggle:hover{background:#fff9eb}.world-camera-menu{font-size:12px}.world-orbit-panel button{color:#526860;border-color:#77937d33;background:#dde5d570}.world-jump{bottom:82px;min-height:46px;color:#536c60;border:1px solid #fff8e8;border-radius:18px;background:#e5edd7;box-shadow:0 4px 16px #384d4b14}.world-jump:hover{background:#f1f4df}.world-mouse-hint{bottom:20px;border:0;background:#faf4e0aa;color:#5c716a;box-shadow:none;backdrop-filter:blur(4px);font-size:10px;font-weight:500;border-radius:16px}.world-dialog{border:1px solid #fff9ec;border-radius:26px;background:#fcf7ed;color:#3f4c48;box-shadow:0 22px 90px #233d3e40}.world-task{width:min(100%,560px)}.world-overlay{background:#34485166;backdrop-filter:blur(5px)}.world-eyebrow{color:#899176;letter-spacing:1px;font-size:10px}.world-dialog h2{font-size:26px;letter-spacing:-.7px}.world-close{border-radius:50%;background:#f5f0e3;border-color:#8a98732b;color:#6c786d}.world-resident{display:flex;gap:18px;align-items:center;margin:16px 0 22px;padding:14px 16px 14px 10px;border-radius:20px;background:#e8eddc}.resident-portrait{width:88px;flex:0 0 88px;height:95px}.world-resident small,.world-resident strong{display:block}.world-resident strong{font-size:16px}.world-resident small{margin:3px 0 7px;color:#7c896f;font-size:10px;text-transform:uppercase;letter-spacing:.8px}.world-resident p{margin:0;color:#63735e;font-size:13px;line-height:1.5}.world-task-prompt{font-size:20px;font-weight:650;line-height:1.5}.world-answer-options button{background:#f6f0e2;border:1px solid #d4dcc8;color:#506653;border-radius:17px;font-size:22px;box-shadow:0 3px 0 #dfe5d4}.world-answer-options button:hover{border-color:#8aa184;background:#eaf1dd}.world-primary-button{border:1px solid #56775d;background:#688a70;box-shadow:0 3px 0 #4f6b55;border-radius:14px}.world-primary-button:hover{background:#78987c}.world-hint-button{border-color:#ccd8c1;background:#edf0e3;color:#718260;border-radius:12px}.world-task-feedback{color:#94755e}.island-map-dialog{background:#fcf7ed;border-radius:25px;box-shadow:0 20px 80px #34484f33}.island-map-sheet{max-height:calc(100dvh - 44px)}.island-map-layout{grid-template-columns:minmax(0,1fr) minmax(270px,1fr);align-items:start;gap:18px}.island-map-summary{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:12px 14px;border:2px solid var(--hud-line,#34462d);border-radius:14px;background:var(--hud-cyan,#d9eef5);color:var(--hud-ink,#173b48)}.island-map-summary svg{flex:0 0 auto}.island-map-summary span,.island-map-summary strong{display:block}.island-map-summary strong{font-size:16px}.island-map-summary span{margin-top:3px;font-size:13px}.island-map-drawing{width:100%}.island-map-legend{max-height:none;overflow:visible;padding-right:0}.island-map-legend ol{grid-template-columns:1fr;gap:8px}.island-map-legend li{display:block}.island-map-destination{display:flex;align-items:flex-start;gap:10px;width:100%;min-height:64px;padding:12px;text-align:left;font:inherit;border:2px solid var(--hud-line,#34462d);border-radius:14px;background:var(--hud-paper,#fcf7ed);color:var(--hud-ink,#173b48);touch-action:manipulation}.island-map-destination:hover{background:var(--hud-soft,#edf0e3)}.island-map-destination[aria-pressed=true]{background:var(--hud-cyan,#d9eef5);box-shadow:inset 0 0 0 2px var(--hud-blue,#1767b4)}.island-map-destination-copy{min-width:0;overflow-wrap:anywhere}.island-map-destination-copy strong{font-size:14px;line-height:1.3}.island-map-destination-copy .map-distance,.island-map-destination-copy small{font-size:12px;line-height:1.45}.map-selected-label{display:block;margin-top:5px;color:var(--hud-ink,#173b48);font-size:11px;font-weight:750}.map-recommended{font-weight:850}.island-map-legend .island-map-instruction{display:block;margin:0 0 14px;color:var(--hud-muted,#526d6b);font-size:13px;line-height:1.5}.island-map-legend ol+.island-map-instruction{margin:14px 0 0}.island-map-footer{margin-top:14px;padding-top:12px}.world-navigation{position:absolute;z-index:3;top:93px;left:22px;width:290px;padding:13px;border:2px solid var(--hud-line,#34462d);border-radius:18px;background:var(--hud-paper,#fcf7ed);color:var(--hud-ink,#173b48);box-shadow:0 4px 0 var(--hud-line,#34462d)}.world-navigation-heading{display:flex;align-items:center;gap:6px;margin-bottom:8px;font-size:11px;font-weight:850}.world-navigation-heading small{margin-left:auto;font-size:11px}.world-navigation>strong{display:block;font-size:15px;line-height:1.3}.world-navigation>p{margin:5px 0;font-size:13px;line-height:1.35}.world-navigation-distance{display:block;font-size:12px;font-weight:750;line-height:1.4}.world-navigation button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;margin-top:10px;padding:8px;border:2px solid var(--hud-line,#34462d);border-radius:12px;background:var(--hud-cyan,#d9eef5);color:var(--hud-ink,#173b48);font:inherit;font-size:12px;font-weight:850;touch-action:manipulation}@media (max-width:700px){.island-map-sheet{max-height:calc(100dvh - 28px)}.island-map-summary{flex:0 0 auto}.island-map-layout{gap:14px}}@media (pointer:fine) and (min-width:701px){.world-move{display:none}}@media (max-width:700px){.world-brand{padding:8px 11px;border-radius:16px}.world-brand strong{font-size:14px}.world-brand small{margin-top:2px}.world-root .world-quest{top:120px;left:10px;padding:10px 12px;width:187px;border-radius:15px}.world-quest p{display:none}.world-quest strong{font-size:12px}.world-quest-progress{margin-top:7px}.world-root .world-camera-tools{top:120px}.world-zoom button{width:34px;height:40px}.world-interact{bottom:185px;font-size:13px;min-height:49px;max-width:calc(100% - 26px)}.world-talk-icon{font-size:0}.world-talk-icon:after{content:"…";font-size:18px;line-height:1;margin-top:-7px}.world-jump{bottom:80px;min-height:64px;min-width:102px}.world-camera-toggle{bottom:22px}.world-dialog{padding:20px;max-height:calc(100dvh - 30px);border-radius:22px}.world-workshop{padding:0}.world-dialog h2{font-size:23px}.world-resident{gap:12px;padding:10px;margin:12px 0 16px}.resident-portrait{width:65px;flex-basis:65px;height:75px}.world-resident p{font-size:12px}.world-task-prompt{font-size:18px}.world-touch-hint{background:#faf4e0c9;color:#526e61}}@media (prefers-reduced-motion:reduce){.world-quest-progress .is-found{transition:none}}@media(max-width:700px){.world-topbar{padding:0;gap:0}.world-topbar .world-brand{display:none}.world-top-actions{width:100%;flex-wrap:wrap;gap:6px;justify-content:space-between}.world-profile-select{flex:1 1 calc(100% - 54px);min-width:0}.world-profile-select select{width:100%;max-width:none;font-size:16px}.world-top-actions .world-top-button{flex:0 0 44px;width:44px;min-height:44px;padding:0}.world-top-actions .world-fragments{flex:1;min-width:0;min-height:44px;padding-inline:8px;font-size:12px}.world-top-actions .world-top-button span{display:none}}.world-loading-screen{position:absolute;inset:0;z-index:6;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;padding:24px;text-align:center;background:#fcfaf5;color:#253650}.world-loading-screen strong{font-size:23px}.world-loading-screen p{font-size:14px}.world-loading-screen a{padding:12px 20px;border:1px solid #abbdb3;border-radius:12px}.restoration-story-progress{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 5px}.restoration-story-progress span{border:1px solid #c7d4bc;border-radius:6px;padding:3px 7px;background:#f4eedc;color:#49634e;font-size:11px;font-weight:750}.restoration-story-progress [data-complete=true]{background:#d6e7cb}.world-overlay:has(.world-task[data-activity]){justify-items:end;background:linear-gradient(90deg,rgba(25,48,42,.03),rgba(25,48,42,.35));backdrop-filter:none}.world-task[data-activity]{width:min(520px,100%);border:1px solid #e3d8bf;background:#fcf8ed;box-shadow:0 24px 80px #193b3b55}.world-task[data-activity] .world-task-body{padding-top:4px}.world-task[data-activity] .world-task-prompt{font-size:15px;line-height:1.55}.world-task[data-activity] .world-resident{margin-bottom:12px}.restoration-task{color:#354f48}.restoration-board{position:relative;overflow:hidden;border:1px solid #bfd2bc;border-radius:14px}.bridge-board svg{display:block;width:100%}.bridge-inventory{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 14px;background:#eee4cd}.bridge-inventory span{font-size:13px;font-weight:800}.bridge-inventory strong{font-size:29px;color:#795030}.bridge-inventory small{font-size:10px;max-width:90px;text-align:right}.restoration-instruction{margin:10px 0;font-size:12px;line-height:1.5;color:#65736a}.restoration-supply{display:flex;gap:8px}.restoration-supply button{flex:1;min-height:62px;border:solid #d2b692;border-width:1px 1px 3px;border-radius:10px;background:#f3e2c3;color:#77502f;display:grid;place-items:center;padding:7px;cursor:pointer}.timber-icon{display:block;width:29px;height:11px;border-radius:2px;background:repeating-linear-gradient(0deg,#b48452 0 3px,#d4a66c 3px 5px);transform:rotate(-12deg);box-shadow:2px 3px #95673e}.restoration-tray{display:flex;flex-wrap:wrap;gap:5px;align-items:center;min-height:44px;margin:10px 0;padding:7px;border:1px dashed #c9baa0;border-radius:9px}.restoration-tray>span{font-size:12px;color:#8c8c78}.restoration-tray button{display:flex;align-items:center;gap:6px;padding:6px 8px;min-height:34px;border:0;border-radius:5px;color:#674625;background:#e9c796;cursor:pointer}.restoration-actions{display:flex;align-items:center;gap:10px;margin-top:14px}.restoration-actions .world-primary-button{flex:1;padding:11px 13px;min-height:46px;font-size:13px;background:#426957;color:#fffdf3;border:1px solid #365b48;box-shadow:0 3px 0 #294634}.restoration-reset{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:8px;border:0;border-radius:8px;background:transparent;color:#647468;font-size:12px;cursor:pointer}.restoration-task button{touch-action:manipulation}.restoration-task button:disabled{opacity:.4;cursor:default}.restoration-look:focus-visible,.restoration-task button:focus-visible{outline:3px solid #e4a948;outline-offset:3px}.garden-stock{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-radius:12px;background:#e4ecd8}.garden-stock>span{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700}.garden-stock strong{font-size:24px}.garden-stock small{font-size:11px;font-weight:500}.garden-scoops{display:flex;gap:6px;justify-content:flex-end;margin:0 0 8px}.garden-scoops button{min-height:36px;padding:5px 12px;border:1px solid #bccbb4;border-radius:7px;background:#fff9e9;font-size:12px;color:#45634a}.garden-scoops button[aria-pressed=true]{background:#426957;color:white}.garden-beds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.garden-bed{overflow:hidden;border:2px solid #c49670;border-radius:11px;background:#835c42}.garden-bed>span{display:block;text-align:center;padding:5px;color:#f5dfb5;font-size:11px}.garden-seedlings{display:flex;justify-content:center;align-content:center;flex-wrap:wrap;min-height:55px;gap:1px;padding:5px;color:#f6db8c;background:repeating-linear-gradient(0deg,transparent 0 17px,#5f42272e 17px 20px)}.garden-seedlings span{padding:3px;font-size:11px}.garden-bed-controls{display:flex;align-items:center;justify-content:space-between;background:#f0e2c9;padding:3px}.garden-bed-controls button{display:grid;place-items:center;flex-shrink:0;width:34px;height:38px;border:0;border-radius:6px;background:#e0d4b7;color:#466449}.garden-bed-controls output{font-size:19px;font-weight:800}.machine-board{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:hidden;padding:16px 10px;background:#cfdfd6;border:6px solid #967353;border-radius:16px}.machine-belt{position:absolute;top:65px;left:35px;right:35px;height:42px;border:6px solid #6b8580;border-radius:30px}.machine-socket{z-index:1;display:grid;justify-items:center;gap:15px}.machine-formula{display:flex;align-items:center;justify-content:center;text-align:center;min-height:31px;padding:4px 6px;border:1px solid #b5c4b9;border-radius:5px;background:#f7f0d9;font-size:12px;font-weight:800}.machine-socket button{display:grid;place-items:center;position:relative;width:70px;height:70px;background:#718c82;border:0;border-radius:50%;color:#d9e6d6;cursor:pointer}.machine-socket button.is-installed{background:#e0b557;color:#fff0bd}.machine-socket button strong{position:absolute;font-size:20px;color:#334e46}.machine-socket button:disabled.is-empty{opacity:.8}.machine-pieces{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:15px}.machine-pieces button{position:relative;display:grid;place-items:center;width:58px;height:58px;padding:4px;border:2px solid transparent;border-radius:12px;background:#ecdfbd;color:#b0813c;cursor:pointer}.machine-pieces button strong{position:absolute;font-size:12px;color:#423e2f}.machine-pieces button[aria-pressed=true]{border-color:#426957;background:#d6e5cf;transform:translateY(-3px)}.machine-selection{min-height:30px;margin:10px 0 0;text-align:center;font-size:11px;color:#67766c}.restoration-result{border-radius:12px;padding:14px;background:#e4ecd8;color:#355a43;font-size:15px;line-height:1.6}.restoration-look{min-height:44px;padding:8px 12px;border:0;background:transparent;color:#45644b;text-decoration:underline;text-underline-offset:4px;cursor:pointer}@media (max-width:700px){.world-overlay:has(.world-task[data-activity]){padding:8px;align-items:center;background:#183a3259}.world-task[data-activity]{max-height:calc(100dvh - 16px)}.world-task[data-activity] .world-dialog-header{padding:15px 16px 10px}.world-task[data-activity] .world-task-body{padding:0 16px 16px}.world-task[data-activity] .world-resident{margin:0 16px 9px;padding:10px}.world-task[data-activity] .world-resident p{display:none}.world-task[data-activity] .world-task-prompt{font-size:13px;line-height:1.45;margin:8px 0 10px}.world-task[data-activity] .world-task-feedback{min-height:0;font-size:12px}.bridge-board svg{max-height:87px}.garden-beds{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.garden-bed-controls button{width:44px;height:44px}.machine-board{padding:12px 5px;gap:4px}.machine-formula{font-size:10px;padding:4px}.machine-pieces{gap:5px}.machine-pieces button{width:51px;height:51px}.restoration-instruction{font-size:11px}.restoration-story-progress{margin:4px 0}}@media (prefers-reduced-motion:reduce){.machine-pieces button[aria-pressed=true]{transform:none}}.world-root{inset:auto;left:var(--game-left,0);top:var(--game-top,0);width:var(--game-width,100vw);height:var(--game-height,100dvh);-webkit-text-size-adjust:100%;text-size-adjust:100%}.world-root input,.world-root select,.world-root textarea{font-size:16px}.world-more-actions{display:contents}.world-add-profile span,.world-mobile-menu,.world-mobile-quests{display:none}.world-root[data-compact=true]{--hud-gap:10px;--hud-top:max(8px,env(safe-area-inset-top));--hud-bottom:max(14px,env(safe-area-inset-bottom));--hud-left:max(10px,env(safe-area-inset-left));--hud-right:max(10px,env(safe-area-inset-right))}.world-root[data-compact=true] .world-topbar{top:var(--hud-top);left:var(--hud-left);right:var(--hud-right);padding:0;display:block}.world-root[data-compact=true] .world-brand{display:none}.world-root[data-compact=true] .world-topbar:has(.world-more-actions[data-open=true]){z-index:7}.world-root[data-compact=true] .world-top-actions{display:flex;flex-wrap:nowrap;gap:6px;width:100%;min-width:0;align-items:center}.world-root[data-compact=true] .world-profile-select{flex:1 1 0;min-width:0}.world-root[data-compact=true] .world-profile-select select{width:100%;max-width:none;min-width:0;height:44px;font-size:16px;padding-left:10px;border-radius:14px}.world-root[data-compact=true] .world-top-actions>.world-top-button{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0}.world-root[data-compact=true] .world-top-actions>.world-fragments,.world-root[data-compact=true] .world-top-button span{display:none}.world-root[data-compact=true] .world-mobile-menu{display:inline-flex}.world-root[data-compact=true] .world-more-actions{display:none;position:absolute;right:0;top:52px;width:206px;max-width:100%;padding:8px;border:1px solid #d7ddce;border-radius:18px;background:#fcf8ed;box-shadow:0 8px 26px #18392d29}.world-root[data-compact=true] .world-more-actions[data-open=true]{display:flex;flex-direction:column;gap:5px}.world-root[data-compact=true] .world-more-actions .world-top-button{width:100%;min-height:44px;justify-content:flex-start;padding:0 10px;box-shadow:none;border:0;font-size:14px;text-decoration:none}.world-root[data-compact=true] .world-more-actions .world-top-button span{display:inline}.world-root[data-compact=true] .world-quest{display:none}.world-root[data-compact=true] .world-mobile-quests{position:absolute;z-index:3;top:calc(var(--hud-top) + 52px);left:var(--hud-left);display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 11px;border:1px solid #fff9;border-radius:14px;background:#fcf8eceb;color:#40584b;font:inherit;font-size:13px;font-weight:750}.world-root[data-compact=true] .world-camera-tools{top:calc(var(--hud-top) + 52px);right:var(--hud-right);gap:6px;max-width:calc(100% - 20px)}.world-root[data-compact=true] .world-camera-menu{order:0;width:44px;height:44px;padding:0;justify-content:center;border-radius:14px}.world-root[data-compact=true] .world-camera-menu span{display:none}.world-root[data-compact=true] .world-camera-tools .world-zoom{display:none;order:1;flex-direction:row;padding:4px;border-radius:14px;background:#fcf8ed}.world-root[data-compact=true] .world-camera-tools[data-open=true] .world-zoom{display:flex}.world-root[data-compact=true]:not([data-landscape=true]) .world-camera-tools[data-open=true] .world-zoom{margin-top:6px}.world-root[data-compact=true] .world-zoom button{width:44px;height:44px}.world-root[data-compact=true] .world-orbit-panel{order:2;background:#fcf8ed;grid-template-columns:repeat(3,44px)}.world-root[data-compact=true] .world-orbit-panel button{width:44px;height:44px}.world-root[data-compact=true] .world-orbit-panel button,.world-root[data-compact=true] .world-zoom button{color:#263f4b}.world-root[data-compact=true] .world-orbit-panel small{display:none}.world-root[data-compact=true] .world-joystick{position:absolute;z-index:4;display:grid;place-items:center;padding:0;border:2px solid #ffffff80;border-radius:50%;background:#163f5266;color:#fff;box-shadow:inset 0 0 0 8px #ffffff0f,0 6px 22px #12354030;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;left:var(--hud-left);bottom:var(--hud-bottom);width:108px;height:108px}.world-root[data-compact=true] .joystick-knob{grid-area:1/1;width:46px;height:46px;border:2px solid #fff9;border-radius:50%;background:linear-gradient(160deg,#fff8df,#dfc790);box-shadow:0 4px 8px #153a4855;pointer-events:none}.world-root[data-compact=true] .joystick-directions{position:absolute;inset:8px;display:grid;grid-template:repeat(3,1fr)/repeat(3,1fr);place-items:center;font-size:19px;opacity:.9;pointer-events:none}.world-root[data-compact=true] .joystick-directions span:first-child{grid-area:1/2}.world-root[data-compact=true] .joystick-directions span:nth-child(2){grid-area:2/1}.world-root[data-compact=true] .joystick-directions span:nth-child(3){grid-area:2/3}.world-root[data-compact=true] .joystick-directions span:nth-child(4){grid-area:3/2}.world-root[data-compact=true] .world-talk-icon{font-size:0}.world-root[data-compact=true] .world-talk-icon:after{content:"…";font-size:18px;line-height:1}.world-root[data-compact=true] .joystick-label{display:none}.world-root[data-compact=true] .world-jump{right:var(--hud-right);bottom:var(--hud-bottom);width:84px;min-width:0;min-height:64px;padding:9px 5px;flex-direction:column;gap:2px;font-size:12px;border-radius:22px}.world-root[data-compact=true] .world-jump kbd{display:none}.world-root[data-compact=true] .world-camera-toggle{right:var(--hud-right);bottom:calc(var(--hud-bottom) + 76px);width:44px;min-height:44px;padding:0;border-radius:14px}.world-root[data-compact=true] .world-camera-toggle span{display:none}.world-root[data-compact=true] .world-interact{left:50%;right:auto;bottom:calc(var(--hud-bottom) + 132px);width:max-content;max-width:calc(100% - 24px);min-height:46px;padding:9px 13px;transform:translateX(-50%);font-size:13px}.world-root[data-compact=true] .world-bottom-hint,.world-root[data-compact=true] .world-location,.world-root[data-compact=true] .world-mouse-hint,.world-root[data-compact=true] .world-move,.world-root[data-compact=true] .world-touch-hint{display:none}.world-root[data-compact=true] .world-overlay{padding:10px}.world-root[data-compact=true] .world-dialog{max-height:100%;width:min(100%,480px)}.world-root[data-compact=true] .world-workshop-form{max-height:calc(var(--game-height,100dvh) - 115px)}.world-root[data-compact=true] .world-close{width:44px;height:44px}.world-root[data-compact=true] .world-alert{top:calc(var(--hud-top) + 104px);right:var(--hud-right);width:calc(100% - 20px)}.world-root[data-compact=true] .island-map-dialog{inset:auto;top:var(--game-top,0);left:var(--game-left,0);margin:10px;width:calc(var(--game-width,100vw) - 20px);max-height:calc(var(--game-height,100dvh) - 20px)}.world-root[data-compact=true] .island-map-sheet{max-height:calc(var(--game-height,100dvh) - 28px)}.world-root[data-compact=true] .world-navigation{top:calc(var(--hud-top) + 104px);left:var(--hud-left);right:var(--hud-right);width:auto;padding:10px 12px}.world-root[data-compact=true] .world-navigation-heading{margin-bottom:4px}.world-root[data-compact=true] .world-navigation>strong{font-size:13px}.world-root[data-compact=true] .world-navigation>p{display:none}.world-root[data-compact=true] .world-navigation-distance{font-size:12px;margin-top:4px}.world-root[data-compact=true] .world-navigation button{display:none}.world-root[data-compact=true][data-landscape=true] .world-navigation{width:min(310px,calc(100% - 24px));right:auto;top:calc(var(--hud-top) + 104px)}.world-root[data-compact=true][data-landscape=true] .world-topbar{right:auto;width:min(410px,calc(100% - 76px))}.world-root[data-compact=true][data-landscape=true] .world-camera-tools{top:var(--hud-top)}.world-root[data-compact=true][data-landscape=true] .world-orbit-panel{grid-template-columns:repeat(5,44px)}.world-root[data-compact=true][data-landscape=true] .world-orbit-panel button{grid-row:1;grid-column:auto}.world-root[data-compact=true][data-landscape=true] .world-joystick{width:92px;height:92px}.world-root[data-compact=true][data-landscape=true] .world-interact{left:calc(var(--hud-left) + 204px);right:calc(var(--hud-right) + 96px);bottom:var(--hud-bottom);width:auto;max-width:300px;transform:none;padding:9px 6px}.world-root[data-compact=true][data-landscape=true] .world-interact:active{transform:translateY(1px)}.world-root[data-compact=true][data-landscape=true] .world-mobile-quests{min-height:40px}.world-root[data-compact=true][data-landscape=true] .island-map-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,1fr);align-items:start;gap:12px}.world-root[data-compact=true][data-landscape=true] .island-map-drawing{width:min(100%,calc(var(--game-height,100dvh) - 96px));justify-self:center}.world-root[data-compact=true][data-landscape=true] .island-map-legend{max-height:calc(var(--game-height,100dvh) - 112px);overflow-y:auto}@media(max-width:500px){.world-root[data-compact=true][data-landscape=true] .world-interact{top:calc(var(--hud-top) + 52px);bottom:auto;left:auto;right:var(--hud-right);width:calc(50% - 16px);max-width:none;font-size:12px}.world-root[data-compact=true][data-landscape=true] .world-mobile-quests{max-width:calc(50% - 16px);gap:4px;padding:8px 6px;font-size:12px}}.world-root{--hud-ink:#173b63;--hud-muted:#49617b;--hud-line:#31567d;--hud-paper:#ffffff;--hud-soft:#f1f7ff;--hud-cyan:#9ee9fa;--hud-cyan-hover:#c5f4ff;--hud-purple:#dec9ff;--hud-purple-hover:#ecddff;--hud-purple-ink:#493377;--hud-yellow:#ffdf65;--hud-yellow-hover:#ffed9b;--hud-green:#b5ef93;--hud-green-hover:#d0f7b7;--hud-green-ink:#24542d;--hud-blue:#275ca7;--hud-blue-hover:#204d8d;--hud-focus:#145acb;--island-ink:var(--hud-ink);--island-paper:var(--hud-paper);--story-ink:var(--hud-ink);--story-paper:var(--hud-paper);color:var(--hud-ink);font-family:Avenir Next,Trebuchet MS,Segoe UI,sans-serif}.world-root:after{box-shadow:none}.world-root .world-brand,.world-root .world-camera-menu,.world-root .world-camera-toggle,.world-root .world-fragments,.world-root .world-more-actions[data-open=true],.world-root .world-orbit-panel,.world-root .world-profile-select select,.world-root .world-top-button,.world-root .world-zoom{background:var(--hud-paper);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:18px;box-shadow:0 3px 0 var(--hud-line),0 6px 14px #173b631a;backdrop-filter:none}.world-root .world-brand-mark{background:var(--hud-cyan);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:12px;text-shadow:none}.world-root .world-brand small{color:var(--hud-muted)}.world-root .world-fragments{background:var(--hud-yellow);color:var(--hud-ink)}.world-root .world-fragments svg{color:var(--hud-ink)}.world-root .world-top-button:hover{background:var(--hud-soft);color:var(--hud-ink)}.world-root .world-profile-select select option{background:var(--hud-paper);color:var(--hud-ink)}.world-root :is(.world-top-button,.world-profile-select select,.world-camera-menu,.world-camera-toggle){min-height:44px;font-weight:800}.world-root .world-camera-toggle,.world-root .world-mobile-quests{background:var(--hud-cyan);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:16px;box-shadow:0 3px 0 var(--hud-line)}.world-root .world-camera-toggle:hover,.world-root .world-mobile-quests:hover{background:var(--hud-cyan-hover);color:var(--hud-ink)}.world-root .world-orbit-panel button,.world-root .world-zoom button{min-width:44px;min-height:44px;background:var(--hud-soft);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:12px}.world-root .world-orbit-panel{grid-template-columns:repeat(3,44px)}.world-root .world-orbit-panel button:hover,.world-root .world-zoom button:hover{background:var(--hud-cyan);color:var(--hud-ink)}.world-root .world-orbit-panel small{color:var(--hud-muted)}.world-root .world-jump{background:var(--hud-yellow);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:20px;box-shadow:0 4px 0 var(--hud-line),0 6px 14px #173b631a}.world-root .world-jump:hover{background:var(--hud-yellow-hover)}.world-root .world-jump:active{box-shadow:0 1px 0 var(--hud-line)}.world-root .world-jump kbd{color:var(--hud-ink);border:1px solid var(--hud-line);border-radius:7px;background:#ffffff80}.world-root .world-interact{background:var(--hud-green);color:var(--hud-green-ink);border:2px solid var(--hud-line);border-radius:22px;box-shadow:0 4px 0 var(--hud-line),0 8px 18px #173b6326}.world-root .world-interact:hover{background:var(--hud-green-hover);color:var(--hud-green-ink)}.world-root .world-interact:active{box-shadow:0 1px 0 var(--hud-line)}.world-root .world-talk-icon{background:var(--hud-paper);color:var(--hud-green-ink);border:1px solid var(--hud-line)}.world-root .world-magic-launcher{background:var(--hud-purple);color:var(--hud-purple-ink);border:2px solid var(--hud-line);border-radius:20px;box-shadow:0 4px 0 var(--hud-line),0 6px 14px #173b631a;font-weight:800}.world-root .world-magic-launcher:hover,.world-root .world-magic-launcher[data-active=true]{background:var(--hud-purple-hover);color:var(--hud-purple-ink);box-shadow:0 4px 0 var(--hud-line)}.world-root .world-magic-launcher small{color:var(--hud-purple-ink);font-weight:650}.world-root .world-portal-button{background:var(--hud-purple);color:var(--hud-purple-ink);border:2px solid var(--hud-line);box-shadow:0 4px 0 var(--hud-line),0 8px 18px #173b6326}.world-root .world-portal-button:hover{background:var(--hud-purple-hover)}.world-root .world-travel span{color:var(--hud-purple-ink);box-shadow:0 4px 0 var(--hud-line)}.world-root .move-button,.world-root .world-travel span{background:var(--hud-paper);border:2px solid var(--hud-line)}.world-root .move-button{color:var(--hud-ink);border-radius:15px;box-shadow:0 3px 0 var(--hud-line)}.world-root .move-button:active{background:var(--hud-cyan)}.world-root .world-joystick{background:var(--hud-paper);color:var(--hud-ink);border-color:var(--hud-line);box-shadow:inset 0 0 0 7px var(--hud-soft),0 4px 0 var(--hud-line)}.world-root .joystick-knob{background:var(--hud-cyan);border:2px solid var(--hud-line);box-shadow:0 3px 0 var(--hud-line)}.world-root .joystick-directions{color:var(--hud-ink);opacity:1}.world-root .joystick-label{color:var(--hud-ink);background:var(--hud-paper);border-radius:8px;text-shadow:none}.world-root .world-mouse-hint,.world-root .world-touch-hint{background:var(--hud-paper);color:var(--hud-muted);border:1px solid var(--hud-line);box-shadow:none;backdrop-filter:none;font-weight:650}.world-root .world-quest{background:var(--hud-paper);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:20px;box-shadow:0 3px 0 var(--hud-line),0 6px 14px #173b631a;backdrop-filter:none}.world-root .world-quest strong{color:var(--hud-ink);font-weight:850}.world-root .world-quest p{color:var(--hud-muted)}.world-root .world-quest-progress{height:10px;border:1px solid var(--hud-line);background:var(--hud-soft);border-radius:9px}.world-root .world-quest-progress .is-found{background:var(--hud-blue);box-shadow:none}.world-root .world-quest-list{min-height:44px;padding:6px 9px;color:var(--hud-ink);background:var(--hud-cyan);border:2px solid var(--hud-line);border-radius:12px;font-size:12px}.world-root .world-quest-list:hover{color:var(--hud-ink);background:var(--hud-cyan-hover)}.world-root .restoration-story-progress span{color:var(--hud-ink);background:var(--hud-soft);border:1px solid var(--hud-line);border-radius:8px;font-weight:750}.world-root .restoration-story-progress [data-complete=true]{color:var(--hud-green-ink);background:var(--hud-green)}.world-root .world-overlay{background:#173b6359;backdrop-filter:blur(4px)}.world-root .world-overlay:has(.world-task[data-activity]){background:#173b632e;backdrop-filter:none}.world-root .island-map-dialog,.world-root .world-dialog,.world-root .world-task[data-activity]{background:var(--hud-paper);color:var(--hud-ink);border:3px solid var(--hud-line);border-radius:26px;box-shadow:0 6px 0 var(--hud-line),0 18px 48px #173b632e}.world-root .island-map-dialog::backdrop{background:#173b6373}.world-root .island-map-dialog :is(h2,h3),.world-root .world-dialog :is(h1,h2,h3){color:var(--hud-ink);font-weight:850;letter-spacing:-.4px}.world-root :is(.world-dialog,.island-map-dialog) .world-eyebrow{color:var(--hud-blue);letter-spacing:.7px;font-weight:850}.world-root :is(.world-dialog,.island-map-dialog) .world-close{width:44px;height:44px;background:var(--hud-soft);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:14px}.world-root :is(.world-dialog,.island-map-dialog) .world-close:hover{background:var(--hud-cyan)}.world-root .world-dialog :is(.world-dialog-copy,.world-parent-note,.world-task-success p,.world-finale>p,.adventure-note){color:var(--hud-muted)}.world-root .world-dialog .world-choice-group legend,.world-root .world-dialog .world-field{color:var(--hud-ink)}.world-root .world-dialog .world-field input,.world-root .world-dialog .world-field select{background:var(--hud-paper);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:12px;font-size:16px}.world-root :is(.world-dialog,.island-map-dialog) .world-primary-button{background:var(--hud-blue);color:var(--hud-paper);border:2px solid var(--hud-line);border-radius:14px;box-shadow:0 3px 0 var(--hud-line);min-height:46px}.world-root :is(.world-dialog,.island-map-dialog) .world-primary-button:hover{background:var(--hud-blue-hover);color:var(--hud-paper)}.world-root .world-dialog .world-hint-button,.world-root .world-dialog .world-secondary-button{background:var(--hud-soft);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:12px;min-height:44px}.world-root .world-dialog .world-hint-button:hover,.world-root .world-dialog .world-secondary-button:hover{background:var(--hud-cyan)}.world-root .world-dialog .world-task-feedback{color:#884323}.world-root .world-dialog .world-dialog-actions{background:var(--hud-soft);border-color:var(--hud-line)}.world-root .world-dialog .world-dialog-header,.world-root .world-dialog .world-editor-section{border-color:var(--hud-line)}.world-root .world-dialog .world-choice{min-height:44px;background:var(--hud-paper);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:11px}.world-root .world-dialog .world-choice.is-selected{background:var(--hud-cyan);color:var(--hud-ink);box-shadow:inset 0 0 0 1px var(--hud-line)}.world-root .world-dialog .world-swatch{width:44px;height:44px}.world-root .world-dialog .world-swatch.is-selected{border-color:var(--hud-focus)}.world-root .world-dialog .world-swatch svg{color:var(--hud-paper);filter:drop-shadow(0 1px 2px var(--hud-ink))}.world-root .world-dialog .world-hero-card{background:var(--hud-soft);color:var(--hud-ink);border-color:var(--hud-line);border-radius:15px}.world-root .world-dialog .world-hero-card[aria-pressed=true]{background:var(--hud-cyan);border-color:var(--hud-blue)}.world-root .world-dialog .world-hero-card small,.world-root .world-dialog .world-hero-picker>p{color:var(--hud-muted)}.world-root .world-dialog .world-hero-card svg{color:var(--hud-blue)}.world-root .world-dialog .world-hero-card[data-role=mage] svg{color:var(--hud-purple-ink)}.world-root .world-dialog .world-hero-card[data-role=elf] svg{color:var(--hud-green-ink)}.world-root .world-dialog .character-preview-panel{background:#d7edff;border-color:var(--hud-line)}.world-root .world-dialog .character-preview-panel nav{background:var(--hud-soft);color:var(--hud-muted)}.world-root .world-dialog .character-preview-panel button{background:var(--hud-paper);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:11px}.world-root .world-dialog .character-preview-status{color:var(--hud-ink)}.world-root .world-dialog .world-resident{background:var(--hud-soft);border:1px solid var(--hud-line);border-radius:18px}.world-root .world-dialog .world-resident strong{color:var(--hud-ink)}.world-root .world-dialog .world-resident :is(small,p){color:var(--hud-muted)}.world-root .world-dialog .npc-speech{background:var(--hud-soft);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:18px 18px 18px 5px}.world-root .world-dialog .npc-player-reply{background:var(--hud-cyan);color:var(--hud-ink);border:1px solid var(--hud-line);border-radius:18px 18px 5px 18px}.world-root .world-dialog :is(.npc-speech,.npc-player-reply) small{color:var(--hud-muted);opacity:1}.world-root .world-dialog .npc-replies button{min-height:46px;background:var(--hud-green);color:var(--hud-green-ink);border:2px solid var(--hud-line);border-radius:14px;font-weight:750;box-shadow:0 3px 0 var(--hud-line)}.world-root .world-dialog .npc-replies button:hover{background:var(--hud-green-hover);filter:none}.world-root .world-dialog .npc-replies button.npc-leave{background:var(--hud-paper);color:var(--hud-muted);box-shadow:none}.world-root .world-dialog .world-answer-options button{background:var(--hud-cyan);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:16px;box-shadow:0 3px 0 var(--hud-line)}.world-root .world-dialog .world-answer-options button:hover{background:var(--hud-cyan-hover);border-color:var(--hud-line)}.world-root .world-dialog :is(.world-reward,.world-finale-mark){background:var(--hud-yellow);color:var(--hud-ink);border:2px solid var(--hud-line)}.world-root .world-dialog .magic-card{background:var(--hud-soft);color:var(--hud-ink);border:2px solid var(--hud-line)}.world-root .world-dialog .magic-card[data-locked=true]{background:#e7edf4}.world-root .world-dialog .magic-card small{color:var(--hud-muted)}.world-root .world-dialog .magic-icon{background:var(--hud-purple);color:var(--hud-purple-ink);border:1px solid var(--hud-line)}.world-root .world-dialog .magic-card button{min-height:44px;background:var(--hud-purple);color:var(--hud-purple-ink);border:2px solid var(--hud-line)}.world-root .world-dialog .room-code{background:var(--hud-soft);border:1px solid var(--hud-line)}.world-root .world-dialog .room-code :is(output,button){color:var(--hud-ink)}.world-root .world-dialog .room-code small{color:var(--hud-muted)}.world-root .world-dialog .restoration-task{color:var(--hud-ink)}.world-root .world-dialog :is(.restoration-instruction,.machine-selection,.restoration-reset,.restoration-tray>span){color:var(--hud-muted)}.world-root .world-dialog :is(.restoration-board,.restoration-tray){border-color:var(--hud-line)}.world-root .world-dialog .bridge-inventory{background:var(--hud-soft)}.world-root .world-dialog .bridge-inventory strong{color:var(--hud-ink)}.world-root .world-dialog .restoration-supply button{background:var(--hud-yellow);color:var(--hud-ink);border-color:var(--hud-line)}.world-root .world-dialog .restoration-tray button{min-height:44px;background:var(--hud-yellow);color:var(--hud-ink);border:1px solid var(--hud-line);border-radius:9px}.world-root .world-dialog .garden-stock,.world-root .world-dialog .restoration-result{background:var(--hud-green);color:var(--hud-green-ink);border:1px solid var(--hud-line)}.world-root .world-dialog .garden-scoops button{min-height:44px;background:var(--hud-paper);color:var(--hud-ink);border-color:var(--hud-line)}.world-root .world-dialog .garden-scoops button[aria-pressed=true]{background:var(--hud-cyan);color:var(--hud-ink)}.world-root .world-dialog .garden-bed-controls{background:var(--hud-soft)}.world-root .world-dialog .garden-bed-controls button{background:var(--hud-cyan);color:var(--hud-ink)}.world-root .world-dialog .garden-bed-controls output{color:var(--hud-ink)}.world-root .world-dialog .machine-formula{background:var(--hud-paper);color:var(--hud-ink);border-color:var(--hud-line)}.world-root .world-dialog .machine-pieces button strong,.world-root .world-dialog .machine-socket button strong{color:var(--hud-ink)}.world-root .world-dialog .machine-pieces button{background:var(--hud-yellow);color:var(--hud-ink)}.world-root .world-dialog .machine-pieces button[aria-pressed=true]{background:var(--hud-cyan);border-color:var(--hud-line)}.world-root .world-dialog .restoration-look{color:var(--hud-blue)}.world-root .island-map-dialog .island-map-drawing{border-color:var(--hud-line)}.world-root .island-map-dialog .island-map-you{background:var(--hud-paper);color:var(--hud-ink);border:1px solid var(--hud-line)}.world-root .island-map-dialog :is(.island-map-rewards,.map-distance,.island-map-legend small,.island-map-legend p,.island-map-footer>span){color:var(--hud-muted)}.world-root .island-map-dialog .map-number{background:var(--hud-yellow);color:var(--hud-ink);border:1px solid var(--hud-line)}.world-root .island-map-dialog .map-number.is-complete{background:var(--hud-green);color:var(--hud-green-ink)}.world-root .island-map-dialog .island-map-place{fill:var(--hud-ink);stroke:var(--hud-paper)}.world-root .island-map-dialog .island-map-footer{border-color:var(--hud-line)}.world-root .world-alert,.world-root .world-dialog .world-form-error{background:#fff2eb;color:#8a361f;border-color:#884323}.world-root .world-alert .world-alert-retry{background:var(--hud-paper);color:#8a361f;border:2px solid #884323;border-radius:12px}.world-root .world-loading-screen{background:var(--hud-soft);color:var(--hud-ink)}.world-root .world-loading-screen a{background:var(--hud-cyan);color:var(--hud-ink);border:2px solid var(--hud-line);box-shadow:0 3px 0 var(--hud-line)}.world-root :is(.world-brand,.world-top-button,.world-fragments,.world-profile-select select,.world-camera-menu,.world-camera-toggle,.world-mobile-quests,.world-quest){background-image:linear-gradient(160deg,#ffffff8c,#ffffff00 58%);box-shadow:inset 0 2px 0 #fff,0 4px 0 var(--hud-line),0 9px 18px #173b6321}.world-root .world-brand{border-radius:22px}.world-root .world-brand-mark{border-radius:15px;box-shadow:inset 0 2px 0 #ffffffb8,0 2px 0 #4e9dbf}.world-root .world-fragments{border-radius:999px}.world-root :is(.world-jump,.world-interact,.world-magic-launcher,.world-portal-button){background-image:linear-gradient(160deg,#ffffff80,#ffffff00 62%);box-shadow:inset 0 2px 0 #ffffffb8,0 5px 0 var(--hud-line),0 10px 20px #173b6326}.world-root .world-jump{border-radius:24px}.world-root .world-interact{border-radius:999px}.world-root .world-magic-launcher{border-radius:24px 24px 24px 14px}.world-root :is(.world-jump,.world-interact,.world-magic-launcher,.world-portal-button):hover{background-image:linear-gradient(160deg,#ffffffb8,#ffffff00 62%)}.world-root :is(.world-jump,.world-interact,.world-magic-launcher,.world-portal-button):active{box-shadow:inset 0 2px 0 #ffffffb8,0 2px 0 var(--hud-line),0 5px 12px #173b6321}.world-root .world-quest{border-radius:24px 24px 24px 14px}.world-root .world-quest-icon{background:var(--hud-yellow);color:var(--hud-ink);border:2px solid var(--hud-line);border-radius:13px;box-shadow:inset 0 2px 0 #ffffffb8,0 2px 0 var(--hud-line)}.world-root :is(.world-dialog,.world-task[data-activity],.island-map-dialog){background-image:linear-gradient(155deg,#fffef6,#ffffff 52%,#f0f8ff);border-radius:30px 30px 34px 22px;box-shadow:inset 0 2px 0 #fff,0 7px 0 var(--hud-line),0 22px 52px #173b6338}.world-root .world-dialog :is(.world-primary-button,.world-secondary-button,.world-hint-button,.world-answer-options button,.npc-replies button,.world-hero-card){background-image:linear-gradient(160deg,#ffffff80,#ffffff00 62%);box-shadow:inset 0 2px 0 #ffffffb8,0 4px 0 var(--hud-line)}.world-root .world-dialog .world-primary-button{background-image:linear-gradient(160deg,#ffffff24,#ffffff00 62%)}.world-root .world-dialog :is(.world-primary-button,.world-secondary-button,.world-hint-button,.npc-replies button){border-radius:17px}.world-root .world-dialog .world-answer-options button{border-radius:20px 20px 16px 16px}.world-root .world-dialog .world-hero-card{border-radius:19px}.world-root .world-dialog .world-hero-card[aria-pressed=true]{box-shadow:inset 0 2px 0 #ffffffb8,inset 0 0 0 2px var(--hud-paper),0 4px 0 var(--hud-line)}.world-root .world-dialog .world-resident{border-width:2px;background-image:linear-gradient(160deg,#ffffff94,#ffffff00 72%)}.world-root .world-dialog .npc-speech{border-radius:22px 22px 22px 8px;box-shadow:0 3px 0 #d1dfef}.world-root .world-dialog .npc-player-reply{border-radius:22px 22px 8px 22px;box-shadow:0 3px 0 #76c7e3}.world-root .world-dialog :is(.world-reward,.world-finale-mark){background-image:radial-gradient(circle at 35% 25%,#fff7cf 0,#ffffff00 55%);box-shadow:inset 0 3px 0 #fff4bd,0 4px 0 #c28c35}.world-root .world-navigation{background-image:linear-gradient(155deg,#fffef4,#eef9ff);border-radius:24px 24px 24px 14px;box-shadow:inset 0 2px 0 #fff,0 5px 0 var(--hud-line),0 12px 24px #173b6326}.world-root .world-navigation-heading{color:var(--hud-blue);letter-spacing:.02em}.world-root .world-navigation button{background-image:linear-gradient(160deg,#ffffff80,#ffffff00 62%);border-radius:16px;box-shadow:inset 0 2px 0 #ffffffb8,0 3px 0 var(--hud-line)}.world-root .island-map-dialog .island-map-destination{border-radius:19px;box-shadow:inset 0 2px 0 #fff,0 3px 0 #c9d7e8}.world-root .island-map-dialog .island-map-destination[aria-pressed=true]{background-image:linear-gradient(160deg,#ffffff80,#ffffff00 72%);box-shadow:inset 0 0 0 2px var(--hud-blue),0 3px 0 var(--hud-line)}.world-root .island-map-dialog .island-map-summary{border-radius:20px;background-image:linear-gradient(160deg,#ffffff80,#ffffff00 62%);box-shadow:inset 0 2px 0 #fff,0 3px 0 var(--hud-line)}.world-root .island-map-dialog .map-number{border-radius:12px;box-shadow:inset 0 2px 0 #ffffffb8,0 2px 0 var(--hud-line)}.world-root[data-compact=true] .world-task[data-activity]{padding:0}.world-root[data-compact=true] .world-camera-tools .world-zoom,.world-root[data-compact=true] .world-orbit-panel{background:var(--hud-paper);color:var(--hud-ink);border-color:var(--hud-line)}.world-root[data-compact=true] .world-orbit-panel button,.world-root[data-compact=true] .world-zoom button{background:var(--hud-soft);color:var(--hud-ink);border-color:var(--hud-line)}.world-root[data-compact=true] .world-orbit-panel button:hover,.world-root[data-compact=true] .world-zoom button:hover{background:var(--hud-cyan)}.world-root[data-compact=true] .world-mobile-quests{background:var(--hud-cyan);color:var(--hud-ink);border-color:var(--hud-line)}.world-root[data-compact=true][data-landscape=true] .world-mobile-quests{min-height:44px}.world-root[data-compact=true] .world-joystick{background:var(--hud-paper);color:var(--hud-ink);border-color:var(--hud-line);box-shadow:inset 0 0 0 7px var(--hud-soft),0 4px 0 var(--hud-line)}.world-root[data-compact=true] .joystick-knob{background:var(--hud-cyan);border-color:var(--hud-line);box-shadow:0 3px 0 var(--hud-line)}.world-root[data-compact=true][data-landscape=true] .world-dialog .character-preview-panel{border-color:var(--hud-line)}@media (max-height:540px) and (min-width:701px){.world-root .world-orbit-panel{grid-template-columns:repeat(5,44px)}}.world-root .island-map-dialog :is(button,a):focus-visible,.world-root .world-dialog :is(button,a,select,input):focus-visible,.world-root :is(button,a,select,input):focus-visible{outline:3px solid var(--hud-focus);outline-offset:3px}.world-root .world-dialog :is(button,select):disabled,.world-root :is(button,select):disabled{opacity:1;background:#e7edf4;color:var(--hud-muted);border-color:#6d839f;box-shadow:none;cursor:default}@media (prefers-reduced-motion:reduce){.world-root .world-quest-progress .is-found{transition:none}.world-root .world-travel.is-falling{animation:none}}.world-hero-picker{border:0;padding:0;margin:0 0 22px}.world-hero-picker legend{font-weight:800}.world-hero-picker>p{font-size:12px;line-height:1.5;color:#66736c;margin:6px 0 12px}.world-hero-picker>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}.world-hero-card{min-width:0;display:grid;grid-template-columns:32px 1fr;gap:4px 8px;text-align:left;align-items:center;padding:12px;border:2px solid #d9dfd4;border-radius:15px;background:#f9f6eb;color:#344e55}.world-hero-card svg{grid-row:span 2;color:#ac8340}.world-hero-card strong{font-size:14px}.world-hero-card small{font-size:11px;line-height:1.4;color:#63726d}.world-hero-card[aria-pressed=true]{border-color:#3a7971;background:#e4efdf;box-shadow:inset 0 0 0 2px #fff}.world-hero-card[data-role=mage] svg{color:#8370ad}.world-hero-card[data-role=knight] svg{color:#5178a4}.world-hero-card[data-role=elf] svg{color:#638449}.world-magic-launcher{position:absolute;left:24px;bottom:25px;z-index:4;display:flex;align-items:center;gap:9px;min-height:52px;padding:10px 16px;border:1px solid #e5c680;border-radius:16px;background:#243d51f5;color:#ffe6ad;font:inherit;font-weight:750;box-shadow:0 5px 18px #10233133}.world-magic-launcher:disabled{opacity:.6}.world-magic-launcher small{display:block;color:#d0ddde;font-size:11px;font-weight:500}.world-magic-launcher[data-active=true]{background:#49627d;box-shadow:0 0 15px #9ebbf980}.world-online-dot{display:grid;place-items:center;position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;padding:0 3px;border-radius:10px;background:#84c3a2;color:#153b36;font-size:11px}.world-mobile-menu{position:relative}.adventure-panel{width:min(100%,530px);overflow-y:auto;padding:24px}.adventure-panel>p{font-size:14px;line-height:1.6}.magic-cards{display:grid;gap:12px;margin:22px 0}.magic-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px 12px;padding:15px;background:#eef0e4;border:1px solid #d4dccc;border-radius:17px}.magic-card h3{font-size:16px;margin:0 0 5px}.magic-card p{font-size:13px;line-height:1.5;margin:0 0 6px}.magic-card small{font-size:12px;color:#64735f}.magic-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#fff7dd;color:#ac803d}.magic-card button{grid-column:2;justify-self:start;min-height:42px;padding:8px 17px;border:0;border-radius:12px;background:#284e5c;color:#fff5da;font-weight:750}.magic-card button:disabled{background:#dbe0d4;color:#778174}.magic-card[data-locked=true]{background:#f4f2e8}.adventure-note{color:#748074;font-size:12px!important}.room-code{display:grid;justify-items:center;gap:12px;margin:20px 0;padding:23px 12px;background:#e8edde;border-radius:20px}.room-code output{font-size:30px;font-weight:850;letter-spacing:3px;color:#294b56}.room-code button{display:flex;gap:8px;align-items:center;min-height:44px;border:0;background:transparent;color:#36716a;font-weight:700}.room-code small{color:#6c776d}.room-count{display:flex;align-items:center;justify-content:center;gap:9px;font-weight:750}.room-create{width:100%;margin:10px 0 22px}.room-join{display:grid;gap:12px;border-top:1px solid #dbe0d4;padding-top:20px}.room-join input{letter-spacing:2px;text-transform:uppercase}.world-root[data-compact=true] .world-magic-launcher{left:50%;transform:translateX(-50%);bottom:var(--hud-bottom);width:84px;min-height:64px;padding:8px 4px;flex-direction:column;gap:2px;font-size:12px;border-radius:20px}.world-root[data-compact=true] .world-magic-launcher small{font-size:10px}.world-root[data-compact=true] .adventure-panel{padding:18px}.world-root[data-compact=true][data-landscape=true] .world-magic-launcher{left:calc(var(--hud-left) + 108px);transform:none}.world-root[data-compact=true] .world-hero-card{padding:9px;grid-template-columns:26px 1fr;gap:4px 6px}.world-root[data-compact=true] .world-hero-card svg{width:25px}.world-root[data-compact=true] .world-hero-card strong{font-size:13px}.world-root[data-compact=true] .world-hero-card{grid-template-columns:minmax(0,1fr);text-align:center;justify-items:center}.world-root[data-compact=true] .world-hero-card svg{grid-row:auto}.world-root[data-compact=true] .world-hero-card small,.world-root[data-compact=true] .world-hero-card strong{max-width:100%;overflow-wrap:anywhere}.world-root .world-primary-button{background:#365d57;border-color:#284943;box-shadow:0 3px 0 #223c39;color:#fff9e9}.world-root .world-primary-button:hover{background:#426957}.world-root .world-hint-button{color:#435a3c}.world-root .world-task-feedback{color:#74523c}.world-root .world-eyebrow{color:#616d55}.world-root .world-resident small{color:#56644a}.world-root .adventure-note{color:#56644e}.world-root .world-close{width:44px;height:44px}.world-root .world-choice{min-height:44px}.world-root .world-swatch{width:44px;height:44px}.world-root .world-alert{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;max-width:calc(100% - 20px)}.world-root .world-alert>span{grid-column:1;overflow-wrap:anywhere}.world-root .world-alert .world-alert-close{grid-column:2;grid-row:1;width:44px;height:44px}.world-root .world-alert .world-alert-retry{grid-column:1;width:auto;min-height:44px;height:auto;padding:9px 15px;justify-self:start;border:1px solid #b77d69;border-radius:9px;background:#fff8ef;font:inherit}.world-workshop{display:flex;flex-direction:column;min-height:0}.world-root .world-workshop .world-workshop-form{flex:1;min-height:0;max-height:none;overflow:hidden}.world-workshop .world-dialog-header{flex-shrink:0}.world-workshop .world-workshop-scroll{display:block;min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}.world-workshop .world-workshop-fields{display:grid;grid-template-columns:1fr;margin:0;padding:0;border:0;min-width:0}.world-form-error{margin:0;padding:12px 16px;background:#fff0e5;color:#7b352d;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.world-workshop .world-dialog-actions{flex-shrink:0}.world-workshop .character-preview-panel{flex-shrink:0;width:100%}.character-preview-panel{min-width:0;background:#dbe3d6;border-bottom:1px solid #bfcbb5;position:relative;align-self:start}.character-preview-canvas{height:215px;touch-action:none;cursor:grab}.character-preview-canvas:active{cursor:grabbing}.character-preview-canvas canvas{display:block;width:100%;height:100%}.character-preview-panel nav{display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 10px;background:#edf0e4;color:#4d604a;font-size:11px}.character-preview-panel nav span{flex:1;max-width:130px;text-align:center;line-height:1.4}.character-preview-panel button{display:grid;place-items:center;flex:0 0 auto;min-width:44px;min-height:44px;padding:7px;border:1px solid #a9b99e;border-radius:10px;background:#fbf7e9;color:#34544c;font:inherit;font-size:12px}.character-preview-status{position:absolute;top:50%;left:15px;right:15px;transform:translateY(-50%);text-align:center;font-size:13px;color:#344e46}.world-root[data-compact=true] .character-preview-canvas{height:190px}.world-root[data-compact=true][data-landscape=true] .world-workshop{width:min(100%,860px)}.world-root[data-compact=true][data-landscape=true] .world-workshop>.world-dialog-header{padding:10px 14px;margin:0;align-items:center}.world-root[data-compact=true][data-landscape=true] .world-workshop h2{font-size:21px}.world-root[data-compact=true][data-landscape=true] .world-workshop-form{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr) auto}.world-root[data-compact=true][data-landscape=true] .world-workshop-scroll{grid-column:2;grid-row:1;grid-template-columns:1fr}.world-root[data-compact=true][data-landscape=true] .character-preview-panel{grid-column:1;grid-row:1;align-self:stretch;border-bottom:0;border-right:1px solid #bfcbb5}.world-root[data-compact=true][data-landscape=true] .character-preview-canvas{height:max(90px,min(175px,calc(var(--game-height,100dvh) - 225px)))}.world-root[data-compact=true][data-landscape=true] .character-preview-panel nav{flex-wrap:wrap;padding:3px}.world-root[data-compact=true][data-landscape=true] .character-preview-panel nav span{display:none}.world-root[data-compact=true][data-landscape=true] .world-editor-section{grid-column:auto;padding:14px}.world-root[data-compact=true][data-landscape=true] .world-dialog-actions,.world-root[data-compact=true][data-landscape=true] .world-form-error{grid-column:1/-1}.world-root[data-compact=true][data-landscape=true] .world-dialog-actions{padding:9px 14px}@media(max-width:500px){.world-root[data-compact=true][data-landscape=true] .world-workshop-form{display:flex}.world-root[data-compact=true][data-landscape=true] .character-preview-panel{display:none}}