*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#0b3a4a;font-family:ui-sans-serif,system-ui,sans-serif}canvas{display:block;width:100%;height:100%;touch-action:none}#ui{position:fixed;inset:0;z-index:2;pointer-events:none}#gear,#interact,#death,#say-compose{pointer-events:auto}#hint{position:fixed;left:16px;top:16px;z-index:2;padding:8px 12px;border-radius:8px;background:#0818208c;color:#f4f7f2;font-size:14px;letter-spacing:.01em;pointer-events:none}#say-compose{position:fixed;left:50%;bottom:88px;z-index:6;display:flex;flex-direction:column;align-items:stretch;gap:8px;transform:translate(-50%)}#say-compose[hidden]{display:none}#say-input{width:min(22rem,72vw);padding:8px 12px;border:0;border-radius:8px;background:#081820b8;color:#f4f7f2;font:inherit;font-size:14px;outline:none}#say-input::placeholder{color:#f4f7f28c}.say-actions{display:flex;gap:8px;justify-content:flex-end}.say-action{min-height:40px;padding:8px 14px;border:0;border-radius:8px;background:#081820b8;color:#f4f7f2;font:inherit;font-size:14px;font-weight:600;cursor:pointer;touch-action:manipulation}.say-send{background:#f4f7f238}.say-action:active{background:#f4f7f24d}#gear{position:fixed;left:16px;bottom:16px;z-index:3;display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:8px 10px;border-radius:8px;background:#0818208c;color:#f4f7f2;font-size:14px;letter-spacing:.01em;pointer-events:auto}#gear[hidden]{display:none}.gear-slot{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:0;padding:4px 6px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;text-align:left}.gear-hands-row{display:flex;align-items:stretch;gap:6px}.gear-hands-row .gear-slot{flex:1;min-width:0}.gear-drop{display:none;align-self:center;margin:0;padding:6px 10px;border:0;border-radius:6px;background:#f4f7f22e;color:inherit;font:inherit;font-size:12px;font-weight:600;cursor:pointer;touch-action:manipulation;white-space:nowrap}.gear-drop:disabled{cursor:not-allowed;opacity:.45}.gear-drop:not(:disabled):active{background:#f4f7f247}button.gear-slot{cursor:pointer}button.gear-slot:hover{background:#f4f7f21f}.gear-label{opacity:.7;font-size:11px}.gear-item{font-weight:600}#interact{position:fixed;left:50%;bottom:24px;z-index:3;display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 14px;border-radius:8px;background:#0818208c;color:#f4f7f2;font-size:14px;letter-spacing:.01em;text-align:center;transform:translate(-50%);pointer-events:auto}#interact[hidden]{display:none}#interact-name{font-weight:600}#interact-action{margin:0;padding:6px 10px;border:0;border-radius:6px;background:#f4f7f22e;color:inherit;font:inherit;cursor:pointer}#interact-action:hover:not(:disabled){background:#f4f7f247}#interact-action:disabled{cursor:not-allowed;opacity:.55}#interact-action[hidden]{display:none}#hud-bar{display:contents}#hud-world{position:fixed;top:16px;right:16px;z-index:2;display:flex;align-items:center;gap:10px;padding:8px 12px 8px 8px;border-radius:10px;background:#08182080;color:#f4f7f2;pointer-events:none}#hud-weather{width:40px;height:40px;color:#ffe27a}#hud-weather[data-sky=moon]{color:#dce6f5}#hud-weather[data-sky=rain],#hud-weather[data-sky=storm]{color:#c5d8ee}#hud-weather svg{display:block;width:100%;height:100%}#hud-clock{font-variant-numeric:tabular-nums;font-size:22px;font-weight:600;letter-spacing:.04em}#hud-needs{position:fixed;right:16px;bottom:16px;z-index:2;display:flex;flex-direction:row;gap:8px;pointer-events:none;animation:hud-blink-pulse .72s ease-in-out infinite}#hud-needs[data-afk]{animation:none}#hud-needs[data-afk] .need{opacity:1}.need{position:relative;width:44px;height:44px;overflow:hidden;border:2px solid rgba(244,247,242,.82);border-radius:8px;background:#0810146b;box-shadow:0 1px 6px #00000059}.need-fill{position:absolute;right:0;bottom:0;left:0;height:var(--fill, 50%);opacity:.92}.need[data-tone=ok] .need-fill{background:#ffffff59}.need[data-tone=warn] .need-fill{background:#e8c84a}.need[data-tone=alert] .need-fill{background:#e07070}.need[data-need=thirst][data-tone=ok] .need-fill{background:#4aa7e0}.need[data-need=wetness]{background:#56402ab8}.need[data-need=wetness][data-tone=ok] .need-fill{background:#b4d6e859}.need[data-need=wetness][data-tone=warn] .need-fill{background:#6eb4dc}.need[data-need=wetness][data-tone=alert] .need-fill{background:#3d86c2}.need[data-need=hunger][data-tone=ok] .need-fill{background:#e08a3c}.need[data-need=temperature][data-tone=cold] .need-fill{background:#4aa7e0}@property --hud-blink{syntax: "<number>"; inherits: true; initial-value: 1;}@keyframes hud-blink-pulse{0%,to{--hud-blink: 1}50%{--hud-blink: .22}}.need[data-blink=red],.need[data-blink=cold]{opacity:var(--hud-blink)}.need[data-blink=fade]{opacity:.22}.need[data-blink=red]{border-color:#e07070}.need[data-blink=red] .need-icon{color:#e07070}.need[data-blink=cold]{border-color:#4aa7e0}.need[data-blink=cold] .need-icon{color:#4aa7e0}.need-icon{position:absolute;inset:7px;z-index:1;color:#f7f4ee;filter:drop-shadow(0 1px 1px rgba(0,0,0,.55))}.need-icon svg{display:block;width:100%;height:100%}.player-chip{position:fixed;left:0;top:0;z-index:2;display:flex;flex-direction:column;align-items:center;gap:3px;pointer-events:none;transform:translate(-50%,-110%);white-space:nowrap}.player-chip[hidden]{display:none}.player-chip-say{max-width:16rem;padding:3px 8px 4px;border-radius:8px;background:#0818209e;color:#f4f7f2;font-size:12px;font-weight:500;letter-spacing:.01em;text-shadow:0 1px 2px rgba(0,0,0,.4);white-space:normal;text-align:center}.player-chip-name,.player-chip-zzz{padding:1px 6px 2px;border-radius:6px;background:#0818206b;color:#f4f7f2;font-size:11px;font-weight:600;letter-spacing:.02em;text-shadow:0 1px 2px rgba(0,0,0,.4)}.player-chip-zzz{font-size:13px;line-height:1.15;padding:1px 4px;letter-spacing:0}.player-chip-name[hidden],.player-chip-zzz[hidden],.player-chip-say[hidden],body.gate #hud-bar,body.gate #hud-world,body.gate #hud-needs,body.gate #hint,body.gate #gear,body.gate #interact,body.gate #say-compose,body.gate #mobile-controls,body.gate #mobile-toolbar,body.gate .player-chip,body.dead #hud-bar,body.dead #hud-world,body.dead #hud-needs,body.dead #hint,body.dead #gear,body.dead #interact,body.dead #say-compose,body.dead #mobile-controls,body.dead #mobile-toolbar,body.dead .player-chip{display:none}#character{position:fixed;inset:0;z-index:12;display:flex;align-items:center;justify-content:center;padding:24px;background:#0612186b;color:#f4f7f2}#character[hidden]{display:none}.character-card{width:min(26rem,100%);display:flex;flex-direction:column;gap:14px;padding:22px 22px 18px;border-radius:14px;background:#081820e0;box-shadow:0 12px 40px #00000059}#character-title{margin:0;font-size:28px;font-weight:700;letter-spacing:.04em}.character-lead{margin:-6px 0 4px;opacity:.75;font-size:14px}.character-field{display:flex;flex-direction:column;gap:8px;font-size:13px;letter-spacing:.02em}.character-field>span:first-child{opacity:.7;text-transform:uppercase;font-size:11px}.character-name-row{display:flex;gap:8px}#character-name{flex:1;min-width:0;padding:8px 10px;border:1px solid rgba(244,247,242,.22);border-radius:8px;background:#f4f7f214;color:inherit;font:inherit;font-size:16px}#character-name-roll{width:40px;border:1px solid rgba(244,247,242,.22);border-radius:8px;background:#f4f7f214;color:inherit;font-size:18px;cursor:pointer}#character-name-roll:hover,.character-toggle button:hover{background:#f4f7f229}.character-toggle{display:flex;gap:8px}.character-toggle button{flex:1;padding:8px 10px;border:1px solid rgba(244,247,242,.22);border-radius:8px;background:#f4f7f214;color:inherit;font:inherit;cursor:pointer}.character-toggle button[aria-pressed=true]{border-color:#f4f7f2;background:#f4f7f233;font-weight:600}.swatches{display:flex;flex-wrap:wrap;gap:8px}.swatch{width:28px;height:28px;padding:0;border:2px solid rgba(244,247,242,.25);border-radius:999px;cursor:pointer}.swatch[aria-pressed=true]{border-color:#f4f7f2;outline:2px solid rgba(244,247,242,.55);outline-offset:1px}.character-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:8px}#character-play{padding:10px 16px;border:2px solid rgba(244,247,242,.82);border-radius:8px;background:#f4f7f224;color:inherit;font:inherit;font-size:16px;font-weight:600;letter-spacing:.04em;cursor:pointer}#character-play:hover{background:#f4f7f238}#character-random{align-self:center;padding:2px 6px;border:0;background:transparent;color:inherit;font:inherit;font-size:12px;font-weight:400;letter-spacing:.02em;opacity:.42;cursor:pointer}#character-random:hover{opacity:.7}#death{position:fixed;inset:0;z-index:14;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:24px;background:#000;color:#f4f7f2;text-align:center}#death[hidden]{display:none}#death-message{margin:0;max-width:28rem;font-size:18px;font-weight:600;line-height:1.5;letter-spacing:.02em}#death-respawn{padding:10px 22px;border:2px solid rgba(244,247,242,.82);border-radius:8px;background:#f4f7f224;color:inherit;font:inherit;font-size:16px;font-weight:600;letter-spacing:.04em;cursor:pointer}#death-respawn:hover{background:#f4f7f238}#cookie-banner{position:fixed;left:50%;bottom:1.1rem;transform:translate(-50%);z-index:40;display:flex;flex-wrap:wrap;gap:.7rem 1rem;align-items:center;justify-content:center;max-width:min(34rem,94vw);padding:.7rem .9rem;border-radius:8px;background:#121612e0;color:#f4efe4;font:14px/1.35 ui-sans-serif,system-ui,sans-serif;pointer-events:auto}#cookie-banner[hidden]{display:none}#cookie-banner p{margin:0;flex:1 1 12rem}.cookie-actions{display:flex;gap:.45rem}#cookie-banner button{padding:.35rem .7rem;border:1px solid rgba(244,239,228,.55);border-radius:6px;background:#f4efe41f;color:inherit;font:inherit;cursor:pointer}#cookie-accept{background:#f4efe438}#cookie-banner button:hover{background:#f4efe44d}#mobile-controls{position:fixed;inset:0;z-index:4;pointer-events:none}#mobile-controls[hidden],#mobile-toolbar{display:none}#mobile-toolbar[hidden]{display:none!important}.mobile-stick{position:absolute;left:50%;bottom:max(12px,env(safe-area-inset-bottom));width:112px;height:112px;transform:translate(-50%);border-radius:999px;background:#08182061;border:2px solid rgba(244,247,242,.28);pointer-events:auto;touch-action:none}.mobile-stick.active{background:#08182085;border-color:#f4f7f273}.mobile-stick-knob{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:999px;background:#f4f7f28c;border:2px solid rgba(244,247,242,.75);pointer-events:none;will-change:transform}body.mobile-ui #hint{display:none}body.mobile-ui #hud-bar{display:flex;position:fixed;top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));z-index:2;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px 6px 6px;border-radius:10px;background:#08182080;color:#f4f7f2;pointer-events:none}body.mobile-ui #mobile-toolbar{display:flex;position:fixed;top:calc(max(10px,env(safe-area-inset-top)) + 48px);left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));z-index:3;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}body.mobile-ui.gate #mobile-toolbar,body.mobile-ui.dead #mobile-toolbar{display:none}body.mobile-ui .mobile-tool{min-height:40px;min-width:40px;padding:8px 12px;border:0;border-radius:10px;background:#0818208c;color:#f4f7f2;font:inherit;font-size:14px;font-weight:600;letter-spacing:.02em;touch-action:manipulation;cursor:pointer;pointer-events:auto}body.mobile-ui .mobile-tool:active{background:#f4f7f238}body.mobile-ui .mobile-zoom{display:flex;gap:6px;pointer-events:auto}body.mobile-ui .mobile-zoom-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;padding:8px 0;font-size:18px;line-height:1}body.mobile-ui .mobile-zoom-icon{width:20px;height:20px;display:block}body.mobile-ui #hud-world{position:static;top:auto;right:auto;padding:0;border-radius:0;background:transparent;gap:6px}body.mobile-ui #hud-weather{width:32px;height:32px}body.mobile-ui #hud-clock{font-size:18px;padding-right:10px}body.mobile-ui #hud-needs{position:static;inset:auto;gap:5px}body.mobile-ui #hud-needs .need{width:32px;height:32px}body.mobile-ui #gear{left:max(12px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom));max-width:min(11.5rem,calc(50vw - 24px));font-size:12px;z-index:3}body.mobile-ui .gear-drop{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 10px}body.mobile-ui button.gear-slot{padding:5px 7px;min-height:36px}body.mobile-ui #interact{left:50%;right:auto;bottom:calc(184px + env(safe-area-inset-bottom,0px));transform:translate(-50%);max-width:min(14rem,calc(100vw - 40px))}body.mobile-ui #interact-action{padding:10px 14px;min-height:44px;font-size:15px}body.mobile-ui #say-compose{top:calc(max(10px,env(safe-area-inset-top)) + 96px);bottom:auto;left:50%;width:min(22rem,calc(100vw - 24px));transform:translate(-50%)}body.mobile-ui #say-input,body.mobile-ui .say-actions{width:100%}body.mobile-ui .say-action{flex:1;min-height:44px}body.admin{overflow:hidden;background:#7ec8e3;color:#241c16}body.admin #ui{position:fixed;inset:0;pointer-events:auto;overflow:hidden}body.admin #character{display:none}.lagoon{height:100%;display:flex;flex-direction:column;align-items:center;overflow:hidden;padding:2.5rem 1rem 4rem;background:linear-gradient(#e7d7a8,#e7d7a8) bottom / 100% 18% no-repeat,linear-gradient(#2f9aa8,#7ec8e3 42%,#d7efc8 78%,#e7d7a8);font:16px/1.4 Avenir Next,Segoe UI,sans-serif}.palm{position:fixed;bottom:0;width:9rem;height:auto;pointer-events:none}.palm-left{left:0}.palm-right{right:0}.screen{position:relative;width:min(72rem,100%);max-height:100%;overflow:auto;padding:1.25rem 1.25rem 2rem;background:#f7f4ef;color:#241c16;border-radius:1.25rem;box-shadow:0 18px 50px #241c162e}.screen-bar,.room-head,.cap,.filters{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.screen-bar{justify-content:space-between;margin-bottom:1rem}.screen h1,.screen h2,.screen h3,.screen h4{margin:0;font-weight:600}.screen h1{font-size:1.4rem}.screen aside h3,.ground-fold{margin-top:1.5rem}.ground-fold summary{font-weight:600;cursor:pointer}.kind-head{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:space-between}.kind-head label{margin:0}.kind-head input{width:4.5rem}.kind-count{margin-left:.4rem;color:#7d7368;font-weight:400}.screen-bar p,.room-head p,.gate-copy{margin:0;color:#7d7368}.screen section,.item-group{margin:1.25rem 0}.workspace{display:grid;grid-template-columns:25rem 1fr;gap:1.25rem}.screen aside,.screen .main>section,.item-group{background:#fff;border-radius:.9rem;padding:.9rem;box-shadow:0 1px 2px #241c160f}.screen label{display:flex;flex-direction:column;gap:.2rem;margin:.55rem 0;font-size:.85rem;color:#7d7368}.screen input,.screen select,.screen button{font:inherit;color:inherit}.screen input,.screen select{border:1px solid #e4ddd3;border-radius:.5rem;padding:.35rem .5rem;background:#fff}.screen button{border:0;border-radius:.55rem;padding:.4rem .7rem;background:#1f6f62;color:#fff;cursor:pointer}.screen button.quiet,.screen button.room{background:transparent;color:#241c16}.screen button.danger{background:#8d3b32}.screen button.quiet.danger{background:transparent;color:#8d3b32}.room-row{display:flex;align-items:flex-start;gap:.35rem}.room-row>button.danger{flex:none;margin-top:.35rem;white-space:nowrap}.screen button.room{display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start;min-width:0;text-align:left;padding:.45rem .35rem}.screen button.room.selected{background:#e7f3ef}.screen button.room span{color:#7d7368;font-size:.8rem}.screen dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.6rem;margin:.7rem 0 0}.screen dt{font-size:.78rem;color:#7d7368}.screen dd{margin:0;font-size:1.15rem}.screen table{width:100%;border-collapse:collapse}.screen th,.screen td{text-align:left;padding:.4rem .35rem;border-bottom:1px solid #efeae3}.screen .note{margin:0 0 .8rem;color:#8a5a12}.gate{max-width:22rem;margin:2rem auto;text-align:center}@media(max-width:800px){.workspace{grid-template-columns:1fr}.palm{width:5rem}}.island-full[data-v-1e1123af]{position:fixed;top:1rem;left:50%;transform:translate(-50%);margin:0;padding:.45rem .8rem;max-width:min(36rem,92vw);text-align:center;color:#f4efe4;background:#121612c7;border-radius:6px;font:14px/1.35 ui-sans-serif,system-ui,sans-serif;z-index:20;pointer-events:none}
