:root{color-scheme:dark;font-family:system-ui,-apple-system,"Hiragino Kaku Gothic ProN",sans-serif;color:#eee9de;background:#091712;line-height:1.8}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top right,#213b30,transparent 65%)}main{max-width:850px;margin:auto;padding:30px 24px 64px}header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:48px;font-size:.8rem;letter-spacing:.12em}header a{text-decoration:none;color:#d9c69d}h1{font-family:serif;font-size:clamp(1.9rem,5vw,2.9rem);font-weight:500;line-height:1.5;margin:0 0 18px}h2{font-size:1.2rem;font-weight:500}a{color:#c9d7b2}p{margin:12px 0}.intro{color:#b9c8be}.card{border:1px solid #425547;border-radius:22px;padding:28px;margin:24px 0;background:#10251ddd}.preview-layout{display:grid;grid-template-columns:200px 1fr;gap:28px;align-items:center;margin:32px 0}.portrait{height:240px;border-radius:100px 100px 20px 20px;overflow:hidden;background:#233629;position:relative}.portrait canvas,.portrait svg,.portrait img{width:100%;height:100%;object-fit:contain}.choices,.actions{display:flex;gap:10px;flex-wrap:wrap}button,select,textarea{font:inherit;border-radius:12px;border:1px solid #6e826d}button{padding:12px 20px;min-height:48px;background:#ccdab6;color:#102119;cursor:pointer;font-weight:600}button:disabled{opacity:.45;cursor:default}.choices button{background:transparent;color:#dce3d3;padding:8px 13px}.choices button[aria-pressed=true]{background:#ccdab6;color:#102119}.secondary,select{background:#183127;color:#e3e8dc}.subtle{border-color:transparent;background:transparent;color:#c1d0ba;text-decoration:underline;padding-left:0;font-weight:400}.privacy{font-size:.82rem;color:#b3c2b9;line-height:1.9}.usage{color:#d9c69d}label{display:block;margin-top:14px}select{width:100%;padding:12px}textarea{width:100%;background:#071810;color:#eee9de;padding:14px;resize:vertical}.audio-option{display:flex;align-items:center;gap:10px}.audio-option input{width:20px;height:20px}#messages{max-height:48vh;overflow:auto;margin:24px 0}#messages p{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px 18px;border-radius:14px;background:#24392d}#messages .user{margin-left:12%;background:#344732}#messages .assistant{margin-right:12%}#entryStatus,#roomStatus,[data-launch-preview-status]{font-size:.9rem;min-height:1.8em}#ended{border-top:1px solid #556b52;padding-top:20px}.back{display:inline-block;margin-left:18px}footer{text-align:center;font-size:.85rem;color:#afbcad;margin-top:36px}:focus-visible{outline:3px solid #e4d29b;outline-offset:4px}[hidden]{display:none!important}@media(max-width:540px){main{padding:22px 18px 48px}.card{padding:20px}.preview-layout{grid-template-columns:110px 1fr;gap:16px}.portrait{height:180px}.choices{gap:6px}.choices button{font-size:.88rem;padding:8px 10px}.back{display:block;margin:20px 0}header{margin-bottom:30px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
