/* Genesys round-2 chrome. Loaded after the Webex kit CSS so this lab wins. */

[data-theme="bloom"] {
  --cc-bg: #fff7fb;
  --cc-bg-2: #fff1e4;
  --cc-surface: #ffffff;
  --cc-surface-2: #fff6ee;
  --cc-ink: #1b1230;
  --cc-muted: #3d3358;
  --cc-line: rgba(76, 29, 149, 0.2);
  --cc-accent-1: #e11d48;
  --cc-accent-2: #0891b2;
  --cc-accent-3: #7c3aed;
  --cc-accent-4: #d97706;
  --cc-ok: #047857;
  --cc-warn: #b45309;
  --cc-danger: #be123c;
  --cc-on-accent: #fffaf8;
  --cc-link: #5b21b6;
  --cc-shadow: 0 16px 36px rgba(76, 29, 149, 0.12);
  color-scheme: light;
}
[data-theme="bloom"] body {
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(225, 29, 72, 0.18), transparent 55%),
    radial-gradient(800px 380px at -10% 10%, rgba(8, 145, 178, 0.18), transparent 50%),
    radial-gradient(700px 360px at 80% 100%, rgba(124, 58, 237, 0.16), transparent 50%),
    var(--cc-bg);
}

.topbar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  max-height: 64px;
  overflow: hidden;
  padding: 6px 10px;
}
.menu-open {
  order: -1;
  margin-left: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--cc-surface), var(--cc-surface)) padding-box,
    linear-gradient(120deg, #22d3ee, #a78bfa, #f472b6, #fbbf24) border-box;
  color: var(--cc-ink);
  font: inherit;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.45);
  cursor: pointer;
}
.rail-scroller {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}
.primary-nav {
  order: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0;
}
.primary-nav::-webkit-scrollbar { display: none; }
.primary-nav a.is-reading,
.bottom-nav a.is-reading {
  outline: 3px solid #fbbf24;
  box-shadow: 0 0 16px #fbbf24;
}
.rail-arrow {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--cc-line);
  background: var(--cc-surface);
  color: var(--cc-ink);
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.topbar .search { flex: 0 1 220px; min-width: 0; max-width: 240px; }
.display-control { position: relative; flex: 0 0 auto; }
.display-btn, .a11y-font button, .dl-mini, .dl-btn {
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.display-btn {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--cc-line);
  background: var(--cc-surface);
  color: var(--cc-ink);
}
.display-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 50;
  width: min(280px, 80vw);
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--cc-line);
  background: var(--cc-bg);
  box-shadow: var(--cc-shadow);
}
.display-panel[hidden] { display: none !important; }
.a11y-label { margin: 8px 0 4px; font-size: 0.82rem; color: var(--cc-muted); }
.a11y-font { display: flex; gap: 6px; }
.a11y-font button, .menu-font button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--cc-line);
  background: var(--cc-surface);
  color: var(--cc-ink);
}
.a11y-font button[aria-pressed="true"] { border-color: var(--cc-accent-2); box-shadow: inset 0 0 0 2px var(--cc-accent-2); }
input[type="color"] { width: 100%; height: 44px; border: 0; background: transparent; padding: 0; }

.floor-menu {
  left: 0 !important;
  right: auto !important;
  top: 0 !important;
  height: 100% !important;
  width: min(440px, 92vw) !important;
  max-height: none !important;
  border-radius: 0 22px 22px 0 !important;
  transform: translateX(-105%);
  transition: transform 0.28s ease;
}
.floor-menu.is-in { transform: translateX(0); }
.floor-menu { z-index: 90 !important; }
body.menu-open .bottom-nav { visibility: hidden; }
.menu-backdrop { opacity: 0; transition: opacity 0.28s ease; }
.menu-backdrop.is-in { opacity: 1; }
.menu-backdrop[hidden], .floor-menu[hidden] { display: none !important; }

