* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  overflow-x: hidden;
}

body.ld-shop {
  background: #f3f6fa !important;
  background-image: none !important;
  color: #1b2a40 !important;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif !important;
}

body.ld-shop .tokyo-main {
  margin-top: 12px !important;
  padding-bottom: 52px !important;
}

body.ld-shop .ld-shop-shell,
body.ld-shop .tokyo-footer-wrap {
  width: min(1120px, calc(100% - 64px)) !important;
  min-width: 0 !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.ld-shop .ld-shop-shell {
  display: grid !important;
  gap: 14px !important;
}

body.ld-shop .ld-store-profile {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 78px !important;
  padding: 12px 16px !important;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) auto !important;
  grid-template-areas: "logo title actions" !important;
  align-items: center !important;
  gap: 12px !important;
  border: 1px solid #dfe7f1 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 22px rgba(31, 52, 82, .055) !important;
}

body.ld-shop .ld-store-avatar {
  grid-area: logo !important;
  width: 52px !important;
  height: 52px !important;
  padding: 3px !important;
  object-fit: contain !important;
  border: 1px solid #dce7f1 !important;
  border-radius: 13px !important;
  background: #f5fbff !important;
  filter: none !important;
  box-shadow: none !important;
}

body.ld-shop .ld-store-copy {
  display: contents !important;
}

body.ld-shop .ld-store-title {
  grid-area: title !important;
  min-width: 0 !important;
}

body.ld-shop .ld-store-title h1 {
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #172238 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.ld-shop .ld-store-header-actions {
  grid-area: actions !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
}

