/* 柚柚个人站 · 共享样式表
   来源：design/01-design-system.md（v6 权威）+ design/index-v6.html 的 <style> 块，机械抽出未改写。 */

:root{--canvas:#F5F8FC;--section:#EEF4FC;--surface:#FFFFFF;--hero-bg:#E6EFF9;--hero-sweep:rgba(255,255,255,.48);--hero-plate:rgba(16,57,99,.88);--hero-scrim-a:rgba(16,57,99,0);--hero-scrim-b:rgba(16,57,99,.94);--words-bg:#DCEBFB;--ribbon:#D6E8FC;--brand:#128AFA;--band:#1F67B4;--gold:#FFC845;--accent:#0756A8;--ink:#122A43;--muted:#496782;--line:#8FB8E0;--primary:#0756A8;--primary-ink:#FFFFFF;--hero-ink:#FFFFFF;--band-ink:#FFFFFF;--feature-highlight:#DCEBFB;--frame-shadow:rgba(18,42,67,.2);--panel-shadow:rgba(31,103,180,.17);--character-ice:#B8E3F2;--font:"Source Han Sans SC","Noto Sans SC","Source Han Sans CN","Noto Sans CJK SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;--stroke:1.5px;color:var(--ink);font:400 16px/1.75 var(--font)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;overflow-x:hidden;background:var(--canvas)}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.wrap{width:min(1120px,calc(100% - 48px));margin-inline:auto}
.topbar{position:absolute;z-index:4;top:0;left:50%;transform:translateX(-50%);width:min(1120px,calc(100% - 48px));min-height:74px;display:flex;align-items:center;justify-content:space-between;border-bottom:var(--stroke) solid var(--line)}.brand{font-size:21px;font-weight:700;line-height:1.1}.brand small{display:block;margin-top:3px;color:var(--accent);font-size:11px;font-weight:500}.nav{display:flex;gap:25px;font-size:14px}.nav a{padding:5px 0;border-bottom:var(--stroke) solid transparent}.nav a:hover{color:var(--accent);border-color:var(--accent)}
.hero{position:relative;min-height:100vh;min-height:100svh;display:grid;place-items:center;overflow:hidden;background:var(--hero-bg);isolation:isolate;font-family:var(--font)}.hero:before{content:"";position:absolute;inset:10% -8% auto;height:60%;background:var(--hero-sweep);transform:rotate(-5deg);z-index:-2}.hero:after{content:"";position:absolute;inset:auto -5% 4%;height:24%;background:var(--gold);transform:rotate(4deg);opacity:.38;z-index:-2}.hero-art{position:absolute;inset:0;z-index:-1;pointer-events:none}.hero-figure{position:absolute;bottom:-9%;width:min(30vw,440px);height:88%;overflow:hidden;opacity:.72}.hero-figure img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}.hero-figure-left{left:0}.hero-figure-left img{transform:scaleX(-1)}.hero-figure-right{right:0}.spark{position:absolute;color:var(--accent);font-size:20px}.spark.one{left:15%;top:24%}.spark.two{right:16%;bottom:22%;font-size:14px}.hero-copy{position:relative;z-index:2;width:min(520px,calc(100% - 40px));padding:104px 0 76px;text-align:center}.hero-avatar{width:clamp(176px,21vw,232px);aspect-ratio:1;margin:0 auto 26px;padding:7px;overflow:hidden;border:var(--stroke) solid var(--accent);border-radius:50%;background:var(--hero-bg);box-shadow:0 0 0 7px var(--hero-sweep),0 0 30px var(--panel-shadow)}.hero-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.hero-eyebrow{margin:0 0 8px;color:var(--accent);font-size:13px;font-weight:700;letter-spacing:2px}.hero h1{margin:0;color:var(--ink);font-size:clamp(86px,13vw,160px);line-height:1;letter-spacing:7px;font-weight:800}.hero-lead{margin:16px auto 29px;font-size:18px;font-weight:600;color:var(--ink)}.hero .actions{display:flex;justify-content:center;gap:16px;flex-wrap:nowrap}.hero .button{display:inline-flex;align-items:center;justify-content:center;width:220px;min-height:94px;padding:14px;border:var(--stroke) solid var(--line);border-radius:22px 14px 24px 16px;background:var(--surface);box-shadow:5px 6px 0 var(--panel-shadow);color:var(--ink);font-size:17px;font-weight:700;transition:transform .2s,background .2s}.hero .button:hover{transform:translateY(-3px);background:var(--ribbon);color:var(--ink)}.hero .button.primary{background:var(--ribbon);color:var(--ink);border-color:var(--line)}.hero .button.primary:hover{background:var(--surface);color:var(--ink)}.scroll-cue{position:absolute;bottom:clamp(10px,3vh,28px);left:50%;transform:translateX(-50%);font-size:12px;color:var(--ink);letter-spacing:2px;white-space:nowrap}.scroll-cue:after{content:" ↓";color:var(--accent)}
.section{position:relative;padding:112px 0}.section-head{text-align:center;margin-bottom:51px}.section-head .eyebrow{display:block;color:var(--accent);font-size:11px;letter-spacing:2px;line-height:1;margin-bottom:12px}.section-head h2{position:relative;display:inline-block;margin:0;padding:7px 23px 8px;background:var(--ribbon);border:var(--stroke) solid var(--line);border-radius:8px;font-size:35px;line-height:1.2;font-weight:700}.section-head h2:before,.section-head h2:after{content:"";position:absolute;top:8px;width:17px;height:24px;background:var(--gold);border:var(--stroke) solid var(--accent);z-index:-1}.section-head h2:before{left:-10px;transform:skewY(22deg)}.section-head h2:after{right:-10px;transform:skewY(-22deg)}.section-head .intro{margin:13px 0 0;color:var(--muted);font-size:14px}.about-you{background:var(--canvas)}.about-lead{max-width:735px;margin:0 auto;text-align:center;padding:40px 58px;background:var(--surface);border:var(--stroke) solid var(--line);border-radius:18px 10px 22px 13px;box-shadow:9px 9px 0 var(--panel-shadow);font-size:21px;line-height:1.9}.about-lead strong{color:var(--accent)}
.features{background:var(--section)}.feature-list{border-top:var(--stroke) solid var(--line)}.feature{display:grid;grid-template-columns:70px minmax(170px,240px) 1fr 92px;align-items:center;gap:24px;padding:27px 20px;border-bottom:var(--stroke) solid var(--line)}.feature:nth-child(2){background:var(--feature-highlight);transform:translateX(5%);width:95%}.feature:nth-child(4){transform:translateX(2%)}.feature-no{color:var(--accent);font-size:13px;letter-spacing:1px}.feature h3{margin:0;font-size:23px}.feature p{margin:0;max-width:540px}.feature-art{width:80px;height:80px}.feature-art svg,.feature-art img{width:100%;height:100%}
.words{background:var(--words-bg);padding-bottom:126px}.speech{display:grid;grid-template-columns:repeat(3,1fr);gap:23px;align-items:start}.bubble{position:relative;min-height:175px;padding:21px 23px;background:var(--surface);border:var(--stroke) solid var(--line);border-radius:18px 10px 20px 12px;box-shadow:7px 8px 0 var(--panel-shadow)}.bubble:after{content:"";position:absolute;bottom:-12px;left:28px;width:20px;height:20px;background:var(--surface);border-right:var(--stroke) solid var(--line);border-bottom:var(--stroke) solid var(--line);transform:skew(-22deg) rotate(35deg)}.bubble:nth-child(2){margin-top:30px}.bubble:nth-child(3){margin-top:-10px}.avatar{width:58px;height:58px;margin-bottom:11px}.avatar svg,.avatar img{width:100%;height:100%}.bubble p{position:relative;z-index:1;margin:0;font-size:18px;line-height:1.55}
.start{padding:98px 0;background:var(--canvas)}.start-inner{display:grid;grid-template-columns:1fr 1.25fr;gap:70px;align-items:center}.start-copy .section-head{text-align:left;margin-bottom:25px}.start-copy p{max-width:350px;margin:0}.start-steps{display:grid;gap:13px}.step{display:grid;grid-template-columns:42px 1fr;gap:15px;align-items:center;padding:16px 20px;background:var(--surface);border:var(--stroke) solid var(--line);border-radius:14px 9px 17px 10px}.step b{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--gold);font-size:14px}.step strong{display:block;font-size:17px}.step span{display:block;color:var(--muted);font-size:14px}
.plugins{padding:104px 0 110px;background:var(--band);border-block:var(--stroke) solid var(--line)}.plugin-band{display:grid;grid-template-columns:180px 1fr;gap:38px;align-items:stretch}.plugin-label{padding:25px 18px;border-right:var(--stroke) solid var(--ink)}.plugin-label h2{margin:0;font-size:27px;line-height:1.3}.plugin-label p{margin:9px 0 0;color:var(--ink);font-size:13px}.plugin-list{display:grid;grid-template-columns:repeat(4,1fr)}.plugin{padding:22px 18px;border-left:var(--stroke) solid var(--line);min-height:155px}.plugin:first-child{border-left:0}.plugin small{color:var(--ink);font-size:11px;letter-spacing:1px}.plugin .qq-tag{display:inline-block;margin-left:6px;padding:1px 5px;border:var(--stroke) solid currentColor;border-radius:6px;font-size:10px;letter-spacing:0;opacity:.75;vertical-align:1px}.plugin h3{margin:11px 0 7px;font-size:20px}.plugin p{margin:0;font-size:14px;line-height:1.7}
.contact{padding:100px 0;background:var(--canvas)}.contact-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:80px}.contact h2{margin:0 0 15px;font-size:28px}.contact p{max-width:530px;margin:0}.contact-links{display:flex;flex-wrap:wrap;gap:11px;margin-top:18px}.contact-links a{padding:6px 15px;background:var(--surface);border:var(--stroke) solid var(--line);border-radius:12px 8px 14px 9px;font-size:14px}.contact-links a:hover{background:var(--gold)}.footer{padding:25px 0;border-top:var(--stroke) solid var(--line);color:var(--muted);font-size:12px}.footer-row,.footer-links{display:flex;align-items:center;gap:19px}.footer-row{justify-content:space-between}.footer-links strong{color:var(--ink)}.admin,.foot-link{color:var(--accent);font-size:11px}
svg .line{stroke:var(--ink);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.skin{fill:#f8d9cb}.hair{fill:#78b6c9}.hairtip{fill:var(--character-ice)}.dress{fill:var(--brand)}.eye{fill:var(--character-ice)}.star{fill:var(--gold);stroke:var(--ink);stroke-width:1.5}.ribbonfill{fill:var(--surface);stroke:var(--line);stroke-width:2}
@media(max-width:1199px){.wrap{width:min(960px,calc(100% - 44px))}.hero-frame{width:min(430px,61vw)}.feature{grid-template-columns:58px minmax(150px,210px) 1fr 80px}.plugin-band{grid-template-columns:150px 1fr}}
@media(max-width:767px){.wrap{width:calc(100% - 34px)}.topbar{width:calc(100% - 34px);align-items:flex-start;padding:17px 0;gap:14px}.nav{gap:13px;flex-wrap:wrap;justify-content:flex-end}.hero{--hero-frame-height:max(420px,min(610px,72vh));--hero-title-size:clamp(79px,23vw,135px);--hero-copy-space:calc(var(--hero-title-size)*.9 + 181px)}.hero-frame{width:min(430px,86vw);height:var(--hero-frame-height);top:49%;min-height:420px}.hero-frame svg{transform:translateY(24px)}.hero h1{letter-spacing:4px}.hero-lead{font-size:16px}.section{padding:83px 0}.section-head{margin-bottom:35px}.section-head h2{font-size:29px}.about-lead{padding:26px 22px;font-size:18px}.feature{grid-template-columns:45px 1fr 76px;gap:13px;padding:22px 8px}.feature p{grid-column:2 / 4;font-size:14px}.feature h3{font-size:20px}.feature-art{width:67px;height:67px}.feature:nth-child(2),.feature:nth-child(4){transform:none;width:100%}.speech{grid-template-columns:1fr;gap:17px}.bubble,.bubble:nth-child(2),.bubble:nth-child(3){margin:0;min-height:145px}.start{padding:75px 0}.start-inner{grid-template-columns:1fr;gap:32px}.start-copy .section-head{text-align:center}.plugin-band{grid-template-columns:1fr;gap:22px}.plugin-label{border-right:0;border-bottom:var(--stroke) solid var(--ink);padding:0 0 18px}.plugin-list{grid-template-columns:repeat(2,1fr)}.plugin{border-bottom:var(--stroke) solid var(--line);min-height:150px}.plugin:nth-child(odd){border-left:0}.contact-grid{grid-template-columns:1fr;gap:38px}.footer-row{display:block}.footer-links{flex-wrap:wrap;margin-bottom:12px}}
@media(max-width:359px){.nav{font-size:13px;gap:9px}.hero{--hero-frame-height:max(385px,min(610px,72vh));--hero-copy-space:calc(var(--hero-title-size)*.9 + 176px)}.hero-frame{min-height:385px}.hero-lead{margin-top:12px}.button{padding-inline:15px}.feature{grid-template-columns:37px 1fr 62px}.feature-art{width:58px;height:58px}.feature h3{font-size:18px}.feature p{font-size:13px}.plugin{padding:17px 12px}.plugin h3{font-size:18px}.plugin p{font-size:13px}}

[data-theme="dark"]{--canvas:#0D1B2B;--section:#14283F;--surface:#1B324C;--hero-bg:#101E30;--hero-sweep:rgba(255,255,255,.04);--hero-plate:rgba(38,91,143,.82);--hero-scrim-a:rgba(6,18,32,0);--hero-scrim-b:rgba(6,18,32,.94);--words-bg:#194269;--ribbon:#24527C;--brand:#128AFA;--band:#1B4773;--gold:#FFD166;--accent:#78BEFF;--ink:#F1F7FF;--muted:#B2C9DE;--line:#567A9E;--primary:#78BEFF;--primary-ink:#102B45;--hero-ink:#FFFFFF;--band-ink:#F1F7FF;--feature-highlight:#203B58;--frame-shadow:rgba(0,8,20,.35);--panel-shadow:rgba(0,8,20,.25)}
.hero:after{background:var(--gold)}.hero-frame{box-shadow:12px 13px 0 var(--frame-shadow)}.hero h1{text-shadow:2px 2px 0 var(--accent),5px 6px 0 var(--frame-shadow)}.topbar{border-bottom-color:var(--line)}.hero-eyebrow{color:var(--hero-ink)}.section-head h2{color:var(--ink)}.about-lead{box-shadow:9px 9px 0 var(--panel-shadow)}.bubble{box-shadow:7px 8px 0 var(--panel-shadow)}.plugins,.plugins .plugin-label p,.plugins .plugin small{color:var(--band-ink)}.plugin-label,.plugin{border-color:var(--line)}.words .eyebrow,.words .intro{color:var(--ink)}.hero .button:not(.primary){background:var(--surface);color:var(--ink)}.hero .button:not(.primary):hover{background:var(--gold);color:#122A43}.button{background:var(--surface)}.step b{color:#122A43}.contact-links a:hover{background:var(--gold);color:#122A43}.theme-toggle{flex:none;width:38px;height:38px;display:grid;place-items:center;background:var(--surface);color:var(--ink);border:var(--stroke) solid var(--line);border-radius:999px;cursor:pointer;font-size:16px;line-height:1;padding:0}.theme-toggle:after{content:"\263E"}[data-theme="dark"] .theme-toggle:after{content:"\2600"}.theme-toggle:hover{background:var(--gold);color:#122A43}.theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* 内页组件：复用首页令牌，不改变既有首页规则。 */
.inner-page{min-height:100vh;background:var(--canvas);font-family:var(--font)}
.inner-page button,.inner-page input,.inner-page textarea{font:inherit}
.inner-page button{cursor:pointer}
.inner-page :is(button,input,textarea,summary):focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.inner-page .topbar{position:relative;left:auto;transform:none;margin-inline:auto;gap:18px}
.inner-page .nav{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.inner-page .nav a[aria-current="page"]{color:var(--accent);border-bottom-color:var(--accent)}
.inner-main{padding:64px 0 112px}
.page-intro{max-width:760px;margin:0 auto 48px;text-align:center}
.page-intro .section-head{margin-bottom:22px}
.page-intro>p{margin:0;color:var(--muted);font-size:16px}
.inner-section{margin-top:64px}
.inner-section .section-head{margin-bottom:32px}
.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.entry-card,.content-card,.command-table-wrap,.qa details,.contact-entry,.login-panel{background:var(--surface);border:var(--stroke) solid var(--line);border-radius:18px 10px 20px 12px}
.entry-card{display:block;padding:28px;min-height:205px;transition:transform .2s,background .2s}
.entry-card:hover,.contact-entry:hover{transform:translateY(-2px);background:var(--ribbon)}
.entry-card small,.card-kicker{color:var(--accent);font-size:12px;letter-spacing:2px;font-weight:700}
.entry-card h3,.content-card h3{font-size:23px;line-height:1.3;margin:12px 0}
.entry-card p,.content-card p{margin:0;color:var(--muted)}
.entry-card .more{display:inline-block;margin-top:20px;color:var(--accent);font-size:14px;font-weight:700}
.content-card{padding:32px;margin-bottom:24px}
.content-card p+p{margin-top:16px}
.content-card ul{margin:18px 0 0;padding-left:22px}
.content-card li+li{margin-top:9px}
.muted-note{margin:36px 0 0;color:var(--muted);font-size:14px}
.command-table-wrap{overflow-x:auto}
.command-table{width:100%;border-collapse:collapse;text-align:left;min-width:570px}
.command-table th,.command-table td{padding:16px 20px;vertical-align:top;border-bottom:var(--stroke) solid var(--line)}
.command-table tr:last-child td{border-bottom:0}
.command-table th{background:var(--ribbon);font-size:14px}
.command-table td:first-child{width:28%;font-weight:700}
.command-table td:nth-child(2){width:39%}
.command-table td:last-child{color:var(--muted)}
.command-table code{font:inherit;font-weight:700;overflow-wrap:anywhere}
.qa details{padding:16px 20px;margin-top:12px}
.qa summary{cursor:pointer;font-weight:700}
.qa details p{margin:12px 0 0;color:var(--muted)}
.related-links{display:flex;gap:12px;flex-wrap:wrap}
.related-links .button{min-height:44px}
.contact-grid-inner{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.contact-entry{padding:24px;min-height:120px}
.contact-entry h3{margin:0 0 12px;font-size:20px}
.contact-entry p{margin:0;color:var(--muted)}
.login-panel{max-width:480px;margin:auto;padding:32px}
.login-panel label{display:block;margin:18px 0 7px;font-weight:700}
.login-panel input{width:100%;padding:11px 14px;border:var(--stroke) solid var(--line);border-radius:12px 8px 14px 9px;color:var(--ink);background:var(--canvas)}
.login-panel .button{margin-top:24px}
.login-panel .muted-note{margin-top:20px}
.inner-page .footer{background:var(--canvas)}

/* 对话页沿用 v2 的布局与状态，仅使用共享的 v6 颜色。 */
.talk-page{height:100dvh;overflow:hidden;display:flex;flex-direction:column}
.talk-page .topbar{width:min(1120px,calc(100% - 48px));min-height:74px;flex:none}
.talk-back,.talk-new{font-size:14px;color:var(--accent);white-space:nowrap}
.talk-page .brand{white-space:nowrap}
.talk-page .nav{gap:15px;font-size:13px}
.talk-main{min-height:0;flex:1;display:flex;flex-direction:column}
.transcript{flex:1;min-height:0;overflow-y:auto;scroll-behavior:smooth}
.talk-column{width:min(820px,calc(100% - 48px));margin:auto;padding:55px 0 130px}
.welcome{padding:38px 24px 42px;text-align:center;background:var(--section);border:var(--stroke) solid var(--line);border-radius:22px 12px 26px 14px}
.welcome-avatar{width:64px;height:64px;margin:0 auto 15px}
.welcome-avatar svg,.welcome-avatar img,.talk-avatar svg,.talk-avatar img{width:100%;height:100%;display:block}
.welcome h1{margin:0 0 7px;font-size:30px;line-height:1.25}
.welcome p{margin:0}
.starters{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:23px auto 0;max-width:680px}
.chip{padding:8px 14px;border:var(--stroke) solid var(--line);border-radius:12px 8px 14px 9px;background:var(--surface);color:var(--ink);font-size:14px;line-height:1.45}
.chip:hover{background:var(--ribbon)}
.message-list{display:grid;gap:30px}
.message{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;align-items:start}
.message.user{grid-template-columns:minmax(0,1fr);justify-items:end}
.talk-avatar{width:40px;height:40px}
.message-body{min-width:0;max-width:650px;padding-top:4px}
.message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.message.user .message-body{padding:10px 16px;background:var(--words-bg);border:var(--stroke) solid var(--line);border-radius:17px 17px 6px 17px;max-width:min(620px,84%)}
.message.user p{font-size:16px}
.message.assistant p{font-size:18px;line-height:1.55}
.message.assistant .message-body:before{content:"柚柚";display:block;margin-bottom:2px;color:var(--accent);font-size:12px;letter-spacing:2px}
.typing{display:inline-flex;align-items:flex-end;gap:7px;height:30px;padding:0 2px}
.typing i{width:8px;height:8px;border-radius:50%;background:var(--muted);animation:talk-bounce .5s infinite alternate}
.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}
@keyframes talk-bounce{to{opacity:.1;transform:translateY(-8px)}}
.msg-media{display:grid;gap:11px;margin-top:11px}
.msg-media:empty,.msg-tools:empty{display:none}
.msg-image{display:block;max-width:min(430px,100%)}
.msg-image img{display:block;width:100%;height:auto;background:var(--surface);border:var(--stroke) solid var(--line);border-radius:16px 10px 18px 12px}
.msg-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.msg-tool{padding:5px 11px;background:var(--section);border:var(--stroke) solid var(--line);border-radius:10px 7px 12px 8px;color:var(--muted);font-size:13px;line-height:1.45}
.msg-tool.is-done{color:var(--accent)}
.typing-done{display:none!important}
@keyframes talk-msg-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
.message{animation:talk-msg-in .3s ease-out both}
.message code{background:var(--section);border:var(--stroke) solid var(--line);border-radius:5px;padding:1px 5px;font-size:.92em}
.message strong{font-weight:700}
.state-note{margin:28px 0 0 54px;padding:12px 16px;background:var(--section);border-left:3px solid var(--accent);font-size:14px}
.state-note strong{font-weight:500}
.composer-shell{flex:none;padding:14px 24px 19px;background:var(--canvas);border-top:var(--stroke) solid var(--line)}
.composer-inner{width:min(820px,100%);margin:auto}
.composer{display:flex;align-items:flex-end;gap:9px;padding:8px 8px 8px 17px;background:var(--surface);border:var(--stroke) solid var(--line);border-radius:18px 11px 21px 13px}
.composer textarea{display:block;min-width:0;min-height:28px;max-height:132px;flex:1;resize:none;border:0;outline:0;background:transparent;color:var(--ink);font-size:16px;line-height:1.65}
.composer textarea::placeholder{color:var(--muted)}
.send,.stop{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border:var(--stroke) solid var(--primary);border-radius:12px 8px 14px 9px;background:var(--primary);color:var(--primary-ink)}
.send svg,.stop svg{width:18px;height:18px}
.send:hover,.stop:hover{background:var(--gold);color:var(--ink);border-color:var(--ink)}
.stop{background:var(--surface);color:var(--ink);border-color:var(--line)}
.hint{margin:7px 5px 0;color:var(--muted);font-size:12px;line-height:1.5}
.talk-page .footer{flex:none;padding:6px 24px;font-size:11px}
.talk-page .footer-row{width:min(820px,100%);gap:12px}
.talk-page .footer-links{gap:12px}
.stop,.queue-note,.cap-note,.error-note,.streaming-row,.empty-only,.normal-only{display:none}
[data-state="empty"] .empty-only{display:block}
[data-state="normal"] .normal-only,[data-state="streaming"] .normal-only,[data-state="queue"] .normal-only,[data-state="cap"] .normal-only,[data-state="error"] .normal-only{display:grid}
[data-state="streaming"] .stop,[data-state="streaming"] .streaming-row{display:grid}
[data-state="streaming"] .send{display:none}
[data-state="queue"] .queue-note,[data-state="cap"] .cap-note,[data-state="error"] .error-note{display:block}
[data-state="cap"] .send{opacity:.55;cursor:not-allowed}
@media(max-width:1199px){.talk-column{width:min(760px,calc(100% - 44px))}}
@media(max-width:767px){.inner-page .topbar{width:calc(100% - 34px);min-height:70px;flex-wrap:wrap;gap:10px;padding:15px 0}.inner-page .nav{order:3;width:100%;justify-content:flex-start;gap:14px}.inner-main{padding:48px 0 83px}.card-grid{grid-template-columns:1fr}.contact-grid-inner{grid-template-columns:1fr}.talk-page .topbar{width:calc(100% - 34px)}.talk-page .nav{order:4;justify-content:center}.talk-column{width:calc(100% - 34px);padding:30px 0 70px}.welcome{padding:29px 15px 31px}.welcome h1{font-size:27px}.message-list{gap:25px}.message{grid-template-columns:34px minmax(0,1fr);gap:10px}.talk-avatar{width:34px;height:34px}.message.user .message-body{max-width:90%}.message.assistant p,.message.user p{font-size:16px}.state-note{margin-left:44px}.composer-shell{padding:10px 16px 14px}.talk-page .footer{display:none}}
@media(max-width:359px){.inner-page .topbar{width:calc(100% - 28px)}.inner-page .nav{gap:9px;font-size:12px}.inner-main{padding-top:32px}.entry-card,.content-card{padding:20px}.talk-column{width:calc(100% - 24px)}.starters{gap:7px}.chip{padding:7px 10px;font-size:13px}.composer-shell{padding-inline:10px}.hint{font-size:11px}}
@media(prefers-reduced-motion:reduce){.inner-page *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.page-intro .section-head h1{position:relative;display:inline-block;margin:0;padding:7px 23px 8px;background:var(--ribbon);border:var(--stroke) solid var(--line);border-radius:8px;font-size:35px;line-height:1.2;font-weight:700}
.page-intro .section-head h1:before,.page-intro .section-head h1:after{content:"";position:absolute;top:8px;width:17px;height:24px;background:var(--gold);border:var(--stroke) solid var(--accent);z-index:-1}
.page-intro .section-head h1:before{left:-10px;transform:skewY(22deg)}
.page-intro .section-head h1:after{right:-10px;transform:skewY(-22deg)}
.talk-page .state-note{margin:0 0 12px}
.talk-page .talk-new{padding:7px 10px;background:var(--surface);border:var(--stroke) solid var(--line);border-radius:12px 8px 14px 9px}
.talk-page .talk-new:hover{background:var(--ribbon)}
.login-panel .button:disabled{opacity:.75;cursor:not-allowed}
@media(max-width:767px){.page-intro .section-head h1{font-size:29px}}

.entry-card:hover{background:var(--section)}
.talk-page .talk-new:hover{background:var(--section);color:var(--ink)}
.send:hover,.stop:hover{background:var(--primary);color:var(--primary-ink);border-color:var(--primary)}
[data-state="cap"] .send,.login-panel .button:disabled{opacity:1}
.talk-page .composer-shell{position:fixed;z-index:3;left:0;right:0;bottom:0}
.talk-page .transcript{display:flex;flex-direction:column;box-sizing:border-box;padding-bottom:var(--composer-height,117px)}
.talk-page .talk-column{flex:1 0 auto;margin:0 auto;padding-bottom:16px}
.talk-page .footer{display:block;padding:6px 24px 10px}
@media(max-height:599px){.talk-page .footer{display:none}}
@media(max-width:767px){.topbar{flex-wrap:wrap}.topbar .brand{flex:none;white-space:nowrap}.topbar .theme-toggle{margin-left:auto}.topbar .nav{order:4;flex:0 0 100%;width:100%;margin-left:0;flex-wrap:nowrap;justify-content:space-between;gap:8px}.topbar .nav a{white-space:nowrap}}

.hero h1{text-shadow:none}.hero .button:not(.primary):hover{background:var(--ribbon);color:var(--ink)}
@media(max-width:767px){.hero-copy{padding:142px 0 65px}.hero-figure{width:24vw;height:75%;bottom:-7%;opacity:.55}.hero-avatar{width:clamp(142px,39vw,176px);margin-bottom:20px}.hero h1{font-size:clamp(80px,22vw,110px)}.hero-lead{margin:12px auto 23px}.hero .actions{gap:10px}.hero .button{width:min(44vw,190px);min-height:76px;padding:10px;font-size:15px}}
@media(max-width:359px){.hero-copy{padding:137px 0 55px}.hero-avatar{width:136px;margin-bottom:14px}.hero-eyebrow{margin-bottom:3px}.hero h1{font-size:80px}.hero-lead{margin:10px auto 18px}.hero .button{min-height:67px}}

.topbar--illustrated{background:var(--hero-bg);font-family:var(--font)}
.hero--illustrated:before,.hero--illustrated:after{content:none}
.hero--illustrated .hero-figure{top:50%;bottom:auto;width:min(46vw,660px);height:auto;aspect-ratio:1;transform:translateY(-42%);opacity:.48;-webkit-mask-image:linear-gradient(to right,transparent,var(--ink) 12%,var(--ink) 88%,transparent),linear-gradient(to bottom,transparent,var(--ink) 12%,var(--ink) 85%,transparent);mask-image:linear-gradient(to right,transparent,var(--ink) 12%,var(--ink) 88%,transparent),linear-gradient(to bottom,transparent,var(--ink) 12%,var(--ink) 85%,transparent);-webkit-mask-composite:source-in;mask-composite:intersect}
.hero--illustrated .hero-figure-left{left:-3vw}
.hero--illustrated .hero-figure-right{right:-3vw}
.hero--illustrated .hero-figure img{object-fit:contain;object-position:center;transform:none}
[data-theme="dark"] .hero--illustrated .hero-figure{opacity:.84}
.hero--illustrated .hero-copy:before{content:"";position:absolute;z-index:-1;inset:0 -48px;background:linear-gradient(to right,transparent,var(--hero-bg) 48px,var(--hero-bg) calc(100% - 48px),transparent);pointer-events:none}
.hero--illustrated .hero-eyebrow{color:var(--accent)}
.hero--illustrated .scroll-cue{z-index:2;padding:4px 12px;border-radius:999px;background:var(--hero-bg)}
.illustrated-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.6fr);align-items:center;gap:32px}
.illustrated-copy{min-width:0}
.character-frame{margin:0;padding:8px;border:var(--stroke) solid var(--line);border-radius:18px 10px 20px 12px;background:var(--section);box-shadow:5px 6px 0 var(--panel-shadow);overflow:hidden}
.character-frame img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:12px 6px 14px 8px}
.illustrated-content--welcome{grid-template-columns:minmax(0,1fr) minmax(220px,.4fr)}
@media(max-width:1199px){.hero--illustrated .hero-figure{width:50vw}.hero--illustrated .hero-figure-left{left:-8vw}.hero--illustrated .hero-figure-right{right:-8vw}}
@media(max-width:767px){.hero--illustrated .hero-figure{top:43%;width:76vw;opacity:.3;transform:translateY(-50%)}.hero--illustrated .hero-figure-left{left:-30vw}.hero--illustrated .hero-figure-right{right:-30vw}[data-theme="dark"] .hero--illustrated .hero-figure{opacity:.56}.hero--illustrated .hero-copy:before{inset:calc(142px + clamp(142px,39vw,176px) + 20px) -32px 55px;background:linear-gradient(to right,transparent,var(--hero-bg) 32px,var(--hero-bg) calc(100% - 32px),transparent)}.illustrated-content,.illustrated-content--welcome{grid-template-columns:minmax(0,1fr);gap:24px}.character-frame{width:min(100%,340px);justify-self:center}}
@media(max-width:359px){.hero--illustrated .hero-copy:before{top:287px;bottom:45px}}

/* 赞助赞赏码与首页定制横幅（沿用既有令牌，不引入新色值） */
.support-block{display:flex;justify-content:center;margin:8px 0 14px}
.support-qr{margin:0;text-align:center}
.support-qr img{width:min(220px,52vw);height:auto;display:block;border:var(--stroke) solid var(--line);
  border-radius:14px;background:var(--snow);padding:10px}
.support-qr figcaption{margin-top:9px;color:var(--muted);font-size:12px;letter-spacing:1px}
.custom-banner{background:var(--ice)}
.custom-banner-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
