:root{--ice-ink: #0b1c24;--ice-deep: #12343f;--ice-lake: #2a6f7e;--ice-mist: #d7e6ea;--ember: #c45c26;--snow: #f7f3ee;--danger: #9b2c2c}:root{--paper: #f7f3ee;--line: rgba(18,52,63,.13);--muted: #718087;--shadow: 0 20px 60px rgba(18,52,63,.08)}*{box-sizing:border-box}html{background:var(--paper)}body{margin:0;font-family:Noto Sans CJK SC,PingFang SC,sans-serif;background:var(--paper);color:var(--ice-ink)}button,input,textarea{font:inherit}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;background:radial-gradient(circle at 90% 8%,rgba(215,230,234,.55),transparent 25rem)}.topbar{height:72px;padding:0 clamp(20px,5vw,76px);display:flex;align-items:center;gap:48px;border-bottom:1px solid var(--line);background:#f7f3eee0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);position:sticky;top:0;z-index:5}.brand-lockup{display:inline-flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.12em;white-space:nowrap}.brand-lockup img{width:34px;height:34px;border-radius:9px}.brand-lockup.dark{color:var(--ice-deep)}.main-nav{display:flex;gap:28px;color:var(--muted);font-size:14px;flex:1;min-width:0;flex-wrap:nowrap}.main-nav a{white-space:nowrap}.main-nav a:hover,.main-nav a.active{color:var(--ice-deep)}.top-actions{display:flex;align-items:center;gap:16px;font-size:13px}.profile-pill{display:inline-flex;align-items:center;gap:7px}.avatar-dot,.mini-avatar{display:inline-grid;place-items:center;background:var(--ice-mist);color:var(--ice-deep);border-radius:50%;font-size:12px}.avatar-dot{width:28px;height:28px}.text-button,.refresh-button,.switch-link{border:0;background:none;color:var(--muted);cursor:pointer}.page-wrap{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:54px 0 80px}.eyebrow{color:var(--ember);font-size:10px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(40px,6vw,72px);line-height:1.08;letter-spacing:-.07em}h2{font-size:30px;letter-spacing:-.05em}.warm-button{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;border:0;border-radius:8px;padding:14px 18px;background:var(--ice-deep);color:var(--snow);cursor:pointer;box-shadow:0 8px 18px #12343f26;transition:transform .2s,background .2s}.warm-button:hover{transform:translateY(-2px);background:var(--ice-lake)}.warm-button.small{padding:10px 14px;font-size:12px;gap:12px}.quiet-button{padding:14px 0;color:var(--ice-deep);border-bottom:1px solid var(--ice-deep);font-size:13px}.world-hero{min-height:450px;display:grid;grid-template-columns:1fr 1fr;align-items:center;border-bottom:1px solid var(--line);overflow:hidden}.hero-copy{position:relative;z-index:1;padding:35px 0}.hero-copy h1{margin:20px 0}.hero-copy h1 strong{color:var(--ice-lake);font-weight:800}.hero-copy p{color:var(--muted);max-width:360px;line-height:1.9;font-size:15px}.hero-actions{display:flex;gap:25px;align-items:center;margin-top:34px}.hero-illustration{height:430px;position:relative;overflow:hidden;border-radius:18px;background:#0b1c24}.hero-illustration img{width:100%;height:100%;object-fit:cover;object-position:72% center;display:block}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:54px 0 22px}.section-heading h2{margin:10px 0 0}.refresh-button{font-size:13px}.refresh-button span{font-size:22px;color:var(--ember);margin-left:7px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:25px}.composer,.story-card,.aside-card{background:#ffffffb3;border:1px solid var(--line);border-radius:12px}.composer{padding:18px;display:flex;gap:12px;margin-bottom:14px}.composer-avatar{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;color:var(--snow);background:var(--ice-deep)}.composer-body{width:100%}.composer textarea{border:0;resize:none;min-height:54px;background:transparent;outline:0;padding:8px 0;margin:0}.composer-footer{border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.story-card{padding:22px;margin-bottom:14px;transition:transform .2s,box-shadow .2s}.story-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.story-card p{font-family:Georgia,"Noto Serif CJK SC",serif;font-size:18px;line-height:1.8;margin:16px 0 24px}.story-meta,.story-footer{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px}.mini-avatar{width:24px;height:24px}.story-footer{justify-content:space-between;padding-top:14px;border-top:1px solid var(--line)}.tone-1{background:#e8f0ef}.tone-2{background:#faf0df}.aside-card{padding:23px;margin-bottom:16px}.quote-card{background:var(--ice-deep);color:var(--snow)}.quote-card .eyebrow{color:var(--ember)}.quote-mark{font-size:58px;color:var(--ember);line-height:.7;margin-top:30px}.quote-card p{font-family:Georgia,serif;font-size:20px;line-height:1.55}.quote-card small{color:#a8c4c8}.join-card h3{line-height:1.45;margin-top:22px}.join-card p{color:var(--muted);line-height:1.7;font-size:13px}.underlined-link{display:inline-block;padding-bottom:5px;border-bottom:1px solid var(--ember);font-size:13px}.empty-state{text-align:center;padding:60px 20px;color:var(--muted)}.empty-state span{font-size:28px;color:var(--ember)}.login-page{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;background:var(--paper)}.login-art{position:relative;overflow:hidden;background:var(--ice-deep);color:var(--snow);padding:clamp(30px,8vw,110px);display:flex;align-items:center}.login-art-copy{position:relative;z-index:2}.login-art h1{font-size:clamp(48px,6vw,82px);margin:25px 0}.login-art h1 em{color:var(--ember);font-style:normal}.login-art p{color:#b3c8c9;line-height:1.8}.sun-orb{position:absolute;width:440px;height:440px;border-radius:50%;right:-80px;top:90px;background:var(--ice-lake);opacity:.3;box-shadow:0 0 0 80px #c45c2614,0 0 100px #c45c264d}.road-line{position:absolute;width:360px;height:720px;right:100px;bottom:-390px;border:18px solid var(--snow);border-radius:50%;opacity:.18;transform:rotate(25deg)}.login-panel{padding:clamp(30px,7vw,100px);display:flex;flex-direction:column;justify-content:center}.login-heading{margin-top:100px}.login-heading h2{font-size:42px;letter-spacing:-.07em;margin:16px 0 8px}.login-heading p,.login-note{color:var(--muted);font-size:13px;line-height:1.7}.auth-form{margin-top:34px}.auth-form label{display:block;color:var(--muted);font-size:12px;margin-bottom:14px}.auth-form input{display:block;width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;padding:12px 0;outline:none;color:var(--ice-ink)}.auth-form input:focus{border-color:var(--ember)}.auth-form .warm-button{width:100%;margin-top:14px}.error-note{color:var(--danger);font-size:12px;margin:10px 0}.switch-link{margin-top:20px;text-align:left;padding:0;font-size:12px;color:var(--ice-lake)}.login-note{margin-top:80px;font-size:11px}.site-footer{max-width:1180px;margin:0 auto;padding:20px 0 30px;display:flex;justify-content:space-between;color:var(--muted);font-size:11px;border-top:1px solid var(--line)}.chat-layout{min-height:650px;display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;align-items:center}.chat-intro h1{margin:18px 0}.chat-intro p{color:var(--muted);line-height:1.9;max-width:300px}.chat-avatar-large{margin-top:55px;width:90px;height:90px;padding:13px;border-radius:25px;background:var(--ice-mist)}.chat-avatar-large img{width:100%;height:100%}.online-note{display:block;margin-top:16px;font-size:11px;color:var(--muted)}.online-note i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#6eae85;margin-right:6px}.chat-window{height:650px;display:flex;flex-direction:column;background:#ffffffbf;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}.chat-top{padding:18px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;font-size:13px}.privacy-label{color:var(--muted);font-size:11px}.message-list{flex:1;overflow:auto;padding:24px}.welcome-message{text-align:center;color:var(--muted);margin:130px auto;line-height:1.8}.welcome-message img{width:50px;display:block;margin:0 auto 14px}.message-row{display:flex;flex-direction:column;margin-bottom:16px}.message-row.mine{align-items:end}.message-bubble{max-width:78%;padding:12px 16px;line-height:1.7;font-size:14px;background:var(--ice-mist);border-radius:4px 16px 16px}.mine .message-bubble{background:var(--ice-deep);color:var(--snow);border-radius:16px 4px 16px 16px}.message-row small{color:var(--muted);font-size:10px;margin-top:5px}.chat-input{margin:14px;padding:10px;border:1px solid var(--line);display:flex;align-items:end;border-radius:10px;background:var(--paper)}.chat-input textarea{flex:1;min-height:45px;max-height:130px;border:0;resize:vertical;outline:0;background:transparent;margin:0}.send-button{width:38px;height:38px;border-radius:50%;border:0;background:var(--ember);color:#fff;cursor:pointer;font-size:20px}.profile-head{display:flex;gap:25px;align-items:center;padding:45px 0}.profile-avatar{width:90px;height:90px;display:grid;place-items:center;background:var(--ice-deep);color:var(--snow);font-size:30px;border-radius:50%}.profile-head h1{font-size:44px;margin:10px 0}.profile-head p{color:var(--muted)}.membership-tag{padding:5px 10px;background:var(--ice-mist);color:var(--ice-lake);font-size:11px;border-radius:20px}.profile-divider{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:18px 0;font-size:12px;color:var(--muted)}.profile-posts{max-width:700px}.simple-head{padding:35px 0}.simple-head h1{margin:18px 0 10px}.simple-head p{color:var(--muted)}.hut-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.hut-card{background:#fff;border:1px solid var(--line);padding-bottom:18px}.hut-card h3,.hut-card p,.hut-card small{margin-left:18px;margin-right:18px}.hut-card p,.hut-card small{color:var(--muted);font-size:12px}.hut-image{height:150px;background:linear-gradient(135deg,var(--ice-mist),#b7d2ce);display:flex;align-items:end;justify-content:space-between;padding:16px;color:var(--ice-deep)}.hut-image b{font-size:24px}.quote-page{min-height:620px;display:flex;flex-direction:column;justify-content:center;max-width:800px}.quote-page h1{margin:18px 0 50px}.big-quote{font-family:Georgia,"Noto Serif CJK SC",serif;font-size:clamp(32px,5vw,64px);line-height:1.35;color:var(--ice-deep)}.quote-page p{color:var(--muted);margin:34px 0}.voice-controls{display:flex;align-items:center;gap:12px;padding:0 16px 16px;color:var(--muted);font-size:11px}.hold-to-talk{flex:none;min-width:110px;padding:10px 16px;border:0;border-radius:22px;background:var(--ice-deep);color:var(--snow);cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none}.hold-to-talk:disabled{opacity:.55;cursor:wait}.hold-to-talk.recording{background:var(--ember);box-shadow:0 0 0 5px #c45c2621}.reply-audio{display:block;width:min(320px,100%);height:38px;margin-top:10px}.voice-controls span{line-height:1.5}@media(max-width:760px){.topbar{gap:14px;padding:0 16px}.main-nav{gap:12px}.top-actions .profile-pill{display:none}.page-wrap{width:calc(100% - 28px);padding-top:28px}.world-hero,.login-page,.chat-layout{grid-template-columns:1fr}.hero-illustration{height:230px;order:-1}.login-art{min-height:320px;padding:30px}.login-art h1{font-size:44px}.login-heading,.login-note{margin-top:35px}.content-grid{grid-template-columns:1fr}.side-column{display:none}.hut-grid{grid-template-columns:1fr}.chat-window{height:580px}.site-footer{margin:0 14px;flex-direction:column;gap:8px}.hero-actions{flex-wrap:wrap}}body[data-theme=blue]{--paper: #eef6fa;--ice-deep: #113f62;--ice-ink: #12344f;--ice-lake: #2b78a0;--ice-mist: #d4eaf3;--snow: #f7fcff;--ember: #458db0}.agent-link{color:var(--ember)!important;font-weight:800;display:inline-flex;align-items:center;gap:5px}.main-nav>.agent-link{margin-left:auto}.agent-link span{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:var(--ember);color:var(--snow);font-size:12px}.site-search{width:180px;height:34px;display:flex;align-items:center;gap:6px;padding:0 10px;border:1px solid var(--line);border-radius:20px;background:#ffffff80;color:var(--muted)}.site-search input{width:100%;border:0;outline:0;background:transparent;padding:0;margin:0;font-size:12px;color:var(--ice-ink)}.profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.settings-link{color:var(--muted);font-size:12px}.china-map{position:relative;background:linear-gradient(145deg,var(--ice-deep),var(--ice-lake));border-radius:16px;padding:18px;overflow:hidden;box-shadow:var(--shadow)}.china-map svg{display:block;width:100%;min-height:290px}.china-outline{fill:#d7e6ea38;stroke:#f7f3eecc;stroke-width:3}.map-pin circle{fill:var(--ember);stroke:var(--snow);stroke-width:3;cursor:pointer}.map-pin text{fill:var(--snow);font-size:13px;text-anchor:middle}.map-caption{display:flex;justify-content:space-between;color:var(--snow);font-size:13px}.map-caption small{color:#b7d2d5}.search-results{max-width:800px}.result-row{display:flex;gap:15px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.result-row span:last-child{color:var(--muted);font-size:12px}.result-kind{width:45px;color:var(--ember);font-size:11px}.settings-page{padding-top:28px}.settings-page h1{margin:16px 0 45px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:850px}.settings-card{padding:25px;background:#ffffffb3;border:1px solid var(--line);border-radius:12px}.settings-card h3{margin-bottom:10px}.settings-card>p{color:var(--muted);font-size:13px}.settings-card label{display:block;margin:16px 0;color:var(--muted);font-size:12px}.settings-card input,.settings-card textarea{display:block;margin-top:7px;border:1px solid var(--line);background:transparent;outline:0;padding:11px;border-radius:7px}.theme-options{display:grid;gap:12px;margin-top:24px}.theme-options button{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);background:transparent;border-radius:8px;text-align:left;color:var(--ice-ink);cursor:pointer}.theme-options button.selected{border-color:var(--ember);box-shadow:0 0 0 2px #c45c261f}.theme-swatch{width:28px;height:28px;border-radius:7px;display:block}.paper-swatch{background:linear-gradient(135deg,#12343f 48%,#c45c26 49%)}.blue-swatch{background:linear-gradient(135deg,#113f62 48%,#458db0 49%)}.big-quote{max-width:760px;font-size:clamp(28px,4vw,52px);overflow-wrap:anywhere;word-break:break-word}.quote-page{max-width:900px}.china-map-image{display:block;width:100%;height:330px;object-fit:contain;background:#f7f3ee1a;filter:sepia(.35) saturate(.7) brightness(1.08)}.map-pins{position:absolute;top:18px;right:18px;bottom:55px;left:18px;pointer-events:none}.map-pin-real{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;padding:5px 8px;border-radius:14px;background:var(--ember);color:#fff;border:2px solid var(--snow);font-size:11px;white-space:nowrap;box-shadow:0 4px 12px #0b1c2433}.avatar-choices>span{display:block;color:var(--muted);font-size:12px;margin-bottom:9px}.avatar-choices>div{display:flex;gap:10px;align-items:center}.avatar-choice,.avatar-upload{width:48px;height:48px;padding:5px;border:1px solid var(--line);border-radius:50%;background:transparent;cursor:pointer;display:grid;place-items:center}.avatar-choice.selected{border:2px solid var(--ember)}.avatar-choice img{width:100%;height:100%;border-radius:50%}.avatar-upload{position:relative;color:var(--ember);font-size:20px;border-style:dashed}.avatar-upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.map-pin-real{border:0}.hut-card.clickable{cursor:pointer;transition:transform .2s,box-shadow .2s}.hut-card.clickable:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.hut-detail{min-height:600px;padding:60px 0;max-width:800px}.hut-detail h1{margin:20px 0 12px}.hut-detail-address{color:var(--muted);font-size:18px}.hut-detail-card{margin-top:45px;padding:28px;background:#ffffffb8;border:1px solid var(--line);border-radius:14px;line-height:1.8}.hut-detail-card h3{margin-top:0;color:var(--ice-lake)}.welcome-page{min-height:650px;display:grid;grid-template-columns:1fr 1fr;align-items:center}.welcome-copy{padding:35px 0}.welcome-copy h1{margin:20px 0}.welcome-copy h1 strong{color:var(--ice-lake)}.welcome-copy p{color:var(--muted);max-width:360px;line-height:1.9}.community-heading{align-items:end;margin-top:10px}.community-heading h1{font-size:clamp(40px,5vw,60px);margin:15px 0 8px}.community-heading p{color:var(--muted);margin-bottom:0}@media(max-width:760px){.site-search{display:none}.settings-grid{grid-template-columns:1fr}.map-caption{flex-direction:column;gap:5px}.welcome-page{grid-template-columns:1fr;min-height:auto}.welcome-page .hero-illustration{order:-1;height:230px}}.phone-row{display:flex;gap:8px}.phone-row select{width:46%}.phone-row input{flex:1;min-width:0}.avatar-dot,.composer-avatar{object-fit:cover}.composer-avatar{background:transparent}.profile-meta{display:grid;gap:6px;margin-top:12px;color:var(--muted)}.profile-posts{display:grid;gap:12px}.story-card a{display:inline-flex;align-items:center;gap:8px}.story-card img{width:28px;height:28px;border-radius:50%;object-fit:cover}.top-actions .profile-pill{display:inline-flex}.moonlight-button{margin-top:18px;border:0;border-radius:22px;padding:10px 16px;background:var(--ember);color:var(--snow);cursor:pointer}.moonlight-prompts{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 12px}.moonlight-prompts span{width:100%;color:var(--muted);font-size:12px}.moonlight-prompts button{border:1px solid var(--line);border-radius:16px;background:#fffc;color:var(--ice-ink);padding:8px 12px;text-align:left;cursor:pointer}.moonlight-prompts button:disabled{opacity:.55;cursor:wait}.composer-footer .warm-button{margin-left:auto}.share-toggle{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.post-tools,.edit-post{display:flex;gap:10px;align-items:center;margin-bottom:8px}.post-tools button,.edit-post button,.like-button{border:0;background:none;color:var(--ice-lake);cursor:pointer}.like-button.liked{color:var(--ember)}.post-time{display:block;margin:6px 0;color:var(--muted);font-size:12px}.voice-controls .moonlight-button{margin-top:0}.emoji-toggle{width:38px;height:38px;border:0;background:transparent;color:var(--ember);cursor:pointer;font-size:20px}.emoji-panel{display:flex;flex-wrap:wrap;gap:4px;margin:0 14px;padding:8px;border:1px solid var(--line);border-radius:10px;background:#ffffffb8}.emoji-panel button{width:36px;height:36px;border:0;border-radius:8px;background:transparent;cursor:pointer;font-size:20px}.emoji-panel button:hover{background:var(--ice-mist)}.profile-counts{display:flex;gap:14px;margin-top:18px}.profile-counts div{min-width:128px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#ffffffb8}.profile-counts strong{display:block;font-size:28px;color:var(--ice-deep)}.profile-counts span{color:var(--muted);font-size:13px}.market-search{display:flex;gap:8px;max-width:640px}.market-search input,.market-search button{border:1px solid var(--line);border-radius:22px;padding:10px 14px;background:#fffc}.market-search button{background:var(--ice-deep);color:var(--snow);cursor:pointer}.market-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:14px}.market-filters span{color:var(--muted);font-size:12px}.market-filters button,.market-pager button{border:1px solid var(--line);border-radius:16px;background:transparent;padding:6px 10px;cursor:pointer}.market-filters button.active{background:var(--ice-deep);color:var(--snow)}.market-count{color:var(--muted)}.market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.market-card{display:block;padding:18px;background:#ffffffb8;border:1px solid var(--line);border-radius:12px;color:inherit}.market-card h2{font-size:20px;margin:8px 0}.market-card p,.case-section p{color:var(--muted);line-height:1.8}.tag-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.tag-row span{padding:3px 8px;border-radius:12px;background:var(--ice-mist);color:var(--ice-lake);font-size:12px}.player-frame{position:relative;z-index:0;isolation:isolate;margin-top:18px;padding-top:56.25%;background:var(--ice-deep);border-radius:12px;overflow:hidden}.player-frame iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;z-index:0}.case-section{margin-top:22px}.case-section pre,.case-section summary{white-space:pre-wrap;line-height:1.8}.back-link{position:relative;z-index:3;display:inline-flex;margin-bottom:16px;padding:8px 14px;border:1px solid var(--line);border-radius:16px;background:var(--snow);color:var(--ice-deep);cursor:pointer}.market-pager{display:flex;gap:8px;margin:18px 0 40px}.guest-lock{margin:28px 0 48px;padding:28px;border:1px solid var(--line);border-radius:12px;background:#ffffffb8;max-width:460px}.guest-lock p{color:var(--muted);line-height:1.8}.guest-lock .warm-button{display:inline-flex;margin-top:8px}.star-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin:22px 0}.star-list article{padding:16px;border:1px solid var(--line);border-radius:12px;background:#ffffffb8}.star-list p{line-height:1.7}.quote-refresh{flex:none;margin-bottom:4px;border:0;border-radius:8px;padding:12px 16px;background:var(--ember);color:var(--snow);font-weight:700;cursor:pointer;box-shadow:0 8px 18px #c45c2633}.quote-refresh:hover{transform:translateY(-2px)}.star-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}.site-footer{display:flex;justify-content:space-between;gap:16px;align-items:center}.site-footer nav{display:flex;gap:16px}.site-footer a{color:var(--ice-lake)}.about-page{max-width:720px;padding:28px 0 48px}.about-page p{color:var(--muted);line-height:1.9}.contact-form{display:grid;gap:12px;max-width:560px}.contact-form textarea{min-height:140px;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fffc}@media(max-width:900px){.star-list{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer{align-items:flex-start;flex-direction:column}}.star-list small{color:var(--muted)}.page-wrap:has(.chat-layout){width:min(1440px,calc(100% - 28px));padding-top:28px}.chat-layout{min-height:calc(100vh - 150px);grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:stretch}.chat-history{display:flex;flex-direction:column;min-height:0;background:#ffffffbf;border:1px solid var(--line);border-radius:16px;overflow:hidden}.chat-history-head,.chat-top-actions{display:flex;align-items:center;gap:8px}.chat-history-head{justify-content:space-between;padding:14px;border-bottom:1px solid var(--line)}.chat-history-head strong{font-size:14px}.chat-new,.chat-history-toggle,.chat-delete,.chat-tool{border:0;cursor:pointer}.chat-new,.chat-history-toggle,.chat-tool{border-radius:999px;background:var(--ice-deep);color:var(--snow);padding:8px 12px;font-size:12px}.chat-tool[aria-pressed=true]{background:var(--ember)}.chat-top{align-items:center;gap:8px;min-width:0}.chat-title{min-width:0;flex:1}.chat-title strong,.chat-title span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-title span{color:var(--muted);font-size:11px}.chat-top-actions{flex:none;flex-wrap:nowrap}.chat-history-toggle{display:none}.chat-history-list{overflow:auto;padding:8px;display:flex;flex-direction:column;gap:6px}.chat-history-item{display:flex;align-items:stretch;border-radius:12px}.chat-history-item.active{background:var(--ice-mist)}.chat-history-open{flex:1;min-width:0;text-align:left;border:0;background:transparent;padding:10px;cursor:pointer}.chat-history-open strong,.chat-history-open small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-history-open strong{font-size:13px;color:var(--ice-ink)}.chat-history-open small{margin-top:4px;color:var(--muted);font-size:11px}.chat-delete{width:36px;background:transparent;color:var(--muted);font-size:18px}.chat-history-empty{color:var(--muted);font-size:13px;line-height:1.6;padding:8px}.chat-window{height:min(860px,calc(100vh - 140px));min-height:620px;width:100%}.welcome-message{margin:72px auto}@media(max-width:760px){.page-wrap:has(.chat-layout){width:calc(100% - 20px);padding-top:16px}.chat-layout{grid-template-columns:1fr;min-height:calc(100vh - 120px)}.chat-history{display:none}.chat-layout.history-open .chat-history{display:flex;max-height:46vh}.chat-history-toggle{display:inline-flex}.chat-window{height:calc(100vh - 148px);min-height:0}.chat-top{padding:12px;gap:8px}.welcome-message{margin:36px auto}.message-bubble{max-width:90%}.voice-controls{flex-wrap:wrap}.hold-to-talk{min-width:96px}}.memory-panel{max-height:46%;overflow:auto;padding:14px 16px;border-bottom:1px solid var(--line);background:#ffffffe6}.memory-head,.memory-add,.memory-list li{display:flex;gap:8px;align-items:center}.memory-head{justify-content:space-between;align-items:flex-start}.memory-head p,.memory-list small{color:var(--muted);font-size:12px;line-height:1.5}.memory-profile,.memory-add,.memory-list{display:grid;gap:8px;margin-top:12px}.memory-profile{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-profile label,.memory-add{font-size:12px;color:var(--muted)}.memory-profile input,.memory-profile textarea,.memory-add input,.memory-add select{width:100%;margin-top:4px;border:1px solid var(--line);border-radius:10px;padding:8px;background:var(--paper)}.memory-notes{grid-column:1 / -1}.memory-notes textarea{min-height:68px}.memory-list{list-style:none;padding:0}.memory-list li{justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line)}.memory-list li span{min-width:0}.memory-list li.paused{opacity:.55}.memory-list button{border:0;background:none;color:var(--ice-lake);cursor:pointer}.chat-window.memory-open .message-list,.chat-window.memory-open .chat-input,.chat-window.memory-open .voice-controls,.chat-window.memory-open .moonlight-prompts{display:none}.chat-window.memory-open .memory-panel{max-height:none;flex:1}@media(max-width:760px){.memory-profile,.memory-add{grid-template-columns:1fr}.memory-panel{max-height:none}}.nav-toggle{display:none;position:relative;z-index:8;flex:none;width:42px;height:42px;padding:11px 9px;border:0;border-radius:12px;background:var(--ice-deep);flex-direction:column;justify-content:center;gap:5px}.nav-toggle span{display:block;width:100%;height:3px;border-radius:2px;background:#fff}.app-shell.nav-collapsed .nav-toggle{display:inline-flex}.app-shell.nav-collapsed .main-nav{display:none}.app-shell.nav-collapsed.nav-open .main-nav{display:flex;position:absolute;left:0;right:0;top:100%;z-index:30;flex-direction:column;gap:0;padding:6px 16px 12px;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:var(--shadow)}.app-shell.nav-collapsed .main-nav .agent-link{display:none}.agent-link.agent-link-pinned{display:none;margin-left:0;flex:none}.app-shell.nav-collapsed .agent-link.agent-link-pinned{display:inline-flex}.app-shell.nav-collapsed .brand-lockup,.app-shell.nav-collapsed .nav-toggle,.app-shell.nav-collapsed .agent-link-pinned{flex:none}.app-shell.nav-collapsed .top-actions{margin-left:auto;min-width:0}.app-shell.nav-collapsed .account-trigger{min-width:0}.thinking-spin{display:block;width:14px;height:14px;flex:none;border:2px solid var(--ice-mist);border-top-color:var(--ember);border-radius:50%;animation:thinking-spin .7s linear infinite}@keyframes thinking-spin{to{transform:rotate(360deg)}}.moonlight-prompts{position:relative;padding-right:40px}.prompt-close{position:absolute;top:0;right:8px}.prompt-close{width:28px;height:28px;flex:none;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:20px;line-height:1;padding:0;cursor:pointer}.moonlight-prompts .prompt-close{width:28px;border:0;padding:0;text-align:center}.account-menu{position:relative}.account-trigger{display:inline-flex;align-items:center;gap:8px;max-width:180px;border:0;background:transparent;cursor:pointer;color:var(--ice-ink)}.account-trigger strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650}.account-dropdown{position:absolute;right:0;top:calc(100% + 8px);z-index:8;min-width:148px;display:grid;padding:6px;border:1px solid var(--line);border-radius:12px;background:var(--snow);box-shadow:var(--shadow)}.account-dropdown a,.account-dropdown button{border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:8px;color:var(--ice-ink);cursor:pointer}.account-dropdown a:hover,.account-dropdown button:hover{background:var(--ice-mist)}.thinking-bubble{display:inline-flex;align-items:center;gap:8px;color:var(--muted)}.thinking-dots{display:inline-flex;align-items:center;gap:4px;height:14px}.thinking-dots i{display:block;flex:none;width:6px;height:6px;border-radius:50%;background:var(--ice-lake);animation:thinking-pulse 1s infinite ease-in-out}.thinking-dots i:nth-child(2){animation-delay:.15s}.thinking-dots i:nth-child(3){animation-delay:.3s}.chat-composer{display:flex;flex-direction:column;gap:8px;margin:0 14px 8px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.chat-composer textarea{width:100%;min-height:45px;max-height:130px;border:0;resize:vertical;outline:0;background:transparent;margin:0}.chat-composer .composer-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;width:100%}.chat-composer .emoji-panel{margin:0}.send-button{display:inline-grid;place-items:center}.send-button:disabled{cursor:wait}.send-button .thinking-dots i{width:5px;height:5px;background:#fff}@keyframes thinking-pulse{50%{opacity:.25;transform:translateY(-2px)}}@media(max-width:760px){.topbar{height:auto;min-height:56px;flex-wrap:nowrap;gap:8px;padding:8px 12px}.nav-toggle{margin-left:0}.top-actions .account-trigger{display:inline-flex}.app-shell.nav-collapsed .main-nav a{padding:12px 2px;border-bottom:1px solid var(--line)}.app-shell.nav-collapsed .agent-link{margin-left:0}.main-nav>.agent-link{margin-left:0}.top-actions{gap:8px}h1,.community-heading h1,.profile-head h1,.login-art h1{font-size:32px}.page-wrap{width:calc(100% - 20px);padding:20px 0 36px}.section-heading,.community-heading{flex-direction:column;align-items:stretch;gap:10px;margin-top:8px}.profile-head,.profile-counts{flex-wrap:wrap}.profile-counts div{min-width:0;flex:1 1 120px}.quote-refresh,.warm-button{max-width:100%}.story-card,.composer,.settings-card,.contact-form,.about-page{overflow-wrap:anywhere}.settings-card input,.settings-card textarea,.contact-form textarea,.composer textarea{width:100%;max-width:100%}.page-wrap:has(.chat-layout){width:calc(100% - 12px);padding:8px 0}.chat-window{height:calc(100dvh - 76px);min-height:0}.chat-top,.chat-top-actions{flex-wrap:nowrap}.chat-tool,.chat-history-toggle{padding:6px 8px}.voice-controls{flex-wrap:wrap}.message-list{padding:12px}.star-list{grid-template-columns:1fr}.market-search{flex-direction:column}.hut-detail{min-height:0;padding:24px 0}}.council-back{margin:0 0 8px;color:var(--muted);font-size:13px}.council-areas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.council-card,.council-identity,.private-list a,.private-empty,.private-create{border:1px solid var(--line);border-radius:16px;background:#ffffffbd}.council-card{display:flex;flex-direction:column;gap:8px;min-height:210px;padding:22px;transition:transform .2s,box-shadow .2s}.council-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.council-card h2,.council-identity h2,.private-column h2{margin:8px 0 0}.council-card p,.council-identity p,.private-column>p,.private-hint{color:var(--muted);line-height:1.8}.council-card small{margin-top:auto;color:var(--ice-lake);font-size:12px}.council-identity{margin-top:22px;padding:22px}.identity-row{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.identity-row button,.thread-switch button{border:1px solid var(--line);background:transparent;color:var(--ice-deep);border-radius:999px;padding:8px 14px;cursor:pointer}.identity-row span{border:1px solid var(--ice-deep);background:var(--ice-deep);color:var(--snow);border-radius:999px;padding:8px 14px}.identity-row button[aria-pressed=true],.thread-switch button[aria-pressed=true]{background:var(--ice-deep);color:var(--snow);border-color:var(--ice-deep)}.council-hall{display:grid;grid-template-columns:1.35fr .85fr;gap:18px;align-items:start}.hall-door{min-height:280px;padding:28px;border-radius:16px;background:var(--ice-deep);color:var(--snow);display:flex;flex-direction:column;justify-content:space-between;gap:24px}.hall-door h2{color:var(--snow);margin:12px 0}.hall-door p,.hall-door small{color:#b3c8c9;line-height:1.8}.hall-door .warm-button{align-self:flex-start;background:var(--ember)}.private-column{display:grid;gap:12px}.private-list{display:grid;gap:10px}.private-list a,.private-empty{display:grid;gap:4px;padding:14px 16px}.private-list small,.private-hint{color:var(--muted);font-size:12px}.private-create{display:grid;gap:10px;padding:14px}.private-create input,.thread-compose select,.council-compose textarea,.thread-compose textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#ffffffdb}.council-live{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.72fr);gap:16px;align-items:stretch}.council-stage,.council-aside{min-height:680px;border:1px solid var(--line);border-radius:16px;background:#ffffffc7;display:flex;flex-direction:column;overflow:hidden}.stage-top{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 18px;background:var(--ice-deep);color:var(--snow)}.stage-top small{color:#b3c8c9}.live-dot{width:8px;height:8px;margin-right:8px;border-radius:50%;background:var(--ember);display:inline-block}.stage-actions{display:flex;gap:8px}.stage-export,.stage-close{border:1px solid rgba(247,243,238,.4);background:transparent;color:var(--snow);border-radius:8px;padding:8px 12px;cursor:pointer}.stage-close{border-color:var(--ember)}.council-clock{margin:0;padding:12px 18px;background:var(--ice-mist);color:var(--ice-deep);font-size:13px;line-height:1.6}.council-clock.closing{background:var(--ember);color:var(--snow)}.council-stream,.thread-log{flex:1;overflow:auto;display:flex;flex-direction:column;gap:14px}.council-stream{padding:18px}.stream-empty,.thread-log>p,.people-list p{color:var(--muted);line-height:1.7}.council-join{margin:0;padding:12px 14px;border-radius:10px;background:var(--ember);color:var(--snow);font-weight:700}.council-line{display:grid;gap:6px}.council-line div{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.council-line.speech{padding-left:12px;border-left:3px solid var(--ember)}.council-line.note{padding:10px 12px;border-radius:12px;background:#d7e6ea73}.council-line span,.thread-log span,.person-row small{color:var(--muted);font-size:12px}.council-line p,.thread-log p{margin:0;line-height:1.75;white-space:pre-wrap}.council-line button,.person-row button{border:0;background:none;color:var(--ember);cursor:pointer;padding:0}.council-compose,.thread-compose{display:grid;gap:8px;padding:14px 16px 16px;border-top:1px solid var(--line)}.council-compose textarea{min-height:76px;resize:vertical}.compose-row{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--muted);font-size:12px}.aside-head,.thread-window header{padding:16px 16px 0}.aside-head h2,.thread-window h2{font-size:22px;margin:6px 0}.thread-window header p,.aside-head p{color:var(--muted);line-height:1.7;font-size:13px}.people-list{display:grid;gap:8px;padding:8px 16px 12px}.person-row{display:flex;gap:8px;align-items:center;padding:8px 10px;border-radius:10px;background:#ffffffb8}.person-row span{display:inline-flex;align-items:center;gap:8px;min-width:0}.person-row img{width:28px;height:28px;border-radius:50%;object-fit:cover}.person-row small{margin-left:auto}.thread-window{flex:1;display:flex;flex-direction:column;min-height:320px;margin:0 12px 12px;border:1px solid var(--line);border-radius:14px;background:#ffffffe6;box-shadow:var(--shadow)}.thread-switch{display:flex;gap:8px;flex-wrap:wrap;padding:0 16px 8px}.thread-log{padding:14px 16px}.thread-compose textarea{min-height:68px;resize:vertical}@media(max-width:900px){.council-areas,.council-hall,.council-live{grid-template-columns:1fr}.council-stage,.council-aside{min-height:0}.thread-window{min-height:280px}}
