:root {
  color-scheme: light;
  --pink: #ff6699;
  --muted: #9499a0;
  --secondary: #61666d;
  --surface: #f6f7f8;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #000;
  background: #f1f2f3;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; }
.embedded-prototype body { align-items: start; }
[hidden] { display: none !important; }
p, h1, h2, h3, ul { margin: 0; }
img { display: block; }
button, input { font: inherit; }
button { border: 0; padding: 0; color: inherit; background: none; cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, .result-scroll:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.viewport {
  width: calc(402px * var(--scale, 1));
  height: calc(874px * var(--scale, 1));
}

.screen {
  position: relative;
  width: 402px;
  height: 874px;
  overflow: hidden;
  background: white;
  transform: scale(var(--scale, 1));
  transform-origin: top left;
}

.status-bar {
  height: 57px;
  position: relative;
  color: white;
  background: black;
  font: 600 16.08px/21.44px -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -.536px;
}

.status-bar span { position: absolute; left: 38px; top: 12.93px; }
.status-bar img { position: absolute; right: 21px; top: 18.58px; }

.status-bar { z-index: 1; }
.comment-view { position: absolute; inset: 55px 0 0; overflow: hidden; }
.comment-view > img { position: absolute; top: -6.84%; left: -.09%; width: 100.18%; height: 106.84%; }
.comment-summary-tab { position: absolute; left: 187px; top: 237px; color: var(--secondary); font-size: 12px; line-height: 18px; }

.video-frame { height: 225px; position: relative; overflow: hidden; }
.video-frame > img { position: absolute; }
.result-video { position: absolute; inset: 55px 0 auto; z-index: 1; height: 227px; }
.result-video > img { left: -.09%; top: -24.67%; width: 100.18%; height: 385.46%; }
.located-video > img { left: -.03%; top: -25.33%; width: 100.06%; height: 388.44%; }
.chapter-progress { position: absolute; left: 84px; top: 205px; width: 41px; height: 2px; border-radius: 1.2px; background: linear-gradient(90deg, #3dc5ff, #a5aaff 45.673%, #ff69cd); }
.chapter-marker .prompt-mascot { left: 80.38px; top: 202px; transform: scale(.20936); transform-origin: top left; }
.video-back { position: absolute; top: 2px; left: 3px; width: 36px; height: 36px; }
.video-back:focus-visible { outline-offset: -2px; outline-color: white; }

.prompt {
  position: absolute;
  left: 11px;
  top: 768px;
  width: 380px;
  height: 54px;
  border-radius: 100px;
  overflow: hidden;
  background: linear-gradient(155.43deg, #ed8eff26 16.74%, #ff669926 83.285%), #ffffff99;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px #00000017;
  animation: prompt-appear 200ms ease-out both;
}

@keyframes prompt-appear { from { opacity: 0; } }
.prompt[data-thinking] { top: 769px; }
.prompt-light { position: absolute; pointer-events: none; }
.prompt-light-left { left: -63px; top: -42px; }
.prompt-light-right { left: 211px; top: -20px; }

.prompt-mascot { position: absolute; left: 15px; top: 9px; width: 34.028px; height: 34.566px; }
.prompt-mascot > * { position: absolute; }
.mascot-foot-right { left: 21.611px; top: 31.304px; transform: rotate(174.71deg) scaleY(-1); }
.mascot-foot-left { left: 7.291px; top: 31.304px; transform: rotate(5.29deg); }
.mascot-antenna-right { left: 20.407px; top: -.111px; }
.mascot-antenna-left { left: 7.803px; top: -.112px; transform: rotate(180deg) scaleY(-1); }
.mascot-antenna-glow-right { left: 20.035px; top: -.635px; }
.mascot-antenna-glow-left { left: 7.345px; top: -.635px; transform: rotate(180deg) scaleY(-1); }
.mascot-foot-glow-right { left: 20.455px; top: 27.129px; transform: rotate(132.98deg); }
.mascot-foot-glow-left { left: 5.144px; top: 27.216px; transform: rotate(47.02deg) scaleY(-1); }
.mascot-foot-reflection { left: 9.059px; top: 25.965px; transform: rotate(55deg) scaleY(-1); }
.mascot-outline { left: 0; top: 3.9px; width: 34.013px; height: 28.955px; border-radius: 16.172px; background: conic-gradient(#cbb5ff, #e281ff 7.49%, #fa4dff 14.985%, #f45fcc 21.866%, #ed7099 28.748% 36.244%, #e66dff 41.186%, #ff92b6 50.004%, #ee81ff 57.624%, #ed7099 64.108% 73.177%, #f45ecc 80.79%, #fa4dff 88.403%, #e381ff 94.201%, #cbb5ff); }
.mascot-border { left: 0; top: 3.9px; width: 34.013px; height: 28.955px; }
.mascot-body-glow { left: -5.148px; top: -.855px; }
.mascot-body { left: -2.16px; top: 1.932px; }
.mascot-reflection-right { left: 15.156px; top: 23.19px; transform: rotate(-38.69deg) skewX(-1.53deg) scaleY(-1); }
.mascot-reflection-left { left: -3.514px; top: 23px; transform: rotate(-141.31deg) skewX(1.53deg); }
.mascot-highlight { left: 22.689px; top: 4.316px; }
.mascot-face-glow { left: 5.69px; top: 10.12px; width: 22.643px; height: 16.091px; border-radius: 9.651px; background: #ff92b6cc; filter: blur(1.115px); }
.mascot-face { left: 5.244px; top: 10.294px; }
.mascot-mouth { left: 13.803px; top: 20.788px; }
.mascot-eye-left, .mascot-eye-right { top: 16.245px; width: 6.456px; height: 2.168px; border-radius: .446px; background: white; filter: blur(.056px); }
.mascot-eye-left { left: 8.1855px; transform: rotate(-10.78deg); }
.mascot-eye-right { left: 20.0555px; transform: rotate(-169.22deg) scaleY(-1); }
.mascot-foot-shine-right { left: 24.128px; top: 31.944px; transform: rotate(180deg) scaleY(-1); }
.mascot-foot-shine-left { left: 7.628px; top: 31.944px; }
.mascot-toe-right { left: 24.670px; top: 32.484px; transform: rotate(180deg) scaleY(-1); }
.mascot-toe-left { left: 7.88px; top: 32.484px; }
.mascot-foot-shadow { left: 21.811px; top: 31.207px; transform: rotate(-17.32deg) scaleY(-1); }
.mascot-antenna-shadow-right { left: 20.191px; top: 3.3px; transform: rotate(8.69deg) scaleY(-1); }
.mascot-antenna-shadow-left { left: 9.491px; top: 3.3px; transform: rotate(171.31deg) scaleY(-1); }
.mascot-foot-shadow-left { left: 7.207px; top: 31.231px; transform: rotate(-162.68deg); }

.invite-copy, .thinking-copy { position: absolute; left: 57px; top: 17px; font-size: 14px; line-height: 20px; white-space: nowrap; }
.thinking-copy { left: 57.03px; top: 18px; }
.thinking-timer { position: absolute; left: 116px; }
.prompt[data-thinking="staged"] .thinking-copy { top: 6px; }
.prompt[data-thinking="staged"] .thinking-timer { left: 107px; }
.prompt[data-thinking="staged"] .thinking-ellipsis { display: none; }
.thinking-mascot { position: absolute; left: 14px; top: 7px; width: 39px; height: 36px; overflow: hidden; animation: mascot-search 1.65s ease-in-out infinite; }
.thinking-mascot img { position: absolute; left: -8.99%; top: -9.2%; width: 113.67%; height: 126.4%; }
@keyframes mascot-search {
  0%, 100% { transform: translate(0) rotate(0); }
  35% { transform: translate(1px, -1px) rotate(4deg); }
  70% { transform: translate(-1px, .5px) rotate(-3deg); }
}
.thinking-detail { position: absolute; left: 57px; top: 28px; color: #000e; font-size: 12px; line-height: 20px; white-space: nowrap; }
.thinking-spinner, .thinking-check { position: absolute; top: 4px; }
.thinking-spinner { left: 112px; top: 5px; transform: rotate(-90deg); }
.thinking-spinner.is-spinning { animation: thinking-turn var(--rotation-duration, 900ms) linear 2; }
.prompt[data-stage="3"] .thinking-spinner { left: 136px; top: 4px; }
.thinking-check { left: 217px; }
@keyframes thinking-turn { to { transform: rotate(270deg); } }
.invite-button {
  position: absolute;
  left: 294px;
  top: 14px;
  width: 74.146px;
  height: 26.646px;
  border-radius: 27.226px;
  background: linear-gradient(123.2649deg, #ffaac7 16.061%, var(--pink) 81.505%);
  color: white;
  font-size: 12px;
  line-height: 18px;
}
.invite-button:focus-visible { outline-offset: -2px; outline-color: white; }

.panel { position: absolute; left: 0; right: 0; overflow: hidden; background: white; }
.panel-lights { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.panel-lights img { position: absolute; }
.panel-lights img:nth-child(1) { left: -175px; top: -114px; }
.panel-lights img:nth-child(2) { left: -33px; top: -71px; }
.panel-lights img:nth-child(3) { left: 192px; top: -100px; }

.requirements { bottom: 0; height: 293px; border-radius: 10px 10px 0 0; }
.requirements.entering { animation: reveal-requirements 260ms cubic-bezier(.2,.75,.3,1) both; }
@keyframes reveal-requirements { from { transform: translateY(100%); } }

.assistant-header { position: relative; }
.assistant-avatar { position: absolute; overflow: hidden; }
.assistant-avatar img { position: absolute; top: -7.51%; left: -12.1%; width: 125.81%; height: 123.32%; }
.assistant-header h2 { position: absolute; display: flex; gap: 5px; align-items: center; color: var(--pink); font-size: 14px; font-weight: 400; line-height: 20px; white-space: nowrap; }
.ai-badge { display: grid; place-items: center; width: 18px; height: 13px; border-radius: 4px; border: .9px solid; font-size: 8px; font-weight: 500; line-height: 11px; letter-spacing: .32px; }
.close { position: absolute; top: 13px; right: 22px; width: 23px; height: 23px; display: grid; place-items: center; }
.close img { transform: translate(.5px,.5px); }
.requirements .assistant-header { height: 56px; }
.requirements .assistant-avatar { top: 18px; left: 23px; width: 30px; height: 30px; }
.requirements .assistant-header h2 { left: 61px; top: 23px; }

.requirements-form { position: relative; margin: 0 22px 0 23px; }
.requirements-copy { font-size: 14px; line-height: 20px; }
.choices { margin-top: 8px; display: grid; row-gap: 12px; }
.choice-row { display: flex; column-gap: 12.93px; }
.choices button { min-width: 0; height: 26px; flex: none; border-radius: 4px; background: var(--surface); color: #505050; font-size: 12px; line-height: 18px; letter-spacing: .48px; }
.choice-row:first-child button:nth-child(1) { width: 125.298px; }
.choice-row:first-child button:nth-child(2), .choice-row:nth-child(2) button:nth-child(-n+2) { width: 93.476px; }
.choice-row:first-child button:nth-child(3) { width: 112.37px; }
.choice-row:nth-child(2) button:nth-child(3) { width: 81.543px; }
.choices button[aria-pressed="true"] { color: white; background: var(--pink); }

.custom-requirement { position: relative; display: block; margin-top: 12px; }
.custom-requirement input { display: block; width: 100%; height: 26px; border: .5px solid #e2e2e5; border-radius: 4px; background: var(--surface); padding: 3px 15px; font-size: 12px; line-height: 18px; caret-color: var(--pink); }
.custom-requirement input::placeholder, .composer input::placeholder { color: var(--muted); opacity: 1; }
.custom-requirement input:focus { outline: none; border-color: var(--pink); }
.custom-requirement img { position: absolute; left: 15.5px; top: 4.5px; pointer-events: none; }
.custom-requirement input:not(:placeholder-shown) + img, .custom-requirement input:focus + img { display: none; }
.analyze { margin-top: 20px; width: 100%; height: 38px; padding-bottom: 1.428px; border-radius: 142.8px; color: white; background: var(--pink); font-size: 14px; line-height: 20px; }
.analyze:disabled { background: #ff669966; }

.result { top: 282px; bottom: 0; border-radius: 8px 8px 0 0; }
.result .assistant-header { height: 67px; }
.result .assistant-avatar { top: 13px; left: 11px; width: 44px; height: 44px; }
.result .assistant-header h2 { left: 63px; top: 15px; }
.analysis-caption { position: absolute; left: 63px; top: 35px; display: flex; align-items: center; color: var(--muted); font-size: 10px; line-height: 14px; }

.result-scroll { position: relative; height: 446px; overflow: auto; scrollbar-width: none; overscroll-behavior: contain; }
.user-message { width: max-content; max-width: 355px; min-height: 33px; margin: 0 11px 12px auto; padding: 7.5px 10px; border-radius: 10px 2px 10px 10px; background: var(--pink); color: white; font-size: 14px; line-height: 18px; overflow-wrap: anywhere; }
.analysis-card { position: relative; margin: 0 11px; padding: 13px 11px 17px; border-radius: 8px; background: white; }
.analysis-card-background { position: absolute; top: 0; left: 0; pointer-events: none; }
.verdict, .analysis-copy, .alternative { position: relative; }
.verdict { display: flex; align-items: center; gap: 9.25px; height: 40px; padding: 0 9.25px; border-radius: 4px; background: #fff4f8; font-size: 14px; line-height: 20px; font-weight: 500; }
.verdict em { color: var(--pink); font-style: normal; }
.analysis-copy { display: grid; gap: 8px; margin-top: 8px; }
.analysis-summary { font-size: 14px; line-height: 20px; text-align: justify; }
.analysis-copy ul { padding-left: 18px; font-size: 12px; line-height: 18px; text-align: justify; list-style: none; }
.analysis-copy li { position: relative; }
.analysis-copy li::before { content: ""; position: absolute; top: 7px; left: -11px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.source-chip { width: 118px; height: 18px; display: flex; align-items: center; gap: 2px; border-radius: 9.5px; padding: 0 8px; color: #505050; background: var(--surface); font-size: 8px; line-height: 12px; white-space: nowrap; }
.source-chip.short { width: 110px; }
.screen[data-state="located"] .source-chip.short { background: #fce8f2; }
.source-arrow { margin-left: 6px; }

.product { position: relative; height: 127.092px; margin: 8px 0 0 1px; border: 1px solid var(--pink); border-radius: 11.424px; background: white; }
.product-photo { position: absolute; left: 10.42px; top: 10.42px; width: 104.244px; height: 104.244px; overflow: hidden; border-radius: 5.712px; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.featured-product .product-photo img { width: 200%; height: 200%; transform-origin: top left; transform: scale(.5); will-change: transform; }
.product-name { position: absolute; left: 122.05px; top: 10.42px; width: 223.251px; font-size: 14.28px; line-height: 19.992px; text-align: justify; }
.product-delivery, .product-seller { position: absolute; left: 121.64px; font-size: 11.424px; line-height: 17.136px; color: var(--secondary); }
.product-delivery { top: 51.14px; }
.product-seller { top: 97.8px; }
.product-delivery span, .product-seller span { margin-left: 2px; }
.product-price { position: absolute; left: 121.64px; top: 73.18px; font-size: 17.136px; font-weight: 600; line-height: 25.704px; }
.product-price span { font-size: 14.28px; }
.product-link { position: absolute; left: 260.32px; top: 84.68px; display: flex; align-items: center; justify-content: center; padding: 2.856px 14.28px 4.284px; background: var(--pink); color: white; border-radius: 142.8px; font-size: 14.28px; line-height: 19.992px; white-space: nowrap; }
.result.is-not-fit .featured-product { margin-top: 8px; border-color: #dbdbdb; }
.result.is-not-fit .analysis-copy { margin-left: 1px; }
.alternative { margin: 8px 0 0 1px; font-size: 14px; font-weight: 500; line-height: 20px; }
.alternative-product { margin: 8px 0 0; border-color: #ff92b6; font-weight: 400; }
.alternative-product .product-photo img { position: absolute; top: -34.18%; left: .12%; height: 136.53%; }
.alternative-product .product-link { left: 235px; padding-left: 45px; width: 112px; justify-content: flex-start; }
.alternative-product .product-link span { position: absolute; left: 0; top: 0; bottom: 0; display: grid; place-items: center; width: 33px; border-radius: 14px 0 0 14px; background: var(--surface); }

.composer { position: absolute; inset: auto 0 0; height: 79px; padding: 7px 11px 0; display: flex; justify-content: space-between; align-items: flex-start; background: white; }
.composer img:first-child { margin-top: 9px; }
.composer img:last-child { margin-top: 8px; }
.composer input { width: 318px; height: 33px; padding: 7px 17px 8px; border: 0; border-radius: 16.5px; background: #f1f2f3; font-size: 13px; line-height: 18px; caret-color: var(--pink); }
.composer input:focus { outline: 1px solid var(--pink); }

@media (prefers-reduced-motion: reduce) {
  .prompt, .requirements.entering, .thinking-mascot, .thinking-spinner.is-spinning { animation: none; }
}

.sources { top: 283px; bottom: 0; border-radius: 10px 10px 0 0; }
.sources-glow { position: absolute; left: -175px; top: -114px; pointer-events: none; }
.sources-header { position: relative; height: 82px; }
.sources-back { position: absolute; top: 5px; left: 4px; width: 23px; height: 30px; display: grid; place-items: center; }
.sources-back img { transform: rotate(90deg); }
.sources-header h2 { position: absolute; left: 31px; top: 11px; font-size: 14px; line-height: 18px; font-weight: 400; color: #626669; }
.sources-filter { position: absolute; left: 94px; top: 11px; display: flex; align-items: center; gap: 4px; font-size: 10px; line-height: 18px; color: var(--muted); }
.sources-tabs { position: absolute; top: 35px; left: 29px; display: flex; gap: 12px; color: var(--secondary); font-size: 12px; line-height: 18px; }
.sources-tabs button { position: relative; width: 57px; height: 29px; display: flex; gap: 4px; align-items: center; text-align: left; padding-left: 12px; }
.sources-tabs small { font-size: 9px; letter-spacing: .72px; }
.sources-tabs img { display: none; position: absolute; left: 11.2px; bottom: -.3px; }
.sources-tabs button[aria-selected="true"] { color: var(--pink); }
.sources-tabs button[aria-selected="true"] img { display: block; }
.sources-tabs button:nth-child(2) img { left: 12.2px; }
.sources-rule { position: absolute; top: 63.5px; left: 11px; width: 380px; overflow: hidden; pointer-events: none; opacity: .65; }

.source-list {
  position: relative;
  height: 430px;
  padding: 0 11px 12px;
  display: grid;
  align-content: start;
  gap: 6px;
  overflow-y: auto;
  scrollbar-width: none;
  overscroll-behavior: contain;
}

.source-video, .source-comment { position: relative; border: 1px solid #e3e5e7; border-radius: 7px; background: white; }
.source-video { height: 107px; }
.source-video > .source-thumbnail { position: absolute; left: 12px; top: 11px; width: 147.692px; height: 83.005px; }
.source-thumbnail { position: relative; overflow: hidden; border-radius: 3.435px; }
.source-thumbnail img { position: absolute; max-width: none; }
.thumbnail-jx img { left: -6.98%; top: -391.03%; width: 255.81%; height: 988.97%; }
.thumbnail-review img { left: -6.98%; top: -766.9%; width: 255.81%; height: 988.97%; }
.thumbnail-j6 img { left: -7%; top: -166.44%; width: 256.81%; height: 982.19%; }
.thumbnail-ranking img { left: -6.98%; top: -721.23%; width: 255.81%; height: 982.19%; }
.thumbnail-quote img { left: .18%; top: -158.09%; width: 100%; height: 292.06%; }
.source-video:nth-child(2) > .source-thumbnail { left: 12.28px; top: 12px; width: 146.988px; height: 82.609px; }
.source-video:nth-child(3) > .source-thumbnail { left: 12.28px; top: 12px; width: 147.523px; height: 83.807px; }
.source-video:nth-child(4) > .source-thumbnail { top: 12px; width: 148px; height: 84px; border-radius: 4px; }
.source-video-details { position: absolute; left: 172.88px; top: 11px; width: 192.119px; }
.source-video:nth-child(2) .source-video-details { top: 12px; }
.source-video:nth-child(n+3) .source-video-details { top: 13.5px; }
.source-video-details h3 { height: 36.02px; overflow: hidden; font-size: 12.007px; line-height: 18px; font-weight: 400; text-align: justify; }
.source-video-details p { display: flex; gap: 2px; align-items: center; padding-left: .6px; height: 16.51px; font-size: 10.507px; line-height: 16px; color: var(--muted); white-space: nowrap; }
.source-video-details .source-badges { align-items: flex-start; gap: 3px; height: 15.01px; padding-left: 0; color: #ff6633; font-size: 9.006px; line-height: 12.007px; }
.source-badges span { padding: 0 1.5px; height: 12.007px; border-radius: 1.501px; background: #fff1ed; }
.source-up { width: 12.309px; height: 10.258px; border: .954px solid var(--muted); border-radius: 2.052px; display: grid; place-items: center; }

.source-comment { height: 161px; }
.source-avatar { position: absolute; top: 12px; left: 12px; width: 33px; height: 33px; }
.source-comment h3 { position: absolute; left: 50px; top: 21px; display: flex; align-items: center; gap: 5px; font-size: 10.507px; line-height: 16px; font-weight: 400; color: var(--muted); }
.source-quote { position: absolute; left: 50px; top: 41px; width: 315px; font-size: 12px; line-height: 19px; text-align: justify; }
.source-comment-meta { position: absolute; left: 50px; top: 86px; width: 295px; height: 16px; color: var(--muted); font-size: 10.507px; line-height: 16px; }
.source-comment-meta span { position: absolute; left: 239px; top: 0; display: flex; align-items: center; gap: 4px; color: var(--secondary); }
.source-dislike { position: absolute; left: 282px; top: 3px; transform: scaleY(-1); }
.quote-video { position: absolute; left: 12px; top: 111px; display: flex; align-items: center; gap: 8px; width: 353px; height: 42px; padding: 0 7px; border-radius: 4px; background: var(--surface); overflow: hidden; }
.quote-video > div:last-child { min-width: 0; }
.quote-video .source-thumbnail { flex: none; width: 47px; height: 27px; }
.quote-video p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10px; line-height: 17px; }
.quote-video p:first-child { color: var(--muted); }
