/* The day map on the moment card: the map that opens the next day, as one more frame in the film's shape, with its label and its switch. */
.moment-daymap { flex: none; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.moment-daymap[hidden] { display: none; }
.moment-daymap-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 42svh; border-radius: 16px; overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
@media (max-width: 899px) { .moment-daymap-frame[data-shape="portrait"] { width: auto; height: min(42svh, 120vw); max-height: none; aspect-ratio: 9 / 16; align-self: center; max-width: 100%; } }
.moment-daymap-picture, .moment-daymap-movie { width: 100%; height: 100%; object-fit: contain; display: block; }
.moment-daymap-picture[hidden], .moment-daymap-movie[hidden] { display: none; }
.moment-daymap-note { margin: 0; padding: 0 12px; text-align: center; font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.moment-daymap-note[hidden] { display: none; }
.moment-daymap.is-off .moment-daymap-frame { border: 1.5px dashed var(--line-strong); }
.moment-daymap-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.moment-daymap-label { min-width: 0; font-size: .86rem; font-weight: 700; overflow-wrap: anywhere; }
.moment-daymap-toggle { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  background: transparent; color: var(--ink); font: inherit; font-size: .82rem; cursor: pointer; }
.moment-daymap-toggle svg { flex: none; }
.moment-daymap-toggle[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #14100a; font-weight: 700; }
.moment-daymap-hint { margin: 0; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.moments-closing { margin: 12px 0 0; min-width: 0; }
.moments-closing:empty { display: none; }
