.tool-page{height:calc(100dvh - 65px);display:flex;flex-direction:column}.poser{flex:1;min-height:0;display:grid;grid-template-columns:330px 1fr 300px}.poser-lib,.poser-side{min-height:0;display:flex;flex-direction:column;background:#131318}.poser-lib{border-right:1px solid #1f1f27}.poser-side{border-left:1px solid #1f1f27;overflow-y:auto}.lib-head{padding:12px 12px 8px;display:grid;gap:10px;border-bottom:1px solid #1f1f27}.lib-head input[type=search]{width:100%;background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:9px 14px;color:var(--strong)}.lib-head .cat-row{flex-wrap:nowrap}.lib-head .cat-chip{padding:6px 11px;font-size:13px}.lib-grid{overflow-y:auto;padding:10px 12px 16px;display:grid;grid-template-columns:repeat(2,1fr);gap:6px;align-content:start}.lib-grid .pose-tile{border:0;padding:0;cursor:pointer;width:100%}.lib-grid{grid-auto-rows:max-content}button.pose-tile{aspect-ratio:auto}button.pose-tile img{aspect-ratio:3 / 4;height:auto}.lib-grid .more{grid-column:1 / -1;margin-top:6px}.poser-stage{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column;background:#1c1c21}.stage{flex:1;min-height:0;position:relative}.stage canvas{display:block}.stage-bar{position:absolute;top:10px;left:10px;right:10px;display:flex;flex-wrap:wrap;gap:6px;pointer-events:none}.stage-bar>*,.stage-bar .views>*{pointer-events:auto}.stage-bar .views{display:inline-flex;gap:4px;margin-left:auto;flex-wrap:wrap}.stage-bar .btn-line{background:#101014b3}.stage-hint{margin:0;padding:9px 14px;font-size:13.5px;color:var(--muted);background:#141419;border-top:1px solid #1f1f27}.stage-hint b{color:var(--strong)}.linklike{background:none;border:0;padding:0;color:var(--accent);cursor:pointer;font-size:inherit}.side-tabs{display:none}.side-body{padding:14px 16px;border-bottom:1px solid #1f1f27;display:grid;gap:10px;align-content:start}.side-body h3{margin:4px 0 0;font-size:14px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted)}.field{display:grid;gap:5px;font-size:14px;color:var(--text)}.time-own{display:flex;gap:10px}.time-own .field{flex:1}.field select,.field input[type=text],.field input[type=number],.scenes input{background:var(--surface-2);border:1px solid var(--line);border-radius:8px;padding:8px 10px;color:var(--strong);width:100%}.field input[type=range]{width:100%;accent-color:var(--accent)}.check{display:flex;gap:8px;align-items:center;font-size:14px}.check input{accent-color:var(--accent);width:18px;height:18px}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{border:0;background:var(--surface-2);color:var(--strong);padding:7px 12px;border-radius:999px;cursor:pointer;font-size:13.5px}.chip:hover{background:var(--surface-3)}.chip.on{background:var(--strong);color:var(--bg)}.fig-list{display:flex;flex-wrap:wrap;gap:6px}.scenes{display:grid;gap:8px}.scenes .row{display:flex;gap:6px}.scene-row{display:flex;justify-content:space-between;gap:10px;font-size:14px}.modal-back{position:fixed;inset:0;background:#060609b3;display:grid;place-items:center;z-index:80;padding:16px}.modal{position:relative;width:min(520px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;background:var(--surface);border:1px solid rgba(243,180,67,.4);border-radius:16px;padding:26px;box-shadow:0 24px 60px #0009}.modal h2{font-size:24px}.modal .eyebrow{color:var(--gold)}.modal-x{position:absolute;top:10px;right:12px;background:none;border:0;color:var(--muted);font-size:26px;cursor:pointer}.up-pose{float:right;width:90px;height:120px;object-fit:cover;border-radius:8px;margin:0 0 8px 12px}.up-list{padding-left:18px;margin:10px 0 16px}.up-buy{display:grid;gap:8px;margin-bottom:10px}@media(max-width:1000px){.tool-page{height:auto}.poser{grid-template-columns:1fr;grid-template-rows:auto}.poser-stage{order:1;height:62vh;min-height:380px}.poser-side{order:2;border-left:0;overflow:visible}.poser-lib{order:3;border-right:0}.side-tabs{display:flex;gap:4px;padding:8px;position:sticky;top:0;background:#131318;z-index:2;border-bottom:1px solid #1f1f27;overflow-x:auto}.side-tabs button{flex:1;border:0;background:var(--surface-2);color:var(--text);border-radius:999px;padding:8px 10px;font-size:13.5px;white-space:nowrap}.side-tabs button.on{background:var(--strong);color:var(--bg)}.poser:not(.tab-poses) .poser-lib{display:none}.poser.tab-poses .side-body,.poser.tab-figure .side-light,.poser.tab-figure .side-save,.poser.tab-light .side-figure,.poser.tab-light .side-save,.poser.tab-save .side-figure,.poser.tab-save .side-light{display:none}.lib-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));max-height:none;overflow:visible}.poser-stage{height:auto;min-height:0}.stage{height:58vh;min-height:340px;flex:none}.stage-bar{position:static;order:-1;flex-wrap:nowrap;overflow-x:auto;padding:8px 56px 8px 8px;gap:5px;background:#141419;scrollbar-width:none;mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent)}.stage-bar .views{margin-left:0;flex-wrap:nowrap}.stage-bar .btn-sm{min-height:32px;padding:0 10px;font-size:13px;flex:none}}.gesture{flex:1;min-height:0;display:grid;grid-template-columns:340px 1fr}.gesture-set{padding:18px;background:#131318;border-right:1px solid #1f1f27;overflow-y:auto;display:grid;gap:14px;align-content:start}.gesture-stage{position:relative;min-height:0;display:flex;flex-direction:column;background:#1c1c21}.gesture-stage .stage{flex:1}.gesture-timer{position:absolute;top:12px;left:50%;transform:translate(-50%);background:#101014d9;color:var(--strong);font:800 28px/1 Inter,sans-serif;padding:10px 18px;border-radius:999px;font-variant-numeric:tabular-nums}.gesture-timer.low{color:var(--gold)}.gesture-ctrls{display:flex;gap:8px;justify-content:center;padding:10px;background:#141419;border-top:1px solid #1f1f27;flex-wrap:wrap}.gesture-count{position:absolute;top:18px;right:16px;color:var(--muted);font-size:14px}.gesture-done{padding:26px;overflow-y:auto}.gesture-done .pose-grid{margin-top:14px}@media(max-width:900px){.gesture{grid-template-columns:1fr}.gesture-stage{min-height:70vh}}
