/* story module styles (v4.2). */
.story { position: absolute; z-index: 5; left: 12px; bottom: 34px; width: 276px; padding: 12px 14px 12px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 12px; box-shadow: 0 12px 28px -14px rgb(15 56 51 / .5); }
.story[hidden], .story-pill[hidden] { display: none; }
.story__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.story__step { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-d); }
.story__skip { min-height: 28px; padding: 2px 4px; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.story__skip:hover { color: var(--ink); }
.story__head { margin: 6px 0 4px; font: 600 16px/1.25 Geist, Inter, sans-serif; color: var(--ink); }
.story__body { margin: 0; font-size: 13px; line-height: 1.5; color: var(--body); }
.story__link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #0a6f6f; }
.story__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.story__dots { display: flex; gap: 2px; }
.story__dot { position: relative; width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.story__dot::after { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--end); }
.story__dot.is-on::after { background: var(--ink); }
.story__btns { display: flex; gap: 6px; }
.story__btn { min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; }
.story__btn:hover:not(:disabled) { background: #f1f5f3; }
.story__btn:disabled { opacity: .45; cursor: default; }
.story__btn--primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.story__btn--primary:hover:not(:disabled) { background: #0a2723; }
.story button:focus-visible, .story a:focus-visible, .story-pill:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.story-pill { position: absolute; z-index: 4; top: var(--top); right: 56px; height: 38px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 19px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow); }
.story-pill:hover { background: #0a2723; }
@media (min-width: 721px) {
  .story-pill ~ .summary, .summary { max-width: calc(100% - 292px - 60px - 190px); }
}
@media (max-width: 720px) {
  .story { position: fixed; z-index: 11; left: 0; right: 0; bottom: 0; width: auto; border-radius: 14px 14px 0 0; border-left: 0; border-right: 0; border-bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -12px rgb(15 56 51 / .45); }
  .story-pill { position: static; order: 2; align-self: flex-start; margin: 8px 10px 0; height: 36px; }
  .story-on .card { bottom: var(--story-h, 0px); max-height: 30vh; z-index: 10; border-radius: 0; }
  .story__btn { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .story, .story-pill { transition: none; } }
