body[data-shell-release="244"] .feature-switch-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  padding: 0 8px !important;
  text-align: center;
}

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

body[data-shell-release="244"] .feature-switch-btn > span:not(.nav-icon) {
  min-width: 0;
  white-space: nowrap;
  line-height: 1.2;
}

body[data-shell-release="244"] .portfolio-toggle-label {
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 5px !important;
}

body[data-shell-release="244"] .portfolio-toggle-label > small {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

body[data-shell-release="244"] .stock-holding-glance {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
}

body[data-shell-release="244"] .stock-holding-glance > [data-role="holding-glance-summary"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-shell-release="244"] .stock-holding-glance > .stock-holding-return {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 15px !important;
  font-weight: 850 !important;
}

body[data-shell-release="244"] .stock-holding-return.up {
  color: #d62a3d !important;
}

body[data-shell-release="244"] .stock-holding-return.down {
  color: #1769e5 !important;
}

body[data-shell-release="244"] .stock-holding-return.flat {
  color: #4e5968 !important;
}

body[data-shell-release="244"] .portfolio-position-row {
  cursor: pointer;
}

body[data-shell-release="244"] .portfolio-position-row:hover,
body[data-shell-release="244"] .portfolio-position-row:focus-visible {
  background: #f7faff !important;
}

body[data-shell-release="244"] #panel-milestones .cosmetic-fit-warning {
  display: grid;
  min-height: 40px;
  padding: 0 4px;
  place-items: center;
  color: #4e5968;
  font: 750 13px/18px Pretendard, sans-serif;
  text-align: center;
  word-break: keep-all;
  background: transparent;
  border: 0;
}

body[data-shell-release="244"] #panel-milestones .cosmetic-card {
  grid-template-rows: 92px minmax(40px, auto) minmax(40px, auto) 48px;
  height: 100%;
}

body[data-shell-release="244"] #panel-milestones .cosmetic-card > strong {
  display: grid;
  min-height: 40px;
  margin: 0;
  place-items: center;
  color: #191f28;
  font: 800 14px/19px Pretendard, sans-serif;
  text-align: center;
  word-break: keep-all;
}

body[data-shell-release="244"] #panel-milestones .cosmetic-preview {
  width: min(100%, 116px);
  height: 92px;
  background: #fff !important;
}

body[data-shell-release="244"] #panel-milestones .cosmetic-item-icon {
  width: 86px;
  height: 86px;
}

body[data-shell-release="244"] #panel-milestones .cosmetic-card > .store-item-status {
  display: grid;
  min-height: 40px;
  margin: 0;
  place-items: center;
  color: #4e5968;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  word-break: keep-all;
}

body[data-shell-release="244"] #panel-milestones .cosmetic-fit-warning > span {
  display: block;
}

body[data-shell-release="244"] #panel-milestones .cosmetic-card > button {
  align-self: end;
  width: 100%;
  font-size: 16px;
  font-weight: 800;
}

body[data-shell-release="244"] #panel-milestones :is(.garage-section, .showcase-section) {
  box-sizing: border-box;
  display: grid;
  gap: 18px !important;
  padding: 8px 0 2px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

body[data-shell-release="244"] #panel-milestones :is(.garage-section, .showcase-section) > .garage-section-head,
body[data-shell-release="244"] #panel-milestones :is(.garage-section, .showcase-section) > .showcase-section-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}

body[data-shell-release="244"] #panel-milestones :is(.garage-section-head, .showcase-section-head) > div {
  display: block !important;
}

body[data-shell-release="244"] #panel-milestones :is(.garage-section-head, .showcase-section-head) > div > span {
  color: #1769e5 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 18px !important;
}

body[data-shell-release="244"] #panel-milestones :is(.garage-section-head, .showcase-section-head) h2 {
  margin: 2px 0 0 !important;
  color: #191f28 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 24px !important;
}

body[data-shell-release="244"] #panel-milestones :is(.garage-section-head, .showcase-section-head) > strong {
  align-self: flex-start;
  color: #526678 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 16.8px !important;
  font-variant-numeric: tabular-nums;
}

