@font-face{font-family:Nunito;font-style:normal;font-weight:500 900;font-display:swap;src:url(/fonts/nunito/nunito-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-weight:500 900;font-display:swap;src:url(/fonts/nunito/nunito-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.garden-loading{--garden-ink:#28594e;--garden-paper:#fff9e9;--garden-green:#4a9b70;position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px;color:var(--garden-ink);font-family:Nunito,ui-rounded,system-ui,sans-serif;background:radial-gradient(ellipse at 32% 24%,#e6efbc96,transparent 48%),linear-gradient(155deg,#a5d9cc,#70bab9 60%,#5da9b1);isolation:isolate}.garden-loading[hidden],.garden-task[hidden]{display:none!important}.garden-loading:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 20% 80%,#e6f6df40,transparent 35%),radial-gradient(ellipse at 85% 15%,#e9f2cb59,transparent 32%)}.garden-loading-card{text-align:center;width:min(340px,100%)}.garden-loading-brand{font-size:12px;font-weight:900;letter-spacing:2.5px;line-height:1.5;margin:0 0 25px;color:#2b625b}.garden-loading-brand strong{display:block;font-size:28px;letter-spacing:1px;color:#fff6d6;text-shadow:0 2px 0 #458c7955}.garden-island{position:relative;width:180px;height:140px;margin:0 auto 12px;animation:garden-float 3.6s ease-in-out infinite;will-change:transform}.garden-island:before{content:"";position:absolute;width:106px;height:106px;left:37px;top:22px;border-radius:20px;transform:rotateX(56deg) rotate(45deg);background:linear-gradient(135deg,#b8de81,#7fba65);box-shadow:5px 5px #d6b87e,10px 10px #bf9c66,14px 14px #ac8e60,20px 25px 22px #397e6e26;border:4px solid #cbe998}.garden-island:after{content:"";position:absolute;width:9px;height:9px;border-radius:3px;background:#fff2b5;box-shadow:-81px 38px 0 -1px #f9d58d,27px 58px 0 -2px #eff7b9;left:140px;top:28px;transform:rotate(45deg);animation:garden-spark 2.4s ease-in-out infinite}.garden-sprout{position:absolute;left:84px;top:30px;width:9px;height:57px;border-radius:8px;background:linear-gradient(90deg,#599a56,#3d8558);transform-origin:50% 100%;animation:garden-sprout 2.8s ease-in-out infinite}.garden-sprout:before,.garden-sprout:after{content:"";position:absolute;width:36px;height:23px;background:linear-gradient(145deg,#d4e896,#80be70);box-shadow:inset 0 -3px #6da65f30}.garden-sprout:before{top:1px;right:3px;border-radius:5px 25px 3px;transform:rotate(12deg)}.garden-sprout:after{top:-9px;left:5px;border-radius:24px 4px;transform:rotate(-13deg)}.garden-loading-label{font-size:16px;font-weight:900;margin:0 0 12px;line-height:1.5;min-height:24px}.garden-progress-track{height:8px;overflow:hidden;background:#2e776826;border-radius:20px;box-shadow:inset 0 1px 3px #28594e12;max-width:236px;margin:auto}.garden-progress-fill{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#fff3ad,#f9dda0);transform:scaleX(0);transform-origin:0 50%;transition:transform .42s cubic-bezier(.16,1,.3,1);will-change:transform}.garden-progress-track:not([aria-valuenow]) .garden-progress-fill{width:38%;transform:translate(-110%);animation:garden-search 1.6s cubic-bezier(.87,0,.13,1) infinite}.garden-loading-detail{font-size:12px;line-height:1.5;margin:10px 0 0;min-height:18px;color:#336c63}.garden-loading-error{font-size:13px;line-height:1.6;overflow-wrap:anywhere;max-width:320px;margin:12px auto}.garden-loading-retry{font:800 14px Nunito,ui-rounded,system-ui,sans-serif;min-width:140px;min-height:48px;padding:12px 24px;border:2px solid #fff6d7;border-radius:18px;background:#fff6dd;color:#295e4e;box-shadow:0 4px #3c8c7455;cursor:pointer;touch-action:manipulation}.garden-loading-retry:focus-visible{outline:3px solid #28594e;outline-offset:5px}.garden-loading[data-failed=true] .garden-island{animation:none}.garden-loading[data-leaving=true]{animation:garden-boot-out .38s cubic-bezier(.7,0,.84,0) both;pointer-events:none}.garden-task{position:fixed;inset:0;z-index:90;display:grid;width:auto;height:auto;margin:0;box-sizing:border-box;place-items:center;padding:24px 18px;pointer-events:none;font-family:Nunito,ui-rounded,system-ui,sans-serif}.garden-task-card{display:flex;align-items:center;gap:13px;width:min(340px,100%);box-sizing:border-box;padding:13px 21px 13px 13px;background:#fff9eaf5;color:#28594e;border:2px solid #fffdf2;border-radius:24px;box-shadow:0 5px #386e5f33,0 12px 38px #153f4333;will-change:opacity,transform}.garden-task-card .garden-island{flex:none;width:68px;height:56px;margin:0;animation:none}.garden-task-card .garden-island:before{width:53px;height:53px;left:7px;top:5px;border-width:2px;box-shadow:3px 3px #d6b87e,6px 6px #bf9c66,9px 9px #ac8e60;transform:rotateX(56deg) rotate(45deg)}.garden-task-card .garden-island:after{left:60px;top:5px;width:6px;height:6px;box-shadow:-60px 25px 0 -1px #f9d58d}.garden-task-card .garden-sprout{left:30px;top:0;height:30px;width:5px}.garden-task-card .garden-sprout:before,.garden-task-card .garden-sprout:after{width:20px;height:13px}.garden-task-card .garden-sprout:after{top:-4px;left:3px}.garden-task-copy{min-width:120px;max-width:240px}.garden-task-label{font-size:13px;font-weight:900;line-height:1.4;margin:0 0 8px}.garden-task .garden-progress-track{height:5px;background:#a0c6ae55}.garden-task .garden-progress-fill{background:#80b888}.garden-task .garden-progress-track .garden-progress-fill{animation:none;transition:none}@keyframes garden-float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes garden-sprout{0%,to{transform:rotate(-4deg) scale(1)}50%{transform:rotate(4deg) scale(1.04)}}@keyframes garden-spark{0%,to{opacity:.4;transform:translateY(3px) rotate(45deg)}50%{opacity:1;transform:translateY(-5px) rotate(45deg)}}@keyframes garden-search{0%{transform:translate(-110%)}to{transform:translate(365%)}}@keyframes garden-boot-out{to{opacity:0;transform:scale(1.025)}}@keyframes garden-task-in{0%{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes garden-task-out{to{opacity:0;transform:translateY(5px) scale(.98)}}@media(prefers-reduced-motion:reduce){.garden-island,.garden-sprout,.garden-island:after,.garden-progress-track:not([aria-valuenow]) .garden-progress-fill{animation:none}.garden-progress-track:not([aria-valuenow]) .garden-progress-fill{width:100%;transform:none;opacity:.55}.garden-progress-fill{transition:none}.garden-loading[data-leaving=true]{animation:none;opacity:0}.garden-task-card{animation:none}.garden-task[data-leaving=true] .garden-task-card{animation:none;opacity:0}@keyframes garden-task-in{0%{opacity:0}to{opacity:1}}}:root{font-family:ui-sans-serif,system-ui,-apple-system,sans-serif;color:#184b43;background:#75b4b6}canvas{display:block;touch-action:none}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0;color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #e5a943;outline-offset:4px}button:disabled{opacity:.3;cursor:default}header{position:absolute;top:30px;left:35px;right:35px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}header a{font-family:Georgia,serif;font-style:italic;font-weight:700;font-size:29px;color:#fff1c5;text-decoration:none;pointer-events:auto;text-shadow:0 2px 10px #3b7a7b40}header i{font-style:normal;color:#dc6b43;font-size:23px;margin-left:12px}header p{font-size:10px;letter-spacing:3px;color:#eff3d7}header b{margin-left:14px;background:#ebefd180;padding:8px;border-radius:50%;color:#356b5d}aside{position:absolute;top:132px;left:36px;width:215px}.eyebrow{font-size:10px;letter-spacing:1.6px;color:#2f6962}h1{font-family:Georgia,serif;font-weight:500;font-size:29px;line-height:1.4;letter-spacing:-1.4px;margin:15px 0}aside p{font-size:12px;line-height:1.9;color:#386e66}a.reference{display:block;font-size:11px;color:#245c52;margin:22px 0;text-decoration:none}details{border-top:1px solid #326f6433;padding-top:15px;font-size:11px}summary{cursor:pointer;font-weight:600;margin-bottom:13px}details label{display:block;padding:6px 0}input{accent-color:#256d5c}details button{display:inline-block;margin:9px 5px 10px 0;background:#e5eed7a8;border-radius:8px;padding:9px;font-size:11px}output{display:block;font-size:10px;line-height:1.7;opacity:.7;font-variant-numeric:tabular-nums}nav{position:absolute;bottom:57px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:15px;padding:8px;background:#f7f3dfeb;border:1px solid #fff9e2;border-radius:18px;box-shadow:0 8px 30px #164b4820;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}.tools,.actions{display:flex;gap:4px}.actions{border-left:1px solid #225c4920;padding-left:12px}nav button{background:transparent;padding:13px 15px;border-radius:11px;font-size:12px;white-space:nowrap}nav button:hover{background:#d9e5d3}nav button[aria-pressed=true]{background:#245e4e;color:#fff4cc}footer{position:absolute;bottom:22px;left:35px;right:35px;display:flex;justify-content:space-between;font-size:10px;color:#2e6861;pointer-events:none}#loading{position:fixed;inset:0;display:grid;place-items:center;background:#8bc4c5;color:#235f50}#loading[hidden]{display:none}@media(max-width:760px){header{top:18px;left:18px;right:18px}header a{font-size:22px}header p{display:none}aside{left:18px;top:80px;width:170px}h1{font-size:21px;margin:8px 0}aside p,.eyebrow{display:none}a.reference{margin:8px 0;font-size:10px}details{background:#edf2dfd9;border-radius:9px;border:0;padding:9px;max-height:220px;overflow:auto}summary{margin-bottom:0}details[open] summary{margin-bottom:8px}nav{bottom:50px;gap:5px;padding:6px;max-width:calc(100vw - 16px);flex-wrap:wrap;justify-content:center}.actions{padding-left:6px}nav button{font-size:11px;padding:10px}footer{left:14px;right:14px;bottom:15px;font-size:9px}footer span:last-child{display:none}}.prop-palette{margin-bottom:14px}.prop-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.prop-grid button{margin:0;text-align:left;padding:10px 7px}.prop-grid button[aria-pressed=true]{background:#245e4e;color:#fff4cc}.prop-palette .decorate{width:100%;margin:8px 0 2px;background:#245e4e;color:#fff4cc}.prop-palette p{font-size:10px;margin:5px 0;line-height:1.6}@media(max-width:760px){.prop-palette{margin:8px 0;max-height:245px}.prop-palette p{display:block}.prop-grid button{font-size:10px;padding:8px 5px}}.garden-cloud{margin-bottom:14px}.garden-cloud input{width:100%;border:1px solid #3e796745;border-radius:7px;padding:9px;background:#f6f3dfd9;color:#184b43;font:inherit}.cloud-account{display:flex;justify-content:space-between;align-items:center;gap:7px;font-size:10px}.cloud-account button{margin:0;padding:7px}.cloud-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}.cloud-actions button{margin:0;padding:9px 6px}.cloud-actions #cloud-save{background:#245e4e;color:#fff4cc}#cloud-refresh{grid-column:1/-1}#cloud-status,.garden-cloud .cloud-note{font-size:10px;line-height:1.6;margin:8px 0}#cloud-current{margin-bottom:7px}#cloud-gardens{list-style:none;padding:0;margin:0;max-height:145px;overflow:auto}#cloud-gardens li{display:grid;grid-template-columns:1fr auto;gap:3px;border-top:1px solid #326f6422;padding:8px 0}#cloud-gardens li span{overflow-wrap:anywhere;font-size:11px}#cloud-gardens li small{grid-column:1;font-size:9px;opacity:.7}#cloud-gardens button{grid-column:2;grid-row:1/3;margin:0;padding:7px;font-size:10px}.garden-cloud .cloud-note{opacity:.8}aside{max-height:calc(100vh - 270px);overflow-y:auto;scrollbar-width:thin;padding-right:4px}@media(max-width:760px){aside{max-height:calc(100vh - 240px)}.garden-cloud{margin:8px 0;max-height:330px}.garden-cloud p{display:block}}.theme-garden{width:100%;margin:0 0 14px;padding:12px 8px;border-radius:9px;background:#245e4e;color:#fff4cc;font-size:11px;box-shadow:0 4px 12px #245e4e15}.tile-palette{margin-bottom:14px}.tile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.tile-grid button{margin:0;padding:9px 4px;background:#e9efda}.tile-grid b{display:block;font-size:24px;font-weight:500;line-height:1.3}.tile-grid [data-tool=water] b{color:#239da4}.tile-grid [data-tool=grass] b{color:#629526}.tile-grid [data-tool=flowers] b{color:#d76086}.tile-grid button[aria-pressed=true]{outline:2px solid #245e4e;background:#f8f6df}.tile-palette p{display:block;font-size:10px;margin:4px 0;line-height:1.7}#tilebox-demo{margin:8px 0;width:100%;padding:9px}@media(max-width:760px){aside{top:70px;width:calc(100% - 36px);padding-right:0;display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px}aside h1,aside>.reference{display:none}.theme-garden{margin:0;width:100%}aside>details{width:calc(50% - 3px);margin:0;font-size:10px}aside>details[open]{width:100%}.prop-palette,.garden-cloud{margin:0}aside>details[open] summary{margin-bottom:8px}}:root{--ink:#254e44;--paper:#fff8e5;--panel:#fff8e5f2;--edge:#fffdf1;--jade:#367b64;--gold:#edc66b;--shadow:#173e3540;--muted:#6a8071;color:var(--ink);font-family:Trebuchet MS,ui-rounded,system-ui,-apple-system,sans-serif}html[data-theme=dark]{--ink:#ecedce;--paper:#203e3d;--panel:#183737f2;--edge:#497069;--jade:#397a69;--gold:#eec86c;--shadow:#071c2180;--muted:#a6c4b1}*{box-sizing:border-box}body{margin:0;overflow:hidden}button{touch-action:manipulation;color:var(--ink);font:inherit;cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button img{object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none}#game-hud{position:fixed;inset:0;pointer-events:none;z-index:10}#game-hud button,#game-hud a,#game-hud input,#game-hud select,#game-hud form{pointer-events:auto}#game-hud button{border:0}#game-hud header{position:absolute;top:max(18px,env(safe-area-inset-top));left:max(24px,env(safe-area-inset-left));right:max(24px,env(safe-area-inset-right));display:flex;align-items:flex-start;justify-content:space-between}#game-hud .game-logo{display:flex;flex-direction:column;text-decoration:none;color:#fff4ce;font-family:Georgia,serif;font-style:normal;line-height:1;text-shadow:0 2px 0 #315b4960,0 4px 12px #1c514040;letter-spacing:3px}.game-logo span{font-size:12px;font-weight:700}.game-logo strong{font-size:34px;letter-spacing:3px;margin-top:3px}.top-actions{display:flex;align-items:center;gap:10px}.small-icon{width:49px;height:49px;border-radius:17px!important;background:var(--panel);box-shadow:0 3px #2d62574d,0 5px 16px var(--shadow);border:2px solid var(--edge)!important;padding:3px}.small-icon img{width:100%;height:100%}.portal-clock{background:var(--panel);border:2px solid var(--edge);border-radius:24px;padding:12px 18px;font-weight:800;font-variant-numeric:tabular-nums}.welcome{position:absolute;left:34px;top:112px;text-shadow:0 2px 8px #325c3730}.welcome span{font-size:9px;letter-spacing:3px;color:#faffdc}.welcome p{font-family:Georgia,serif;color:#fff8d8;font-size:19px;margin-top:8px}.home-dock{position:absolute;left:50%;bottom:max(62px,calc(env(safe-area-inset-bottom) + 38px));transform:translate(-50%);display:flex;gap:20px}.hero-icon{background:linear-gradient(150deg,#fff9e9f7,#f2e8cbe8);width:144px;height:142px;border-radius:30px!important;box-shadow:inset 0 0 0 2px #fffdf5,0 5px #b7c19c,0 10px 30px #1d4f4440;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;padding:8px 10px 14px!important;position:relative;color:#254e44!important}.hero-icon img{width:113px;height:113px;position:absolute;top:-24px;filter:drop-shadow(0 5px 3px #37522b24)}.hero-icon span{font-weight:800;font-size:15px;letter-spacing:.4px}.hero-icon:first-child{background:linear-gradient(155deg,#d7efc9,#8ccead);box-shadow:inset 0 0 0 2px #efffe0,0 5px #4b9579,0 10px 30px #1d4f4440}.game-hint{position:absolute;bottom:max(20px,calc(env(safe-area-inset-bottom) + 10px));left:50%;transform:translate(-50%);color:#fff9dd;text-shadow:0 2px 5px #154f4b;font-size:12px;font-weight:600;white-space:nowrap;text-align:center}.editor-categories{position:absolute;left:24px;top:130px;display:flex;flex-direction:column;gap:13px}.category-icon{display:flex;align-items:center;gap:7px;background:var(--panel);border:2px solid var(--edge)!important;box-shadow:0 4px #23584440,0 6px 16px var(--shadow);border-radius:21px!important;padding:5px 12px 5px 3px!important;min-width:142px}.category-icon img{width:48px;height:48px}.category-icon span{font-size:12px;font-weight:700}.category-icon[aria-pressed=true],.tool-icon[aria-pressed=true]{background:#bfe8c3!important;outline:3px solid #f8d377;color:#254e44!important}.tool-tray{position:absolute;left:50%;bottom:118px;transform:translate(-50%);max-width:calc(100vw - 42px);border-radius:24px;background:var(--panel);border:2px solid var(--edge);padding:9px;pointer-events:auto;box-shadow:0 7px 24px var(--shadow)}.tool-page{display:flex;gap:5px;max-width:750px;overflow-x:auto;padding:4px 2px}.tool-page[hidden]{display:none}.tool-icon{position:relative;min-width:76px;max-width:94px;min-height:85px;background:transparent;border-radius:16px!important;padding:3px 6px 8px!important;display:flex;align-items:center;flex-direction:column;justify-content:flex-end}.tool-icon img{width:53px;height:53px}.tool-icon b{position:absolute;right:6px;top:5px;background:var(--jade);border:1px solid #fff4cc;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;color:#fff8d8;font-size:14px}.tool-icon span{font-size:10px;line-height:1.3;font-weight:700;max-width:80px}.edit-actions{position:absolute;bottom:52px;left:50%;transform:translate(-50%);display:flex;gap:8px;align-items:center}.edit-actions button{border-radius:14px!important;background:var(--panel);border:1px solid var(--edge)!important;min-width:46px;height:46px;font-size:25px;box-shadow:0 3px #396b5144;padding:3px 7px!important;display:flex;align-items:center;justify-content:center;gap:5px}.edit-actions small{font-size:9px}.edit-actions img{width:38px;height:38px}.edit-actions .test-play{font-size:13px;font-weight:700;padding-right:16px!important;background:#bce3bb;color:#244d40}.home-button{position:absolute;left:24px;bottom:62px;background:var(--panel);border-radius:20px!important;padding:12px 18px!important;font-size:13px;box-shadow:0 3px #396b5144}.play-left{position:absolute;left:24px;bottom:135px;display:flex;flex-direction:column;gap:12px}.round-icon{width:65px;height:65px;background:var(--panel);border:2px solid var(--edge)!important;border-radius:23px!important;box-shadow:0 4px #29634a55;padding:4px!important}.round-icon img{width:100%;height:100%}.play-right{position:absolute;bottom:66px;right:26px;display:flex;gap:15px;align-items:flex-end}.play-right button{border:3px solid #fff8d4!important;border-radius:29px!important;box-shadow:0 5px #20645660;display:flex;flex-direction:column;align-items:center;justify-content:center;width:91px;height:91px;background:#b5dfe0;color:#24544f}.play-right .action-jump{font-size:43px;height:73px;width:73px;background:#f0d58c}.play-right img{width:68px;height:68px}.play-right small{font-size:10px;font-weight:700}.action-spray[aria-pressed=true]{outline:5px solid #7cf4dc}.sheet-backdrop{pointer-events:auto;position:fixed;inset:0;background:#102e2842;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.game-sheet{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:400px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 60px);overflow:auto;border-radius:32px;background:var(--panel);border:2px solid var(--edge);padding:26px 28px;pointer-events:auto;box-shadow:0 8px #244d4933,0 24px 90px #183e4866;text-align:center}.game-sheet h2{font-family:Georgia,serif;font-size:25px;margin:5px 0 10px}.game-sheet p{font-size:12px;line-height:1.7;color:var(--muted);margin:7px 0 15px}.game-sheet .sheet-close{position:absolute;right:13px;top:13px;width:34px;height:34px;border-radius:50%!important;font-size:24px;background:#98b9a22c}.sheet-emblem{width:97px;height:97px;object-fit:contain;margin-top:-3px}.game-sheet label{display:block;text-align:left;font-size:12px;font-weight:700;margin:15px 0 7px}.game-sheet input,.game-sheet select{width:100%;border:2px solid #9ab7a162;background:var(--paper);border-radius:13px;padding:12px;color:var(--ink);font:inherit;font-size:14px}.game-sheet .primary,.game-sheet .secondary{width:100%;margin-top:14px;border-radius:14px!important;padding:13px!important;font-size:13px;font-weight:700;background:var(--jade);color:#fff5d8;box-shadow:0 3px #17463652}.game-sheet .secondary{background:#90b49d30;color:var(--ink);box-shadow:none}.game-sheet .danger{margin-top:16px;font-size:11px;background:transparent;color:#bc6357}.outfits{display:flex;gap:11px}.outfit{width:56px;height:56px;border-radius:16px!important;background:var(--outfit);color:#fff5d8;border:3px solid transparent!important}.outfit span{font-size:24px}.outfit[aria-pressed=true]{border-color:var(--gold)!important;box-shadow:0 0 0 2px var(--jade)}.theme-buttons{display:flex;gap:10px}.theme-buttons button{border-radius:12px!important;padding:12px!important;background:#8ab79d35;flex:1}.world-list{max-height:240px;overflow:auto;display:grid;gap:8px;margin-top:17px}.world-card{display:flex;align-items:center;text-align:left;background:#8ab79d26;border-radius:14px!important;padding:8px!important;font-size:13px}.world-card img{width:53px;height:53px;margin-right:12px}#chat-messages{height:270px;max-height:35dvh;overflow:auto;text-align:left;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth;padding:4px}.chat-bubble{background:#8ab79d25;border-radius:16px 16px 16px 3px;padding:10px 13px;overflow-wrap:anywhere}.chat-bubble strong{font-size:10px;color:var(--jade)}.chat-bubble p{color:var(--ink);margin:3px 0;font-size:13px}.chat-compose{display:flex;gap:6px;margin-top:16px}.chat-compose .primary{margin:0;width:auto}.chat-compose input{min-width:0}.connection[data-connected=true]{color:var(--jade)}#portal-status:empty{display:none}.player-label{position:absolute;pointer-events:none;color:#fff8d8;text-shadow:0 1px 3px #264a35;font-size:11px;font-weight:700;transform:translate(-50%,-100%);padding:4px 8px;background:#174f4a88;border:1px solid #d6eed17a;border-radius:12px;white-space:nowrap}.player-label.self{background:#daedcae0;color:#26544d;text-shadow:none}#loading{z-index:30}.game-hint:empty{display:none}@media(max-width:760px){#game-hud header{left:15px;right:15px;top:max(15px,env(safe-area-inset-top))}.game-logo strong{font-size:25px}.game-logo span{font-size:9px}.top-actions{gap:6px}.small-icon{width:41px;height:41px;border-radius:14px!important}.portal-clock{font-size:12px;padding:8px 10px}.welcome{left:19px;top:88px}.welcome span{font-size:8px}.welcome p{font-size:15px}.home-dock{gap:13px;bottom:77px}.hero-icon{width:100px;height:113px;border-radius:23px!important;padding-bottom:13px!important}.hero-icon img{width:88px;height:88px;top:-17px}.hero-icon span{font-size:12px}.game-hint{font-size:10px;max-width:94vw;white-space:normal;bottom:max(24px,env(safe-area-inset-bottom));width:max-content}.editor-categories{top:88px;left:12px;gap:9px}.category-icon{min-width:0;width:64px;flex-direction:column;gap:0;padding:3px!important;border-radius:17px!important}.category-icon img{width:40px;height:40px}.category-icon span{font-size:8px;margin-bottom:4px}.tool-tray{bottom:126px;max-width:calc(100vw - 20px);padding:5px;border-radius:20px}.tool-page{max-width:calc(100vw - 40px)}.tool-icon{min-width:70px;min-height:81px}.edit-actions{bottom:64px;gap:6px}.edit-actions button{min-width:41px;height:43px;font-size:22px}.edit-actions .test-play{padding-right:7px!important;font-size:11px}.home-button{inset:88px 15px auto auto;padding:9px 12px!important;font-size:11px}.play-left{left:15px;bottom:91px}.round-icon{height:55px;width:55px;border-radius:20px!important}.play-right{right:15px;bottom:78px;gap:9px}.play-right button{height:78px;width:78px;border-radius:25px!important}.play-right .action-jump{width:62px;height:62px;font-size:33px}.play-right img{width:55px;height:55px}.game-sheet{max-height:calc(100dvh - 30px);padding:22px;border-radius:26px}.sheet-emblem{width:80px;height:80px}.game-sheet h2{font-size:23px}.game-sheet input{font-size:16px}.game-sheet p{font-size:11px}}@media(max-height:550px)and (orientation:landscape){.welcome{display:none}.home-dock{bottom:49px}.hero-icon{width:110px;height:95px}.hero-icon img{height:77px;width:77px;top:-15px}.game-logo strong{font-size:23px}.editor-categories{top:83px;gap:6px}.category-icon{flex-direction:row;width:130px}.tool-tray{bottom:96px;max-width:60vw;left:59%}.tool-page{max-width:55vw}.edit-actions{bottom:40px;left:59%}.home-button{inset:auto auto 42px 15px}.game-hint{bottom:10px}.game-sheet{width:480px;max-height:94dvh}.sheet-emblem{display:none}.play-left{bottom:100px}.play-right{bottom:45px}}@media(prefers-reduced-motion:reduce){#chat-messages{scroll-behavior:auto}}.home-dock,.tool-tray,.edit-actions,.game-hint{transform:none;translate:-50% 0}.game-sheet{transform:none;translate:-50% -50%}.play-right .action-jump img{width:49px;height:49px}.small-icon img{filter:drop-shadow(0 2px 1px #224b3f24)}@media(max-height:550px)and (orientation:landscape){.tool-tray{bottom:83px;padding:4px}.tool-icon{min-width:66px;min-height:58px;padding:0 4px 4px!important}.tool-icon img{height:35px;width:35px}.tool-icon b{height:17px;width:17px;font-size:10px;top:1px;right:5px}.tool-icon span{font-size:9px}.edit-actions{bottom:32px;gap:6px}.edit-actions button{height:38px;min-width:38px}.edit-actions img{height:30px;width:30px}.edit-actions .test-play span{white-space:nowrap}.editor-categories{gap:7px}.category-icon{height:46px;min-height:46px}.category-icon img{height:36px;width:36px}.home-button{bottom:28px}.game-hint{font-size:9px;bottom:8px}}.player-label.speech{white-space:pre-line;max-width:210px;line-height:1.5;text-align:center;padding:9px 13px;border-radius:15px;background:#fff8e8ef;color:#285a4b;text-shadow:none;border-color:#fffbe8;box-shadow:0 4px 12px #28574730}.player-label.npc-health{display:flex;align-items:center;gap:5px;padding:7px 10px;background:#153e4be8;border:2px solid #e6ffff;border-radius:20px;box-shadow:0 3px 9px #133d4860;min-width:61px;height:30px}.npc-health i{display:block;width:11px;height:14px;border-radius:60% 40% 55% 45%;transform:rotate(-25deg);border:1px solid #9febff;box-shadow:inset 2px 2px #fffa}.npc-health i.full{background:linear-gradient(140deg,azure,#38d4f6 45%,#138cce)}.npc-health i.empty{background:#38525c;opacity:.45;box-shadow:none}.npc-health[data-health="0"]{border-color:#ffdf8b}.npc-health .stun-stars{position:absolute;bottom:30px;left:50%;translate:-50% 0;color:#ffe393;font-size:21px;text-shadow:0 2px 0 #a46525;letter-spacing:4px;animation:water-dizzy 1.2s ease-in-out infinite alternate}.player-label.npc-health[hidden]{display:none}@keyframes water-dizzy{0%{transform:translate(-9px) rotate(-8deg)}to{transform:translate(9px) rotate(8deg)}}@media(prefers-reduced-motion:reduce){.npc-health .stun-stars{animation:none}}.demo-badge{position:absolute;top:86px;left:25px;color:#fff5d5;font-size:10px;letter-spacing:1.2px;font-weight:700;text-shadow:0 2px 6px #2c6658}.close-portal{position:relative}.close-portal b{position:absolute;right:-4px;top:-4px;background:#b35f55;color:#fff7dd;border:2px solid #fff7dd;border-radius:50%;width:22px;height:22px;line-height:17px;font-size:17px}.random-map-button{position:absolute;top:110px;right:24px;display:flex;align-items:center;gap:10px;padding:10px 16px!important;border-radius:20px!important;background:linear-gradient(135deg,#fff2c6,#f1d481);color:#34564a;border:2px solid #fff8dc!important;box-shadow:0 4px #b59e62,0 7px 16px #1f4b4030;font-weight:800;font-size:13px}.random-die{font-size:31px;line-height:1}@media(max-width:760px){.demo-badge{left:16px;top:71px;font-size:9px}.random-map-button{top:132px;right:15px;max-width:160px;padding:8px 12px!important;font-size:11px}.random-die{font-size:26px}.close-portal{width:36px;height:36px}.top-actions:has(.close-portal){gap:4px}.top-actions:has(.close-portal) .portal-clock{font-size:11px;padding:8px}.top-actions:has(.close-portal) .small-icon{width:35px;height:35px}.game-header:has(.close-portal) .game-logo strong{font-size:20px}.game-header:has(.close-portal) .game-logo span{font-size:8px}}@media(max-height:550px)and (orientation:landscape){.random-map-button{top:80px;right:16px}.demo-badge{top:70px}}:root{font-family:Nunito,ui-rounded,Apple SD Gothic Neo,Hiragino Maru Gothic ProN,system-ui,sans-serif}#game-hud .game-logo,.game-sheet h2,.welcome p{font-family:Nunito,ui-rounded,system-ui,sans-serif;font-weight:900}#game-hud .game-logo{letter-spacing:1.1px}.game-logo strong{letter-spacing:1.3px}.game-sheet h2{letter-spacing:-.5px}.portal-exit{display:flex;align-items:center;gap:7px;min-height:46px;padding:8px 14px;border:2px solid #fff4d3;border-radius:18px;background:#fff4d3;color:#396458;font:900 12px Nunito,system-ui;box-shadow:0 3px #274c4a38;cursor:pointer}.portal-exit>span:first-child{font-size:24px}.portal-exit:disabled{opacity:.65;cursor:wait}@media(max-width:480px){.portal-exit{padding:6px 9px;max-width:115px;font-size:11px}.game-header .top-actions{gap:5px}}.portal-clock,.portal-exit{white-space:nowrap;flex-shrink:0}.portal-exit:disabled{max-width:150px;white-space:normal;word-break:keep-all}@media(max-width:480px){.portal-exit:disabled{width:100px;max-width:100px;font-size:10px}}
