:root{--ink:#334036;--muted:#737b6c;--paper:#f8f6ee;--card:#faf8f0e6;--line:#434f3d24;--line-strong:#434f3d42;--green:#445e4b;--green-ink:#f6f3e8;--accent-warm:#c8794f;--danger:#a54a3a;--warn:#a7752c;--serif:"Noto Serif CJK SC","Songti SC","STSong",Georgia,serif;--sans:"Noto Sans CJK SC","PingFang SC","Microsoft YaHei",system-ui,-apple-system,"Segoe UI",sans-serif;--radius:16px;--shadow:0 14px 40px #343e3024,0 2px 6px #343e300f;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:var(--sans);color:var(--ink);font-synthesis:none;background:#e9e6dd}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}body{background:#e9e6dd;min-width:320px;overflow:hidden}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}svg{stroke-width:1.7px;flex-shrink:0}:focus-visible{outline-offset:3px;outline:2px solid #a06e38}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.muted{color:var(--muted)}.error-text{color:var(--danger);font-size:13px;line-height:1.6}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.row.end{justify-content:flex-end}.primary,.ghost,.danger,.chip{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 18px;font-size:14px;font-weight:500;transition:background .15s,box-shadow .15s,transform .1s;display:inline-flex}.primary{background:var(--green);color:var(--green-ink);box-shadow:0 6px 16px #445e4b38}.primary:hover:not(:disabled){background:#3a5241}.primary:active:not(:disabled){transform:translateY(1px)}.ghost{border:1px solid var(--line-strong);background:#fff6}.ghost:hover:not(:disabled){background:#ffffffbf}.danger{color:var(--danger);border:1px solid #a54a3a59}.danger:hover{background:#a54a3a12}.small{min-height:34px;padding:0 13px;font-size:13px}.block{width:100%}.chip{border:1px solid var(--line-strong);white-space:normal;text-align:left;padding:0 13px;background:#ffffff80;min-height:34px;padding-block:7px;font-size:13px;line-height:1.4}.chip:hover:not(:disabled){background:#fff}.icon-btn{width:34px;height:34px;color:var(--muted);border-radius:50%;place-items:center;display:grid}.icon-btn:hover{color:var(--ink);background:#434f3d14}.danger-text{color:var(--danger)!important}.field{gap:7px;font-size:13px;display:grid}.field>span{color:var(--muted);letter-spacing:.3px;font-size:12px}.field small{color:var(--muted);font-size:12px;line-height:1.5}input:not([type=checkbox]):not([type=color]),textarea,select{border:1px solid var(--line-strong);background:#ffffffb3;border-radius:12px;outline:none;width:100%;padding:10px 12px;font-size:14px;line-height:1.5}input:focus,textarea:focus,select:focus{background:#fff;border-color:#8c9e86;box-shadow:0 0 0 3px #60745a1f}textarea{resize:vertical;min-height:44px}select{appearance:none;cursor:pointer;background-image:none;padding-right:34px}.select{display:block;position:relative}.select svg{pointer-events:none;color:var(--muted);position:absolute;top:50%;right:12px;transform:translateY(-50%)}input[type=color]{border:1px solid var(--line-strong);background:0 0;border-radius:10px;width:52px;height:36px;padding:2px}.switch{cursor:pointer;align-items:center;gap:10px;font-size:14px;display:flex}.switch input{width:18px;height:18px;accent-color:var(--green)}.switch.big{font-size:15px;font-weight:500}.field.slider span{justify-content:space-between;display:flex}.field.slider b{color:var(--ink);font-variant-numeric:tabular-nums;font-weight:500}input[type=range]{width:100%;accent-color:var(--green)}.grid2{grid-template-columns:1fr 1fr;gap:14px;display:grid}.stepper{border:1px solid var(--line-strong);background:#fff9;border-radius:12px;align-items:center;gap:6px;padding:4px;display:flex}.stepper button{border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.stepper button:hover:not(:disabled){background:#434f3d14}.stepper strong{text-align:center;flex:1;font-size:16px}.swatches{gap:10px;display:flex}.swatches button{border-radius:50%;width:30px;height:30px;box-shadow:inset 0 0 0 2px #fff9}.swatches button.on{outline:2px solid var(--ink);outline-offset:2px}hr{border:0;border-top:1px solid var(--line);margin:4px 0}.brand{white-space:nowrap;align-items:center;gap:11px;display:flex}.brand-mark{grid-template-rows:repeat(2,8px);grid-template-columns:repeat(2,8px);gap:3px;display:grid;transform:rotate(-8deg)}.brand-mark i{background:#60745a;border-radius:2px}.brand-mark i:nth-child(2){background:#a3ac89}.brand-mark i:nth-child(3){background:#b09a74}.brand-mark i:nth-child(4){background:#d0ad82}.brand-word{letter-spacing:-.6px;font-family:Georgia,serif;font-size:23px}.brand-word em{color:#8c9480;padding:0 7px;font-style:normal}.brand-word b{font-style:italic;font-weight:400}.home{isolation:isolate;grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1fr) 430px;gap:0 48px;height:100%;padding:28px 44px 40px;display:grid;position:relative;overflow-y:auto}.home-backdrop{z-index:-1;opacity:.95;position:fixed;inset:0}.home-backdrop:after{content:"";pointer-events:none;background:linear-gradient(90deg,#e9e6ddeb 0,#e9e6dd8c 34%,#e9e6dd00 55%,#e9e6dd40 70%,#e9e6dde6 100%);position:absolute;inset:0}.home-top{grid-column:1/-1;justify-content:space-between;align-items:center;height:48px;display:flex}.home-hero{align-self:center;gap:16px;max-width:500px;padding:8px 0 4px;display:grid}.eyebrow{letter-spacing:2.2px;color:#76806a;font-size:10px}.home-hero h1{font-family:var(--serif);letter-spacing:.5px;color:#2f3b31;font-size:clamp(30px,3vw,40px);font-weight:500;line-height:1.3}.home-hero>p{color:#56614f;max-width:480px;font-size:14.5px;line-height:1.75}.home-hero .ghost{background:#faf8f0cc;justify-self:start}.home-hero .ghost small{color:var(--muted);margin-left:2px;font-size:11px}.home-card{background:var(--card);-webkit-backdrop-filter:blur(14px);box-shadow:var(--shadow);border:1px solid #ffffffb3;border-radius:24px;align-self:center;gap:18px;max-height:calc(100vh - 140px);padding:28px;display:grid;overflow-y:auto}.home-card h2{font-family:var(--serif);font-size:22px;font-weight:500;line-height:1.4}.home-card .center{place-items:center;min-height:120px;display:grid}.card-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.signin{gap:14px;display:grid}.signin p{font-size:14px;line-height:1.7}.empty{padding:6px 0;font-size:14px;line-height:1.7}.world-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.world-list li{align-items:center;gap:4px;display:flex}.world-item{text-align:left;border:1px solid var(--line);background:#ffffff8c;border-radius:14px;flex:1;align-items:center;gap:14px;min-width:0;padding:13px 14px;display:flex}.world-item:hover{border-color:var(--line-strong);background:#fff}.world-item .meta{flex:1;gap:3px;min-width:0;display:grid}.world-item strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500;overflow:hidden}.world-item small{color:var(--muted);font-size:12px}.cast-dots{display:flex}.cast-dots i{border:2px solid #faf8f0;border-radius:50%;width:16px;height:16px;margin-left:-5px}.cast-dots i:first-child{margin-left:0}.create{gap:16px;display:grid}.examples{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.examples small{color:var(--muted);margin-right:2px;font-size:12px}.examples .chip{min-height:28px;padding:4px 10px;font-size:12px}.game{isolation:isolate;height:100%;position:relative;overflow:hidden}.viewport{z-index:0;touch-action:none;position:absolute;inset:0}.world-canvas{position:absolute;inset:0}.world-canvas canvas{outline:none;display:block}.world-label-layer{pointer-events:none;z-index:1;position:absolute;inset:0;overflow:hidden}.avatar-tags{flex-direction:column;align-items:center;gap:6px;display:flex;transform:translateY(-50%)}.name-tag{white-space:nowrap;background:#faf8f0e0;border:1px solid #434f3d1f;border-radius:999px;align-items:center;gap:6px;width:max-content;padding:4px 10px 4px 8px;font-size:12px;display:inline-flex;position:relative;box-shadow:0 3px 10px #2832281f}.name-tag:before{content:"";position:absolute;inset:-8px}.name-tag .dot,.cast-chip .dot{background:var(--accent);border-radius:50%;width:8px;height:8px}.name-tag.selected{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 35%,transparent);background:#fff}.name-tag.player{font-weight:600}.speech-bubble{border-left:3px solid var(--accent);color:#2f3a31;text-align:left;word-break:break-word;background:#fffdf7;border-radius:14px;gap:2px;width:max-content;max-width:min(250px,56vw);padding:9px 13px;font-size:13px;line-height:1.6;display:grid;box-shadow:0 8px 24px #2832282e}.speech-bubble small{color:var(--muted);letter-spacing:.3px;font-size:10px}.speech-bubble.mine{background:#f3efe2}@keyframes pop{0%{opacity:0;transform:translateY(6px)scale(.96)}}.thinking-dots{background:#faf8f0e6;border-radius:12px;gap:4px;padding:7px 10px;display:flex}.thinking-dots i{background:#8a9480;border-radius:50%;width:6px;height:6px;animation:1.2s infinite blink}.thinking-dots i:nth-child(2){animation-delay:.2s}.thinking-dots i:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.25}40%{opacity:1}}.hud-top{z-index:20;pointer-events:none;align-items:center;gap:16px;display:flex;position:absolute;top:20px;left:24px;right:24px}.hud-top>*{pointer-events:auto}.world-chip{background:var(--card);-webkit-backdrop-filter:blur(12px);border-radius:999px;align-items:center;gap:12px;min-width:0;padding:8px 14px;display:flex;box-shadow:0 4px 14px #28322814}.world-chip strong{font-family:var(--serif);white-space:nowrap;text-overflow:ellipsis;max-width:220px;font-size:15px;font-weight:500;overflow:hidden}.clock{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-size:12px;display:inline-flex}.pill{color:var(--muted);white-space:nowrap;background:#434f3d14;border-radius:999px;padding:3px 9px;font-size:11px}.pill.live{color:#2f6a43;background:#44825a24}.pill.live:before{content:"";vertical-align:1px;background:#3e9a5c;border-radius:50%;width:6px;height:6px;margin-right:6px;animation:2s infinite blink;display:inline-block}.pill.warn{color:var(--warn);background:#a7752c26}.pill.demo{color:#9a5530;background:#c8794f26}.hud-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.hud-btn{background:var(--card);-webkit-backdrop-filter:blur(12px);border-radius:999px;align-items:center;gap:7px;height:38px;padding:0 14px;font-size:13px;display:inline-flex;box-shadow:0 4px 14px #28322814}.hud-btn:hover:not(:disabled){background:#fff}.hud-btn.on{color:#f3efe2;background:#2f3d33}.hud-btn.primary{background:var(--green);color:var(--green-ink)}.hud-btn.icon{justify-content:center;width:38px;padding:0}.meter{background:var(--card);color:var(--muted);font-variant-numeric:tabular-nums;border-radius:12px;gap:4px;min-width:130px;padding:6px 12px 7px;font-size:11px;display:grid;position:relative}.meter:after{content:"";background:#434f3d1f;border-radius:2px;height:3px}.meter i{background:#6f8f72;border-radius:2px;max-width:calc(100% - 24px);height:3px;position:absolute;bottom:7px;left:12px}.meter.empty i{background:var(--warn)}.cast{z-index:15;flex-direction:column;align-items:flex-start;gap:6px;max-height:calc(100% - 260px);padding:2px;display:flex;position:absolute;bottom:118px;left:24px;overflow-y:auto}.cast-chip{background:var(--card);-webkit-backdrop-filter:blur(10px);white-space:nowrap;border-radius:999px;align-items:center;gap:8px;padding:7px 12px;font-size:13px;display:inline-flex;box-shadow:0 2px 8px #28322814}.cast-chip:hover{background:#fff}.cast-chip.on{box-shadow:0 0 0 2px var(--accent)}.cast-chip.me{font-weight:600}.bars{align-items:flex-end;gap:2px;height:10px;display:inline-flex}.bars i{background:var(--accent);width:2px;animation:.7s infinite alternate bar}.bars i:nth-child(2){animation-delay:.2s}.bars i:nth-child(3){animation-delay:.4s}@keyframes bar{0%{height:3px}to{height:10px}}.composer-wrap{z-index:18;gap:8px;width:min(720px,100% - 48px);display:grid;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.composer{background:var(--card);-webkit-backdrop-filter:blur(14px);box-shadow:var(--shadow);border-radius:999px;align-items:center;gap:8px;padding:6px;display:flex}.composer .target{text-overflow:ellipsis;white-space:nowrap;max-width:40%;height:40px;color:var(--muted);background:#434f3d12;border-radius:999px;flex-shrink:0;padding:0 14px;font-size:13px;overflow:hidden}.composer .target.person{background:color-mix(in srgb,var(--accent) 18%,#fff);color:var(--ink)}.composer input{box-shadow:none!important;background:0 0!important;border:0!important;padding:8px 6px!important;font-size:15px!important}.composer .send{background:var(--green);width:42px;height:42px;color:var(--green-ink);border-radius:50%;place-items:center;display:grid}.quick{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.quick button{-webkit-backdrop-filter:blur(8px);background:#faf8f0c7;border-radius:999px;padding:5px 11px;font-size:12px}.quick button:hover{background:#fff}.paused-card{z-index:19;background:var(--card);-webkit-backdrop-filter:blur(14px);width:min(560px,100% - 48px);box-shadow:var(--shadow);border-radius:20px;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px 16px 22px;animation:.25s ease-out pop;display:flex;position:absolute;bottom:128px;left:50%;transform:translate(-50%)}.paused-card strong{font-family:var(--serif);font-size:17px;font-weight:500}.paused-card p{color:var(--muted);margin-top:3px;font-size:13px;line-height:1.6}.paused-card select{width:auto;min-width:150px;padding:8px 30px 8px 12px;font-size:13px}.paused-card.slim{padding:12px 14px 12px 20px}.person-panel{z-index:22;background:var(--card);-webkit-backdrop-filter:blur(16px);width:360px;box-shadow:var(--shadow);border-radius:22px;flex-direction:column;animation:.22s ease-out slide;display:flex;position:absolute;top:76px;bottom:20px;right:20px;overflow:hidden}@keyframes slide{0%{opacity:0;transform:translate(16px)}}.person-panel>header{border-bottom:1px solid var(--line);align-items:flex-start;gap:14px;padding:20px 16px 14px 20px;display:flex}.person-panel>header>div{flex:1;gap:3px;min-width:0;display:grid}.person-panel h2{font-family:var(--serif);font-size:22px;font-weight:500}.person-panel header p{color:var(--muted);font-size:13px}.person-panel header .status{color:var(--ink);font-size:12px}.portrait{background:color-mix(in srgb,var(--accent) 30%,#fff);border-radius:16px;flex-shrink:0;place-items:center;width:50px;height:50px;display:grid}.portrait i{background:var(--accent);width:20px;height:20px;box-shadow:0 14px 0 4px color-mix(in srgb,var(--accent) 70%,#fff);border-radius:50%}.panel-actions{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;padding:12px 20px;display:flex}.panel-body{flex:1;align-content:start;gap:18px;padding:16px 20px 22px;display:grid;overflow-y:auto}.panel-body section{gap:6px;display:grid}.panel-body h3{letter-spacing:1px;color:var(--muted);text-transform:uppercase;align-items:center;gap:6px;font-size:11px;font-weight:500;display:flex}.panel-body p{font-size:14px;line-height:1.75}.panel-body .two{grid-template-columns:1fr 1fr;gap:14px}.mind{background:color-mix(in srgb,var(--accent) 10%,#fff);border-radius:14px;padding:12px 14px}.mind p{color:#4a5547;font-style:italic}.relations,.memories{gap:10px;margin:0;padding:0;list-style:none;display:grid}.relations li{grid-template-columns:auto 1fr auto;align-items:center;gap:6px 10px;font-size:13px;display:grid}.relations .bar{background:#434f3d1a;border-radius:3px;height:5px;overflow:hidden}.relations .bar i{background:#6f8f72;border-radius:3px;height:100%;display:block}.relations .bar i.neg{background:#b8735e}.relations .score{font-variant-numeric:tabular-nums;color:var(--muted);font-size:12px}.relations small{color:var(--muted);grid-column:1/-1;font-size:12px;line-height:1.5}.memories li{gap:2px;font-size:13px;line-height:1.65;display:grid}.memories small{color:var(--muted);font-size:11px}.sheet{z-index:30;width:400px;max-height:calc(100% - 96px);box-shadow:var(--shadow);background:#faf8f1;border-radius:22px;flex-direction:column;animation:.2s ease-out slide;display:flex;position:absolute;top:76px;right:20px}.sheet>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:16px 14px 12px 20px;display:flex}.sheet h2{font-family:var(--serif);font-size:19px;font-weight:500}.sheet-body{padding:16px 20px 22px;overflow-y:auto}.history{gap:12px;display:grid}.history .line{border-left:3px solid var(--accent,#c9c3b2);gap:3px;padding-left:10px;display:grid}.history .line header{color:var(--muted);align-items:baseline;gap:6px;font-size:12px;display:flex}.history .line header strong{color:var(--ink);font-size:13px;font-weight:600}.history .line time{font-variant-numeric:tabular-nums;margin-left:auto;font-size:11px}.history .line p{font-size:14px;line-height:1.7}.history .line.event{border-left-color:var(--warn)}.history .line.event header{align-items:center}.history .sys{color:var(--muted);text-align:center;padding:2px 0;font-size:12px}.history .sys.warn{color:var(--warn)}.events{gap:14px;display:grid}.events p{font-size:13px;line-height:1.6}.chips{gap:8px;display:grid}.events form input{flex:1;min-width:0}.settings{gap:16px;display:grid}.arrange{z-index:20;background:var(--card);-webkit-backdrop-filter:blur(14px);width:min(860px,100% - 32px);box-shadow:var(--shadow);border-radius:22px;gap:12px;padding:16px 18px;display:grid;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.arrange>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.arrange h2{font-family:var(--serif);font-size:18px;font-weight:500}.arrange header p{margin-top:2px;font-size:12px}.palette,.item-tools{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.palette button,.item-tools button{border:1px solid var(--line-strong);background:#fff9;border-radius:999px;align-items:center;gap:5px;padding:7px 11px;font-size:12px;display:inline-flex}.palette button:hover,.item-tools button:hover{background:#fff}.item-tools button.on{color:#f3efe2;background:#2f3d33;border-color:#2f3d33}.item-tools strong{margin-right:6px;font-size:13px}.arrange .ai{color:var(--muted);flex-wrap:nowrap}.arrange .ai input{flex:1;min-width:0;padding:8px 12px}.toast{z-index:40;color:#f3efe2;max-width:calc(100% - 32px);box-shadow:var(--shadow);background:#2f3d33;border-radius:14px;align-items:center;gap:12px;padding:10px 10px 10px 18px;font-size:13px;line-height:1.5;animation:.2s ease-out pop;display:flex;position:absolute;top:76px;left:50%;transform:translate(-50%)}.toast a{white-space:nowrap;text-decoration:underline}.toast button{color:#cfd6c7;border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.center-card{text-align:center;background:var(--card);width:min(420px,100% - 32px);height:fit-content;box-shadow:var(--shadow);border-radius:24px;justify-items:center;gap:14px;margin:auto;padding:32px 28px;display:grid;position:absolute;inset:0}.center-card.wide{width:min(480px,100% - 32px)}.center-card h2{font-family:var(--serif);font-size:22px;font-weight:500}.center-card p{color:var(--muted);font-size:14px;line-height:1.7}@media (width>=821px){.game.has-panel .composer-wrap,.game.has-panel .paused-card{width:min(640px,100% - 440px);left:calc(50% - 190px)}}.swatch-row{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.swatch-row>button,.swatch-custom{border-radius:50%;width:26px;height:26px;position:relative;box-shadow:inset 0 0 0 2px #ffffff8c,0 0 0 1px #434f3d2e}.swatch-row>button.on,.swatch-custom.on{outline:2px solid var(--ink);outline-offset:2px}.swatch-custom{cursor:pointer;background:conic-gradient(#e66,#ec6,#6c6,#6ce,#66e,#c6e,#e66);place-items:center;display:inline-grid}.swatch-custom input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.choice-row{flex-wrap:wrap;gap:6px;display:flex}.choice-row button{border:1px solid var(--line-strong);background:#ffffff8c;border-radius:999px;padding:6px 11px;font-size:12.5px;line-height:1.3}.choice-row button:hover{background:#fff}.choice-row button.on{color:#f3efe2;background:#2f3d33;border-color:#2f3d33}.seg{background:#434f3d14;border-radius:999px;gap:2px;padding:3px;display:inline-flex}.seg button{color:var(--muted);border-radius:999px;padding:5px 12px;font-size:12px}.seg button.on{color:var(--ink);background:#fff;box-shadow:0 1px 4px #2832281f}.stepper.small{border-radius:999px;width:auto;padding:2px}.stepper.small button{border-radius:50%;width:28px;height:28px}.stepper.small strong{min-width:24px;font-size:14px}.face{flex-shrink:0;width:30px;height:34px;display:inline-block;position:relative}.face i{background:var(--skin);width:20px;height:21px;box-shadow:inset 0 7px 0 0 var(--hair);border-radius:50%;position:absolute;top:1px;left:5px}.face b{background:var(--shirt);border-radius:12px 12px 4px 4px;width:26px;height:11px;position:absolute;bottom:0;left:2px}.toast.error{background:#7a3328}.small-note{font-size:12px}.creator-backdrop{z-index:60;-webkit-backdrop-filter:blur(3px);background:#282e2852;place-items:center;padding:20px;animation:.18s ease-out pop;display:grid;position:fixed;inset:0}.creator{background:#faf8f1;border-radius:26px;grid-template-columns:minmax(0,1fr) 470px;width:min(1080px,100%);height:min(760px,100%);display:grid;overflow:hidden;box-shadow:0 30px 80px #1e281e4d}.creator-stage{background:radial-gradient(circle at 50% 38%,#fffdf6 0,color-mix(in srgb,var(--accent) 16%,#ece7da) 70%);flex-direction:column;min-height:0;display:flex;position:relative}.creator-stage>header{z-index:2;pointer-events:none;justify-content:space-between;align-items:center;display:flex;position:absolute;top:18px;left:22px;right:14px}.creator-stage>header h2{font-family:var(--serif);font-size:20px;font-weight:500}.creator-stage>header button{pointer-events:auto}.mobile-close{display:none!important}.avatar-preview{touch-action:none;flex:1;min-height:0}.avatar-preview canvas{outline:none;display:block}.stage-tools{flex-wrap:wrap;justify-content:center;gap:6px;width:calc(100% - 32px);display:flex;position:absolute;bottom:64px;left:50%;transform:translate(-50%)}.stage-tools .tool{background:#ffffffbf;border-radius:999px;align-items:center;gap:5px;padding:6px 11px;font-size:12px;display:inline-flex;box-shadow:0 2px 8px #28322814}.stage-tools .tool.on{color:#f3efe2;background:#2f3d33}.stage-tools .seg{background:#fff9}.stage-name{text-align:center;gap:1px;display:grid;position:absolute;bottom:18px;left:0;right:0}.stage-name strong{font-family:var(--serif);font-size:18px;font-weight:500}.stage-name small{color:var(--muted);font-size:12px}.creator-edit{border-left:1px solid var(--line);flex-direction:column;min-height:0;display:flex}.creator-edit>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:14px 14px 10px 20px;display:flex}.cc-tabs{gap:4px;display:flex}.cc-tabs button{color:var(--muted);border-radius:999px;padding:7px 14px;font-size:14px}.cc-tabs button.on{color:#f3efe2;background:#2f3d33}.cc-ai{background:color-mix(in srgb,var(--accent) 9%,#fbf9f2);border-bottom:1px solid var(--line);gap:9px;padding:14px 20px;display:grid}.cc-ai .field>span{color:var(--ink);align-items:center;gap:5px;display:flex}.cc-ai textarea{font-size:13px}.cc-note{padding:8px 20px 0;font-size:13px}.cc-body{flex:1;align-content:start;gap:16px;padding:16px 20px 20px;display:grid;overflow-y:auto}.cc-group{border-bottom:1px dashed var(--line);gap:9px;padding-bottom:14px;display:grid}.cc-group:last-child{border-bottom:0}.cc-group h3{letter-spacing:1px;color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:500}.cc-sub{color:var(--muted);font-size:11.5px}.creator-edit>footer{border-top:1px solid var(--line);background:#f6f3ea;align-items:center;gap:8px;padding:12px 20px;display:flex}.spacer{flex:1}.experiences{gap:10px;margin-top:4px;display:grid}.experiences>header h2{font-family:var(--serif);font-size:19px;font-weight:500}.experiences>header p{color:var(--muted);margin-top:3px;font-size:13px;line-height:1.7}.experiences ul{gap:10px;margin:0;padding:0;list-style:none;display:grid}.exp{-webkit-backdrop-filter:blur(10px);background:#faf8f0db;border:1.5px solid #0000;border-radius:18px;grid-template-columns:72px 1fr;align-items:stretch;gap:12px;padding:8px;display:grid;box-shadow:0 4px 18px #28322814}.exp-art{border-radius:12px;place-items:end center;min-height:72px;padding-bottom:8px;display:grid;overflow:hidden}.exp.watching{border-color:#6f8f72}.exp .row .ghost.on{color:#f3efe2;background:#2f3d33;border-color:#2f3d33}.exp .row .small{min-height:30px;padding:0 11px;font-size:12px}.exp-title{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.v-cafe .exp-art,.venue-card.v-cafe{--v1:#e8dcc4;--v2:#b9c7a8}.v-izakaya .exp-art,.venue-card.v-izakaya{--v1:#5a3f2c;--v2:#d8573f}.v-rooftop .exp-art,.venue-card.v-rooftop{--v1:#f1c79a;--v2:#5d6f8f}.exp-art{background:linear-gradient(160deg,var(--v1),var(--v2))}.heads{display:flex}.heads .face{margin-left:-13px;transform:scale(.66)}.heads .face:first-child{margin-left:0}.exp-text{align-content:center;gap:3px;min-width:0;display:grid}.exp-text small{letter-spacing:1.4px;color:var(--muted);text-transform:uppercase;font-size:10.5px}.exp-text strong{font-family:var(--serif);font-size:16px;font-weight:500}.exp-text p{color:#56614f;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12.5px;line-height:1.55;display:-webkit-box;overflow:hidden}.exp-text p.exp-title{-webkit-line-clamp:unset;display:flex}.exp-text .row{gap:5px;margin-top:4px}.venue-cards .v-custom{--v1:#e9e4d6;--v2:#9aa893;color:#2f3b31;box-shadow:none;border:1.5px dashed #9aa893}.venue-cards .v-custom strong,.venue-cards .v-custom small{text-shadow:none}.venue-cards .v-custom.on{border:2px solid #2f3d33}.custom-place{border-color:#9aa893}.weather-picker{gap:10px;display:grid}.weather-row{flex-wrap:wrap;gap:6px;display:flex}.weather-row button{border:1px solid var(--line-strong);background:#ffffff8c;border-radius:999px;align-items:center;gap:5px;padding:6px 11px;font-size:12.5px;display:inline-flex}.weather-row button:hover:not(:disabled){background:#fff}.weather-row button.on{color:#f3efe2;background:#2f3d33;border-color:#2f3d33}.weather-section{border-bottom:1px solid var(--line);gap:10px;padding-bottom:14px;display:grid}.weather-section h3{letter-spacing:1px;color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:500}.clock.weather{border-left:1px solid var(--line);padding-left:10px}.history .sys.weather-line{justify-content:center;align-items:center;gap:6px;display:flex}.listen-btn{justify-self:start}.ai-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ai-model{color:var(--muted);align-items:center;gap:6px;min-width:0;font-size:12px;display:flex}.ai-model .select{flex:1;min-width:0}.ai-model select{max-width:190px;padding:6px 28px 6px 10px;font-size:12.5px}.cc-ai .ai-model select{max-width:240px}.ai-limits{color:var(--muted);font-size:12px}.ai-limits summary{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:5px;padding:5px 2px;list-style:none;display:inline-flex}.ai-limits summary::-webkit-details-marker{display:none}.ai-limits summary em{color:var(--ink);font-style:normal}.ai-limits[open] summary svg{transform:rotate(180deg)}.ai-limits-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin-top:6px;display:grid}.ai-limits[open]{flex-basis:100%}.ai-limits-body label{gap:3px;display:grid}.ai-limits-body input{width:100%;padding:6px 10px;font-size:12.5px}.ai-limits-body small{grid-column:1/-1;line-height:1.45}@media (width>=821px) and (height<=860px){.experiences>header p{display:none}.home-hero>p{line-height:1.6}.home-hero{gap:12px}}.create-ways{gap:8px;display:grid}.way{text-align:left;border:1px solid var(--line-strong);background:#fff9;border-radius:16px;align-items:flex-start;gap:12px;padding:14px;display:flex}.way:hover:not(:disabled){background:#fff;border-color:#9aa893}.way svg{color:var(--green);margin-top:2px}.way span{gap:3px;display:grid}.way strong{font-size:14.5px;font-weight:600}.way small{color:var(--muted);font-size:12.5px;line-height:1.55}.cast-chip.add{color:var(--muted);border:1px dashed var(--line-strong);background:#faf8f0b3}.studio{isolation:isolate;background:#e9e6dd;height:100%;position:relative;overflow:hidden}.studio-view{z-index:0;touch-action:none;position:absolute;inset:0 0 0 440px}.studio-hint{color:var(--muted);white-space:nowrap;background:#faf8f0e0;border-radius:999px;padding:7px 14px;font-size:12.5px;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.studio-top{z-index:20;pointer-events:none;align-items:center;gap:14px;display:flex;position:absolute;top:16px;left:20px;right:20px}.studio-top>*{pointer-events:auto}.studio-top>.row{margin-left:auto}.studio-label{font-family:var(--serif);color:var(--muted);border-left:1px solid var(--line-strong);padding-left:12px;font-size:15px}.steps{background:var(--card);-webkit-backdrop-filter:blur(12px);border-radius:999px;gap:4px;margin-left:auto;padding:4px;display:flex;box-shadow:0 4px 14px #28322814}.steps button{color:var(--muted);border-radius:999px;align-items:center;gap:7px;padding:6px 13px 6px 7px;font-size:13px;display:inline-flex}.steps button i{background:#434f3d1a;border-radius:50%;place-items:center;width:21px;height:21px;font-size:11px;font-style:normal;display:grid}.steps button.on{color:#f3efe2;background:#2f3d33}.steps button.on i{background:#ffffff2e}.studio-panel{z-index:15;border-right:1px solid var(--line);background:#f8f6ee;align-content:start;gap:18px;width:440px;padding:76px 22px 22px;display:grid;position:absolute;top:0;bottom:0;left:0;overflow-y:auto}.studio-panel section{gap:11px;display:grid}.studio-panel h3{font-family:var(--serif);font-size:17px;font-weight:500}.studio-panel .back{justify-self:start;margin-top:6px}.sec-head{justify-content:space-between;align-items:baseline;display:flex}.ai-box{border:1px solid var(--line);background:#fff;border-radius:16px;padding:14px;box-shadow:0 2px 10px #2832280d}.ai-box .field>span{color:var(--ink);align-items:center;gap:5px;font-size:13px;display:flex}.ai-box>button{justify-self:start}.venue-cards{grid-template-columns:1fr 1fr;gap:8px;display:grid}.venue-card{text-align:left;color:#fff;background:linear-gradient(160deg,var(--v1),var(--v2));border:2px solid #0000;border-radius:14px;align-content:end;gap:4px;min-height:88px;padding:12px;display:grid;box-shadow:inset 0 -50px 40px -20px #00000059}.venue-card strong{text-shadow:0 1px 4px #0000004d;font-size:14px;font-weight:600}.venue-card small{opacity:.92;text-shadow:0 1px 3px #00000059;font-size:11px;line-height:1.45}.venue-card.on{border-color:#2f3d33;box-shadow:inset 0 -50px 40px -20px #00000059,0 0 0 3px #2f3d332e}.theme-editor{gap:12px;display:grid}.studio-furniture{border:1px solid var(--line);background:#fff;border-radius:14px;gap:10px;padding:12px;display:grid}.studio-furniture .ai{color:var(--muted);flex-wrap:nowrap}.studio-furniture .ai input{flex:1;min-width:0;padding:8px 12px}.event-list{gap:6px;display:grid}.event-list .row{flex-wrap:nowrap}.event-list input{flex:1;padding:8px 11px;font-size:13px}.cast-cards{gap:7px;margin:0;padding:0;list-style:none;display:grid}.cast-cards li{align-items:center;gap:4px;display:flex}.cast-card{text-align:left;border:1px solid var(--line);border-left:4px solid var(--accent);background:#fff;border-radius:14px;flex:1;align-items:center;gap:12px;min-width:0;padding:10px 13px;display:flex}.cast-card:hover{border-color:var(--line-strong)}.cast-card .meta{flex:1;gap:2px;min-width:0;display:grid}.cast-card strong{font-size:14.5px;font-weight:600}.cast-card small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.cast-card svg{color:var(--muted)}.badge{background:color-mix(in srgb,var(--accent) 22%,#fff);border-radius:999px;padding:2px 7px;font-size:10.5px;font-style:normal}.checks{gap:8px;margin:0;padding:0;list-style:none;display:grid}.checks li{color:var(--muted);align-items:center;gap:9px;font-size:14px;display:flex}.checks li svg{color:#0000;background:#434f3d1a;border-radius:50%;width:20px;height:20px;padding:3px}.checks li.ok{color:var(--ink)}.checks li.ok svg{color:#fff;background:#3e7a52}.studio.night,.game.night{background:#8f9c97}.game.night .hud-top .brand-word{color:#eee8da}.game.night .hud-top .brand-word em{color:#b9b3a4}@media (width<=1100px){.home{grid-template-columns:minmax(0,1fr) 390px;gap:0 28px;padding:24px 28px}.hud-btn span{display:none}.hud-btn{justify-content:center;width:38px;padding:0}.hud-btn.primary span{display:inline}.hud-btn.primary{width:auto;padding:0 14px}}@media (width<=820px){body{overflow:auto}.home{height:auto;min-height:100%;padding:18px 16px 32px;display:block;overflow:visible}.home-backdrop{height:430px;position:absolute;bottom:auto}.home-backdrop:after{background:linear-gradient(#e9e6dd33 0,#e9e6dd40 60%,#e9e6dd 100%)}.home-hero{gap:14px;padding:180px 0 24px}.home-hero h1{font-size:30px}.home-hero>p{font-size:14px}.home-card{border-radius:20px;max-height:none;padding:22px 18px}.grid2{grid-template-columns:1fr}.hud-top{flex-wrap:wrap;gap:8px;top:12px;left:12px;right:12px}.hud-top .brand-word{display:none}.world-chip{flex:1;gap:8px;padding:7px 12px}.world-chip strong{max-width:120px;font-size:14px}.world-chip .pill{display:none}.world-chip .clock.weather span,.world-chip .clock.weather{font-size:11px}.hud-actions{flex-wrap:wrap;justify-content:flex-end;width:100%}.meter{flex:1;min-width:0}.cast{scrollbar-width:none;flex-flow:row;max-width:calc(100% - 24px);max-height:none;inset:118px 12px auto;overflow-x:auto}.cast-chip{padding:6px 10px;font-size:12px}.composer-wrap{width:calc(100% - 24px);bottom:12px}.composer .target{max-width:34%;padding:0 10px;font-size:12px}.person-panel,.sheet{border-radius:22px 22px 0 0;width:auto;max-height:72%;inset:auto 0 0}.game.has-panel .composer-wrap{display:none}.paused-card{flex-direction:column;align-items:stretch;width:calc(100% - 24px);padding:16px;bottom:118px}.paused-card .row{justify-content:space-between}.paused-card select{flex:1}.arrange{border-radius:22px 22px 0 0;width:100%;bottom:0}.toast{top:auto;bottom:130px}.panel-body .two{grid-template-columns:1fr}.creator-backdrop{place-items:end stretch;padding:0}.creator{border-radius:0;grid-template-rows:38% 1fr;grid-template-columns:1fr;height:100%}.creator-edit{border-left:0;border-top:1px solid var(--line)}.creator-edit>header .icon-btn{display:none}.mobile-close{display:grid!important}.stage-tools{top:52px;bottom:auto}.stage-name{bottom:8px}.exp{grid-template-columns:76px 1fr}.studio-view{height:42%;inset:0 0 auto}.studio-panel{border-right:0;border-top:1px solid var(--line);width:auto;padding:18px 16px 28px;top:42%;right:0}.studio-top{flex-wrap:wrap;gap:8px;top:10px;left:12px;right:12px}.studio-top .brand-word,.studio-label{display:none}.steps{order:3;justify-content:space-between;width:100%;margin-left:0}.steps button{padding:5px 9px 5px 5px;font-size:12px}.studio-top .hud-btn:not(.primary) span,.studio-hint{display:none}.venue-cards{grid-template-columns:1fr 1fr}.venue-card small{display:none}.venue-card{min-height:64px}}@media (height<=500px){.cast{display:none}.hud-top{top:10px;left:12px;right:12px}.hud-btn span{display:none}.hud-btn{justify-content:center;width:36px;height:36px;padding:0}.hud-btn.primary span{display:inline}.hud-btn.primary{width:auto;padding:0 12px}.paused-card{flex-flow:wrap;gap:10px;width:min(300px,45%);padding:12px 14px;inset:60px 12px auto auto;transform:none}.paused-card p{display:none}.paused-card .row{flex-wrap:nowrap;width:100%}.paused-card select{flex:1;min-width:0}.composer-wrap{width:min(560px,100% - 24px);bottom:10px}.quick{display:none}.person-panel,.sheet{max-height:none;top:56px;bottom:10px}}@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}
