@scope (body[data-patch-release="207"]) {
  :scope {
    --v210-blue: #3182f6;
    --v210-red: #f04452;
    --v210-ink: #191f28;
    --v210-copy: #4e5968;
    --v210-muted: #6b7684;
    --v210-line: #e5e8eb;
    --v210-surface: #f2f4f6;
  }

  :scope :is(
    #networth-amount,
    #cash-amount,
    #income-rate,
    .ps-value,
    .ps-pl,
    .stock-price,
    .stock-change,
    .holding-metric,
    .holding-pl,
    .bank-balance,
    #bank-day-balance,
    #bank-day-interest,
    .cost,
    .modal-highlight
  ) {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
  }

  :scope :is(
    #action-buttons .action-status,
    .portfolio-position-meta,
    .portfolio-position-value,
    .bank-rate,
    .bank-projection-label,
    #bank-day-interest,
    .bank-empty-hint,
    .nav-badge
  ) {
    font-size: 12px !important;
    line-height: 16px !important;
  }

  :scope .splash-disclaimer {
    color: var(--v210-muted) !important;
    background: rgba(255, 255, 255, .92) !important;
    border: 0 !important;
    font-size: 12px !important;
    line-height: 17px !important;
    text-align: center !important;
  }

  :scope #sell-sheet-confirm,
  :scope #sticky-sellall-btn,
  :scope #stock-source-sellall,
  :scope .dialog-button--primary {
    color: #fff !important;
    background: var(--v210-blue) !important;
    background-image: none !important;
    border-color: var(--v210-blue) !important;
    box-shadow: none !important;
  }

  :scope .dialog-button--secondary,
  :scope .secondary-action,
  :scope #daytrade-close-btn {
    min-height: 44px !important;
    color: #191f28 !important;
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #d1d6db !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 800 !important;
  }

  :scope #feature-panel-close {
    display: grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    color: var(--v210-copy);
    background: var(--v210-surface);
    font-size: 28px;
    line-height: 1;
  }

  :scope :is(.modal-content, .dialog-card) :is(h1, h2) {
    color: var(--v210-ink) !important;
    font-size: 24px !important;
    font-weight: 850 !important;
    line-height: 31px !important;
    letter-spacing: 0 !important;
    word-break: keep-all;
  }

  :scope :is(.modal-content, .dialog-card) :is(p, .modal-copy, .dialog-body) {
    color: var(--v210-copy) !important;
    font-size: 16px !important;
    font-weight: 650 !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
    word-break: keep-all;
  }

  :scope :is(.modal-actions, .dialog-actions) > button {
    justify-content: center !important;
    text-align: center !important;
  }

  :scope .tutorial-chart-copy [data-role="tutorial-observation-countdown"] {
    display: inline-flex;
    justify-self: start;
    min-height: 26px;
    align-items: center;
    margin-top: 5px;
    padding: 0 9px;
    border-radius: 6px;
    color: #b72838;
    background: #ffe9ec;
    font-size: 14px;
    font-style: normal;
    font-weight: 850;
    line-height: 18px;
  }

  :scope .tutorial-chart-copy [data-role="tutorial-observation-countdown"][hidden] {
    display: none;
  }

  :scope .daytrade-desc,
  :scope .daytrade-feedback {
    color: var(--v210-copy) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    text-align: center;
    word-break: keep-all;
  }

  :scope .daytrade-feedback {
    min-height: 20px;
    margin: 4px 0 7px;
    color: var(--v210-muted) !important;
  }

  :scope .daytrade-feedback[data-tone="success"] {
    color: var(--v210-blue) !important;
  }

  :scope .daytrade-feedback[data-tone="miss"] {
    color: var(--v210-copy) !important;
  }

  :scope #daytrade-timebar-fill,
  :scope .mini-progress-fill,
  :scope .progress-fill {
    background: var(--v210-blue) !important;
    background-image: none !important;
  }

  :scope #market-news-feed,
  :scope #stock-list,
  :scope #stock-sellall-source {
    box-sizing: border-box;
    width: 100% !important;
    margin-inline: 0 !important;
  }

  :scope #market-news-feed {
    margin-top: -2px !important;
    margin-bottom: 8px !important;
    background: #fff !important;
    background-image: none !important;
  }

  :scope #market-news-feed[hidden],
  :scope .bank-projection[hidden],
  :scope .bank-empty-hint[hidden] {
    display: none !important;
  }

  :scope .stock-logo {
    border-radius: 8px !important;
  }

  :scope .stock-logo span {
    max-width: 58px;
    padding-inline: 3px;
    font-size: 10px !important;
    line-height: 12px !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-align: center;
  }

  :scope .stock-name {
    color: var(--v210-ink) !important;
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 21px !important;
    letter-spacing: 0 !important;
  }

  :scope .stock-title-line {
    gap: 6px;
  }

  :scope .stock-theme {
    flex: 0 1 auto;
    min-width: 0;
    color: var(--v210-muted) !important;
    font-size: max(var(--stock-sub-size, 10px), 10px) !important;
    line-height: var(--stock-title-h, 16px) !important;
    white-space: nowrap;
  }

  :scope .stock-ticker {
    color: var(--v210-muted) !important;
    font-size: max(var(--stock-sub-size, 10px), 10px) !important;
    font-weight: 700 !important;
    line-height: var(--stock-sub-h, 14px) !important;
    letter-spacing: 0 !important;
  }

  :scope .stock-meta-row {
    min-height: var(--stock-meta-h, 16px);
    margin-top: 1px;
    color: var(--v210-copy) !important;
    font-size: max(var(--stock-sub-size, 10px), 10px) !important;
    line-height: var(--stock-meta-h, 16px) !important;
  }

  :scope .stock-meta-row :is(.stock-dividend, .div-badge-slot) {
    font-size: inherit !important;
    line-height: inherit !important;
  }

  :scope #stock-list .holding-info:not(.is-held) {
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
  }

  :scope .stock-price {
    color: var(--v210-ink);
    font-size: 18px !important;
    font-weight: 850 !important;
    line-height: 23px !important;
  }

  :scope .stock-change {
    font-size: 14px !important;
    font-weight: 850 !important;
    line-height: 18px !important;
  }

  :scope .tick-arrow {
    flex-basis: 13px;
    width: 13px;
    font-size: 14px;
    font-weight: 950;
  }

  :scope #stock-sellall-source {
    width: 100% !important;
    border-radius: 8px !important;
  }

  :scope :is(#stock-sellall-source, #asset-summary-details) :is(.ps-label, .ps-sub) {
    font-size: 13px !important;
    line-height: 18px !important;
  }

  :scope #panel-milestones :is(.growth-view, .housing-section, .collection-section, .bucket-section, .cosmetics-section, .garage-section) {
    background: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  :scope #panel-milestones .housing-buy-btn{min-height:44px!important}
  :scope .store-future-items {
    margin-top: 10px;
    border: 1px solid var(--v210-line);
    border-radius: 8px;
    background: #fff;
  }

  :scope .store-future-items > summary {
    min-height: 44px;
    padding: 0 14px;
    color: var(--v210-copy);
    font-size: 14px;
    font-weight: 800;
    line-height: 44px;
    cursor: pointer;
  }

  :scope .section-label::after {
    display: none !important;
  }

  :scope .store-future-items[open] > summary {
    border-bottom: 1px solid var(--v210-line);
  }

  :scope .store-future-items .milestone-list {
    padding: 10px;
  }

  :scope .housing-current-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 9px;
  }

  :scope .housing-current-actions button,
  :scope .housing-picker-toggle {
    min-height: 44px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  :scope .housing-picker-toggle {
    color: #fff;
    background: var(--v210-blue);
    border: 1px solid var(--v210-blue);
  }

  :scope .housing-picker-panel {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--v210-line);
    border-radius: 8px;
    background: var(--v210-surface);
  }

  :scope .housing-picker-panel.hidden {
    display: none;
  }

  :scope .housing-picker-head {
    display: grid;
    gap: 2px;
    margin-bottom: 8px;
  }

  :scope .housing-picker-head strong {
    color: var(--v210-ink);
    font-size: 16px;
    line-height: 22px;
  }

  :scope .housing-picker-head span {
    color: var(--v210-muted);
    font-size: 13px;
    line-height: 18px;
  }

  :scope #panel-milestones .housing-codex-item {
    grid-template-rows: auto auto 48px;
  }

  :scope #panel-milestones .housing-codex-item > button {
    min-height: 44px;
    font-size: 13px;
    line-height: 18px;
  }

  :scope #panel-milestones :is(
    .milestone-view-tabs,
    .luxury-view-tabs,
    .collection-tabs,
    .growth-view,
    .housing-section,
    .housing-codex,
    .bucket-section,
    .cosmetics-section,
    .garage-section
  ) {
    background: var(--v210-surface) !important;
    background-image: none !important;
    border-color: var(--v210-line) !important;
    box-shadow: none !important;
  }

  :scope #panel-milestones :is(.milestone-card.purchased, .item-row.owned, .cosmetic-card.owned) {
    background: #f7f8fa !important;
    background-image: none !important;
    border-color: #d1d6db !important;
  }

  :scope #panel-milestones :is(.milestone-resell-btn, .housing-resell-btn) {
    color: var(--v210-copy) !important;
    background: var(--v210-surface) !important;
    background-image: none !important;
    border: 1px solid #d1d6db !important;
  }

  :scope :is(.nav-badge, .available-badge, .upgrade-ready, .milestone-status.ready) {
    color: var(--v210-blue) !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    font-weight: 850 !important;
  }

  :scope :is(#home-feature-nav, #bottom-nav) .nav-badge {
    top: -2px !important;
    right: 4px !important;
    left: auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    overflow: visible !important;
    color: var(--v210-blue) !important;
    font-size: 10.5px !important;
    line-height: 13px !important;
  }

  :scope :is(#home-feature-nav, #bottom-nav) .nav-badge::before {
    content: "NEW" !important;
    color: var(--v210-blue) !important;
    font-size: 10.5px !important;
    line-height: 13px !important;
  }

  @media (width <= 520px) {
    :scope .stock-price-block {
      min-height: 31px;
    }

    :scope .stock-price {
      font-size: 19px !important;
    }

    :scope .housing-picker-panel {
      margin-inline: -4px;
      padding-inline: 8px;
    }
  }

  @media (width <= 340px) {
    :scope #stock-list .stock-card-head {
      --stock-card-min-h: 72px;
      --stock-content-h: 54px;
      --stock-title-h: 22px;
      --stock-sub-h: 16px;
      --stock-meta-h: 16px;
      --stock-change-line-h: 32px;
      align-items: center !important;
    }

    :scope #stock-list .stock-card .stock-logo,
    :scope #stock-list .stock-card.is-expanded .stock-logo {
      width: var(--stock-logo-w) !important;
      height: 39px !important;
      align-self: center !important;
    }

    :scope #stock-list .stock-card .stock-title-line.is-compact .stock-name,
    :scope #stock-list .stock-card .stock-title-line.is-ultra-compact .stock-name {
      font-size: 12.5px !important;
      line-height: 18px !important;
    }

  }
}
