:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#171e2b;background:#fff4f5;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%;-webkit-text-size-adjust:100%}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}.sr-only{position:absolute;left:-9999px}.ai-body{background:linear-gradient(110deg,#fff2f3,#fff 55%,#fff3f4)}.ai-shell{position:relative;width:min(100%,450px);min-height:100dvh;margin:auto;background:linear-gradient(180deg,#fff3f3 0%,#fff 43%,#fff 100%);box-shadow:0 0 45px rgba(159,50,67,.08);padding-bottom:calc(135px + env(safe-area-inset-bottom))}.ai-top{height:88px;padding:18px 23px 9px;display:flex;align-items:center;gap:13px;background:linear-gradient(180deg,#fff3f3,#fff9f9)}.ai-brand{display:flex;align-items:center;min-width:0;max-width:170px;margin-right:auto;color:#151922;text-decoration:none}.ai-brand img{display:block;max-width:150px;max-height:47px;object-fit:contain;object-position:left}.ai-brand-mark{display:grid;place-items:center;width:39px;height:39px;background:#e90018;color:#fff;border-radius:12px;font-size:24px}.ai-brand strong{margin-left:7px;font-size:20px;white-space:nowrap}.ai-new{border:1px solid #fd3b4b;background:#fff;color:#e40c24;padding:8px 17px;border-radius:999px;font-weight:700;white-space:nowrap}.ai-more{background:transparent;border:0;color:#222c3c;font-size:26px;line-height:1}.ai-welcome{padding:12px 17px 0}.ai-intro{text-align:center;margin:10px 0 4px}.ai-intro h1{margin:0;color:#171e28;font-size:25px;letter-spacing:.5px}.ai-intro h1 span{color:#dc0d21}.ai-intro p{font-size:16px;margin:8px 0 0;font-weight:600}.ai-hero{position:relative;height:305px;margin:0 -4px 3px}.ai-mascot-orb{position:absolute;top:41px;left:50%;transform:translateX(-50%);width:218px;height:218px;border-radius:50%;border:4px solid #fff;background:radial-gradient(circle at 47% 41%,#fff 35%,#ffe9eb 75%);box-shadow:0 0 0 10px rgba(252,174,183,.18),0 18px 36px rgba(223,42,68,.18);overflow:hidden}.ai-mascot-orb img{width:100%;height:114%;object-fit:contain;object-position:center bottom;transform:translateY(3px)}.ai-feature{position:absolute;z-index:2;min-width:101px;max-width:128px;padding:11px 10px;border-radius:20px;background:rgba(255,255,255,.91);box-shadow:0 8px 18px rgba(238,108,121,.11)}.ai-feature b,.ai-feature small{display:block}.ai-feature b{font-size:15px}.ai-feature small{margin-top:5px;font-size:10px;color:#646b7b;white-space:nowrap}.ai-feature-a{left:0;top:53px}.ai-feature-b{right:0;top:55px}.ai-feature-c{left:0;bottom:34px}.ai-feature-d{right:0;bottom:32px}.ai-suggest,.ai-related{border:1px solid #f6f0f0;border-radius:23px;background:#fff;box-shadow:0 11px 30px rgba(63,43,52,.07);padding:16px 13px}.ai-suggest-title,.ai-related-title{display:flex;justify-content:space-between;align-items:center;margin:1px 3px 11px}.ai-suggest-title b,.ai-related-title b{font-size:16px}.ai-suggest-title button,.ai-related-title button{border:0;background:none;color:#717889;font-size:13px}.ai-prompt{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;padding:12px 14px;margin-top:7px;border:1px solid #fbe4e6;border-radius:24px;color:#1e2836;background:linear-gradient(110deg,#fff,#fff5f5);font-size:15px}.ai-prompt span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-prompt i{font-size:24px;font-style:normal;color:#ef112d;line-height:15px}.ai-composer{position:absolute;bottom:env(safe-area-inset-bottom);left:0;right:0;padding:14px 17px 13px;background:linear-gradient(0deg,#fff 75%,rgba(255,255,255,.9));border-top:1px solid #faf1f1;box-shadow:0 -10px 26px rgba(58,54,63,.035)}.ai-composer form{display:flex;align-items:center;gap:9px;border:1px solid #ffc7cd;border-radius:34px;min-height:58px;background:#fff;box-shadow:0 4px 13px rgba(231,30,55,.09);padding:5px 7px 5px 17px}.ai-input-wrap{flex:1;min-width:0}.ai-input-wrap input{display:block;width:100%;border:0;outline:0;background:none;color:#233044;font-size:15px}.ai-input-wrap input::placeholder{color:#858b96}.ai-send{width:45px;height:45px;flex:none;border:0;border-radius:50%;background:#ef1230;color:#fff;font-size:21px;transform:rotate(-30deg)}.ai-note{min-height:16px;margin:6px 4px 0;color:#757b86;font-size:11px;text-align:center}.ai-conversation{background:linear-gradient(180deg,#fffafa,#f9fafc 37%,#fff);min-height:calc(100dvh - 200px);padding:0 12px 16px}.ai-conversation[hidden],.ai-welcome[hidden],.ai-related[hidden]{display:none!important}.ai-conv-title{height:63px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0eef1}.ai-conv-title button{width:36px;border:0;background:none;font-size:32px;line-height:1}.ai-conv-title strong{font-size:17px}.ai-conv-title span{width:36px;text-align:center;font-size:20px;color:#ed2039}.ai-messages{padding:19px 2px 4px}.ai-msg{display:flex;align-items:flex-start;gap:9px;margin:0 0 15px}.ai-msg-user{justify-content:flex-end}.ai-bubble{max-width:calc(100% - 62px);padding:13px 14px;border-radius:18px;background:#fff;box-shadow:0 6px 17px rgba(46,42,59,.05);color:#263043;font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.ai-msg-user .ai-bubble{background:linear-gradient(120deg,#e60820,#f32a40);color:#fff;border-top-right-radius:6px}.ai-avatar{flex:none;width:42px;height:42px;border-radius:50%;overflow:hidden;background:#ffe8eb}.ai-avatar img{width:100%;height:100%;object-fit:contain}.ai-user-avatar{display:grid;place-items:center;background:#ffebee;color:#bc1527;font-weight:800}.ai-report-card{margin:0 0 14px 51px;padding:14px;border-radius:18px;background:#fff;box-shadow:0 5px 18px rgba(42,36,47,.06)}.ai-report-card>h2{margin:0 0 12px;font-size:15px}.ai-data-item{display:flex;gap:10px;align-items:center;padding:10px 2px;text-decoration:none;color:#1c2532;border-top:1px solid #f1f1f2}.ai-data-mark{display:grid;place-items:center;flex:none;width:35px;height:35px;border:1px solid #b7c9eb;border-radius:50%;color:#4375b8;font-size:19px}.ai-data-copy{flex:1;min-width:0}.ai-data-copy b{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-data-copy small{display:block;margin-top:2px;font-size:11px;color:#80899a}.ai-data-score{font-weight:800;color:#e3172e;font-size:16px;white-space:nowrap}.ai-related{margin:6px 0 0;padding:12px}.ai-related-title b{font-size:13px}.ai-related #aiRelatedItems{display:grid;grid-template-columns:1fr 1fr;gap:7px}.ai-related .ai-prompt{margin:0;padding:9px;font-size:11px;min-width:0}.ai-related .ai-prompt i{font-size:16px}.ai-busy{color:#697184;font-size:13px}.ai-shell.is-chat .ai-top{display:none}.ai-shell.is-chat .ai-composer{position:sticky;bottom:env(safe-area-inset-bottom);z-index:3}.ai-shell.is-chat{padding-bottom:0;display:flex;flex-direction:column}.ai-shell.is-chat .ai-conversation{flex:1}@media(max-width:370px){.ai-intro h1{font-size:22px}.ai-hero{height:275px}.ai-mascot-orb{width:188px;height:188px}.ai-feature{min-width:88px;padding:9px 7px}.ai-feature b{font-size:13px}.ai-feature small{font-size:9px}.ai-feature-c,.ai-feature-d{bottom:18px}}@media(min-width:600px){.ai-shell{min-height:calc(100dvh - 40px);margin:20px auto;border:1px solid #f8e5e8;border-radius:27px;overflow:hidden}.ai-shell.is-chat .ai-composer{bottom:0}}
:root{--ai-red:#e60012}
html,body.ai-body{height:100%;overflow:hidden}
.ai-shell,.ai-shell.is-chat{height:100vh;height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}
.ai-top{position:relative;z-index:15;flex:none;display:block;height:auto;min-height:81px;padding:8px 15px 7px;border-bottom:1px solid #f2f1f3;background:#fff}
.ai-head-row{height:66px;display:flex;align-items:center;gap:8px}
.ai-brand{width:112px;height:47px;max-width:112px;flex:0 0 112px;margin-right:auto;overflow:hidden}
.ai-brand img{width:112px;max-width:112px;max-height:47px;object-fit:contain;object-position:left center}
.ai-brand strong{font-size:15px}.ai-brand-mark{width:31px;height:31px;font-size:19px}
.ai-head-tools{margin-left:auto;display:flex;align-items:center;gap:11px}
.ai-search-toggle,.ai-menu-toggle{border:0;background:none;color:#e60012;padding:0;display:grid;place-items:center}
.ai-search-toggle{width:29px;height:29px}.ai-search-toggle svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ai-menu-toggle{width:30px;height:27px;display:flex;flex-direction:column;justify-content:space-around;align-items:center}
.ai-menu-toggle i{display:block;width:23px;height:3px;background:#e60012;border-radius:4px}
.ai-head-search,.ai-head-menu{position:absolute;z-index:30;top:calc(100% + 4px);left:0;right:0;padding:12px 15px;background:#fff;box-shadow:0 12px 20px rgba(15,22,39,.14);border-radius:0 0 15px 15px}
.ai-head-search[hidden],.ai-head-menu[hidden]{display:none}.ai-head-search form{display:flex;gap:8px}.ai-head-search input{min-width:0;flex:1;border:1px solid #f5ced1;border-radius:8px;padding:10px;font-size:13px}.ai-head-search button{border:0;border-radius:8px;background:#e60012;color:#fff;padding:0 16px}.ai-head-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ai-head-menu a,.ai-head-menu button{text-decoration:none;color:#293447;text-align:center;padding:11px;border:0;border-radius:8px;background:#fff4f5;font-size:13px}
.ai-welcome{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:7px 16px 10px;display:flex;flex-direction:column}
.ai-intro{flex:none;margin:5px 0 0}.ai-intro h1{font-size:23px}.ai-intro p{margin:5px 0 0;font-size:14px}
.ai-hero{flex:none;height:clamp(178px,29dvh,267px);margin:0 -4px 0}
.ai-mascot-orb{top:50%;width:clamp(148px,24dvh,210px);height:clamp(148px,24dvh,210px);transform:translate(-50%,-50%);box-shadow:0 0 0 8px rgba(252,174,183,.18),0 13px 30px rgba(223,42,68,.15)}
.ai-mascot-orb img{width:100%;height:100%;object-fit:contain;object-position:center bottom;transform:none}
.ai-feature{min-width:86px;max-width:116px;padding:8px 9px;border-radius:16px}.ai-feature b{font-size:13px}.ai-feature small{font-size:9px;margin-top:3px}.ai-feature-a,.ai-feature-b{top:23%}.ai-feature-c,.ai-feature-d{bottom:13%}
.ai-suggest{flex:1;min-height:0;display:flex;flex-direction:column;padding:10px 11px 11px;border-radius:20px}.ai-suggest-title{flex:none;margin:0 2px 6px}.ai-suggest-title b{font-size:15px}#aiSuggestions{flex:1;min-height:0;display:flex;flex-direction:column;gap:5px}.ai-prompt{flex:1;min-height:34px;padding:6px 11px;margin:0;font-size:13px;border-radius:20px}.ai-prompt i{font-size:20px}
.ai-composer,.ai-shell.is-chat .ai-composer{position:relative;bottom:auto;left:auto;right:auto;flex:none;padding:9px 16px max(10px,env(safe-area-inset-bottom));box-shadow:0 -6px 20px rgba(58,54,63,.04)}
.ai-composer form{min-height:49px;padding:4px 5px 4px 13px}.ai-input-wrap input{font-size:14px}.ai-send{height:39px;width:39px}.ai-note{min-height:0;margin:3px 4px 0;line-height:13px}
.ai-shell.is-chat .ai-top{display:block}.ai-conversation,.ai-shell.is-chat .ai-conversation{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.ai-conv-title{height:54px}.ai-conv-title button:last-child{font-size:25px;color:#e60012}
@media(max-height:700px){.ai-top{min-height:67px;padding:4px 13px 3px}.ai-head-row{height:59px}.ai-hero{height:clamp(145px,26dvh,185px)}.ai-mascot-orb{width:clamp(128px,23dvh,166px);height:clamp(128px,23dvh,166px)}.ai-intro h1{font-size:21px}.ai-intro p{font-size:12px}.ai-feature{padding:6px 7px}.ai-feature b{font-size:12px}.ai-feature small{font-size:8px}.ai-suggest{padding:8px 10px}.ai-suggest-title{margin-bottom:3px}.ai-prompt{min-height:30px;font-size:12px;padding:4px 10px}.ai-composer,.ai-shell.is-chat .ai-composer{padding-top:6px;padding-bottom:max(7px,env(safe-area-inset-bottom))}.ai-composer form{min-height:44px}.ai-send{height:35px;width:35px}}
@media(min-width:600px){.ai-shell{margin:0 auto;border-radius:0}.ai-shell.is-chat .ai-composer{bottom:auto}}
/* Match the 430px mobile homepage column and let the antlers rise above the circle. */
html{background:#eef0f3}.ai-body{width:100%;max-width:430px;margin:0 auto;background:#f7f7f8;box-shadow:0 0 28px rgba(31,38,51,.09)}
.ai-shell,.ai-shell.is-chat{width:100%;max-width:430px;margin:0 auto;box-shadow:none;border:0;border-radius:0}
.ai-hero{overflow:visible;margin-left:0;margin-right:0}
.ai-mascot-orb{width:min(44vw,202px);height:min(44vw,202px);min-width:132px;min-height:132px;overflow:visible;background:none;border:0;box-shadow:none;z-index:1}
.ai-mascot-orb:before{content:"";position:absolute;inset:0;border:4px solid #fff;border-radius:50%;background:radial-gradient(circle at 47% 41%,#fff 35%,#ffe9eb 75%);box-shadow:0 0 0 8px rgba(252,174,183,.18),0 13px 30px rgba(223,42,68,.15)}
.ai-mascot-orb img{position:absolute;z-index:1;width:112%;height:125%;max-width:none;left:-6%;top:-20%;object-fit:contain;object-position:center bottom}
.ai-feature{z-index:2;width:20%;min-width:0;max-width:90px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-left:6px;padding-right:6px}
.ai-feature small{overflow:hidden;text-overflow:ellipsis}.ai-feature-b,.ai-feature-d{right:0}.ai-feature-a,.ai-feature-c{left:0}
.ai-composer,.ai-shell.is-chat .ai-composer{padding:8px 11px max(8px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #f6e9eb}
.ai-composer form{height:48px;min-height:48px;border-radius:26px;padding:4px 4px 4px 14px;box-shadow:none}
.ai-input-wrap input{font-size:14px;line-height:24px}.ai-send{width:38px;height:38px;font-size:18px;transform:none}
.ai-note:empty{display:none}.ai-note:not(:empty){margin:3px 2px 0;text-align:left;font-size:10px}
@media(max-height:700px){.ai-mascot-orb{width:min(39vw,158px);height:min(39vw,158px);min-width:112px;min-height:112px}.ai-composer form{height:44px;min-height:44px}.ai-send{width:34px;height:34px}}

/* iOS WebKit enlarges focused text fields below 16px. Keep the composer geometry stable. */
.ai-composer,.ai-shell.is-chat .ai-composer{flex:0 0 calc(65px + env(safe-area-inset-bottom));height:calc(65px + env(safe-area-inset-bottom));min-height:calc(65px + env(safe-area-inset-bottom));max-height:calc(65px + env(safe-area-inset-bottom));padding:8px 11px calc(9px + env(safe-area-inset-bottom));overflow:visible}
.ai-composer form,.ai-shell.is-chat .ai-composer form{display:flex;align-items:center;flex:0 0 auto;height:48px;min-height:48px;max-height:48px;overflow:hidden}
.ai-input-wrap{display:block;flex:1 1 auto;min-width:0;max-width:100%;overflow:hidden}
.ai-input-wrap input,#aiQuestion{display:block;width:100%;height:40px;min-height:40px;max-height:40px;margin:0;padding:0;border:0;border-radius:0;outline:0;box-shadow:none;-webkit-appearance:none;appearance:none;font-size:16px!important;line-height:40px;white-space:nowrap;overflow:hidden;text-overflow:clip;transform:none;-webkit-text-size-adjust:100%}
.ai-note:not(:empty){position:absolute;left:11px;right:11px;bottom:calc(100% + 3px);max-height:34px;overflow:hidden;margin:0;padding:3px 7px;border-radius:7px;background:rgba(255,255,255,.96)}

/* Keep the mascot clear of the surrounding copy on narrow and wide screens. */
.ai-mascot-orb{top:56%;width:clamp(112px,36vw,154px);height:clamp(112px,36vw,154px);min-width:0;min-height:0}
.ai-mascot-orb img{width:112%;height:125%;left:-6%;top:-20%}
.ai-feature{width:26%;max-width:105px;min-height:48px;display:flex;flex-direction:column;justify-content:center;padding:7px 9px;border:1px solid rgba(255,255,255,.95);border-radius:999px;background:linear-gradient(155deg,#fff 12%,#fff1f3 100%);box-shadow:0 5px 0 rgba(236,142,153,.2),0 12px 22px rgba(181,38,61,.15),inset 0 1px 2px #fff}
.ai-feature b,.ai-feature small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ai-feature b{font-size:12px}.ai-feature small{font-size:8px;margin-top:2px}
.ai-suggest{justify-content:flex-start;overflow:auto}
#aiSuggestions{flex:0 0 auto;gap:6px}
#aiSuggestions .ai-prompt{flex:0 0 34px;height:34px;min-height:34px;max-height:34px;padding:0 11px;line-height:1.2;overflow:hidden}
@media(max-height:700px){.ai-mascot-orb{width:clamp(112px,34vw,136px);height:clamp(112px,34vw,136px)}#aiSuggestions .ai-prompt{height:34px;min-height:34px;max-height:34px}}

/* Anchor the question panel above the fixed composer without an empty tail. */
.ai-welcome{padding-bottom:0}
.ai-suggest{flex:0 0 auto;margin-top:auto;margin-bottom:0;overflow:visible}
