/* Viewing actions share the site's approved film, typography and glass palette. */
.continue-section { margin: 30px 0 42px; padding: 24px 0; border-block: 1px solid var(--line); }
.continue-section[hidden], .purchase-result[hidden] { display: none; }
.viewing-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.viewing-heading h2 { margin: 0; font-size: clamp(20px, 2.3vw, 28px); font-weight: 300; }
.viewing-heading a { color: var(--muted); font-size: 13px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.viewing-list { display: flex; align-items: flex-start; gap: 20px; overflow-x: auto; padding: 0 0 10px; scroll-snap-type: x proximity; }
.viewing-card { flex: 0 0 min(270px, 72vw); min-width: 0; color: var(--text); text-decoration: none; scroll-snap-align: start; }
.viewing-art { display: block; overflow: hidden; border-radius: 8px; }
.viewing-art img { display: block; width: 100%; height: auto; }
.viewing-card-title { display: block; margin-top: 12px; font-size: 15px; line-height: 1.5; }
.viewing-card-meta { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.viewing-progress { display: block; height: 2px; margin-top: 8px; background: var(--line); }
.viewing-progress > span { display: block; height: 100%; background: #8aa3b3; }
.viewing-card:focus-visible, .viewing-heading a:focus-visible { outline: 2px solid var(--muted); outline-offset: 5px; }
.library-view { display: flex; align-items: center; gap: 12px; margin: 14px 0; font-size: 13px; color: var(--muted); }
.library-view select { font: inherit; color: var(--text); background: #0b1017; border: 1px solid var(--line); padding: 10px 32px 10px 12px; border-radius: 8px; min-height: 44px; max-width: 100%; }
.card-viewing-note { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.purchase-result { padding: clamp(20px, 3vw, 32px); margin: 0 0 36px; border: 1px solid rgba(138,163,179,.26); border-radius: 16px; background: rgba(11,16,23,.7); }
.purchase-result h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 300; line-height: 1.3; margin: 0 0 12px; }
.purchase-result p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.purchase-result-layout { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 28px; align-items: center; }
.purchase-result img { width: 100%; height: auto; border-radius: 8px; display: block; }
.purchase-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 20px; }
.purchase-result-actions > a:not(.btn) { color: var(--muted); font-size: 13px; }
.shop-purpose { color: var(--text); font-size: 14px; line-height: 1.6; }
.watch-page .stage-end #end-next { max-width: min(390px, 100%); display: flex; text-align: left; align-items: center; gap: 12px; white-space: normal; }
.watch-page .stage-end #end-next[hidden] { display: none; }
.end-next-cover { flex: 0 0 88px; width: 88px; height: auto; border-radius: 4px; }
.end-next-copy { min-width: 0; font-size: 13px; line-height: 1.5; }
.end-next-copy small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 4px; }
@media(max-width:600px) {
  .continue-section { margin: 24px 0 30px; padding: 18px 0; }
  .viewing-list { gap: 16px; }
  .purchase-result-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .purchase-result-layout > img { max-width: 180px; }
  .watch-page .stage-end-title { font-size: 18px; margin-bottom: 14px; }
  .watch-page .stage-end-kicker { margin-bottom: 6px; }
  .end-next-cover { width: 68px; flex-basis: 68px; }
  .watch-page .stage-end #end-next { padding: 8px; }
}
