/* Shared light/dark appearance. Photos and actual app screenshots keep their colours. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;padding:9px;border:1px solid #dcd3e8;border-radius:50%;background:#f4effb;color:#674590;cursor:pointer;line-height:1;touch-action:manipulation}
.theme-toggle[hidden]{display:none}.theme-toggle svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .theme-sun{display:none}.theme-toggle:hover{background:#eae0fa}.theme-toggle:focus-visible{outline:2px solid #b994ff;outline-offset:4px}
.header .theme-toggle{margin-left:auto;border-color:#ffffff66;background:#ffffff12;color:#fff}.header .header-download{margin-left:0}.header:has(.theme-toggle){column-gap:14px}
.theme-back-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.theme-back-row .back{order:-1;margin:0}
html[data-theme=dark]{color-scheme:dark;background:#17141c}
html[data-theme=light]{color-scheme:light}
html[data-theme=dark] :is(body,.catalog,.ag-shell,.discovery){--ink:#f2edf7;--paper:#17141c;--muted:#b8afc4;--line:#44394f;--rule:#44394f;--purple:#8053d7;--purple-dark:#bda3ff;--violet:#bda3ff}
html[data-theme=dark] body,html[data-theme=dark] body.catalog:has(.ag-shell){background:#17141c;color:#f2edf7}
html[data-theme=dark] .theme-toggle{border-color:#645377;background:#302639;color:#ecdfff}
html[data-theme=dark] .theme-toggle:hover{background:#433350}
html[data-theme=dark] .theme-toggle .theme-sun{display:block}
html[data-theme=dark] .theme-toggle .theme-moon{display:none}
html[data-theme=dark] img[src="/assets/logo.svg"]{content:url('/assets/logo-dark.svg')}
html[data-theme=dark] :is(.purple-top,.hero,.scenario-intro,.download-section,.download-card){background:linear-gradient(94deg,#30203f,#3b2653 58%,#48305f);color:#f7efff}
html[data-theme=dark] .hero-bottom{background:transparent}
html[data-theme=dark] .hero-character .speech-left{background:#302839;color:#f2edf7}
html[data-theme=dark] .hero-character .speech-right{background:#493048;color:#ffe8f3}
html[data-theme=dark] :is(.story-copy p,.section-intro>p,.section-aside>p,.events-footnote,.stage-caption){color:#b8afc4}
html[data-theme=dark] .story-visual::before,html[data-theme=dark] .story-going .story-visual::before{background:#2b2238}
html[data-theme=dark] .story-match .story-visual::before{background:#382532}
html[data-theme=dark] .story-invite .story-visual::before{background:#30233f}
html[data-theme=dark] .story-chat .story-visual::before{background:#382a27}
html[data-theme=dark] :is(.events-section,.mobile-bottom,.invitation-example,.catalog-cover,.feature-stage){background:#211c29;border-color:#44394f;color:#f2edf7}
html[data-theme=dark] :is(.soon,.example-meta span){background:#382849;color:#d2b9ff}
html[data-theme=dark] :is(.event-tag,.event-arrow){background:#261e30;color:#f2edf7}
html[data-theme=dark] .how-art span{background:#211c29;color:#c5a6ff;border-color:#75608e}
html[data-theme=dark] .mobile-bottom{box-shadow:0 -4px 20px #0004}
html[data-theme=dark] dialog{background:#211c29;color:#f2edf7}
html[data-theme=dark] .close-dialog{background:#352940;color:#f2edf7}
html[data-theme=dark] .modal-stores a:hover{background:#39294c}
/* Codes remain high contrast and scannable. */
html[data-theme=dark] :is(.qr-card,.download-qr,.dialog-qr){background:#fff;color:#30203f}
html[data-theme=dark] .single-store .button{background:#332640;color:#eee1ff}
html[data-theme=dark] .single-store .button:hover{background:#443153}
html[data-theme=dark] .download-main .store-list a{background:#2a2135;color:#f2edf7;border:1px solid #6b5281}
html[data-theme=dark] .download-main .store-list a:hover{background:#3c2d49}
html[data-theme=dark] .catalog header.c-nav{background:#17141c;color:#f2edf7}
html[data-theme=dark] :is(.catalog .c-nav .c-wrap,.catalog .footer.wrap,.footer,.footer-bottom,.faq-list details,.events-footnote){border-color:#44394f}
html[data-theme=dark] :is(.catalog .crumb,.catalog .ag-intro>p,.ag-caption p,.ag-place,.ag-when-label,.ag-live,.ag-result-head>span){color:#b8afc4}
html[data-theme=dark] :is(.catalog .c-share-link,.catalog .event .source,.ag-reset,.ag-venues,.ag-empty a,.ag-result-head a){color:#c6a6ff!important}
html[data-theme=dark] :is(.ag-sticker,.catalog .event-grid aside,.catalog .c-hero::before){background:#2c223a;border-color:#50405f;color:#eee4fa}
html[data-theme=dark] :is(.catalog .c-card,.ag-city>div,.ag-cal form,.ag-category-menu,.catalog .c-search-help){background:#251e2e;border-color:#51405e;color:#f2edf7;box-shadow:0 9px 32px #0003}
html[data-theme=dark] .catalog .c-meta{border-color:#44394f}
html[data-theme=dark] .catalog .c-row{background:#30263d;--shade:#d5bef4;--orb:#49375d}
html[data-theme=dark] :is(.city-nav a,.c-filters a,.pager a,.ag-chip,.ag-cal summary,.ag-categories summary,.ag-search,.ag-cal input,.catalog .search-form input){background:#251e2e;border-color:#5b4868;color:#f2edf7}
html[data-theme=dark] :is(.ag-shell details a:hover,.ag-shell details a[aria-current],.ag-days .ag-chip.on){background:#39294a;color:#dfc9ff}
html[data-theme=dark] :is(.ag-chip.on,.ag-categories.chosen summary,.city-nav a[aria-current],.c-filters a[aria-current]){background:#7148c2;border-color:#9770de;color:#fff}
html[data-theme=dark] :is(.ag-search input,.catalog .search-form input){color:#f2edf7}
html[data-theme=dark] :is(.ag-search input,.catalog .search-form input)::placeholder{color:#aea2ba}
html[data-theme=dark] .ag-search>svg{color:#b8afc4}
html[data-theme=dark] .ag-search button{background:#392a4d;color:#dfc9ff}
html[data-theme=dark] .ag-image{background:#2f2639}
html[data-theme=dark] .ag-image>span{background:#251d30f0;color:#f2edf7}
html[data-theme=dark] .ag-date{color:#c6a6ff}
html[data-theme=dark] .ag-eyebrow{color:#b8afc4}
html[data-theme=dark] .ag-next{color:#ccb1f7!important;border-color:#6a4e85}
/* Weekly discovery pages. */
html[data-theme=dark] .discovery :is(.ds-tools,.ds-jump){border-color:#44394f}
html[data-theme=dark] .ds-quick-search{background:#211b29;border-color:#5b4868!important}
html[data-theme=dark] .discovery :is(.ds-kicker,.ds-plan-meta){color:#c3a0f0}
html[data-theme=dark] :is(.ds-week>a,.ds-week>span,.ds-budget select){background:#282030;color:#eee2fb;border-color:#5b4868}
html[data-theme=dark] .ds-week a:hover{background:#46315b;color:#f4eaff}
html[data-theme=dark] .ds-week a[aria-current]{background:#7145c4;color:#fff}
html[data-theme=dark] .ds-budget button{background:#39294b;color:#dcc3ff}
html[data-theme=dark] .ds-plan{background:#292132}
html[data-theme=dark] .ds-photo{background:#2c2336}
html[data-theme=dark] :is(.ds-plan li>span,.ds-plan li small,.ds-plan-info>p:not(.ds-plan-meta),.ds-app-note,.ds-subactions){color:#bdb0cb}
html[data-theme=dark] .discovery .ds-invite{background:#794bd0;color:#fff}
html[data-theme=dark] .ds-surprise{background:#2b203a}
html[data-theme=dark] .ds-moods a{background:#322540;border-color:#6c5081;color:#e5d5f6}
html[data-theme=dark] .ds-moods a[aria-current]{background:#754db4;border-color:#aa87df;color:#fff}
html[data-theme=dark] .ds-again{color:#cfadff!important;border-color:#74528c}
html[data-theme=dark] .ds-pick .ag-card{background:#211a2b;box-shadow:0 12px 24px #0002}
html[data-theme=dark] .ds-tile{background:#251e2e}
html[data-theme=dark] .ds-tile>div{background:#30253a}
html[data-theme=dark] .ds-tile[aria-current]{background:#38264b;box-shadow:inset 0 0 0 1px #8056a3}
html[data-theme=dark] .ds-tile small{color:#b8afc4}
html[data-theme=dark] .ds-extra summary{color:#c8a9e8;border-color:#554061}
html[data-theme=dark] .ds-first{background:#302329}
html[data-theme=dark] .ds-first .ds-line>p{color:#c9b2bc}
html[data-theme=dark] .ds-catalog-end{background:#2c203b}
html[data-theme=dark] .ds-catalog-end .ds-invite{background:#794bd0;color:#fff}
html[data-theme=dark] .ds-empty{background:#282030;color:#c8bbd2}
/* Date range sheet, including disabled days, endpoints and the range fill. */
html[data-theme=dark] .ag-days .dp-trigger{background:#2d223b;color:#e2cfff;border-color:#6d5384}
html[data-theme=dark] .ag-days .dp-trigger svg{color:#c8a4ff}
html[data-theme=dark] .dp-dialog{background:#211b29;color:#f2edf7;border-color:#51405e}
html[data-theme=dark] .dp-dialog::backdrop{background:#08050dc9}
html[data-theme=dark] .dp-card{background:#2a2133;border-color:#44324f}
html[data-theme=dark] :is(.dp-dialog .dp-head h2,.dp-head button,.dp-month button,.dp-grid button){color:#efe6f8}
html[data-theme=dark] :is(.dp-week span,.dp-dialog .dp-hint){color:#bbabc9}
html[data-theme=dark] :is(.dp-grid button.outside,.dp-grid button:disabled,.dp-month button:disabled){color:#82718f}
html[data-theme=dark] .dp-grid button.today{color:#d5baff}
html[data-theme=dark] .dp-grid button[aria-pressed=true]{background:#4b3267;color:#f5eaff}
html[data-theme=dark] .dp-grid button.dp-endpoint[aria-pressed=true]{background:#8051d7;color:white}
html[data-theme=dark] :is(.dp-presets button,.dp-actions button){color:#d0b0ff;border-color:#9372bb}
html[data-theme=dark] .dp-presets button[aria-pressed=true]{background:#3b2a4d}
html[data-theme=dark] .dp-actions{border-color:#4a3957}
html[data-theme=dark] .dp-actions button[type=submit]{background:#794bd0;color:white}
html[data-theme=dark] .dp-actions button:disabled{border-color:#4d3c5c;color:#8d7d9a}
@media(hover:hover){html[data-theme=dark] :is(.dp-grid button:not(:disabled):hover,.dp-head button:hover,.dp-month button:not(:disabled):hover){background:#4c3565}}
@media(max-width:760px){.header:has(.theme-toggle){gap:10px}.header .theme-toggle{width:38px;height:38px;flex-basis:38px;padding:8px}.header .header-download{font-size:11px;padding:8px 10px}.header .brand{width:130px;flex-shrink:0}.header .brand img:first-child{width:30px}.header .brand img:last-child{width:94px}.catalog .c-nav nav:has(.theme-toggle){gap:10px}.catalog .theme-toggle{width:38px;height:38px;flex-basis:38px;padding:8px}}
@media(max-width:370px){.header .brand{width:112px}.header .brand img:first-child{width:27px}.header .brand img:last-child{width:79px}.header:has(.theme-toggle){gap:7px}.header .header-download{font-size:10px;padding:7px 8px}.catalog .c-nav nav:has(.theme-toggle){gap:7px}}
html[data-theme=dark] :is(.catalog .cal,.catalog .event .kicker){color:#c6a6ff}
