html.fx-menu-open { overflow: hidden; }
body .fx-shell-header .fx-menu-control {
  display: grid; place-items: center; width: 44px; min-height: 44px;
  padding: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none;
  color: #fbf7ff; cursor: pointer;
}
body .fx-shell-header .fx-menu-close { border: 1px solid #5b5067; }
dialog.fx-discovery-menu {
  inset: 0 0 auto; margin: .45rem auto 0; padding: 0;
  width: min(30rem, calc(100% - .9rem)); max-width: none; max-height: calc(100dvh - .9rem);
  overflow: auto; overscroll-behavior: contain;
  border: 1px solid #27252e; border-radius: 1.15rem;
  background: #101015; color: #fbf7ff; box-shadow: 0 18px 65px #0008;
  color-scheme: dark;
}
.fx-discovery-menu::backdrop { background: #05050ac4; }
.fx-menu-panel { display: grid; gap: .9rem; padding: clamp(.85rem, 4.6vw, 1.4rem); }
.fx-menu-top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.fx-menu-top form { margin: 0; }
.fx-menu-brand { display: inline-flex; align-items: center; min-height: 44px; }
.fx-menu-brand img { display: block; width: 10.5rem; height: auto; }
.fx-discovery-menu .fx-shell-search { width: 100%; border-color: #625970; background: #1c1b23; }
body .fx-discovery-menu .fx-shell-search :is(button, input) { min-height: 42px; }
.fx-discovery-menu .fx-search-results { z-index: 3; background: #211c2d; }
.fx-menu-panel nav { display: block; }
body .fx-menu-panel h2 { margin: 0 0 .45rem; font: 750 1.25rem/1.2 'DM Sans', system-ui, sans-serif; color: #fbf7ff; }
body .fx-menu-categories h2 { font-size: 1rem; color: #d4c7da; font-weight: 650; }
.fx-menu-topic, .fx-menu-all {
  display: grid; grid-template-columns: 25px minmax(0, 1fr) 20px; gap: .7rem;
  align-items: center; padding: .45rem .35rem; min-height: 49px;
  border-bottom: 1px solid #34313b; color: #fbf7ff; text-decoration: none; font-weight: 750;
}
.fx-menu-topic-icon { color: #f3c8e7; display: grid; place-items: center; }
.fx-menu-topic > svg, .fx-menu-all > svg { width: 18px; height: 18px; }
.fx-menu-topic.fx-menu-feature {
  grid-template-columns: minmax(0, 1fr) clamp(48px, 16vw, 72px) 20px;
  min-height: 90px; padding: .75rem .85rem; border: 0; border-radius: .8rem;
  font-size: clamp(1.1rem, 4.9vw, 1.55rem); line-height: 1.1;
  background: radial-gradient(ellipse at 70% 54%, #6c287c, transparent 45%), linear-gradient(105deg,#3a1840,#181725);
}
.fx-menu-feature .fx-menu-topic-icon {
  grid-column: 2; grid-row: 1;
  width: 100%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #e6aefb;
  background: radial-gradient(circle at 32% 17%, #f4d5ff, #944ad3 35%, #311a59 66%, #bf77e4 95%);
  box-shadow: inset 0 0 8px #f8b8ff, 0 0 16px #e999f65c;
}
.fx-menu-feature .fx-menu-topic-icon svg { width: 55%; height: auto; color: #20102c; stroke-width: 2; }
.fx-menu-feature > span:nth-child(2) { grid-column: 1; grid-row: 1; }
.fx-menu-feature > svg { grid-column: 3; grid-row: 1; }
.fx-menu-panel a[aria-current="page"] { color: #f7b6e7; }
.fx-menu-panel a:hover { text-decoration: underline; text-underline-offset: .18em; }
.fx-menu-categories > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; }
.fx-menu-categories > div a {
  display: grid; place-items: center; min-height: 44px; padding: .2rem .08rem;
  background: #1c1b23; border: 1px solid #3c3744; border-radius: .5rem;
  text-align: center; text-decoration: none; color: #fbf7ff; font-size: .875rem;
}
.fx-menu-all { grid-template-columns: 1fr 20px; min-height: 44px; color: #e5cafa; border: 0; margin-top: .35rem; }
.fx-menu-support { border-top: 1px solid #34313b; }
.fx-menu-support a {
  display: inline-flex; align-items: center; min-height: 44px; margin-right: .9rem;
  color: #d4c7da; font-size: .875rem; text-underline-offset: .18em;
}
@media (max-width: 21rem) { .fx-menu-categories > div { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.fx-discovery-hero {
  padding: clamp(1rem, 5vw, 2rem); border: 1px solid #594363; border-radius: 1.15rem;
  background: radial-gradient(ellipse at 100% 0, #49234d, transparent 67%), #1b1827;
}
.fx-discovery-hero p { max-width: 41rem; margin-bottom: 0; }
.fx-discovery-hero .fx-catalog-breadcrumb { color: #d4c7da; font-size: .875rem; }
.fx-discovery-hero .fx-catalog-breadcrumb a { color: #f2d3f5; }
.fx-discovery-content, .fx-discovery-section { margin-top: 1.5rem; }
.fx-discovery-section { scroll-margin-top: 1rem; }
.fx-discovery-section h2 { font: 750 clamp(1.3rem, 4vw, 1.7rem)/1.2 'DM Sans', system-ui, sans-serif; margin: 0 0 .5rem; }
.fx-discovery-section > p { max-width: 42rem; }
.fx-discovery-card h3 { font: 750 1.2rem/1.2 'DM Sans', system-ui, sans-serif; margin: 0; }
.fx-discovery-card .fx-discovery-image-note { margin: -.65rem 0 .6rem; }
.fx-discovery-card .fx-catalog-image { aspect-ratio: 1.4; object-fit: cover; }
.fx-discovery-source { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: 0; }
.fx-discovery-source a { color: #edc8fa; }
.fx-discovery-source small, .fx-discovery-source .fx-clip-views { margin: 0; }
a.fx-discovery-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .85rem;
  margin-top: auto; border-radius: 999px; border: 1px solid #a97abf;
  color: #f3d8fc; font-weight: 750; text-decoration: none;
}
a.fx-discovery-cta:hover { background: #372443; }
.fx-discovery-empty { padding: 1rem; border: 1px solid #594363; border-radius: .85rem; background: #19172a; }
.fx-discovery-empty p { margin-top: 0; }
.fx-discovery-jump, .fx-discovery-onward { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.fx-discovery-onward { margin-top: 1.7rem; padding-top: .55rem; border-top: 1px solid #594363; }
.fx-discovery-jump a, .fx-discovery-onward a {
  display: inline-flex; align-items: center; min-height: 44px; color: #edc8fa; text-underline-offset: .2em;
}

.fx-menu-categories details { padding: .25rem 0; background: transparent; border: 0; box-shadow: none; }
.fx-menu-categories summary { min-height: 44px; padding: .65rem .35rem; color: #fbf7ff; cursor: pointer; font-weight: 700; }
.fx-menu-category-grid { display: flex; flex-wrap: wrap; gap: .4rem; padding: .45rem 0; }
.fx-menu-category-grid a { display: inline-flex; align-items: center; min-height: 44px; padding: .25rem .7rem; border: 1px solid #514259; border-radius: .65rem; color: #fbf7ff; text-decoration: none; }
.fx-discovery-visual { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: clamp(1rem,4vw,2rem); align-items: center; }
.fx-discovery-visual img { display: block; width: 100%; height: auto; max-height: 23rem; object-fit: cover; border-radius: .75rem; }
.fx-discovery-visual div { min-width: 0; }
.fx-discovery-buy { margin-top: auto; }
.fx-discovery-buy small { display: block; }
.fx-discovery-card :is(h2, h3) a { color: #fbf7ff; text-decoration: underline; text-decoration-color: #8c729f; text-underline-offset: .16em; }
.fx-editorial-rail { margin-block: 2rem; }
.fx-editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.fx-editorial-grid a { position: relative; display: flex; align-items: end; min-height: 13rem; padding: clamp(.85rem, 3vw, 1.4rem); isolation: isolate; border: 1px solid #544263; border-radius: 1.1rem; overflow: hidden; background: #201d32; color: #fff; text-decoration: none; }
.fx-editorial-grid a::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #090710 2%, #100a18ad 40%, transparent 82%); }
.fx-editorial-grid img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-editorial-grid strong, .fx-editorial-grid small { display: block; }
.fx-editorial-grid strong { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; margin-bottom: .25rem; }
.fx-editorial-grid small { font-size: .9rem; }
.fx-editorial-grid a:hover, .fx-editorial-grid a:focus-visible { border-color: #fba3df; }
@media(max-width: 42rem) {
  .fx-editorial-grid, .fx-discovery-visual { grid-template-columns: 1fr; }
  .fx-editorial-grid a { min-height: 10rem; }
  .fx-discovery-visual img { max-height: 13rem; }
}
