body[data-followup-release="239"] .feature-panel-nav .feature-switch-btn {
  display: inline-flex !important;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 1px !important;
  padding-inline: 7px !important;
  text-align: center;
}

body[data-followup-release="239"] .feature-panel-nav .feature-switch-btn .nav-icon {
  width: 18px !important;
  min-width: 18px;
  height: 18px !important;
  flex: 0 0 18px;
  margin: 0 !important;
  background-position: center;
  background-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

body[data-followup-release="239"] .feature-panel-nav
  .feature-switch-btn > span:not(.nav-icon, .information-nav-badge) {
  min-width: 0;
  line-height: 1;
  white-space: nowrap;
}

body[data-followup-release="239"][data-active-panel="home"]:has(
  #avatar-scene :is(#ant-action-cue, #ant-scene-dialogue):not(.hidden)
) .information-alert {
  visibility: hidden !important;
  pointer-events: none !important;
}

body[data-followup-release="239"][data-active-panel="home"] #avatar-scene #ant-action-cue[data-action="work"] {
  inset: auto auto 8px 50% !important;
  width: min(calc(100% - 28px), 260px) !important;
  text-align: center !important;
  transform: translateX(-50%) !important;
}

body[data-followup-release="239"] #panel-milestones
  .milestone-card[data-milestone="watch"]
  :is(.milestone-preview-button, .milestone-emoji, .item-story-thumb) {
  background-color: #fff !important;
  background-image: none !important;
}

body[data-followup-release="239"] #panel-milestones
  .milestone-card[data-milestone="watch"]
  .milestone-preview-button {
  border-color: #e5e8eb !important;
}

body[data-followup-release="239"] .garage-hero-empty .garage-empty-copy {
  max-width: min(78%, 300px);
}

body[data-followup-release="239"] .garage-hero-empty .garage-empty-copy strong {
  font-size: 20px;
  line-height: 26px;
}

body[data-followup-release="239"] #stock-list .stock-card.is-expanded .sparkline-wrap {
  box-sizing: border-box;
  flex: 0 0 auto;
  height: clamp(126px, 19dvh, 154px) !important;
  min-height: clamp(126px, 19dvh, 154px) !important;
}

body[data-followup-release="239"] #stock-list .stock-card.is-expanded .news-badge {
  flex: 0 0 auto;
}

body[data-followup-release="239"] .tutorial-scene-shell,
body[data-followup-release="239"] .daytrade-tutorial-scene {
  position: relative;
  width: 100%;
  margin: 0 auto 12px;
}

html body[data-followup-release="239"] .modal .tutorial-scene-shell > .v174-modal-visual {
  width: var(--tutorial-scene-width, 100%) !important;
  height: var(--tutorial-scene-height, clamp(188px, 24dvh, 220px)) !important;
  min-height: var(--tutorial-scene-min-height, 188px) !important;
  margin: 0 !important;
  aspect-ratio: var(--tutorial-scene-aspect-ratio, 16 / 9) !important;
}

html body[data-followup-release="239"] .modal .tutorial-scene-shell
  > .v174-modal-visual
  :is(.feature-character-avatar, .story-image-actor) {
  height: 60% !important;
  max-height: 60% !important;
  bottom: 0 !important;
}

body[data-followup-release="239"] .tutorial-ant-speech {
  position: absolute;
  z-index: 12;
  top: 10px;
  right: 10px;
  box-sizing: border-box;
  width: fit-content;
  max-width: min(62%, 244px);
  margin: 0 !important;
  padding: var(--tutorial-speech-padding, 9px 11px) !important;
  border: 1px solid #b8d8ff;
  border-radius: 8px;
  color: #191f28 !important;
  background: #fff;
  box-shadow: 0 4px 10px rgb(25 31 40 / 14%);
  font-size: var(--tutorial-speech-font-size, 16px) !important;
  font-weight: 800 !important;
  line-height: var(--tutorial-speech-line-height, 22px) !important;
  text-align: left !important;
  word-break: keep-all;
}

body[data-followup-release="239"] #analyst-hire-modal[data-story-onboarding="true"] #analyst-hire-text,
body[data-followup-release="239"] #analyst-hire-modal[data-story-onboarding="true"] #analyst-hire-text span {
  color: #191f28 !important;
}

