.article-demo[data-article-demo="search"] { display: block; padding: 0; }
.seo-geo-demo { position: relative; width: 100%; height: 444px; overflow: hidden; border: 1px solid rgba(23,32,51,.13); border-radius: 12px; background: #fff; color: #26344a; text-align: left; box-shadow: 0 18px 42px rgba(23,32,51,.07); opacity: 1; transition: opacity .3s ease; }
.seo-geo-demo.is-fading { opacity: 0; }
.seo-geo-demo * { box-sizing: border-box; }
.seo-geo-fallback { display: grid; height: 100%; place-items: center; padding: 20px; color: #5f6f87; font-family: Georgia, "Times New Roman", serif; font-size: 20px; text-align: center; }
.sg-tabs { display: flex; align-items: center; gap: 5px; height: 46px; padding: 7px 12px; border-bottom: 1px solid #e8eaf0; background: #fff; }
.sg-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 7px; color: #7e8999; font-size: 10px; font-weight: 700; white-space: nowrap; transition: background .3s ease, color .3s ease; }
.sg-tab i { font-size: 10px; }
.sg-tab.is-active { background: #f0eaff; color: #6531b0; }
.sg-scene { position: absolute; inset: 46px 0 0; overflow: hidden; padding: 16px 17px; background: #fff; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .36s ease, visibility .36s ease, transform .36s ease; }
.sg-scene.is-current { opacity: 1; visibility: visible; transform: none; }
.sg-query-bar { display: flex; align-items: center; gap: 9px; min-height: 39px; padding: 0 13px; border: 1px solid #dfe3ea; border-radius: 20px; background: #fff; box-shadow: 0 3px 10px rgba(23,32,51,.04); }
.sg-query-bar i { flex: none; color: #8b96a5; font-size: 12px; }
.sg-query-text { overflow: hidden; color: #2d3950; font-size: 11px; text-overflow: clip; white-space: nowrap; }
.sg-typing-caret { width: 1px; height: 14px; flex: none; margin-left: -5px; background: #564b67; opacity: 1; }
.sg-typing-caret.is-hidden { opacity: 0; }
.sg-results-label { margin: 13px 0 5px; color: #93a0ad; font-size: 9px; }
.sg-ghost-result { display: flex; align-items: flex-start; gap: 8px; padding: 9px 7px; }
.sg-ghost-dot { width: 19px; height: 19px; flex: none; border-radius: 50%; background: #e8ebf0; }
.sg-ghost-lines { display: grid; gap: 6px; width: 100%; padding-top: 2px; }
.sg-ghost-lines i { display: block; height: 5px; border-radius: 99px; background: #e8ebf0; }
.sg-ghost-lines i:nth-child(1) { width: 34%; }
.sg-ghost-lines i:nth-child(2) { width: 67%; }
.sg-ghost-lines i:nth-child(3) { width: 84%; }
.sg-ghost-result:last-child .sg-ghost-lines i:nth-child(2) { width: 54%; }
.sg-results { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.sg-results.is-visible { opacity: 1; transform: none; }
.sg-result-card { display: flex; align-items: center; gap: 10px; margin: 1px 0; padding: 10px; border: 1px solid transparent; border-radius: 8px; background: #fff; outline: 2px solid transparent; transition: background .45s ease, outline-color .45s ease; }
.sg-result-card.is-found { background: #f8f5ff; outline-color: #c7b2ef; }
.sg-result-copy { min-width: 0; flex: 1; }
.sg-result-site-line { display: flex; align-items: center; gap: 6px; }
.sg-site-icon { display: grid; width: 21px; height: 21px; flex: none; place-items: center; border-radius: 50%; background: #e6f0e9; color: #2b7450; font-size: 10px; }
.sg-result-site-text { display: grid; min-width: 0; gap: 1px; }
.sg-result-site-text strong { overflow: hidden; color: #344b3c; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.sg-result-site-text small { overflow: hidden; color: #8794a0; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.sg-found-tag { flex: none; margin-left: auto; padding: 3px 6px; border-radius: 99px; background: #ede6fc; color: #6531b0; font-size: 8px; font-weight: 750; opacity: 0; transition: opacity .3s ease; white-space: nowrap; }
.sg-found-tag.is-visible { opacity: 1; }
.sg-result-title { display: block; margin-top: 8px; color: #5635a5; font-size: 12px; font-weight: 750; line-height: 1.3; }
.sg-result-description { margin-top: 4px; color: #69778a; font-size: 9px; line-height: 1.45; }
.sg-result-thumbnail { width: 82px; height: 62px; flex: none; overflow: hidden; border-radius: 6px; background: #e3ebdf; }
.seo-geo-demo .sg-result-thumbnail img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
.sg-question-wrap { min-height: 54px; text-align: right; }
.sg-question { display: inline-block; max-width: 100%; min-height: 28px; padding: 7px 10px; border-radius: 12px; background: #f1f3f7; color: #344157; font-size: 10px; line-height: 1.35; text-align: left; }
.sg-answer-row { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; }
.sg-ai-icon { display: grid; width: 23px; height: 23px; flex: none; place-items: center; border-radius: 50%; background: #eee8fb; color: #6c3db3; font-size: 11px; }
.sg-answer { min-height: 106px; color: #344157; font-size: 11px; line-height: 1.6; }
.sg-citation { display: inline-block; margin-left: 4px; padding: 1px 5px; border-radius: 4px; background: #eee8fb; color: #6233ab; font-size: 9px; font-weight: 800; opacity: 0; transition: opacity .3s ease; vertical-align: 1px; }
.sg-citation.is-visible { opacity: 1; }
.sg-sources { margin: 12px 0 0 31px; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.sg-sources.is-visible { opacity: 1; transform: none; }
.sg-sources-label { display: block; margin-bottom: 6px; color: #8995a6; font-size: 9px; font-weight: 700; }
.sg-source-card { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid #e2e6ed; border-radius: 8px; background: #fff; outline: 2px solid transparent; transition: background .45s ease, outline-color .45s ease; }
.sg-source-card.is-found { background: #f8f5ff; outline-color: #c7b2ef; }
.sg-source-number { color: #8b97a6; font-size: 9px; }
.sg-source-copy { display: grid; min-width: 0; gap: 2px; }
.sg-source-copy strong { overflow: hidden; color: #344157; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sg-source-copy small { overflow: hidden; color: #8c99a5; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .seo-geo-inline { padding: 0; }
  .seo-geo-inline .seo-geo-demo { height: 420px; border: 0; border-radius: 0; box-shadow: none; }
  .sg-scene { padding: 14px 11px; }
  .sg-result-card { gap: 7px; padding: 8px 6px; }
  .sg-result-thumbnail { width: 66px; height: 54px; }
  .sg-result-title { font-size: 11px; }
  .sg-found-tag { padding: 3px 5px; font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .seo-geo-demo * { transition: none !important; animation: none !important; }
}
