:root{font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f7f3ef;background:#121111;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}.app-shell{display:grid;grid-template-columns:minmax(420px,1.1fr) minmax(380px,.9fr);min-height:100vh;background:linear-gradient(135deg,#26201ef0,#0a0c0efa),#121111}.stage-panel{min-height:100vh;padding:20px}.stage-media{position:relative;width:100%;height:calc(100vh - 40px);min-height:620px;overflow:hidden;border-radius:8px;background:#181615;border:1px solid rgba(255,255,255,.08)}.stage-image,.stage-video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.stage-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#ffffffad}.stage-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(0,0,0,.58),transparent 28%),linear-gradient(0deg,rgba(0,0,0,.82),transparent 52%);pointer-events:none}.stage-topbar,.stage-caption{position:absolute;left:22px;right:22px;z-index:1}.stage-topbar{top:20px;display:flex;justify-content:space-between;gap:12px}.character-select{width:min(260px,58vw);height:42px;padding:0 12px;border-radius:6px;border:1px solid rgba(255,255,255,.16);color:#f7f3ef;background:#181616c7;outline:none}.phase-chip{display:inline-flex;align-items:center;height:42px;padding:0 13px;border-radius:999px;color:#1f1711;background:#ffd7ac;font-size:13px;font-weight:800}.stage-caption{bottom:28px}.stage-caption p{margin:0 0 8px;max-width:36rem;color:#ffffffc2;font-size:15px}.stage-caption h1{margin:0;color:#fffaf5;font-size:42px;line-height:1.08;letter-spacing:0}.tag-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.tag-row span{padding:7px 10px;border-radius:999px;color:#ffe9d3;background:#ffffff1a;border:1px solid rgba(255,255,255,.13);font-size:13px}.conversation-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:100vh;border-left:1px solid rgba(255,255,255,.08);background:#121212db}.conversation-header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:84px;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.08)}.conversation-header p{margin:0 0 5px;color:#ffffffa8;font-size:13px}.conversation-header strong{color:#fff5eb;font-size:16px}.icon-button{width:40px;height:40px;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:#fff5eb;background:#ffffff0f;cursor:pointer}.message-list{min-height:0;overflow-y:auto;padding:22px 20px}.welcome-copy{display:grid;gap:8px;margin:20px 0;padding:18px;border-radius:8px;color:#ffffffad;background:#ffffff0e;border:1px solid rgba(255,255,255,.08)}.welcome-copy strong{color:#fff4e9}.message-bubble{width:fit-content;max-width:min(78%,520px);margin:0 0 12px;padding:12px 14px;border-radius:8px;white-space:pre-wrap;line-height:1.55;font-size:15px}.message-bubble.user{margin-left:auto;color:#1d1712;background:#ffd7ac}.message-bubble.assistant{color:#f9f1e8;background:#ffffff13;border:1px solid rgba(255,255,255,.08)}.composer{display:grid;grid-template-columns:minmax(0,1fr) 70px 92px;gap:10px;padding:16px 20px 20px;border-top:1px solid rgba(255,255,255,.08)}.composer input{min-width:0;height:48px;padding:0 14px;border:1px solid rgba(255,255,255,.12);border-radius:8px;color:#fffaf5;background:#ffffff0f;outline:none}.composer input:focus{border-color:#ffd7acb8}.composer button{height:48px;border:0;border-radius:8px;color:#211710;background:#ffd7ac;font-weight:800;cursor:pointer}.composer button:disabled{cursor:not-allowed;opacity:.48}.composer .voice-button{color:#fff5eb;background:#ffffff1a;border:1px solid rgba(255,255,255,.18)}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.stage-panel{min-height:auto;padding:12px}.stage-media{height:52vh;min-height:420px}.conversation-panel{min-height:48vh;border-left:0;border-top:1px solid rgba(255,255,255,.08)}}@media(max-width:560px){.stage-media{min-height:360px}.stage-caption h1{font-size:32px}.composer{grid-template-columns:1fr}}