body[data-shell-release="244"] .garage-hero-empty .garage-empty-copy.showcase-room-empty {
  position: absolute;
  inset: auto 12px 12px;
  z-index: 3;
  display: grid;
  min-height: 72px;
  padding: 10px 12px;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon detail";
  align-items: center;
  column-gap: 10px;
  color: #191f28;
  text-align: left;
  background: rgb(255 255 255 / 94%);
  border: 1px solid #d1d6db;
  border-radius: 8px;
}

body[data-shell-release="244"] .garage-hero-empty .garage-empty-copy.showcase-room-empty img {
  grid-area: icon;
  width: 40px;
  height: 40px;
}

body[data-shell-release="244"] .garage-hero-empty .garage-empty-copy.showcase-room-empty strong {
  grid-area: title;
  align-self: end;
  color: #191f28 !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 20px !important;
}

body[data-shell-release="244"] .garage-hero-empty .garage-empty-copy.showcase-room-empty > span {
  grid-area: detail;
  align-self: start;
  color: #4e5968 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 18px !important;
  word-break: keep-all;
}

body[data-shell-release="244"] #panel-milestones .garage-vehicle-action {
  box-sizing: border-box !important;
  align-self: end !important;
  width: 100%;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 10px !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-shell-release="244"] .garage-route-button {
  align-items: center !important;
}

body[data-shell-release="244"] .garage-route-meta {
  display: grid !important;
  justify-items: end !important;
  gap: 2px !important;
  flex: 0 0 auto;
  white-space: nowrap !important;
}

body[data-shell-release="244"] .garage-route-meta > b,
body[data-shell-release="244"] .garage-route-meta > small {
  white-space: nowrap !important;
  word-break: keep-all !important;
}

body[data-shell-release="244"] .garage-route-copy {
  min-width: 0;
}

body[data-shell-release="244"] .garage-route-copy > small {
  word-break: keep-all;
}

body[data-shell-release="244"] #panel-milestones
  .collection-section-milestones .milestone-preview-button {
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #e5e8eb !important;
  border-radius: 8px !important;
  background: #fff !important;
}

body[data-shell-release="244"] #panel-milestones
  .collection-section-milestones .milestone-preview-button > .milestone-emoji {
  width: 100%;
  height: 100%;
  border: 0 !important;
  border-radius: 7px !important;
  background: #fff !important;
}

body[data-shell-release="244"] #panel-milestones
  .collection-section-milestones .milestone-emoji:is(
    [src*="item-icons-v159"],
    [data-src*="item-icons-v159"]
) {
  filter: brightness(1.12) contrast(1.06) saturate(1.08);
}

body[data-shell-release="244"] #panel-milestones .codex-emoji.codex-ant-slot {
  display: grid;
  overflow: hidden;
  place-items: center;
}

body[data-shell-release="244"] #panel-milestones .codex-ant-img {
  box-sizing: border-box;
  width: 72px;
  max-width: 100%;
  height: 81px;
  max-height: 100%;
  padding: 2px;
  object-fit: contain;
  object-position: center bottom;
}

body[data-shell-release="244"] #panel-milestones .garage-vehicle-image {
  object-fit: contain !important;
  background-color: #fff !important;
}

body[data-shell-release="244"] #avatar-scene {
  --dialogue-safe-top: 0px;
  --dialogue-min-height: 0px;
  --dialogue-top: 12px;
}

body[data-shell-release="244"] #avatar-scene .ant-scene-dialogue {
  top: var(--dialogue-top, 12px) !important;
}

body[data-shell-release="244"] #avatar-scene:has(.ant-scene-dialogue:not(.hidden)) {
  min-height: var(--dialogue-min-height, 0px) !important;
}

body[data-shell-release="244"] #avatar-scene:has(.ant-scene-dialogue:not(.hidden)) :is(#ant-avatar-wrap, #ant-avatar) {
  max-height: none !important;
}