body[data-followup-release="239"] #analyst-hire-modal[data-story-onboarding="true"] #analyst-hire-text {
  display: block !important;
  width: fit-content;
  max-width: min(62%, 232px);
  margin: 0 !important;
}

body[data-followup-release="239"] #analyst-hire-modal[data-story-onboarding="true"] #analyst-hire-text span {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 21px !important;
  text-align: left !important;
}

body[data-followup-release="239"] #analyst-hire-modal[data-story-onboarding="true"]
  .analyst-hire-visual
  :is(.story-image-actor, .story-image-prop) {
  height: 52% !important;
  max-height: 52% !important;
  bottom: 0 !important;
}

body[data-followup-release="239"] #daytrade-modal .daytrade-tutorial-scene {
  overflow: hidden;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
}

body[data-followup-release="239"] #daytrade-modal .daytrade-feature-visual {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

body[data-followup-release="239"] #daytrade-modal .daytrade-desc {
  top: 10px;
  right: 10px;
  width: min(60%, 230px);
  max-width: none;
}

body[data-followup-release="239"] #daytrade-modal:not(.is-intro):has(#daytrade-result.hidden)
  .daytrade-tutorial-scene {
  display: none !important;
}

body[data-followup-release="239"] #daytrade-result-text[hidden] {
  display: none !important;
}

body[data-followup-release="239"] #daytrade-total {
  color: #3182f6 !important;
}

body[data-followup-release="239"] .tier-future-route {
  width: 100%;
  overflow: hidden;
}

body[data-followup-release="239"] .tier-future-route-track {
  display: grid;
  grid-template-columns: repeat(var(--future-tier-count), minmax(0, 116px));
  justify-content: center;
  gap: 8px;
  padding: 2px 1px 8px;
  overflow: hidden;
}

body[data-followup-release="239"] .tier-future-route-card {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 116px;
  min-height: 142px;
  place-items: center;
  gap: 5px;
  padding: 10px 8px;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  background: #eef1f5;
}

body[data-followup-release="239"] .tier-future-route-ant {
  display: block;
  width: 62px;
  height: 78px;
}

body[data-followup-release="239"] .tier-future-route-card > span {
  display: grid;
  gap: 1px;
  text-align: center;
}

body[data-followup-release="239"] .tier-future-route-card strong {
  color: #191f28;
  font-size: 15px;
  font-weight: 850;
  line-height: 20px;
}

body[data-followup-release="239"] .tier-future-route-card small {
  color: #3182f6;
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

body[data-followup-release="239"] #utility-modal
  :is(#analyst-alert-btn, #market-alert-btn) {
  min-width: 58px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 10px !important;
  border-color: #e5e8eb !important;
  color: #191f28 !important;
  background: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

body[data-followup-release="239"] #utility-modal
  :is(#analyst-alert-btn, #market-alert-btn)[aria-pressed="false"] {
  border-color: #d1d6db !important;
  color: #6b7684 !important;
  background: #fff !important;
}

@media (max-width: 380px) {
  body[data-followup-release="239"] .feature-panel-nav .feature-switch-btn {
    gap: 1px !important;
    padding-inline: 3px !important;
    font-size: 12.5px !important;
  }

  body[data-followup-release="239"] #avatar-scene
    .ant-scene-dialogue[data-dialogue-kind="growth"] {
    --dialogue-tail-x: calc(100% - 22px);
    left: 8px;
    max-width: min(calc(100% - 112px), 190px);
    transform: none;
  }

  html body[data-followup-release="239"] .modal .tutorial-scene-shell > .v174-modal-visual {
    height: 188px !important;
    min-height: 188px !important;
  }

  body[data-followup-release="239"] .tutorial-ant-speech {
    top: 8px;
    right: 8px;
    width: fit-content;
    max-width: min(64%, 210px);
    padding: 8px 10px !important;
    font-size: 15px !important;
    line-height: 20px !important;
  }

  body[data-followup-release="239"] #stock-list .stock-card.is-expanded .sparkline-wrap {
    height: 126px !important;
    min-height: 126px !important;
  }
}

@media (min-width: 700px) {
  body[data-followup-release="239"] #stock-list .stock-card.is-expanded .sparkline-wrap {
    height: 148px !important;
    min-height: 148px !important;
  }
}
