:root {
  --red: #ff2442;
  --text: #252525;
  --muted: #999;
  --line: #efefef;
  --mint: #76eee2;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #f2f3f5;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overscroll-behavior-y: contain; }
body { background: #f1f2f4; }
button, input { font: inherit; }
button { color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

#app {
  width: min(100%, 430px);
  min-height: 100svh;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 35px rgba(0,0,0,.06);
  overflow: hidden;
}

.page { min-height: 100svh; background: #fff; position: relative; padding-top: env(safe-area-inset-top); }
.icon-btn { width: 27px; height: 27px; display: grid; place-items: center; flex: none; }

.home-header { height: 57px; position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; padding: 0 19px; }
.home-header nav { display: flex; align-self: stretch; gap: 28px; }
.home-header nav button { color: #929292; font-size: 17px; position: relative; }
.home-header nav .active { color: #222; font-weight: 650; }
.home-header nav .active::after { content: ""; position: absolute; height: 3px; border-radius: 2px; background: var(--red); left: 4px; right: 4px; bottom: 6px; }
.home-channel-header { justify-content: center; }
.home-channel-header nav { gap: clamp(25px, 9vw, 43px); }
.home-starter { margin: 8px 10px 10px; padding: 10px 11px 7px; border: 1px solid #e6f2ee; border-radius: 16px; background: #f7fbf9; }
.home-starter-heading { display: flex; align-items: baseline; gap: 8px; margin: 0 2px 5px; }
.home-starter-heading strong { flex: none; font-size: 13px; }
.home-starter-heading span { min-width: 0; color: #789187; font-size: 10px; }
.home-starter > button { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; padding: 7px 5px; border-top: 1px solid #e9f2ef; text-align: left; }
.home-starter > button small { flex: none; color: #31856d; font-size: 10px; }
.home-starter > button span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.home-starter > button b { flex: none; color: #31856d; font-size: 12px; font-weight: 500; }
.home-starter > p { margin: 4px 2px 0; color: #9aa9a2; font-size: 9px; }
.home-context-prompt { position: fixed; z-index: 10; left: 50%; transform: translateX(-50%); bottom: calc(142px + env(safe-area-inset-bottom)); width: min(calc(100% - 24px),390px); min-width: 0; display: flex; align-items: center; gap: 3px; padding: 5px 6px 5px 12px; border: 1px solid #dcefe8; border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: 0 6px 23px rgba(26,47,42,.14); }
.home-context-prompt[hidden] { display: none; }
.home-context-prompt > button:first-child { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; text-align: left; }
.home-context-prompt small { flex: none; color: #348c73; font-size: 10px; }
.home-context-prompt strong { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; font-weight: 500; }
.home-context-prompt b { flex: none; color: #28856c; font-size: 10px; font-weight: 600; }
.home-context-prompt-dismiss { flex: none; width: 24px; height: 25px; color: #a6b2ac; font-size: 16px; }
.following-empty { display: grid; justify-items: center; align-content: center; min-height: calc(100svh - 250px); margin: 0 24px; padding: 30px 22px; text-align: center; }
.following-empty-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #e88498; background: #fff0f3; font-size: 31px; }
.following-empty h2 { margin: 16px 0 6px; font-size: 17px; }
.following-empty p { max-width: 260px; margin: 0; color: #888; font-size: 13px; line-height: 1.6; }
.following-empty button { margin-top: 18px; padding: 9px 18px; border-radius: 18px; color: #fff; background: var(--red); font-size: 13px; }
.outline-bubble { width: 25px; height: 25px; display: grid; place-items: center; }
.outline-bubble svg { stroke-width: 2.2; }

.masonry { display: flex; align-items: flex-start; gap: 6px; padding: 3px 5px 88px; background: #f8f8f8; }
.masonry-column { min-width: 0; flex: 1; }
.feed-card { display: block; width: 100%; margin-bottom: 7px; border-radius: 5px; overflow: hidden; background: #fff; }
.shot { width: 100%; background-color: #f0f0f0; }
.crop { position: relative; overflow: hidden; }
.crop > img { position: absolute; left: 0; top: 0; max-width: none; height: auto; display: block; }
.feed-copy { padding: 9px 10px 11px; }
.feed-copy h3 { margin: 0; font-size: 14px; line-height: 1.42; font-weight: 550; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.feed-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; color: #777; font-size: 11px; gap: 4px; }
.feed-meta > span { display: flex; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { flex: none; display: inline-block; width: 21px; height: 21px; border-radius: 50%; overflow: hidden; margin-right: 5px; border: 1px solid #eee; }
.avatar .shot { width: 100%; height: 100%; border-radius: 50%; }
.like-mini { font-size: 12px; }

.full-child-cover { position: relative; aspect-ratio: 4/5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; overflow: hidden; color: #6a4b26; background-color: #fff8de; background-image: linear-gradient(rgba(225,201,141,.23) 1px, transparent 1px), linear-gradient(90deg,rgba(225,201,141,.23) 1px,transparent 1px); background-size: 28px 28px; text-align: center; }
.child-cover-kicker { position: absolute; top: 12px; left: 11px; padding: 4px 8px; border-radius: 11px; color: #9a6c38; background: rgba(255,255,255,.75); font-size: 10px; }
.child-cover-mascot { font-size: 68px; line-height: 1; filter: drop-shadow(0 4px 2px rgba(80,52,13,.1)); }
.full-child-cover strong { font-size: 25px; line-height: 1.16; letter-spacing: 1px; }
.full-child-cover small { color: #a37d52; font-size: 11px; }
.home-offer { background-size: 208% 330%; background-position: 100% 11%; }
.home-quarrel { background-size: 206% 285%; background-position: 0 49%; }
.home-guide { background-size: 208% 320%; background-position: 100% 86%; }
.home-door { background-size: 206% 235%; background-position: 0 100%; }
.result-food-left { background-size: 208% 355%; background-position: 0 77%; }
.result-food-right { background-size: 208% 355%; background-position: 100% 77%; }
.avatar-duck { background-size: 1180% 2500%; background-position: 12% 9%; }
.avatar-1 { background-size: 1180% 2500%; background-position: 5% 18%; }
.avatar-2 { background-size: 1180% 2500%; background-position: 6% 49%; }
.avatar-3 { background-size: 1180% 2500%; background-position: 7% 73%; }

.bottom-nav { position: fixed; z-index: 10; bottom: 0; width: min(100%, 430px); height: 70px; padding: 7px 16px calc(7px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5,1fr); align-items: center; background: rgba(255,255,255,.97); border-top: 1px solid #eee; box-shadow: 0 -4px 18px rgba(29,31,36,.035); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bottom-nav button { min-height: 42px; display: flex; align-items: center; justify-content: center; color: #888; font-size: 16px; position: relative; -webkit-tap-highlight-color: transparent; }
.bottom-nav button.active { color: #222; font-weight: 650; }
.bottom-nav .publish { width: 46px; height: 34px; min-height: 34px; margin: auto; border-radius: 10px; background: var(--red); color: #fff; padding: 5px 11px; }
.bottom-nav .publish span { display: block; width: 24px; height: 24px; }
.bottom-nav .publish svg { stroke-width: 3.2; }
.bottom-nav .nav-label { position: relative; display: inline-block; line-height: 24px; }
.bottom-nav i { position: absolute; z-index: 1; top: 0; left: calc(100% - 1px); transform: translateY(-35%); display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid #fff; border-radius: 999px; color: #fff; background: var(--red); font-size: 11px; line-height: 1; font-weight: 600; font-style: normal; white-space: nowrap; pointer-events: none; }

.search-page { min-height: 100svh; }
.search-header { display: flex; align-items: center; gap: 10px; padding: 10px 17px 8px; }
.search-field { height: 46px; flex: 1; min-width: 0; border-radius: 25px; background: #f8f8f8; box-shadow: inset 0 0 0 1px #eee, 0 7px 18px rgba(0,0,0,.035); display: flex; align-items: center; padding: 0 14px 0 18px; color: #969696; }
.search-field span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.search-field button { width: 25px; height: 25px; }
.search-action { font-size: 16px; font-weight: 600; flex: none; }
.guess-title { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px 10px; }
.guess-title strong { font-size: 16px; }
.guess-title span { color: #999; letter-spacing: 3px; }
.suggestion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; padding: 11px 18px; }
.suggestion-grid button { text-align: left; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.voice-entry { position: absolute; bottom: 42px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; min-height: 160px; justify-content: flex-end; }
.voice-entry::before { content: ''; position: absolute; z-index: 0; left: 0; width: 100%; height: 110px; bottom: -39px; border-radius: 50% 50% 0 0; background: #f6f6f6; }
.voice-entry > * { position: relative; }
.voice-entry p { color: #777; margin: 0 0 19px; font-size: 14px; }
.voice-entry button { width: 90px; height: 54px; padding: 16px 34px; border-radius: 28px; background: #fff; box-shadow: 0 7px 24px rgba(0,0,0,.12); }
.voice-entry button svg { stroke-width: 2.5; }

.results-page { background: #fafafa; padding-bottom: 30px; }
.results-head { background: #fff; }
.results-head .search-field { color: #333; }
.results-head .search-field i { width: 19px; height: 19px; line-height: 17px; text-align: center; color: #fff; background: #c8c8c8; font-style: normal; border-radius: 50%; }
.result-tabs { display: flex; align-items: center; justify-content: space-between; gap: 9px; overflow-x: auto; padding: 11px 17px 9px; background: #fff; scrollbar-width: none; white-space: nowrap; }
.result-tabs button { color: #666; font-size: 15px; padding-bottom: 5px; flex: none; }
.result-tabs button svg { width: 15px; height: 15px; vertical-align: middle; }
.result-tabs .active { color: #222; font-weight: 650; border-bottom: 3px solid var(--red); }
.result-tabs .ai-tab { color: #222; display: inline-flex; gap: 5px; align-items: center; }

.summary-card { margin: 0 13px 12px; padding: 14px 14px 9px; background: #fff; border-radius: 10px; box-shadow: 0 5px 18px rgba(0,0,0,.055); }
.summary-card > p { margin: 0 0 11px; font-size: 15px; line-height: 1.55; }
.summary-card ol { list-style: none; margin: 0; padding: 0; }
.summary-card li { display: grid; grid-template-columns: 24px 27px 1fr auto; align-items: center; gap: 7px; min-height: 39px; font-size: 13px; }
.summary-card li em { color: #aaa; font-size: 15px; font-style: italic; }
.summary-card li .shot { width: 27px; height: 27px; border-radius: 5px; }
.summary-card li strong { font-weight: 550; }
.summary-card li span { color: #aaa; font-size: 12px; }
.summary-card li:nth-child(5) { opacity: .24; mask-image: linear-gradient(#000, transparent); }
.summary-card footer { display: flex; justify-content: space-between; align-items: center; color: #999; font-size: 12px; padding-top: 7px; }
.summary-card footer b { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #eee; border-radius: 50%; font-size: 24px; font-weight: 300; }
.tiny-avatar { font-size: 11px; letter-spacing: -7px; padding-right: 7px; }
.place-1 { background-size: 1200% 2600%; background-position: 13% 23%; }
.place-2 { background-size: 1200% 2600%; background-position: 13% 27%; }
.place-3 { background-size: 1200% 2600%; background-position: 13% 31%; }
.place-4 { background-size: 1200% 2600%; background-position: 13% 35%; }
.place-5 { background-size: 1200% 2600%; background-position: 13% 39%; }
.ai-place-1 { background-size: 1200% 2600%; background-position: 15% 32%; }
.ai-place-2 { background-size: 1200% 2600%; background-position: 15% 38%; }
.ai-place-3 { background-size: 1200% 2600%; background-position: 15% 43%; }
.ai-place-4 { background-size: 1200% 2600%; background-position: 15% 49%; }
.ai-place-5 { background-size: 1200% 2600%; background-position: 15% 54%; }
.ai-place-6 { background-size: 1200% 2600%; background-position: 15% 60%; }
.ai-place-7 { background-size: 1200% 2600%; background-position: 15% 66%; }
.ai-place-8 { background-size: 1200% 2600%; background-position: 15% 71%; }
.chip-row { display: flex; gap: 8px; overflow: hidden; padding: 2px 14px 11px; }
.chip-row button { flex: none; padding: 8px 12px; border-radius: 8px; background: #f1f1f1; color: #777; font-size: 13px; }
.chip-row .active { color: #222; font-weight: 600; }
.result-grid { padding-bottom: 25px; }

.ai-page { background: #f4f4f4; padding-bottom: 90px; }
.ai-header { height: 55px; display: flex; align-items: center; gap: 8px; padding: 0 20px; background: rgba(244,244,244,.96); position: sticky; top: 0; z-index: 5; }
.ai-header .more { margin-left: auto; }
.ai-header strong { font-size: 17px; }
.chat-question { width: max-content; max-width: 78%; margin: 24px 16px 24px auto; padding: 14px 18px; border-radius: 24px 24px 6px 24px; background: #dedede; font-size: 16px; text-decoration: underline dashed #aaa; text-underline-offset: 5px; }
.ai-answer { margin: 0 15px; padding: 17px 15px 20px; background: #fff; border-radius: 22px; }
.source-note { color: #999; font-size: 13px; margin-bottom: 19px; display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.source-note svg { width: 17px; height: 17px; flex: none; }
.source-note span { letter-spacing: -6px; padding-right: 7px; }
.ai-answer h2 { margin: 0 0 13px; font-size: 17px; line-height: 1.65; font-weight: 500; }
.ranking { list-style: none; margin: 0; padding: 3px 12px; border-radius: 18px; background: #fafafa; }
.ranking li { display: grid; grid-template-columns: 25px 46px 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; }
.ranking li em { color: #aaa; font-style: italic; font-size: 17px; }
.ranking li .shot { width: 46px; height: 46px; border-radius: 8px; }
.ranking li div { min-width: 0; }
.ranking li strong { font-size: 14px; }
.ranking li p { margin: 3px 0 0; font-size: 12px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ranking li > span { color: #999; font-size: 12px; }
.down-fab { position: fixed; z-index: 6; right: max(calc((100vw - 430px)/2 + 18px),18px); bottom: 87px; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.08); font-size: 24px; }
.ai-disclaimer { position: fixed; bottom: 3px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 10px; }
.ai-home-header { justify-content: center; }
.ai-home-header > button:first-child { position: absolute; left: 20px; }
.ai-home-header .more { position: absolute; right: 20px; }
.ai-welcome { padding: 30px 16px 100px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ai-welcome > div { background: #fff; border-radius: 18px; padding: 15px 16px; font-size: 15px; line-height: 1.65; }
.ai-welcome small { align-self: center; margin: 22px 0 8px; color: #aaa; font-size: 13px; }
.ai-welcome button { border-radius: 24px; padding: 12px 16px; background: #eaeaea; font-size: 14px; text-align: left; }

.pull-indicator { height: 0; overflow: hidden; text-align: center; color: #888; background: #f8f8f8; font-size: 13px; transition: height .18s, padding .18s; }
.pull-indicator.visible { height: 36px; padding-top: 9px; }
.feed-card[role="button"], .note-gallery[role="button"] { cursor: pointer; }
.note-page { background: #fff; padding-bottom: 100px; }
.note-detail-header { position: sticky; top: 0; z-index: 5; background: #fff; }
.note-gallery { position: relative; width: 100%; background: #f7f7f7; }
.note-gallery .shot { max-height: 560px; }
.slide-count { position: absolute; top: 14px; right: 15px; border-radius: 15px; padding: 4px 9px; color: #fff; background: rgba(0,0,0,.4); font-size: 12px; }
.slide-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.slide-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.7); }
.slide-dots i.active { width: 12px; border-radius: 4px; background: var(--red); }
.note-body { padding: 18px 17px 21px; border-bottom: 1px solid #f0f0f0; }
.note-body h1 { margin: 0 0 12px; font-size: 19px; line-height: 1.45; }
.note-body p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; }
.note-body .note-tags { color: #476384; }
.note-body small { color: #aaa; font-size: 12px; }
.note-comments-head { display: flex; justify-content: space-between; padding: 17px; font-size: 15px; cursor: pointer; }
.note-comments-head span, .note-comment-preview span { color: #999; font-size: 13px; }
.note-comment-preview { display: flex; gap: 8px; padding: 0 17px 30px; cursor: pointer; }
.note-comment-preview .avatar { width: 35px; height: 35px; }
.note-comment-preview p { margin: 5px 0; font-size: 14px; }
.note-gallery.text-cover .shot { max-height: none; }
.note-body { padding: 13px 17px 24px; }
.note-body h1 { font-size: 17px; margin-bottom: 12px; }
.note-body .numbered-body p { margin: 0 0 3px; font-size: 15px; line-height: 1.7; }
.inline-comments { padding-top: 15px; scroll-margin-top: 110px; }
.inline-comments .comments-title { padding-top: 4px; }
.compose-overlay:not([hidden]) { position: fixed; z-index: 20; inset: 0; display: flex; justify-content: center; align-items: flex-end; }
.compose-shade { position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.compose-sheet { position: relative; width: min(100%,430px); min-height: 215px; background: #fff; border-radius: 18px 18px 0 0; padding: 14px 12px 24px; }
.compose-sheet textarea { display: block; width: 100%; height: 82px; resize: none; border: 0; outline: none; border-radius: 13px; background: #f5f5f5; padding: 13px; font: inherit; font-size: 15px; }
.compose-tools { display: flex; justify-content: space-between; align-items: center; padding: 12px 3px; color: #777; font-size: 20px; }
.compose-tools button { border-radius: 16px; padding: 5px 17px; color: #fff; background: var(--red); font-size: 14px; }
.compose-mention { color: #35516a; font-size: 14px; padding: 3px 10px; }
.compose-mention small { border-radius: 4px; background: #e9edf1; font-size: 10px; }

.comments-page { padding-bottom: 78px; }
.note-author { height: 57px; display: flex; align-items: center; padding: 0 19px; gap: 10px; }
.comments-page .note-author { position: sticky; top: 0; z-index: 5; background: #fff; }
.note-author .avatar { width: 38px; height: 38px; }
.note-author strong { font-size: 16px; }
.note-author strong { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-author .follow { margin-left: auto; width: 68px; height: 32px; border: 1px solid var(--red); color: var(--red); border-radius: 17px; }
.note-author .follow.following { border-color: #ddd; color: #888; background: #f7f7f7; }
.comments-title { height: 45px; display: flex; align-items: center; gap: 7px; padding: 0 18px; }
.comments-title strong { font-size: 16px; }
.comment-input { display: flex; align-items: center; gap: 8px; padding: 7px 18px 14px; }
.comment-input .avatar { width: 40px; height: 40px; }
.comment-placeholder { flex: 1; min-width: 0; color: #bbb; background: #f5f5f5; border-radius: 22px; padding: 8px 12px 8px 16px; font-size: 14px; display: flex; align-items: center; gap: 11px; }
.comment-placeholder span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comment-placeholder button { width: 22px; height: 22px; color: #999; flex: none; }
.comments-title svg { width: 17px; height: 17px; }
.comment-list { padding: 0 17px; }
.comment-row { position: relative; display: grid; grid-template-columns: 43px 1fr 37px; gap: 8px; padding: 11px 0 14px; }
.comment-row.reply { margin-left: 52px; grid-template-columns: 33px 1fr 37px; }
.comment-row > .avatar { width: 40px; height: 40px; }
.comment-row.reply > .avatar { width: 31px; height: 31px; }
.comment-name { color: #aaa; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.comment-name i { color: var(--red); background: #fff0f2; padding: 3px 7px; border-radius: 12px; font-style: normal; font-size: 11px; }
.comment-content p { margin: 7px 0 5px; font-size: 16px; line-height: 1.45; }
.comment-meta { color: #999; font-size: 12px; }
.comment-meta button { margin-left: 10px; color: #555; }
.pinned { display: block; width: max-content; margin-top: 8px; padding: 3px 7px; color: var(--red); background: #fff0f2; border-radius: 10px; font-size: 11px; font-weight: 500; }
.expand { margin-top: 14px; color: #777; font-size: 13px; }
.comment-like { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding-top: 40px; color: #666; }
.comment-like svg { width: 23px; height: 23px; }
.comment-like .like-line { display: flex; align-items: center; gap: 3px; font-size: 12px; }
.comment-like .like-line.is-on { color: var(--red); }
.comment-like .like-line.is-on svg { fill: var(--red); }
.comment-like small { margin-top: 9px; width: 23px; height: 23px; }
.note-actions { position: fixed; z-index: 8; bottom: 0; width: min(100%, 430px); height: 70px; display: grid; grid-template-columns: 1.65fr repeat(3,1fr); gap: 7px; align-items: center; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #eee; }
.note-page .note-actions { grid-template-columns: 49px 1.35fr repeat(3,1fr); gap: 5px; padding-left: 12px; padding-right: 12px; }
.note-page > .note-actions:not(:has(.note-floating-agent)) { display: none; }
.note-actions button { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 14px; white-space: nowrap; }
.note-actions svg { width: 26px; height: 26px; }
.note-actions .say { justify-content: flex-start; height: 38px; padding-left: 12px; border-radius: 20px; background: #f5f5f5; color: #777; }

@media (max-width: 360px) {
  .result-tabs { gap: 14px; }
  .summary-card li span { display: none; }
  .ranking li { grid-template-columns: 19px 42px 1fr; }
  .ranking li > span { display: none; }
}


/* Shared 点点 super search entry */
.home-page .masonry { padding-bottom: 158px; }
.results-page { padding-bottom: 94px; }
.results-page .result-grid { padding-bottom: 85px; }
.rumor-result-empty { margin: 15px 14px 0; padding: 25px 18px; border: 1px solid #edf0ef; border-radius: 15px; color: #777; background: #fff; text-align: center; font-size: 13px; line-height: 1.6; }
.ai-page { padding-bottom: 182px; }
.note-page { padding-bottom: 165px; }
.comments-page { padding-bottom: 178px; }
.super-composer { position: fixed; z-index: 9; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom)); width: min(calc(100% - 24px),406px); min-height: 54px; display: flex; align-items: center; gap: 8px; }
.super-composer--home { bottom: calc(80px + env(safe-area-inset-bottom)); }
.super-composer--note { bottom: calc(79px + env(safe-area-inset-bottom)); }
.super-composer--comments { bottom: calc(79px + env(safe-area-inset-bottom)); }
.super-composer--video { color: #fff; bottom: calc(18px + env(safe-area-inset-bottom)); }
.super-composer--inline { position: relative; z-index: 1; bottom: auto; left: auto; transform: none; width: calc(100% - 36px); margin: 4px 18px 6px; }
.super-composer--embedded { position: relative; z-index: 1; bottom: auto; left: auto; transform: none; width: 100%; margin: 12px 0; }
.super-logo-button { position: relative; flex: none; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(226,226,226,.9); border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 4px 15px rgba(0,0,0,.14); }
.super-composer-field { flex: 1; min-width: 0; height: 54px; padding: 0 12px 0 16px; border: 1px solid rgba(225,225,225,.82); border-radius: 28px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.94); box-shadow: 0 4px 17px rgba(0,0,0,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.super-composer--video .super-composer-field { border-color: rgba(255,255,255,.35); background: rgba(28,28,28,.82); }
.super-composer--results, .super-composer--answer { gap: 8px; }
.super-composer--results .super-logo-button, .super-composer--answer .super-logo-button { width: 54px; height: 54px; border-radius: 50%; }
.super-composer--results .super-composer-field, .super-composer--answer .super-composer-field { height: 54px; }
.super-composer-close, .super-composer-reopen { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #e5e5e5; border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 4px 15px rgba(0,0,0,.12); color: #333; font-size: 25px; line-height: 1; }
.super-composer-close { position: absolute; width: 25px; height: 25px; right: 3px; bottom: calc(100% + 5px); font-size: 17px; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.super-composer-reopen { position: fixed; z-index: 9; left: 17px; bottom: calc(12px + env(safe-area-inset-bottom)); }
.role-nudge { position: fixed; z-index: 10; left: 50%; transform: translateX(-50%); bottom: calc(141px + env(safe-area-inset-bottom)); width: min(calc(100% - 34px), 385px); min-height: 47px; display: flex; align-items: center; padding: 4px 7px 4px 8px; border: 1px solid #e7eeec; border-radius: 22px; background: rgba(255,255,255,.98); box-shadow: 0 6px 23px rgba(26,47,42,.14); }
.role-nudge--results, .role-nudge--answer, .role-nudge--video { bottom: calc(73px + env(safe-area-inset-bottom)); }
.role-nudge--results, .role-nudge--answer, .role-nudge--video { left: auto; right: 18px; transform: none; width: auto; max-width: min(230px,calc(100% - 28px)); min-height: 34px; padding: 2px 4px 2px 8px; border-radius: 16px 16px 4px 16px; background: #f1faf7; }
.role-nudge--results .role-nudge-main span:not(.diandian-brand):not(.brand-missing), .role-nudge--answer .role-nudge-main span:not(.diandian-brand):not(.brand-missing), .role-nudge--video .role-nudge-main span:not(.diandian-brand):not(.brand-missing) { max-width: 145px; font-size: 11px; color: #3e6056; }
.role-nudge--results .role-nudge-main b, .role-nudge--answer .role-nudge-main b, .role-nudge--video .role-nudge-main b { background: #d9f0e8; }
.role-nudge-main { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; text-align: left; }
.role-nudge-main .diandian-brand { width: 25px; height: 25px; }
.role-nudge-main span:not(.diandian-brand):not(.brand-missing) { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #333; font-size: 12px; }
.role-nudge-main b { flex: none; padding: 5px 7px; border-radius: 12px; color: #278872; background: #e9f7f3; font-size: 11px; font-weight: 600; }
.role-nudge-dismiss { flex: none; width: 24px; height: 30px; color: #aaa; font-size: 18px; }
.super-logo-button.recording::before { content: ''; position: absolute; inset: -4px; border: 2px solid #4fc8a6; border-radius: 50%; animation: agent-pulse 1.8s infinite; }
.super-logo-button.paused::before { content: ''; position: absolute; inset: -3px; border: 2px dashed #999; border-radius: 50%; }
.super-logo-button small { position: absolute; top: -7px; right: -9px; min-width: 16px; height: 16px; border-radius: 9px; padding: 0 3px; color: #fff; background: #36bd98; font-size: 10px; line-height: 16px; }
@keyframes agent-pulse { 50% { box-shadow: 0 0 0 5px rgba(79,200,166,.15); } }
.diandian-brand { position: relative; width: 28px; height: 28px; display: inline-grid; place-items: center; flex: none; vertical-align: middle; overflow: hidden; }
.diandian-brand img { position: absolute; width: 45px; height: 40px; max-width: none; left: -10px; top: -7px; mix-blend-mode: multiply; }
.diandian-brand .brand-missing { width: 28px; height: 28px; border: 1px dashed #6a9f94; border-radius: 6px; display: none; place-items: center; text-align: center; color: #477c70; background: #f1faf7; font-size: 7px; line-height: 1.05; font-weight: 700; }
.diandian-brand[data-asset-status="missing"] .brand-missing { display: grid; }
.diandian-brand[data-asset-status="missing"] img { display: none; }
.super-input-trigger { flex: 1; min-width: 0; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #8c8c8c; font-size: 13px; }
.super-composer--video .super-input-trigger { color: #fff; }
.super-tool { width: 29px; height: 29px; flex: none; color: #222; }
.super-composer--video .super-tool { color: #fff; }
.super-tool svg { stroke-width: 1.8; }
body:has(.compose-overlay:not([hidden])) .super-composer--note,
body:has(.compose-overlay:not([hidden])) .super-composer--comments { display: none; }
body:has(.compose-overlay:not([hidden])) .role-nudge--note,
body:has(.compose-overlay:not([hidden])) .role-nudge--comments { display: none; }

/* Main tabs: lightweight shells, with the message flow as the functional demo. */
.simple-tab-page { padding-bottom: 74px; background: #fafafa; }
.simple-tab-page > header { height: 58px; display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid #f0f0f0; background: #fff; }
.simple-tab-page > header h1 { margin: 0; font-size: 21px; }
.simple-tab-content { min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; color: #929292; text-align: center; }
.simple-tab-content > span { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 24px; color: #ff536a; background: #fff0f3; font-size: 34px; }
.simple-tab-content h2 { margin: 0 0 7px; color: #333; font-size: 18px; }
.simple-tab-content p { margin: 0; font-size: 13px; }

.messages-page { padding-bottom: 78px; background: #fff; }
.tab-page-header { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 2px 20px 0; }
.tab-page-header small { display: block; margin-bottom: 2px; color: #b5b5b5; font-size: 8px; letter-spacing: 1.6px; }
.tab-page-header h1 { margin: 0; font-size: 24px; letter-spacing: -.5px; }
.header-actions { display: flex; gap: 11px; }
.header-actions button { width: 34px; height: 34px; display: grid; place-items: center; padding: 7px; border-radius: 50%; background: #f6f6f6; }
.message-shortcuts { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 10px 16px 17px; padding: 16px 8px 14px; border-radius: 18px; background: #fafafa; }
.message-shortcuts button { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.message-shortcuts button > span { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 8px; padding: 11px; border-radius: 16px; color: #fff; }
.message-shortcuts .shortcut-like { background: linear-gradient(145deg,#ff8c96,#ff4960); }
.message-shortcuts .shortcut-follow { background: linear-gradient(145deg,#ffbf70,#ff8e57); }
.message-shortcuts .shortcut-comment { background: linear-gradient(145deg,#7da7ff,#687ce9); }
.message-shortcuts strong { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; }
.message-shortcuts small { max-width: 100%; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #aaa; font-size: 9px; }
.message-section-head { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.message-section-head h2 { margin: 0; font-size: 17px; }
.message-section-head button { color: #999; font-size: 12px; }
.thread-list { padding: 0 10px 12px; }
.thread-row { width: 100%; display: grid; grid-template-columns: 51px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px; border-radius: 13px; text-align: left; }
.thread-row:active { background: #f7f7f7; }
.thread-avatar { position: relative; width: 49px; height: 49px; display: grid; place-items: center; border-radius: 17px; color: #fff; background: var(--avatar-color); font-size: 17px; font-weight: 650; }
.thread-avatar i { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: #39c78b; }
.thread-copy { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.thread-copy strong { font-size: 14px; font-weight: 600; }
.thread-copy small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #999; font-size: 12px; }
.thread-meta { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 7px; }
.thread-meta time { color: #b5b5b5; font-size: 10px; }
.thread-meta b { min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; border-radius: 10px; color: #fff; background: var(--red); text-align: center; font-size: 10px; }

.chat-page { height: 100svh; min-height: 0; display: flex; flex-direction: column; background: #f5f5f5; overflow: hidden; }
.chat-header { flex: none; height: 58px; display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; padding: 0 15px; border-bottom: 1px solid #eee; background: #fff; }
.chat-header > button { width: 27px; height: 27px; }
.chat-header > div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.chat-header strong { font-size: 15px; }
.chat-header small { color: #999; font-size: 9px; }
.chat-body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; padding: 18px 16px 22px; }
.chat-time { align-self: center; margin: 1px 0 14px; color: #aaa; font-size: 10px; }
.chat-bubble { max-width: 76%; margin-bottom: 11px; padding: 11px 13px; border-radius: 17px; font-size: 13px; line-height: 1.55; box-shadow: 0 2px 8px rgba(0,0,0,.03); }
.chat-bubble.incoming { align-self: flex-start; border-top-left-radius: 5px; background: #fff; }
.chat-bubble.outgoing { align-self: flex-end; border-top-right-radius: 5px; background: #ffedf0; }
.chat-composer { flex: none; display: grid; grid-template-columns: 28px minmax(0,1fr) 28px auto; align-items: center; gap: 8px; padding: 9px 13px calc(11px + env(safe-area-inset-bottom)); border-top: 1px solid #e9e9e9; background: #fff; }
.chat-composer > button:not([type="submit"]) { width: 25px; height: 25px; }
.chat-composer input { min-width: 0; height: 39px; border: 0; outline: 0; border-radius: 20px; padding: 0 14px; background: #f5f5f5; }
.chat-composer button[type="submit"] { padding: 7px 10px; border-radius: 14px; color: #fff; background: var(--red); font-size: 12px; }

/* Search answer and comment insights */
.dynamic-answer-card { margin: 9px 13px 3px; padding: 15px; border-radius: 13px; background: #fff; box-shadow: 0 3px 15px rgba(0,0,0,.045); }
.dynamic-answer-card[data-nav], .summary-card[data-nav] { cursor: pointer; }
.dynamic-answer-card[data-nav]:focus-visible, .summary-card[data-nav]:focus-visible { outline: 2px solid #456d68; outline-offset: 2px; }
.ai-sentence-ref { display: inline; vertical-align: super; padding: 1px 3px; margin-left: 2px; border: 0; border-radius: 4px; background: #edf5f3; color: #426e66; font-size: 10px; line-height: 1.4; cursor: pointer; white-space: nowrap; }
.ai-sentence-ref:focus-visible, .ai-reference-card:focus-visible { outline: 2px solid #426e66; outline-offset: 2px; }
.ai-reference-list { margin-top: 18px; padding-top: 14px; border-top: 1px solid #eceeee; }
.ai-reference-list > h3 { margin: 0 0 10px; color: #333; font-size: 13px; }
.ai-reference-list > h3 > span { margin-left: 5px; color: #999; font-size: 11px; font-weight: 400; }
.ai-reference-card { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px; margin: 7px 0; border-radius: 9px; background: #f7f8f8; text-align: left; cursor: pointer; }
.ai-reference-card > img, .ai-reference-icon { flex: none; width: 42px; height: 52px; border-radius: 6px; object-fit: cover; }
.ai-reference-icon { display: grid; place-items: center; color: #668c83; background: #e6efeb; font-size: 24px; }
.ai-reference-card > span:not(.ai-reference-icon) { flex: 1; min-width: 0; }
.ai-reference-card small, .ai-reference-card strong, .ai-reference-card q { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-reference-card small { color: #7c8683; font-size: 10px; }
.ai-reference-card strong { margin: 4px 0; color: #333; font-size: 12px; }
.ai-reference-card q { color: #888; font-size: 11px; }
.ai-reference-card > b { color: #a0a9a6; font-weight: 400; }
.ai-citation-dialog { width: min(440px, calc(100vw - 28px)); max-height: 78svh; box-sizing: border-box; margin: auto; padding: 20px; overflow-y: auto; border: 0; border-radius: 18px; color: #333; background: #fff; box-shadow: 0 16px 60px #0003; }
.ai-citation-dialog::backdrop { background: #0006; }
.ai-citation-dialog header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ai-citation-dialog header button { width: 32px; height: 32px; border-radius: 50%; background: #f5f5f5; font-size: 22px; }
.ai-citation-dialog > small { color: #85908c; font-size: 11px; }
.ai-citation-dialog h2 { margin: 9px 0 18px; font-size: 18px; line-height: 1.5; }
.ai-citation-dialog h3 { margin: 12px 0 8px; font-size: 13px; }
.ai-citation-dialog p, .ai-citation-dialog blockquote { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.ai-citation-dialog blockquote { margin: 0; padding-left: 12px; border-left: 3px solid #8ab8a9; }
.ai-citation-match { padding: 8px 12px 14px; margin-bottom: 20px; border-radius: 10px; background: #f1f7f4; }
.dynamic-answer-brand { display: flex; align-items: center; gap: 8px; color: #666; font-size: 12px; }
.dynamic-answer-card h2 { margin: 12px 0 8px; font-size: 18px; }
.dynamic-answer-card p { margin: 0 0 11px; font-size: 14px; line-height: 1.6; }
.dynamic-answer-card > button { color: #456d68; font-size: 13px; }
.answer-loading { color: #999; }
.inspiration-chips { display: flex; align-items: center; gap: 7px; overflow-x: auto; padding: 7px 13px 12px; white-space: nowrap; scrollbar-width: none; }
.inspiration-chips span { flex: none; color: #999; font-size: 12px; }
.inspiration-chips button, .insight-followups button { flex: none; padding: 7px 10px; border-radius: 16px; color: #52746d; background: #eaf6f2; font-size: 12px; }
.comment-filtered { display: none; }
.comment-search-status { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px; padding: 8px 19px; color: #777; font-size: 12px; }
.comment-search-status button { color: #ff2442; }
.comment-insight-card { margin: 8px 18px 10px; padding: 13px; border-radius: 14px; background: #f7faf9; border: 1px solid #e5f1ed; font-size: 13px; line-height: 1.5; }
.comment-insight-card header { display: flex; align-items: center; gap: 7px; }
.comment-insight-card header strong { flex: 1; }
.comment-insight-card header button { color: #777; font-size: 12px; }
.comment-insight-card header button:last-child { font-size: 19px; }
.comment-insight-card .insight-question { font-weight: 600; }
.comment-insight-card small { color: #999; }
.comment-smart-entry { width: calc(100% - 34px); min-height: 46px; margin: 12px 17px 15px; padding: 7px 11px; display: flex; align-items: center; gap: 9px; border: 1px solid #dcefe9; border-radius: 13px; background: repeating-linear-gradient(135deg,#f1faf7 0,#f1faf7 7px,#f7fcfa 7px,#f7fcfa 14px); color: #354e47; text-align: left; }
.comment-smart-entry .diandian-brand { width: 28px; height: 28px; }
.comment-smart-entry span:not(.diandian-brand):not(.brand-missing) { flex: 1; font-size: 13px; font-weight: 600; }
.comment-smart-entry b { flex: none; color: #318c77; font-size: 11px; }
.comment-insight-card { margin-top: -4px; margin-bottom: 17px; padding: 15px; }
.comment-insight-card header { margin-bottom: 10px; }
.comment-insight-card p { margin: 10px 0; }
.insight-demo-label { color: #a2aaa7; font-size: 11px; }
.note-floating-agent { position: fixed; z-index: 11; left: 15px; bottom: calc(74px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 28px); }
.video-floating-agent { bottom: calc(20px + env(safe-area-inset-bottom)); }
.note-agent-orb { flex: none; width: 49px; height: 49px; display: grid; place-items: center; border: 1px solid #dceae6; border-radius: 50%; background: #fff; box-shadow: 0 7px 22px rgba(23,75,62,.18); }
.note-agent-orb .diandian-brand { width: 33px; height: 33px; }
.note-agent-orb .diandian-brand img { width: 51px; height: 46px; left: -9px; top: -7px; }
.note-agent-bubble { min-height: 43px; max-width: 270px; display: flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid #e1eeea; border-radius: 19px; background: rgba(255,255,255,.97); box-shadow: 0 7px 22px rgba(28,59,49,.14); text-align: left; }
.note-agent-bubble[hidden] { display: none; }
.note-agent-bubble span { flex: 1; font-size: 12px; color: #343d3a; }
.note-agent-bubble b { flex: none; padding: 5px 7px; border-radius: 12px; background: #e9f7f3; color: #288d75; font-size: 11px; }
.note-actions .note-floating-agent { position: relative; z-index: 11; left: auto; bottom: auto; width: 49px; max-width: none; margin: 0; }
.note-actions .note-agent-bubble { position: absolute; left: 0; bottom: calc(100% + 12px); width: min(270px,calc(100vw - 30px)); }
/* Note hint results share the bottom 点点 composer sheet. */
.focus-stage--note-summary { height: 58%; min-height: min(360px, 100%); overflow: hidden; border-radius: 23px 23px 0 0; background: #fff; }
.note-summary-header { display: flex; flex: none; align-items: center; gap: 9px; padding: 14px 18px 10px; border-bottom: 1px solid #f1f1f1; }
.note-summary-header strong { flex: 1; font-size: 16px; }
.note-summary-header button { width: 32px; height: 32px; color: #888; font-size: 25px; }
.note-summary-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.focus-stage--note-summary .focus-composer { flex: none; border-top: 1px solid #f1f1f1; border-radius: 0; box-shadow: none; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.focus-stage--note-summary .focus-context-row { display: none; }
.focus-stage--note-summary .focus-form textarea { height: 44px; min-height: 44px; }
.super-overlay--focus:not(.is-keyboard-hidden) .focus-stage--note-summary { height: auto; max-height: 100%; }
.super-overlay--focus:not(.is-keyboard-hidden) .note-summary-scroll { max-height: 22svh; }
.note-summary-result { padding: 18px 20px 24px; }
.note-summary-result h2 { margin: 0 0 12px; font-size: 20px; }
.note-summary-result h3 { margin: 0 0 18px; color: #666; font-size: 14px; font-weight: 500; }
.note-summary-result p { margin: 0 0 16px; font-size: 15px; line-height: 1.85; white-space: pre-line; }
.note-summary-result small { color: #999; font-size: 11px; }
body:has(.compose-overlay:not([hidden])) .note-floating-agent { display: none; }
body.super-modal-open .page > .super-composer, body.super-modal-open .note-floating-agent { visibility: hidden; }
.insight-citations { display: grid; gap: 6px; margin: 12px 0; }
.insight-citations > button { text-align: left; padding: 8px; border-radius: 8px; background: #fff; font-size: 12px; }
.insight-citations span { color: #4c8e7a; }
.insight-followups { display: flex; gap: 5px; overflow-x: auto; }
.comment-highlight { background: #fff5d7; border-radius: 9px; transition: background .5s; }
.note-actions button.is-on svg { color: #ff2442; fill: #ff2442; }
.inline-comments .comments-title button { margin-left: auto; font-size: 12px; color: #999; }

/* Focused composer and unified 点点 panel */
.super-overlay { position: fixed; z-index: 50; inset: 0; display: flex; justify-content: center; align-items: flex-end; }
.super-shade { position: absolute; inset: 0; background: rgba(0,0,0,.32); }
.diandian-panel { position: relative; z-index: 1; width: min(100%,430px); max-height: min(84svh,760px); overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -7px 27px rgba(0,0,0,.07); }
.panel-section-head { display: flex; justify-content: space-between; align-items: center; }
.focus-stage { position: relative; z-index: 1; width: min(100%,430px); max-height: 100%; display: flex; flex-direction: column; }
.focus-suggestions { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin: 0 14px 11px; }
.focus-suggestions button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: max-content; max-width: 100%; min-height: 34px; padding: 7px 12px; border-radius: 19px; background: rgba(255,255,255,.97); box-shadow: 0 2px 10px rgba(0,0,0,.09); text-align: left; font-size: 12px; line-height: 1.25; }
.focus-suggestions button span { color: #aaa; flex: none; }
.focus-inspiration { display: flex; flex-direction: column; margin: 0 9px 9px; padding: 12px; border-radius: 20px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); min-height: 0; }
.focus-inspiration header { display: flex; flex-shrink: 0; align-items: center; gap: 8px; margin-bottom: 8px; }
.focus-inspiration header .diandian-brand { width: 25px; height: 25px; }
.focus-inspiration header strong { font-size: 14px; }
.focus-inspiration header > button { margin-left: auto; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #f5f5f5; color: #555; font-size: 23px; }
.focus-inspiration-scroll { min-height: 0; max-height: 29svh; overflow-y: auto; overscroll-behavior: contain; }
.focus-reason { margin: 0 0 12px; color: #666; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.focus-inspiration .focus-suggestions { margin: 0; }
.focus-inspiration .focus-suggestions button { border: 1px solid #eaeaea; box-shadow: none; }
.focus-composer { flex-shrink: 0; }
.focus-composer { position: relative; padding: 10px 9px 12px; border-radius: 23px 23px 0 0; background: #fff; box-shadow: 0 -8px 28px rgba(0,0,0,.08); }
.focus-context-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 40px; padding: 0 7px 8px; }
.focus-context-row .focus-context { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 79%; height: 29px; padding: 0 9px; border: 1px solid #ededed; border-radius: 16px; color: #888; background: #fafafa; font-size: 12px; }
.focus-context-row .focus-context span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.focus-context-row .focus-context b { color: #aaa; font-size: 17px; font-weight: 400; }
.focus-scope { flex: none; color: #555; font-size: 12px; }
.focus-dismiss { position: absolute; top: 6px; right: 13px; width: 24px; height: 24px; color: #aaa; font-size: 22px; line-height: 24px; }
.focus-form { display: block; }
.focus-form { padding: 8px 10px 9px; border: 1px solid #ededed; border-radius: 15px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.focus-form textarea { width: 100%; min-height: 65px; padding: 3px 0 0; resize: none; border: none; outline: none; color: #333; font: inherit; font-size: 15px; line-height: 1.45; }
.focus-form textarea::placeholder { color: #aaa; }
.focus-actions { display: flex; align-items: center; gap: 10px; }
.focus-actions .focus-context { display: flex; align-items: center; gap: 6px; width: auto; max-width: 165px; padding: 5px 8px; border-radius: 15px; color: #4b847a; background: #eaf7f3; font-size: 12px; white-space: nowrap; }
.focus-context .diandian-brand { width: 18px; height: 18px; transform: scale(.65); transform-origin: center; margin: -5px; }
.focus-actions .focus-tool { width: 27px; height: 27px; flex: none; color: #555; }
.focus-actions .focus-tool:first-of-type { margin-left: auto; }
.send-button { flex: none; background: #ff2442; color: #fff; padding: 7px 12px; border-radius: 17px; font-size: 12px; }
.send-button:disabled { background: #f5b6c0; }
.composer-notice, .composer-error { color: #777; font-size: 12px; }
.composer-error { padding: 7px; background: #fff2f2; }
.composer-error button { color: #ff2442; }
.mock-keyboard { padding: 5px 4px 12px; background: #d7dbe3; user-select: none; }
.mock-keyboard-toolbar { height: 32px; display: flex; align-items: center; justify-content: space-around; color: #58606c; font-size: 16px; }
.mock-keyboard-toolbar button { width: 28px; height: 28px; font-size: 21px; }
.mock-keyboard-row { display: flex; justify-content: center; gap: 4px; margin: 0 0 8px; }
.mock-keyboard-row button { flex: 1; min-width: 0; height: 40px; border-radius: 5px; background: #fff; box-shadow: 0 1px 0 #9ba2ad; font-size: 17px; }
.mock-keyboard-row:nth-last-child(2) button:not(.mock-keyboard-special) { flex: 1; }
.mock-keyboard-row .mock-keyboard-special { flex: 1.2; background: #acb4c2; font-size: 14px; }
.mock-keyboard-row .mock-keyboard-special.is-on { color: #fff; background: #6f7b8d; }
.mock-keyboard-bottom { margin-bottom: 0; }
.mock-keyboard-bottom .mock-keyboard-space { flex: 4; font-size: 13px; }
.mock-keyboard-row .mock-keyboard-send { flex: 1.5; color: #fff; background: #477dd7; font-size: 13px; }
.is-keyboard-hidden .focus-composer { border-radius: 23px 23px 0 0; }
@media (max-width: 699px) { .focus-stage { margin-bottom: var(--super-keyboard-inset,0px); } .mock-keyboard { display: none; } }
.diandian-panel { padding: 0 17px calc(19px + env(safe-area-inset-bottom)); bottom: var(--super-keyboard-inset,0px); }
.diandian-panel--inspiration { min-height: 308px; max-height: 67%; padding: 17px 17px 13px; display: flex; flex-direction: column; }
.diandian-panel--inspiration > header { margin-bottom: 14px; }
.diandian-panel--inspiration > header strong { min-height: 1px; }
.panel-intro { overflow-y: auto; flex: 1; }
.panel-intro > p { margin: 0 0 15px; color: #444; font-size: 13px; line-height: 1.6; }
.panel-content-tasks h2 { margin: 2px 0 15px; font-size: 20px; line-height: 1.35; }
.panel-content-tasks > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.panel-content-tasks > div > button { min-width: 0; min-height: 79px; padding: 11px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px solid #edf1ef; border-radius: 14px; background: #f8faf9; color: #343b39; }
.panel-content-tasks > div > button b { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #2c8b74; background: #e7f5f1; font-size: 17px; font-weight: 500; }
.panel-content-tasks > div > button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; font-size: 12px; }
.panel-add-to-search { width: 100%; margin: 12px 0 3px; padding: 10px 12px; border: 1px solid #d9ece6; border-radius: 13px; color: #327c69; background: #f1faf7; font-size: 12px; text-align: left; }
.panel-add-to-search.is-added { color: #8b9995; background: #f6f7f7; border-color: #eceeee; }
.panel-content-tasks + .panel-prompts { margin-top: 14px; padding-top: 13px; border-top: 1px solid #eee; }
.panel-content-tasks + .panel-prompts::before { content: '也可以直接问'; display: block; margin-bottom: 7px; color: #999; font-size: 11px; }
.panel-prompts { display: grid; gap: 8px; justify-items: start; }
.panel-prompts button { max-width: 100%; padding: 8px 12px; border: 1px solid #ececec; border-radius: 18px; background: #fff; text-align: left; font-size: 13px; line-height: 1.3; }
.panel-note-summary { margin: 0 0 12px; padding: 9px 12px; border-radius: 16px; background: #e9f7f3; color: #267a67; font-size: 13px; }
.panel-featured { margin: 18px 0 8px; padding-top: 15px; border-top: 1px solid #eee; }
.panel-featured--initial { margin-top: 0; padding-top: 0; border-top: 0; }
.panel-featured > strong { display: block; margin-bottom: 9px; font-size: 13px; }
.panel-featured-list { display: grid; gap: 7px; }
.panel-featured-list button { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #e4f0eb; border-radius: 11px; background: #f7fbf9; text-align: left; font-size: 12px; }
.panel-featured-list button small { flex: none; color: #397b69; }
.panel-featured-list button span { min-width: 0; flex: 1; }
.panel-featured-list button b { color: #397b69; }
.panel-featured > small { display: block; margin-top: 8px; color: #999; font-size: 10px; }
.panel-agent-entry { margin: 11px auto; color: #777; font-size: 12px; }
.panel-compose-entry { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid #eee; border-radius: 20px; box-shadow: 0 2px 9px rgba(0,0,0,.05); }
.panel-compose-entry button:first-child { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; color: #aaa; font-size: 12px; }
.panel-compose-entry button:last-child { width: 23px; height: 23px; }
.panel-grip { width: 38px; height: 4px; margin: 9px auto 13px; border-radius: 3px; background: #ddd; }
.diandian-panel > header { display: flex; align-items: center; gap: 9px; }
.diandian-panel > header strong { flex: 1; font-size: 18px; }
.diandian-panel > header button { font-size: 24px; color: #888; }
.inspiration-module, .agent-intro, .agent-progress { margin-top: 18px; padding: 14px; border-radius: 15px; background: #f8f8f8; }
.inspiration-module { background: #f6faf9; }
.inspiration-module p, .agent-intro p, .agent-progress p { color: #777; font-size: 13px; line-height: 1.55; }
.panel-section-head strong { font-size: 16px; }
.panel-section-head button { color: #4d8a78; font-size: 12px; }
.inspiration-retry { margin-bottom: 8px; color: #3d806c; font-size: 12px; }
.inspiration-list { display: grid; gap: 6px; }
.inspiration-list button { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 11px 12px; border-radius: 10px; background: #fff; text-align: left; font-size: 14px; }
.inspiration-list b { color: #94aea6; }
.agent-intro h3, .agent-progress h3 { margin: 0 0 8px; font-size: 15px; }
.agent-intro > button, .agent-finish { width: 100%; padding: 10px; border-radius: 18px; background: #252525; color: #fff; font-size: 13px; }
.agent-progress .agent-abandon { display: block; margin: 10px auto 0; color: #999; font-size: 12px; }
.agent-progress > button:not(.agent-finish) { margin-right: 10px; color: #389174; font-size: 13px; }
.agent-recent { display: grid; gap: 5px; margin-bottom: 10px; }
.agent-recent > div { display: flex; justify-content: space-between; padding: 7px; border-radius: 7px; background: #fff; font-size: 12px; }
.agent-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 11px; }
.agent-actions button { padding: 6px 9px; border-radius: 14px; background: #e9f4f0; color: #3d806c; font-size: 12px; }
.browse-summary, .agent-all { padding: 16px 0; }
.browse-summary > button:first-child, .agent-all > button:first-child { color: #777; }
.browse-summary h2, .agent-all h2 { font-size: 19px; }
.browse-summary section { border-top: 1px solid #eee; padding: 10px 0; }
.browse-summary section h3 { margin: 2px 0 8px; font-size: 14px; }
.browse-summary section p { color: #777; font-size: 13px; line-height: 1.5; }
.browse-summary section button, .agent-all > div button { display: block; margin: 4px 0; text-align: left; color: #3a806b; font-size: 13px; }
.browse-summary .summary-discard { margin-top: 15px; color: #999; font-size: 12px; }
.agent-all > div { display: flex; justify-content: space-between; padding: 8px; border-bottom: 1px solid #eee; }

/* Search records and saved search sessions */
.search-history-trigger { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border: 1px solid #ececec; border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 3px 12px rgba(0,0,0,.05); color: #222; }
.search-history-trigger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.home-channel-header .search-history-trigger--home { position: absolute; left: 13px; top: 8px; }
.results-head .search-history-trigger--results { width: 34px; height: 34px; margin-left: auto; }
.results-head .search-history-trigger--results svg { width: 19px; height: 19px; }
.search-history-overlay { position: fixed; z-index: 70; inset: 0; overflow: hidden; }
.search-history-shade { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(0,0,0,.34); }
.search-history-drawer { position: absolute; z-index: 1; inset: 0 auto 0 0; width: min(86%,370px); overflow-y: auto; overscroll-behavior: contain; padding: max(20px,env(safe-area-inset-top)) 17px calc(24px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 12px 0 30px rgba(0,0,0,.13); animation: search-drawer-in .22s ease-out; }
@keyframes search-drawer-in { from { transform: translateX(-100%); } }
.search-history-drawer > header { position: sticky; z-index: 2; top: -20px; min-height: 54px; display: flex; align-items: center; justify-content: space-between; margin: -4px -2px 12px; padding: 4px 2px 6px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.search-history-drawer > header h1 { margin: 0; font-size: 21px; letter-spacing: -.4px; }
.search-history-drawer > header button { width: 32px; height: 32px; color: #999; font-size: 26px; }
.current-search-card { margin-bottom: 20px; padding: 15px; border: 1px solid #dcece7; border-radius: 17px; background: linear-gradient(145deg,#f1faf7,#fbfdfc); box-shadow: 0 4px 15px rgba(49,121,102,.06); }
.current-search-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.current-search-title span { color: #337866; font-size: 12px; font-weight: 700; }
.current-search-title em, .search-record-row em { padding: 3px 7px; border-radius: 10px; color: #277b66; background: #def3ec; font-size: 10px; font-style: normal; white-space: nowrap; }
.current-search-card h2 { margin: 12px 0 5px; font-size: 17px; line-height: 1.35; }
.current-search-card p { margin: 0 0 13px; color: #7b8581; font-size: 12px; line-height: 1.5; }
.current-search-card > div:last-child { display: grid; grid-template-columns: 1fr 1.35fr; gap: 7px; }
.current-search-card button { min-height: 37px; padding: 7px 10px; border: 1px solid #dce8e4; border-radius: 18px; color: #456c62; background: #fff; font-size: 12px; }
.current-search-card button.primary, .search-disposition button.primary { color: #fff; border-color: #222; background: #222; }
.current-search-card--empty > button { width: 100%; }
.current-search-card--empty > div:last-child { display: flex; }
.search-record-section { margin: 0 0 21px; }
.search-record-section > h3, .search-record-section--recent > div h3 { margin: 0 0 8px; color: #999; font-size: 12px; font-weight: 500; }
.search-record-section--recent > div { display: flex; align-items: center; justify-content: space-between; }
.search-record-section--recent > div > button { margin-bottom: 8px; color: #aaa; font-size: 11px; }
.search-record-row { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #f1f1f1; text-align: left; }
.search-record-row > span { min-width: 0; flex: 1; display: grid; gap: 5px; }
.search-record-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.search-record-row small { color: #aaa; font-size: 10px; }
.search-record-row > b, .search-recent-row > b { color: #bbb; font-size: 18px; font-weight: 400; }
.search-recent-row { width: 100%; min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #f4f4f4; text-align: left; font-size: 14px; }
.search-recent-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-record-empty { padding: 17px 0; color: #aaa; font-size: 13px; line-height: 1.5; }
.search-disposition { position: absolute; z-index: 4; inset: 0; display: flex; align-items: flex-end; }
.search-disposition-shade { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(0,0,0,.4); }
.search-disposition > section { position: relative; z-index: 1; width: 100%; padding: 10px 17px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -9px 30px rgba(0,0,0,.1); }
.search-disposition i { display: block; width: 38px; height: 4px; margin: 0 auto 15px; border-radius: 4px; background: #ddd; }
.search-disposition h2 { margin: 0 0 8px; font-size: 18px; }
.search-disposition p { margin: 0 0 14px; color: #888; font-size: 12px; line-height: 1.5; }
.search-disposition button:not(.search-disposition-shade) { width: 100%; min-height: 44px; margin-top: 8px; padding: 9px 12px; border: 1px solid #e6e6e6; border-radius: 22px; background: #fff; font-size: 13px; }
.search-disposition button.danger { color: #c55b65; }
.search-disposition button.cancel { color: #aaa; border-color: transparent; }
.search-artifact-view { padding: 3px 2px 22px; }
.search-record-back { margin-bottom: 17px; color: #777; font-size: 12px; }
.search-artifact-saved { width: max-content; margin-bottom: 9px; padding: 5px 9px; border-radius: 12px; color: #287962; background: #e7f6f1; font-size: 11px; }
.search-artifact-view > h2 { margin: 8px 0; font-size: 22px; line-height: 1.35; }
.search-artifact-lead { margin: 0 0 5px; color: #405b54; font-size: 14px; line-height: 1.55; }
.search-artifact-view > small { color: #aaa; font-size: 11px; }
.search-artifact-view section { margin-top: 19px; padding-top: 14px; border-top: 1px solid #eee; }
.search-artifact-view section h3 { margin: 0 0 9px; font-size: 14px; }
.search-artifact-view section > button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; color: #347765; border-bottom: 1px solid #f1f1f1; text-align: left; font-size: 13px; }
.search-artifact-view section > button b { color: #9ab3ac; }
.search-artifact-view section > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid #f1f1f1; font-size: 13px; }
.search-artifact-view section > div span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-artifact-view section > div em { flex: none; padding: 3px 6px; border-radius: 9px; color: #337866; background: #e7f6f1; font-size: 10px; font-style: normal; }
.search-artifact-view section p { color: #999; font-size: 12px; line-height: 1.5; }
body.search-history-open { overflow: hidden; }

/* Immersive in-feed video detail */
.video-page { position: relative; height: 100svh; min-height: 100svh; overflow: hidden; padding: 0; background: #050505; color: #fff; }
.video-header { position: absolute; z-index: 8; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 54px; display: grid; grid-template-columns: 32px minmax(0,1fr) 32px; gap: 9px; align-items: center; padding: 0 13px; color: #fff; }
.video-header-query { display: flex; align-items: center; gap: 9px; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #ffffff25; border-radius: 19px; color: #ffffffb3; background: #ffffff18; backdrop-filter: blur(12px); text-align: left; }
.video-header-query span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.video-header-query b { flex: none; color: #fff; font-size: 13px; font-weight: 500; }
.video-header .video-header-query svg { flex: none; width: 19px; height: 19px; }
.video-header .icon-btn { width: 36px; height: 36px; }
.video-header svg { width: 27px; height: 27px; stroke-width: 1.8; }
.video-feed-switch { font-size: 30px; line-height: 1; transform: rotate(90deg); }
.video-stage { position: absolute; z-index: 2; inset: 0 0 76px; overflow: hidden; background: #111; }
.video-stage::after { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg,#0005 0%,transparent 27%,transparent 54%,#0009 88%,#000b 100%); }
.video-stage .shot, .video-stage > .result-video-stage-image { height: 100%; width: 100%; object-fit: cover; overflow: hidden; }
.video-stage .shot img { min-height: 100%; }
.video-stage > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-stage .circle-entry-button { z-index: 4; top: 120px; bottom: auto; right: 14px; }
.video-play { position: absolute; z-index: 3; top: 48%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 53px; height: 53px; border-radius: 50%; color: #fff; background: rgba(0,0,0,.55); font-size: 24px; }
.video-stage[data-circle-video-playing="true"] .video-play { opacity: 0; pointer-events: none; }
.video-progress { position: absolute; z-index: 4; bottom: 44px; left: 0; right: 0; display: flex; align-items: center; height: 8px; }
.video-progress span { display: none; }
.video-progress input { appearance: none; width: 100%; height: 2px; margin: 0; border: 0; background: #ffffff70; accent-color: #fff; cursor: pointer; }
.video-progress input::-webkit-slider-thumb { appearance: none; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.video-info { position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 138px; padding: 0; text-shadow: 0 1px 4px #0008; transition: bottom .2s ease; }
.video-page:has(.video-actions .note-agent-bubble:not([hidden])) .video-info { bottom: 186px; }
.video-info .circle-video-author { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.video-author-avatar, .circle-video-author img { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #777; border-radius: 50%; object-fit: cover; background: #d9c5a5; color: #594b3c; font-size: 12px; }
.circle-video-author strong { font-size: 14px; }
.circle-video-author button { padding: 5px 12px; border-radius: 16px; color: #fff; background: #ff2442; font-size: 12px; }
.circle-video-author button.is-active { background: #4b4b4b; }
.video-info p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0; color: #f1f1f1; font-size: 13px; line-height: 1.45; }
.video-related-search { position: absolute; z-index: 5; left: 0; right: 0; bottom: 76px; height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 17px; color: #eee; background: #1a3635ba; backdrop-filter: blur(12px); border-top: 1px solid #ffffff1a; border-bottom: 1px solid #ffffff12; text-align: left; }
.video-related-search svg { width: 21px; height: 21px; }
.video-related-search span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.video-related-search b { color: #aaa; font-size: 25px; font-weight: 300; }
.video-actions { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: 76px; display: grid; grid-template-columns: 42px 1.35fr repeat(3,1fr); gap: 5px; align-items: center; padding: 7px 12px calc(9px + env(safe-area-inset-bottom)); background: #080808; }
.video-actions > button { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 4px; color: #fff; font-size: 13px; white-space: nowrap; }
.video-actions > button svg { width: 29px; height: 29px; }
.video-actions .say { justify-content: flex-start; height: 40px; padding: 0 10px; border-radius: 22px; color: #999; background: #242424; overflow: hidden; text-overflow: ellipsis; }
.video-actions .video-floating-agent { position: relative; left: auto; bottom: auto; width: 42px; max-width: none; margin: 0; }
.video-actions .note-agent-orb { width: 42px; height: 42px; border: 0; background: transparent; box-shadow: none; }
.video-actions .diandian-video-logo { width: 28px; height: 28px; fill: none; stroke: #e7e7e7; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.video-actions .note-agent-bubble { position: absolute; left: 0; bottom: calc(100% + 12px); width: min(calc(100vw - 24px),378px); max-width: none; border-color: #444; background: rgba(30,30,30,.99); box-shadow: 0 8px 24px rgba(0,0,0,.38); }
.video-actions .note-agent-bubble span { color: #eee; }
.video-actions .note-agent-bubble b { color: #cfd8d5; background: #393d3c; }
.video-actions button.is-active { color: #ff4260; }
.answer-detail-list { color: #555; font-size: 14px; line-height: 1.6; }
.assistant-role-tabs { display: flex; align-items: center; gap: 7px; padding: 5px 0 9px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.assistant-role-tabs::-webkit-scrollbar { display: none; }
.assistant-role-tabs button { flex: none; display: flex; align-items: center; gap: 5px; height: 34px; padding: 0 11px; border: 1px solid #ededed; border-radius: 19px; color: #3c3c3c; background: rgba(255,255,255,.97); box-shadow: 0 2px 8px rgba(0,0,0,.045); font-size: 13px; }
.assistant-role-tabs button.active { color: #111; border-color: #d8e9e5; background: #eff9f6; font-weight: 600; }
.assistant-role-tabs button.recommended { border-color: #b9e5d9; }
.assistant-role-tabs button small { color: #32947e; font-size: 10px; }
.assistant-role-tabs svg { width: 18px; height: 18px; flex: none; stroke-width: 1.9; }
.focus-composer .assistant-role-tabs button { height: 30px; font-size: 12px; }
.assistant-role-answer p { margin: 13px 0; color: #444; font-size: 14px; line-height: 1.7; }
.assistant-role-answer small { color: #999; font-size: 11px; }
.assistant-role-response { margin: 14px 16px 0; padding: 17px; border: 1px solid #e6eeec; border-radius: 17px; background: #fff; box-shadow: 0 3px 14px rgba(0,0,0,.04); }
.assistant-role-response > div { display: flex; align-items: center; gap: 8px; }
.assistant-role-response strong { font-size: 15px; }
.assistant-role-response small { margin-left: auto; color: #aaa; font-size: 11px; }
.assistant-role-response p { margin: 13px 0; color: #444; font-size: 14px; line-height: 1.6; }
.assistant-role-response > button { color: #4b9386; font-size: 12px; }
.ai-page .down-fab { bottom: 139px; }

@media (max-width: 360px) {
  .super-composer { gap: 4px; }
  .super-input-trigger { font-size: 12px; }
  .super-tool { width: 25px; height: 25px; }
  .super-logo-button { width: 48px; height: 48px; }
  .super-composer-field { height: 48px; padding-left: 12px; }
}

.travel-note-cover { aspect-ratio: 3 / 4; overflow: hidden; }
.travel-note-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Display only the selected photo rectangle from each supplied screenshot. */
.content-photo { position: relative; overflow: hidden; background: #f4f4f4; }
.content-photo-window { position: absolute; inset: 0; overflow: hidden; }
.content-photo-window > img { position: absolute; top: 0; left: 0; display: block; height: auto; max-width: none; }
.feed-stream { background: #f8f8f8; }
.feed-stream > .masonry { padding-bottom: 8px; }
.home-page .feed-stream { padding-bottom: 150px; }
.feed-continuation { display: grid; place-items: center; height: 30px; }
.feed-continuation span { width: 16px; height: 16px; border: 2px solid #eee; border-top-color: #ccc; border-radius: 50%; }
.note-gallery:has(.content-photo) { height: auto; max-height: none; min-height: 0; }
.note-gallery > .content-photo { width: 100%; }

/* Searches started while consuming content stay above the original detail. */
body.content-search-open { overflow: hidden; }
body.content-search-open #app { overflow: hidden; }
.content-search-overlay { position: fixed; inset: 0; z-index: 45; display: flex; align-items: flex-end; justify-content: center; }
.content-search-shade { position: absolute; inset: 0; border: 0; background: rgba(0,0,0,.32); }
.content-search-sheet { position: relative; display: flex; flex-direction: column; width: min(100%,430px); height: 62%; min-height: 300px; overflow: hidden; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -6px 26px #0002; }
.content-search-handle { flex: none; width: 34px; height: 4px; margin: 9px auto 4px; border-radius: 4px; background: #ddd; }
.content-search-header { display: flex; flex: none; align-items: center; gap: 9px; padding: 4px 15px 9px; border-bottom: 1px solid #f1f1f1; }
.content-search-header strong { flex: 1; font-size: 16px; }
.content-search-header .diandian-brand { width: 27px; height: 27px; }
.content-search-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.content-search-body .page { min-height: 0; padding-top: 0; padding-bottom: 18px; }
.content-search-body .status-bar, .content-search-body .results-head, .content-search-body .ai-header, .content-search-body .ai-disclaimer, .content-search-body .result-query-float { display: none; }
.content-search-body .super-composer { position: sticky; left: auto; bottom: 0; transform: none; width: calc(100% - 24px); margin: 12px auto 0; padding: 8px 0; background: #fff; z-index: 5; }
.content-search-body .super-composer-reopen { position: sticky; left: 12px; bottom: 12px; }
.content-search-body .result-tabs { padding-top: 9px; gap: 12px; }
.content-search-body .role-nudge { display: none; }
@media (min-width: 700px) {
  .phone-frame .content-search-overlay { inset: 13px; width: 402px; height: 874px; border-radius: 42px; overflow: hidden; }
}

/* Native camera and press-to-talk controls in the shared composer. */
.super-input-trigger, .voice-hold { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.voice-hold { width: 100%; min-height: 66px; border-radius: 12px; background: #f3f7f6; color: #275c50; font-size: 16px; font-weight: 600; }
.voice-hold:active { background: #d9f3e9; }
.voice-status { min-height: 20px; margin: 8px 0 12px; color: #658178; font-size: 12px; text-align: center; }
.focus-form textarea[hidden] { display: none; }


/* The chosen assistant remains visible in the results, with a matching result structure. */
.result-role-tabs { display:flex; gap:8px; padding:12px 14px 8px; overflow-x:auto; scrollbar-width:none; }
.result-role-tabs::-webkit-scrollbar { display:none; }
.result-role-tabs button { flex:none; padding:8px 12px; border:1px solid #e8e8e8; border-radius:18px; background:white; color:#555; font-size:13px; }
.result-role-tabs button.active { background:#e8f6f0; border-color:#a8d8c8; color:#18614c; font-weight:600; }
.result-role-description { margin:0; padding:0 16px 12px; font-size:12px; line-height:1.6; color:#777; }
.role-result-panel h3 { margin:8px 0 12px; font-size:17px; }
.role-result-panel h4 { margin:14px 0 5px; font-size:14px; }
.role-result-panel p { margin:6px 0; font-size:14px; line-height:1.65; }
.role-result-panel button { color:#246451; text-align:left; background:none; font-size:14px; line-height:1.6; font-weight:600; overflow-wrap:anywhere; }
.role-note-result, .role-comment-result { padding:12px; margin:8px 0; border:1px solid #edf0ee; border-radius:12px; background:#fafcfb; }
.role-note-result > button, .role-note-result > small { display:block; }
.role-result-panel small { color:#888; font-size:11px; line-height:1.6; }
.role-result-panel blockquote { margin:6px 0 10px; padding-left:10px; border-left:3px solid #bfdfd2; font-size:14px; line-height:1.65; }
.role-hot-list { padding-left:24px; }
.role-hot-list li { padding:9px 0 9px 2px; border-bottom:1px solid #eee; }
.role-hot-list li::marker { color:#df7555; font-weight:700; }
.role-result-empty { color:#888; }
.role-result-disclosure { display:block; margin-top:12px; }

/* The orb opens recommendations; the text field opens the writing surface. */
.super-overlay--discovery > .super-shade { background: rgba(0,0,0,.25); }
.focus-stage--discovery { max-height: 70%; margin: 0 9px calc(18px + env(safe-area-inset-bottom)); width: min(calc(100% - 18px),412px); padding: 20px 16px 18px; border-radius: 24px; background: #fff; box-shadow: 0 -5px 26px rgba(0,0,0,.09); }
.focus-stage--discovery .focus-inspiration { flex: 1; margin: 0; padding: 0; border-radius: 0; box-shadow: none; }
.focus-stage--discovery .focus-inspiration header { margin-bottom: 20px; }
.focus-stage--discovery .focus-inspiration header .diandian-brand { width: 30px; height: 30px; }
.focus-stage--discovery .focus-inspiration-scroll { max-height: none; }
.focus-stage--discovery .focus-reason { color: #777; font-size: 14px; line-height: 1.75; margin-bottom: 22px; }
.focus-stage--discovery .focus-suggestions { gap: 12px; }
.focus-stage--discovery .focus-suggestions button { min-height: 42px; padding: 10px 15px; border-radius: 24px; font-size: 14px; line-height: 1.4; }
.super-overlay--typing .focus-inspiration { position: relative; background: transparent; box-shadow: none; padding: 0 7px; margin-bottom: 14px; }
.super-overlay--typing .focus-inspiration header { margin: 0; height: 32px; }
.super-overlay--typing .focus-inspiration header .diandian-brand,
.super-overlay--typing .focus-inspiration header strong,
.super-overlay--typing .focus-reason { display: none; }
.super-overlay--typing .focus-inspiration header > button { background: rgba(255,255,255,.9); }
.super-overlay--typing .focus-inspiration .focus-suggestions { gap: 10px; }
.super-overlay--typing .focus-inspiration .focus-suggestions button { border: 0; padding: 11px 15px; font-size: 14px; border-radius: 24px; }
