/* v233-v235 launch and interaction hardening. */
html.launch-pending #app > :not(#launch-loader) { display: none !important; }
html:not(.launch-pending) #splash .splash-content { animation: none; }

body[data-polish-release="233"] #splash .splash-content p.launch-surface-note {
  position: absolute;
  z-index: 5;
  bottom: max(100px, calc(env(safe-area-inset-bottom) + 94px));
  left: 50%;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  transform: translateX(-50%);
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(25, 31, 40, 0.58);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  line-height: 16px;
  white-space: nowrap;
}

body[data-polish-release="233"] .resale-confirm-content {
  width: min(calc(100vw - 20px), 440px);
}

body[data-polish-release="233"] .resale-confirm-copy {
  display: grid;
  gap: 4px;
}

body[data-polish-release="233"] .resale-confirm-copy .dialog-kicker {
  color: #6b7684;
  font-size: 13px;
  font-weight: 750;
  line-height: 18px;
}

body[data-polish-release="233"] .resale-confirm-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #e5e8eb;
  border-radius: 8px;
  background: #f7f8fa;
}

body[data-polish-release="233"] .resale-confirm-summary > span {
  color: #6b7684;
  font-size: 14px;
  font-weight: 700;
}

body[data-polish-release="233"] .resale-confirm-summary > strong {
  color: #191f28;
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 850;
}

body[data-polish-release="233"] .resale-confirm-summary > small {
  grid-column: 1 / -1;
  color: #f04452;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

body[data-polish-release="233"] .dialog-button--danger {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #f04452;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

body[data-polish-release="233"] .feature-panel-nav {
  display: none;
}

body[data-polish-release="233"] .help-dots {
  gap: 0;
}

body[data-polish-release="233"] .help-dot {
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent;
}

body[data-polish-release="233"] .help-dot::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d1d6db;
  content: "";
  transform: translate(-50%, -50%);
}

body[data-polish-release="233"] .help-dot.active::before {
  width: 20px;
  background: #3182f6;
}

body[data-polish-release="233"] .help-policy-links {
  gap: 2px;
}

body[data-polish-release="233"] .help-policy-links a,
body[data-polish-release="233"] .help-guide-link {
  display: inline-grid;
  min-height: 44px;
  align-items: center;
  padding: 0 7px;
  font-size: 12px;
  line-height: 16px;
}

body[data-polish-release="233"] #buy-slider,
body[data-polish-release="233"] #sell-slider {
  min-height: 44px;
  margin-block: 0 8px;
  touch-action: pan-x;
}

body[data-polish-release="233"] #buy-slider::-webkit-slider-thumb,
body[data-polish-release="233"] #sell-slider::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
}

body[data-polish-release="233"] .bucket-section {
  position: relative;
}

body[data-polish-release="233"] .cosmetic-card.incompatible .store-item-status {
  color: #6b7684;
}

body[data-polish-release="233"] .cosmetic-card.incompatible [data-cosmetic-change-ant] {
  border: 1px solid #d1d6db;
  background: #fff;
  color: #3182f6;
}

body[data-polish-release="233"] .modal .dialog-actions > button {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

@media (max-width: 360px) {
  body[data-polish-release="233"] .modal:not(#splash) > .modal-content {
    width: calc(100vw - 12px);
    padding-inline: 12px;
  }

  body[data-polish-release="233"] .modal .dialog-actions {
    gap: 7px;
  }

  body[data-polish-release="233"] .modal .dialog-actions > button {
    padding-inline: 10px;
    font-size: 15px;
  }

  body[data-polish-release="233"] #help-modal .help-disclaimer {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  body[data-polish-release="233"] .help-policy-links {
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  body[data-polish-release="233"] .help-dots {
    display: none;
  }

  body[data-polish-release="233"] .help-carousel-controls {
    justify-content: space-between;
  }
}

@media (max-width: 699px) {
  body[data-polish-release="233"] .feature-panel-shell {
    grid-template-rows: 56px 52px minmax(0, 1fr);
  }

  body[data-polish-release="233"] .feature-panel-shell:has(.starter-mini-coach:not(.hidden)) {
    grid-template-rows: 56px 52px 84px minmax(0, 1fr);
  }

  body[data-polish-release="233"] #feature-panel-shell > .sticky-sellall-bar {
    top: 108px;
  }

  body[data-polish-release="233"] .feature-panel-shell:has(.starter-mini-coach:not(.hidden)) > .sticky-sellall-bar {
    top: 192px;
  }

  body[data-polish-release="233"] .feature-panel-nav {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 4px 8px;
    border-bottom: 1px solid #e5e8eb;
    background: #f2f4f6;
  }

  body[data-polish-release="233"] .feature-panel-nav .feature-switch-btn {
    display: grid;
    min-width: 0;
    min-height: 44px;
    grid-template-columns: 20px auto;
    place-content: center;
    align-items: center;
    gap: 5px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #6b7684;
    font-size: 13px;
    font-weight: 800;
  }

  body[data-polish-release="233"] .feature-panel-nav .feature-switch-btn .nav-icon {
    width: 20px;
    height: 20px;
    background-color: currentColor;
    -webkit-mask: var(--nav-icon) center / contain no-repeat;
    mask: var(--nav-icon) center / contain no-repeat;
  }

  body[data-polish-release="233"] .feature-panel-nav .feature-switch-btn.active {
    color: #3182f6;
    background: #edf5ff;
  }
}
