/* FC VEGA CMS R10 HF13 — CHROMATIC HEADER / PREMIUM MINI-APP DEPTH
   22 theme colours drive the complete header; retain full 6 tiles, CMS and API. */
html[data-vega-accent]{
 --hf13-header-a:color-mix(in srgb,var(--vega211-deep) 66%,#10233a 34%);
 --hf13-header-b:color-mix(in srgb,var(--vega211-accent) 43%,#101930 57%);
 --hf13-header-c:color-mix(in srgb,var(--vega211-deep) 48%,#111b30 52%);
 --hf13-header-light:rgba(var(--vega211-rgb),.37);
 --hf13-ink:#fffaf5;
}
/* The background is on one glass sheet: no extra rectangles behind club logos. */
html[data-vega-accent] .site-sticky-shell{
 isolation:isolate;
 background:linear-gradient(116deg,var(--hf13-header-a) 0%,var(--hf13-header-b) 42%,var(--hf13-header-c) 100%)!important;
 border-color:color-mix(in srgb,var(--vega211-bright) 49%,transparent)!important;
 color:var(--hf13-ink)!important;
 box-shadow:0 17px 43px rgba(5,9,22,.27),inset 0 1px 0 #ffffff45,0 0 26px rgba(var(--vega211-rgb),.17)!important;
 backdrop-filter:blur(17px) saturate(1.36)!important;
 -webkit-backdrop-filter:blur(17px) saturate(1.36)!important;
 transition:background .4s ease,border-color .4s ease,box-shadow .4s ease!important;
}
html[data-vega-accent] .site-sticky-shell::before{
 content:'';position:absolute;z-index:0;inset:0;pointer-events:none;
 background:radial-gradient(ellipse 35% 125% at 47% 0%,rgba(255,255,255,.23),transparent 85%),
 radial-gradient(ellipse 33% 145% at 92% 78%,var(--hf13-header-light),transparent 88%),
 linear-gradient(180deg,rgba(255,255,255,.075),transparent 25%,rgba(0,0,0,.19));
 border-radius:inherit;
}
html[data-vega-accent] .site-sticky-shell :is(.topbar,header,.brand-row,.nav-border){background:transparent!important;background-image:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;position:relative}
html[data-vega-accent] .site-sticky-shell .topbar{border-bottom-color:rgba(255,255,255,.19)!important}
html[data-vega-accent] .site-sticky-shell .nav-border{background:linear-gradient(180deg,rgba(1,6,16,.10),rgba(1,6,16,.33))!important;border-top-color:rgba(255,255,255,.22)!important}
html[data-vega-accent] .site-sticky-shell :is(.vega-location-label,.header-city,.header-city b,.partner-head>span,.nav-item>a,.mobile-toggle,.sub-toggle,.search-button,.top-icon-link){color:#f9fcff!important;text-shadow:0 1px 2px rgba(0,0,0,.28)!important}
html[data-vega-accent] .site-sticky-shell .nav-item.active>a,html[data-vega-accent] .site-sticky-shell .nav-item>a:hover{color:#fff6d6!important}
html[data-vega-accent] .site-sticky-shell :is(.top-icon-link,.vega211-account-trigger){background:rgba(255,255,255,.13)!important;border-color:rgba(255,255,255,.23)!important;color:#fff!important}
html[data-vega-accent] .site-sticky-shell :is(.top-icon-link,.vega211-account-trigger):is(:hover,:focus-visible){background:rgba(255,255,255,.22)!important;border-color:rgba(255,255,255,.50)!important}
html[data-vega-accent] .site-sticky-shell :is(.brand-link,.header-city,.partner-head){background:transparent!important;border-color:transparent!important;box-shadow:none!important}
html[data-vega-accent] .site-sticky-shell :is(.brand-link img.vega211-wordmark,.header-city img,.partner-head img){background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html[data-vega-accent] .site-sticky-shell .vega-r10-identity>.brand-link img.vega211-wordmark{filter:drop-shadow(0 3px 10px rgba(0,0,0,.35))!important}
html[data-theme="light"][data-vega-accent] .site-sticky-shell{--hf13-header-a:color-mix(in srgb,var(--vega211-deep) 67%,#15364b 33%);--hf13-header-b:color-mix(in srgb,var(--vega211-accent) 48%,#17334c 52%);--hf13-header-c:color-mix(in srgb,var(--vega211-deep) 59%,#223047 41%);box-shadow:0 12px 35px rgba(64,56,48,.19),inset 0 1px 0 rgba(255,255,255,.48)!important}
/* The rainbow and thermal accents are truly multicolour; never collapse them to a purple/orange solid. */
html[data-vega-accent="rainbow"] .site-sticky-shell{background:linear-gradient(113deg,#245faa 0%,#5050bb 20%,#91378a 40%,#bc4f60 60%,#a7812c 80%,#167c75 100%)!important}
html[data-vega-accent="thermal"] .site-sticky-shell{background:linear-gradient(114deg,#1b568e 0%,#247b96 21%,#38785c 43%,#8a6f31 66%,#9a3d35 86%,#71344f 100%)!important}
html[data-vega-accent="milk"] .site-sticky-shell{background:linear-gradient(112deg,#71624d,#928474 42%,#625d6b 100%)!important}
html[data-vega-accent="silver"] .site-sticky-shell{background:linear-gradient(112deg,#3c506b,#748198 46%,#425a74 100%)!important}
/* Accent chip in navigation: indicates palette without competing with the six mini apps. */
html[data-vega-accent] .site-sticky-shell .nav-border::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:3px;pointer-events:none;background:linear-gradient(90deg,transparent,var(--vega211-bright) 35%,var(--vega211-accent) 65%,transparent);opacity:.74}
html[data-vega-accent="rainbow"] .site-sticky-shell .nav-border::after{background:linear-gradient(90deg,#2a9cfa,#9c78ff,#f67a91,#ffde67,#69e6c0)}
html[data-vega-accent="thermal"] .site-sticky-shell .nav-border::after{background:linear-gradient(90deg,#26a1ff,#5edfdc,#f7df6f,#ff754b,#e53a67)}
/* Keep 6 compact apps permanently expanded on scroll, while detail panel remains scrollable. */
html[data-vega-accent] .vega-hf08-grid{gap:clamp(5px,.65vw,10px)!important}
html[data-vega-accent] .vega-hf08-tile.hf09-tile{border:1px solid rgba(255,255,255,.3)!important;box-shadow:inset 0 1px 0 #ffffff4b,0 6px 20px rgba(3,10,30,.22)!important}
html[data-vega-accent] .vega-hf08-tile.hf09-tile:hover{box-shadow:inset 0 1px 0 #ffffff99,0 11px 25px rgba(4,9,30,.31),0 0 17px rgba(255,255,255,.16)!important}
html[data-vega-accent] .vega-hf08-tile.hf11-is-expanded{outline:2px solid rgba(255,255,255,.94)!important;outline-offset:-4px!important;filter:saturate(1.10)}
/* A luminous title bar and grouped actions make each expanded state feel like an app rather than an article. */
html[data-vega-accent] .vega-hub-drawer.hf11-inline-details:not([hidden]){border:1px solid rgba(255,255,255,.24)!important;box-shadow:0 16px 40px rgba(1,4,18,.35),inset 0 1px 0 #ffffff3a!important}
html[data-vega-accent] .vega-hub-drawer.hf11-inline-details .vega-hub-drawer-top{background:linear-gradient(90deg,rgba(255,255,255,.15),rgba(255,255,255,.025) 72%)!important}
html[data-vega-accent] .hf13-app-switch{display:flex;gap:6px;align-items:center;margin-left:auto;margin-right:8px}
html[data-vega-accent] .hf13-app-switch button{display:grid;place-items:center;width:31px;height:31px;border:1px solid #ffffff42;border-radius:9px;background:#ffffff15;color:white;cursor:pointer;font:700 16px/1 system-ui}
html[data-vega-accent] .hf13-app-switch button:hover{background:#ffffff3b;transform:translateY(-1px)}
html[data-vega-accent] .hf13-app-switch button:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* Weather: day-night atmosphere, intelligent current-condition classes come from the existing WMO path. */
html[data-vega-accent] .hf11-weather-scene{box-shadow:inset 0 -34px 42px rgba(7,30,85,.24),inset 0 1px 0 #ffffff6e!important}
html[data-vega-accent] .hf11-weather-scene .hf11-weather-temp{filter:drop-shadow(0 5px 13px #0004)}
html[data-vega-accent] .hf11-weather-scene.weather-snow{box-shadow:inset 0 -30px 60px #ecf9ff8a!important}
html[data-vega-accent] .hf11-weather-scene.is-night .hf11-weather-layers{background-image:radial-gradient(circle at 9% 13%,#fff 0 1px,transparent 2px),radial-gradient(circle at 75% 23%,#fff 0 1px,transparent 2px),radial-gradient(circle at 33% 28%,#fff 0 1px,transparent 2px);background-size:147px 111px}
/* Pulse: responsive performance dashboard with kinetic but factual KPI graph. */
html[data-vega-accent] .hf11-score-hero{background:radial-gradient(ellipse at 78% 33%,#4fffd824,transparent 60%),linear-gradient(120deg,#06454e,#092842)!important}
html[data-vega-accent] .hf11-score-hero .hf11-ring{filter:drop-shadow(0 0 24px #60ffbc66)!important}
html[data-vega-accent] .hf11-inline-details[data-hf11-kind="pulse"] .vega-hub-metrics{gap:10px!important}
html[data-vega-accent] .hf11-inline-details[data-hf11-kind="pulse"] .vega-hub-metric{background:linear-gradient(160deg,#27f4bc1b,#ffffff08)!important}
/* Challenge: streak looks celebratory on completed day, without pretending synced data. */
html[data-vega-accent] .hf11-mission-scene{background:radial-gradient(ellipse at 75% 28%,#ffe7a44b,transparent 48%),linear-gradient(130deg,#bd4256,#8c345a)!important}
html[data-vega-accent] .hf11-mission-scene .hf11-day.done{box-shadow:0 0 16px #ffe49255,inset 0 1px 0 #fff9!important}
/* History: timeline and display trophy form an archive-like scene. */
html[data-vega-accent] .hf11-trophy-scene{background:radial-gradient(circle at 50% 27%,#f9d18b47,transparent 53%),repeating-linear-gradient(120deg,transparent 0 25px,#ffffff06 26px 27px),linear-gradient(130deg,#564766,#27253f)!important}
html[data-vega-accent] .hf11-history-entry{border-left-color:#f7cf7d!important;transition:transform .24s ease,background .24s ease}
/* Media: cinematic stage / direct playlist actions, never falsely imply playback without a media URL. */
html[data-vega-accent] .hf11-media-scene{background:radial-gradient(ellipse at 50% 45%,#8a59f63d,transparent 54%),linear-gradient(125deg,#282459,#0c1632)!important}
html[data-vega-accent] .hf11-video-select.on{background:linear-gradient(90deg,#9f7aff48,#ffffff09)!important;box-shadow:inset 3px 0 #e0a8ff}
html[data-vega-accent] .hf12-media-controls button{background:linear-gradient(125deg,#ffffff24,#7c6ac028)!important}
/* Poll: option selection and progressive results follow real API data. */
html[data-vega-accent] .hf11-poll-scene{background:radial-gradient(circle at 68% 22%,#ffbffa63,transparent 48%),linear-gradient(125deg,#944895,#49307f 66%,#26274f)!important}
html[data-vega-accent] .hf11-inline-details[data-hf11-kind="poll"] .vega-hub-vote label:has(input:checked){border-color:#f6c2ff!important;background:#ffffff27!important;box-shadow:inset 0 0 0 1px #ffffff38}
html[data-vega-accent] .hf11-inline-details[data-hf11-kind="poll"] .vega-hub-result>i{transition:background .45s ease}
/* Keep the preview and CMS intact on small devices. */
@media(max-width:830px){html[data-vega-accent] .hf13-app-switch button{width:27px;height:27px}html[data-vega-accent] .hf13-app-switch{margin-right:4px}}
@media(prefers-reduced-motion:reduce){html[data-vega-accent] .site-sticky-shell,html[data-vega-accent] .hf13-app-switch button,html[data-vega-accent] .hf11-video-select{transition:none!important;animation:none!important}}
/* HF13 cascade seal: R8/R9 apply mode-specific !important backgrounds; this later
   mode-specific rule must win on BOTH themes, otherwise the palette only tints shadows. */
html[data-theme="dark"][data-vega-accent] .site-sticky-shell,
html[data-theme="light"][data-vega-accent] .site-sticky-shell{
 background:linear-gradient(116deg,var(--hf13-header-a) 0%,var(--hf13-header-b) 42%,var(--hf13-header-c) 100%)!important;
}
html[data-theme="dark"][data-vega-accent="rainbow"] .site-sticky-shell,
html[data-theme="light"][data-vega-accent="rainbow"] .site-sticky-shell{
 background:linear-gradient(113deg,#245faa 0%,#5050bb 20%,#91378a 40%,#bc4f60 60%,#a7812c 80%,#167c75 100%)!important;
}
html[data-theme="dark"][data-vega-accent="thermal"] .site-sticky-shell,
html[data-theme="light"][data-vega-accent="thermal"] .site-sticky-shell{
 background:linear-gradient(114deg,#1b568e 0%,#247b96 21%,#38785c 43%,#8a6f31 66%,#9a3d35 86%,#71344f 100%)!important;
}
html[data-theme="dark"][data-vega-accent="milk"] .site-sticky-shell,
html[data-theme="light"][data-vega-accent="milk"] .site-sticky-shell{background:linear-gradient(112deg,#71624d,#928474 42%,#625d6b 100%)!important}
html[data-theme="dark"][data-vega-accent="silver"] .site-sticky-shell,
html[data-theme="light"][data-vega-accent="silver"] .site-sticky-shell{background:linear-gradient(112deg,#3c506b,#748198 46%,#425a74 100%)!important}
html[data-theme][data-vega-accent] .site-sticky-shell :is(.topbar,header,.brand-row){background:transparent!important;background-image:none!important}
