:root {
  --focus-bg: #08070a;
  --focus-rail: #0c0a0e;
  --focus-surface: #121015;
  --focus-raised: #19131a;
  --focus-line: rgba(255, 255, 255, 0.1);
  --focus-line-pink: rgba(255, 91, 190, 0.32);
  --focus-text: #fff9fd;
  --focus-muted: #ab9fa8;
  --focus-pink: #ff4fbb;
  --focus-pink-soft: #ff9bd7;
  --focus-mint: #6ce5bd;
  --focus-rail-width: 226px;
}

body.secondary-focus-shell,
body.public-focus-theme {
  color: var(--focus-text);
  background: var(--focus-bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.secondary-focus-shell h1,
body.secondary-focus-shell h2,
body.secondary-focus-shell h3,
body.public-focus-theme h1,
body.public-focus-theme h2,
body.public-focus-theme h3 {
  font-family: inherit;
  letter-spacing: 0;
}

body.secondary-focus-shell .announcement-stack:not(.hidden) {
  display: grid !important;
  width: 100% !important;
  margin: 16px 0 0 !important;
}

@media (min-width: 901px) {
  body.secondary-focus-shell .member-shell {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 var(--dollos-bottom-safe-area, 170px) var(--focus-rail-width) !important;
  }

  body.secondary-focus-shell .app-member-nav {
    display: contents !important;
  }

  body.secondary-focus-shell .app-member-nav > .logo,
  body.secondary-focus-shell .topbar-status,
  body.secondary-focus-shell .notification-stack {
    display: none !important;
  }

  body.secondary-focus-shell .app-menu-toggle {
    position: fixed !important;
    z-index: 82 !important;
    top: 24px !important;
    left: 168px !important;
    display: grid !important;
    width: 40px !important;
    height: 40px !important;
    place-items: center !important;
    border: 1px solid var(--focus-line) !important;
    border-radius: 8px !important;
    background: var(--focus-surface) !important;
    box-shadow: none !important;
  }

  body.secondary-focus-shell .app-menu-toggle i,
  body.secondary-focus-shell .app-menu-toggle i::before,
  body.secondary-focus-shell .app-menu-toggle i::after {
    content: "" !important;
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: var(--focus-pink-soft) !important;
    box-shadow: none !important;
  }

  body.secondary-focus-shell .app-menu-toggle i {
    position: relative !important;
  }

  body.secondary-focus-shell .app-menu-toggle i::before,
  body.secondary-focus-shell .app-menu-toggle i::after {
    position: absolute !important;
    left: 0 !important;
  }

  body.secondary-focus-shell .app-menu-toggle i::before {
    top: -6px !important;
  }

  body.secondary-focus-shell .app-menu-toggle i::after {
    top: 6px !important;
  }

  body.secondary-focus-shell.app-menu-open .app-menu-toggle i {
    background: transparent !important;
  }

  body.secondary-focus-shell.app-menu-open .app-menu-toggle i::before {
    transform: translateY(6px) rotate(45deg) !important;
  }

  body.secondary-focus-shell.app-menu-open .app-menu-toggle i::after {
    transform: translateY(-6px) rotate(-45deg) !important;
  }

  body.secondary-focus-shell .app-drawer {
    position: fixed !important;
    z-index: 81 !important;
    top: 72px !important;
    left: 164px !important;
    display: none !important;
    width: 250px !important;
    padding: 10px !important;
    border: 1px solid var(--focus-line-pink) !important;
    border-radius: 8px !important;
    background: #171218 !important;
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.52) !important;
  }

  body.secondary-focus-shell.app-menu-open .app-drawer {
    display: grid !important;
  }

  body.secondary-focus-shell .app-drawer .drawer-profile,
  body.secondary-focus-shell .app-drawer > b {
    display: none !important;
  }

  body.secondary-focus-shell .app-drawer a {
    min-height: 40px !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: #d6c8d1 !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  body.secondary-focus-shell .app-drawer a:hover,
  body.secondary-focus-shell .app-drawer a:focus-visible,
  body.secondary-focus-shell .app-drawer a.active {
    color: var(--focus-text) !important;
    background: rgba(255, 79, 187, 0.1) !important;
  }

  body.secondary-focus-shell .member-summary {
    position: fixed !important;
    z-index: 70 !important;
    bottom: 18px !important;
    left: 18px !important;
    display: grid !important;
    width: 190px !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 8px !important;
    border-top: 1px solid var(--focus-line) !important;
    background: var(--focus-rail) !important;
  }

  body.secondary-focus-shell .member-summary img {
    width: 36px !important;
    height: 36px !important;
  }

  body.secondary-focus-shell .member-summary small {
    color: var(--focus-mint) !important;
    font-family: inherit !important;
    font-size: 9px !important;
    letter-spacing: 0 !important;
  }

  body.secondary-focus-shell .member-summary strong {
    overflow: hidden !important;
    margin-top: 3px !important;
    font-family: inherit !important;
    font-size: 13px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.secondary-focus-shell .member-summary .notification-bell,
  body.secondary-focus-shell .member-summary .pwa-install-button,
  body.secondary-focus-shell .member-summary form {
    display: none !important;
  }

  body.secondary-focus-shell .app-shell-v2 {
    display: block !important;
    min-height: 100vh !important;
    padding: 0 !important;
  }

  body.secondary-focus-shell .app-side-v2 {
    position: fixed !important;
    z-index: 60 !important;
    inset: 0 auto 0 0 !important;
    display: flex !important;
    width: var(--focus-rail-width) !important;
    min-width: var(--focus-rail-width) !important;
    flex-direction: column !important;
    padding: 24px 18px 92px !important;
    border: 0 !important;
    border-right: 1px solid var(--focus-line) !important;
    border-radius: 0 !important;
    background: var(--focus-rail) !important;
    box-shadow: none !important;
  }

  body.secondary-focus-shell .hud-dock-row {
    display: contents !important;
  }

  body.secondary-focus-shell .rail-logo {
    display: flex !important;
    width: calc(100% - 40px) !important;
    height: 48px !important;
    align-items: center !important;
    padding: 4px 8px !important;
  }

  body.secondary-focus-shell .rail-logo img {
    display: block !important;
    width: min(150px, 100%) !important;
    height: auto !important;
  }

  body.secondary-focus-shell .hud-nav {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    gap: 6px !important;
    margin: 44px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  body.secondary-focus-shell .hud-nav a {
    display: grid !important;
    min-height: 48px !important;
    grid-template-columns: 28px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    color: var(--focus-muted) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  body.secondary-focus-shell .hud-nav a:hover,
  body.secondary-focus-shell .hud-nav a:focus-visible {
    border-color: var(--focus-line-pink) !important;
    color: var(--focus-pink-soft) !important;
    outline: 0 !important;
    background: rgba(255, 79, 187, 0.08) !important;
  }

  body.secondary-focus-shell .hud-nav a img {
    width: 23px !important;
    height: 23px !important;
    object-fit: contain !important;
  }

  body.secondary-focus-shell .hud-bonus-dock,
  body.secondary-focus-shell .section-rail-nav {
    display: none !important;
  }

  body.secondary-focus-shell .app-main-v2 {
    width: min(1560px, calc(100vw - var(--focus-rail-width) - 48px)) !important;
    max-width: none !important;
    margin: 0 0 0 var(--focus-rail-width) !important;
    padding: 42px 24px 150px !important;
  }

  /* The legacy member stylesheet has older high-specificity shell rules. */
  html body.app-page.secondary-focus-shell .member-shell {
    padding-left: 0 !important;
  }

  html body.app-page.secondary-focus-shell .member-nav.app-member-nav {
    position: static !important;
    display: block !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  html body.app-page.secondary-focus-shell .app-member-nav > .logo.logo-image,
  html body.app-page.secondary-focus-shell .app-member-nav > .topbar-status {
    display: none !important;
  }

  html body.app-page.secondary-focus-shell .app-menu-toggle {
    position: fixed !important;
    top: 24px !important;
    right: auto !important;
    left: 168px !important;
    display: grid !important;
  }

  html body.app-page.secondary-focus-shell .app-member-nav > .app-drawer {
    position: fixed !important;
    top: 72px !important;
    right: auto !important;
    left: 164px !important;
    display: none !important;
    width: 250px !important;
    height: auto !important;
  }

  html body.app-page.secondary-focus-shell.app-menu-open .app-member-nav > .app-drawer {
    display: grid !important;
  }

  html body.app-page.secondary-focus-shell .app-member-nav > .member-summary {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: 18px !important;
    left: 18px !important;
    display: grid !important;
  }

  html body.app-page.secondary-focus-shell .app-shell-v2 {
    width: 100% !important;
    margin: 0 !important;
  }

  html body.app-page.secondary-focus-shell .app-side-v2 .rail-logo {
    display: flex !important;
    width: calc(100% - 44px) !important;
  }

  html body.app-page.secondary-focus-shell .app-side-v2 .hud-bonus-dock,
  html body.app-page.secondary-focus-shell .app-side-v2 > .section-rail-nav {
    display: none !important;
  }

  html body.app-page.secondary-focus-shell .app-main-v2 {
    margin-left: var(--focus-rail-width) !important;
  }
}

body.secondary-focus-shell .app-main-v2 > .member-hero,
body.secondary-focus-shell .app-main-v2 > .sync-overview,
body.secondary-focus-shell .app-main-v2 > .game-hud,
body.secondary-focus-shell .today-layout {
  display: none !important;
}

body.secondary-focus-shell .member-grid {
  display: block !important;
  margin: 0 !important;
}

body.secondary-focus-shell .member-grid > .app-route-panel,
body.secondary-focus-shell .member-grid > [data-hud-panel="playlists"] {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.secondary-focus-shell .app-route-panel > .panel-heading,
body.secondary-focus-shell [data-hud-panel="playlists"] > .panel-heading {
  margin: 0 0 24px !important;
  padding: 0 !important;
}

body.secondary-focus-shell .panel-heading .label,
body.secondary-focus-shell .system-line {
  color: var(--focus-pink-soft) !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

body.secondary-focus-shell .panel-heading h2 {
  margin: 4px 0 6px !important;
  color: var(--focus-text) !important;
  font-family: inherit !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.08 !important;
}

body.secondary-focus-shell .panel-heading .muted {
  max-width: 760px !important;
  color: var(--focus-muted) !important;
  font-size: 15px !important;
}

body.secondary-focus-shell .mindlink-stage {
  min-height: min(720px, calc(100vh - 90px)) !important;
  padding: clamp(28px, 4vw, 58px) !important;
  border: 1px solid var(--focus-line-pink) !important;
  border-radius: 8px !important;
  background: radial-gradient(circle at 50% 45%, rgba(255, 79, 187, 0.11), transparent 34%), var(--focus-surface) !important;
  box-shadow: none !important;
}

body.secondary-focus-shell .mindlink-stage::before {
  display: none !important;
}

body.secondary-focus-shell .mindlink-stage .mindlink-help {
  width: min(980px, 100%) !important;
  margin: 0 auto 38px !important;
  padding: 18px 20px !important;
  border: 1px solid var(--focus-line) !important;
  border-radius: 8px !important;
  background: var(--focus-raised) !important;
  box-shadow: none !important;
}

body.secondary-focus-shell .mindlink-stage .mindlink-help strong {
  color: var(--focus-pink-soft) !important;
  font-family: inherit !important;
  letter-spacing: 0 !important;
}

body.secondary-focus-shell .mindlink-stage .mindlink-help span {
  color: #d8ccd4 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

body.secondary-focus-shell #app-mindlink-phrase {
  width: min(1100px, 100%) !important;
  margin: auto !important;
  color: var(--focus-text) !important;
  font-family: inherit !important;
  font-size: clamp(42px, 5.2vw, 78px) !important;
  font-weight: 700 !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  text-wrap: balance !important;
}

body.secondary-focus-shell #app-mindlink-status {
  margin: 24px auto !important;
  color: var(--focus-muted) !important;
  font-size: 15px !important;
}

body.secondary-focus-shell .mindlink-transcript {
  width: min(900px, 100%) !important;
  margin: 28px auto 0 !important;
  border-color: var(--focus-line) !important;
  border-radius: 8px !important;
  background: var(--focus-raised) !important;
}

body.secondary-focus-shell .mindlink-actions button {
  min-height: 46px !important;
  border-radius: 7px !important;
  box-shadow: none !important;
}

body.secondary-focus-shell [data-hud-panel="playlists"] .jukie-listening-panel,
body.secondary-focus-shell [data-hud-panel="playlists"] .playlist-studio,
body.secondary-focus-shell .bambi-playlist-card {
  border-color: var(--focus-line) !important;
  border-radius: 8px !important;
  background: var(--focus-surface) !important;
  box-shadow: none !important;
}

body.secondary-focus-shell .bambi-playlist-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 18px !important;
}

body.secondary-focus-shell .playlist-library-toolbar {
  align-self: start !important;
  align-content: flex-start !important;
  justify-content: flex-start !important;
  height: auto !important;
  padding: 18px !important;
  border: 1px solid var(--focus-line) !important;
  border-radius: 8px !important;
  background: var(--focus-surface) !important;
}

body.secondary-focus-shell .playlist-library-section {
  align-self: start !important;
  border-color: var(--focus-line) !important;
  border-radius: 8px !important;
  background: var(--focus-surface) !important;
}

body.secondary-focus-shell .bambi-playlist-card.bambi-playlist-focus,
body.secondary-focus-shell .bambi-playlist-card.bambi-track-panel {
  grid-column: auto !important;
}

body.secondary-focus-shell .app-route-panel .feed,
body.secondary-focus-shell .app-route-panel .board {
  display: grid !important;
  width: 100% !important;
  gap: 10px !important;
  margin: 0 !important;
}

body.secondary-focus-shell .app-route-panel .feed-event,
body.secondary-focus-shell .app-route-panel .leader {
  border-color: var(--focus-line) !important;
  border-radius: 8px !important;
  background: var(--focus-surface) !important;
  box-shadow: none !important;
}

body.secondary-focus-shell .app-route-panel .feed-event {
  min-height: 86px !important;
  padding: 18px 20px !important;
}

body.secondary-focus-shell .app-route-panel .leader {
  min-height: 80px !important;
  padding: 15px 20px !important;
}

@media (min-width: 1200px) {
  body.secondary-focus-shell .app-route-panel .feed {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: start !important;
  }
}

body.public-focus-theme .landing-shell,
body.public-focus-theme .member-shell {
  width: min(1600px, calc(100% - 40px));
  max-width: none;
  padding-inline: 20px;
}

body.public-focus-theme .public-nav {
  min-height: 82px;
  border-bottom: 1px solid var(--focus-line);
}

body.public-focus-theme .public-nav a:not(.logo) {
  color: var(--focus-muted);
  font-size: 13px;
  font-weight: 650;
}

body.public-focus-theme .landing-hero,
body.public-focus-theme .member-hero,
body.public-focus-theme .feature-strip,
body.public-focus-theme .feature-strip article,
body.public-focus-theme .public-playlist,
body.public-focus-theme .playlist-sort-bar,
body.public-focus-theme .public-track-details,
body.public-focus-theme .feed-event,
body.public-focus-theme .leader {
  border-radius: 8px !important;
}

body.public-focus-theme h1 {
  max-width: 780px;
  font-family: inherit;
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

body.public-focus-theme h1 em {
  color: var(--focus-pink-soft);
}

body.public-focus-theme .member-hero {
  min-height: 410px;
  padding: clamp(34px, 5vw, 72px);
}

body.public-focus-theme .feed,
body.public-focus-theme .board {
  width: 100%;
  margin: 24px 0 52px;
}

@media (max-width: 1100px) {
  body.secondary-focus-shell .bambi-playlist-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  body.secondary-focus-shell .member-shell {
    width: 100% !important;
    max-width: none !important;
    padding-bottom: 198px !important;
  }

  body.secondary-focus-shell .app-main-v2 {
    width: 100% !important;
    max-width: none !important;
  }

  body.secondary-focus-shell .app-side-v2,
  body.secondary-focus-shell .hud-dock-row {
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  body.secondary-focus-shell .rail-logo {
    display: none !important;
  }

  body.secondary-focus-shell .hud-nav {
    position: fixed !important;
    z-index: 96 !important;
    inset: auto 10px 10px !important;
    display: grid !important;
    width: auto !important;
    height: 72px !important;
    min-height: 72px !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 6px !important;
    border: 1px solid var(--focus-line-pink) !important;
    border-radius: 8px !important;
    background: rgba(12, 10, 14, 0.97) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.52) !important;
    backdrop-filter: blur(18px) !important;
  }

  body.secondary-focus-shell .hud-nav a {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 58px !important;
    min-height: 58px !important;
    grid-template-rows: 28px 18px !important;
    place-items: center !important;
    gap: 2px !important;
    padding: 4px 2px !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: var(--focus-muted) !important;
    background: transparent !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  body.secondary-focus-shell .hud-nav a:hover,
  body.secondary-focus-shell .hud-nav a:focus-visible {
    color: var(--focus-text) !important;
    background: rgba(255, 79, 187, 0.1) !important;
  }

  body.secondary-focus-shell .hud-nav a img {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
  }

  body.secondary-focus-shell .app-persistent-player {
    right: 10px !important;
    bottom: 92px !important;
    left: 10px !important;
    width: auto !important;
  }

  body.secondary-focus-shell .mindlink-stage {
    min-height: 620px !important;
    padding: 22px 16px 130px !important;
  }

  body.secondary-focus-shell #app-mindlink-phrase {
    font-size: clamp(34px, 10vw, 52px) !important;
  }

  body.public-focus-theme .landing-shell,
  body.public-focus-theme .member-shell {
    width: 100%;
    padding-inline: 14px;
  }
}

@media (max-width: 600px) {
  body.secondary-focus-shell .app-route-panel .feed-event {
    align-items: flex-start !important;
  }

  body.secondary-focus-shell .mindlink-stage .mindlink-help {
    margin-bottom: 26px !important;
    padding: 15px !important;
  }

  body.public-focus-theme h1 {
    font-size: clamp(42px, 13vw, 62px);
  }
}
