.evont-theme-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2px;
    padding: 3px;
    margin-left: auto;
    border: 1px solid rgba(127,127,127,.25);
    border-radius: 999px;
    background: rgba(127,127,127,.1);
    color: #26232b;
}
.evont-theme-toggle button {
    appearance: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 7px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.evont-theme-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.evont-theme-toggle button:hover { background: rgba(127,127,127,.15); }
.evont-theme-toggle button:focus-visible { outline: 2px solid #ee126e; outline-offset: 2px; }
html[data-evont-theme="dark"] .evont-theme-toggle { color: #f5f3f6; }
widget.heros .evont-theme-toggle { position: absolute; right: 5%; }
@media (max-width: 480px) {
    widget.heros .evont-theme-toggle button { width: 30px; height: 30px; padding: 6px; }
}
/* Desktop Discover's existing palette is independent of the mobile sheets. */
html[data-evont-theme="light"] body.evont-theme-enabled .desktop-discover-page,
html[data-evont-theme="light"] body.evont-theme-enabled .desktop-discover-info-modal {
    --discover-surface: #fff;
    --discover-surface-raised: #f1eef3;
    --discover-surface-soft: rgba(15,23,42,.05);
    --discover-border: rgba(15,23,42,.12);
    --discover-border-strong: rgba(15,23,42,.2);
    --discover-text: #17121d;
    --discover-text-secondary: #62596c;
}
html[data-evont-theme="light"] body.evont-theme-enabled,
html[data-evont-theme="light"] body.evont-theme-enabled .desktop-discover-page {
    /* background: #fff8fb; */
    color: #17121d;
    color-scheme: light;
}
html[data-evont-theme="light"] .desktop-discover-city-drawer-inner,
html[data-evont-theme="light"] .desktop-discover-info-card,
html[data-evont-theme="light"] .desktop-discover-header-shell,
html[data-evont-theme="light"] .desktop-top-heading-menu-shell {
    background: rgba(255,255,255,.96);
    border-color: rgba(15,23,42,.12);
    color: #17121d;
}
html[data-evont-theme="light"] .desktop-discover-header-link,
html[data-evont-theme="light"] .desktop-top-heading-menu-link,
html[data-evont-theme="light"] .desktop-top-heading-menu-back {
    background: #f1eef3;
    color: #17121d;
    border-color: rgba(15,23,42,.12);
}
html[data-evont-theme="light"] .desktop-date-tab small {
    background: rgba(15,23,42,.08);
}
html[data-evont-theme="light"] .desktop-date-tab.is-active strong,
html[data-evont-theme="light"] .desktop-date-tab.is-active { color: #fff; }

html[data-evont-theme="light"] .desktop-discover-header-link:hover,
html[data-evont-theme="light"] .desktop-discover-header-link:focus-visible,
html[data-evont-theme="light"] .desktop-top-heading-menu-link:hover,
html[data-evont-theme="light"] .desktop-top-heading-menu-link:focus-visible {
    background: #e8e1eb;
    color: #17121d;
}
html[data-evont-theme="light"] .desktop-regional-events-nav:hover:not(:disabled),
html[data-evont-theme="light"] .desktop-discover-split-events-pager-btn:hover:not(:disabled) {
    background: #e8e1eb;
    color: #17121d;
}
html[data-evont-theme="light"] .desktop-discover-split-events-pager-btn:disabled {
    background: #f1eef3;
    color: #938b9a;
}

/* Platform information also appears in the desktop footer's modal. */
html[data-evont-theme="light"] body.evont-theme-enabled .desktop-footer {
    /* background: #fff8fb; */
    color: #17121d;
}
html[data-evont-theme="light"] body.evont-theme-enabled .desktop-footer-shell,
html[data-evont-theme="light"] body.evont-theme-enabled .desktop-footer-modal-card {
    background: #fff;
    color: #17121d;
    border-color: rgba(15,23,42,.12);
}
html[data-evont-theme="light"] body.evont-theme-enabled .desktop-footer-modal-content {
    background: #f7f4f8;
}
html[data-evont-theme="light"] body.evont-theme-enabled .desktop-footer-brand,
html[data-evont-theme="light"] body.evont-theme-enabled .desktop-footer-modal-head strong,
html[data-evont-theme="light"] body.evont-theme-enabled .desktop-footer-modal-panel :is(h1,h2,h3,h4,h5,h6) {
    color: #17121d;
}
html[data-evont-theme="light"] body.evont-theme-enabled :is(.desktop-footer-intro,.desktop-footer-navigation-label,.desktop-footer-love,.desktop-footer-meta,.desktop-footer-modal-panel,.desktop-footer-modal-tab) {
    color: #62596c;
}
html[data-evont-theme="light"] body.evont-theme-enabled :is(.desktop-footer-link,.desktop-footer-modal-close,.desktop-footer-modal-tab:hover) {
    background: #f1eef3;
    color: #17121d;
    border-color: rgba(15,23,42,.12);
}
html[data-evont-theme="light"] body.evont-theme-enabled :is(.desktop-footer-bottom,.desktop-footer-modal-head,.desktop-footer-modal-nav) {
    border-color: rgba(15,23,42,.12);
}
html[data-evont-theme="light"] body.evont-theme-enabled .desktop-footer-modal-tab.is-active {
    background: #ee126e;
    color: #fff;
}
html[data-evont-theme="light"] body.evont-theme-enabled .desktop-footer-modal-panel a {
    color: #c00e58;
}