body.ld-shop .ld-store-header-button,
body.ld-shop .ld-member-entry {
  min-width: 0 !important;
  min-height: 36px !important;
  padding: 0 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  overflow: hidden !important;
  color: #506078 !important;
  border: 1px solid #d8e3ef !important;
  border-radius: 9px !important;
  background: #ffffff !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.ld-shop .ld-store-header-button:hover,
body.ld-shop .ld-member-entry:hover {
  color: #1769e8 !important;
  border-color: #b9d2f3 !important;
  background: #f5f9ff !important;
}

body.ld-shop .ld-store-header-button svg,
body.ld-shop .ld-member-entry svg {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 auto !important;
}

body.ld-shop .ld-catalog-panel {
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid #dfe7f1 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(31, 52, 82, .055) !important;
}

body.ld-shop .ld-category-bar {
  width: auto !important;
  margin: 0 !important;
  padding: 9px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 6px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-bottom: 1px solid #edf1f6 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

body.ld-shop .ld-category-bar .tokyo-category-link {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 58px !important;
  padding: 7px 10px !important;
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 8px !important;
  overflow: hidden !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: #526176 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ld-shop .ld-category-bar .tokyo-category-link:hover {
  border-color: #d8e5f2 !important;
  background: #f7faff !important;
}

body.ld-shop .ld-category-bar .tokyo-category-link.is-active {
  color: #ffffff !important;
  border-color: #1769e8 !important;
  background: #1769e8 !important;
  box-shadow: 0 5px 13px rgba(23, 105, 232, .15) !important;
}

body.ld-shop .ld-category-bar .tokyo-category-image {
  width: 38px !important;
  height: 38px !important;
  padding: 4px !important;
  display: block !important;
  object-fit: contain !important;
  border: 1px solid #dce6f0 !important;
  border-radius: 9px !important;
  background: #ffffff !important;
}

body.ld-shop .ld-category-bar .tokyo-category-name {
  min-width: 0 !important;
  overflow: hidden !important;
  color: inherit !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.ld-shop .ld-category-bar .tokyo-category-count {
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6e7d91 !important;
  border-radius: 999px !important;
  background: #eef2f6 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

body.ld-shop .ld-category-bar .tokyo-category-link.is-active .tokyo-category-count {
  color: #1769e8 !important;
  background: #ffffff !important;
}

body.ld-shop .ld-product-grid {
  min-width: 0 !important;
  padding: 18px !important;
  display: grid !important;
  grid-template-columns: repeat(4, 230px) !important;
  justify-content: start !important;
  gap: 16px !important;
  background: #ffffff !important;
}

body.ld-shop .ld-product-card {
  width: 230px !important;
  height: 230px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid #dfe7f1 !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  box-shadow: 0 5px 16px rgba(31, 52, 82, .055) !important;
}

body.ld-shop .ld-product-card:hover {
  border-color: #bad0eb !important;
  box-shadow: 0 10px 22px rgba(31, 52, 82, .1) !important;
  transform: translateY(-2px) !important;
}

body.ld-shop .ld-product-image {
  min-height: 0 !important;
  flex: 1 1 auto !important;
  padding: 12px !important;
  display: grid !important;
  place-items: center !important;
  background: #fbfdff !important;
}

body.ld-shop .ld-product-image img,
body.ld-shop .ld-product-image.is-uploaded img,
body.ld-shop .ld-product-image.is-gemini-wordmark img,
body.ld-shop .ld-product-image.is-chatgpt-wordmark img,
body.ld-shop .ld-product-image.is-claude-wordmark img,
body.ld-shop .ld-product-image.is-codex-wordmark img,
body.ld-shop .ld-product-image.is-relay-wordmark img,
body.ld-shop .ld-product-image.is-relay-symbol img {
  width: auto !important;
  height: auto !important;
  max-width: 84% !important;
  max-height: 112px !important;
  object-fit: contain !important;
}

body.ld-shop .ld-product-body {
  min-width: 0 !important;
  padding: 8px 11px 3px !important;
  background: #ffffff !important;
}

body.ld-shop .ld-product-body h3 {
  min-width: 0 !important;
  min-height: 18px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #1b2a40 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.4 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.ld-shop .ld-product-footer {
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 2px 11px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  background: #ffffff !important;
}

body.ld-shop .ld-product-footer strong {
  min-width: 0 !important;
  color: #1b2a40 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

body.ld-shop .ld-product-footer strong small {
  font-size: 10px !important;
}

body.ld-shop .ld-stock-status {
  max-width: 126px !important;
  min-height: 23px !important;
  padding: 0 7px !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #1769e8 !important;
  border-radius: 999px !important;
  background: #edf4ff !important;
  font-size: 9px !important;
  font-weight: 750 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.ld-shop .ld-stock-status.is-out {
  color: #8a5b5b !important;
  background: #f6eeee !important;
}

body.ld-shop .tokyo-footer {
  padding-bottom: 22px !important;
  color: #8290a3 !important;
  font-size: 11px !important;
}

body.ld-shop .tokyo-footer-wrap {
  padding-top: 15px !important;
  gap: 15px !important;
  border-top-color: #dfe7f1 !important;
}

body.ld-shop .tokyo-footer-wrap div {
  gap: 11px !important;
}

@media (max-width: 1100px) and (min-width: 761px) {
  body.ld-shop .ld-shop-shell,
  body.ld-shop .tokyo-footer-wrap {
    width: calc(100% - 32px) !important;
  }

  body.ld-shop .ld-product-grid {
    grid-template-columns: repeat(3, minmax(0, 230px)) !important;
  }
}

@media (max-width: 760px) {
  body.ld-shop {
    background: #f4f7fb !important;
  }

  body.ld-shop .tokyo-main {
    margin-top: 0 !important;
    padding: 8px 8px 28px !important;
  }

  body.ld-shop .ld-shop-shell,
  body.ld-shop .tokyo-footer-wrap {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.ld-shop .ld-shop-shell {
    gap: 8px !important;
  }

  body.ld-shop .ld-store-profile {
    min-height: 0 !important;
    padding: 10px !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    grid-template-areas: "logo title" "actions actions" !important;
    gap: 9px 10px !important;
    border-radius: 13px !important;
  }

  body.ld-shop .ld-store-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 11px !important;
  }

  body.ld-shop .ld-store-title h1 {
    font-size: 18px !important;
  }

  body.ld-shop .ld-store-header-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  body.ld-shop .ld-store-header-button,
  body.ld-shop .ld-member-entry {
    width: 100% !important;
    min-height: 34px !important;
    padding: 0 4px !important;
    gap: 4px !important;
    border-radius: 8px !important;
    font-size: 10px !important;
  }

  body.ld-shop .ld-store-header-button svg,
  body.ld-shop .ld-member-entry svg {
    width: 14px !important;
    height: 14px !important;
  }

  body.ld-shop .ld-catalog-panel {
    border-radius: 13px !important;
  }

  body.ld-shop .ld-category-bar {
    padding: 5px !important;
    gap: 3px !important;
  }

  body.ld-shop .ld-category-bar .tokyo-category-link {
    min-height: 78px !important;
    padding: 5px 2px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 38px 17px 16px !important;
    justify-items: center !important;
    gap: 2px !important;
    border-radius: 8px !important;
    text-align: center !important;
  }

  body.ld-shop .ld-category-bar .tokyo-category-image {
    width: 36px !important;
    height: 36px !important;
    padding: 3px !important;
    border-radius: 8px !important;
  }

  body.ld-shop .ld-category-bar .tokyo-category-name {
    width: 100% !important;
    font-size: 10px !important;
    line-height: 17px !important;
  }

  body.ld-shop .ld-category-bar .tokyo-category-count {
    min-width: 20px !important;
    height: 15px !important;
    padding: 0 5px !important;
    font-size: 9px !important;
    line-height: 15px !important;
  }

  body.ld-shop .ld-product-grid {
    padding: 10px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.ld-shop .ld-product-card {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 11px !important;
  }

  body.ld-shop .ld-product-image {
    padding: 8px !important;
  }

  body.ld-shop .ld-product-image img,
  body.ld-shop .ld-product-image.is-uploaded img,
  body.ld-shop .ld-product-image.is-gemini-wordmark img,
  body.ld-shop .ld-product-image.is-chatgpt-wordmark img,
  body.ld-shop .ld-product-image.is-claude-wordmark img,
  body.ld-shop .ld-product-image.is-codex-wordmark img,
  body.ld-shop .ld-product-image.is-relay-wordmark img,
  body.ld-shop .ld-product-image.is-relay-symbol img {
    max-width: 86% !important;
    max-height: 78px !important;
  }

  body.ld-shop .ld-product-body {
    padding: 6px 8px 2px !important;
  }

  body.ld-shop .ld-product-body h3 {
    min-height: 16px !important;
    font-size: 11px !important;
  }

  body.ld-shop .ld-product-footer {
    min-height: 35px !important;
    padding: 1px 8px 7px !important;
    gap: 4px !important;
  }

  body.ld-shop .ld-product-footer strong {
    font-size: 13px !important;
  }

  body.ld-shop .ld-stock-status {
    max-width: 84px !important;
    min-height: 19px !important;
    padding: 0 5px !important;
    font-size: 9px !important;
  }

  body.ld-shop .tokyo-footer {
    display: none !important;
  }

  body.ld-shop .ld-store-title h1 {
    max-width: 100% !important;
  }

  body.ld-shop .ld-product-footer strong,
  body.ld-shop .ld-product-footer .ld-stock-status {
    line-height: 1 !important;
  }
}

@media (max-width: 350px) {
  body.ld-shop .tokyo-main {
    padding-right: 6px !important;
    padding-left: 6px !important;
  }

  body.ld-shop .ld-store-header-actions {
    gap: 4px !important;
  }

  body.ld-shop .ld-store-header-button,
  body.ld-shop .ld-member-entry {
    font-size: 9px !important;
  }

  body.ld-shop .ld-product-grid {
    gap: 6px !important;
    padding: 8px !important;
  }
}

body.ld-shop :where(button, a, input):focus-visible {
  outline: 3px solid rgba(23, 105, 232, .24) !important;
  outline-offset: 2px !important;
}

body.ld-shop .ld-product-card {
  grid-template-rows: minmax(0, 1fr) auto auto !important;
}

body.ld-shop .ld-product-image {
  min-height: 0 !important;
  display: grid !important;
  place-items: center !important;
}

body.ld-shop .ld-product-body {
  min-width: 0 !important;
  min-height: 32px !important;
  display: flex !important;
  align-items: center !important;
}

body.ld-shop .ld-product-body h3 {
  width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.ld-shop .ld-product-footer {
  min-width: 0 !important;
  align-items: center !important;
}

body.ld-shop .ld-stock-status {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media (min-width: 761px) {
  body.ld-shop .ld-shop-shell,
  body.ld-shop .tokyo-footer-wrap {
    width: min(1120px, 78vw) !important;
  }

  body.ld-shop .ld-category-bar .tokyo-category-link {
    min-height: 62px !important;
    grid-template-columns: 42px minmax(0, 1fr) auto !important;
    padding-inline: 9px !important;
  }

  body.ld-shop .ld-category-bar .tokyo-category-image {
    width: 42px !important;
    height: 42px !important;
  }

  body.ld-shop .ld-product-image img,
  body.ld-shop .ld-product-image.is-uploaded img,
  body.ld-shop .ld-product-image.is-gemini-wordmark img,
  body.ld-shop .ld-product-image.is-chatgpt-wordmark img,
  body.ld-shop .ld-product-image.is-claude-wordmark img,
  body.ld-shop .ld-product-image.is-codex-wordmark img,
  body.ld-shop .ld-product-image.is-relay-wordmark img,
  body.ld-shop .ld-product-image.is-relay-symbol img {
    max-width: 84% !important;
    max-height: 136px !important;
  }

  body.ld-shop .ld-product-body {
    padding: 7px 11px 2px !important;
  }

  body.ld-shop .ld-product-footer {
    padding: 2px 11px 10px !important;
  }
}

@media (max-width: 760px) {
  body.ld-shop .ld-product-card {
    grid-template-rows: minmax(0, 1fr) auto auto !important;
  }

  body.ld-shop .ld-product-image {
    padding: 7px !important;
  }

  body.ld-shop .ld-product-image img,
  body.ld-shop .ld-product-image.is-uploaded img,
  body.ld-shop .ld-product-image.is-gemini-wordmark img,
  body.ld-shop .ld-product-image.is-chatgpt-wordmark img,
  body.ld-shop .ld-product-image.is-claude-wordmark img,
  body.ld-shop .ld-product-image.is-codex-wordmark img,
  body.ld-shop .ld-product-image.is-relay-wordmark img,
  body.ld-shop .ld-product-image.is-relay-symbol img {
    max-width: 90% !important;
    max-height: 84px !important;
  }

  body.ld-shop .ld-product-body {
    min-height: 30px !important;
    padding: 5px 8px 1px !important;
  }

  body.ld-shop .ld-product-footer {
    padding: 1px 8px 7px !important;
  }
}

body.ld-shop .ld-category-bar .tokyo-category-link.is-active::after {
  display: none !important;
  content: none !important;
}

body.ld-shop .ld-category-bar .tokyo-category-link,
body.ld-shop .ld-category-bar .tokyo-category-link.is-active {
  transform: none !important;
  box-shadow: none !important;
}

body.ld-shop .ld-category-bar .tokyo-category-image {
  display: block !important;
  flex: 0 0 auto !important;
  object-fit: contain !important;
}

body.ld-shop .ld-category-bar .tokyo-category-name,
body.ld-shop .ld-category-bar .tokyo-category-count {
  min-width: 0 !important;
  align-self: center !important;
}

body.ld-shop .account-password-panel {
  width: min(520px, 100%) !important;
  margin: 18px auto 8px !important;
  padding: 20px !important;
  border: 1px solid #dce5ef !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

body.ld-shop .account-password-panel h3 {
  margin: 0 0 16px !important;
  color: #182230 !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

body.ld-shop .account-password-panel form {
  display: grid !important;
  gap: 8px !important;
}

body.ld-shop .account-password-panel label {
  margin-top: 5px !important;
  color: #42526a !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.ld-shop .account-password-panel input {
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  padding: 0 12px !important;
  border: 1px solid #d3deeb !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-size: 14px !important;
}

body.ld-shop .account-password-panel .tokyo-button {
  width: 100% !important;
  min-height: 42px !important;
  margin-top: 8px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
}

body.ld-shop .account-modal > .secondary-button {
  width: min(520px, 100%) !important;
  min-height: 42px !important;
  margin: 10px auto 0 !important;
  border-radius: 10px !important;
}

@media (min-width: 761px) {
  body.ld-shop .ld-category-bar .tokyo-category-link {
    min-height: 64px !important;
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    gap: 10px !important;
  }

  body.ld-shop .ld-category-bar .tokyo-category-image {
    width: 44px !important;
    height: 44px !important;
    padding: 4px !important;
  }

  body.ld-shop .ld-category-bar .tokyo-category-count {
    min-width: 26px !important;
    height: 26px !important;
    padding-inline: 7px !important;
    line-height: 26px !important;
  }
}

@media (max-width: 760px) {
  body.ld-shop .ld-category-bar .tokyo-category-link {
    min-height: 66px !important;
  }

  body.ld-shop .ld-category-bar .tokyo-category-image {
    width: 24px !important;
    height: 24px !important;
    padding: 2px !important;
  }

  body.ld-shop .account-password-panel {
    margin-top: 14px !important;
    padding: 16px !important;
  }

  body.ld-shop .account-password-panel h3 {
    font-size: 16px !important;
  }
}
