.simulator-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px;padding:28px 32px;border:1px solid #293225;border-radius:18px;background:linear-gradient(135deg,#151a12,#0d110c)}.simulator-hero h2{margin:4px 0 8px}.simulator-hero p{margin:0;color:var(--muted);max-width:760px}.simulator-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:20px}.simulator-preview,.simulator-chat{min-width:0;padding:20px;border:1px solid var(--line);border-radius:16px;background:rgba(17,20,15,.94)}.simulator-preview header,.simulator-chat>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.simulator-preview header h2,.simulator-chat>header h2{margin:0;font-size:1rem}.simulator-preview header small,.simulator-chat>header small{color:var(--muted)}.sim-frame-shell{overflow:hidden;border:1px solid #2b3228;border-radius:14px;background:#050705;aspect-ratio:9/16;max-height:760px;margin-inline:auto}.sim-frame-shell iframe{display:block;width:100%;height:100%;border:0;background:#050705}.sim-status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.sim-status-grid div{padding:10px;border-radius:9px;background:#0a0d09}.sim-status-grid span{display:block;color:#697066;font-size:.62rem;text-transform:uppercase;letter-spacing:.08em}.sim-status-grid strong{display:block;margin-top:4px;font-size:.74rem;overflow-wrap:anywhere}.sim-identity{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.sim-identity label,.sim-compose label{display:grid;gap:6px;color:var(--muted);font-size:.7rem}.sim-identity input,.sim-compose textarea{width:100%;box-sizing:border-box;border:1px solid #343d31;border-radius:10px;background:#0a0d09;color:#e7ebe3;padding:11px 12px;font:inherit}.sim-compose textarea{min-height:116px;resize:vertical}.sim-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sim-actions .primary{flex:1 1 190px}.sim-quick{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0}.sim-quick button{padding:7px 9px;border:1px solid #323a2e;border-radius:999px;background:#11150f;color:#aeb5aa;font-size:.67rem;cursor:pointer}.sim-quick button:hover{border-color:#566846;color:#dce7d4}.sim-warning{margin:12px 0;padding:10px 12px;border:1px solid #4b4027;border-radius:10px;background:#17150c;color:#c9b77e;font-size:.69rem;line-height:1.45}.sim-chat-feed{display:grid;gap:9px;height:350px;overflow:auto;padding:10px;border:1px solid #252b23;border-radius:12px;background:#080b08}.sim-chat-empty{margin:auto;color:#646d61;font-size:.76rem;text-align:center}.sim-bubble{padding:10px 12px;border-radius:12px;background:#11150f}.sim-bubble.viewer{margin-left:24px;border:1px solid #34412c;background:#151b11}.sim-bubble.narrator{margin-right:24px;border:1px solid #485d32;background:#182014}.sim-bubble.system{border:1px dashed #30382d;background:#0d100c}.sim-bubble.error{border:1px solid #5b3035;background:#1b1012}.sim-bubble header{display:flex;justify-content:space-between;gap:10px}.sim-bubble strong{font-size:.72rem}.sim-bubble small{color:#657061;font-size:.6rem}.sim-bubble p{margin:5px 0 0;color:#d9ded5;font-size:.8rem;line-height:1.45}.simulator-chat .secondary.compact{white-space:nowrap}@media(max-width:1150px){.simulator-layout{grid-template-columns:1fr}.sim-frame-shell{max-width:420px}.simulator-preview{order:2}.simulator-chat{order:1}}@media(max-width:700px){.simulator-hero{padding:22px}.simulator-layout{gap:14px}.simulator-preview,.simulator-chat{padding:15px}.sim-identity,.sim-status-grid{grid-template-columns:1fr}.sim-chat-feed{height:300px}}
