/* 结果页与共用组件。首页样式集中在文件末尾。单位 rem。 */
:root {
  --bg: #f5f7fa;
  --font-ui: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  --primary: #202735;
  --primary-hover: #384258;
  --control-border: #e1e7ef;
  --control-focus: #a7c8f9;
  --control-radius: 0.75rem;
  --focus-ring: 0 0 0 3px #edf5ff;
  --highlight: rgba(106, 247, 255, 0.3);
  --action-bg: #f7faff;
  --action-border: #e6edf7;
  --action-ink: #526b89;
  --action-hover: #edf5ff;
  --action-hover-border: #ccdef6;
  --paper: #ffffff;
  --ink: #202936;
  --muted: #6d7888;
  --sub: #526071;
  --line: #e9edf2;
  --ai: #1869e8;
  --ai-deep: #1853d5;
  --ai-soft: #e7efff;
  --warm: #f28b52;
  --spark-a: #6af7ff;
  --spark-b: #3d8dff;
  --spark-c: #c15cff;
  --chip: #f0f2f5;
}

html,
body {
  background: var(--bg);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

.home-chips {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 0;
  background: var(--chip);
  color: #333;
  border-radius: 6.25rem;
  padding: 0.42rem 0.85rem;
  font-size: 0.8125rem;
}

.screen-result {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--bg);
}

.result-head {
  position: sticky;
  top: 0;
  z-index: 8;
  background: var(--bg);
  padding: 0.6rem 0.85rem 0.55rem;
  padding-top: calc(0.55rem + env(safe-area-inset-top));
  overflow: visible;
}

.result-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.head-back {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  border: 0;
  border-radius: 0.78rem;
  background: #f4f7fb;
  color: #3a4a5c;
  display: grid;
  place-items: center;
  padding: 0;
}

.head-back svg {
  width: 1.15rem;
  height: 1.15rem;
}

.head-back:active,
.head-query:active {
  filter: brightness(0.96);
}

.head-search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.head-query {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.22rem 0.22rem 0.22rem 0.72rem;
  border: 0.0625rem solid #e7eef7;
  border-radius: 0.85rem;
  background: #f4f7fb;
  color: inherit;
  text-align: left;
}

.head-query:focus-within {
  border-color: #c9ddff;
  background: #fff;
}

.result-query {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.3;
  font-weight: 500;
  color: #1a2433;
  -webkit-appearance: none;
  appearance: none;
}

.result-query::placeholder {
  color: #b4c0d0;
}

.head-search-ico {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  color: #7ea6d8;
}

.head-go {
  flex: none;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0.62rem;
  background: #3ec6ff;
  color: #fff;
  animation: go-breathe 2.4s ease-in-out infinite;
}

.head-go:active {
  filter: brightness(0.96);
}

.head-go svg {
  width: 0.95rem;
  height: 0.95rem;
}

.answer-card {
  margin: 0.55rem 0.75rem 0;
  padding: 0.95rem 1rem 1.05rem;
  background: var(--paper);
  border-radius: 0.85rem;
}

.answer-meta {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  padding-bottom: 0.7rem;
  margin-bottom: 0.15rem;
  border-bottom: 0.03125rem solid var(--line);
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--muted);
}

#answer-meta-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.answer-card.is-loading #answer-meta-text::after {
  content: ' ••';
  color: var(--ai);
  letter-spacing: 0.12em;
  animation: pulse 0.9s ease-in-out infinite alternate;
}

.ai-spark,
.sec-spark {
  position: relative;
  width: 1.05rem;
  height: 1.05rem;
  display: grid;
  place-items: center;
  flex: none;
  overflow: visible;
}

.ai-spark svg,
.sec-spark svg {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
}

