/* Current live home DOM only; route component owns/removes the marker. */
:is(html.dark, body.dark) [data-home-menu="contrast-v1"] {
  background: #050607 !important;
}
:is(html.dark, body.dark) [data-home-menu="contrast-v1"] > [aria-hidden="true"] {
  background: none !important;
}
/* Keep a translucent glass surface without the previous broad gray haze. */
:is(html.dark, body.dark) [data-home-menu="contrast-v1"] .desktop-home-primary-grid > [data-home-entry] > div {
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)) !important;
  border-color: rgba(255,255,255,.14) !important;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}
:is(html.dark, body.dark) [data-home-menu="contrast-v1"] [data-home-selected="true"] > div:first-child {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--home-entry-accent) 64%, transparent),
    color-mix(in srgb, var(--home-entry-accent) 38%, transparent)) !important;
  border-color: color-mix(in srgb, var(--home-entry-accent) 88%, white) !important;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--home-entry-accent) 85%, white),
    inset 0 1px 0 rgba(255,255,255,.18),
    0 12px 28px -20px var(--home-entry-accent) !important;
}
:is(html.dark, body.dark) [data-home-menu="contrast-v1"] [data-home-selected="true"] > div:first-child > svg:last-of-type {
  stroke-width: 2.5;
  filter: drop-shadow(0 3px 7px rgba(0,0,0,.24)) !important;
}
:is(html.dark, body.dark) [data-home-menu="contrast-v1"] [data-home-entry][data-home-selected="true"] > div > div.relative > div {
  color: #fff !important;
}
:is(html.dark, body.dark) [data-home-menu="contrast-v1"] [data-home-entry][data-home-selected="true"] > div > div.relative > div + div {
  color: #fff !important;
}
:is(html.dark, body.dark) [data-home-menu="contrast-v1"] [data-home-shortcut][data-home-selected="true"] > div:last-child {
  color: #fff !important;
}
:is(html.dark, body.dark) [data-home-menu="contrast-v1"] [data-home-shortcut][data-home-selected="true"] > div:first-child > div {
  opacity: .2 !important;
}
/* Keep the decorative watermark from washing out selected tile subtitles. */
:is(html.dark, body.dark) [data-home-menu="contrast-v1"] [data-home-entry][data-home-selected="true"] > div:first-child > svg:first-of-type {
  opacity: .12;
}
