.chat-main{max-width:1320px;margin:auto;padding:32px 28px 64px}.chat-intro{position:relative;display:flex;justify-content:space-between;align-items:center;isolation:isolate;overflow:hidden;padding:32px 40px;margin-bottom:26px;border:1px solid #dce7fc;border-radius:24px;background:linear-gradient(110deg,#eef4ff 0%,#f7faff 55%,#e9f2ff 100%)}.chat-intro:after{content:'';position:absolute;right:-70px;top:-150px;width:460px;height:460px;border:1px solid #d2e1fa;border-radius:50%;z-index:-1;box-shadow:0 0 0 55px #d8e5fb38,0 0 0 110px #d8e5fb20}.chat-intro .eyebrow{color:#5574b4;font-size:10px;letter-spacing:2px;margin:0 0 12px}.chat-intro h1{font-size:clamp(25px,3vw,37px);line-height:1.25;margin:0 0 12px;color:#173965;letter-spacing:-1px}.chat-intro-copy>p:last-of-type{color:#66809f;margin:0;font-size:14px}.chat-hero-tags{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px;color:#788ca9;font-size:11px}.chat-hero-tags>span:first-child{background:#fff9;border:1px solid #dce5f5;border-radius:20px;padding:4px 13px;color:#5276ad}.chat-art{width:280px;height:154px;position:relative;flex-shrink:0;margin-left:20px}.art-back,.art-front{position:absolute;border-radius:17px;padding:15px 22px;font-size:17px;box-shadow:0 12px 28px #345ef112;white-space:nowrap}.art-back{top:7px;left:2px;background:#fff;color:#41679c;transform:rotate(-7deg);border:1px solid #e0e8fa}.art-front{top:66px;right:0;background:linear-gradient(120deg,#345ef1,#417cef);color:#fff;transform:rotate(4deg)}.art-front i{margin-left:14px;font-style:normal;color:#b9d8ff}.art-circle{position:absolute;left:10px;bottom:0;width:44px;height:44px;display:grid;place-items:center;background:#dce8ff;color:#5277b7;font-size:24px;border-radius:50%;border:4px solid #f3f7ff}.chat-layout{display:grid;grid-template-columns:265px minmax(0,1fr);gap:24px;align-items:stretch}.chat-aside{padding:25px 18px;border:1px solid #e0e7f3;background:#ffffffd9;border-radius:22px}.chat-section-label{color:#8a9ab3;font-size:9px;font-weight:700;letter-spacing:1.4px;margin:0 10px 16px}.chat-channel{display:flex;align-items:center;gap:11px;padding:16px 12px;border:1px solid #dbe6fc;background:linear-gradient(120deg,#eef3ff,#f5f8ff);border-radius:13px;color:#345ef1}.chat-channel>svg{width:23px;height:23px;flex-shrink:0}.chat-channel strong{font-size:12px;display:block;line-height:1.5}.chat-channel small{font-size:10px;color:#8494ae;display:block;margin-top:4px}.channel-dot{width:6px;height:6px;background:#7195f6;border-radius:50%;margin-left:auto;flex-shrink:0}.chat-aside-copy{padding:5px 11px 15px}.chat-aside-copy p{font-size:12px;line-height:1.85;color:#8190a6}.chat-resources{border-top:1px solid #edf1f7;padding-top:24px}.chat-resources a{display:flex;align-items:center;gap:12px;padding:13px 10px;border-radius:12px;transition:background .2s}.chat-resources a:hover{background:#f1f5ff}.chat-resources svg,.resource-kana{width:28px;height:28px;color:#718bad;flex-shrink:0}.resource-kana{font-size:25px;text-align:center;line-height:28px}.chat-resources strong{font-size:12px;display:block}.chat-resources small{font-size:10px;color:#8d9bb0;display:block;margin-top:3px}.chat-resources i{margin-left:auto;color:#9aaac1;font-style:normal}.chat-note{display:flex;gap:10px;border-top:1px solid #edf1f7;margin:22px 10px 0;padding-top:22px}.chat-note>span{color:#7199ca}.chat-note strong{font-size:11px;color:#677e9d}.chat-note p{color:#8c9ab0;font-size:11px;line-height:1.8;margin-top:7px}.chat-small{font-size:10px;color:#9aa7ba;line-height:1.8;margin:18px 10px 0}.chat-panel{position:relative;min-width:0;border:1px solid #dce5f2;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 12px 45px #20345208}.chat-panel-top{display:flex;gap:13px;align-items:center;padding:21px 26px;border-bottom:1px solid #edf1f7}.chat-room-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:#345ef1;background:#edf3ff;flex-shrink:0}.chat-room-icon svg{width:22px;height:22px}.chat-room-info{min-width:0;flex:1}.chat-panel-top h2{font-size:15px;margin:0;font-weight:700;color:#2b4569}.chat-panel-top p{display:flex;align-items:center;gap:6px;font-size:10px;color:#8999af;margin:4px 0 0}.connection-dot{width:5px;height:5px;background:#9aaac0;border-radius:50%;flex-shrink:0}.connection-dot[data-state=connected]{background:#45a783;box-shadow:0 0 0 3px #45a78312}.connection-dot[data-state=offline]{background:#d6935c}.chat-refresh{border:1px solid #e5ebf5;border-radius:10px;background:#fff;color:#8292ab;font:inherit;font-size:11px;padding:8px 11px;display:flex;align-items:center;gap:7px}.chat-refresh svg{width:14px;height:14px}.chat-refresh:hover{background:#f5f8ff;color:#345ef1}.chat-searchbar{padding:12px 26px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #edf1f7}.chat-room-caption{font-size:8px;letter-spacing:1.1px;color:#a1aec1}.chat-search{display:flex;gap:7px;align-items:center;max-width:190px}.chat-search svg{width:14px;height:14px;color:#8b9bb4;flex-shrink:0}.chat-search input{border:0;background:transparent;width:100%;min-width:0;font-size:11px;padding:4px;color:#456183}.chat-search input::placeholder{color:#9aa9bf}.chat-message-area{position:relative}.chat-messages{height:410px;overflow-y:auto;overscroll-behavior:contain;padding:22px 26px;background:radial-gradient(circle at 1px 1px,#c4d4ef35 1px,transparent 0) 0 0/22px 22px,#f8faff;scrollbar-width:thin;scrollbar-color:#dce5f5 transparent}.chat-empty{margin:35px auto;text-align:center;color:#8496b0;max-width:360px;font-size:13px}.chat-empty:before{content:'会';display:grid;place-items:center;width:70px;height:70px;border-radius:24px;margin:0 auto 22px;background:linear-gradient(135deg,#e8efff,#f7faff);border:1px solid #dfe8fa;color:#6286cd;font-size:34px;box-shadow:0 10px 25px #345ef10a}.chat-empty strong{display:block;font-size:18px;font-weight:600;color:#425f89;margin-bottom:9px}.chat-empty small{display:block;font-size:12px;color:#94a2b8;line-height:1.8;margin-top:10px}.chat-day{display:flex;align-items:center;gap:15px;font-size:9px;color:#9babc1;justify-content:center;margin:4px 0 24px}.chat-day:before,.chat-day:after{content:'';height:1px;background:#e8edf7;flex:1;max-width:100px}.chat-message{display:flex;gap:10px;margin:0 0 21px;align-items:end}.chat-avatar{display:grid;place-items:center;flex:0 0 33px;height:33px;border-radius:12px;background:hsl(var(--avatar-hue,220) 66% 92%);color:hsl(var(--avatar-hue,220) 40% 48%);font-weight:700;font-size:12px;border:2px solid white;box-shadow:0 2px 7px #25497409}.chat-content{max-width:82%;min-width:0}.chat-meta{display:flex;gap:9px;align-items:baseline;font-size:10px;margin:0 2px 6px;flex-wrap:wrap;color:#768ba8}.chat-meta strong{overflow-wrap:anywhere;font-weight:600}.chat-meta time{color:#a7b4c8;font-size:9px}.chat-bubble{margin:0;padding:11px 16px;border-radius:15px 15px 15px 3px;background:#fff;border:1px solid #e6edf8;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px;box-shadow:0 3px 10px #20345203}.chat-message.own{flex-direction:row-reverse}.own .chat-avatar{background:#e4edff;color:#345ef1}.own .chat-meta{justify-content:flex-end}.own .chat-bubble{background:linear-gradient(115deg,#345ef1,#4876ef);color:white;border-color:transparent;border-radius:15px 15px 3px 15px;box-shadow:0 5px 12px #345ef117}.chat-form{padding:18px 25px 0;border-top:1px solid #e5ecf7}.chat-identity{display:flex;align-items:center;gap:9px;margin-bottom:13px}.identity-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#edf3ff;color:#6388c5;font-size:13px;flex-shrink:0}.name-field>span{display:block;font-size:8px;color:#9ba9bd;line-height:1.5}.name-field input{border:0;border-bottom:1px solid transparent;padding:2px 0;background:transparent;font-size:11px;width:160px;color:#4f678a;font-weight:600;border-radius:0}.name-field input:focus{border-bottom-color:#d7e3fa;outline:none}.chat-draft-note{font-size:10px;color:#a3b1c5;margin-left:auto}.chat-composer{border:1px solid #e0e8f5;border-radius:14px;overflow:hidden;transition:border-color .2s,box-shadow .2s;background:#fcfdff}.chat-composer:focus-within{border-color:#a4baf7;box-shadow:0 0 0 3px #345ef108}.message-field{display:block}.chat-form textarea{display:block;width:100%;border:0;border-radius:14px;padding:14px 16px 4px;font:inherit;font-size:13px;background:transparent;color:#203452;resize:vertical;min-height:70px;max-height:180px;outline:none}.chat-form textarea::placeholder{color:#a7b4c8}.chat-send-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px}.chat-emoji{display:flex;align-items:center;gap:2px}.chat-emoji button{background:transparent;border:0;padding:5px;font-size:16px;border-radius:8px;line-height:1}.chat-emoji button:hover{background:#edf3ff}.chat-send-row small{color:#a9b5c8;font-size:9px;margin-left:9px}.chat-send-row>button{display:flex;align-items:center;gap:10px;border:0;border-radius:9px;background:#345ef1;color:white;padding:10px 14px;font:inherit;font-size:11px;font-weight:600;box-shadow:0 3px 7px #345ef118}.chat-send-row>button svg{width:15px;height:15px}.chat-send-row>button:hover{background:#254bd3}.chat-send-row>button:disabled{opacity:.5;cursor:wait}.chat-prompts{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:11px}.chat-prompts>span{font-size:9px;color:#a6b2c5;margin-right:3px}.chat-prompts button{border:1px solid #e9edf5;border-radius:20px;background:white;color:#7e94b0;padding:4px 9px;font:inherit;font-size:9px}.chat-prompts button:hover{background:#f2f6ff;border-color:#d5e2fa;color:#345ef1}#chat-status{min-height:19px;font-size:11px;color:#728ba8;margin:7px 0 6px}#chat-status.error{color:#ba3030}.chat-delete{border:0;border-radius:5px;background:#f1f5fc;padding:1px 5px;font:inherit;font-size:9px;color:#a17b83;cursor:pointer}.chat-new{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);border:1px solid #d7e3ff;border-radius:20px;background:#fff;color:#345ef1;padding:7px 17px;box-shadow:0 4px 20px #345ef120;font:inherit;font-size:11px;white-space:nowrap}.chat-new[hidden]{display:none}footer{text-align:center!important}@media(min-width:1500px){.chat-messages{height:460px}}@media(max-width:1000px){.chat-layout{grid-template-columns:220px minmax(0,1fr);gap:18px}.chat-aside{padding:22px 12px}.chat-room-caption{display:none}.chat-search{max-width:100%}.chat-art{transform:scale(.85);transform-origin:right center;margin-left:0}.chat-intro{padding:28px}.chat-intro-copy{max-width:60%}.chat-draft-note{display:none}}@media(max-width:760px){.chat-main{padding:18px 12px 40px}.chat-layout{display:block}.chat-aside{display:none}.chat-intro{padding:24px 20px;border-radius:20px;margin-bottom:18px}.chat-intro-copy{max-width:100%}.chat-intro h1{font-size:26px;letter-spacing:-.5px}.chat-intro-copy>p:last-of-type{font-size:12px;max-width:290px}.chat-art{display:none}.chat-hero-tags{gap:7px;font-size:9px;margin-top:18px}.chat-panel{border-radius:18px}.chat-panel-top{padding:16px;gap:10px}.chat-panel-top h2{font-size:13px}.chat-refresh{padding:8px}.chat-refresh>span{display:none}.chat-searchbar{padding:10px 17px}.chat-messages{height:44vh;min-height:280px;max-height:480px;padding:18px 14px}.chat-content{max-width:83%}.chat-form{padding:14px 14px 0}.chat-bubble{font-size:13px;padding:10px 13px}.chat-send-row>button{padding:10px 12px}.chat-send-row small{margin-left:4px}.chat-emoji button{padding:4px}.chat-prompts button{font-size:9px}.chat-room-icon{width:36px;height:36px}.chat-panel-top p{font-size:9px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* FAN community: luminous blue surfaces, precise lines and a quieter reading area. */
.chat-main{max-width:1400px;padding:30px 32px 70px;--chat-accent:#346cf4;--chat-cyan:#67e4ff}
.chat-intro{min-height:242px;padding:34px 46px;margin-bottom:22px;border:1px solid #5488df;border-radius:24px;background:radial-gradient(ellipse at 90% 0%,#3897e777,transparent 58%),linear-gradient(112deg,#122e72 0%,#1949a6 53%,#1e64ba 100%);box-shadow:0 14px 40px #173c841c,inset 0 1px 0 #ffffff24}
.chat-intro:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#94cbff0a 1px,transparent 1px),linear-gradient(90deg,#94cbff0a 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(90deg,transparent,#000);pointer-events:none}
.chat-intro:after{width:550px;height:550px;right:-190px;top:-210px;border:1px solid #7dcfff1c;box-shadow:0 0 0 48px #8bcbff05,0 0 0 96px #8bcbff04;pointer-events:none}
.chat-intro .eyebrow{display:flex;align-items:center;gap:9px;color:#9fd9ff;font-size:9px;letter-spacing:2.5px;margin-bottom:16px;font-weight:600}
.chat-intro .eyebrow:before{content:'';width:16px;height:2px;background:#7ee8ff;box-shadow:0 0 12px #7ee8ff88}
.chat-intro h1{color:#f1f8ff;font-size:clamp(27px,3.2vw,44px);letter-spacing:-1.4px;font-weight:750;line-height:1.2;margin-bottom:15px}
.chat-intro-copy>p:last-of-type{color:#b5ccee;font-size:13px;letter-spacing:.1px}
.chat-hero-tags{color:#a0bfe6;gap:14px;font-size:10px;margin-top:24px}
.chat-hero-tags>span:first-child{color:#a5e9ff;background:#a5dcff0c;border-color:#a0d4ff30;backdrop-filter:blur(8px);padding:5px 14px;letter-spacing:.8px}
.chat-art{width:365px;height:200px;flex-shrink:0;margin:-20px 0 -12px 16px;transform:none}
.connection-art{display:block;width:100%;height:100%;overflow:visible}
.art-caption{position:absolute;left:0;right:0;bottom:-2px;text-align:center;letter-spacing:3px;color:#9cd2f1;font-size:9px}
.orbit-spark{animation:orbit-glow 4s ease-in-out infinite}
@keyframes orbit-glow{0%,100%{opacity:.4}50%{opacity:1}}
.chat-layout{grid-template-columns:248px minmax(0,1fr);gap:20px}
.chat-aside{position:relative;padding:27px 17px;background:linear-gradient(150deg,#ffffffed,#f5f9ffeb);border-color:#dce6f5;border-radius:20px;box-shadow:inset 0 1px 0 #fff,0 8px 30px #153d7e04}
.chat-section-label{font-size:8px;letter-spacing:1.7px;color:#758ba8;margin-left:12px;margin-bottom:17px}
.chat-channel{position:relative;gap:10px;padding:17px 13px;color:#245ac6;background:linear-gradient(120deg,#e6f0ff,#eff8ff);border:1px solid #ccdef8;border-radius:12px;box-shadow:0 5px 15px #225aa006,inset 0 1px 0 #fff}
.chat-channel:before{content:'';position:absolute;left:-18px;top:21px;bottom:21px;width:3px;border-radius:0 3px 3px 0;background:#477ef5}
.chat-channel>svg{color:#3075d5;width:21px;height:21px}
.chat-channel strong{font-size:11px}.chat-channel small{font-size:9px;color:#6d89ae}.channel-dot{width:5px;height:5px;background:#5595e4;box-shadow:0 0 0 3px #5595e40d}
.chat-aside-copy p{color:#7086a3;font-size:11px;line-height:1.95}
.chat-resources{border-top-color:#e3ebf6;padding-top:25px}.chat-resources a{border:1px solid transparent;gap:11px;margin-bottom:4px;padding:12px 11px}
.chat-resources a:hover{background:#fff;border-color:#dbe8f9;box-shadow:0 4px 14px #254b8210;transform:translateX(2px)}
.chat-resources a,.chat-prompts button,.chat-refresh{transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
.chat-resources strong{font-size:11px;color:#45658f}.chat-resources small{font-size:9px;color:#8599b4}.chat-resources svg,.resource-kana{color:#577fad}
.chat-note{margin-top:30px;border-top-color:#e3ebf6}.chat-note strong{color:#557498;font-size:10px}.chat-note p{color:#7b90ad;font-size:10px}.chat-small{color:#8599b2;font-size:9px}
.chat-panel{border-radius:20px;border-color:#d5e2f4;box-shadow:0 16px 48px #163e800b,inset 0 1px 0 #fff}
.chat-panel-top{background:linear-gradient(110deg,#fff 40%,#f4f9ff);padding:22px 28px;border-bottom-color:#e2ebf7;position:relative}
.chat-panel-top:before{content:'';position:absolute;left:28px;right:28px;top:0;height:2px;background:linear-gradient(90deg,#367cf200,#367cf2aa,#66dbf4aa,#66dbf400)}
.chat-room-icon{border-radius:12px;color:#2760c4;background:linear-gradient(140deg,#e6f0ff,#f2faff);border:1px solid #d1e4fa;box-shadow:inset 0 1px 0 #fff;width:44px;height:44px}
.chat-panel-top h2{font-size:15px;letter-spacing:-.25px;color:#214570}.chat-panel-top p{font-size:10px;color:#718bab;margin-top:5px}
.chat-refresh{border-radius:9px;border-color:#dce6f4;color:#6080a7;background:#ffffffc9;padding:9px 12px;font-size:10px;box-shadow:0 2px 6px #264c7f03}
.chat-searchbar{padding:11px 28px;background:#fcfdff;border-color:#eaf0f9}.chat-room-caption{font-size:8px;letter-spacing:1.4px;color:#6f89ab}
.chat-search{padding:5px 10px;border:1px solid #e2ebf7;background:#f4f8fd;border-radius:8px;max-width:220px;min-width:175px}
.chat-search input{font-size:10px;padding:1px;color:#45668e}.chat-search input::placeholder{color:#7e95b3}
.chat-messages{height:430px;padding:24px 28px;background:radial-gradient(ellipse at 100% 100%,#eaf6ff50,transparent 70%),linear-gradient(#f6f9fd,#f9fbff);scrollbar-color:#c9d9ef transparent}
.chat-empty{margin:52px auto 36px;max-width:390px;font-size:12px;color:#6d88ac;line-height:1.9}
.chat-empty:before{width:80px;height:80px;border-radius:25px;background:linear-gradient(135deg,#e4f0ff,#eefbff);color:#437dc2;border-color:#cadff6;box-shadow:0 0 0 10px #f0f7ff,0 0 0 11px #e1edfa,0 12px 32px #326ac610;transform:rotate(-7deg);font-size:35px;margin-bottom:30px}
.chat-empty strong{color:#315882;font-size:17px;letter-spacing:-.4px;line-height:1.55;margin-bottom:10px}.chat-empty small{color:#839ab7;font-size:11px}
.chat-day{margin-bottom:25px;font-size:9px;color:#7c94b3;gap:16px}.chat-day:before,.chat-day:after{background:linear-gradient(90deg,transparent,#dce7f5,transparent)}
.chat-avatar{border-radius:11px;border-width:1px;box-shadow:0 3px 9px #234e8707}
.chat-bubble{border-color:#e0e9f6;background:#fff;box-shadow:0 4px 14px #23477404;border-radius:14px 14px 14px 3px;font-size:13px;color:#34577c;padding:12px 16px}
.chat-meta{color:#5f7ea4;font-size:10px}.chat-meta time{font-size:9px;color:#8ca1bc}.own .chat-meta strong{color:#4172ba}
.own .chat-avatar{background:linear-gradient(135deg,#d9eaff,#e8f6ff);border-color:#bad8f8;color:#397bc2}
.own .chat-bubble{background:linear-gradient(110deg,#2660ce,#2c7adb);box-shadow:0 6px 18px #286bc41c;border:1px solid #2a70d0;color:#fff}
.chat-form{padding:18px 26px 0;background:linear-gradient(#fff,#fbfdff);border-top-color:#dfeaf8}
.identity-avatar{background:linear-gradient(135deg,#e5f0ff,#eefbff);border:1px solid #d6e6f9;color:#4d80b9;border-radius:10px}
.name-field>span{font-size:9px;color:#7891b0}.name-field input{color:#3c638f;font-size:11px}.chat-draft-note{color:#7f97b5;font-size:9px}
.chat-composer{border-color:#d7e4f5;border-radius:13px;background:#f9fcff;box-shadow:inset 0 2px 5px #1a4e9103}
.chat-composer:focus-within{border-color:#69a5e9;box-shadow:0 0 0 3px #63b9f210,0 5px 18px #2358b009}
.chat-form textarea{padding:15px 16px 6px;min-height:73px;font-size:13px;color:#34577c}.chat-form textarea::placeholder{color:#819abb}
.chat-send-row{padding:8px 11px 10px}.chat-emoji button{font-size:16px}.chat-send-row small{color:#839bb8}
.chat-send-row>button{border:1px solid #326dc9;border-radius:9px;background:linear-gradient(110deg,#245ccb,#337fe0);box-shadow:inset 0 1px 0 #ffffff20,0 5px 12px #2966b921;padding:10px 17px;font-size:11px;gap:13px;transition:transform .2s,box-shadow .2s}
.chat-send-row>button:hover{background:linear-gradient(110deg,#1d53c3,#2b75d7);transform:translateY(-1px);box-shadow:0 7px 18px #2966b929}.chat-send-row>button:active{transform:translateY(0)}
.chat-prompts{gap:7px;margin-top:12px}.chat-prompts>span{color:#8198b6}.chat-prompts button{color:#6185af;border-color:#deebfa;background:#f8fbff;padding:5px 10px}.chat-prompts button:hover{background:#edf6ff;border-color:#c0daf7;color:#356dab}
.chat-new{border-color:#c5ddfa;box-shadow:0 5px 20px #1a65bc18;background:#f6fcff;color:#3474bd}
#chat-status{color:#6c8aa9}.chat-delete{color:#98717d;background:#f3f7fd}
@media(min-width:1500px){.chat-messages{height:470px}}
@media(max-width:1100px){.chat-main{padding:26px 24px 55px}.chat-intro{padding:30px 34px;min-height:218px}.chat-intro h1{font-size:34px}.chat-art{width:290px;height:174px;margin-left:10px}.chat-layout{grid-template-columns:220px minmax(0,1fr);gap:17px}.chat-intro-copy{max-width:62%}.chat-room-caption{display:none}.chat-search{max-width:100%;width:100%}.chat-draft-note{display:none}}
@media(max-width:760px){.chat-main{padding:16px 12px 40px}.chat-intro{padding:27px 22px;min-height:0;border-radius:19px;margin-bottom:16px}.chat-intro-copy{max-width:100%}.chat-intro h1{font-size:29px;letter-spacing:-1px;max-width:290px;line-height:1.2}.chat-intro-copy>p:last-of-type{font-size:12px;max-width:280px;color:#b9cfee;line-height:1.8}.chat-intro .eyebrow{font-size:8px;letter-spacing:2px;margin-bottom:15px}.chat-hero-tags{font-size:9px;margin-top:20px;gap:9px}.chat-art{display:none}.chat-intro:after{width:300px;height:300px;right:-160px;top:-70px}.chat-layout{display:block}.chat-aside{display:none}.chat-panel{border-radius:17px}.chat-panel-top{padding:17px 16px;gap:10px}.chat-panel-top:before{left:16px;right:16px}.chat-panel-top h2{font-size:13px}.chat-room-icon{width:37px;height:37px}.chat-panel-top p{font-size:9px}.chat-refresh{padding:9px}.chat-searchbar{padding:10px 15px}.chat-search{max-width:100%;width:100%;padding:5px 10px;min-width:0}.chat-messages{height:46vh;min-height:290px;max-height:490px;padding:20px 14px}.chat-empty{margin:43px auto 26px;max-width:260px}.chat-empty strong{font-size:16px}.chat-empty:before{width:66px;height:66px;font-size:30px;margin-bottom:27px}.chat-bubble{padding:11px 13px;font-size:13px}.chat-form{padding:15px 14px 0}.chat-prompts{gap:5px}.chat-prompts button{padding:5px 8px;font-size:9px}.chat-form textarea{font-size:13px}.chat-send-row>button{padding:10px 13px;gap:8px}.chat-send-row small{font-size:8px}.chat-hero-tags>span:first-child{padding:4px 11px}}
@media(prefers-reduced-motion:reduce){.orbit-spark{animation:none}.chat-send-row>button,.chat-resources a,.chat-prompts button,.chat-refresh{transition:none}.chat-resources a:hover,.chat-send-row>button:hover{transform:none}}

/* Open the emoji palette only when requested, beside the insertion button. */
.chat-composer{overflow:visible}.chat-emoji{position:relative}.chat-emoji .emoji-toggle{display:grid;place-items:center;width:32px;height:32px;border:1px solid transparent;border-radius:9px;color:#6489b3;padding:5px;background:transparent}.emoji-toggle svg{width:21px;height:21px}.chat-emoji .emoji-toggle:hover,.chat-emoji .emoji-toggle[aria-expanded=true]{color:#2c70cd;background:#eaf4ff;border-color:#d0e4fa}.emoji-picker{position:absolute;left:-1px;bottom:calc(100% + 12px);width:274px;max-width:calc(100vw - 64px);z-index:15;padding:13px;background:#fffffffa;border:1px solid #ccdef5;border-radius:15px;box-shadow:0 12px 40px #164e8526,0 2px 8px #163a7610;backdrop-filter:blur(18px)}.emoji-picker[hidden]{display:none}.emoji-picker>p{margin:0 0 9px;padding:0 3px 9px;border-bottom:1px solid #edf2f9;color:#6e8caf;font-size:10px;font-weight:600}.emoji-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}.chat-emoji .emoji-grid button{display:grid;place-items:center;min-width:0;width:100%;height:34px;border:0;background:transparent;border-radius:8px;font-size:21px;padding:3px;line-height:1.2;transition:background .15s,transform .15s}.chat-emoji .emoji-grid button:hover{background:#eaf4ff;transform:scale(1.08)}.chat-emoji .emoji-grid button:focus-visible{outline:2px solid #65a4e8;outline-offset:0}#chat-status{margin-top:9px}@media(prefers-reduced-motion:reduce){.chat-emoji .emoji-grid button{transition:none}.chat-emoji .emoji-grid button:hover{transform:none}}

.chat-hi-effect{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;pointer-events:none;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at center,#dff4ff66,transparent 65%)}.chat-hi-effect[hidden]{display:none}.hi-word{position:relative;font-size:clamp(120px,27vw,330px);font-weight:900;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1;letter-spacing:-.07em;padding-right:.07em;color:#347cf0;text-shadow:0 4px 0 #c8edff,0 14px 35px #255bc433,0 0 90px #73dfff80;transform-origin:center 70%;filter:drop-shadow(0 0 2px white)}.hi-word>span{position:absolute;top:-.12em;right:-.45em;font-size:.23em;color:#5cd4f3;text-shadow:0 0 20px #c2f5ff;letter-spacing:0}.hi-halo{position:absolute;width:min(82vw,600px);aspect-ratio:1;border-radius:50%;border:1px solid #78cbf999;background:radial-gradient(circle,#ffffffcc,transparent 64%);box-shadow:0 0 0 22px #b3e8ff22,0 0 0 48px #b3e8ff11}.chat-hi-effect.is-playing .hi-word{animation:fan-hi-shake 2s both}.chat-hi-effect.is-playing .hi-halo{animation:fan-hi-halo 2s both}@keyframes fan-hi-shake{0%{opacity:0;transform:translateY(25px) scale(.3) rotate(-15deg)}15%{opacity:1;transform:translateY(0) scale(1.12) rotate(8deg)}25%{transform:scale(1) rotate(-8deg) translateX(-9px)}35%{transform:rotate(7deg) translateX(9px)}45%{transform:rotate(-6deg) translateX(-7px)}55%{transform:rotate(5deg) translateX(6px)}65%{transform:rotate(-3deg) translateX(-4px)}76%{opacity:1;transform:rotate(2deg) scale(1)}100%{opacity:0;transform:translateY(-25px) scale(1.13) rotate(0)}}@keyframes fan-hi-halo{0%{opacity:0;transform:scale(.5)}20%{opacity:1;transform:scale(.9)}70%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(1.12)}}@media(prefers-reduced-motion:reduce){.chat-hi-effect.is-playing .hi-word,.chat-hi-effect.is-playing .hi-halo{animation:none}.hi-word{transform:none}}

.chat-embed,.chat-embed body{height:100%;height:100dvh;margin:0;overflow:hidden;background:#fff}.chat-embed .library-top,.chat-embed .chat-intro,.chat-embed .chat-aside,.chat-embed footer,.chat-embed .home-link,.chat-embed #fan-page-loader,.chat-embed .skip-link{display:none!important}.chat-embed .chat-main{max-width:none;padding:0!important;height:100%}.chat-embed .chat-layout{display:block;height:100%}.chat-embed .chat-panel{display:flex;flex-direction:column;height:100%;border:0;border-radius:0;box-shadow:none}.chat-embed .chat-panel-top{padding:14px 16px;flex-shrink:0}.chat-embed .chat-panel-top:before{display:none}.chat-embed .chat-panel-top h2{font-size:13px}.chat-embed .chat-panel-top p{font-size:9px}.chat-embed .chat-room-icon{width:35px;height:35px}.chat-embed .chat-searchbar{padding:8px 14px;flex-shrink:0}.chat-embed .chat-room-caption,.chat-embed .chat-draft-note{display:none}.chat-embed .chat-search{max-width:100%;width:100%}.chat-embed .chat-message-area{flex:1;min-height:0}.chat-embed .chat-messages{height:100%;min-height:0;max-height:none;padding:18px 14px}.chat-embed .chat-empty{margin:36px auto;max-width:280px}.chat-embed .chat-empty strong{font-size:15px}.chat-embed .chat-empty:before{height:56px;width:56px;font-size:28px}.chat-embed .chat-form{flex-shrink:0;padding:13px 14px 0}.chat-embed .chat-form textarea{min-height:60px;max-height:110px}.chat-embed .chat-identity{margin-bottom:10px}.chat-embed .chat-send-row{padding:6px 10px 8px}.chat-embed .chat-refresh>span{display:none}.chat-embed .chat-hi-effect .hi-word{font-size:clamp(110px,30vw,180px)}

/* Soft, bouncy emoji celebrations after a successful send. */
.chat-hi-effect.is-emoji .hi-word{max-width:90vw;text-align:center;font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:clamp(64px,18vw,150px);line-height:1.35;letter-spacing:.06em;overflow-wrap:anywhere;text-shadow:0 12px 35px #4a96dd33;filter:drop-shadow(0 0 18px #b6eeff66)}
.chat-hi-effect.is-emoji.is-playing .hi-word{animation:fan-emoji-cute 2s both}
@keyframes fan-emoji-cute{0%{opacity:0;transform:translateY(65px) scale(.15) rotate(-20deg)}18%{opacity:1;transform:translateY(-18px) scale(1.2) rotate(12deg)}30%{transform:scale(.94) rotate(-12deg)}42%{transform:translateY(-10px) scale(1.08) rotate(10deg)}54%{transform:rotate(-8deg)}66%{transform:translateY(-6px) rotate(6deg)}80%{opacity:1;transform:scale(1) rotate(-3deg)}100%{opacity:0;transform:translateY(-40px) scale(.7) rotate(8deg)}}
@media(prefers-reduced-motion:reduce){.chat-hi-effect.is-emoji.is-playing .hi-word{animation:none;transform:none}}
