/* Explicit foreground/background pairs: photography is a separate dark surface.
   Keep the approved light identity on the rest of Memories. */
.mp .mp-hero-photo { background:#17171b !important; color:#fff !important; isolation:isolate; }
.mp .mp-hero-photo .mp-hero-bg img { filter:none !important; opacity:1 !important; }
.mp .mp-hero-photo .mp-hero-overlay {
  background:linear-gradient(180deg,rgba(12,12,18,.68),rgba(12,12,18,.76)) !important;
  opacity:1 !important;
}
.mp .mp-hero-photo .mp-hero-body,
.mp .mp-hero-photo .mp-title,
.mp .mp-hero-photo .mp-date-my,
.mp .mp-hero-photo .mp-coords,
.mp .mp-hero-photo .mp-brand span { color:#fff !important; -webkit-text-fill-color:currentColor !important; }
.mp .mp-hero-photo .mp-date-d,
.mp .mp-hero-photo .mp-coords svg { color:#efd6ff !important; opacity:1 !important; }
.mp .mp-hero-photo .mp-brand { opacity:1 !important; }
.mp .mp-hero-photo .mp-brand-logo { filter:none !important; content:url("/static/brand-20261101/avatar.26a0475f6986.png"); }
.mp .mp-title { overflow-wrap:anywhere; }
.mp .mp-nophoto-bg-shade { background:rgba(244,241,234,.95) !important; }
.mp .mp-nophoto-text,
.mp .mp-nophoto-text .mp-title,
.mp .mp-nophoto-text .mp-date-d,
.mp .mp-nophoto-text .mp-date-my,
.mp .mp-nophoto-text .mp-brand span,
.mp .mp-nophoto-text .mp-coords,
.mp .mp-nophoto-story,
.mp.mp-text-memory .mp-story-card .mp-story-text { color:#1d1d1d !important; -webkit-text-fill-color:currentColor !important; }
.mp .mp-nophoto-text .mp-brand { opacity:1 !important; }
.mp .mp-nophoto-text .mp-brand-logo { filter:none !important; content:url("/static/brand-20261101/avatar.26a0475f6986.png"); }
/* Opaque caption backing stays readable on both white and black artwork. */
.mp .mp-mockup-label,
.mp .mp-nophoto-mockup-label { background:#1d1d1d !important; color:#f4f1ea !important; opacity:1 !important; padding:9px 13px; }
.mp .mp-share-title,
.mp .mp-qr-hint,
.mp .mp-qr-dl-link { color:#1d1d1d !important; }
/* Native text and errors must not inherit low-contrast decorative accents. */
.field .errorlist,.errorlist,.field-error,.form-errors,.field .error,.error-summary { color:#8b2432 !important; }
.mp a:focus-visible,.mp button:focus-visible { outline:3px solid #1d1d1d !important; outline-offset:4px; }
.mp .mp-hero-photo a:focus-visible,.mp .mp-hero-photo button:focus-visible { outline-color:#fff !important; }
@media(prefers-reduced-motion:reduce){ .mp .mp-hero-bg img { transition:none !important; transform:none !important; } }
/* Voice pages keep their own dark palette; strengthen secondary text. */
.voice-shell { --muted:#c9c3b8; }
.voice-shell .memory-signature small { color:#bdb4a5; }
.voice-shell .gate-copy,.voice-shell .gate-hint,.voice-shell .player-status,
.voice-shell .time,.voice-shell .transcript summary { opacity:1; }
.voice-shell h1 { overflow-wrap:anywhere; }
.site-footer .footer-col-label,.footer .footer-col-label { color:#f4f1ea !important; opacity:1 !important; }
.gen-text-lead { color:#625f58 !important; }
.voice-shell .gate-hint,.voice-shell .player-status { color:#c9c3b8; }
.voice-shell .open-button { background-color:#c9a86a; }
@media(max-width:760px){
  main .field input:not([type=checkbox]):not([type=radio]),
  main .field textarea,main .field select { font-size:16px !important; }
}
.footer a:hover,.footer a:focus-visible { color:#f4f1ea !important; text-decoration:underline; }
.footer a:focus-visible,.footer button:focus-visible { outline-color:#f4f1ea !important; }
