/* Result-specific follow-up shared by desktop and mobile; homepage chrome stays intact. */
body.page-tool .story-results {
  --result-ink:#302641; --result-muted:#81758f; --result-violet:#8050b9;
  --result-line:#e0d2ee; --result-surface:#f1e8fa;
  --result-gap:24px; --result-radius:18px;
  max-width:1680px;
}
.story-results-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:var(--result-gap); align-items:start; }
.story-result-content { min-width:0; }
body.page-tool .story-results .story-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.story-result-detail { color:var(--result-muted); font-size:15px; line-height:1.6; margin:0 0 22px; overflow-wrap:anywhere; }
.story-result-detail[hidden] { display:none; }
body.page-tool .story-results .story-tracking-invite {
  width:100%; max-width:none; margin:0!important; padding:22px!important;
  border:1px solid var(--result-line); border-radius:var(--result-radius);
  background:var(--result-surface)!important; text-align:left;
}
body.page-tool .story-results .story-tracking-invite h3 { margin:0 0 10px; color:var(--result-ink); font-size:21px; line-height:1.25; letter-spacing:-.4px; }
body.page-tool .story-results .story-tracking-invite p { margin:0 0 16px; max-width:none; color:#776986; font-size:14px; line-height:1.5; }
body.page-tool .story-results .story-result-telegram {
  display:flex; align-items:center; justify-content:center; width:100%; min-height:44px;
  box-sizing:border-box; padding:11px 12px; border:0; border-radius:10px;
  background:var(--result-violet); color:#fff; font-size:14px; font-weight:650; line-height:1.4; text-decoration:none;
}
.story-result-telegram:hover { filter:brightness(.94); }
.story-result-telegram:focus-visible { outline:3px solid #b694db; outline-offset:3px; }
body.page-tool .story-results .story-tracking-invite small { margin:12px 0 0; color:#776986; font-size:12px; line-height:1.5; }
.story-results[data-state]:not([data-state="success"]) .story-grid { display:none!important; }
@media(min-width:801px) {
  .story-results[data-state]:not([data-state="success"]) .story-result-content { align-self:center; padding:20px; text-align:center; }
  .story-results[data-state="success"] .story-tracking-invite { position:sticky; top:96px; }
}
@media(max-width:1100px) and (min-width:801px) { .story-results-layout { grid-template-columns:minmax(0,1fr) 260px; gap:18px; } }
@media(max-width:800px) {
  body.page-tool .story-results { width:calc(100% - 32px); max-width:520px; padding-top:4px; }
  .story-results-layout { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 10px; }
  .story-result-content,body.page-tool .story-results .story-grid { display:contents; }
  .story-results-title { grid-column:1/-1; order:-2; margin:0!important; overflow-wrap:anywhere; }
  .story-result-detail { grid-column:1/-1; order:-1; margin:0 0 2px; font-size:13px; line-height:1.5; }
  body.page-tool .story-results .story-card { min-width:0; }
  body.page-tool .story-results .story-preview { aspect-ratio:9/12; }
  body.page-tool .story-results .story-card:nth-child(n+3) { order:2; }
  body.page-tool .story-results .story-tracking-invite { grid-column:1/-1; order:1; padding:17px!important; border-radius:16px; }
  body.page-tool .story-results .story-tracking-invite h3 { font-size:clamp(15px,4.3vw,18px); white-space:nowrap; line-height:1.25; margin:0 0 7px; }
  body.page-tool .story-results .story-tracking-invite p { font-size:13px; line-height:1.45; margin:0 0 13px; }
  .story-results[data-state]:not([data-state="success"]) .story-results-title { padding-top:12px; }
  .story-results[data-state]:not([data-state="success"]) .story-results-title,.story-results[data-state]:not([data-state="success"]) .story-result-detail { text-align:center; }
}

.page-tool .story-results{--result-gap:24px;--result-muted:#81758f;--result-ink:#302641;--result-violet:#8050b9;--result-line:#e0d2ee;--result-surface:#f1e8fa;--result-radius:18px}
.page-tool .tool-collections{display:flex;gap:14px;overflow-x:auto;padding:8px 2px 18px;margin-bottom:16px;grid-column:1/-1;scroll-snap-type:x proximity}.tool-collection{width:88px;min-width:88px;background:none;border:0;padding:4px;color:#62506f;cursor:pointer;scroll-snap-align:start}.tool-collection img,.tool-collection .cover-fallback{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 7px;border-radius:50%;object-fit:cover;background:#eee5f7;border:2px solid #dac8eb;padding:3px;font-size:22px}.tool-collection span:last-child{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.tool-collection[aria-pressed=true] img,.tool-collection[aria-pressed=true] .cover-fallback{border-color:#8050b9}.tool-more{grid-column:1/-1;min-height:44px;justify-self:center;border:1px solid #d8c7eb;border-radius:10px;padding:10px 22px;color:#70509b;background:#f7f2fb}.page-tool .tool-search-status{margin:12px 0;color:#81758f}.page-tool .story-result-content{min-width:0}.page-tool .story-tracking-invite small{display:block}.page-tool .story-results .story-preview{border-radius:16px}.page-tool .story-results .story-card{background:transparent;border:0;box-shadow:none}.page-tool .story-play{width:42px;height:42px}.page-tool .story-icon{max-width:24px;max-height:24px}.page-tool .story-play .story-icon{width:24px;height:24px}.page-tool .story-card-label{position:absolute;top:12px;left:12px;color:white;font-size:11px;letter-spacing:1px;z-index:2}.page-tool .copy-note:empty{display:none}
@media(max-width:800px){.page-tool .tool-collections{gap:8px}.page-tool .story-tracking-invite{grid-column:1/-1}.page-tool .story-results-layout .tool-collections{order:-3}.page-tool .tool-more{order:3}.page-tool .desktop-tool-screen>.story-results{flex:none}.page-tool .story-results .story-card:nth-child(n+3){order:2}}
