.ending-scene {
  position: relative;
  width: 100%;
  height: clamp(74px, 15vh, 132px);
  margin: 6px 0 20px;
  overflow: hidden;
}
.ending-scene .closure-art { width: 100%; height: 100%; max-height: none; }
.ending-light {
  border-radius: 55% 55% 10px 10px / 18% 18% 10px 10px;
  background: radial-gradient(ellipse at 50% 84%, #f3ddbb 2%, #e3c8af 26%, transparent 58%),
              linear-gradient(#879ca2, #c5c6b6 57%, #ead5b7 88%);
}
.ending-light::before, .ending-light::after {
  content: ""; position: absolute; left: -7%; bottom: -45%; width: 116%; height: 66%;
  border-radius: 50%; background: #728b83; transform: rotate(-4deg);
}
.ending-light::after { bottom: -53%; background: #536d67; transform: rotate(5deg); }
.light-cue {
  display: inline-block; flex: 0 0 38px; height: 35px;
  border-radius: 52% 52% 22% 22%;
  background: radial-gradient(ellipse at 50% 85%, #e6c69b, transparent 62%), linear-gradient(#748a92, #c5c9b7);
  border: 1px solid #75887f;
}
.closing-choice h2 { margin-bottom: 12px; }
.closing-choice .reminder-message { margin: 0 0 16px; }
.closing-choice .button-stack { margin: 0 0 15px; }
.closing-choice .session-details { margin-top: 0; }
.closing-choice .duration-ledger { margin: 0 0 14px; }
.closing-choice .reminder-message .subtitle { margin: 0; }
.done-page .ending-scene { margin: 18px 0 8px; }
.deadline-message .deadline-next { margin-top: .4em; font-size: 13px; color: #354e40; }
@media (max-height: 650px) {
  .closing-choice .ending-scene { height: 56px; margin: 0 0 8px; }
  .closing-choice .reminder-message { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ending-light { animation: light-arrives .6s ease-out both; }
  @keyframes light-arrives { from { opacity: .65; } to { opacity: 1; } }
}
.clip.landscape { isolation: isolate; background: #1e3331; }
.clip.landscape::before {
  content: ""; position: absolute; inset: -20px;
  background: var(--scene-poster) center / cover;
  filter: blur(22px) brightness(.50); pointer-events: none;
}
.clip.landscape .clip-media { object-fit: contain; }
.feed-end-card #collection-remaining { font-variant-numeric: tabular-nums; color: #fff7e8; }
.feed-end-card strong:focus-visible { outline: 2px solid #efdac2; outline-offset: 3px; }
.clip-finished.media-failure { width: min(290px, 88%); padding: 14px; white-space: normal; }
.media-failure p { margin: 0 0 9px; }
.media-failure button {
  min-height: 44px; padding: 6px 18px; border-radius: 9px;
  background: #eee4d1; color: #203e35; font-weight: 600;
}
.app .overline, .app .duration-tail, .app .closing-choice .subtitle,
.app .sheet .subtitle, .app .term small, .app .extension-note, .app .ledger-heading {
  color: #415940;
}
.app .chat-header-actions .chat-end { --accent: #813c2b; }
