:root{--bg:#edf3ff;--glass:rgba(255,255,255,.78);--card:#fff;--line:#dbe5f2;--line2:#edf1f7;--text:#101827;--muted:#64748b;--blue:#2563eb;--cyan:#06b6d4;--violet:#7c3aed;--shadow:0 24px 70px rgba(30,41,59,.16)}*{box-sizing:border-box}html,body{height:100%}body{margin:0;color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;background:radial-gradient(circle at 20% 10%,#dbeafe 0,transparent 32%),radial-gradient(circle at 90% 20%,#ede9fe 0,transparent 28%),linear-gradient(135deg,#f8fbff,#edf3ff)}button,input,textarea{font:inherit}.app-shell{min-height:100%;display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;padding:18px}.rail{display:flex;flex-direction:column;padding:18px;border:1px solid var(--line);border-radius:28px;background:var(--glass);backdrop-filter:blur(18px);box-shadow:0 18px 50px rgba(30,41,59,.10)}.brand{display:flex;align-items:center;gap:12px}.brand-icon{width:44px;height:44px;border-radius:16px;background:linear-gradient(135deg,var(--blue),var(--violet));color:#fff;display:grid;place-items:center;font-size:23px;font-weight:900;box-shadow:0 12px 30px rgba(37,99,235,.32)}.brand-copy strong{display:block;font-size:18px}.brand-copy span,.user-card p,.sync-card p{display:block;margin:2px 0 0;color:var(--muted);font-size:12px}.new-tab{height:42px;margin:24px 0 14px;border:0;border-radius:15px;color:#fff;background:#101827;font-weight:750;box-shadow:0 12px 24px rgba(16,24,39,.18)}.nav-list{display:grid;gap:7px}.nav-list button{border:0;background:transparent;text-align:left;border-radius:15px;padding:12px 13px;color:#334155}.nav-list button.active,.nav-list button:hover{background:#eef5ff;color:#1d4ed8}.rail-bottom{margin-top:auto;display:grid;gap:10px}.sync-card,.user-card{display:flex;align-items:center;gap:10px;padding:12px;border-radius:18px;background:rgba(248,250,252,.9);border:1px solid #edf2f7}.sync-dot{width:12px;height:12px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 7px rgba(34,197,94,.13)}.avatar{width:36px;height:36px;border-radius:50%;background:#dbeafe;color:#1d4ed8;display:grid;place-items:center;font-weight:900}.browser-window{min-width:0;overflow:hidden;display:grid;grid-template-rows:50px 58px minmax(0,1fr);border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:var(--shadow)}.tabbar{display:flex;align-items:end;gap:8px;padding:8px 12px 0;background:#f6f9fe;border-bottom:1px solid var(--line)}.tab,.tab-add,.tool-btn{border:0;background:transparent}.tab{height:38px;min-width:180px;display:flex;align-items:center;gap:8px;padding:0 14px;border-radius:16px 16px 0 0;color:#64748b}.tab.active{background:#fff;color:#111827;border:1px solid var(--line);border-bottom-color:#fff}.favicon{width:18px;height:18px;border-radius:7px;display:grid;place-items:center;background:#e0e7ff;color:#3730a3;font-size:11px}.close{margin-left:auto;color:#94a3b8}.tab-add{height:34px;min-width:34px;border-radius:12px;margin-bottom:3px}.tab-add:hover,.tool-btn:hover{background:#eaf0f8}.window-actions{margin-left:auto;display:flex;gap:7px;margin-bottom:13px}.window-actions i{width:10px;height:10px;border-radius:50%;background:#cbd5e1}.toolbar{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line)}.tool-btn{width:34px;height:34px;border-radius:12px;color:#475569}.omnibox{flex:1;height:40px;border:1px solid var(--line);border-radius:999px;background:#f8fafc;display:flex;align-items:center;gap:10px;padding:0 7px 0 14px}.omnibox input{flex:1;border:0;outline:0;background:transparent;color:#334155}.omnibox button{height:30px;border:0;border-radius:999px;background:#111827;color:#fff;padding:0 14px;font-weight:700}.content-grid{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;padding:30px;background:linear-gradient(180deg,#fff,#fbfdff)}.home-panel{position:relative;overflow:hidden;text-align:center;border:1px solid #e7eef8;border-radius:32px;padding:56px;align-self:start;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(248,251,255,.93));box-shadow:0 20px 60px rgba(37,99,235,.08)}.hero-orbit span{position:absolute;border-radius:50%;filter:blur(.2px);opacity:.42}.hero-orbit span:nth-child(1){width:190px;height:190px;background:#dbeafe;top:-70px;left:8%}.hero-orbit span:nth-child(2){width:150px;height:150px;background:#ede9fe;right:8%;top:30px}.hero-orbit span:nth-child(3){width:120px;height:120px;background:#cffafe;bottom:10px;left:18%}.eyebrow{position:relative;margin:0;color:#2563eb;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:12px}.home-panel h1{position:relative;margin:12px 0 8px;font-size:84px;line-height:1;letter-spacing:-.10em;background:linear-gradient(90deg,#2563eb,#06b6d4,#7c3aed);-webkit-background-clip:text;background-clip:text;color:transparent}.subtitle{position:relative;max-width:620px;margin:0 auto 28px;color:var(--muted);line-height:1.8}.searchbox{position:relative;max-width:720px;height:56px;margin:0 auto;display:flex;align-items:center;border:1px solid var(--line);border-radius:999px;background:#fff;box-shadow:0 14px 36px rgba(15,23,42,.10);overflow:hidden}.searchbox input{flex:1;border:0;outline:0;padding:0 24px;font-size:17px}.searchbox button{align-self:stretch;border:0;background:linear-gradient(135deg,var(--blue),var(--violet));color:#fff;padding:0 28px;font-weight:850}.quick-actions{position:relative;margin-top:22px;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.quick-actions button{border:1px solid #e5eaf2;background:#f8fafc;border-radius:14px;padding:10px 14px;color:#334155}.quick-actions button:hover{background:#eef5ff;color:#1d4ed8}.result-preview{position:relative;text-align:left;max-width:720px;margin:24px auto 0;padding:18px;border:1px solid var(--line);border-radius:22px;background:#fff}.result-head{display:flex;justify-content:space-between;gap:10px;color:#334155}.result-head span{color:#94a3b8;font-size:12px}.result-preview article{padding:14px 0;border-top:1px solid var(--line2)}.result-preview article:first-of-type{margin-top:8px}.result-preview a{font-weight:850;color:#1d4ed8}.result-preview p{margin:6px 0 0;color:#64748b;line-height:1.55}.assistant-panel{border:1px solid var(--line);border-radius:28px;background:#fbfdff;padding:20px;align-self:start;box-shadow:0 18px 50px rgba(15,23,42,.06)}.panel-header{display:flex;gap:12px;align-items:center}.panel-header span{width:40px;height:40px;border-radius:15px;display:grid;place-items:center;background:#eef2ff}.panel-header strong{display:block;font-size:18px}.panel-header p{margin:2px 0 0;color:var(--muted);font-size:12px}.assistant-card{margin-top:14px;padding:14px;border:1px solid var(--line2);border-radius:18px;background:#fff}.assistant-card.primary{background:#eef5ff;border-color:#d8e8ff}.assistant-card p{margin:8px 0 0;color:var(--muted);line-height:1.55}.assistant-panel textarea{margin-top:14px;width:100%;height:132px;resize:none;outline:0;border:1px solid var(--line);border-radius:18px;padding:13px;background:#fff}.send-btn{margin-top:12px;width:100%;height:42px;border:0;border-radius:15px;background:#101827;color:#fff;font-weight:850}@media(max-width:980px){.app-shell{grid-template-columns:1fr;padding:10px 10px 74px}.rail{display:none}.browser-window{border-radius:20px}.content-grid{grid-template-columns:1fr;padding:16px}.assistant-panel{display:block}.home-panel{padding:42px 18px}.home-panel h1{font-size:64px}.tab{min-width:128px}.tab:nth-child(2){display:none}.toolbar{gap:4px}.tool-btn{display:none}.tool-btn:nth-child(3){display:block}.quick-actions{display:none}.searchbox{height:52px}.searchbox button{padding:0 18px}}

.chat-log{margin-top:14px;display:grid;gap:10px;max-height:220px;overflow:auto}.msg{padding:10px 12px;border-radius:14px;line-height:1.55;font-size:14px}.msg.ai{background:#eef5ff;color:#1e3a8a}.msg.user{background:#111827;color:#fff;margin-left:26px}.msg.error{background:#fee2e2;color:#991b1b}

.drawer{position:absolute;right:28px;top:126px;width:360px;max-width:calc(100% - 56px);max-height:calc(100% - 154px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 24px 80px rgba(15,23,42,.22);z-index:20}.drawer-head{position:sticky;top:0;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line)}.drawer-head button{border:0;background:#f1f5f9;border-radius:10px;width:32px;height:32px}.drawer-body{padding:12px}.drawer-item{display:block;padding:12px;border-radius:14px;text-decoration:none;color:#111827;border:1px solid transparent}.drawer-item:hover{background:#f8fafc;border-color:#e5edf7}.drawer-item b{display:block;font-size:14px}.drawer-item span{display:block;margin-top:4px;font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:980px){.drawer{left:10px;right:10px;top:116px;width:auto;max-width:none}}

.mobile-nav{display:none}@media(max-width:980px){.mobile-nav{position:fixed;left:10px;right:10px;bottom:10px;z-index:50;display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:8px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.9);backdrop-filter:blur(16px);box-shadow:0 16px 50px rgba(15,23,42,.18)}.mobile-nav button{border:0;border-radius:14px;background:transparent;height:42px;color:#334155;font-weight:700}.mobile-nav button:hover{background:#eef5ff;color:#1d4ed8}.assistant-panel{margin-top:0}.chat-log{max-height:180px}}

.toast{position:fixed;left:50%;bottom:86px;transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;background:#111827;color:#fff;border-radius:999px;padding:11px 16px;box-shadow:0 16px 40px rgba(15,23,42,.22);transition:.22s;z-index:80}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.skeleton{background:linear-gradient(90deg,#f1f5f9,#e2e8f0,#f1f5f9);background-size:200% 100%;animation:shimmer 1.2s infinite;border-radius:12px;height:16px}@keyframes shimmer{to{background-position:-200% 0}}

/* Desktop minimal homepage mode */
.minimal-topbar{height:58px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 22px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.86);backdrop-filter:blur(14px)}
.mini-brand{display:flex;align-items:center;gap:9px}.mini-brand span{width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,var(--blue),var(--violet));color:#fff;display:grid;place-items:center;font-weight:900}.mini-brand strong{font-size:17px}.mini-actions{display:flex;align-items:center;gap:6px}.mini-actions button,.mini-actions a{border:0;background:transparent;text-decoration:none;color:#334155;border-radius:12px;padding:8px 10px;font-weight:700}.mini-actions button:hover,.mini-actions a:hover{background:#eef5ff;color:#1d4ed8}
@media(min-width:981px){body{background:#fff}.app-shell{display:block;padding:0;min-height:100vh}.rail{display:none}.browser-window{min-height:100vh;border:0;border-radius:0;box-shadow:none;grid-template-rows:58px 0 52px minmax(0,1fr);position:relative}.tabbar{height:0;overflow:hidden;padding:0;border:0}.toolbar{height:52px;max-width:920px;width:calc(100% - 64px);margin:18px auto 0;border:1px solid var(--line);border-radius:999px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.08);padding:7px 12px}.toolbar .tool-btn:nth-child(1),.toolbar .tool-btn:nth-child(2),.toolbar .tool-btn:nth-child(3){display:none}.toolbar .tool-btn{width:32px;height:32px}.omnibox{border:0;background:transparent;height:36px}.omnibox button{background:#2563eb}.content-grid{display:block;padding:0;background:radial-gradient(circle at 50% 16%,#eaf2ff 0,transparent 30%),#fff}.home-panel{max-width:840px;margin:78px auto 0;border:0;box-shadow:none;background:transparent;padding:0 24px}.home-panel h1{font-size:92px}.subtitle{font-size:16px}.searchbox{margin-top:26px}.quick-actions{margin-top:20px}.assistant-panel{position:fixed;right:24px;top:86px;width:360px;max-height:calc(100vh - 118px);overflow:auto;transform:translateX(420px);opacity:0;pointer-events:none;transition:.22s;z-index:60}.assistant-panel.open{transform:translateX(0);opacity:1;pointer-events:auto}.drawer{top:78px}.mobile-nav{display:none!important}}
@media(max-width:980px){.minimal-topbar{display:none}.browser-window{grid-template-rows:50px 58px minmax(0,1fr)}}

/* Competitor-like desktop simplification */
.quick-menu{position:fixed;right:22px;top:54px;z-index:90;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 18px 46px rgba(15,23,42,.16);padding:8px;display:grid;gap:4px;min-width:178px}.quick-menu[hidden]{display:none}.quick-menu button{border:0;background:#fff;text-align:left;border-radius:12px;padding:11px 13px;font-weight:700;color:#334155}.quick-menu button:hover{background:#f1f5f9}.icon-menu{font-size:18px}
@media(min-width:981px){.mini-actions{gap:8px}.mini-actions button,.mini-actions a{font-size:14px}.mini-actions button:not(#topAi):not(#menuToggle),.mini-actions a:not(:last-child){display:initial}.browser-window{grid-template-rows:58px 0 0 minmax(0,1fr)}.toolbar{display:none}.content-grid{min-height:calc(100vh - 58px);display:flex;align-items:flex-start;justify-content:center;background:linear-gradient(180deg,#fff 0,#f8fbff 100%)}.home-panel{margin:116px auto 0;text-align:center;max-width:760px}.home-panel h1{font-size:96px;letter-spacing:-7px;line-height:.95;background:linear-gradient(135deg,#2563eb 20%,#7c3aed 70%);-webkit-background-clip:text;background-clip:text;color:transparent}.eyebrow{font-size:12px;letter-spacing:.22em;color:#64748b}.subtitle{margin-top:16px;color:#64748b}.searchbox{height:60px;border-radius:999px;box-shadow:0 10px 30px rgba(15,23,42,.10),0 1px 4px rgba(15,23,42,.08);border:1px solid #e5eaf3;background:#fff}.searchbox:before{content:'🔎';font-size:18px;margin-left:18px}.searchbox input{text-align:left;font-size:17px}.searchbox button{height:44px;border-radius:999px;padding:0 24px}.quick-actions{justify-content:center}.quick-actions button{background:#fff;border:1px solid #e5e7eb;color:#334155}.result-preview{margin-top:28px;text-align:left}.mini-brand strong{font-size:16px}.mini-brand span{border-radius:50%}}

/* Tianqiong Search product: no browser shell */
body.search-product{min-height:100%;margin:0;background:#fff;color:#111827;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif}.search-product .search-header{height:64px;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:0 28px}.search-product .word-link{border:0;background:transparent;color:#334155;text-decoration:none;border-radius:999px;padding:9px 12px;font-weight:650}.search-product .word-link:hover{background:#f1f5f9;color:#1d4ed8}.search-product .ai-pill,.search-product .login-pill{border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;text-decoration:none;border-radius:999px;padding:9px 14px;font-weight:800}.search-product .login-pill{background:#111827;color:#fff;border-color:#111827}.search-product .search-main{min-height:calc(100vh - 64px);display:flex;flex-direction:column;align-items:center;padding:86px 20px 64px;background:radial-gradient(circle at 50% 8%,#eff6ff 0,transparent 32%),#fff}.search-product .search-hero{text-align:center;width:100%;max-width:780px}.search-product .logo-mark{width:58px;height:58px;margin:0 auto 16px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-size:30px;font-weight:950;box-shadow:0 16px 36px rgba(37,99,235,.22)}.search-product h1{margin:0;font-size:92px;line-height:.95;letter-spacing:-8px;background:linear-gradient(135deg,#2563eb 20%,#7c3aed 76%);-webkit-background-clip:text;background-clip:text;color:transparent}.search-product .search-hero p{margin:18px 0 28px;color:#64748b;font-size:16px}.search-product .searchbox{width:min(720px,100%);height:60px;margin:0 auto;display:flex;align-items:center;border:1px solid #e5eaf3;border-radius:999px;background:#fff;box-shadow:0 12px 34px rgba(15,23,42,.10);overflow:hidden}.search-product .searchbox:before{content:none}.search-product .search-icon{padding-left:22px;color:#64748b;font-size:25px;line-height:1}.search-product .searchbox input{flex:1;border:0;outline:0;padding:0 16px;font-size:17px;text-align:left;background:transparent}.search-product .searchbox button{height:44px;margin-right:8px;border:0;border-radius:999px;background:#2563eb;color:#fff;padding:0 24px;font-weight:900}.search-product .quick-actions{margin-top:22px;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.search-product .quick-actions button{border:1px solid #e5e7eb;background:#f8fafc;border-radius:999px;padding:10px 15px;color:#334155;font-weight:650}.search-product .quick-actions button:hover{background:#eff6ff;color:#1d4ed8}.search-product .result-preview{display:block;width:min(760px,calc(100% - 40px));margin:32px auto 0;padding:18px;border:1px solid #e5eaf3;border-radius:22px;background:#fff;box-shadow:0 16px 40px rgba(15,23,42,.07);text-align:left}.search-product .result-preview[hidden]{display:none}.search-product .result-head{display:flex;justify-content:space-between;color:#334155}.search-product .result-head span{color:#94a3b8;font-size:12px}.search-product .result-preview article{padding:14px 0;border-top:1px solid #edf2f7}.search-product .result-preview a{font-weight:850;color:#1d4ed8}.search-product .result-preview p{margin:6px 0 0;color:#64748b;line-height:1.55}.search-product .assistant-panel{position:fixed;right:24px;top:76px;width:380px;max-width:calc(100vw - 32px);max-height:calc(100vh - 100px);overflow:auto;padding:20px;border:1px solid #e5eaf3;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.18);transform:translateX(430px);opacity:0;pointer-events:none;transition:.22s;z-index:60}.search-product .assistant-panel.open{transform:translateX(0);opacity:1;pointer-events:auto}.search-product .panel-header{display:flex;gap:12px;align-items:center}.search-product .panel-header span{width:40px;height:40px;border-radius:14px;background:#eff6ff;color:#1d4ed8;display:grid;place-items:center;font-weight:900}.search-product .panel-header p{margin:3px 0 0;color:#64748b;font-size:12px}.search-product .chat-log{margin-top:14px;display:grid;gap:10px;max-height:240px;overflow:auto}.search-product .msg{padding:10px 12px;border-radius:14px;line-height:1.55;font-size:14px}.search-product .msg.ai{background:#eff6ff;color:#1e3a8a}.search-product .msg.user{background:#111827;color:#fff;margin-left:28px}.search-product .msg.error{background:#fee2e2;color:#991b1b}.search-product textarea{margin-top:14px;width:100%;height:118px;resize:none;outline:0;border:1px solid #e5eaf3;border-radius:16px;padding:13px;background:#fff}.search-product .send-btn{margin-top:12px;width:100%;height:42px;border:0;border-radius:14px;background:#111827;color:#fff;font-weight:850}.search-product .drawer{position:fixed;right:24px;top:76px;width:360px;max-width:calc(100vw - 32px);max-height:calc(100vh - 100px);overflow:auto;background:#fff;border:1px solid #e5eaf3;border-radius:24px;box-shadow:0 24px 70px rgba(15,23,42,.18);z-index:70}.search-product .drawer-head{position:sticky;top:0;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid #edf2f7}.search-product .drawer-head button{border:0;background:#f1f5f9;border-radius:10px;width:32px;height:32px}.search-product .drawer-body{padding:12px}.search-product .drawer-item{display:block;padding:12px;border-radius:14px;text-decoration:none;color:#111827;border:1px solid transparent}.search-product .drawer-item:hover{background:#f8fafc;border-color:#e5edf7}.search-product .drawer-item b{display:block;font-size:14px}.search-product .drawer-item span{display:block;margin-top:4px;font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-product .toast{position:fixed;left:50%;bottom:40px;transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;background:#111827;color:#fff;border-radius:999px;padding:11px 16px;box-shadow:0 16px 40px rgba(15,23,42,.22);transition:.22s;z-index:90}.search-product .toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:720px){.search-product .search-header{height:58px;padding:0 12px;gap:2px}.search-product .word-link{display:none}.search-product .search-main{padding-top:62px}.search-product h1{font-size:66px;letter-spacing:-5px}.search-product .searchbox{height:56px}.search-product .searchbox button{padding:0 18px}.search-product .quick-actions{display:none}.search-product .assistant-panel,.search-product .drawer{left:12px;right:12px;top:70px;width:auto;max-width:none}}

.search-product.results-page .results-main{width:min(860px,calc(100% - 32px));margin:34px auto 80px}.search-product .searchbox.compact{margin:0 0 24px;width:100%;max-width:none}.search-product.results-page .result-preview{width:100%;margin:0}.search-product.results-page .dynamic-results article:first-child{border-top:1px solid #edf2f7}

.user-badge{display:flex;align-items:center;gap:9px;text-decoration:none;color:#111827;border:1px solid #e5eaf3;border-radius:999px;padding:5px 10px;background:#fff}.user-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:900}.user-meta{display:grid;line-height:1.1}.user-meta small{color:#16a34a;font-size:11px}.profile-box{display:flex;gap:14px;align-items:center;margin:10px 0 16px}.profile-avatar{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:950;font-size:24px;background:linear-gradient(135deg,#2563eb,#7c3aed);overflow:hidden;background-size:cover;background-position:center}.avatar-grid{display:flex;gap:10px;flex-wrap:wrap}.avatar-choice{width:44px;height:44px;border:2px solid transparent;border-radius:50%;color:#fff;font-weight:900;display:grid;place-items:center;cursor:pointer}.avatar-choice.active{border-color:#111827;box-shadow:0 0 0 3px #dbeafe}