.ai-spark .spark-core,
.sec-spark svg {
  animation: spark-breathe 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.ai-spark .spark-echo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.ai-spark.is-think .spark-core {
  animation: spark-think 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.ai-spark.is-think .spark-echo {
  animation: spark-think-echo 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.src-stack {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  margin-left: 0.1rem;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ai);
  flex: none;
}

.src-stack .src-logo {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  display: block;
  background: #fff;
}

.src-link-text {
  font-size: 0.75rem;
  font-weight: 600;
}

.src-stack .link-dot {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 0.0625rem solid #d7e0ff;
  color: var(--ai);
  display: grid;
  place-items: center;
}

.src-stack .link-dot svg {
  width: 0.62rem;
  height: 0.62rem;
}

.icon-btn {
  margin-left: auto;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  display: grid;
  place-items: center;
  padding: 0;
}

.icon-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.icon-btn.is-on {
  color: var(--ai);
}

.answer-body {
  margin-top: 0.7rem;
  overflow: hidden;
  position: relative;
}

.answer-body.is-revealing > .lead,
.answer-body.is-revealing > .block-h,
.answer-body.is-revealing > .bullet {
  -webkit-mask-image: linear-gradient(165deg, #000 36%, rgba(0, 0, 0, 0.12) 54%);
  mask-image: linear-gradient(165deg, #000 36%, rgba(0, 0, 0, 0.12) 54%);
  -webkit-mask-size: 300% 300%;
  mask-size: 300% 300%;
  animation: answer-text-scan 0.56s ease-out both;
}

.answer-body.is-revealing > .block-h,
.answer-body.is-revealing > .bullet {
  animation-duration: 0.66s;
}

.answer-body.is-revealing > .lead.is-building {
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
  color: #b7c0c6;
}

.lead-mark .stream-piece {
  -webkit-mask-image: linear-gradient(165deg, #000 36%, rgba(0, 0, 0, 0.12) 54%);
  mask-image: linear-gradient(165deg, #000 36%, rgba(0, 0, 0, 0.12) 54%);
  -webkit-mask-size: 300% 300%;
  mask-size: 300% 300%;
  animation: answer-text-scan 0.56s ease-out both;
}

@keyframes answer-text-scan {
  from {
    -webkit-mask-position: 100% 100%;
    mask-position: 100% 100%;
  }
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

.answer-body.is-clip::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.25rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 92%);
  pointer-events: none;
}

.lead {
  font-size: 0.9375rem;
  line-height: 1.8;
  background: none;
  padding: 0;
  margin: 0;
  color: var(--ink);
}

.lead-mark {
  background-color: transparent;
  background-image: linear-gradient(
    var(--highlight),
    var(--highlight)
  );
  background-repeat: no-repeat;
  background-size: 100% 0.5em;
  background-position: 0 0.58em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0;
  white-space: pre-wrap;
}

.block-h {
  margin: 1.05rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stream-wait {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  font-size: 0.8125rem;
  color: var(--ai);
}

.bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0.42rem 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #222;
}

.bullet i {
  flex: none;
  width: 0.28rem;
  height: 0.28rem;
  margin-top: 0.7rem;
  border-radius: 50%;
  background: #111;
}

.bullet span {
  min-width: 0;
  flex: 1;
}

.bullet strong {
  font-weight: 700;
}

.cites {
  display: inline;
  margin-left: 0.15rem;
  white-space: nowrap;
}

.cite {
  display: inline-block;
  margin-left: 0.12rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.22rem;
  border: 0;
  border-radius: 0.2rem;
  background: #eaf0ff;
  color: var(--ai);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1rem;
  vertical-align: 0.08rem;
}

.followups {
  margin: 0.65rem 0.75rem 0;
  padding: 0.8rem 0.9rem 0.95rem;
  background: var(--paper);
  border-radius: 0.85rem;
}

.follow-label,
.feed-title {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--muted);
}

.follow-label {
  padding: 0 0.05rem 0.35rem;
}

.follow-hint {
  margin: 0 0 0.65rem;
  color: #8a97a8;
  font-size: 0.75rem;
  line-height: 1.45;
}

.follow-edit {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  margin: 0 0 0.7rem;
  padding: 0.22rem 0.22rem 0.22rem 0.75rem;
  border: 0.0625rem solid #e7eef7;
  border-radius: 0.85rem;
  background: #f4f7fb;
}

.follow-edit:focus-within {
  border-color: #c9ddff;
  background: #fff;
}

.follow-edit input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  color: #1a2433;
  -webkit-appearance: none;
  appearance: none;
}

.follow-edit input::placeholder {
  color: #b4c0d0;
}

.follow-go {
  flex: none;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0.62rem;
  background: #3ec6ff;
  color: #fff;
  animation: go-breathe 2.4s ease-in-out infinite;
}

.follow-go svg {
  width: 0.95rem;
  height: 0.95rem;
}

.follow-go:active {
  filter: brightness(0.96);
}

.feed-title {
  margin: 0.05rem 0 0.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 0.03125rem solid var(--line);
}

.follow-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.follow-item {
  max-width: 100%;
  padding: 0.68rem 0.9rem;
  border: 0;
  border-radius: 1.05rem 1.05rem 1.05rem 0.28rem;
  background: #eef3ff;
  color: #1e1e1e;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.5;
}

.follow-item:active {
  background: #e4ebff;
  filter: none;
}

.empty-box .home-chips {
  margin-top: 0.75rem;
}

.more-btn {
  position: relative;
  display: flex;
  width: 100%;
  margin-top: 0.68rem;
  min-height: 2.3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9edf3;
  border-radius: 0.48rem;
  background: #fff;
  box-shadow: 0 0.16rem 0.55rem rgba(35, 51, 78, 0.035);
  color: #242a33;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.more-btn:active {
  background: #fff;
  border-color: rgba(52, 139, 255, 0.6);
  color: #2479ed;
  box-shadow: 0 0 0 1px rgba(52, 139, 255, 0.12), 0 0 10px rgba(52, 139, 255, 0.22);
}

.more-btn.is-pressed {
  background: #fff;
  border-color: rgba(52, 139, 255, 0.6);
  color: #2479ed;
  box-shadow: 0 0 0 1px rgba(52, 139, 255, 0.14), 0 0 11px rgba(52, 139, 255, 0.24);
  transition: border-color 100ms ease, background-color 100ms ease, box-shadow 100ms ease, color 100ms ease;
}

.more-btn.is-pressed .more-dots i {
  background: #2479ed;
  animation: none;
}

.more-btn:disabled {
  cursor: default;
}

.more-btn:focus-visible {
  outline: 2px solid var(--ai);
  outline-offset: 2px;
}

.more-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-right: 0.4rem;
}

.more-dots i {
  display: block;
  width: 0.21rem;
  height: 0.21rem;
  border-radius: 50%;
  background: #6b98e8;
}

.more-percent {
  white-space: nowrap;
}

.more-arrow {
  width: 0.95rem;
  height: 0.95rem;
  margin-left: 0.22rem;
}

.more-state {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition:
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear;
}

.more-state-loading {
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% + 3px)) scale(0.985);
  transition-delay: 0s, 0s, 220ms;
}

.more-state-done {
  gap: 0.12rem;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0s, 0s, 0s;
}

.more-btn.is-loading .more-state-loading {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0s, 0s, 0s;
}

.more-btn.is-loading .more-state-done {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% - 3px)) scale(0.985);
  transition-delay: 0s, 0s, 220ms;
}

.more-btn.is-loading .more-dots i {
  animation: more-dot-pulse 1.05s ease-in-out infinite alternate;
}

.more-btn.is-loading .more-dots i:nth-child(2) {
  animation-delay: 0.16s;
}

.more-btn.is-loading .more-dots i:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes more-dot-pulse {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.source-preview {
  margin: 0.65rem 0.75rem 0;
}

.source-preview:empty {
  display: none;
}

.source-preview:has(.news-card) {
  padding: 0.8rem 1rem 0.4rem;
  background: var(--paper);
  border-radius: 0.85rem;
}

.news-card {
  display: flex;
  align-items: stretch;
  gap: 0.7rem;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 0.03125rem solid #efefef;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.news-card:last-child {
  border-bottom: 0;
  padding-bottom: 0.45rem;
}

.news-card:active {
  background: #f7f7f7;
  filter: none;
}

.news-card-body {
  flex: 1;
  min-width: 0;
  min-height: 3.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-card-body h3 {
  font-size: 0.975rem;
  line-height: 1.45;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  color: var(--muted);
}

.news-card-cover {
  width: 5.25rem;
  height: 3.9rem;
  border-radius: 0.4rem;
  object-fit: cover;
  background: #eee;
  flex: none;
}

.empty-box {
  margin: 0.55rem 0.75rem 0;
  padding: 1.15rem 1rem;
  background: var(--paper);
  border-radius: 0.85rem;
  color: var(--sub);
  font-size: 0.9rem;
  line-height: 1.6;
}

.skel-line {
  height: 0.62rem;
  border-radius: 0.35rem;
  background: linear-gradient(90deg, rgba(112, 163, 255, 0.62), rgba(185, 221, 255, 0.38) 42%, rgba(245, 251, 255, 0.06));
  background-size: 110% 100%;
  margin: 0.7rem 0;
  animation: skel 1.6s ease-in-out infinite alternate;
}

.skel-line.lg {
  height: 8.5rem;
}

.skel-line.w2 { width: 72%; }

.skel-line.w3 { width: 88%; }

.status-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--ai);
}

.dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--ai);
  animation: pulse 0.9s ease-in-out infinite;
}

.stream-cursor {
  display: inline-block;
  width: 0.12rem;
  height: 0.82em;
  margin-left: 0.08rem;
  background: var(--ai);
  border-radius: 0.06rem;
  vertical-align: middle;
  animation: stream-blink 1.05s ease-in-out infinite;
  pointer-events: none;
}

.answer-body[data-stream='1'] .stream-cursor {
  display: none;
}

@keyframes stream-blink {
  0%, 42% { opacity: 1; }
  58%, 100% { opacity: 0.18; }
}

@media (prefers-reduced-motion: reduce) {
.stream-cursor {
    animation: none;
    opacity: 1;
  }

.more-state {
    transition: none;
  }

.more-btn.is-pressed {
    transition: none;
    transform: none;
  }

.answer-body.is-revealing > .lead,
.answer-body.is-revealing > .block-h,
.answer-body.is-revealing > .bullet {
    animation: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

.lead-mark .stream-piece,
.answer-card.is-loading #answer-meta-text::after {
    animation: none;
    opacity: 1;
  }

.answer-body.is-revealing > .lead.is-building {
    color: var(--ink);
  }

.skel-line,
.dot,
.more-btn.is-loading .more-dots i,
.ai-spark .spark-core,
.ai-spark .spark-echo,
.sec-spark svg {
    animation: none;
  }
}

