#top .arlo-assistant-entry{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin:30px 0 0 14px;min-height:54px;padding:14px 24px;border:1px solid #617173;border-radius:16px;background:#10181b;color:#dce4e2;font-family:inherit;font-size:15px;font-weight:500;line-height:1.5;cursor:pointer}
.arlo-assistant-entry:hover{background:#1b282c!important}.arlo-assistant-entry:active{transform:scale(.98)}
#top .arlo-hero-actions{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:30px}
#top .arlo-hero-actions>a,#top .arlo-hero-actions>.arlo-assistant-entry{box-sizing:border-box;margin:0;height:54px;min-height:54px;display:inline-flex;align-items:center;justify-content:center}
#top .arlo-assistant-entry{gap:10px}
#top .arlo-assistant-entry svg{width:21px;height:21px;flex:none}
.arlo-assistant{box-sizing:border-box;width:min(560px,calc(100vw - 28px));max-width:560px;height:min(680px,85dvh);max-height:85dvh;padding:0;border:1px solid #3a474b;border-radius:22px;background:#10171b;color:#e7ecea;overflow:hidden;box-shadow:0 24px 90px #0006}
.arlo-assistant[open]{display:flex;flex-direction:column}.arlo-assistant::backdrop{background:#03080bb3}
.arlo-assistant header{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #ffffff12}.arlo-assistant h2{margin:0;font-size:20px;font-weight:550}.arlo-assistant header p{margin:5px 0 0;color:#91a0a5;font-size:12px}.arlo-assistant header button{border:0;background:transparent;color:#b8c3c6;font-size:27px;cursor:pointer;width:36px;height:36px}
.arlo-messages{flex:1;min-height:0;overflow-y:auto;padding:24px;overscroll-behavior:contain}.arlo-welcome{margin:12px 0;color:#aebdbf;font-size:15px;line-height:1.9}.arlo-message{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.85;margin:0 0 22px}.arlo-user{width:fit-content;max-width:88%;margin-left:auto;padding:10px 15px;background:#263236;border-radius:16px 16px 4px 16px}.arlo-assistant .arlo-status{margin:0 24px;min-height:22px;color:#bcad91;font-size:12px}
.arlo-compose,.arlo-inline-compose{display:flex;gap:10px;align-items:center;background:#20282c;border:1px solid #3e4b4f;border-radius:16px;padding:10px 12px}.arlo-compose{margin:8px 18px 0}.arlo-compose textarea,.arlo-inline-compose input{flex:1;min-width:0;border:0;outline:none;background:transparent;color:#e7ecea;font:16px/1.5 sans-serif;resize:none}.arlo-compose button,.arlo-inline-compose button{flex:none;width:36px;height:36px;border:0;border-radius:50%;background:#e2e9e5;color:#10171b;font-size:23px;cursor:pointer}.arlo-compose button:disabled{opacity:.4;cursor:wait}.arlo-assistant footer{padding:10px 20px 14px;color:#7d8e93;font-size:11px;text-align:center}.arlo-inline-compose{margin-top:18px}.arlo-inline-compose:focus-within,.arlo-compose:focus-within{border-color:#9caeae}
.arlo-assistant button:focus-visible,.arlo-assistant-entry:focus-visible{outline:2px solid #d9c9ad;outline-offset:3px}.arlo-assistant button:active,.arlo-inline-compose button:active{transform:scale(.96)}
@media(max-width:600px){#top .arlo-assistant-entry{min-height:48px;padding:12px 16px;font-size:13px;margin-left:8px}.arlo-assistant header,.arlo-messages{padding:18px}.arlo-assistant{border-radius:16px}.arlo-compose{margin-inline:12px}}
.arlo-assistant{width:min(820px,calc(100vw - 28px));max-width:820px}
.arlo-assistant[open]{flex-direction:row}
.arlo-chat-main{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}
.arlo-ai-mark{display:block;width:26px;height:26px;flex:none;color:#e7ecea}
.arlo-assistant h2{display:flex;align-items:center;gap:10px}
.arlo-reply{display:flex;align-items:flex-start;gap:12px}
.arlo-reply>.arlo-ai-mark{width:24px;height:24px;margin-top:2px}
.arlo-reply-content{min-width:0;flex:1}
.arlo-compose button,.arlo-inline-compose button{display:inline-flex;align-items:center;justify-content:center;padding:0;box-sizing:border-box;line-height:1}
.arlo-compose button svg,.arlo-inline-compose button svg{display:block;width:20px;height:20px;flex:none}
.arlo-history{width:200px;flex:none;display:flex;flex-direction:column;gap:20px;padding:22px 14px;background:#0c1316;border-right:1px solid #ffffff12}
.arlo-history>p{margin:0 8px;color:#8d9b9e;font-size:12px}
.arlo-history nav{display:flex;flex-direction:column;gap:5px;flex:1;overflow:auto;min-height:0}
.arlo-history-row{display:flex;align-items:center;gap:2px;min-width:0}
.arlo-history-select{flex:1;min-width:0}
.arlo-history .arlo-history-delete{display:flex;align-items:center;justify-content:center;flex:none;width:30px;height:32px;padding:6px;color:#819195}
.arlo-history-delete svg{width:17px;height:17px}
.arlo-history .arlo-history-delete:hover{color:#e9ada4;background:#ffffff08}
.arlo-history button{font:inherit;font-size:13px;line-height:1.6;color:#abb8bb;background:transparent;border:1px solid transparent;border-radius:9px;padding:10px;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.arlo-history .arlo-new-chat{border-color:#344145;color:#dce4e2}
.arlo-history button:hover,.arlo-history button[aria-current=true]{background:#202b2f;color:#e7ecea}
.arlo-history button:disabled{opacity:.5;cursor:wait}
.arlo-history small,.arlo-history-empty{font-size:11px;color:#78898e;padding:0 8px}
.arlo-suggestions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}
.arlo-suggestions button{border:1px solid #334045;background:#141e22;border-radius:10px;padding:13px 14px;text-align:left;font:13px/1.7 inherit;font-family:inherit;font-size:13px;line-height:1.7;color:#afbdc0;cursor:pointer}
.arlo-suggestions button:hover{border-color:#64777b;background:#1b282c;color:#e4eae7}
.arlo-inline-compose{min-height:56px;padding:8px 9px 8px 16px;border-radius:34px;background:#212121;border-color:#303030}
[aria-label="AI 对话原文记录"] .arlo-inline-compose input:focus,[aria-label="AI 对话原文记录"] .arlo-inline-compose input:focus-visible,.arlo-compose textarea:focus,.arlo-compose textarea:focus-visible{outline:none!important;box-shadow:none!important;border:0!important}
.arlo-inline-compose:focus-within{border-color:#737b7c}
@media(max-width:600px){.arlo-history nav .arlo-history-row{flex:none;width:200px}.arlo-history nav .arlo-history-select{min-width:0;flex:1}.arlo-history nav .arlo-history-delete{min-width:30px;max-width:30px}}
@media(max-width:600px){.arlo-assistant[open]{flex-direction:column}.arlo-history{box-sizing:border-box;width:100%;padding:12px 16px;gap:10px;border-right:0;border-bottom:1px solid #ffffff12;max-height:140px}.arlo-history>p,.arlo-history small{display:none}.arlo-history nav{flex-direction:row;flex:none;overflow:auto}.arlo-history nav button{min-width:140px;max-width:180px;flex:none}.arlo-history .arlo-new-chat{align-self:flex-start;padding:5px 10px}.arlo-suggestions{grid-template-columns:1fr;margin-top:18px}.arlo-suggestions button{padding:10px 12px}}
.arlo-thinking .arlo-reply-content>span{display:flex;gap:6px;align-items:center;height:28px}
.arlo-thinking i{width:6px;height:6px;border-radius:50%;background:#a9c2c0;animation:arlo-think 1s ease-in-out infinite}
.arlo-thinking i:nth-child(2){animation-delay:.15s}.arlo-thinking i:nth-child(3){animation-delay:.3s}
@keyframes arlo-think{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}
@media(prefers-reduced-motion:reduce){.arlo-thinking i{animation:none;opacity:.7}}

.arlo-assistant-stage{flex:none;color:#ed795f;font-size:12px;font-weight:500;line-height:1.5;white-space:nowrap}
.arlo-assistant footer{line-height:1.7;text-wrap:pretty}


/* Champagne light on the existing assistant button outline. */
@property --assistant-gold-angle {syntax:'<angle>';inherits:false;initial-value:0deg}
#top .arlo-assistant-entry{position:relative}
#top .arlo-assistant-entry::before{
 content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;
 background:conic-gradient(from var(--assistant-gold-angle),transparent 0deg 220deg,#b5a07b33 260deg,#c9b38ccc 300deg,#f0dfb9 330deg,transparent 360deg);
 -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;
 mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;
 opacity:.85;animation:assistant-gold-travel 7s linear infinite;animation-play-state:var(--hero-motion,paused);
}
#top .arlo-assistant-entry:hover::before{opacity:1}
@keyframes assistant-gold-travel{to{--assistant-gold-angle:360deg}}
@media(prefers-reduced-motion:reduce){#top .arlo-assistant-entry::before{animation:none;--assistant-gold-angle:45deg}}
