/* Two deliberate palettes. Switching only changes the root attribute. */
:root{--vg-page:#eef2ff;--vg-panel:#fff;--vg-raised:#f5f6ff;--vg-ink:#20274f;--vg-muted:#586587;--vg-line:#d5dcf3;--vg-accent:#6345dc;--vg-soft:#eee8ff;--vg-glow-a:#cbf4ff;--vg-glow-b:#e8d8ff;--vg-shadow:#34376d12}
:root[data-theme=dark]{--vg-page:#101427;--vg-panel:#1a2038;--vg-raised:#242b48;--vg-ink:#edf0ff;--vg-muted:#b2bddb;--vg-line:#3a4568;--vg-accent:#c2afff;--vg-soft:#322c55;--vg-glow-a:#133748;--vg-glow-b:#2b2045;--vg-shadow:#02061540}
html[data-theme] body.veno-global.veno-arena{--bg-color:var(--vg-page);--surface-color:var(--vg-panel);--border-color:var(--vg-line);--text-color:var(--vg-ink);--content-h-color:var(--vg-ink);--content-p-color:var(--vg-muted);--veno-muted:var(--vg-muted);--text-muted:var(--vg-muted);--primary-color:var(--vg-accent);background:var(--vg-page);color:var(--vg-ink);color-scheme:inherit}
html[data-theme] .veno-arena #page{background:radial-gradient(ellipse at 95% 2%,var(--vg-glow-a),transparent 33%),radial-gradient(ellipse at 5% 55%,var(--vg-glow-b),transparent 40%),var(--vg-page)}
html[data-theme] .veno-arena .veno-header{background:var(--vg-panel);border-color:var(--vg-line);box-shadow:0 3px 25px var(--vg-shadow)}
.veno-theme-toggle[hidden]{display:none!important}.veno-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:44px;min-width:44px;padding:9px 11px;border:1px solid var(--vg-line);border-radius:10px;background:var(--vg-raised);color:var(--vg-accent);cursor:pointer;font:700 11px system-ui,sans-serif;touch-action:manipulation;white-space:nowrap}
.veno-theme-toggle:hover{background:var(--vg-soft)}.veno-theme-toggle svg{width:19px;height:19px;flex:none}.veno-theme-moon{display:none}html[data-theme=dark] .veno-theme-sun{display:none}html[data-theme=dark] .veno-theme-moon{display:block}.veno-theme-toggle.is-compact{width:44px;height:44px;padding:10px}.veno-theme-toggle.is-compact [data-theme-caption]{display:none}
html[data-theme] .veno-player-tools>.veno-theme-toggle{background:var(--vg-raised);color:var(--vg-accent);border-color:var(--vg-line)}
html[data-theme] .veno-arena :is(.veno-section-heading h2,.veno-page-heading h1,.veno-game-heading h1,.veno-editorial-header h1,.veno-game-content>h2,.veno-sidebar-heading h2){color:var(--vg-ink)}
html[data-theme] .veno-arena :is(.veno-section-heading p,.veno-page-heading>p:last-child,.veno-editorial-summary,.veno-meta,.veno-breadcrumb,.veno-game-subtitle,.veno-next-sidebar-note){color:var(--vg-muted)}
html[data-theme] .veno-arena .post-content-area{color:var(--vg-muted)}html[data-theme] .veno-arena .post-content-area :is(h2,h3,h4){color:var(--vg-ink)}
/* Keep the game art and its white titles intact; recolour the surrounding portal. */
html[data-theme=dark] .veno-arena :is(.veno-header-nav a,.veno-footer-nav,.veno-footer-legal,.veno-footer-legal a){color:var(--vg-muted)}
html[data-theme=dark] .veno-arena .veno-header-nav :is(a:hover,a[aria-current],.current-menu-item>a){background:var(--vg-soft);color:var(--vg-accent)}
html[data-theme=dark] .veno-arena :is(.veno-search input,.veno-library-search input[type=search],.veno-language summary,.veno-language nav,.veno-language-form select,.veno-language-form button){background:var(--vg-panel);color:var(--vg-ink);border-color:var(--vg-line)}
html[data-theme=dark] .veno-arena .veno-language :is(a:hover,a[aria-current]){background:var(--vg-soft);color:var(--vg-accent)!important}
html[data-theme=dark] .veno-arena input::placeholder{color:var(--vg-muted);opacity:1}
html[data-theme=dark] .veno-arena :is(.veno-article-card,.veno-game-content,.veno-game-sidebar,.veno-showcase,.veno-editorial,.veno-media-lightbox,.veno-empty,.veno-notice){background:var(--vg-panel);color:var(--vg-ink);border-color:var(--vg-line);box-shadow:0 6px 20px var(--vg-shadow)}
html[data-theme=dark] .veno-arena :is(.veno-article-card h3,.veno-next-heading h3,.veno-my-arena-header h2){color:var(--vg-ink)}
html[data-theme=dark] .veno-arena :is(.veno-article-card p,.veno-article-card time,.veno-card-meta,.veno-editorial-summary,.veno-my-arena-header p[data-club-storage-note],.veno-next-heading p,.veno-club-empty,.veno-quick-empty,.veno-player-status){color:var(--vg-muted)}
html[data-theme=dark] .veno-arena :is(.veno-card-meta>span,.veno-card-read,.veno-breadcrumb a,.veno-section-heading>a,.veno-page-heading .veno-eyebrow,.veno-sidebar-all,.veno-next-link,.veno-club-text-button,.veno-club-kicker,.arena-zone-label,.veno-sidebar-heading,.post-content-area a,.veno-topics>span){color:var(--vg-accent)}
html[data-theme=dark] .veno-arena :is(.veno-article-game-link,.veno-editorial-game,.post-content-area pre,.post-content-area blockquote,.veno-game-heading .veno-game-genres li){background:var(--vg-soft);color:var(--vg-ink);border-color:var(--vg-line)}
html[data-theme=dark] .veno-arena .veno-editorial-game h2{color:var(--vg-ink)}
html[data-theme=dark] .veno-arena :is(.veno-stories,.veno-topics,.veno-game-tabs,.veno-editorial-footer,.veno-mini-game,.veno-game-player){border-color:var(--vg-line)}
html[data-theme=dark] .veno-arena :is(.veno-heading-icon,.veno-footer-play-icon){background:#332d58;color:#d2c0ff;border-color:#55467d}
html[data-theme=dark] .veno-arena .veno-game-heading{background:radial-gradient(ellipse at 95% 20%,#165569,transparent 65%),linear-gradient(120deg,#32274f,#1a2038);border-color:var(--vg-line)}
html[data-theme=dark] .veno-arena .veno-game-heading .veno-eyebrow{color:#d2c0ff}html[data-theme=dark] .veno-arena .veno-game-tabs a{color:var(--vg-muted)}html[data-theme=dark] .veno-arena .veno-game-tabs a:first-child{color:var(--vg-accent);border-color:var(--vg-accent)}
html[data-theme=dark] .veno-arena :is(.veno-mini-game-logo,.veno-next-game .veno-mini-game-logo){background:var(--vg-raised);border-color:var(--vg-line)}
html[data-theme=dark] .veno-arena :is(.veno-mini-game>span>span,.veno-next-sidebar .veno-next-game>span:last-child>span){color:var(--vg-muted)}
html[data-theme=dark] .veno-arena :is(.veno-genre-nav a,.veno-category-list a,.veno-pagination .page-numbers,.arena-story-controls button,.veno-lightbox-toolbar button){background:var(--vg-panel);color:var(--vg-muted);border-color:var(--vg-line)}
html[data-theme=dark] .veno-arena :is(.veno-genre-nav a[aria-current],.veno-pagination .current){background:#7857e9;color:#fff;border-color:#9e82ff}
html[data-theme=dark] .veno-arena .veno-article-placeholder{background:linear-gradient(135deg,#25455f,#3a2d61)}html[data-theme=dark] .veno-arena .veno-article-placeholder .veno-icon{color:#c8b4ff}
html[data-theme=dark] .veno-arena .veno-footer{background:linear-gradient(120deg,#1a2038,#29213f 60%,#173342);border-color:var(--vg-line)}
html[data-theme=dark] .veno-arena .veno-footer-play{border-color:var(--vg-line)}html[data-theme=dark] .veno-arena .veno-footer-play h2{color:var(--vg-ink)}html[data-theme=dark] .veno-arena .veno-footer-play p{color:var(--vg-muted)}
html[data-theme=dark] .veno-arena .veno-arena-rail{background:var(--vg-panel);border-color:var(--vg-line)}html[data-theme=dark] .veno-arena .veno-arena-rail>a{color:#b9a9e7}html[data-theme=dark] .veno-arena .veno-arena-rail .veno-rail-home{background:var(--vg-soft);color:#e0d4ff;border-color:#5b497f}
html[data-theme=dark] .veno-arena :is(.arena-roster-label,.arena-roster-label b){color:var(--vg-muted)}html[data-theme=dark] .veno-arena .veno-rail-line{background:var(--vg-line)}
/* Personal shelves and discovery have their own warm/cool accents in each palette. */
html[data-theme=dark] .veno-daily-pick{background:radial-gradient(circle at 80% 5%,#694333,transparent 70%),#362735;border-color:#7b5b55}html[data-theme=dark] .veno-arena .veno-daily-copy h2{color:#fff1df}
html[data-theme=dark] :is(.veno-daily-date,.veno-daily-note,.veno-daily-clock){color:#e4c4bb}html[data-theme=dark] .veno-daily-pick .veno-club-kicker{color:#ffd7a9}html[data-theme=dark] :is(.veno-daily-link,.veno-daily-clock strong){color:#ffd3ed}html[data-theme=dark] .veno-daily-pick>.veno-club-card{border-color:#68505a}
html[data-theme=dark] .veno-lanes{background:var(--vg-panel);border-color:var(--vg-line)}html[data-theme=dark] .veno-lanes-heading h2{color:var(--vg-ink)!important}html[data-theme=dark] .veno-lanes-heading>span{color:var(--vg-muted)}
html[data-theme=dark] .veno-lane{background:#332a50;border-color:#574773;color:#e4d5ff}html[data-theme=dark] .veno-lane-icon{background:#49366b}html[data-theme=dark] .veno-lane small{opacity:1;color:inherit}
html[data-theme=dark] .veno-lane-arcade{background:#1b3948;border-color:#3c667b;color:#b2f2ff}html[data-theme=dark] .veno-lane-arcade .veno-lane-icon{background:#24576b}
html[data-theme=dark] .veno-lane-strategy{background:#2b3d32;border-color:#506750;color:#d2f0a9}html[data-theme=dark] .veno-lane-strategy .veno-lane-icon{background:#435a3c}
html[data-theme=dark] .veno-lane-casual{background:#462d42;border-color:#76516b;color:#ffd0e5}html[data-theme=dark] .veno-lane-casual .veno-lane-icon{background:#644059}
html[data-theme=dark] :is(.veno-my-arena,.veno-quick-results){background:var(--vg-panel);color:var(--vg-ink);border-color:var(--vg-line)}html[data-theme=dark] .veno-my-arena::backdrop{background:#030817b8}
html[data-theme=dark] :is(.veno-club-trigger,.veno-club-close,.veno-next-shuffle){background:var(--vg-soft);color:var(--vg-accent);border-color:#62517f}html[data-theme=dark] .veno-club-trigger b{background:#c2afff;color:#24193d}
html[data-theme=dark] .veno-my-arena-tabs{border-color:var(--vg-line)}html[data-theme=dark] .veno-my-arena-tabs button{color:var(--vg-muted)}html[data-theme=dark] .veno-my-arena-tabs button[aria-selected=true]{background:var(--vg-soft);color:#e1d2ff;border-color:#725996}html[data-theme=dark] .veno-my-arena-tabs button[data-club-tab=discover][aria-selected=true]{background:#4b2c44;color:#ffd0eb;border-color:#815271}
html[data-theme=dark] .veno-quick-result{color:var(--vg-ink)}html[data-theme=dark] :is(.veno-quick-result:hover,.veno-quick-result[aria-selected=true]){background:var(--vg-soft);color:#edddff}html[data-theme=dark] .veno-search-shortcut{color:var(--vg-muted);border-color:var(--vg-line)}
html[data-theme=dark] .veno-save-game{background:#252b43f2;color:#edddff;border-color:#71638d}html[data-theme=dark] .veno-save-game[aria-pressed=true]{background:#5a2949;color:#ffd1e6;border-color:#c873a2}
html[data-theme=dark] :is(.veno-club-card,.veno-next-panel .veno-club-card){border-color:#635080;box-shadow:0 6px 20px #05071844}
/* The switch recolours player chrome; game documents remain running in their iframe. */
html[data-theme] .veno-player-toolbar{background:var(--vg-panel);color:var(--vg-ink);border-color:var(--vg-line)}
html[data-theme=dark] .veno-player-tools :is(button,a){background:var(--vg-raised);color:var(--vg-ink);border-color:var(--vg-line)}
html[data-theme=dark] .veno-player-tools [data-player-fullscreen]{background:#7951dd;color:#fff;border-color:#9c7ded}html[data-theme=dark] .veno-player-tools .veno-session-next{background:#244b43;color:#ceffe4;border-color:#4c9178}html[data-theme=dark] .veno-play-modal [data-player-close]{background:#512b43;color:#ffd6e9;border-color:#915271}
@media(max-width:1200px){.veno-header .veno-theme-toggle [data-theme-caption]{display:none}}
@media(max-width:760px){
 .veno-arena .veno-header-inner{display:grid;grid-template-columns:minmax(0,1fr) 44px 72px;gap:8px;align-items:center}
 .veno-header .veno-brand{grid-column:1;grid-row:1;margin:0}.veno-header>.veno-header-inner>.veno-theme-toggle{grid-column:2;grid-row:1;padding:10px;width:44px}
 .veno-header .veno-club-trigger{grid-column:3;grid-row:1;justify-self:end;width:44px;height:44px;padding:10px;margin:0;justify-content:center}.veno-header .veno-club-trigger b{display:none}
 .veno-header .veno-header-nav{grid-column:1/3;grid-row:2;width:auto;gap:17px;margin:0;min-width:0;font-size:10px}.veno-header .veno-language{grid-column:3;grid-row:2;justify-self:end}.veno-header .veno-language summary{min-height:40px;font-size:10px}
 .veno-header .veno-search{grid-column:1/-1;grid-row:3;width:100%;max-width:none;margin:0}.veno-header .veno-search input{width:100%;max-width:none}
 .veno-header .veno-brand>.veno-brand-logo{max-width:100%;width:190px}.veno-header .veno-theme-toggle [data-theme-caption]{display:none}
 .veno-modal-player .veno-player-identity{display:none}.veno-modal-player .veno-player-tools{width:100%;justify-content:flex-end}
 .veno-player-tools .veno-session-next{max-width:calc(100vw - 208px);min-width:0;padding-inline:8px}.veno-session-next b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:420px){.veno-modal-player .veno-player-tools{justify-content:space-between}}

