:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#173a3e;background:#f7f5ee;font-synthesis:none;--ink: #173a3e;--muted: #4c6461;--line: #dedfd3;--coral: #a63d2b}*{box-sizing:border-box}body{margin:0;min-width:280px}button{font:inherit}button:focus-visible{outline:3px solid #236e65;outline-offset:3px}.shell{width:min(1192px,calc(100% - 72px));margin-inline:auto}.site-header{border-bottom:1px solid var(--line)}.header-inner{min-height:73px;display:flex;align-items:center}.brand{display:inline-flex;align-items:center;gap:12px;font-weight:780;font-size:19px;letter-spacing:-.025em}.brand-mark{width:35px;height:35px;display:grid;place-content:center;gap:3px;border-radius:12px;background:#b9442f;transform:rotate(-7deg)}.brand-mark i{display:block;width:17px;height:3px;border-radius:4px 8px 8px 4px;background:#fff3d4;transform:skewY(-12deg)}.brand-mark i:nth-child(2){width:13px}.brand-mark i:nth-child(3){width:9px}main.shell{padding:46px 0 56px}.intro{margin-bottom:28px}.intro h1{margin:0;font:700 clamp(46px,6vw,82px)/.99 Georgia,"Times New Roman",serif;letter-spacing:-.067em}.intro p{max-width:36em;margin:17px 0 0;font-size:clamp(16px,1.65vw,19px);line-height:1.55;color:var(--muted)}.layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(280px,1fr);gap:22px;align-items:start}.world-panel{margin:0;overflow:hidden;background:#fffdf6;border:1px solid var(--line);border-radius:24px;box-shadow:0 17px 42px -33px #154a4b70}.scene{position:relative;background:#124858;aspect-ratio:16 / 10}.scene canvas{display:block;width:100%;height:100%;object-fit:cover}.scene-status{position:absolute;left:16px;bottom:16px;max-width:calc(100% - 32px);margin:0;padding:8px 14px;border:1px solid #acd9bc;border-radius:999px;background:#163f49;color:#fff;font-size:.88rem;font-weight:700}.scene-caption{display:flex;justify-content:space-between;align-items:center;min-height:52px;gap:12px;padding:11px 20px;font-size:.86rem;font-weight:700}.scene-caption>span{display:inline-flex;gap:8px;align-items:center}.scene-caption output{color:var(--muted)}.status-dot{width:8px;height:8px;border-radius:50%;background:#8a857a}.status-dot.swimming{background:#378466}.controls{display:grid;gap:15px}.control-card{padding:21px;border:1px solid var(--line);border-radius:21px;background:#fffdf6}.cast-card{background:#fff1d9;border-color:#efdebf}.cast-emblem{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#f6dbb7;margin-bottom:12px;color:#723823}.control-card h2{font-size:1.15rem;line-height:1.3;letter-spacing:-.027em;margin:0}.control-card p{margin:8px 0 15px;color:var(--muted);line-height:1.55;font-size:.91rem}.control-card .error{color:#8a2f20}.cast-actions,.world-actions{display:grid;gap:8px}.world-actions{margin-top:13px}.button,.reset{cursor:pointer;display:flex;gap:10px;align-items:center;justify-content:center;min-height:44px;width:100%;padding:8px 10px;border-radius:11px;font-size:.91rem;font-weight:720}.button:disabled,.reset:disabled{cursor:default}.primary{background:var(--coral);color:#fffdf6;border:1px solid var(--coral)}.primary:hover:enabled{background:#892f22}.primary:disabled{background:#f0dfc8;border-color:#e9d5b9;color:#665141}.secondary{background:#fffdf7;border:1px solid #dfe0d4;color:var(--ink)}.secondary:hover:enabled{background:#eaf3ea;border-color:#bccfbf}.secondary:disabled,.reset:disabled{opacity:.6}.reset{border:1px solid transparent;min-height:42px;background:transparent;color:var(--muted)}.reset:hover:enabled{color:var(--ink);background:#f1f0e7}.control-card p.capacity{margin:6px 0 0;text-align:center}.cast-icon{display:inline-block;position:relative;flex:0 0 18px;width:18px;height:13px}.cast-icon:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:1.6px solid currentColor;border-radius:2px;clip-path:polygon(0 0,100% 0,100% 100%,54% 100%,54% 34%,0 34%)}.cast-icon:after{content:"";width:9px;height:8px;position:absolute;left:0;bottom:0;background:radial-gradient(circle at 0 100%,currentColor 0 1.5px,transparent 2px 3.4px,currentColor 3.8px 4.7px,transparent 5.1px 6.3px,currentColor 6.7px 7.7px,transparent 8.2px)}.symbol{position:relative;display:inline-block;flex:0 0 15px;width:15px;height:15px}.symbol.plus:before,.symbol.plus:after{content:"";position:absolute;background:currentColor;border-radius:5px}.symbol.plus:before{width:12px;height:2px;left:1.5px;top:6.5px}.symbol.plus:after{width:2px;height:12px;top:1.5px;left:6.5px}.symbol.pause:before,.symbol.pause:after{content:"";position:absolute;width:3px;height:12px;top:1.5px;border-radius:1px;background:currentColor}.symbol.pause:before{left:3px}.symbol.pause:after{right:3px}.symbol.play:before{content:"";position:absolute;top:2px;left:4px;border-left:9px solid currentColor;border-top:5.5px solid transparent;border-bottom:5.5px solid transparent}@media(max-width:860px){.shell{width:calc(100% - 40px)}.layout{grid-template-columns:minmax(0,1fr) minmax(244px,.7fr);gap:15px}.control-card{padding:17px}}@media(max-width:660px){.shell{width:calc(100% - 32px)}.header-inner{min-height:60px}main.shell{padding:32px 0}.intro{margin-bottom:20px}.intro p{margin-top:11px}.layout{grid-template-columns:minmax(0,1fr)}.world-panel,.control-card{border-radius:17px}.scene-caption{min-height:46px;padding-inline:14px}}
