/* Home: one centered column on every screen size.
   The heading, buttons, and the panel that opens under them share the same center line. */
.hero-app .hero-single { margin-inline: auto; text-align: center; }
.hero-app .hero-lede { margin-inline: auto; }
.hero-app .mode-switch { margin-inline: auto; }
.hero-app .prefs-details { text-align: left; }
.hero-app .prefs-details > summary { display: block; width: fit-content; margin-inline: auto; }
#surprisePanel, #calmPanel { max-width: 760px; margin-inline: auto; }
#surprisePanel .surprise-card { margin-inline: auto; }
#surprisePanel .surprise-actions, #surprisePanel .surprise-note { justify-content: center; text-align: center; }
#guidePanel .newcomer-row { justify-content: center; }

/* Dark mode: footer text was using the "white" color, which turns near-black in dark mode. */
@media (prefers-color-scheme: dark) {
    footer, footer .footer-row a { color: #FFFFFF !important; opacity: 1 !important; }
    footer .brand-title { color: #FFFFFF !important; } /* beats the inline var(--white) */
    footer .footer-simple p, footer .footer-privacy, footer .footer-bottom, footer .footer-bottom p { color: #E8EEEA !important; opacity: 1 !important; }
    footer a:hover { color: #F8A766 !important; }
}