@keyframes spark-breathe {
  0%, 100% {
    transform: scale(0.94);
    opacity: 0.78;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes spark-think {
  0% {
    transform: translate(0, 0.08rem) rotate(-8deg) scale(0.97);
    opacity: 0.8;
  }
  25% {
    transform: translate(0.12rem, -0.02rem) rotate(5deg) scale(1.03);
    opacity: 0.94;
  }
  50% {
    transform: translate(0.02rem, -0.12rem) rotate(9deg) scale(1.07);
    opacity: 1;
  }
  75% {
    transform: translate(-0.12rem, 0.02rem) rotate(-5deg) scale(1.02);
    opacity: 0.9;
  }
  100% {
    transform: translate(0, 0.08rem) rotate(-8deg) scale(0.97);
    opacity: 0.8;
  }
}

@keyframes spark-think-echo {
  0% {
    transform: translate(0, 0.08rem) scale(1);
    opacity: 0.18;
  }
  40% {
    transform: translate(0.06rem, -0.06rem) scale(1.16);
    opacity: 0.08;
  }
  100% {
    transform: translate(-0.04rem, -0.1rem) scale(1.3);
    opacity: 0;
  }
}

@keyframes pulse {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

@keyframes skel {
  from { opacity: 0.65; background-position: 0 0; }
  to { opacity: 1; background-position: 100% 0; }
}

.news-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.7rem 0;
  border-bottom: 0.0625rem solid var(--line);
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item h3 {
  font-size: 0.975rem;
  line-height: 1.45;
  font-weight: 600;
}

.news-item .meta {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.source-mask {
  align-items: flex-end;
  padding: 0;
}

.source-mask::before {
  background: rgba(0, 0, 0, 0.38);
}

.source-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 78vh;
  overflow: auto;
  background: #fff;
  border-radius: 0.9rem 0.9rem 0 0;
  padding: 0.35rem 0.9rem calc(0.95rem + env(safe-area-inset-bottom));
}

.sheet-handle {
  width: 2.25rem;
  height: 0.22rem;
  margin: 0.28rem auto 0.45rem;
  border-radius: 0.2rem;
  background: #d8d8d8;
}

.sheet-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.sheet-bar h2 {
  font-size: 1.125rem;
  font-weight: 700;
}

.sheet-close {
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  background: transparent;
  color: #222;
  display: grid;
  place-items: center;
  padding: 0;
}

.sheet-close svg {
  width: 1.05rem;
  height: 1.05rem;
}

.source-card {
  display: block;
  width: 100%;
  text-align: left;
  border: 0.0625rem solid #ececec;
  background: #fff;
  border-radius: 0.7rem;
  padding: 0.85rem 0.9rem 0.8rem;
  margin-bottom: 0.65rem;
}

.source-card h3 {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

.source-card .meta {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  margin-top: 0.45rem;
  color: #8a8a8a;
  font-size: 0.75rem;
}

.source-card.is-hit {
  border-color: #c9d8ff;
  background: #f7f9ff;
}

.source-card p {
  margin-top: 0.42rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.screen-result .answer-body .lead,
.screen-result .answer-body .bullet {
  font-size: 18px;
}

.screen-result .answer-body .lead {
  line-height: 1.78;
}

.screen-result .answer-body .bullet {
  line-height: 1.7;
}

.screen-result .answer-body .block-h {
  font-size: 21px;
}

.screen-result .answer-body .stream-wait,
.screen-result .answer-body .status-row {
  font-size: 15.6px;
}

.screen-result .more-btn {
  font-size: 13px;
}

.screen-result .answer-meta,
.screen-result .src-link-text,
.screen-result .follow-label,
.screen-result .follow-hint,
.screen-result .feed-title {
  font-size: 14.4px;
}

.screen-result .follow-edit input,
.screen-result .follow-item,
.screen-result .news-card-body h3,
.screen-result .empty-box {
  font-size: 18px;
}

.screen-result .follow-edit input,
.screen-result .follow-item {
  line-height: 1.5;
}

.screen-result .news-card-body h3 {
  line-height: 1.45;
}

.screen-result .news-card-meta {
  font-size: 13.2px;
}

.source-sheet .sheet-bar h2 {
  font-size: 21.6px;
}

.source-sheet .source-card h3 {
  font-size: 19.2px;
}

.source-sheet .source-card .meta {
  font-size: 14.4px;
}

.source-sheet .source-card p {
  font-size: 15.6px;
}

.recent-dot {
  width: 0.3rem;
  height: 0.3rem;
  flex: none;
  border-radius: 50%;
  background: #b9c9de;
}

.recent-q {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes go-breathe {
  0%, 100% {
    filter: brightness(0.88);
  }
  50% {
    filter: brightness(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
.head-go,
.follow-go {
    animation: none;
  }
}

.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 12;
  padding: 0.35rem 0 0.45rem;
  border: 0.0625rem solid #e7eef7;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 0.55rem 1.6rem rgba(50, 70, 100, 0.1);
}

.search-suggest-label {
  margin: 0 auto;
  padding: 0.35rem 0.9rem 0.45rem;
  color: #8a97a8;
  font-size: 0.75rem;
}

.search-suggest-item {
  width: 100%;
  min-height: 2.55rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border: 0;
  background: transparent;
  color: #1a2433;
  font: inherit;
  font-size: 0.875rem;
  text-align: left;
}

.search-suggest-item svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: #8aa3bf;
}

.search-suggest-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggest-item:active {
  background: #f4f7fb;
}

.result-query:focus,
.result-query:focus-visible,
.follow-edit input:focus,
.follow-edit input:focus-visible {
  outline: none;
  box-shadow: none;
}

.search-suggest-scroll-content {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 0.35rem 0;
  scrollbar-width: none;
}

.search-suggest-scroll-content::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.search-suggest-scrollbar {
  position: absolute;
  z-index: 2;
  top: 0.85rem;
  right: 0.38rem;
  bottom: 0.85rem;
  width: 0.28rem;
  border-radius: 999px;
  pointer-events: none;
}

.search-suggest-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 1.6rem;
  border-radius: inherit;
  background: rgba(104, 178, 239, 0.58);
  box-shadow: 0 0 0.18rem rgba(104, 178, 239, 0.14);
  will-change: transform;
}

@keyframes search-prompt-in {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 0.32rem));
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

/* 参考 geo.foshanplus.com：浅色氛围、居中标题、深色主操作与通透卡片。 */
.screen-home {
  --home-control: 2.75rem;
  --home-blue: var(--ai);
  --home-ink: var(--ink);
  --home-muted: #66728a;
  --home-border: rgba(151, 173, 209, 0.3);
}

html,
body {
  color-scheme: light;
  background: #fff;
}

#app {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fff;
}

.screen-result {
  max-width: 28rem;
  margin-inline: auto;
}

.screen-home {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(2rem + env(safe-area-inset-top)) 1.5rem calc(2rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #edf2ff 0%, #f4f6ff 55%, #fff 100%);
  color: var(--home-ink);
  font-family: var(--font-ui);
}

.home-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  min-height: calc(100dvh - 4rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  max-width: 62rem;
  margin-inline: auto;
}

.home-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.home-content {
  width: 100%;
  max-width: 40rem;
}

.home-intro {
  margin-bottom: 2rem;
  text-align: center;
}

.home-title {
  width: min(78%, 15rem);
  margin: 0 auto;
  line-height: 0;
}

.home-title img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-motion {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3;
}
.brand-motion-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.brand-motion.is-ready .brand-motion-canvas { opacity: 1; }
.brand-motion.is-ready .brand-motion-static { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .brand-motion-static { animation: logo-static-fallback 3000ms step-end backwards; }
  .brand-motion.is-ready .brand-motion-static, .brand-motion.is-static .brand-motion-static { animation: none; }
}
@keyframes logo-static-fallback { from { opacity: 0; } to { opacity: 1; } }

.home-subtitle {
  position: relative;
  width: 11rem;
  aspect-ratio: 4.65;
  margin: 0.625rem auto 0;
  overflow: hidden;
}

.home-slogan {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}

.home-search-wrap {
  position: relative;
  z-index: 4;
}

.home-search {
  margin: 0;
  padding: 0.4375rem;
  border: 0.0625rem solid rgba(156,179,212,0.38);
  border-radius: 1rem;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0.5rem 1.75rem rgba(42,68,114,0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.home-search:focus-within {
  border-color: #5d91ea;
  box-shadow: 0 0.5rem 1.75rem rgba(42,68,114,0.1);
}

.home-search-main {
  position: relative;
  display: grid;
  grid-template-columns: var(--home-control) minmax(0,1fr) var(--home-control);
  align-items: center;
  gap: 0.5rem;
  min-height: var(--home-control);
}

.home-search-icon {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: var(--home-control);
  height: var(--home-control);
  margin: 0;
  padding: 0;
  line-height: 0;
}

.home-search-icon img {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  transform: translate(-1.276%,-1.754%);
}

.home-search input {
  grid-area: 1 / 2;
  align-self: center;
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--home-ink);
  caret-color: var(--home-blue);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

.home-search-rotator {
  grid-area: 1 / 2;
  align-self: center;
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #64718a;
  font-size: 1rem;
  line-height: 1.5;
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
}

.home-search-rotator.is-hidden { visibility: hidden; }
.home-search-rotator.is-in { animation: home-prompt-in 220ms ease-out; }

@keyframes home-prompt-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.home-search-go {
  grid-area: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: var(--home-control);
  height: var(--home-control);
  padding: 0;
  border: 0;
  border-radius: 0.625rem;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.13);
  transition: background 180ms ease;
}

.home-search-go svg {
  width: 1.375rem;
  height: 1.375rem;
}

.home-search-go:active { background: #303744; transform: none; }

.home-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
  max-width: 24rem;
  margin: 1.5rem auto 0;
}

.home-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  padding: 0.25rem 0;
  color: #425473;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.home-service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.875rem;
  height: 3.5rem;
  transition: transform 180ms ease;
}

.home-service-icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  transform: translate(-50%, -50%) scale(var(--service-icon-scale, 1));
}

/* 气泡造型更宽，通过可见轮廓统一四个入口的视觉大小。 */
.home-service[data-service="message-board"] { --service-icon-scale: 0.7; }

.home-service-label {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}
.home-services-state { grid-column: 1 / -1; min-height: 5rem; justify-content: center; color: #7c8fa9; font-size: 0.75rem; }
.home-services-state button { border: 0; padding: 0.375rem 0.625rem; border-radius: 0.5rem; background: #eaf3ff; color: var(--ai); font: inherit; }

.home-service[href]:focus-visible {
  outline: 2px solid var(--home-blue);
  outline-offset: 0.25rem;
  border-radius: 0.5rem;
}

.home-service[href]:active .home-service-icon { transform: scale(0.96); }

.home-rules {
  margin-top: 2.5rem;
  text-align: center;
}

.home-rules h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.1875rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-rules-list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}

.home-rules-list li {
  position: relative;
  min-width: 0;
  padding: 0.75rem 0.5rem 1rem;
  border: 0.0625rem solid rgba(255,255,255,0.9);
  border-radius: 0.875rem;
  background: rgba(255,255,255,0.64);
  box-shadow: inset 0 0.0625rem 0 rgba(255,255,255,0.88), 0 0.5rem 1.75rem rgba(38,78,132,0.065);
}

.home-rule-step {
  display: block;
  margin: 0.25rem 0 0.375rem;
  color: #637690;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.home-rule-icon {
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0.125rem auto;
  object-fit: contain;
}

.home-rules-list li:last-child .home-rule-icon { padding: 0.3125rem; }

.home-rules-list h3 {
  margin: 0.25rem 0 0;
  color: #3c4c68;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.7;
}

#home-suggest {
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  height: 11.25rem;
  max-height: 40dvh;
  padding: 0;
  overflow: hidden;
  border-color: #e1e8f2;
  border-radius: 0.875rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.75rem rgba(35,55,80,0.1);
}

#home-suggest .search-suggest-item { min-height: 2.75rem; }

@media (hover: hover) {
  .home-search:hover { border-color: #9bb6df; }
  .home-search:focus-within { border-color: #5d91ea; }
  .home-search-go:hover { background: #303744; }
  .home-service[href]:hover .home-service-icon {
    transform: translateY(-0.1875rem);
  }
}

@media (min-width: 48rem) {
  .screen-home { --home-control: 3rem; padding: 3rem; }
  .home-shell { min-height: calc(100dvh - 6rem); }
  .home-stage { padding-block: 1.5rem; }
  .home-content { max-width: 44rem; }
  .home-title { width: 17rem; }
  .home-intro { margin-bottom: 2.5rem; }
  .home-search { padding: 0.5rem; border-radius: 1.125rem; }
  .home-search-main { gap: 0.75rem; }
  .home-services { max-width: 28rem; margin-top: 1.75rem; gap: 1rem; }
  .home-service-icon { width: 4.5rem; height: 4rem; }
  .home-service-icon img { width: 4.75rem; height: 4.75rem; }
  .home-service-label { font-size: 0.8125rem; }
  .home-rules { margin-top: 3rem; }
  .home-rules h2 { font-size: 1.5rem; }
  .home-rules-list { gap: 1rem; margin-top: 1.5rem; }
  .home-rules-list li { padding: 1rem 1rem 1.25rem; }
  .home-rule-icon { width: 4.75rem; height: 4.75rem; }
  .home-rules-list h3 { font-size: 0.875rem; }
}

@media (max-height: 43rem) and (max-width: 47.99rem) {
  .screen-home { padding-block: calc(1.5rem + env(safe-area-inset-top)) calc(1.5rem + env(safe-area-inset-bottom)); }
  .home-shell { min-height: calc(100dvh - 3rem - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  .home-stage { padding-block: 0; }
  .home-intro { margin-bottom: 1.5rem; }
  .home-services { margin-top: 1.125rem; }
  .home-rules { margin-top: 2rem; }
}

@media (max-width: 22rem) {
  .screen-home { padding-inline: 1.125rem; }
  .home-search-main { gap: 0.375rem; }
  .home-rules-list { gap: 0.5rem; }
  .home-rules-list h3 { font-size: 0.6875rem; }
  .home-rules-list li { padding-inline: 0.375rem; }
  .home-services { gap: 0.25rem; }
  .home-service-icon { width: 3.5rem; height: 3.25rem; }
  .home-service-icon img { width: 3.875rem; height: 3.875rem; }
  .home-service-label { font-size: 0.6875rem; }
}

/* PC：宽屏搜索主区、横向服务入口与紧凑的回答流程。 */
@media (min-width: 64rem) {
  .screen-home {
    --home-page-y: clamp(2rem, 5vh, 4rem);
    --home-control: 3.25rem;
    padding: var(--home-page-y) 3rem;
  }

  .home-shell {
    max-width: 68rem;
    min-height: calc(100dvh - var(--home-page-y) * 2);
  }

  .home-stage { padding-block: 1rem; }
  .home-content { max-width: 62rem; }
  .home-title { width: clamp(20rem, 26vw, 24rem); }
  .home-intro { margin-bottom: 2rem; }
  .home-subtitle { margin-top: 0.75rem; width: 15rem; }

  .home-search-wrap { max-width: 48rem; margin-inline: auto; }
  .home-search { padding: 0.625rem; border-radius: 1.25rem; }
  .home-search-main { gap: 1rem; }
  .home-search input,
  .home-search-rotator { font-size: 1.125rem; }
  .home-search-icon img { width: 2rem; height: 2rem; }
  .home-search-go { border-radius: 0.8125rem; }
  .home-search-go svg { width: 1.5rem; height: 1.5rem; }

  .home-services {
    max-width: 48rem;
    margin-top: clamp(1.5rem, 3vh, 2rem);
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
  }
  .home-service {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  .home-service-icon {
    flex: none;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.58);
  }
  .home-service-icon img { width: 3.75rem; height: 3.75rem; }
  .home-service-label { font-size: 1rem; color: #4d5562; }

  .home-rules { margin-top: clamp(3rem, 7vh, 5rem); }
  .home-rules h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    font-size: 1.125rem;
    font-weight: 600;
  }
  .home-rules h2::before,
  .home-rules h2::after {
    content: '';
    width: 3rem;
    height: 1px;
    background: #cbd9ea;
  }
  .home-rules-list { gap: 1.25rem; margin-top: 1.5rem; }
  .home-rules-list li {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    min-height: 7.75rem;
    padding: 1.5rem;
    border-radius: 1.125rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.88), 0 0.5rem 1.75rem rgba(38,78,132,0.04);
  }
  .home-rule-step { margin: 0 0 0.375rem; font-size: 0.75rem; text-align: left; }
  .home-rule-icon { width: 4.5rem; height: 4.5rem; margin: 0; }
  .home-rules-list h3 { margin: 0; font-size: 0.9375rem; line-height: 1.75; text-align: left; }

  #home-suggest { height: 15rem; max-height: 40dvh; }
  #home-suggest .search-suggest-item { min-height: 3rem; padding-inline: 1.25rem; font-size: 0.9375rem; }


}

/* 常见笔记本短屏压缩纵向间距，仍保留全部入口和回答流程。 */
@media (min-width: 64rem) and (max-height: 50rem) {
  .screen-home { --home-page-y: 1.5rem; }
  .home-title { width: 20rem; }
  .home-intro { margin-bottom: 1.5rem; }
  .home-services { margin-top: 1rem; }
  .home-rules { margin-top: 2rem; }
  .home-rules-list { margin-top: 1rem; }
  .home-rules-list li { min-height: 7rem; padding-block: 1rem; }
}

/* 共用控件：品牌深色主操作、蓝色焦点及统一圆角。 */
html, body { font-family: var(--font-ui); -webkit-font-smoothing: antialiased; }
.ui-symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.ui-icon { display: block; width: 1.125rem; height: 1.125rem; flex: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ai); outline-offset: 3px; }
.head-query, .follow-edit {
  border: 1px solid var(--control-border);
  border-radius: var(--control-radius);
  background: #f5f7fa;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.home-search:focus-within, .head-query:focus-within, .follow-edit:focus-within {
  border-color: var(--control-focus);
  box-shadow: var(--focus-ring);
  background: var(--paper);
}
.head-go, .follow-go {
  border-radius: 0.625rem;
  background: var(--primary);
  color: #fff;
  box-shadow: none;
  animation: none;
  transition: background 180ms ease;
}
.home-search-go:hover, .head-go:hover, .follow-go:hover { background: var(--primary-hover); }
.head-go svg, .follow-go svg { width: 1.375rem; height: 1.375rem; }
.head-search-ico { width: 1.625rem; height: 1.625rem; object-fit: contain; }
.head-query { background: rgba(255,255,255,0.94); box-shadow: 0 0.25rem 1rem rgba(42,68,114,0.035); }
.head-back { color: #6b8db8; background: #edf4fc; }
.icon-btn { border-radius: 50%; }
.icon-btn.is-on { background: #edf4fe; }
.result-query, .follow-edit input { caret-color: var(--ai); font-size: 1rem; }
.result-query::selection, .follow-edit input::selection { background: #dceaff; }
.result-brand, .result-home-link, .result-question,
.desktop-feed-title, .source-feed-count, .source-feed-intro,
.source-publisher, .news-card-index, .source-feed-more, .source-open-arrow, .source-heading-mark { display: none; }
.news-card.is-hit { background: #eef5fe; }
.source-feed-header .feed-title { margin: 0; }
.answer-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.75rem;
}
.answer-complete { display: inline-flex; align-items: center; gap: 0.375rem; }
.answer-complete .ui-icon { width: 1.125rem; height: 1.125rem; }
.answer-tool-actions { display: flex; align-items: center; gap: 0.5rem; }
.answer-tool-actions button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--action-border);
  border-radius: 0.5rem;
  background: var(--action-bg);
  color: var(--action-ink);
  font-size: 0.75rem;
  transition: background 180ms ease, border-color 180ms ease;
}
.answer-tool-actions svg { width: 1.125rem; height: 1.125rem; }
.answer-tool-actions button:hover, .answer-tool-actions .is-on { color: var(--ai); background: var(--action-hover); border-color: var(--action-hover-border); }
#desktop-speak { display: none; }
.has-source-sheet { overflow: hidden; }
.source-sheet { overscroll-behavior: contain; }
.result-brand, .result-home-link { text-decoration: none; }
.follow-list { margin-bottom: 0.75rem; }
.follow-item { display: flex; align-items: center; gap: 0.5rem; }
.follow-item-icon { width: 1rem; height: 1rem; margin-left: auto; color: #6a99d6; }
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .screen-result { max-width: 48rem; }
}

/* 已确认的 PC 阅读版：720px 答案 + 296px 来源，使用轻分隔组织内容。 */
@media (min-width: 64rem) {
  .screen-result { width: 100%; max-width: none; padding: 0 0 6rem; background: var(--paper); }
  .result-head { position: sticky; top: 0; padding: 0; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); }
  .result-top { max-width: 80rem; min-height: 5.5rem; padding: 1rem 2.5rem; margin: auto; gap: 2.25rem; }
  .result-brand { display: flex; align-items: center; flex: none; }
  .result-brand img { display: block; width: 9.125rem; height: auto; }
  .result-home-link { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; padding: 0.5rem 0.625rem; border: 1px solid var(--action-border); border-radius: 0.5rem; background: var(--action-bg); white-space: nowrap; color: var(--action-ink); font-size: 0.8125rem; }
  .result-home-link:hover { color: var(--ai); background: var(--action-hover); }
  .head-back { display: none; }
  .head-search-wrap { width: 40rem; flex: 0 1 40rem; }
  .head-query { padding: 0.375rem 0.4375rem 0.375rem 1.125rem; min-height: 3.25rem; gap: 0.8125rem; }
  .head-search-ico { width: 1.75rem; height: 1.75rem; }
  .result-query { font-size: 0.9375rem; font-weight: 400; }
  .head-go { width: 2.5rem; height: 2.5rem; }
  .head-go svg { width: 1.375rem; height: 1.375rem; }
  .result-layout { display: grid; grid-template-columns: minmax(0,45rem) minmax(0,18.5rem); gap: 5rem; width: calc(100% - 6rem); max-width: 68.5rem; margin: 2.6875rem auto 0; align-items: start; }
  .result-main { min-width: 0; }
  .result-layout:has(.source-preview[hidden]),
  .result-layout:has(.source-preview:empty):not(:has(.answer-card.is-loading)) { grid-template-columns: minmax(0,45rem); justify-content: center; }
  .result-question { display: block; }
  .result-question p { color: #697586; font-size: 0.75rem; letter-spacing: 0.14em; margin: 0 0 0.875rem; }
  .result-question h1 { font-size: 1.8125rem; line-height: 1.5; font-weight: 650; letter-spacing: -0.035em; margin: 0 0 1.25rem; overflow-wrap: anywhere; }
  .result-question h1:focus { outline: none; }
  .answer-card { padding: 0; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .screen-result .answer-meta { border: 0; padding: 0; margin: 0 0 1.375rem; gap: 0.5rem; min-height: 1.5rem; line-height: 1.6; color: var(--muted); font-size: 0.8125rem; }
  #answer-meta-text { flex: initial; white-space: normal; overflow: visible; }
  .answer-meta .src-stack, .answer-meta #speak-btn { display: none; }
  .answer-meta .ai-spark { width: 1.1875rem; height: 1.1875rem; }
  .answer-body { margin: 0; overflow-wrap: anywhere; }
  .screen-result .answer-body .lead { font-size: 1.125rem; line-height: 1.95; font-weight: 500; margin-bottom: 1.75rem; }
  .screen-result .answer-body .block-h { font-size: 1.125rem; font-weight: 650; line-height: 1.6; letter-spacing: 0; margin: 1.5625rem 0 0.6875rem; }
  .screen-result .answer-body .bullet { font-size: 1.0625rem; line-height: 1.95; letter-spacing: 0.01em; margin: 0.5rem 0; gap: 0.65rem; }
  .bullet i { width: 0.2rem; height: 0.2rem; margin-top: 0.875rem; background: #a2acb8; }
  .bullet strong { font-weight: 600; }
  .cite { min-width: 1.0625rem; height: 1.0625rem; line-height: 1.0625rem; font-size: 0.625rem; font-weight: 400; color: #4b80b6; background: #eef4fa; }
  .cite:hover { color: var(--ai); background: #dceaff; }
  .answer-tools { margin-top: 1.5rem; padding: 1rem 0; font-size: 0.75rem; }
  .answer-tool-actions button { min-height: 2.25rem; }
  #desktop-speak { display: flex; }
  .followups { display: flex; flex-direction: column; margin: 1.5rem 0 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .screen-result .follow-label { order: 1; font-size: 0.875rem; font-weight: 600; color: var(--ink); padding: 0; margin: 0 0 0.9375rem; }
  .follow-hint { display: none; }
  .follow-label .sec-spark { display: grid; width: 1rem; height: 1rem; }
  .follow-list { order: 2; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.125rem; }
  .screen-result .follow-item { display: flex; gap: 0.75rem; align-items: center; border: 1px solid #e8edf3; border-radius: 0.5rem; padding: 0.4375rem 0.75rem; min-height: 2.25rem; font-size: 0.75rem; color: #596575; background: #f7f9fc; line-height: 1.5; }
  .follow-item:hover { border-color: #c6dbfa; color: #2265bc; background: #eef5fe; }
  .follow-edit { order: 3; margin: 0; padding: 0.5rem 0.5rem 0.5rem 1.125rem; min-height: 3.5rem; background: var(--paper); }
  .screen-result .follow-edit input { font-size: 0.875rem; }
  .follow-go { width: 2.5rem; height: 2.5rem; color: #fff; background: var(--primary); }
  .follow-go:hover { background: var(--primary-hover); }
  .source-preview, .source-preview:has(.news-card) { position: sticky; align-self: start; top: 7.25rem; min-width: 0; margin: 4.3125rem 0 0; padding: 0 0 0 1.75rem; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; background: none; }
  .source-preview.is-expanded { position: static; }
  .source-feed-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
  .screen-result .feed-title { font-size: 0.875rem; font-weight: 600; padding: 0; border: 0; color: var(--ink); }
  .feed-title .sec-spark, .mobile-feed-title { display: none; }
  .source-heading-mark { display: block; width: 2rem; height: 2rem; object-fit: contain; margin: -0.25rem -0.2rem -0.25rem -0.35rem; }
  .desktop-feed-title, .source-feed-count, .source-publisher, .news-card-index { display: block; }
  .source-feed-count { color: #587aab; font-size: 0.6875rem; padding: 0.25rem 0.4375rem; background: #f0f6ff; border-radius: 0.375rem; }
  .source-feed-intro { display: block; margin: 0.625rem 0 1.0625rem; font-size: 0.6875rem; line-height: 1.7; color: #697586; }
  .news-card { padding: 1.1875rem 0; gap: 0.8125rem; align-items: flex-start; border-bottom: 1px solid var(--line); }
  .news-card:last-child { padding-bottom: 1.1875rem; }
  .news-card:hover { background: #f8faff; }
  .news-card.is-hit { background: #eef5fe; outline: 1px solid #cee0fa; border-radius: 0.5rem; }
  .news-card-index { display: grid; place-items: center; flex: none; width: 1.25rem; height: 1.25rem; color: #6691c7; font-size: 0.625rem; padding: 0; border-radius: 50%; background: #eef5fe; font-variant-numeric: tabular-nums; }
  .news-card-body { min-height: 0; gap: 0.5625rem; }
  .source-publisher { color: var(--muted); font-size: 0.6875rem; }
  .screen-result .news-card-body h3 { font-size: 0.875rem; font-weight: 500; line-height: 1.7; -webkit-line-clamp: 3; }
  .screen-result .news-card-meta { justify-content: space-between; gap: 0.5rem; margin: 0; color: var(--muted); font-size: 0.6875rem; }
  .source-mobile-name { display: none; }
  .source-open-arrow { display: inline-flex; align-items: center; justify-content: center; width: 1.375rem; height: 1.375rem; color: #6395d7; border: 1px solid #dce7f7; border-radius: 50%; }
  .source-open-arrow .ui-icon { width: 0.8125rem; height: 0.8125rem; }
  .news-card-cover { display: none; }
  .news-card.is-secondary-source { display: none; }
  .is-expanded .news-card.is-secondary-source { display: flex; }
  .source-feed-more { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.25rem; margin: 1rem 0 0 2.0625rem; padding: 0.4375rem 0.625rem; border: 1px solid var(--action-border); border-radius: 0.5rem; background: var(--action-bg); color: var(--action-ink); font-size: 0.75rem; }
  .source-feed-more .ui-icon { width: 0.875rem; height: 0.875rem; color: #6a99d6; }
  .source-feed-more:hover { color: var(--ai); background: var(--action-hover); border-color: var(--action-hover-border); }
  .empty-box { margin: 0; padding: 1.5rem 0; border-radius: 0; background: none; }
  .source-mask { align-items: center; padding: 2rem; }
  .source-sheet { max-width: 48rem; padding: 1.5rem 2rem; border-radius: 1.25rem; }
  .source-sheet .sheet-handle { display: none; }
  .sheet-close { width: 2.75rem; height: 2.75rem; }
}
@media (min-width: 64rem) and (max-width: 72rem) {
  .result-layout { width: calc(100% - 4rem); gap: 2.5rem; grid-template-columns: minmax(0,1fr) 16.25rem; }
  .result-top { gap: 1.5rem; padding-inline: 2rem; }
  .result-home-link { display: none; }
  .head-search-wrap { flex: 1; }
  .result-question h1 { font-size: 1.625rem; }
  .source-preview, .source-preview:has(.news-card) { padding-left: 1.375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .head-query, .follow-edit, .head-go, .follow-go, .answer-tool-actions button { transition: none; }
}

/* 实时曲线光带；绘制区域与页面交互层完全独立。 */
.home-lighting {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
}

.home-flow-fallback,
.home-light-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-flow-fallback {
  background:
    linear-gradient(165deg, transparent 20%, rgba(255,255,255,0.7) 39%, transparent 55%),
    radial-gradient(ellipse at 14% 35%, #dddffb 0%, transparent 60%),
    radial-gradient(ellipse at 88% 28%, #d5f2f6 0%, transparent 57%),
    linear-gradient(180deg, #eef3ff, #fff);
}

.home-light-canvas {
  display: block;
  opacity: 0;
}

.home-lighting.has-flow .home-light-canvas { opacity: 1; }

/* 统一动效：入场建立层级，交互及时反馈。结束后释放 transform。 */
:root {
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-fast: 140ms;
  --motion-state: 240ms;
}

.home-title { animation: none; }
.home-search-wrap { animation: ui-home-enter 460ms 180ms var(--motion-ease) backwards; }
.home-subtitle, .home-service, .home-rules h2, .home-rules-list li {
  animation: ui-home-enter 460ms calc(1540ms + var(--home-enter-delay, 0ms)) var(--motion-ease) backwards;
}
.home-subtitle { --home-enter-delay: 0ms; }
.home-service:nth-child(1) { --home-enter-delay: 100ms; }
.home-service:nth-child(2) { --home-enter-delay: 180ms; }
.home-service:nth-child(3) { --home-enter-delay: 260ms; }
.home-service:nth-child(4) { --home-enter-delay: 340ms; }
.home-rules h2 { --home-enter-delay: 360ms; }
.home-rules-list li:nth-child(1) { --home-enter-delay: 440ms; }
.home-rules-list li:nth-child(2) { --home-enter-delay: 540ms; }
.home-rules-list li:nth-child(3) { --home-enter-delay: 640ms; }
#home[data-logo-stage="loading"] :is(.home-subtitle, .home-service, .home-rules h2, .home-rules-list li),
#home[data-logo-stage="playing"] :is(.home-subtitle, .home-service, .home-rules h2, .home-rules-list li) {
  animation: none;
  opacity: 0;
  visibility: hidden;
}
#home[data-logo-stage="revealing"] :is(.home-subtitle, .home-service, .home-rules h2, .home-rules-list li),
#home[data-logo-stage="complete"] :is(.home-subtitle, .home-service, .home-rules h2, .home-rules-list li) {
  animation-delay: var(--home-enter-delay, 0ms);
}

.result-brand, .head-search-wrap, .result-home-link, .head-back {
  animation: ui-enter 360ms var(--motion-ease) backwards;
}
.head-search-wrap { animation-delay: 60ms; }
.result-home-link { animation-delay: 120ms; }
.answer-meta, .source-feed-header, .source-feed-intro,
.answer-tools, .follow-label, .follow-hint, .follow-edit, .empty-box {
  animation: ui-enter 320ms var(--motion-ease) backwards;
}
.news-card, .source-card, .follow-item, .search-suggest > * {
  animation: ui-enter 360ms var(--motion-ease) backwards;
  animation-delay: var(--enter-delay, 0ms);
}
.news-card:nth-of-type(2), .source-card:nth-child(2), .follow-item:nth-child(2) { --enter-delay: 55ms; }
.news-card:nth-of-type(3), .source-card:nth-child(3), .follow-item:nth-child(3) { --enter-delay: 110ms; }
.news-card:nth-of-type(4), .source-card:nth-child(4), .follow-item:nth-child(4) { --enter-delay: 165ms; }
.news-card:nth-of-type(5), .source-card:nth-child(5) { --enter-delay: 220ms; }
.source-feed-more { animation: ui-enter 360ms 260ms var(--motion-ease) backwards; }
.follow-edit { animation-delay: 160ms; }
.answer-complete .ui-icon { animation: ui-check 360ms var(--motion-ease) backwards; }
.news-card.is-hit { animation: ui-locate 650ms var(--motion-ease); }

.home-search, .head-query, .follow-edit {
  transition: border-color var(--motion-state), background-color var(--motion-state), box-shadow var(--motion-state);
}
.head-query:focus-within, .follow-edit:focus-within {
  box-shadow: 0 0 0 3px rgba(72, 164, 247, 0.09);
}
.home-service-icon, .home-rule-icon, .home-rule-copy,
.home-search-go .ui-icon, .head-go .ui-icon, .follow-go .ui-icon,
.source-open-arrow, .follow-item-icon, .result-home-link .ui-icon {
  transition: transform var(--motion-state) var(--motion-ease);
}
.home-rules-list li {
  transition: background-color var(--motion-state), box-shadow var(--motion-state);
}
.home-search-go, .head-go, .follow-go, .icon-btn, .sheet-close,
.answer-tool-actions button, .source-feed-more, .result-home-link,
.follow-item, .cite, .news-card, .source-card, .suggest-item, .head-back {
  transition: transform var(--motion-fast) var(--motion-ease),
    background-color var(--motion-state), border-color var(--motion-state),
    color var(--motion-state), box-shadow var(--motion-state);
}
.home-search-go:active, .head-go:active, .follow-go:active,
.icon-btn:active, .sheet-close:active, .answer-tool-actions button:active,
.result-home-link:active, .source-feed-more:active, .cite:active, .head-back:active {
  transform: scale(0.95);
}
.follow-item:active, .news-card:active, .source-card:active { transform: scale(0.99); }

@media (hover: hover) and (pointer: fine) {
  .home-service[href]:hover .home-service-icon { transform: translateY(-3px); }
  .home-rules-list li:hover { background-color: rgba(255,255,255,0.85); box-shadow: 0 10px 24px rgba(50,86,140,0.05); }
  .home-rules-list li:hover .home-rule-icon { transform: translateY(-2px); }
  .home-search-go:hover .ui-icon, .head-go:hover .ui-icon, .follow-go:hover .ui-icon { transform: scale(1.08); }
  .news-card:hover .source-open-arrow { transform: translateX(3px); }
  .follow-item:hover .follow-item-icon { transform: translateX(3px); }
  .result-home-link:hover .ui-icon { transform: translateY(-2px); }
}

.source-mask::before { animation: ui-fade 220ms ease-out both; }
.source-sheet { animation: ui-sheet-in 360ms var(--motion-ease) backwards; }
.source-mask.is-leaving { pointer-events: none; }
.source-mask.is-leaving::before { animation: ui-fade-out 180ms ease-in both; }
.source-mask.is-leaving .source-sheet { animation: ui-sheet-out 180ms ease-in both; }
.fs-toast { transform: translate(-50%, 8px); transition: opacity 180ms, transform 240ms var(--motion-ease); }
.fs-toast.is-show { transform: translate(-50%, 0); }

@keyframes ui-enter {
  from { opacity: 0; transform: translate3d(0, 6px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes ui-home-enter {
  from { opacity: 0; visibility: hidden; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; visibility: visible; transform: translate3d(0, 0, 0); }
}
@keyframes ui-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ui-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes ui-sheet-in {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ui-sheet-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}
@keyframes ui-check {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes ui-locate {
  from { box-shadow: 0 0 0 4px rgba(76,157,255,0.17); }
  to { box-shadow: 0 0 0 0 rgba(76,157,255,0); }
}

@media (prefers-reduced-motion: reduce) {
  #app *, #app *::before, #app *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .home-light-canvas { opacity: 0 !important; }
  #home :is(.home-subtitle, .home-service, .home-rules h2, .home-rules-list li) {
    opacity: 1 !important;
    visibility: visible !important;
  }
}
