:root{font-family:Arial,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#282b26;background:#f7f5f0;font-synthesis:none;--paper:#f7f5f0;--white:#fffefa;--ink:#282b26;--olive:#344638;--muted:#73776e;--line:#e3e3d9;--sage:#e6ebe1;--clay:#b26f54}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button{border:0}svg{width:20px;height:20px;display:block;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #809366;outline-offset:4px}[hidden]{display:none!important}.skip-link{position:fixed;top:-80px;z-index:30;padding:15px;background:white}.skip-link:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;border-right:1px solid var(--line);padding:40px 22px 22px;display:flex;flex-direction:column;background:var(--paper);z-index:5}.brand{font:700 39px Georgia,serif;letter-spacing:-2.7px;display:flex;align-items:center;padding:0 10px}.brand-dot{font:32px Georgia;color:#779066;letter-spacing:0;margin-left:5px}.brand-caption{font-size:10px;color:var(--muted);margin:10px 0 44px 12px;letter-spacing:.15px}.main-nav{display:grid;gap:8px}.nav-item{background:transparent;display:flex;align-items:center;text-align:left;gap:13px;padding:15px 16px;border-radius:11px;font-size:14px;font-weight:600;min-height:49px}.nav-item.active{background:var(--sage);color:var(--olive)}.nav-item:hover{background:#eeeee5}.sidebar-note{margin:auto 0 30px;padding:26px 12px 0}.small-star{font-size:28px;color:#849374}.sidebar-note p{font-size:14px;line-height:1.9;margin:15px 0}.sidebar-note>span:last-child{font-size:9px;color:#888d82;font-family:Georgia,serif;font-style:italic}.account-button{display:flex;align-items:center;text-align:left;gap:10px;background:transparent;border-top:1px solid var(--line);padding:20px 0 0}.account-button>span:nth-child(2){flex:1}.account-button strong{display:block;font-size:12px;font-weight:600}.account-button small{display:block;font-size:9px;margin-top:5px;color:var(--muted)}.account-button svg{width:17px}.account-avatar{border-radius:50%;background:#e6e7dd;display:grid;place-items:center;width:34px;height:34px;font-size:12px}main{margin-left:228px;min-height:100dvh;padding:0 56px}.page-wrap{max-width:1240px;margin:auto}.topbar{height:90px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:12px}.breadcrumb strong{font-weight:500;color:var(--ink)}.beta-label{font-size:9px;letter-spacing:1.4px;border:1px solid #d6dacc;padding:5px 7px;border-radius:4px;color:#67735e}.topbar-actions{display:flex;align-items:center;gap:20px}.connection-button{display:flex;align-items:center;gap:7px;background:transparent;font-size:11px;color:#727568;padding:10px 0}.status-dot{width:6px;height:6px;border-radius:50%;background:#ba9c69}.status-dot.connected{background:#6e8660}.button{min-height:43px;padding:11px 18px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:600;line-height:1.4;transition:background .15s,transform .15s}.button svg{width:16px;height:16px}.primary{background:var(--olive);color:#fff}.primary:hover{background:#243a29}.secondary{background:var(--white);border:1px solid var(--line)}.secondary:hover{background:#eeefe6}.text-button{background:transparent;color:var(--muted);font-size:12px;min-height:40px;padding:9px}.text-button:hover{color:var(--ink)}.hero{position:relative;padding:57px 0 43px;border-bottom:1px solid var(--line);overflow:hidden}.eyebrow{display:block;font-size:9px;letter-spacing:2.4px;color:#778568;font-weight:600;margin-bottom:18px}.hero h1{font-size:clamp(29px,3.1vw,43px);font-weight:500;line-height:1.43;letter-spacing:-1.9px}.hero h1 em{font-family:Georgia,serif;font-weight:400;color:#78856b}.hero p{font-size:13px;line-height:1.9;color:var(--muted);margin-top:19px;letter-spacing:-.2px}.hero-art{position:absolute;right:30px;top:50px;width:210px;height:170px;transform:rotate(-8deg)}.hero-orbit{border:1px solid #c7cfba;width:160px;height:140px;border-radius:50%;position:absolute;left:24px;top:16px;transform:rotate(-30deg)}.hero-orbit:nth-child(2){transform:rotate(35deg);height:175px;width:93px;top:0;left:57px}.hero-art .star{font-size:90px;color:#829270;position:absolute;top:25px;left:58px;font-family:Georgia}.hero-art .little-star{position:absolute;right:0;top:0;color:#b7bea7;font-size:27px}.hero-art .little-star:last-child{left:0;top:auto;bottom:15px;font-size:16px}.hero-caption{position:absolute;right:15px;bottom:32px;font:italic 12px Georgia;color:#89917d}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:32px 0 20px}.section-heading h2{font-size:17px;font-weight:600;letter-spacing:-.5px}.section-heading small{font-weight:400;font-size:11px;color:var(--muted);margin-left:11px}.filter-list{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 25px}.filter-chip{background:transparent;border:1px solid var(--line);border-radius:100px;padding:9px 15px;font-size:11px;min-height:35px;color:#646d60}.filter-chip.active{background:var(--olive);color:#fff;border-color:var(--olive)}.filter-chip:hover:not(.active){background:var(--sage)}.character-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:21px}.character-card{min-width:0}.portrait-button{display:block;position:relative;width:100%;padding:0;background:#e6e7dc;aspect-ratio:4/5;border-radius:16px;overflow:hidden;text-align:left}.portrait{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;transition:transform .35s}.portrait-button:hover .portrait{transform:scale(1.035)}.portrait-fallback{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(135deg,#dedecd,#98a58f);color:#f6f4e9;font:italic 100px Georgia;text-shadow:0 2px 20px #66765733}.portrait-fallback[data-portrait="1"]{background:linear-gradient(135deg,#e0cfbe,#a68875)}.portrait-fallback[data-portrait="2"]{background:linear-gradient(135deg,#c7d2d1,#7a9599)}.portrait-fallback[data-portrait="3"]{background:linear-gradient(135deg,#e0d3be,#b6a38b)}.card-label{position:absolute;top:12px;left:12px;background:#fff9e9db;backdrop-filter:blur(10px);border-radius:5px;font-size:9px;padding:5px 8px;color:#4c5545;letter-spacing:.4px;z-index:1}.portrait-bottom{position:absolute;inset:auto 0 0;height:31%;background:linear-gradient(transparent,#202c2448);pointer-events:none}.portrait-call{position:absolute;right:11px;bottom:11px;border:1px solid #ffffff77;background:#ffffff33;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;color:white}.portrait-call svg{width:15px;height:15px}.card-title{display:flex;justify-content:space-between;align-items:center;margin-top:16px;gap:6px}.card-title h3{font-size:17px;font-weight:600;letter-spacing:-.5px}.card-title .ai-label{font-size:9px}.ai-label{font-size:10px;color:var(--muted)}.card-subtitle{color:#737568;font-size:11px;line-height:1.7;margin-top:7px;min-height:38px}.card-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0}.tag{font-size:9px;padding:5px 7px;border-radius:4px;background:#edede4;color:#717762}.card-edit{background:transparent;padding:6px;color:#747b6b}.card-edit svg{width:15px;height:15px}.discovery-footer{margin:42px 0 24px;padding-top:21px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#7d8176;line-height:1.8}.discovery-footer span:first-child{display:flex;gap:8px;align-items:center}.discovery-footer svg{width:14px;height:14px}.private-header{padding:45px 0 15px;display:flex;justify-content:space-between;align-items:center;gap:20px}.private-header h1{font-size:31px;letter-spacing:-1.3px;font-weight:500}.private-header p{font-size:13px;line-height:1.8;color:var(--muted);margin-top:14px}.empty-state{text-align:center;padding:90px 20px;color:var(--muted);border:1px dashed #d3d8c7;border-radius:18px;margin:22px 0}.empty-state h2{font-size:20px;font-weight:500;color:var(--ink);margin-bottom:12px}.empty-state p{font-size:13px;line-height:1.8;margin-bottom:23px}.empty-icon{background:var(--sage);height:54px;width:54px;border-radius:50%;display:grid;place-items:center;margin:0 auto 23px}.conversation-list{display:grid;gap:12px;margin:20px 0 40px}.conversation-row{display:flex;align-items:center;gap:18px;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:18px;text-align:left;width:100%}.mini-portrait{height:60px;width:54px;flex:0 0 auto;position:relative;border-radius:9px;overflow:hidden}.mini-portrait .portrait-fallback{font-size:32px}.conversation-copy{flex:1;min-width:0}.conversation-copy h3{font-size:15px}.conversation-copy p{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:8px;color:var(--muted)}.conversation-row time{font-size:10px;color:var(--muted)}.chat-shell{height:100dvh;max-width:1320px;margin:auto;display:flex;flex-direction:column}.chat-header{height:95px;flex-shrink:0;display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line)}.chat-header .mini-portrait{width:42px;height:48px}.chat-header-copy{flex:1}.chat-header h1{font-size:19px;letter-spacing:-.5px;font-weight:600}.chat-header-copy p{font-size:10px;color:var(--muted);margin-top:6px}.icon-button{display:grid;place-items:center;flex-shrink:0;background:transparent;border-radius:8px;width:40px;height:40px}.icon-button:hover{background:var(--sage)}.chat-columns{display:grid;grid-template-columns:minmax(0,1fr) 234px;flex:1;min-height:0}.chat-body{min-height:0;display:flex;flex-direction:column;padding-right:30px}.messages{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:28px 2px;scrollbar-width:thin}.chat-intro{text-align:center;padding:12px 20px 27px}.intro-star{display:block;color:#879776;font-size:29px;margin-bottom:10px}.chat-intro h2{font-size:17px;font-weight:500;margin-bottom:10px}.chat-intro p{font-size:11px;line-height:1.8;color:var(--muted)}.greeting{max-width:94%;padding:18px 21px;margin:0 0 24px;border:1px solid var(--line);border-radius:12px;background:#f0f1e9}.greeting small{display:block;color:#788269;font-size:9px;margin-bottom:9px}.greeting p{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.message{margin:0 0 21px;display:flex;flex-direction:column;align-items:flex-start}.message.user{align-items:flex-end}.message-label{font-size:10px;color:var(--muted);margin:0 0 7px 2px}.message-bubble{border:1px solid var(--line);background:var(--white);font-size:13px;line-height:1.85;padding:13px 17px;border-radius:3px 14px 14px 14px;max-width:91%;white-space:pre-wrap;overflow-wrap:anywhere}.message.user .message-bubble{background:#e5eadf;border-color:#e5eadf;border-radius:14px 3px 14px 14px}.message time{font-size:9px;color:#919588;margin-top:6px}.pending-message{font-size:12px;color:var(--muted);padding:10px 0}.composer-area{padding:14px 0 21px;flex-shrink:0}.connection-notice{display:flex;align-items:center;gap:8px;font-size:10px;color:#86734f;padding:9px 0;line-height:1.6}.connection-notice button{background:transparent;text-decoration:underline;font-size:10px;color:inherit;min-height:30px}.composer{border:1px solid #daddce;border-radius:13px;display:flex;align-items:flex-end;padding:11px;background:var(--white);gap:10px}.composer:focus-within{border-color:#8a9b79}.composer textarea{resize:none;border:0;outline:none;background:transparent;flex:1;min-width:0;min-height:42px;max-height:140px;padding:11px 6px;font-size:13px;line-height:1.5}.composer textarea:focus-visible{outline:none}.send-button{height:42px;width:42px;flex-shrink:0;background:var(--olive);color:white;border-radius:9px;display:grid;place-items:center}.composer-footnote{text-align:center;color:#8b8d83;font-size:9px;margin-top:11px;line-height:1.7}.chat-aside{border-left:1px solid var(--line);padding:29px 0 25px 26px;overflow-y:auto;scrollbar-width:thin}.aside-section{margin-bottom:29px}.aside-section h2{font-size:12px;font-weight:600;margin-bottom:13px;display:flex;align-items:center;gap:8px}.aside-section h2 svg{width:15px;height:15px}.aside-section>p{font-size:11px;color:var(--muted);line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.aside-kicker{font-size:9px;color:#899080;margin-top:10px;line-height:1.7}.memory-list{display:grid;gap:9px;margin:14px 0}.memory{background:#edeee5;border-radius:9px;padding:11px;display:flex;align-items:flex-start;gap:5px;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.memory span{flex:1;min-width:0}.memory button{background:transparent;color:#7b826f;padding:2px;min-width:24px;min-height:24px}.memory svg{width:13px;height:13px}.memory-form textarea{width:100%;background:var(--white);border:1px solid var(--line);border-radius:8px;resize:vertical;min-height:75px;padding:10px;font-size:11px;line-height:1.7}.memory-form button{width:100%;margin-top:8px;font-size:11px;min-height:37px}.memory-form label{font-size:10px;color:var(--muted);display:block;margin-bottom:8px}.aside-tools{border-top:1px solid var(--line);padding-top:15px;display:flex;flex-direction:column;align-items:flex-start}.danger-text{color:#a05c4c}.mobile-memory-toggle{display:none}.form-error,.global-error{background:#f4e8df;color:#904933;padding:12px 14px;border-radius:8px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.global-error{margin-top:16px}.form-error{margin:12px 0}.initial-loading{padding:120px 20px;text-align:center;font-size:14px;color:var(--muted)}dialog{border:1px solid #e1e3d6;border-radius:20px;background:var(--paper);color:var(--ink);box-shadow:0 20px 100px #25342524;max-height:90dvh}dialog::backdrop{background:#252c2655;backdrop-filter:blur(4px)}.form-dialog{width:min(540px,calc(100% - 32px));padding:29px}.compact-dialog{width:min(440px,calc(100% - 32px))}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dialog-heading .eyebrow{margin-bottom:11px}.dialog-heading h2,dialog>h2{font-size:25px;letter-spacing:-1px;font-weight:500}.dialog-intro{font-size:12px;color:var(--muted);line-height:1.9;margin:18px 0 22px}#character-form>label,.form-row>label{display:block;font-size:11px;font-weight:600;margin-top:17px}.required{font-weight:400;color:#879471;font-size:9px;margin-left:5px}input,select,#character-form textarea{width:100%;border:1px solid #daddd0;border-radius:8px;background:var(--white);padding:11px 12px;font-size:12px;margin-top:8px;color:var(--ink)}textarea{resize:vertical;line-height:1.65}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field-help{font-size:10px;color:var(--muted);line-height:1.7;margin-top:10px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:26px}.settings-block{border-top:1px solid var(--line);margin-top:23px;padding-top:20px}.settings-block h3{font-size:13px;margin-bottom:11px}.settings-block p{font-size:11px;color:var(--muted);line-height:1.9}.settings-status{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:12px}.settings-block code{font-size:10px;background:var(--sage);padding:3px 5px;border-radius:4px;overflow-wrap:anywhere}.usage-row{display:flex;justify-content:space-between;font-size:12px;margin-top:15px}.usage-row span{color:var(--muted)}.usage-bar{height:5px;background:#e4e7dc;border-radius:4px;overflow:hidden;margin:9px 0 14px}.usage-bar div{height:100%;background:#7f926c;max-width:100%}.voice-dialog{width:min(430px,calc(100% - 32px));padding:38px 28px 25px;text-align:center}.voice-portrait{height:142px;width:142px;margin:29px auto 24px;border-radius:50%;position:relative;overflow:hidden;box-shadow:0 0 0 10px #e8eddf80,0 0 0 21px #e8eddf40}.voice-portrait .portrait-fallback{font-size:60px}.voice-dialog h2{font-size:26px;font-weight:500;margin-bottom:8px}.voice-dialog #voice-status{font-size:12px;color:var(--muted);margin-top:24px;line-height:1.7}.voice-wave{display:flex;gap:5px;justify-content:center;align-items:center;height:48px;margin:12px 0 20px}.voice-wave i{display:block;height:7px;width:4px;background:#8c9b7a;border-radius:3px}.voice-dialog[data-status="connected"] .voice-wave i{animation:wave 1.2s infinite ease-in-out}.voice-wave i:nth-child(2n){animation-delay:-.5s!important}.voice-wave i:nth-child(3n){animation-delay:-.8s!important}.voice-actions{display:flex;justify-content:center;gap:10px}.end-call,.danger{background:#a9624f;color:#fff}.voice-footnote{font-size:9px;color:var(--muted);margin-top:22px;line-height:1.8}.toast{position:fixed;bottom:24px;left:calc(50% + 114px);transform:translateX(-50%);max-width:85%;padding:13px 21px;background:var(--olive);color:#fff;border-radius:10px;font-size:12px;box-shadow:0 8px 30px #27392220;z-index:20}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}@keyframes wave{0%,100%{height:7px}50%{height:30px}}@media(min-width:1600px){main{padding:0 80px}.hero{padding-top:68px;padding-bottom:54px}.character-grid{gap:27px}.section-heading{margin-top:38px}}@media(max-width:1150px){main{padding:0 30px}.sidebar{width:200px;padding-left:17px;padding-right:17px}main{margin-left:200px}.hero-art{right:10px;opacity:.75;transform:scale(.8) rotate(-8deg)}.hero-caption{right:0}.character-grid{gap:15px}.chat-columns{grid-template-columns:minmax(0,1fr) 200px}.chat-aside{padding-left:19px}.chat-body{padding-right:22px}.toast{left:calc(50% + 100px)}}@media(max-width:900px){.sidebar{width:83px;align-items:center;padding:28px 10px 20px}.brand{font-size:0;padding:0}.brand-dot{font-size:38px;margin:0}.brand-caption,.sidebar-note,.account-button>span:nth-child(2),.account-button>span:last-child{display:none}.main-nav{margin-top:36px;gap:15px;width:100%}.nav-item{flex-direction:column;gap:8px;padding:12px 5px;font-size:10px;white-space:nowrap}.account-button{margin-top:auto;width:100%;justify-content:center}.account-avatar{width:35px;height:35px}main{margin-left:83px;padding:0 28px}.hero h1{font-size:34px}.hero-art{opacity:.55;right:-35px}.hero-caption{display:none}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 22px}.portrait-button{aspect-ratio:4/4.5}.card-subtitle{min-height:0}.topbar-actions{gap:10px}.chat-columns{grid-template-columns:minmax(0,1fr)}.chat-body{padding-right:0}.chat-aside{display:none;background:var(--paper);border:1px solid var(--line);position:absolute;right:28px;top:99px;width:270px;max-height:calc(100dvh - 130px);z-index:4;padding:22px;border-radius:12px;box-shadow:0 10px 40px #27392220}.chat-aside.is-open{display:block}.mobile-memory-toggle{display:grid}.toast{left:calc(50% + 41px)}}@media(max-width:600px){.sidebar{inset:auto 0 0;width:auto;height:67px;display:flex;flex-direction:row;padding:0 12px;border:0;border-top:1px solid var(--line);background:#f7f5f0f5;backdrop-filter:blur(12px)}.sidebar>.brand,.sidebar>.account-button{display:none}.main-nav{display:flex;justify-content:space-around;margin:0;gap:5px}.nav-item{flex:1;border-radius:9px;gap:4px;padding:7px 3px;font-size:10px;min-height:50px}.nav-item svg{height:19px;width:19px}.nav-item.active{background:transparent;color:var(--olive)}.nav-item.active>span:first-child{background:var(--sage);border-radius:8px;padding:3px 17px;margin-top:-3px}main{margin-left:0;padding:0 21px 76px}.topbar{height:67px}.topbar .button{font-size:10px;padding:9px 11px;min-height:36px}.breadcrumb{font-size:10px;gap:8px}.connection-button{font-size:0;gap:0;width:28px;height:35px;justify-content:center}.connection-button .status-dot{height:8px;width:8px}.topbar-actions{gap:4px}.hero{padding:34px 0 30px}.eyebrow{font-size:8px;letter-spacing:2px;margin-bottom:17px}.hero h1{font-size:32px;line-height:1.5;letter-spacing:-1.8px;position:relative;z-index:1}.hero p{font-size:11px;line-height:1.95;max-width:275px;margin-top:16px}.hero-art{width:160px;right:-70px;top:29px;opacity:.2;transform:scale(.7) rotate(-8deg)}.section-heading{margin:27px 0 18px}.section-heading h2{font-size:16px}.section-heading small{display:none}.section-heading>.text-button{font-size:10px;padding-right:0}.filter-list{gap:6px;margin-bottom:20px}.filter-chip{font-size:10px;padding:8px 12px;min-height:33px}.character-grid{gap:28px 13px}.portrait-button{border-radius:12px;aspect-ratio:3/4}.card-label{font-size:8px;padding:4px 6px;left:9px;top:9px}.card-title{margin-top:13px}.card-title h3{font-size:16px}.card-title .ai-label{font-size:8px}.card-subtitle{font-size:10px;line-height:1.7;margin-top:6px}.card-tags{gap:4px;margin-top:9px}.tag{font-size:8px;padding:4px 5px}.portrait-call{width:27px;height:27px;right:9px;bottom:9px}.portrait-call svg{height:13px;width:13px}.discovery-footer{display:block;font-size:9px;margin:29px 0 10px;padding-top:17px}.discovery-footer>span:last-child{display:block;margin:7px 0 0 22px}.private-header{padding:31px 0 15px;align-items:flex-start}.private-header h1{font-size:27px}.private-header p{font-size:11px}.private-header>.button{padding:10px;font-size:10px;white-space:nowrap;margin-top:4px}.chat-shell{height:calc(100dvh - 67px);margin:0 -7px}.chat-header{height:78px;gap:8px}.chat-header>.icon-button{width:28px}.chat-header .mini-portrait{width:32px;height:39px}.chat-header h1{font-size:16px}.chat-header-copy p{font-size:8px}.chat-header>.button{padding:9px 11px;min-height:38px;font-size:10px;gap:5px}.chat-header>.button svg{width:14px}.messages{padding:20px 2px}.chat-intro{padding-top:6px;padding-bottom:22px}.message-bubble{font-size:12px;max-width:93%;padding:11px 14px}.greeting p{font-size:12px}.composer-area{padding:6px 0 12px}.composer-footnote{font-size:8px;margin-top:8px}.connection-notice{font-size:9px;padding:4px 0;gap:5px}.connection-notice button{font-size:9px}.chat-aside{right:15px;top:81px;max-height:calc(100dvh - 163px)}main:has(.chat-shell){padding-bottom:0}.toast{left:50%;bottom:80px;max-width:calc(100% - 30px);width:max-content}.form-dialog{padding:23px}.dialog-heading h2{font-size:23px}.dialog-intro{font-size:11px}.form-row{grid-template-columns:1fr}.form-row>label{margin-top:12px}.conversation-row{padding:13px;gap:12px}.conversation-row time{display:none}.empty-state{padding:55px 15px}.empty-state h2{font-size:18px}.empty-state p{font-size:12px}.voice-dialog{padding:30px 20px 23px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.preview-conversion{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);background:var(--story-panel-2,var(--sage));color:var(--ink);border-radius:13px;padding:15px 16px}.preview-conversion strong{display:block;font-size:13px}.preview-conversion p{margin-top:5px;color:var(--muted);font-size:10px;line-height:1.6}.preview-conversion .button{flex-shrink:0}@media(max-width:600px){.preview-conversion{align-items:stretch;flex-direction:column;gap:11px}.preview-conversion .button{width:100%}}

/* Keep authored season actions reachable without scrolling past the story. */
.season-chat-shell .chat-body > .season-decision {
  flex: 0 1 auto;
  gap: 6px;
  max-height: 45%;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
}
.season-chat-shell .chat-body > .season-decision .eyebrow { margin-bottom: 4px; }
.season-chat-shell .chat-body > .season-decision h2 { font-size: 16px; line-height: 1.3; }
.season-chat-shell .chat-body > .season-decision p { margin: 6px 0; font-size: 12px; line-height: 1.5; }
.season-chat-shell .chat-body > .season-decision .episode-decision-options { margin-top: 8px; gap: 6px; }
.season-chat-shell .chat-body > .season-decision .episode-choice { min-height: 44px; padding: 10px 12px; }
.season-chat-shell .messages { min-height: 100px; }
.season-chat-shell .composer-area { max-height: 40%; overflow-y: auto; }
.season-chat-shell .season-text-disclosure > summary {
  min-height: 44px;
  padding: 12px 4px;
  color: #c5bfc8;
  cursor: pointer;
  font-size: 12px;
}
.season-chat-shell .season-text-disclosure > summary:focus-visible { outline: 2px solid #e8b973; outline-offset: -2px; }
@media (max-height: 740px) {
  .season-chat-shell .chat-body > .season-decision { padding: 10px 12px; }
  .season-chat-shell .chat-body > .season-decision > .eyebrow,
  .season-chat-shell .chat-body > .season-decision > p { display: none; }
  .season-chat-shell .chat-body > .season-decision .episode-decision-options { margin-top: 0; }
}
