:root{--brand-teal: #2bb3a3;--brand-blue: #3b7cd0;--brand-indigo: #4a4ed6;--brand-grad: linear-gradient(90deg, #2bb3a3 0%, #3b7cd0 55%, #4a4ed6 100%);--btn-grad: linear-gradient(135deg, #2bb3a3, #3f76d4);--btn-edge: #2c57b8;--ink: #3a4046;--ink-soft: #727a82;--line: #e6eaef;--surface: #ffffff}*{box-sizing:border-box}body{margin:0;font-family:Nunito,Segoe UI Rounded,system-ui,sans-serif;background:linear-gradient(135deg,#eaf4f2,#eef0fb);color:var(--ink)}h1,h2,h3{font-family:Rubik,Segoe UI Rounded,system-ui,sans-serif}#login{display:grid;place-items:center;height:100vh}#login-form{display:flex;flex-direction:column;gap:14px;width:280px;background:var(--surface);padding:30px;border-radius:18px;box-shadow:0 20px 50px -16px #28467859,0 0 0 1px var(--line)}#login-form h1{margin:0 0 6px;font-size:25px;text-align:center;font-weight:800;background:var(--brand-grad);-webkit-background-clip:text;background-clip:text;color:transparent}#login-form input{padding:11px 13px;border-radius:11px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font-size:15px;outline:none;transition:border-color .15s,box-shadow .15s}#login-form input:focus{border-color:var(--brand-blue);box-shadow:0 0 0 3px #3b7cd02e}#login-form button{padding:11px;border:0;border-radius:11px;cursor:pointer;background:var(--btn-grad);color:#fff;font-weight:800;font-size:15px;font-family:Rubik,Segoe UI Rounded,system-ui,sans-serif;box-shadow:0 4px 0 var(--btn-edge),0 6px 14px #2c57b84d;transition:transform .1s,filter .1s}#login-form button:hover{filter:brightness(1.05)}#login-form button:active{transform:translateY(4px);box-shadow:0 0 0 var(--btn-edge)}.error{color:#d65a47;font-size:13px;min-height:16px;margin:0;text-align:center;font-weight:700}#game{width:100vw;height:100vh;position:relative;z-index:0}#game canvas{display:block;margin:0 auto}#hud{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10}#hud .panel,#hud #me,#hud #admin-toggle,#hud #logout{pointer-events:auto}#me{position:fixed;top:12px;left:14px;display:flex;align-items:center;gap:9px;padding:6px 8px 6px 6px;border-radius:14px;background:#ffffffad;-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);color:var(--ink);box-shadow:0 8px 22px -8px #28467873,inset 0 0 0 1px #fff9}#me .me-ava{width:32px;height:32px;flex:none;display:grid;place-items:center;border-radius:10px;background:var(--btn-grad);color:#fff;font:800 15px Rubik,Segoe UI Rounded,system-ui,sans-serif;box-shadow:0 3px 8px -1px #2b78b48c,inset 0 1px #fff6}#me .me-txt{display:flex;flex-direction:column;line-height:1.06}#me .me-cap{font-size:9px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-soft)}#me .me-role{font-size:14px;font-weight:800;font-family:Rubik,Segoe UI Rounded,system-ui,sans-serif}#logout{flex:none;margin-left:6px;padding:0;border:0;width:34px;height:34px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#d65a4721;color:#d65a47;cursor:pointer;transition:background .15s,transform .08s}#logout svg{width:18px;height:18px;display:block}#logout:hover{background:#d65a473d}#logout:active{transform:translateY(1px)}#logout[hidden],#people-panel{display:none}#people-panel #people-list{list-style:none;margin:0;padding:0}#people-panel .pp-row{display:flex;align-items:center;gap:11px;padding:11px 6px;cursor:pointer;border-top:1px solid var(--line);border-radius:8px}#people-panel .pp-row:first-child{border-top:0}#people-panel .pp-row:hover,#people-panel .pp-row:focus-visible{background:#3b7cd014;outline:none}#people-panel .pp-dot{width:10px;height:10px;border-radius:50%;flex:none;background:#9aa3ad}#people-panel .pp-row[data-state=working] .pp-dot{background:#3a9a4f;box-shadow:0 0 0 3px #3a9a4f2e}#people-panel .pp-row[data-state=idle] .pp-dot{background:#c9a23a}#people-panel .pp-row[data-state=sleeping] .pp-dot{background:#7c85a0}#people-panel .pp-txt{display:flex;flex-direction:column;flex:1;min-width:0;line-height:1.15}#people-panel .pp-name{font-weight:800;font-size:15px}#people-panel .pp-sub{font-size:12.5px;color:var(--ink-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#people-panel .pp-badge{flex:none;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#3a9a4f;color:#fff;font:800 12px Rubik,system-ui,sans-serif;display:flex;align-items:center;justify-content:center}#people-panel .pp-chev{flex:none;color:var(--ink-soft);font-size:22px;line-height:1;opacity:.6}.panel{position:fixed;top:56px;right:14px;width:300px;max-height:80vh;overflow:auto;background:#fffffff5;color:var(--ink);padding:16px;border-radius:16px;box-shadow:0 18px 44px -14px #28467866,0 0 0 1px var(--line)}#admin-panel{max-height:calc(100vh - 140px)}#admin-phrase-mod{display:flex;flex-direction:column;gap:6px;margin-top:10px}.adm-phrase{display:flex;align-items:center;gap:8px}.adm-phrase>span{flex:1;font-size:13px}#admin-phrase-mod .adm-phrase-ok,#admin-phrase-mod .adm-phrase-no{border:0;border-radius:6px;padding:4px 10px;cursor:pointer;color:#fff}#admin-phrase-mod .adm-phrase-ok{background:#3a9a4f}#admin-phrase-mod .adm-phrase-no{background:#8a3a3a}.emp-avatar-row{display:flex;align-items:center;gap:10px;width:100%;margin-bottom:12px}.emp-avatar-row select{flex:1}.emp-avatar-preview{width:64px;height:64px;flex:none;object-fit:contain;border-radius:12px;background:#efe7d8 url(/bg/office.webp) center / 220% no-repeat;box-shadow:inset 0 0 0 1px var(--line)}.panel h2{margin:0 0 10px;font-size:17px;font-weight:800}.panel-toggle{cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;gap:8px}.panel-caret{font-size:12px;line-height:1;transition:transform .18s ease}#tasks-panel.collapsed h2{margin-bottom:0}#tasks-panel.collapsed .panel-collapse{display:none}#tasks-panel.collapsed .panel-caret{transform:rotate(-90deg)}#tasks-panel{transition:width .18s ease}#tasks-panel:has(#task-title:focus),#tasks-panel:has(#task-title:not(:placeholder-shown)),#tasks-panel.wide{width:min(560px,calc(100vw - 28px))}#tasks-widen{margin-left:auto;flex:none;width:26px;height:26px;padding:0;border:0;border-radius:8px;cursor:pointer;background:#eef1f6;color:#5a6472;font-size:14px;line-height:1;box-shadow:none}#tasks-widen:hover{background:#e2e8f2;color:var(--brand-blue)}.panel h3{margin:12px 0 8px;font-size:13px;font-weight:800;color:var(--ink-soft);text-transform:uppercase;letter-spacing:.4px}.panel form{display:flex;gap:7px;margin-bottom:12px;flex-wrap:wrap}#task-form{align-items:flex-start}.panel input,.panel select,.panel textarea{flex:1 1 90px;min-width:0;padding:8px 10px;border-radius:9px;border:1.5px solid var(--line);background:#fff;color:var(--ink);outline:none}.panel textarea{resize:none;overflow:hidden;box-sizing:border-box;font:inherit;line-height:1.35;overflow-wrap:anywhere}.panel input:focus,.panel select:focus,.panel textarea:focus{border-color:var(--brand-blue)}.panel button{padding:8px 12px;border:0;border-radius:9px;cursor:pointer;background:var(--btn-grad);color:#fff;font-weight:700;font-family:Rubik,Segoe UI Rounded,system-ui,sans-serif;box-shadow:0 2px 0 var(--btn-edge);transition:transform .1s}.panel button:active{transform:translateY(2px);box-shadow:0 0 0 var(--btn-edge)}.panel ul{list-style:none;margin:0;padding:0}.panel li{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--line)}.panel li .title{flex:1;font-size:13px;font-weight:600}.panel li .st{font-size:11px;color:var(--ink-soft);flex:none;margin-left:auto;font-weight:800}.panel li .st.todo{color:#9aa3ad}.panel li .st.in_progress{color:#3b7cd0}.panel li .st.done{color:#c68a1e}.panel li .st.accepted{color:#3a9a4f}.panel li.task-empty{justify-content:center;color:var(--ink-soft);font-size:12px;border-top:0}#task-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.task-chip{flex:none;padding:4px 10px;border-radius:999px;cursor:pointer;border:1px solid var(--line);background:transparent;color:var(--ink-soft);font:800 11px/1 Nunito,system-ui,sans-serif;transition:background .12s ease,color .12s ease,border-color .12s ease}.task-chip:hover{border-color:var(--ink-soft)}.task-chip.active{background:#3b7cd0;color:#fff;border-color:transparent}.task-chip.in_progress.active{background:#3b7cd0}.task-chip.todo.active{background:#7c8794}.task-chip.done.active{background:#c68a1e}.task-chip.accepted.active{background:#3a9a4f}#admin-toggle{position:fixed;top:12px;right:14px;padding:8px 15px;border:0;border-radius:11px;background:var(--brand-grad);color:#fff;font-weight:800;cursor:pointer;font-family:Rubik,Segoe UI Rounded,system-ui,sans-serif;box-shadow:0 4px 14px #3c5ab44d}#hud-right{position:fixed;top:12px;right:14px;z-index:10;display:flex;flex-direction:column;align-items:flex-end;gap:10px}#hud-right #tasks-panel,#hud-right #admin-toggle,#hud-right #admin-panel{position:static}.genw-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0a0c1099;display:flex;align-items:center;justify-content:center;z-index:2000}.genw-modal{background:#1c2128;color:#f3ead6;border-radius:14px;padding:22px;width:min(92vw,360px);box-shadow:0 18px 48px #00000080}.genw-title{margin:0 0 14px;font:600 18px system-ui,sans-serif}.genw-field{display:flex;flex-direction:column;gap:4px;margin-bottom:12px;font:500 13px system-ui}.genw-field input,.genw-field select{padding:8px;border-radius:8px;border:1px solid #3a4150;background:#11151b;color:#f3ead6}.genw-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.genw-actions button{padding:8px 14px;border-radius:8px;border:0;cursor:pointer;font:600 13px system-ui}.genw-submit,.genw-approve{background:#3a9a4f;color:#06210d}.genw-cancel,.genw-regen,.genw-retry{background:#2b313b;color:#f3ead6}.genw-portrait{width:100%;border-radius:10px;display:block;margin-bottom:14px;background:#11151b}.genw-err{color:#ff8585;font:500 13px system-ui;margin-bottom:10px}.genw-spinner{width:34px;height:34px;margin:16px auto;border-radius:50%;border:4px solid #3a4150;border-top-color:#3a9a4f;animation:genw-spin 1s linear infinite}@keyframes genw-spin{to{transform:rotate(360deg)}}.wc-editor{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.wc-field{display:flex;flex-direction:column;gap:3px;font:600 12px system-ui;color:var(--ink-soft)}.wc-field input{padding:7px 9px;border-radius:8px;border:1px solid var(--line);font:600 14px system-ui}.wc-actions{display:flex;gap:8px}.wc-actions button,.wc-changepw{padding:7px 12px;border:0;border-radius:8px;cursor:pointer;font:700 13px system-ui}.wc-save{background:#3a9a4f;color:#06210d}.wc-resetpw,.wc-changepw{background:#2b313b;color:#f3ead6}.wc-err{color:#c0392b;font:600 12px system-ui}.wc-charpick{display:flex;align-items:center;gap:12px;margin:10px 0}.wc-charprev{width:140px;height:140px;border-radius:12px;overflow:hidden;background:#11151b;flex:none}.wc-charprev video,.wc-charprev img{width:100%;height:100%;object-fit:cover;display:block}.wc-del-emp{width:100%;margin:8px 0 4px;padding:7px 12px;border:0;border-radius:8px;cursor:pointer;font:700 13px system-ui;background:#8a3a3a;color:#f3ead6}.wc-del-emp:hover{background:#a04040}.wc-del-emp:disabled{opacity:.5;cursor:default}.office2d-empty{position:absolute;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:14px 16px;border-radius:14px;background:#181a208c;color:#f3ead6;border:2px dashed rgba(255,255,255,.35);font:700 13px system-ui;cursor:default}.office2d-empty.clickable{cursor:pointer}.office2d-empty .glyph{font-size:26px;line-height:1}#voice-hud{position:fixed;left:16px;bottom:16px;width:220px;background:#181a20e0;color:#f3ead6;border-radius:12px;padding:10px 12px;font:13px/1.3 system-ui,sans-serif;box-shadow:0 6px 20px #0006;z-index:50}#voice-hud[hidden]{display:none}#voice-hud .vh-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}#voice-hud .vh-title{font-weight:700}#voice-hud .vh-mic{border:0;border-radius:8px;padding:5px 10px;font:700 12px system-ui,sans-serif;cursor:pointer;background:#3a9a4f;color:#06210d}#voice-hud .vh-mic[data-state=muted]{background:#555a66;color:#f3ead6}#voice-hud .vh-mic[data-state=no-mic]{background:#8a3a3a;color:#f3ead6;cursor:default}#voice-hud .vh-audio{display:block;width:100%;margin:4px 0 6px;border:0;border-radius:8px;padding:7px 10px;font:700 12px system-ui,sans-serif;cursor:pointer;background:#c9a23a;color:#211b06}#voice-hud .vh-audio[hidden]{display:none}#voice-hud .vh-status{display:flex;align-items:center;gap:8px;margin:4px 0 6px;font:600 12px system-ui,sans-serif;color:#e0b34a}#voice-hud .vh-status[hidden]{display:none}#voice-hud .vh-reconnect{border:0;border-radius:8px;padding:5px 10px;font:700 12px system-ui,sans-serif;cursor:pointer;background:#c9a23a;color:#211b06;flex:none;margin-left:auto}#voice-hud .vh-reconnect[hidden]{display:none}#voice-hud .vh-reconnect:disabled{opacity:.6;cursor:default}#voice-hud .vh-share{display:block;width:100%;margin:4px 0 6px;border:0;border-radius:8px;padding:7px 10px;font:700 12px system-ui,sans-serif;cursor:pointer;background:#555a66;color:#f3ead6}#voice-hud .vh-share[data-on="1"]{background:#3a9a4f;color:#06210d}#voice-hud .vh-share[hidden]{display:none}#voice-hud .vh-share:disabled{opacity:.55;cursor:default}#voice-hud .vh-awake{display:block;width:100%;margin:0 0 6px;border:0;border-radius:8px;padding:7px 10px;font:700 12px system-ui,sans-serif;cursor:pointer;background:#555a66;color:#f3ead6}#voice-hud .vh-awake[data-on="1"]{background:#c9a227;color:#241c00}#voice-hud .vh-awake[hidden]{display:none}#screen-view{position:fixed;top:56px;left:50%;transform:translate(-50%);width:min(72vw,900px);z-index:900;background:#0d0f13;border-radius:12px;overflow:hidden;box-shadow:0 10px 32px #0000008c}#screen-view .sv-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;color:#f3ead6;font:700 13px system-ui,sans-serif;background:#ffffff0f;cursor:move;touch-action:none;-webkit-user-select:none;user-select:none}#screen-view .sv-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#screen-view .sv-toggle{border:0;background:#ffffff1f;color:#f3ead6;border-radius:6px;padding:2px 10px;cursor:pointer;font:700 13px system-ui,sans-serif}#screen-view video{display:block;width:100%;max-height:70vh;background:#000}#screen-view.collapsed video{display:none}#screen-view.collapsed .sv-grip{display:none}#screen-view .sv-grip{position:absolute;right:0;bottom:0;width:20px;height:20px;cursor:nwse-resize;touch-action:none;background:linear-gradient(135deg,transparent 50%,rgba(255,255,255,.5) 50%,rgba(255,255,255,.5) 60%,transparent 60%,transparent 72%,rgba(255,255,255,.5) 72%,rgba(255,255,255,.5) 82%,transparent 82%)}#voice-hud .vh-gear{border:0;background:transparent;color:#f3ead6;font-size:15px;line-height:1;cursor:pointer;padding:2px 4px;margin-left:auto;margin-right:6px;opacity:.8}#voice-hud .vh-gear:hover{opacity:1}#voice-hud .vh-devices{display:flex;flex-direction:column;gap:5px;margin:4px 0 8px}#voice-hud .vh-devices[hidden]{display:none}#voice-hud .vh-dev{display:flex;align-items:center;gap:6px}#voice-hud .vh-gate{display:flex;align-items:center;gap:7px;cursor:pointer;font-size:12px;color:#e8dfcb;padding:7px 0 3px;margin-top:2px;border-top:1px solid rgba(255,255,255,.1)}#voice-hud .vh-gate input{flex:none;width:15px;height:15px;accent-color:#3a9a4f;cursor:pointer}#voice-hud .vh-dev select{flex:1;min-width:0;background:#2b2e37;color:#f3ead6;border:1px solid rgba(255,255,255,.14);border-radius:6px;padding:3px 6px;font:12px system-ui,sans-serif}#voice-hud .vh-dev select:disabled{opacity:.5;cursor:not-allowed}#voice-hud ul{list-style:none;margin:0;padding:0;max-height:180px;overflow-y:auto}#voice-hud li{display:flex;align-items:center;gap:6px;padding:2px 0}#voice-hud li .vh-dot{width:8px;height:8px;border-radius:50%;background:#555a66;flex:none}#voice-hud li.speaking .vh-dot{background:#46e08a;box-shadow:0 0 6px #46e08a}#voice-hud li.self .vh-name{font-weight:700}@media(max-width:900px)and (orientation:portrait){body:has(#game:not([hidden])){display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:12px 12px 92px;min-height:100vh;overflow-y:auto;background:radial-gradient(120% 46% at 50% 0%,rgba(43,179,163,.14),transparent 62%),linear-gradient(135deg,#eaf4f2,#eef0fb)}body:has(#game:not([hidden])):before{content:"Kanban Game";order:-1;align-self:center;padding-top:2px;font:800 20px Rubik,Segoe UI Rounded,system-ui,sans-serif;background:var(--brand-grad);-webkit-background-clip:text;background-clip:text;color:transparent}body:has(#game:not([hidden])) #game{display:none}body:has(#game:not([hidden])) #rearrange-toggle{display:none!important}body:has(#game:not([hidden])) #voice-hud,body:has(#game:not([hidden])) #hud{width:100%;max-width:520px;margin-inline:auto;border-radius:14px!important}body:has(#game:not([hidden])) #voice-hud{position:static!important;width:100%!important;max-height:none!important;order:1}body:has(#game:not([hidden])) #voice-hud{padding:14px 16px}body:has(#game:not([hidden])) #voice-hud ul{max-height:26vh}body:has(#game:not([hidden])) #voice-hud .vh-head{flex-wrap:wrap;gap:10px;margin-bottom:12px}body:has(#game:not([hidden])) #voice-hud .vh-title{font-size:17px;flex:1}body:has(#game:not([hidden])) #voice-hud .vh-gear{flex:none;width:48px;height:48px;font-size:22px;opacity:.9;background:#ffffff1a;border-radius:12px}body:has(#game:not([hidden])) #voice-hud .vh-mic{order:3;flex:1 1 100%;min-height:62px;padding:0 16px;font-size:18px;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:8px}body:has(#game:not([hidden])) #voice-hud .vh-mic[data-state=live]{box-shadow:0 0 0 2px #46e08a8c,0 8px 22px #3a9a4f73}body:has(#game:not([hidden])) #voice-hud .vh-audio,body:has(#game:not([hidden])) #voice-hud .vh-share,body:has(#game:not([hidden])) #voice-hud .vh-dev select{min-height:54px;font-size:16px;border-radius:12px}body:has(#game:not([hidden])) #voice-hud .vh-status{flex-wrap:wrap;font-size:14px}body:has(#game:not([hidden])) #voice-hud .vh-reconnect{flex:1 1 100%;margin-left:0;min-height:50px;font-size:16px;border-radius:12px}body:has(#game:not([hidden])) #chat-hud{position:fixed!important;left:0;right:0;bottom:0;width:100%!important;max-width:none!important;border-radius:18px 18px 0 0!important;z-index:200;box-shadow:0 -8px 30px #00000073}body:has(#game:not([hidden])) #chat-hud .ch-head{padding:15px 16px;font-size:16px}body:has(#game:not([hidden])) #chat-hud .ch-list{height:48vh;max-height:48vh}body:has(#game:not([hidden])) #chat-hud .ch-input{min-height:48px;font-size:16px}body:has(#game:not([hidden])) #hud{position:static!important;inset:auto;pointer-events:auto;order:3;display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center;gap:10px}body:has(#game:not([hidden])) #me{position:static;margin:8px auto 0;order:10}body:has(#game:not([hidden])) #hud-right{position:static!important;width:100%!important;display:flex;flex-direction:column;gap:10px}body:has(#game:not([hidden])) #hud-right .panel{position:static!important;width:100%!important;max-height:none;border-radius:14px}body:has(#game:not([hidden])) #people-panel{display:block;order:-1}body:has(#game:not([hidden])) #people-panel .panel-collapse{max-height:44vh;overflow:auto}body:has(#game:not([hidden])) #tasks-panel .panel-collapse{max-height:40vh;overflow:auto}body:has(#game:not([hidden])) #admin-toggle{width:100%;margin:0;border-radius:14px}body:has(#game:not([hidden])) .panel button,body:has(#game:not([hidden])) #admin-toggle{min-height:44px}body:has(#game:not([hidden])) #admin-panel{position:static!important;width:100%!important}body:has(#game:not([hidden])) #screen-view{width:calc(100vw - 20px);top:10px}}@media(orientation:landscape)and (max-height:520px){#me{top:6px;left:6px;padding:5px 9px;font-size:12px}#hud-right{top:6px;right:6px;gap:6px;z-index:30}#hud-right #tasks-panel{width:min(66vw,300px)}.panel{max-height:86vh;padding:12px}#tasks-panel .panel-collapse{max-height:68vh;overflow:auto}#admin-panel{top:6px;left:6px;right:auto;width:min(50vw,290px);max-height:86vh;z-index:25;padding:10px 12px}#admin-panel h2{font-size:14px;margin-bottom:6px}#admin-panel h3{font-size:10px;margin:8px 0 5px}#admin-panel button{min-height:34px;padding:7px 10px;font-size:12px;margin-bottom:6px!important}#voice-hud{left:6px;bottom:6px;width:min(52vw,220px);max-height:42vh;padding:8px 10px}#voice-hud ul{max-height:22vh}.panel button,#admin-toggle,.genw-actions button,.wc-actions button,.wc-del-emp,.wc-changepw,#voice-hud .vh-mic,#voice-hud .vh-audio,#voice-hud .vh-awake,#voice-hud .vh-reconnect,#voice-hud .vh-dev select{min-height:38px}#me{font-size:11px}.panel h2{font-size:15px}.panel h3{font-size:11px}.panel,.panel li .title,.panel input,.panel select{font-size:12px}.panel button,#admin-toggle{font-size:13px}#voice-hud,#voice-hud .vh-title{font-size:12px}#rearrange-toggle{font-size:12px!important;padding:6px 12px!important}#game .office2d-bubble{font:600 11px/1.2 system-ui,sans-serif;padding:6px 10px}#game .office2d-name{font:600 10px system-ui,sans-serif;padding:1px 7px}}@media(max-width:820px),(max-height:520px){.genw-modal{width:min(94vw,440px);max-height:88vh;overflow:auto}}.wc-charstrip{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.wc-char{width:40px;height:40px;border-radius:8px;overflow:hidden;border:2px solid transparent;background:#11151b;padding:0;cursor:pointer}.wc-char.active{border-color:#2bb3a3}.wc-char img{width:100%;height:100%;object-fit:cover;display:block}.wc-char span{display:grid;place-items:center;width:100%;height:100%;font-weight:800}.wc-phrases{display:flex;flex-direction:column;gap:6px;margin:10px 0 4px}.wc-phrases-title{font:700 13px system-ui,sans-serif;color:var(--ink)}.wc-phrase-slot{display:flex;align-items:center;gap:6px}.wc-phrase-slot>span{flex:1;padding:5px 8px;border-radius:6px;background:#eef1f6;color:var(--ink);font-size:13px}.wc-phrase-slot>select{flex:1;padding:5px 8px;border-radius:6px}.wc-phrase-clear{border:0;background:#8a3a3a;color:#fff;border-radius:6px;padding:4px 8px;cursor:pointer}.wc-phrase-unlock,.wc-phrase-custom button{border:0;border-radius:6px;padding:6px 10px;cursor:pointer;background:#555a66;color:#f3ead6;font:700 12px system-ui,sans-serif}.wc-phrase-unlock:disabled,.wc-phrase-custom button:disabled{opacity:.5;cursor:default}.wc-phrase-custom{display:flex;gap:6px}.wc-phrase-custom input{flex:1;padding:6px 8px;border-radius:6px;border:1px solid var(--line);background:#fff;color:var(--ink)}.wc-phrase-pending{font-size:12px;color:#a07d12}.att-grid{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}.att-cell{position:relative}.att-cell img{width:88px;height:88px;object-fit:cover;border-radius:12px;display:block;background:#11151b;border:1px solid rgba(127,127,127,.28);transition:transform .08s,box-shadow .12s}.att-cell img:hover{transform:translateY(-1px);box-shadow:0 6px 16px #00000038}.att-file{display:flex;align-items:center;gap:7px;max-width:200px;height:88px;box-sizing:border-box;padding:10px 12px;border-radius:12px;background:#7f7f7f24;border:1px solid rgba(127,127,127,.22);text-decoration:none;color:inherit}.att-file .att-ico{font-size:20px}.att-file .att-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.att-del{position:absolute;top:5px;right:5px;width:20px;height:20px;border:0;border-radius:50%;background:#14161cc7;color:#fff;cursor:pointer;font:700 11px/1 system-ui,sans-serif;display:grid;place-items:center;opacity:0;transition:opacity .12s,background .12s}.att-cell:hover .att-del{opacity:1}.att-del:hover{background:#d65a47}.att-empty{color:#8b929e;font-size:13px;padding:2px 0 4px}.att-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:14px;border:1.5px dashed rgba(127,127,127,.4);border-radius:12px;cursor:pointer;text-align:center;transition:border-color .12s,background .12s}.att-drop:hover{border-color:#2bb3a3b3;background:#2bb3a30f}.att-drop.is-drag{border-color:#2bb3a3;background:#2bb3a31f}.att-drop-title{font:700 13px system-ui,sans-serif}.att-drop-hint{font-size:12px;opacity:.6}.att-preview{cursor:zoom-out;z-index:2100}.att-preview img{max-width:92vw;max-height:88vh;border-radius:14px;box-shadow:0 16px 48px #0000008c}.att-preview-dl{position:fixed;top:16px;right:18px;z-index:2101;padding:8px 14px;border-radius:10px;text-decoration:none;background:#181a20d9;color:#f3ead6;font:700 13px system-ui,sans-serif;box-shadow:0 4px 14px #0006}.wc-clip{font-size:12px;opacity:.8}.wc-title-click{cursor:pointer}.wc-title-click:hover{text-decoration:underline}.proj-chips{display:flex;flex-wrap:wrap;gap:6px}.proj-chip{border:2px solid transparent;border-radius:999px;padding:6px 12px;font:700 13px system-ui,sans-serif;cursor:pointer;background:#7f7f7f2e;color:inherit;opacity:.72;transition:opacity .12s,border-color .12s,transform .05s}.proj-chip:hover{opacity:.92}.proj-chip.active{opacity:1;border-color:currentColor;box-shadow:0 0 0 2px #0000001f inset}.proj-chip:active{transform:translateY(1px)}#projects-btn{position:fixed;left:50%;transform:translate(-50%);bottom:16px;z-index:55;border:0;border-radius:12px;padding:9px 14px;cursor:pointer;background:#181a20e0;color:#f3ead6;font:700 13px system-ui,sans-serif;box-shadow:0 6px 20px #0006}#projects-btn:hover{background:#24272ff2}#env-controls{position:fixed;left:50%;transform:translate(-50%);top:12px;z-index:55;display:flex;gap:8px}.env-btn{border:0;border-radius:12px;padding:8px 13px;cursor:pointer;background:#181a20d1;color:#f3ead6;font:700 13px system-ui,sans-serif;box-shadow:0 6px 20px #00000059;backdrop-filter:blur(10px) saturate(1.2);-webkit-backdrop-filter:blur(10px) saturate(1.2);transition:background .15s,transform .08s;white-space:nowrap}.env-btn:hover{background:#24272feb}.env-btn:active{transform:scale(.96)}@media(max-width:900px)and (orientation:portrait){body:has(#game:not([hidden])) #env-controls{left:10px;top:10px;transform:none;flex-direction:column;align-items:flex-start}}#game{isolation:isolate}.weather-canvas,.weather-tint{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.weather-canvas{z-index:201}.weather-tint{z-index:200;transition:background .8s ease,backdrop-filter .8s ease;background:transparent}.weather-tint[data-mode=clouds]{background:#606c7a47}.weather-tint[data-mode=fog]{background:#d6dbe257;backdrop-filter:blur(1.2px);-webkit-backdrop-filter:blur(1.2px)}.weather-tint[data-mode=rain]{background:#3c485c38}.weather-tint[data-mode=snow]{background:#d2dceb1f}.genw-modal.pjb{width:min(96vw,820px);padding:20px 20px 14px}.pjb-view{max-height:82vh;overflow:auto;padding:2px;margin:-2px}.pjb-empty{padding:42px 0;text-align:center;opacity:.6;font:700 14px Nunito,system-ui}.pjb-head{display:flex;align-items:baseline;gap:10px;margin:0 0 15px;flex-wrap:wrap}.pjb-h2{margin:0;font:800 20px Rubik,Segoe UI Rounded,system-ui,sans-serif;letter-spacing:.2px}.pjb-sub{font:700 12px Nunito,system-ui;opacity:.5}.pjb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(238px,1fr));gap:7px;align-content:start}.pjb-view.is-list .pjb-grid{grid-template-columns:1fr}.pjb-card{--accent: #8b95a3;position:relative;display:flex;align-items:center;gap:8px;width:100%;min-height:42px;text-align:left;border:0;cursor:pointer;padding:0 9px 0 0;color:#f3ead6;font:inherit;border-radius:10px;overflow:hidden;opacity:0;transform:translateY(6px);background:linear-gradient(100deg,color-mix(in srgb,var(--accent) 15%,#232a33),#232a33 66%);box-shadow:inset 0 0 0 1px #ffffff0d;animation:pjb-in .3s cubic-bezier(.2,.7,.2,1) forwards;transition:transform .12s ease,box-shadow .15s ease,filter .15s ease}.pjb-card:hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 45%,transparent),0 8px 20px -12px #000000b3}.pjb-card:active{transform:translateY(0)}@keyframes pjb-in{to{opacity:1;transform:none}}.pjb-accent{flex:none;width:4px;align-self:stretch;border-radius:0 3px 3px 0;margin-right:5px;background:var(--accent);box-shadow:0 0 10px color-mix(in srgb,var(--accent) 55%,transparent)}.pjb-card-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 14px Rubik,system-ui;color:color-mix(in srgb,var(--accent) 72%,#f3ead6)}.pjb-mini{flex:none;display:flex;gap:3px}.pjm{min-width:19px;height:18px;padding:0 5px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font:800 11px Nunito,system-ui}.pjm.in_progress{background:#2f6bcf38;color:#6fa8f0}.pjm.done{background:#c9a23a38;color:#d7b653}.pjm.accepted{background:#3a9a4f38;color:#63c47c}.pjb-card-count{flex:none;font:800 12px Nunito,system-ui;min-width:22px;text-align:center;padding:1px 7px;border-radius:999px;background:color-mix(in srgb,var(--accent) 22%,transparent);color:color-mix(in srgb,var(--accent) 82%,#f3ead6)}.pjb-prog{position:absolute;left:0;right:0;bottom:0;height:3px;background:#ffffff12}.pjb-prog-fill{display:block;height:100%;background:var(--accent);box-shadow:0 0 8px color-mix(in srgb,var(--accent) 70%,transparent);transition:width .5s ease}.pjb-chev{flex:none;font-size:18px;opacity:.3;transition:opacity .15s,transform .15s}.pjb-card:hover .pjb-chev{opacity:.75;transform:translate(2px)}.pjb-head-list{align-items:center}.pjb-back{border:0;cursor:pointer;background:#ffffff0f;color:#f3ead6;border-radius:9px;padding:6px 11px 6px 8px;font:700 12.5px Nunito,system-ui;display:inline-flex;align-items:center;gap:4px;transition:background .12s}.pjb-back:hover{background:#ffffff1f}.pjb-back span{font-size:17px;line-height:1}.pjb-h2-list{font-size:17px}.pjb-list{display:flex;flex-direction:column}.pjb-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;border-left:3px solid var(--accent, #8b95a3);background:#ffffff05;cursor:pointer;padding:11px 10px;margin-bottom:6px;border-radius:0 10px 10px 0;font:inherit;color:#f3ead6;transition:background .12s,transform .1s}.pjb-row:hover{background:#ffffff12;transform:translate(2px)}.pjb-row-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 14px Nunito,system-ui}.pjb-emp{flex:none;font:600 12px Nunito,system-ui;opacity:.6;max-width:34%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pjb-clip{flex:none;font-size:12px;opacity:.8}.pjb-status{flex:none;font:700 11px Nunito,system-ui;padding:2px 9px;border-radius:999px;background:#7f7f7f2e}.pjb-status.in_progress{background:#2f6bcf38;color:#6fa8f0}.pjb-status.done{background:#c9a23a38;color:#d7b653}.pjb-status.accepted{background:#3a9a4f38;color:#63c47c}.pjb-status.todo{background:#7f7f7f33;color:#c3cad3}@media(max-width:900px)and (orientation:portrait){body:has(#game:not([hidden])) #projects-btn{left:auto;right:10px;top:10px;bottom:auto;transform:none}}
