:root{--bg:#0f0f10;--fg:#e8eaed;--muted:#9aa0a6;--accent:#68d391;--surface:#1a1c1f;--surface-2:#23262a;--border:#2f3337 }*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Helvetica Neue,Arial}img{max-width:100%;display:block}button{font:inherit}.pl-app{min-height:100%;display:flex;flex-direction:column}.landing{display:flex;flex-direction:column;gap:14px;min-height:100%;padding:12px 16px 20px}.landing-header{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:8px 0 12px}.landing-title{margin:0;font-weight:700;font-size:26px;letter-spacing:-.5px;line-height:1.2;text-align:center;max-width:420px}.landing-subtitle{margin:0;color:var(--muted);font-size:14px;font-weight:400;text-align:center;max-width:400px;line-height:1.5}.landing-footer{margin-top:24px;text-align:center;padding:12px 0}.landing-footer p{margin:0;color:var(--muted);font-size:12px}.landing-footer a{color:var(--muted);text-decoration:none}.landing-footer a:hover{color:var(--fg);text-decoration:underline}.hero{display:flex;flex-direction:column;gap:16px}.hero-intro{color:var(--fg);font-size:14px;line-height:1.5;text-align:center;max-width:520px;margin:0 auto;padding:0 8px}.hero-placeholder{height:160px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:linear-gradient(120deg,#2a2f35,#1a1c1f);color:var(--muted);font-size:14px}.micro-demo{height:320px;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--bg);position:relative;border:1px solid var(--border);width:100%;max-width:640px;margin:0 auto}.micro-demo-canvas{display:block;width:100%;height:100%;object-fit:contain;touch-action:none;cursor:grab}.micro-demo-canvas:active{cursor:grabbing}.micro-demo-cycle-btn{position:absolute;bottom:6px;right:6px;height:28px;padding:0 10px;border-radius:14px;background:#0f0f10b3;border:1px solid rgba(47,51,55,.6);color:var(--fg);display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;transition:all .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);font-size:12px;font-weight:500}.micro-demo-cycle-btn:hover{background:#0f0f10d9}.micro-demo-cycle-btn:active{transform:scale(.96)}.micro-demo-cycle-btn svg{display:block;flex-shrink:0;width:14px;height:14px}.micro-demo-cycle-btn span{white-space:nowrap}.micro-demo-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#0006;z-index:10;border-radius:12px;pointer-events:none}.micro-demo-overlay p{margin:0;font-size:14px;color:var(--fg);font-weight:500}.micro-demo-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:12px}.cta{display:flex;flex-direction:column;gap:12px;margin-top:20px;max-width:400px;margin-left:auto;margin-right:auto;width:100%}.cta-privacy{margin:-4px 0 0;text-align:center;font-size:11px;color:var(--muted)}.cta-hint{margin:-4px 0 0;text-align:center;font-size:12px;color:var(--muted);line-height:1.4}.btn{appearance:none;border:1px solid var(--border);background:var(--surface);color:var(--fg);padding:10px 14px;border-radius:10px;cursor:pointer;font-size:14px;font-weight:500;min-height:40px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:var(--accent);color:#0b0f0e;border-color:var(--accent);font-weight:600;box-shadow:0 2px 8px #68d39133}.btn-primary:hover{box-shadow:0 4px 12px #68d3914d}.btn-secondary{background:var(--surface);border-color:var(--border);color:var(--fg);font-weight:500}.btn-secondary:hover{background:var(--surface-2)}.btn.ghost{border-color:transparent;background:transparent;color:var(--fg)}.room{display:flex;flex-direction:column;height:100vh;height:100dvh;overflow:hidden}.toolbar{display:flex;align-items:center;gap:8px;padding:6px 8px;border-bottom:1px solid var(--border);flex-shrink:0}.toolbar-title{flex:1;text-align:center;font-weight:600;font-size:15px}.toolbar-spacer{width:48px}.stage{padding:6px;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto}.canvas-wrap{position:relative;border-radius:10px;overflow:hidden;background:var(--surface);border:1px solid var(--border)}.room-canvas{display:block;width:100%;height:auto;touch-action:none}.controls{position:sticky;bottom:0;display:flex;flex-direction:column;gap:10px;padding:8px 10px 10px;background:linear-gradient(180deg,rgba(15,15,16,0),var(--bg) 18%),var(--bg);flex-shrink:0}.desktop-header{display:none}.control-row{display:flex;gap:6px;justify-content:center}.status{font-size:11px;color:var(--muted);line-height:1.3}.control-group{display:flex;flex-direction:column;gap:8px}.control-group>label{font-size:13px;color:var(--muted)}.lighting-control{display:none}.poster-gallery{display:flex;gap:8px;overflow:auto;padding-bottom:4px}.poster-gallery img{width:64px;height:64px;object-fit:cover;border-radius:10px;border:2px solid transparent;background:var(--surface-2)}.poster-gallery img.selected{border-color:var(--accent)}input[type=range]{width:100%;height:18px;-webkit-appearance:none;appearance:none;background:transparent;cursor:pointer}input[type=range]::-webkit-slider-runnable-track{background:var(--surface-2);height:6px;border-radius:3px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:var(--accent);cursor:pointer;margin-top:-6px}input[type=range]::-moz-range-track{background:var(--surface-2);height:6px;border-radius:3px;border:none}input[type=range]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:var(--accent);cursor:pointer;border:none;margin-top:-6px}.overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0009;z-index:50;padding:16px}.overlay-card{max-width:520px;width:100%;border-radius:16px;border:1px solid var(--border);background:var(--surface);padding:24px;text-align:center}.overlay-card h2{margin:8px 0;font-size:18px}.overlay-card p{margin:0;color:var(--muted);font-size:14px}.progress-bar-container{width:100%;height:8px;background:var(--surface-2);border-radius:4px;overflow:hidden;margin:0 auto 16px}.progress-bar{height:100%;background:var(--accent);border-radius:4px;transition:width .1s linear}.spinner{width:28px;height:28px;border-radius:50%;border:3px solid #0000;border-left-color:var(--accent);animation:spin 1s linear infinite;margin:0 auto 12px}@keyframes spin{to{transform:rotate(360deg)}}.sheet{position:fixed;inset:0;display:flex;align-items:flex-end;justify-content:center;background:#0006;z-index:40}.sheet-panel{width:100%;max-width:720px;border-top-left-radius:16px;border-top-right-radius:16px;background:var(--surface);border:1px solid var(--border);padding:12px 12px 16px}.sheet-handle{width:44px;height:4px;background:var(--border);border-radius:3px;margin:6px auto 10px}.sheet-panel h3{margin:0 0 10px;font-size:16px;text-align:center}.sheet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tile{padding:0;border:none;background:transparent}.tile .thumb-wrap{position:relative}.tile img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;background:var(--surface-2);border:2px solid transparent;display:block}.tile .thumb-spinner{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.spinner.small{width:20px;height:20px;border-width:3px}.tile:focus-visible img,.tile:hover img{border-color:var(--accent)}.picker-options{display:flex;flex-direction:column;gap:10px;padding:0 8px}.picker-options .btn{gap:8px}@media(min-width:768px){.landing{padding:32px 24px;gap:24px}.landing-title{font-size:42px;max-width:700px}.landing-subtitle{font-size:17px;max-width:600px}.landing-header{padding:24px 0 32px;gap:12px}.hero{gap:20px}.hero-intro{font-size:16px;max-width:600px;line-height:1.6}.hero-placeholder{height:220px}.micro-demo{height:500px;width:85%;max-width:700px}.micro-demo-cycle-btn{height:32px;padding:0 12px;bottom:10px;right:10px;font-size:13px}.micro-demo-cycle-btn svg{width:15px;height:15px}.cta{max-width:480px;gap:14px;margin-top:28px}.cta-privacy{font-size:12px;margin-top:-6px}.cta-hint{font-size:13px}.btn{font-size:17px;padding:18px 24px}.room{flex-direction:row}.toolbar{display:none}.desktop-header{display:block;margin:0 0 16px;font-size:20px;font-weight:700;letter-spacing:-.5px;line-height:1.2;text-align:center}.controls{position:static;width:320px;flex-shrink:0;padding:16px;background:var(--bg);border-right:1px solid var(--border);overflow-y:auto;gap:16px;order:1}.control-row{flex-direction:column;gap:10px}.stage{padding:0;flex:1;min-width:0;background:var(--bg);order:2}.canvas-wrap{max-width:none;max-height:100%;height:100%;border-radius:0;border:none;background:transparent}.room-canvas{width:auto;height:100%;max-width:100%}}
