:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fcf4f2;--panel:#fffaf6;--text:#473341;--muted:#76616a;--rose:#93485f;--line:#dfc5c5;--gold:#ad8852;--error:#a03847;--display:"Baskervville", Georgia, "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;--mono:ui-monospace, "SFMono-Regular", monospace;font-family:DM Sans,-apple-system,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{background:var(--bg) url(/art/rose-stationery.webp) center top / cover fixed no-repeat;min-height:100dvh;color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-size:1rem;line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;background:0 0;border:0;justify-content:center;align-items:center;gap:.45rem;padding:0;transition:background .16s,border-color .16s,box-shadow .16s;display:inline-flex}button:disabled{opacity:.58;cursor:default}:where(button,a,input,textarea,summary,select):focus-visible{outline:2px solid var(--rose);outline-offset:3px}:where(h1,h2,h3,p){margin:0}h1,h2,h3{font-family:var(--display)}img{max-width:100%;display:block}svg{flex-shrink:0}a{color:var(--rose)}.shell{width:min(1160px,100% - 72px);margin-inline:auto}.topbar{background:#fff9f7e8;border-bottom:1px solid #d9babc;box-shadow:0 3px #ffffffa6,0 4px #e6d2cf}.top-inner{grid-template-columns:1fr auto 1fr;align-items:center;gap:1.25rem;min-height:70px;display:grid}.brand-button{justify-self:start}.brand{font:600 1.5rem/1 var(--display);color:#763951;letter-spacing:.06em;align-items:center;gap:.65rem;display:inline-flex}.brand b{color:#926346;font:italic 1.14rem/1 var(--display);letter-spacing:.02em}.brand-icon{color:#a7526e;outline-offset:2px;background:#f9e3e5;border:1px solid #bb8d66;border-radius:48% 48% 43% 43%;outline:1px solid #e1bbb6;place-items:center;width:38px;height:39px;display:grid}.top-inner nav{align-self:stretch;align-items:stretch;gap:1.75rem;display:flex}.nav{color:var(--muted);padding:0 .3rem;font-size:.94rem;position:relative}.nav.active{color:var(--rose);font-weight:650}.nav.active:after{content:"";background:linear-gradient(90deg,#0000,#bd7589,#0000);height:2px;position:absolute;bottom:7px;left:13%;right:13%}.top-right{justify-self:end}.account-btn,.story-launch,.profile-button,.secondary-btn,.text-btn,.square,.shelf-start{border:1px solid var(--line);color:var(--rose);background:#fffaf7;font-size:.88rem}.account-btn,.story-launch,.profile-button,.shelf-start{border-radius:999px;padding:.45rem .85rem}:where(.account-btn,.story-launch,.profile-button,.secondary-btn,.square,.shelf-start):hover{background:#f7e7e9;border-color:#c2929f}.masthead{justify-content:center;align-items:center;gap:clamp(12px,2.4vw,34px);padding:clamp(20px,3.6vh,38px) 0;display:flex}h1{letter-spacing:.13em;color:#684151;font-size:clamp(2rem,3.4vw,2.9rem);font-weight:600;line-height:1.2}.title-flourish{color:#a87856;justify-content:flex-end;align-items:center;width:min(12vw,110px);display:flex;position:relative}.title-flourish:before{content:"";background:linear-gradient(90deg,#0000,#c79c84);flex:1;height:1px}.title-flourish:last-child{transform:rotate(180deg)}.studio-grid{--ink:#655176;--light:#f0e8f3;--rim:#ba9ebe;grid-template:"portrait stations""portrait chat"minmax(450px,min(57vh,590px))/minmax(275px,.8fr) minmax(0,1.25fr);gap:14px 22px;margin-bottom:38px;display:grid}[data-station=linxia]{--ink:#416452;--light:#e8f1e8;--rim:#9eb6a4}[data-station=ayu]{--ink:#844733;--light:#f8e7df;--rim:#c8a08c}.portrait,.chat,.history-panel{background-color:var(--panel);border:1px solid #cba9a0;position:relative;box-shadow:0 9px 25px #5e34451a,0 1px 3px #5e344514}.portrait{isolation:isolate;background:var(--light);border-radius:48% 48% 16px 16px/12% 12% 16px 16px;grid-area:portrait;min-height:0;overflow:hidden}.portrait:after{content:"";pointer-events:none;z-index:2;border-radius:inherit;border:1px solid #fff1c4db;position:absolute;inset:6px;box-shadow:0 0 0 1px #7c573d47}.portrait-img{object-fit:cover;object-position:center 26%;width:100%;height:100%;position:absolute;inset:0}.portrait-frequency{color:#674754;font:600 .78rem/1.55 var(--display);letter-spacing:.11em;background:#fff6eeed;border:1px solid #d6bd99;border-radius:99px;padding:3px 11px;position:absolute;top:24px;left:22px}.portrait-info{text-align:center;color:#4e3648;background:linear-gradient(#0000,#fff6eff2 29%,#fff5ed 72%);padding:48px 23px 20px;position:absolute;inset:auto 0 0}.portrait-kicker,.host-line{justify-content:center;align-items:center;display:flex}.portrait-kicker{color:var(--ink);letter-spacing:.18em;gap:.65rem;font-size:.82rem}.portrait-kicker span{background:#bd9875;width:25px;height:1px}.host-line{gap:.75rem;margin:.07rem 0}.host-line h2{letter-spacing:.08em;font-size:clamp(2rem,3.3vw,3rem);font-weight:600;line-height:1.32}.roman{color:var(--ink);font:italic .93rem var(--display);letter-spacing:.1em}.portrait-info p{font:.99rem/1.6 var(--display)}.profile-button{margin-top:.6rem;padding:.28rem .8rem}.station-section{grid-area:stations;min-width:0}.stations{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;height:100%;display:grid}.station{text-align:left;border:1px solid var(--line);background:#fff9f5f2;border-radius:12px;justify-content:flex-start;gap:.6rem;min-height:69px;padding:.5rem .7rem;position:relative}.station:hover{border-color:#b57a8a;box-shadow:0 2px 9px #b4808d22}.station.selected{border-color:var(--rim);background:linear-gradient(110deg,#fffaf7,var(--light));box-shadow:inset 0 -2px var(--rim)}.station img,.avatar,.history-row img,.profile-summary img{object-fit:cover;border:1px solid #d7b7a6;border-radius:50%;box-shadow:0 0 0 2px #fff9f6}.station img{flex:none;width:44px;height:44px}.station-copy{min-width:0}.station-copy strong,.station-copy small{white-space:nowrap;display:block}.station-copy strong{font:600 1.08rem/1.3 var(--display)}.station-copy small{color:var(--muted);font-size:.78rem}.chosen-mark{background:var(--ink);color:#fff;border-radius:50%;padding:1px;position:absolute;top:5px;right:5px}.chat{border-radius:15px;grid-area:chat;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;display:grid}.chat-top{border-bottom:1px solid var(--line);background:linear-gradient(100deg,#f7e7e7,#fff9f3 72%);border-radius:15px 15px 0 0;align-items:center;gap:.75rem;padding:.85rem clamp(14px,1.8vw,24px);display:flex}.chat-emblem{color:#985a6b;outline-offset:2px;background:#f7dddf;border:1px solid #c9949d;border-radius:50%;outline:1px dashed #c49f87;place-items:center;width:42px;height:42px;display:grid}.chat-top h2{color:#643e50;letter-spacing:.04em;font-size:1.31rem}.chat-sub{color:var(--muted);align-items:center;gap:6px;font-size:.78rem;display:flex}.chat-sub i{background:#75917a;border-radius:50%;width:6px;height:6px}.host-actions{margin-left:auto}.chat-scroll{scrollbar-width:thin;scrollbar-color:#d2afb9 transparent;overscroll-behavior:contain;background:linear-gradient(#fffbf8cf,#fffbf8d4),url(/art/rose-stationery.webp) 50%/cover;padding:.85rem clamp(12px,2vw,25px) 1.1rem;overflow:auto}.date-line{color:var(--muted);justify-content:center;align-items:center;gap:10px;margin:.05rem 0 1.05rem;font-size:.76rem;display:flex}.date-line span{background:#dec4be;width:30px;height:1px}.message-row{align-items:flex-start;gap:.7rem;margin-bottom:1.15rem;display:flex}.message-row:last-child{margin-bottom:0}.avatar{width:40px;height:40px}.message-content{min-width:0;max-width:min(82%,36rem)}.message-meta{color:var(--muted);align-items:baseline;gap:7px;margin-bottom:4px;font-size:.78rem;display:flex}.message-meta b{color:#624856;font-weight:600}.message-meta time{font-size:.74rem}.ai-tag{border:1px solid #d7bfc5;border-radius:4px;padding:0 5px;font-size:.67rem;line-height:1.3}.bubble{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;background:#fffdfb;border:1px solid #e1c9c6;border-radius:3px 14px 14px;padding:.62rem .87rem;line-height:1.65;display:inline-block}.mine,.mine .message-meta{justify-content:flex-end}.mine .bubble{background:#f8e5e8;border-color:#ddb8c3;border-radius:14px 3px 14px 14px}.chat-foot{background:#fff9f6;border-top:1px dashed #d9bcbc;border-radius:0 0 15px 15px;padding:11px clamp(12px,1.8vw,23px) 9px}.suggestions,.current-story{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:9px;display:flex}.suggestions button{border:1px solid var(--line);color:#745760;background:#fffdf9;border-radius:100px;min-height:30px;padding:.2rem .65rem;font-size:.83rem}.suggestions button:hover{background:#fae7ea}.suggestions svg{color:#a96d78}.composer,.field{background:#fffefd;border:1px solid #d6b9bf;border-radius:11px;align-items:center;gap:.6rem;padding:6px;display:flex}.composer:focus-within,.field:focus-within{border-color:var(--rose);box-shadow:0 0 0 2px #ecd8dc}.composer textarea,.field input{font:inherit;color:var(--text);background:0 0;border:none;outline:none;width:100%;min-width:0}.composer textarea{resize:vertical;min-height:36px;max-height:100px;padding:5px 7px}.composer textarea::placeholder,.field input::placeholder{color:#85737a}.send-button,.primary-btn{color:#fff;white-space:nowrap;background:#9b526a;border:1px solid #88475c;border-radius:9px;padding:.5rem .88rem;font-size:.92rem}.send-button:hover,.primary-btn:hover{background:#804256}.composer+.error-inline{margin-top:6px}.live-status,.error-inline{color:var(--muted);align-items:center;gap:.5rem;font-size:.9rem;display:flex}.live-status button,.error-inline button,.history-note button,.auth-switch button{color:var(--rose);text-underline-offset:.2em;text-decoration:underline}.error,.error-inline{color:var(--error)}.writing-dots{vertical-align:top;min-height:calc(1.65em + 1.24rem + 2px);color:var(--rose);justify-content:center;align-items:center;gap:5px;padding-inline:1rem;display:inline-flex}.writing-dots i{background:currentColor;border-radius:50%;width:6px;height:6px}@media (prefers-reduced-motion:no-preference){.writing-dots i{animation:1.2s ease-in-out infinite reply-dot}.writing-dots i:nth-child(2){animation-delay:.14s}.writing-dots i:nth-child(3){animation-delay:.28s}}@keyframes reply-dot{0%,55%,to{opacity:.55;transform:translateY(0)}28%{opacity:1;transform:translateY(-3px)}}.history-panel{border-radius:16px;max-width:850px;margin:0 auto 36px;overflow:hidden}.history-head,.history-row,.history-note{align-items:center;gap:1rem;padding:1rem 1.3rem;display:flex}.history-head{border-bottom:1px solid var(--line);background:#faeaea;justify-content:space-between}.history-head h2{align-items:center;gap:.6rem;font-size:1.2rem;display:flex}.history-head>span,.history-row small,.history-row time,.history-note{color:var(--muted);font-size:.83rem}.history-row{text-align:left;border-bottom:1px solid #efdedb;justify-content:flex-start;width:100%}.history-row:hover{background:#fbefef}.history-row img{width:45px;height:45px}.history-row>span{flex:1;min-width:0}.history-row b,.history-row em{display:block}.history-row b{font-family:var(--display)}.history-row em{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-style:normal;overflow:hidden}.history-row time{text-align:right}.history-note{border-top:1px solid var(--line);flex-wrap:wrap;gap:.45rem}.history-note button{margin-left:auto}.empty-history{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.7rem;min-height:290px;padding:1.5rem;display:flex}.empty-history>svg,.modal-top>svg{color:#a76378}.empty-history p{color:var(--muted)}dialog{overscroll-behavior:contain;outline-offset:-6px;width:min(450px,100vw - 26px);max-height:min(84dvh,760px);color:var(--text);background:linear-gradient(145deg,#fffaf6f7,#fcf2f1f5),url(/art/rose-stationery.webp) 50%/cover;border:1px solid #c9a69a;border-radius:18px;outline:1px solid #eed9ca;padding:clamp(21px,3vw,31px);overflow:auto;box-shadow:0 20px 90px #45243455}dialog::backdrop{background:#47304162}.modal-top{justify-content:space-between;align-items:center;margin-bottom:.6rem;display:flex}.square{border-radius:50%;width:32px;height:32px}dialog h2{color:#69404f;font-size:1.65rem}.modal-desc{color:var(--muted);margin:.35rem 0 1.1rem}dialog form label{margin:.8rem 0;font-size:.9rem;display:block}.field{color:#966176;margin-top:4px;padding:.6rem .75rem}.field input{font-size:1rem}.wide{width:100%;margin-top:.7rem}.secondary-btn,.text-btn{border-radius:8px;padding:.6rem .8rem}.text-btn{background:0 0;border-color:#0000}.auth-switch,.user-email,.model-details{margin-top:.8rem;font-size:.92rem}.auth-switch,.user-email,.model-details,.profile-summary{align-items:center;gap:.6rem;display:flex}.model-details{justify-content:space-between}.toast{z-index:10;color:#fff;background:#624353;border-radius:10px;max-width:90vw;padding:.65rem 1rem;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.profile-summary{gap:1rem;margin:1rem 0}.profile-summary img{width:72px;height:72px}.profile-summary strong,.profile-detail-label{font-family:var(--display);font-size:1.1rem}.profile-summary p,.story-year,.fiction-scene small{color:var(--muted);font-size:.85rem}.shelf{gap:12px;display:grid}.shelf article{border:1px solid var(--line);background:#fffdfa;border-radius:10px;padding:1rem}.story-year,.story-source,.current-story span,.current-story button{align-items:center;gap:.35rem;display:inline-flex}.shelf h3,.story-bubble h3{margin:.2rem 0;font-size:1.1rem}.shelf article p,.story-bubble p{margin:.35rem 0;line-height:1.65}.story-source,.shelf-start,.current-story{font-size:.85rem}.story-source{text-underline-offset:.17em}.shelf-start{margin:.65rem 0 0;display:flex}.fiction-scene{border-left:2px solid #c5998b;margin:.75rem 0 .25rem;padding-left:.7rem}.fiction-scene p{margin:0}.current-story{color:var(--muted)}.current-story button{color:var(--rose);margin-left:auto}@media (min-width:1450px){.studio-grid{grid-template-rows:auto minmax(500px,min(60vh,640px))}}@media (max-width:900px){.shell{width:calc(100% - 36px)}.studio-grid{grid-template-columns:minmax(210px,.64fr) minmax(0,1.25fr);gap:12px}.station{gap:.38rem;padding:.4rem}.station img{width:35px;height:35px}}@media (max-width:680px){body{background-attachment:scroll}.shell{width:min(100% - 22px,560px)}.top-inner{gap:.3rem;min-height:59px}.top-inner nav{gap:.4rem}.brand{gap:6px;font-size:1.1rem}.brand b{font-size:.85rem}.brand-icon{width:27px;height:29px}.brand-icon svg{width:20px}.account-btn,.nav{font-size:.83rem}.account-btn{padding:.3rem .65rem}.nav{gap:.22rem;padding:0 .28rem}.nav svg{display:none}.masthead{padding:15px 0}h1{font-size:1.8rem}.studio-grid{grid-template:"portrait""stations""chat"/minmax(0,1fr);gap:9px}.portrait{border-radius:16px;grid-template-rows:minmax(0,1fr);grid-template-columns:43% 57%;height:clamp(134px,35vw,178px);display:grid}.portrait-img{object-position:center 23%;min-width:0;min-height:0;position:static}.portrait-info{background:linear-gradient(110deg,var(--light),#fff6ee 90%);flex-direction:column;justify-content:center;align-items:center;padding:7px 12px;display:flex;position:static}.portrait-frequency{display:none}.portrait-kicker{font-size:.7rem}.portrait-kicker span{width:11px}.host-line{gap:.35rem}.host-line h2{font-size:1.65rem}.roman{font-size:.71rem}.portrait-info p{font-size:.84rem;line-height:1.45}.profile-button{margin-top:4px;padding:2px 7px;font-size:.75rem}.stations{gap:5px}.station{justify-content:center;min-height:49px}.station-copy strong{font-size:1rem}.station-copy small{font-size:.69rem}.chat{height:clamp(420px,64dvh,590px)}.chat-top{gap:.6rem;padding:9px 13px}.chat-top h2{font-size:1.13rem}.chat-emblem{width:34px;height:34px}.chat-emblem svg{width:20px}.story-launch{padding:.33rem .65rem}.suggestions{gap:4px}.suggestions button{padding-inline:6px}.avatar{width:33px;height:33px}.chat-scroll{padding:9px 12px}.history-head,.history-row,.history-note{padding:.8rem}}@media (max-width:365px){.account-btn svg,.suggestions svg{display:none}.station img{width:28px;height:28px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:0s!important}}.memory-links{gap:1.4rem;margin:1.25rem 0;display:flex}.memory-links a,.reading-page a{color:#78415b;text-underline-offset:.2em;text-decoration:underline}.reading-page{color:#463341;width:min(46rem,100%);margin:auto;padding:clamp(1.2rem,5vw,3rem);font-size:1rem;line-height:1.8}.reading-page article{background:#fff9f4;border:1px solid #dfc2c5;border-radius:1rem;margin-top:1rem;padding:clamp(1.25rem,4vw,2.5rem)}.reading-page h1,.reading-page h2{color:#693c50;font-family:Georgia,Songti SC,serif}.reading-page h2{margin:1.5rem 0 .35rem;font-size:1.2rem}.reading-page p{margin:.5rem 0}.reading-page ul{padding-left:1.25rem;list-style:outside}.verification-actions{flex-wrap:wrap;justify-content:space-between;gap:.5rem 1rem;margin:0 0 1rem;display:flex}.verification-actions button{color:#79445c;text-underline-offset:.18em;font-size:.9rem;text-decoration:underline}.verification-actions button:disabled{color:#756971;text-decoration:none}.host-actions{align-items:center;gap:.4rem;display:flex}.listen-launch{white-space:nowrap}.listen-invitation{margin-top:.4rem}.listen-invitation button{color:#81465d;background:#fff7f4;border:1px solid #d9b9c1;border-radius:100px;gap:.42rem;padding:.38rem .65rem;font-size:.88rem}.listen-invitation strong{font-weight:600}.listen-invitation span{color:#745866;border-left:1px solid #dfc6cb;padding-left:.45rem}.listen-invitation button:hover{background:#f9e6eb}.listening-player{background:linear-gradient(105deg,#f7e6e9,#fff8f3);border:1px solid #dfc5c8;border-radius:.74rem;align-items:center;gap:.65rem;margin-bottom:.55rem;padding:.48rem .6rem;display:flex}.record-control{color:#fffaf4;background:repeating-radial-gradient(circle,#77495c 0 3px,#835366 4px,#77495c 5px);border:2px solid #c798a4;border-radius:50%;flex:0 0 38px;height:38px}.record-info{flex:1;min-width:0}.record-heading,.record-timeline{align-items:center;gap:.55rem;display:flex}.record-heading strong{color:#63394e;font-size:.96rem}.record-heading span,.record-timeline span,.record-info small{color:#745565;font-size:.8rem}.record-timeline input{accent-color:#985a70;flex:1;min-width:0;height:18px;margin:0}.record-timeline span{font-variant-numeric:tabular-nums;white-space:nowrap}.record-close{color:#795360;flex:0 0 30px;min-height:32px}@media (max-width:440px){.chat-top{flex-wrap:wrap}.host-actions{gap:.3rem}.host-actions .story-launch{gap:.28rem;padding:.35rem .5rem;font-size:.86rem}}@media (max-width:375px){.chat-emblem{display:none}}