.bottom-nav nav { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
.bottom-nav svg { filter: drop-shadow(0 0 4px var(--cc-accent-2)); }
#quick-menu { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--cc-accent-2) 70%, transparent); }

.site-footer.lab-footer {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: 100% !important;
  margin: 28px 0 0 !important;
  box-sizing: border-box !important;
  padding-bottom: calc(var(--bar-h, 0px) + 36px);
  overflow-wrap: anywhere;
}
.disclaimer-panel,
.disclaimer-panel > div {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.menu-prefs { flex-wrap: wrap; }
.menu-font { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 100%; }
html { scroll-padding-top: calc(var(--chrome-h, 64px) + 8px); }
.brand-icons {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 12px 16px;
  border-radius: 28px;
  border: 2px solid #c4b5fd;
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.28), 0 0 28px rgba(34, 211, 238, 0.45);
}
.brand-tree {
  background: radial-gradient(circle at 30% 20%, #4ade80, #166534 70%);
  box-shadow: 0 0 0 3px #bbf7d0, 0 0 22px #4ade80, 0 6px 18px rgba(0, 0, 0, 0.28);
}
.brand-tree svg { filter: drop-shadow(0 0 4px #ecfdf5); }
.site-footer.lab-footer .disclaimer-panel {
  background: #e7f6ee !important;
  color: #052e2b !important;
  border: 2px solid #0f766e !important;
  box-shadow: none !important;
}
.site-footer.lab-footer .disclaimer-panel h2,
.site-footer.lab-footer .disclaimer-panel p,
.site-footer.lab-footer .disclaimer-panel li {
  color: #052e2b !important;
  -webkit-text-fill-color: #052e2b !important;
  background: none !important;
  text-shadow: none;
}
.site-footer.lab-footer .disclaimer-panel a {
  color: #08306b !important;
  -webkit-text-fill-color: #08306b !important;
  font-weight: 800;
  text-decoration: underline;
  background: none !important;
}
.site-footer.lab-footer .footer-brand,
.site-footer.lab-footer .site-copy,
.site-footer.lab-footer .footer-license {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}
.site-footer.lab-footer .footer-actions a,
.site-footer.lab-footer .footer-actions button {
  color: #1b1230 !important;
  -webkit-text-fill-color: #1b1230 !important;
  background: #ffffff !important;
  border: 2px solid #5b21b6;
}
.chrome {
  position: sticky !important;
  top: 8px !important;
  z-index: 40;
  margin: 8px 12px 10px;
  width: auto;
  max-height: none;
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: color-mix(in srgb, var(--cc-surface) 88%, transparent) !important;
  backdrop-filter: blur(18px);
  box-shadow:
    0 16px 36px rgba(76, 29, 149, 0.28),
    0 0 0 1px rgba(167, 139, 250, 0.45),
    0 0 28px rgba(34, 211, 238, 0.4);
  animation: dock-glow 4.8s ease-in-out infinite;
}
.topbar, .primary-nav, .onpage, .rail {
  position: static !important;
  top: auto !important;
}
.topbar { overflow: visible; background: var(--cc-bg); }
main { position: relative; z-index: 0; }
h1, h2, h3, .learn5, .card, .site-footer { scroll-margin-top: calc(var(--chrome-h, 64px) + 12px); }
@media (min-width: 701px) {
  .hero-icons { padding-right: 16px; }
  #view { padding-right: 168px; }
}
#home-icons.icon-parade { min-height: 0; }
.footer-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 8px 0 0; }
.footer-actions .btn { min-height: 44px; }

.dl-bar, .learn5, .eco-panel, .worked {
  margin: 12px 0;
}
.dl-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 48px;
}
.dl-kicker { font-weight: 800; color: var(--cc-muted); }
.dl-mini, a.dl-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  color: #1a0c08;
}
.dl-mini[data-export="html"], a.dl-mini[href$=".html"] { background: #67e8f9; }
.dl-mini[data-export="svg"] { background: #fde68a; }
.dl-mini[data-export="png"] { background: #f9a8d4; }
.dl-mini[href$=".zip"], a.dl-mini[href$=".zip"] { background: #c4b5fd; }
h2:has(.dl-mini) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
h2 .dl-mini { float: none; margin-left: auto; }
.learn5, .eco-panel {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--cc-line);
  background: color-mix(in srgb, var(--cc-surface) 88%, var(--cc-accent-3));
}
.read-caption {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(var(--bar-h, 0px) + 12px);
  z-index: 48;
  margin: 0 auto;
  max-width: 720px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #1b1230;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.read-caption[hidden] { display: none !important; }
.is-spoken {
  background: #fde68a !important;
  color: #1b1230 !important;
  border-radius: 8px;
  box-shadow: 0 0 0 4px #f59e0b, 0 0 22px #f59e0b !important;
  scroll-margin-top: calc(var(--chrome-h, 64px) + 28px);
  scroll-margin-bottom: calc(var(--bar-h, 64px) + 36px);
}
.is-reading-sec {
  outline: 3px solid #f59e0b;
  outline-offset: 4px;
  border-radius: 16px;
  box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.35), 0 0 28px rgba(245, 158, 11, 0.65);
}

.mini-quiz label { display: block; margin: 6px 0; }

.bottom-nav {
  display: block !important;
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 10px !important;
  width: min(760px, calc(100vw - 24px));
  transform: translateX(-50%);
  z-index: 70 !important;
  padding: 6px 8px !important;
  border-radius: 26px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: color-mix(in srgb, var(--cc-surface) 90%, #ddd6fe) !important;
  backdrop-filter: blur(18px);
  box-shadow:
    0 18px 40px rgba(76, 29, 149, 0.32),
    0 0 0 1px rgba(167, 139, 250, 0.55),
    0 0 32px rgba(34, 211, 238, 0.45);
  animation: dock-glow 4.8s ease-in-out infinite;
}
.bottom-nav a, .bottom-nav button {
  min-height: 48px;
  max-height: 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#quick-menu {
  background: linear-gradient(135deg, #7c3aed, #ec4899) !important;
  color: #fff !important;
  border-radius: 16px;
  box-shadow: 0 0 16px #f472b6, 0 8px 16px rgba(124, 58, 237, 0.35);
}
[data-theme="bloom"] .primary-nav a {
  color: #1b1230;
  background: linear-gradient(120deg, #ffffff, #f5f3ff) !important;
  border: 1px solid rgba(124, 58, 237, 0.4) !important;
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.18), 0 0 12px rgba(34, 211, 238, 0.28);
}
[data-theme="bloom"] .icon-tile,
[data-theme="bloom"] a.card,
[data-theme="bloom"] .cheat-banner {
  background: linear-gradient(165deg, #ffffff 0%, #fff1f7 46%, #e0f2fe 100%) !important;
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.22), 0 0 0 2px rgba(167, 139, 250, 0.5), inset 0 1px 0 #fff !important;
}
[data-theme="bloom"] .icon-tile b,
[data-theme="bloom"] .icon-tile .tile-label { color: #1b1230 !important; }
[data-theme="bloom"] .icon-tile span,
[data-theme="bloom"] .icon-tile .tile-note { color: #3d3358 !important; }
[data-theme="night"] .chrome,
[data-theme="night"] .bottom-nav {
  background: color-mix(in srgb, #121c2b 90%, #312e81) !important;
  border-color: rgba(125, 211, 252, 0.45);
}
[data-theme="night"] .icon-tile {
  background: linear-gradient(160deg, #1e1b4b, #0f172a 55%, #134e4a) !important;
}
@keyframes dock-glow {
  50% { box-shadow: 0 16px 36px rgba(236, 72, 153, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.8), 0 0 36px rgba(34, 211, 238, 0.55); }
}
@media (prefers-reduced-motion: no-preference) {
  .primary-nav a, .bottom-nav a, .bottom-nav button, .menu-open {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }
  .primary-nav a:hover, .bottom-nav a:hover, .bottom-nav button:hover, .menu-open:hover {
    transform: translateY(-2px);
  }
  .icon-tile:hover, a.card:hover {
    transform: translateY(-8px) rotateX(6deg) rotateY(-8deg);
  }
}
.fx-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.fx-field i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #22d3ee, 0 0 16px #f472b6;
  animation: fx-float 8s ease-in-out infinite;
}
@keyframes fx-float {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.4; }
  50% { transform: translate3d(10px, -26px, 0); opacity: 1; }
}
.hero-3d {
  position: absolute;
  right: 8%;
  top: 6%;
  width: 220px;
  height: 220px;
  z-index: 1;
  pointer-events: none;
  perspective: 800px;
}
.hero-3d .obj { position: absolute; transform-style: preserve-3d; animation: pl-rot 14s linear infinite; }
.hero-3d .obj i { position: absolute; inset: 0; border: 2px solid rgba(255, 255, 255, 0.85); }
.hero-3d .o1 { left: 50px; top: 24px; width: 110px; height: 110px; }
.hero-3d .o1 i { border-radius: 16px; box-shadow: 0 0 24px rgba(255, 255, 255, 0.35); }
.hero-3d .o1 i:nth-child(1) { transform: translateZ(55px); background: linear-gradient(135deg, #22d3ee, #6366f1); }
.hero-3d .o1 i:nth-child(2) { transform: rotateY(180deg) translateZ(55px); background: linear-gradient(135deg, #f472b6, #f59e0b); }
.hero-3d .o1 i:nth-child(3) { transform: rotateY(90deg) translateZ(55px); background: linear-gradient(135deg, #fde047, #10b981); }
.hero-3d .o1 i:nth-child(4) { transform: rotateY(-90deg) translateZ(55px); background: linear-gradient(135deg, #a78bfa, #ec4899); }
.hero-3d .o1 i:nth-child(5) { transform: rotateX(90deg) translateZ(55px); background: linear-gradient(135deg, #34d399, #0ea5e9); }
.hero-3d .o1 i:nth-child(6) { transform: rotateX(-90deg) translateZ(55px); background: linear-gradient(135deg, #fb923c, #f43f5e); }
.hero-3d .o2 { left: 0; top: 130px; width: 64px; height: 64px; animation-duration: 9s; animation-direction: reverse; }
.hero-3d .o2 i { border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #ec4899 50%, #7c3aed); box-shadow: 0 0 18px #ec4899; }
.hero-3d .o2 i:nth-child(2) { transform: rotateY(60deg); }
.hero-3d .o2 i:nth-child(3) { transform: rotateY(120deg); }
.hero-3d .o3 { left: 150px; top: 150px; width: 48px; height: 48px; animation-duration: 11s; }
.hero-3d .o3 i { border-radius: 8px; background: linear-gradient(135deg, #fde047, #f97316); box-shadow: 0 0 16px #fde047; }
.hero-3d .o3 i:nth-child(1) { transform: translateZ(24px); }
.hero-3d .o3 i:nth-child(2) { transform: rotateY(90deg) translateZ(24px); }
.hero-3d .o3 i:nth-child(3) { transform: rotateX(90deg) translateZ(24px); }
@keyframes pl-rot { to { transform: rotateX(380deg) rotateY(360deg); } }
@media (min-width: 701px) {
  .hero-bleed {
    height: auto;
    min-height: 0;
    max-height: none;
    margin-bottom: 18px;
    overflow: visible;
    justify-content: flex-start;
    padding-top: 18px;
  }
  .bottom-nav {
    transform: none;
    width: min(760px, calc(100vw - 210px));
    left: calc((100vw - 190px - min(760px, 100vw - 210px)) / 2) !important;
  }
}

@media (max-width: 1100px) {
  .topbar .search { display: none; }
}
@media (max-width: 700px) {
  .rail-scroller, .topbar .search, .display-control { display: none !important; }
  .topbar { height: 56px; max-height: 56px; padding: 0 10px; }
  .menu-open { margin-left: 0 !important; }
  .chrome { margin: 6px 8px 8px; top: 6px !important; }
  .floor-menu { width: min(100%, 440px) !important; z-index: 90 !important; }
  body.menu-open .bottom-nav { visibility: hidden; }
  .bottom-nav { width: calc(100vw - 16px); bottom: 8px !important; }
  .hero-3d { display: none; }
  .hero-bleed .hero-mascot { display: none !important; }
  main, body[data-home="1"] main { padding-bottom: calc(var(--bar-h, 64px) + 64px) !important; }
  #view, .audio-dock, .cheat-banner, #home-flows, #home-charts { padding-right: 8px; }
  #home-icons.icon-parade { margin-top: 8px; }
  .hero-copy { padding-right: 80px; }
  .hero-copy .ring { display: none; }
  .hero-copy .statrow { margin: 6px 0 !important; }
  .read-caption { bottom: calc(var(--bar-h, 64px) + 96px); }
  .hero-copy .chips { margin-right: 8px; }
  #hero-play { max-width: calc(100% - 8px); }
  .site-footer.lab-footer { padding-bottom: calc(var(--bar-h, 64px) + 48px); }
}
@media (prefers-reduced-motion: reduce) {
  .floor-menu, .menu-backdrop { transition: none; }
}
[data-reduce="1"] .chrome,
[data-reduce="1"] .bottom-nav,
[data-reduce="1"] .fx-field i,
[data-reduce="1"] .hero-3d .obj,
[data-reduce="1"] .icon-tile,
[data-reduce="1"] .primary-nav a,
[data-reduce="1"] .menu-open {
  animation: none !important;
  transition: none !important;
}
[data-reduce="1"] .icon-tile:hover,
[data-reduce="1"] a.card:hover,
[data-reduce="1"] .primary-nav a:hover,
[data-reduce="1"] .bottom-nav a:hover,
[data-reduce="1"] .bottom-nav button:hover {
  transform: none;
}
.sources-deeper {
  margin: 28px 0 12px;
  padding: 16px 18px 8px;
  border: 2px solid #0f766e;
  border-radius: 16px;
  background: #f0fdfa !important;
  color: #042f2e !important;
  -webkit-text-fill-color: #042f2e !important;
}
.sources-deeper h2,
.sources-deeper p,
.sources-deeper li,
.sources-deeper .src-kind,
.sources-deeper .src-checked,
.sources-deeper .src-note {
  color: #042f2e !important;
  -webkit-text-fill-color: #042f2e !important;
  background: none;
  text-shadow: none;
}
.sources-deeper h2 { margin: 0 0 8px; font-size: 1.25rem; }
.sources-deeper a {
  color: #08306b !important;
  -webkit-text-fill-color: #08306b !important;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.sources-deeper .src-kind {
  display: inline-block;
  min-width: 8.5rem;
  margin-right: 6px;
  font-weight: 800;
  font-size: 0.82rem;
}
.sources-deeper .src-checked,
.sources-deeper .src-note { display: inline; margin-left: 6px; }
.hero-bleed .hero-mascot,
#mascot-slot.hero-mascot {
  display: none !important;
}
.brand .mark.lab-logo {
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid !important;
  place-items: center;
  background: transparent;
  border-radius: 16px;
  box-shadow: 0 0 0 2px #fff, 0 0 16px #22d3ee, 0 8px 18px rgba(124, 58, 237, 0.45);
  overflow: hidden;
}
.brand .mark.lab-logo svg { width: 48px; height: 48px; display: block; }
.chrome {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(237, 233, 254, 0.94)) padding-box,
    linear-gradient(120deg, #22d3ee, #a78bfa, #f472b6, #fbbf24) border-box !important;
  border: 3px solid transparent !important;
  box-shadow:
    0 18px 36px rgba(76, 29, 149, 0.28),
    0 0 28px rgba(34, 211, 238, 0.55) !important;
}
.bottom-nav {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(224, 242, 254, 0.94)) padding-box,
    linear-gradient(120deg, #22d3ee, #a78bfa, #f472b6) border-box !important;
  border: 3px solid transparent !important;
}
body[data-home="1"] .hero-bleed {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  justify-content: flex-start !important;
  padding-top: 20px;
  scroll-margin-top: calc(var(--chrome-h, 64px) + 24px);
  background:
    radial-gradient(720px 380px at 8% 18%, rgba(244, 114, 182, 0.72), transparent 58%),
    radial-gradient(640px 360px at 92% 8%, rgba(34, 211, 238, 0.62), transparent 56%),
    radial-gradient(560px 320px at 70% 88%, rgba(167, 139, 250, 0.55), transparent 52%),
    linear-gradient(145deg, #1e1b4b 0%, #5b21b6 42%, #9d174d 72%, #155e75 100%) !important;
  color: #f8fafc;
}
.hero-copy {
  scroll-margin-top: calc(var(--chrome-h, 64px) + 28px);
  background: linear-gradient(145deg, rgba(15, 10, 40, 0.96), rgba(49, 20, 110, 0.94)) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.35), 0 16px 32px rgba(15, 10, 40, 0.35);
}
.hero-copy h1 {
  scroll-margin-top: calc(var(--chrome-h, 64px) + 36px);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 2px 0 rgba(15, 10, 40, 0.35);
}
.hero-copy .kicker,
.hero-copy .lede,
.hero-copy .greet {
  color: #fde68a !important;
  -webkit-text-fill-color: #fde68a !important;
}
.hero-copy .lede { color: #f8fafc !important; -webkit-text-fill-color: #f8fafc !important; }
.hero-copy .stat {
  background: rgba(15, 10, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
}
.hero-copy .stat b,
.hero-copy .stat span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.hero-copy .btn:not(.primary) {
  background: #ffffff;
  color: #1b1230;
  border-color: transparent;
}
.hero-bleed .float-card {
  background: rgba(15, 10, 40, 0.82);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.4);
  font-weight: 700;
}
.ticker {
  position: fixed;
  z-index: 65;
  left: 12px;
  right: 196px;
  bottom: calc(var(--bar-h, 64px) + 18px);
  height: 40px;
  margin: 0;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(90deg, #1e1b4b, #6d28d9 55%, #9d174d);
  color: #f8fafc;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.5), 0 10px 24px rgba(15, 10, 40, 0.35);
}
.ticker-line { color: #f8fafc; padding-top: 0; padding-bottom: 0; line-height: 40px; }
#home-icons.icon-parade {
  position: relative;
  z-index: 3;
  margin: 12px 16px 8px;
  padding: 0 8px 8px;
}
#home-icons .icon-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 188px;
  padding: 12px 8px 14px;
  overflow: visible;
  text-align: center;
}
#home-icons .iso-stage {
  width: 124px;
  height: 108px;
  margin: 0 auto 4px;
}
#home-icons .icon-tile svg,
#home-icons .icon-tile svg.iso {
  width: 116px !important;
  height: 100px !important;
  max-height: none !important;
}
#home-icons .live-icon { display: none !important; }
#home-icons .iso-stage.has-live svg.iso { opacity: 1 !important; }
#home-icons .tile-copy { display: flex; flex-direction: column; min-width: 0; align-items: center; }
#home-icons .icon-tile b { font-size: 1.35rem; line-height: 1.1; }
body[data-home="1"] .audio-dock { margin-top: calc(var(--bar-h, 64px) + 88px); }
#home-icons .tile-label,
#home-icons .tile-note { position: relative; z-index: 2; }
[data-theme="bloom"] #home-icons .icon-tile:nth-child(1) { background: linear-gradient(160deg, #3b0764, #5b21b6 70%) !important; }
[data-theme="bloom"] #home-icons .icon-tile:nth-child(2) { background: linear-gradient(160deg, #134e4a, #155e75 70%) !important; }
[data-theme="bloom"] #home-icons .icon-tile:nth-child(3) { background: linear-gradient(160deg, #14532d, #166534 70%) !important; }
[data-theme="bloom"] #home-icons .icon-tile:nth-child(4) { background: linear-gradient(160deg, #831843, #9d174d 70%) !important; }
[data-theme="bloom"] #home-icons .icon-tile:nth-child(5) { background: linear-gradient(160deg, #1e3a8a, #1e40af 70%) !important; }
[data-theme="bloom"] #home-icons .icon-tile:nth-child(6) { background: linear-gradient(160deg, #7c2d12, #9a3412 70%) !important; }
[data-theme="bloom"] #home-icons .icon-tile b,
[data-theme="bloom"] #home-icons .icon-tile .tile-label,
[data-theme="bloom"] #home-icons .icon-tile .tile-note,
[data-theme="bloom"] #home-icons .icon-tile span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
[data-theme="bloom"] body {
  background:
    radial-gradient(900px 480px at 0% -10%, rgba(244, 114, 182, 0.38), transparent 52%),
    radial-gradient(820px 420px at 100% 0%, rgba(34, 211, 238, 0.32), transparent 48%),
    radial-gradient(700px 480px at 70% 100%, rgba(124, 58, 237, 0.24), transparent 50%),
    linear-gradient(180deg, #ffe4f1 0%, #efe9ff 42%, #e0f2fe 100%);
}
[data-theme="bloom"] a.card,
[data-theme="bloom"] .cheat-banner,
[data-theme="bloom"] .audio-dock,
[data-theme="bloom"] .learn5,
[data-theme="bloom"] .panel {
  background: linear-gradient(155deg, #ffffff 0%, #ffe4f1 46%, #ddd6fe 100%) !important;
  border: 2px solid #c4b5fd !important;
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.2), 0 0 22px rgba(34, 211, 238, 0.22), inset 0 1px 0 #fff !important;
  color: #1b1230 !important;
}
[data-theme="bloom"] a.card,
[data-theme="bloom"] a.card h3,
[data-theme="bloom"] a.card p,
[data-theme="bloom"] .cheat-banner,
[data-theme="bloom"] .cheat-banner h2,
[data-theme="bloom"] .cheat-banner p,
[data-theme="bloom"] .audio-dock,
[data-theme="bloom"] .audio-dock p {
  color: #1b1230 !important;
  -webkit-text-fill-color: #1b1230 !important;
}
[data-theme="bloom"] .audio-dock .muted,
[data-theme="bloom"] a.card .muted,
[data-theme="bloom"] .cheat-banner .kicker {
  color: #3d3358 !important;
  -webkit-text-fill-color: #3d3358 !important;
}
body[data-home="1"] main { padding-bottom: calc(var(--bar-h, 64px) + 72px) !important; }
.site-footer.lab-footer { padding-bottom: calc(var(--bar-h, 64px) + 78px); }
.hero-copy { padding: 12px 14px 10px; }
.hero-copy h1 { margin-bottom: 6px; }
.hero-copy .lede { margin: 0 0 8px; }
.hero-copy .statrow { flex-wrap: nowrap; align-items: center; }
.hero-copy .stat { min-width: 0; flex: 1 1 auto; padding: 8px 10px; }
.hero-copy .stat b { display: block; }
.hero-copy .stat span { display: block; font-size: 0.78rem; }
.hero-copy .ring {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  background: conic-gradient(#fde68a calc(var(--p) * 1%), rgba(255, 255, 255, 0.35) 0);
}
.hero-copy .ring span {
  width: 46px;
  height: 46px;
  background: #1e1b4b;
  color: #ffffff;
  font-size: 0.85rem;
}
@media (min-width: 701px) {
  #home-icons.icon-parade {
    width: calc(100% - 210px);
    margin-left: 16px;
    margin-right: 0;
  }
  #home-icons .iso-stage { width: 104px; height: 88px; }
  #home-icons .icon-tile svg,
  #home-icons .icon-tile svg.iso { width: 96px !important; height: 82px !important; }
  #home-icons .icon-tile { min-height: 0; padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 700px) {
  .brand .mark.lab-logo,
  .brand .mark.lab-logo svg { width: 44px; height: 44px; }
  .ticker { left: 8px; right: 8px; bottom: calc(var(--bar-h, 64px) + 14px); }
  body[data-home="1"] .hero-bleed { padding-top: 6px; }
  .hero-scrim { padding: 8px 8px 0; }
  .hero-copy, .hero-scrim, .hero-bleed, #home-icons { max-width: 100%; min-width: 0; }
  .hero-copy { padding-right: 76px; }
  .hero-copy h1 { font-size: 1.6rem; }
  .hero-copy .lede {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
  }
  .hero-copy .statrow { flex-wrap: nowrap; overflow: visible; }
  .hero-copy .stat { flex: 1 1 0; max-width: none; min-width: 0; padding: 4px 3px; }
  .hero-copy .stat b { font-size: 1.05rem; }
  .hero-copy .stat span { font-size: 0.68rem; line-height: 1.15; }
  .hero-copy .chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
  .hero-copy .chips .btn { flex: 0 0 auto; }
  #hero-play { display: none !important; }
  #home-icons.icon-parade {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: auto;
    margin: 8px 8px 0;
  }
  #home-icons .icon-tile {
    flex-direction: row;
    align-items: center;
    min-width: 0;
    min-height: 72px;
    padding: 6px 8px;
    gap: 6px;
    text-align: left;
  }
  #home-icons .iso-stage { width: 58px; height: 52px; margin: 0; flex: none; }
  #home-icons .icon-tile svg,
  #home-icons .icon-tile svg.iso { width: 54px !important; height: 48px !important; }
  #home-icons .tile-copy { align-items: flex-start; flex: 1 1 auto; }
  #home-icons .icon-tile b { font-size: 1rem; }
  #home-icons .tile-label { font-size: 0.92rem; line-height: 1.15; }
  #home-icons .tile-note { font-size: 0.72rem; line-height: 1.15; }
}
.sources-deeper .src-flag {
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fde68a !important;
  color: #422006 !important;
  -webkit-text-fill-color: #422006 !important;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
