:root {
  --as-blue: #0071e3;
  --as-blue-soft: #e8f2ff;
  --as-text: #1d1d1f;
  --as-muted: #6e6e73;
  --as-border: rgba(0, 0, 0, .12);
  --as-sidebar: #f5f5f7;
  --as-bg: #fff;
  --as-card: #fff;
  --as-radius: 20px;
  --as-shadow: 0 12px 36px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body.as-page {
  margin: 0;
  min-height: 100vh;
  background: var(--as-bg);
  color: var(--as-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body.as-inner-page {
  background: #fff !important;
}

.as-modal-open {
  overflow: hidden;
}

.as-page a {
  color: inherit;
  text-decoration: none;
}

.as-page button,
.as-page input {
  font: inherit;
}

.as-page :focus-visible {
  outline: 3px solid rgba(0, 113, 227, .32);
  outline-offset: 3px;
}

.as-layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100vh;
}

.as-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 28px 28px 22px;
  background: var(--as-sidebar);
  border-right: 1px solid #d7d7dc;
}

.as-store-title,
.as-mobile-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--as-text);
  font-weight: 700;
}

.as-store-title {
  font-size: 22px;
  margin-bottom: 28px;
}

.as-store-title span:last-child,
.as-mobile-brand strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.as-store-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  min-width: 30px;
  max-width: 30px;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
}

.as-store-mark img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  display: block;
  object-fit: cover;
}

.as-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 40px;
  padding: 0 13px;
  border: 1px solid #d4d4d8;
  border-radius: 8px;
  background: #fff;
  color: #8e8e93;
}

.as-search-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.as-search-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.as-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--as-text);
  background: transparent;
}

.as-nav {
  display: grid;
  gap: 4px;
  margin: 30px 0;
}

.as-nav a,
.as-category-link {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--as-text);
  font-size: 18px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.as-nav a:hover,
.as-category-link:hover {
  background: rgba(0, 0, 0, .055);
}

.as-nav a.is-active,
.as-category-link.is-active {
  background: #dedee3;
  font-weight: 700;
}

.as-symbol,
.as-category-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: var(--as-blue);
  font-weight: 800;
}

.as-symbol {
  overflow: hidden;
  border-radius: 7px;
  background: transparent;
}

.as-category-icon {
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(145deg, #007aff, #34c759);
  overflow: hidden;
}

.as-category-icon--blue {
  background: var(--as-blue);
}

.as-category-icon--image {
  background: transparent;
}

.as-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.as-category-icon--image img {
  object-fit: contain;
}

.as-category-icon img,
.as-app-icon img,
.as-item-icon img {
  position: static !important;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

body.as-page .as-item-icon > img.item-cover {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  transform: none !important;
}

.as-side-section p {
  margin: 0 0 8px 2px;
  color: var(--as-muted);
  font-size: 13px;
  font-weight: 700;
}

.as-category-link span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.as-main {
  min-width: 0;
  padding: 28px clamp(30px, 5vw, 70px) 64px;
}

.as-mobile-head,
.as-mobile-search-wrap,
.as-mobile-categories,
.as-tabbar {
  display: none;
}

.as-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.as-heading h1 {
  margin: 0;
  font-size: clamp(34px, 3.1vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.as-heading p {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--as-muted);
  font-size: 17px;
  line-height: 1.45;
}

.as-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .86fr) 1.14fr;
  min-height: 330px;
  margin-bottom: 42px;
  overflow: hidden;
  border-radius: 25px;
  background:
    radial-gradient(circle at 72% 12%, rgba(255,255,255,.9), rgba(255,255,255,0) 20%),
    linear-gradient(135deg, #82e3c5 0%, #d9fca3 52%, #b9f4de 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

.as-feature-card--category-image {
  background:
    radial-gradient(circle at 72% 12%, rgba(255,255,255,.95), rgba(255,255,255,0) 22%),
    linear-gradient(135deg, #e8f5ff 0%, #dbf9e9 50%, #fff1bf 100%);
}

.as-feature-card--category-image .as-feature-copy {
  color: #102033;
  text-shadow: none;
}

.as-feature-copy {
  align-self: end;
  padding: 0 0 45px 44px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.12);
}

.as-feature-copy p {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.as-feature-copy h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(30px, 3.1vw, 50px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.as-feature-copy span {
  display: block;
  margin-top: 16px;
  font-size: 19px;
  font-weight: 700;
}

.as-feature-media {
  position: relative;
  min-height: 300px;
}

.as-feature-category-image {
  position: absolute;
  top: 32px;
  right: 64px;
  width: min(34vw, 350px);
  max-height: 270px;
  object-fit: contain;
  border-radius: 32px;
  filter: drop-shadow(0 28px 42px rgba(17, 24, 39, .2));
}

.as-device {
  position: absolute;
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 2px solid rgba(0,0,0,.35);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.45)),
    linear-gradient(145deg, rgba(0,113,227,.2), rgba(52,199,89,.15));
  box-shadow: 0 20px 70px rgba(25, 91, 71, .22);
}

.as-device span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  color: #0f172a;
  background: rgba(255,255,255,.82);
  font-weight: 800;
}

.as-device-large {
  right: 60px;
  top: 42px;
  width: min(44vw, 520px);
  height: 214px;
}

.as-device-small {
  left: 0;
  bottom: 56px;
  width: 250px;
  height: 126px;
}

.as-announcement-hero {
  position: relative;
  min-height: 320px;
  margin-bottom: 28px;
  padding: 30px 42px 24px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 22px;
  background:
    linear-gradient(115deg, rgba(255,255,255,.96) 0%, rgba(246,251,255,.96) 44%, rgba(218,242,255,.92) 100%),
    linear-gradient(135deg, #f7fbff 0%, #dff4ff 58%, #eefaff 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255,255,255,.78);
}

.as-announcement-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.as-announcement-badge,
.as-announcement-note {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.as-announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(0, 113, 227, .14);
  border-radius: 999px;
  color: #0a63d8;
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 26px rgba(0, 113, 227, .12);
  font-size: 14px;
  font-weight: 850;
}

.as-announcement-badge span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  background: #2176ff;
  font-size: 12px;
  line-height: 1;
}

.as-announcement-hero h2 {
  max-width: 620px;
  margin: 18px 0 12px;
  color: #07123a;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.as-announcement-hero p {
  margin: 0;
  color: #1e2d54;
  font-size: 22px;
  line-height: 1.36;
  font-weight: 800;
}

.as-announcement-hero .as-announcement-content > span {
  display: block;
  margin-top: 10px;
  color: #33405f;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 650;
}

.as-announcement-tips {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 14px;
  max-width: 1060px;
  margin-top: 24px;
}

.as-announcement-tips article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  min-height: 78px;
  padding: 14px 16px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .06);
}

.as-announcement-tips i {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #1687d9;
  background: #e8f7ff;
  font-style: normal;
  font-weight: 900;
  font-size: 13px;
}

.as-announcement-tips article:nth-child(2) i,
.as-announcement-tips article:nth-child(5) i {
  color: #22a06b;
  background: #e6f7ef;
}

.as-announcement-tips article:nth-child(3) i {
  color: #7c3cff;
  background: #f0eaff;
}

.as-announcement-tips strong,
.as-announcement-tips em {
  display: block;
  min-width: 0;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 820;
}

.as-announcement-tips em {
  color: #253047;
  font-weight: 650;
}

.as-announcement-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1060px;
  margin-top: 22px;
}

.as-announcement-note {
  padding: 0;
  color: #526078;
  background: transparent;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.as-announcement-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.as-action-primary,
.as-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 850;
  white-space: nowrap;
}

.as-page .as-action-primary {
  min-width: 180px;
  color: #fff;
  background: linear-gradient(135deg, #2788ff, #3654f4);
  box-shadow: 0 14px 26px rgba(39, 136, 255, .24);
}

.as-action-secondary {
  gap: 12px;
  min-width: 260px;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, .18);
  color: #0f1f44;
  background: rgba(255,255,255,.82);
  cursor: pointer;
}

.as-action-secondary strong {
  color: #1f2937;
  font-size: 15px;
}

.as-action-secondary em {
  color: #64748b;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.as-announcement-visual {
  position: absolute;
  top: 38px;
  right: 36px;
  width: min(34vw, 520px);
  height: 250px;
  pointer-events: none;
}

.as-announcement-visual::before {
  content: "";
  position: absolute;
  inset: 22px 12px 12px 0;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 999px;
  transform: skewX(-18deg);
  background: linear-gradient(140deg, rgba(255,255,255,.32), rgba(164,220,255,.12));
}

.as-announcement-visual span {
  position: absolute;
  display: block;
  height: 94px;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(217,239,255,.42));
  box-shadow: 0 24px 42px rgba(77, 137, 186, .18);
}

.as-announcement-visual span:nth-child(1) {
  top: 16px;
  right: 20px;
  width: 210px;
}

.as-announcement-visual span:nth-child(2) {
  top: 84px;
  right: 130px;
  width: 260px;
}

.as-announcement-visual span:nth-child(3) {
  top: 36px;
  right: 250px;
  width: 150px;
  opacity: .72;
}

.as-notice-modal[hidden] {
  display: none;
}

.as-notice-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.as-notice-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .38);
  backdrop-filter: blur(12px);
}

.as-notice-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(72vh, 680px);
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(248,251,255,.98), rgba(255,255,255,.98) 34%),
    #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .2);
}

.as-notice-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: transparent;
  background: rgba(241, 245, 249, .92);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .22), 0 8px 18px rgba(15, 23, 42, .08);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.as-notice-close::before,
.as-notice-close::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: #475569;
  transition: background .16s ease;
}

.as-notice-close::before {
  transform: rotate(45deg);
}

.as-notice-close::after {
  transform: rotate(-45deg);
}

.as-notice-close:hover {
  transform: translateY(-1px);
  background: #e8f2ff;
  box-shadow: inset 0 0 0 1px rgba(39, 136, 255, .18), 0 10px 22px rgba(39, 136, 255, .14);
}

.as-notice-close:hover::before,
.as-notice-close:hover::after {
  background: #0a63d8;
}

.as-notice-close:active {
  transform: scale(.96);
}

.as-notice-dialog h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 42px 20px 0;
  color: #0f172a;
  font-family: custom_font, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: 0;
}

.as-notice-dialog h2::before {
  content: "";
  width: 10px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2788ff, #22c55e);
}

.as-notice-body {
  display: grid;
  gap: 12px;
  color: #334155;
  font-size: 15px;
  line-height: 1.78;
}

.as-notice-body p {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
}

.as-notice-body .as-notice-lead {
  padding: 16px 18px;
  color: #0f172a;
  background: linear-gradient(135deg, rgba(232,242,255,.95), rgba(255,255,255,.92));
  border-color: rgba(39, 136, 255, .18);
  font-family: custom_font, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.5;
}

.as-notice-body .as-notice-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.as-notice-body .as-notice-step i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #0a63d8;
  background: #e8f2ff;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
}

.as-notice-body .as-notice-step span {
  min-width: 0;
}

.as-notice-body mark {
  padding: 1px 5px;
  border-radius: 6px;
  color: #0a63d8;
  background: rgba(232, 242, 255, .95);
  font-weight: 820;
}

.as-notice-body a {
  color: #0a63d8;
  font-weight: 800;
  word-break: break-all;
}

@media (max-width: 760px) {
  .as-notice-modal {
    padding: 14px;
  }

  .as-notice-dialog {
    width: 100%;
    max-height: 78vh;
    padding: 22px 16px 16px;
    border-radius: 18px;
  }

  .as-notice-close {
    top: 14px;
    right: 14px;
  }

  .as-notice-dialog h2 {
    margin-right: 42px;
    margin-bottom: 14px;
    font-size: 22px;
  }

  .as-notice-body {
    gap: 10px;
    font-size: 14px;
    line-height: 1.68;
  }

  .as-notice-body p {
    padding: 11px 12px;
    border-radius: 12px;
  }

  .as-notice-body .as-notice-lead {
    padding: 14px;
    font-size: 16px;
  }

  .as-notice-body .as-notice-step {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .as-notice-body .as-notice-step i {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
}

.as-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--as-border);
}

.as-section-head h2,
.as-flow h2,
.as-faq h2,
.as-detail-card h2 {
  margin: 0;
  color: var(--as-text);
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
}

.as-section-head a {
  color: var(--as-blue);
  font-weight: 700;
}

.as-product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 42px;
}

.as-product-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto 78px;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.as-product-row:hover .as-product-info h3 {
  color: var(--as-blue);
}

.as-mobile-price {
  display: none;
}

.as-product-row.is-hidden {
  display: none;
}

.as-product-row.is-sold-out {
  opacity: .58;
}

.as-app-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 17px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}

.as-product-info {
  min-width: 0;
}

.as-product-info h3 {
  display: -webkit-box;
  margin: 0 0 5px;
  overflow: hidden;
  color: var(--as-text);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 750;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.as-product-info p {
  margin: 0;
  overflow: hidden;
  color: var(--as-muted);
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.as-product-stat {
  display: grid;
  gap: 4px;
  min-width: 74px;
  color: var(--as-muted);
  font-size: 12px;
  text-align: right;
}

.as-product-stat strong {
  color: var(--as-text);
  font-size: 17px;
}

.as-list-member-price {
  display: block;
  margin-top: 2px;
  color: var(--as-blue);
  font-size: 14px;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}

.as-get-button,
.as-pay-methods .pay-list .pay,
.as-sku-list .sku,
.optional-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--as-blue);
  background: #f2f2f7;
  font-weight: 800;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.as-get-button {
  width: 70px;
  padding: 0 16px;
}

.as-product-row:hover .as-get-button,
.as-get-button:hover {
  background: var(--as-blue-soft);
}

.as-get-button:active,
.as-sku-list .sku:active,
.as-pay-methods .pay-list .pay:active {
  transform: scale(.98);
}

.as-empty,
.as-no-result {
  grid-column: 1 / -1;
  padding: 28px 0;
  color: var(--as-muted);
}

.as-support {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 42px 0;
}

.as-support article {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: #fbfbfd;
}

.as-support strong,
.as-support span {
  display: block;
}

.as-support strong {
  margin-bottom: 7px;
  font-size: 16px;
}

.as-support span {
  color: var(--as-muted);
  font-size: 14px;
  line-height: 1.45;
}

.as-flow-faq {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 20px;
}

.as-flow,
.as-faq,
.as-detail-card,
.as-pay-card,
.as-preview-panel {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--as-radius);
  background: var(--as-card);
  box-shadow: 0 8px 28px rgba(0,0,0,.04);
}

.as-flow,
.as-faq {
  padding: 22px;
}

.as-flow ol {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.as-flow li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.as-flow li span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: #34c759;
  font-size: 13px;
  font-weight: 800;
}

.as-flow p {
  margin: 0;
  color: var(--as-muted);
  line-height: 1.5;
}

.as-flow strong {
  color: var(--as-text);
}

.as-faq details {
  padding: 15px 0;
  border-bottom: 1px solid rgba(0,0,0,.09);
}

.as-faq details:last-child {
  border-bottom: 0;
}

.as-faq summary {
  cursor: pointer;
  color: var(--as-text);
  font-weight: 750;
}

.as-faq p {
  margin: 10px 0 0;
  color: var(--as-muted);
  line-height: 1.55;
}

.as-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 64px;
  padding: 0 clamp(18px, 4vw, 50px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
}

.as-topbar nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--as-muted);
  font-size: 14px;
  font-weight: 700;
}

.as-topbar nav a:hover {
  color: var(--as-blue);
}

.as-checkout {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.as-item-hero {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 16px 0 30px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.as-item-icon {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(145deg, #111827, #0a84ff);
  font-size: 30px;
  font-weight: 800;
  box-shadow: var(--as-shadow);
}

.as-item-title {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.as-item-title p,
.as-pay-head p {
  margin: 0 0 5px;
  color: var(--as-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.as-item-title h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.as-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.as-item-meta span,
.as-item-meta button {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--as-muted);
  background: #f2f2f7;
  font-size: 13px;
  font-weight: 750;
}

.as-item-meta button {
  color: var(--as-blue);
  cursor: pointer;
}

.as-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
  padding-top: 28px;
}

.as-detail-column {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.as-preview-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px;
  background: #f5f5f7;
}

.as-preview-screen {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.4), rgba(255,255,255,0) 22%),
    linear-gradient(145deg, #111827, #0a84ff);
}

.as-preview-screen.is-secondary {
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.45), rgba(255,255,255,0) 22%),
    linear-gradient(145deg, #12b981, #84cc16);
}

.as-preview-screen span,
.as-preview-screen em {
  font-style: normal;
  font-weight: 700;
  opacity: .86;
}

.as-preview-screen strong {
  margin: 6px 0;
  font-size: 30px;
  line-height: 1.1;
}

.as-detail-card {
  padding: 24px;
}

.as-detail-content {
  margin-top: 16px;
  color: #333;
  line-height: 1.7;
}

.as-detail-content img,
.as-detail-content video,
.as-detail-content iframe {
  max-width: 100%;
  border-radius: 14px;
}

.as-pay-card {
  position: sticky;
  top: 84px;
  padding: 22px;
}

.as-pay-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,.09);
}

.as-pay-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.as-pay-price {
  color: var(--as-text);
  font-size: 28px;
  font-weight: 800;
}

.as-form {
  display: grid;
  gap: 16px;
}

.as-field {
  display: grid;
  gap: 9px;
}

.as-field > label,
.as-pay-methods > label {
  color: var(--as-text);
  font-size: 14px;
  font-weight: 800;
}

.as-field .form-control,
.as-form input,
.as-captcha input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d6d6dc;
  border-radius: 12px;
  background: #fff;
  color: var(--as-text);
  box-shadow: none;
}

.as-field .form-control:focus,
.as-form input:focus {
  border-color: var(--as-blue);
  box-shadow: 0 0 0 4px rgba(0,113,227,.13);
}

.as-sku-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.as-sku-list .sku {
  min-height: 40px;
  padding: 0 14px;
  color: var(--as-text);
  border: 1px solid transparent;
}

.as-sku-list .sku span {
  margin-left: 8px;
  color: var(--as-muted);
  font-size: 12px;
}

.as-sku-list .sku.is-primary,
.as-pay-methods .pay-list .pay.is-selected,
.as-pay-methods .pay-list .pay.active {
  color: #fff;
  background: var(--as-blue);
  box-shadow: 0 8px 22px rgba(0,113,227,.22);
}

.as-sku-list .sku.is-primary span {
  color: rgba(255,255,255,.82);
}

.optional-card {
  min-height: 42px;
  border: 1px dashed #b8b8c0;
  color: var(--as-blue);
  cursor: pointer;
}

.as-qty {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  overflow: hidden;
  border: 1px solid #d6d6dc;
  border-radius: 12px;
}

.as-qty button,
.as-qty input {
  min-height: 44px;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff;
}

.as-qty button {
  color: var(--as-blue);
  font-size: 20px;
  font-weight: 800;
}

.as-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 10px;
  align-items: center;
}

.as-captcha img {
  width: 116px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.as-pay-methods {
  display: grid;
  gap: 9px;
}

.as-pay-methods .pay-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.as-pay-methods .pay-list .pay {
  min-height: 46px;
  padding: 0 12px;
  color: var(--as-text);
  border: 1px solid transparent;
  cursor: pointer;
}

.as-safe-note {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  color: #34502f;
  background: #f0faef;
  font-size: 13px;
  line-height: 1.45;
}

.as-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: center;
  padding: 26px 18px 40px;
  color: var(--as-muted);
  font-size: 13px;
}

.as-footer a {
  color: var(--as-blue);
  font-weight: 750;
}

@media (max-width: 1180px) {
  .as-product-list {
    grid-template-columns: 1fr;
  }

  .as-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .as-layout {
    display: block;
  }

  .as-sidebar {
    display: none;
  }

  .as-main {
    padding: 14px 16px 86px;
  }

  .as-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 42px;
  }

  .as-mobile-query {
    color: var(--as-blue);
    font-size: 14px;
    font-weight: 750;
  }

  .as-mobile-search-wrap {
    display: block;
    margin: 12px 0;
  }

  .as-mobile-categories {
    display: flex;
    gap: 8px;
    margin: 0 -16px 18px;
    padding: 0 16px 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .as-mobile-categories::-webkit-scrollbar {
    display: none;
  }

  .as-mobile-categories a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    flex: 0 0 auto;
    border-radius: 999px;
    color: var(--as-muted);
    background: #f2f2f7;
    font-size: 14px;
    font-weight: 750;
  }

  .as-mobile-categories a.is-active {
    color: #fff;
    background: var(--as-blue);
  }

  .as-heading {
    display: block;
    margin-bottom: 16px;
  }

  .as-heading h1 {
    font-size: 34px;
  }

  .as-heading p {
    max-width: none;
    margin-top: 7px;
    font-size: 15px;
  }

  .as-feature-card {
    grid-template-columns: 1fr;
    min-height: 205px;
    margin-bottom: 28px;
    border-radius: 22px;
  }

  .as-feature-copy {
    position: relative;
    z-index: 1;
    padding: 82px 20px 20px;
  }

  .as-feature-copy p {
    font-size: 13px;
  }

  .as-feature-copy h2 {
    max-width: 280px;
    font-size: 27px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .18);
  }

  .as-feature-copy span {
    margin-top: 8px;
    font-size: 14px;
    max-width: 300px;
  }

  .as-feature-media {
    position: absolute;
    inset: 0;
    min-height: 0;
    opacity: .58;
  }

  .as-feature-card--category-image .as-feature-media {
    opacity: .82;
  }

  .as-feature-card--category-image .as-feature-copy {
    max-width: 54%;
  }

  .as-feature-card--category-image .as-feature-copy h2 {
    max-width: 175px;
    font-size: 25px;
  }

  .as-feature-card--category-image .as-feature-copy span {
    max-width: 165px;
    font-size: 13px;
  }

  .as-feature-category-image {
    top: 14px;
    right: -10px;
    width: 178px;
    max-height: 178px;
    border-radius: 28px;
    filter: drop-shadow(0 18px 30px rgba(17, 24, 39, .16));
  }

  .as-announcement-hero {
    display: block;
    min-height: 0;
    margin-bottom: 24px;
    padding: 22px 18px 18px;
    border-radius: 20px;
  }

  .as-announcement-hero h2 {
    margin-top: 16px;
    font-size: 34px;
  }

  .as-announcement-hero p {
    font-size: 17px;
  }

  .as-announcement-hero .as-announcement-content > span {
    font-size: 14px;
  }

  .as-announcement-tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
  }

  .as-announcement-tips article {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 76px;
    padding: 12px;
    border-radius: 15px;
  }

  .as-announcement-tips i {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 11px;
  }

  .as-announcement-tips strong,
  .as-announcement-tips em {
    font-size: 13px;
  }

  .as-announcement-foot,
  .as-announcement-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .as-announcement-actions {
    gap: 10px;
  }

  .as-action-primary,
  .as-action-secondary {
    width: 100%;
    min-width: 0;
  }

  .as-announcement-visual {
    display: none;
  }

  .as-device-large {
    right: -42px;
    top: 18px;
    width: 260px;
    height: 138px;
  }

  .as-device-small {
    display: none;
    left: -18px;
    bottom: auto;
    top: 58px;
    width: 128px;
    height: 82px;
    padding: 13px;
  }

  .as-device {
    padding: 16px;
    border-radius: 18px;
  }

  .as-device span {
    min-height: 24px;
    padding: 0 9px;
    font-size: 12px;
  }

  .as-section-head h2 {
    font-size: 22px;
  }

  .as-product-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .as-product-row {
    grid-template-columns: 62px minmax(0, 1fr) 62px;
    gap: 12px;
    min-height: 92px;
    padding: 14px 0;
  }

  .as-app-icon {
    width: 62px;
    height: 62px;
    border-radius: 15px;
  }

  .as-product-stat {
    display: none;
  }

  .as-mobile-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
  }

  .as-mobile-price strong {
    color: var(--as-text);
    font-size: 15px;
  }

  .as-mobile-price em {
    color: var(--as-blue);
    font-size: 13px;
    font-style: normal;
    font-weight: 750;
  }

  .as-product-info h3 {
    font-size: 16px;
    -webkit-line-clamp: 1;
  }

  .as-product-info p {
    font-size: 13px;
  }

  .as-get-button {
    width: 62px;
    min-height: 32px;
    padding: 0 12px;
  }

  .as-support {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 30px 0;
  }

  .as-support article {
    padding: 14px;
    border-radius: 16px;
  }

  .as-flow-faq {
    grid-template-columns: 1fr;
  }

  .as-flow,
  .as-faq {
    padding: 18px;
  }

  .as-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 64px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(0,0,0,.1);
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(18px);
  }

  .as-tabbar a {
    display: grid;
    place-items: center;
    color: var(--as-muted);
    font-size: 12px;
    font-weight: 750;
  }

  .as-tabbar a.is-active {
    color: var(--as-blue);
  }

  .as-topbar {
    height: auto;
    min-height: 58px;
    padding: 10px 16px;
  }

  .as-topbar nav {
    gap: 12px;
    font-size: 13px;
  }

  .as-checkout {
    width: min(100% - 28px, 720px);
    padding: 18px 0 84px;
  }

  .as-item-hero {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 20px;
  }

  .as-item-icon {
    width: 86px;
    height: 86px;
    border-radius: 20px;
  }

  .as-item-title h1 {
    font-size: 28px;
  }

  .as-item-meta {
    gap: 6px;
  }

  .as-item-meta span,
  .as-item-meta button {
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }

  .as-checkout-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 20px;
  }

  .as-pay-card {
    position: static;
  }

  .as-preview-panel {
    grid-template-columns: 1fr;
  }

  .as-preview-screen {
    min-height: 168px;
  }
}

/* Item page refinement: keep buying controls visible before long descriptions. */
.as-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--as-blue) !important;
  background: #f2f7ff;
  font-size: 14px;
  font-weight: 850;
}

.as-item-hero {
  align-items: start;
}

.as-item-title > p {
  color: var(--as-blue);
  font-weight: 900;
}

.as-item-title h1 {
  max-width: 820px;
}

.as-item-meta {
  margin-top: 14px;
}

.as-item-meta span,
.as-item-meta button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #f5f5f7;
  color: #4b5563;
}

.as-item-meta .item-stock {
  color: #236443;
  background: #edf9f1;
}

.as-pay-card {
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
}

.as-pay-head {
  align-items: center;
}

.as-pay-head h2 {
  font-size: 22px;
}

.as-pay-price {
  color: #ff2d55;
  min-width: 118px;
  text-align: right;
}

.as-pay-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
}

.as-pay-summary div,
.as-summary-share {
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: #f5f5f7;
}

.as-pay-summary span,
.as-pay-summary strong {
  display: block;
}

.as-pay-summary span {
  margin-bottom: 4px;
  color: var(--as-muted);
  font-size: 12px;
  font-weight: 850;
}

.as-pay-summary strong {
  overflow: hidden;
  color: var(--as-text);
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.as-pay-summary .item-stock,
.as-pay-summary .item-stock-plain {
  color: #236443;
}

.as-summary-share {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  color: var(--as-blue);
  font-weight: 900;
  cursor: pointer;
}

.as-summary-share:hover {
  background: var(--as-blue-soft);
}

@media (max-width: 900px) {
  .as-checkout {
    padding-top: 14px;
  }

  .as-back-link {
    position: sticky;
    top: 68px;
    z-index: 11;
    margin-bottom: 12px;
    background: rgba(242, 247, 255, .92);
    backdrop-filter: blur(14px);
  }

  .as-item-hero {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
    border-bottom: 0;
  }

  .as-item-title h1 {
    font-size: 25px;
    line-height: 1.12;
  }

  .as-item-meta {
    gap: 7px;
  }

  .as-item-meta span,
  .as-item-meta button {
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }

  .as-pay-card {
    order: -1;
    margin-top: 0;
  }

  .as-detail-column {
    order: 2;
  }

  .as-pay-summary {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 560px) {
  .as-support {
    grid-template-columns: 1fr;
  }

  .as-feature-copy h2 {
    max-width: 250px;
  }

  .as-topbar nav a:nth-child(1) {
    display: none;
  }

  .as-pay-card {
    margin: 0 -2px;
    padding: 18px;
    border-radius: 18px;
  }

  .as-pay-methods .pay-list {
    grid-template-columns: 1fr;
  }
}

.as-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.as-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #236443;
  background: #edf9f1;
  font-size: 12px;
  font-weight: 800;
}

.as-badge-sold {
  color: #7a4a00;
  background: #fff4dc;
}

.as-badge.is-danger {
  color: #b42318;
  background: #fff0ee;
}

.as-product-row.is-sold-out {
  cursor: not-allowed;
}

.as-product-row.is-sold-out .as-get-button {
  color: #b42318;
  background: #fff0ee;
}

.as-item-kpis {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 14px;
  align-items: stretch;
  margin: 18px 0 12px;
}

.as-item-kpis div {
  min-width: 96px;
  padding: 11px 14px;
  border-radius: 14px;
  background: #f5f5f7;
}

.as-item-kpis span,
.as-item-kpis strong {
  display: block;
}

.as-item-kpis span {
  margin-bottom: 3px;
  color: var(--as-muted);
  font-size: 12px;
  font-weight: 800;
}

.as-item-kpis strong {
  color: var(--as-text);
  font-size: 18px;
  line-height: 1.1;
  white-space: nowrap;
}

.as-field-help {
  display: block;
  color: var(--as-muted);
  font-size: 12px;
  line-height: 1.45;
}

.as-mobile-cat-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(145deg, #0a84ff, #34c759);
  font-size: 11px;
  font-weight: 900;
}

.as-mobile-cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.as-mobile-categories a {
  gap: 7px;
}

.as-query-page {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 76px;
}

.as-query-shell .as-query-page {
  width: 100%;
  margin: 0;
  padding-top: 0;
}

.as-query-title p {
  margin: 8px 0 0;
  color: var(--as-muted);
  font-size: 16px;
}

.as-query-title > a,
.as-section-head a {
  color: var(--as-blue);
  font-size: 15px;
  font-weight: 850;
}

.as-query-hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(360px, .72fr);
  gap: 28px;
  align-items: end;
  padding: 34px;
  border-radius: 28px;
  background: radial-gradient(circle at 78% 15%, rgba(255,255,255,.86), rgba(255,255,255,0) 24%), linear-gradient(135deg, #dff3ff, #f2f8ff 42%, #e7f8ee);
}

.as-query-copy p {
  margin: 0 0 8px;
  color: var(--as-blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.as-query-copy h1,
.as-query-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 850;
}

.as-query-copy span {
  display: block;
  max-width: 560px;
  margin-top: 14px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.55;
}

.as-query-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--as-shadow);
}

.as-query-form label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.as-query-form label span {
  color: var(--as-text);
  font-size: 14px;
  font-weight: 800;
}

.as-query-form input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d6d6dc;
  border-radius: 14px;
  background: #fff;
}

.as-query-form button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--as-blue);
  font-weight: 850;
}

.as-query-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 32px;
}

.as-query-tips article,
.as-state-card,
.as-query-results .order-item {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.04);
}

.as-query-tips article {
  padding: 18px;
}

.as-query-tips strong,
.as-query-tips span {
  display: block;
}

.as-query-tips strong {
  margin-bottom: 6px;
  font-size: 16px;
}

.as-query-tips span {
  color: var(--as-muted);
  font-size: 14px;
  line-height: 1.45;
}

.as-state-card {
  padding: 24px;
  color: var(--as-muted);
}

.as-state-card h2 {
  margin: 0 0 8px;
  color: var(--as-text);
  font-size: 24px;
  font-weight: 850;
}

.as-state-card p {
  margin: 0;
}

.as-query-results .order-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.as-query-results .order-item {
  padding: 20px;
}

.as-query-results .order-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.as-query-results .order-left {
  display: flex;
  gap: 14px;
  min-width: 0;
}

.as-query-results .status-badge,
.as-query-results .shipment-badge,
.as-query-results .goods-sku {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f2f2f7;
  color: var(--as-muted);
  font-size: 12px;
  font-weight: 850;
}

.as-query-results .status-paid,
.as-query-results .shipment-paid {
  color: #236443;
  background: #edf9f1;
}

.as-query-results .status-pending,
.as-query-results .shipment-waiting {
  color: #7a4a00;
  background: #fff4dc;
}

.as-query-results .order-basic {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--as-muted);
  font-size: 13px;
}

.as-query-results .order-no {
  color: var(--as-text);
  font-size: 16px;
  font-weight: 850;
}

.as-query-results .order-amount {
  display: grid;
  gap: 4px;
  text-align: right;
}

.as-query-results .amount-label {
  color: var(--as-muted);
  font-size: 12px;
  font-weight: 800;
}

.as-query-results .amount-value {
  color: #ff2d55;
  font-size: 22px;
  font-weight: 900;
}

.as-query-results .goods-section {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-top: 16px;
}

.as-query-results .order-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 14px;
  background: #f8fafc;
}

.as-query-results .order-info-grid div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.as-query-results .order-info-grid span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.as-query-results .order-info-grid strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 850;
}

.as-query-results .cancel-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid rgba(239, 68, 68, .2);
  border-radius: 999px;
  color: #b91c1c;
  background: #fff1f2;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.as-query-results .cancel-order-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.as-query-results .goods-thumb,
.as-query-results .goods-image {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.as-query-results .goods-thumb {
  overflow: hidden;
  background: linear-gradient(145deg, #0a84ff, #34c759);
}

.as-query-results .goods-image {
  object-fit: cover;
}

.as-query-results .goods-name {
  margin: 0 0 8px;
  color: var(--as-text);
  font-size: 16px;
  font-weight: 850;
}

.as-query-results .goods-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.as-query-results .card-section {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: #f5f5f7;
}

.as-query-results .card-header {
  padding: 0 0 10px;
  border: 0;
  background: transparent;
}

.as-query-results .shipment-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.as-query-results .shipment-title {
  font-weight: 850;
}

.as-query-results .card-display {
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--as-text);
  word-break: break-all;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .as-item-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .as-item-kpis div {
    min-width: 0;
    padding: 9px 11px;
  }

  .as-item-kpis strong {
    font-size: 15px;
  }

  .as-query-page {
    width: min(100% - 28px, 720px);
    padding: 18px 0 84px;
  }

  .as-query-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
    border-radius: 22px;
  }

  .as-query-copy h1,
  .as-query-copy h2 {
    font-size: 34px;
  }

  .as-query-copy span {
    font-size: 15px;
  }

  .as-query-tips {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .as-query-results .order-header {
    display: grid;
  }

  .as-query-results .order-left {
    display: grid;
  }

  .as-query-results .order-info-grid {
    grid-template-columns: 1fr;
  }

  .as-query-results .order-amount {
    text-align: left;
  }
}

/* Item page polish: tighter App Store-style alignment and cleaner checkout facts. */
.as-checkout {
  width: min(1120px, calc(100% - 40px));
}

.as-back-link {
  width: fit-content;
  margin-bottom: 14px;
  color: var(--as-blue);
  font-weight: 850;
}

.as-item-hero {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 10px 0 28px;
}

.as-item-icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
}

.as-item-title > p {
  margin-bottom: 7px;
  font-size: 12px;
  letter-spacing: 0;
}

.as-item-title h1 {
  max-width: 760px;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.as-item-meta {
  width: auto;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  gap: 7px;
}

.as-item-meta span,
.as-item-meta button {
  min-height: 28px;
  padding: 0 12px;
  border: 0;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

.as-item-meta .item-stock,
.as-item-meta .as-delivery-pill,
.as-badge-delivery {
  color: #16a34a;
  background: #f0fdf4;
}

.as-item-meta .shared-button {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
}

.as-item-meta .shared-button:hover {
  background: #f9fafb;
  color: #374151;
}

.as-pay-card {
  border-color: #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.as-pay-head {
  align-items: stretch;
  gap: 16px;
}

.as-pay-price {
  display: grid;
  align-content: center;
  justify-items: start;
  min-width: 148px;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  text-align: left;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.as-price-label {
  margin-bottom: 5px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
}

.as-pay-price .price {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  color: inherit;
  font-size: 32px;
  font-weight: 650;
  line-height: .95;
  white-space: nowrap;
}

.as-pay-price .price .unit {
  display: inline;
  margin-right: 3px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
}

.as-pay-summary {
  gap: 10px;
  grid-template-columns: 1fr;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.as-pay-summary div,
.as-summary-share {
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.as-pay-summary span {
  color: #6b7280;
  font-size: 12px;
  letter-spacing: 0;
}

.as-pay-summary strong {
  color: #1d1d1f;
  font-size: 15px;
  letter-spacing: 0;
}

.as-pay-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.as-summary-share {
  justify-content: space-between;
  color: var(--as-blue);
  font-size: 15px;
  font-weight: 900;
}

.as-summary-share::after {
  content: "↗";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #eef5ff;
  color: inherit;
}

.as-summary-share:hover {
  border-color: rgba(0, 113, 227, .2);
  background: linear-gradient(180deg, #0a84ff, #0071e3);
  color: #fff;
}

.as-pay-methods .pay-list {
  grid-template-columns: 1fr;
  justify-content: stretch;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.as-pay-methods .pay-list .pay {
  position: relative;
  justify-content: flex-start;
  width: 100%;
  min-height: 48px;
  padding: 0 42px 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #1f2937;
  background: #fff;
  box-shadow: none;
}

.as-pay-methods .pay-list .pay:hover {
  background: #f9fafb;
  box-shadow: none;
}

.as-pay-methods .pay-list .pay.is-selected {
  border-color: #6366f1;
  background: #eef2ff;
}

.as-pay-methods .pay-list .pay::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  transform: translateY(-50%);
  background: #fff;
}

.as-pay-methods .pay-list .pay::before {
  content: "";
  position: absolute;
  right: 19px;
  top: 50%;
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  transform: translateY(-50%) scale(0);
  background: #fff;
}

.as-pay-methods .pay-list .pay.is-selected::after {
  border-color: #6366f1;
  background: #6366f1;
}

.as-pay-methods .pay-list .pay.is-selected::before {
  transform: translateY(-50%) scale(1);
}

.as-pay-methods .pay-list .pay img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 6px;
  background: #fff;
}

.as-pay-methods {
  gap: 10px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
}

.as-pay-methods > label {
  padding-bottom: 0;
  border-bottom: 0;
}

.as-pay-methods .pay-list .pay:focus-visible {
  outline: 3px solid rgba(0, 113, 227, .22);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .as-checkout {
    width: min(100% - 28px, 720px);
  }

  .as-item-hero {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    padding-top: 6px;
  }

  .as-item-icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
  }

  .as-item-title h1 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .as-item-meta {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .as-pay-head {
    align-items: flex-start;
  }

  .as-pay-price {
    min-width: 128px;
    min-height: 72px;
    padding: 13px 14px;
  }

  .as-pay-price .price {
    font-size: 28px;
  }

  .as-pay-methods .pay-list {
    grid-template-columns: 1fr;
  }

  .as-pay-summary {
    grid-template-columns: 1fr;
  }
}

body.as-page,
body.as-inner-page {
  background: #f9fafb !important;
}

/* SaaS checkout refinement */
.as-checkout {
  width: min(1280px, calc(100% - 48px));
  padding-top: 56px;
}

.as-item-hero {
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 18px 0 40px;
}

.as-item-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.as-item-title h1 {
  max-width: 820px;
  font-size: clamp(36px, 3vw, 42px);
  line-height: 1.15;
  font-weight: 760;
  margin-bottom: 20px;
}

.as-item-meta {
  gap: 12px;
  margin-top: 20px;
}

.as-item-meta span,
.as-item-meta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.as-item-meta span {
  background: #f3f4f6;
  color: #4b5563;
}

.as-item-meta .as-delivery-pill {
  background: #f0fdf4;
  color: #16a34a;
}

.as-item-meta .shared-button {
  min-height: 32px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  box-shadow: none;
}

.as-item-meta .shared-button:hover {
  background: #f9fafb;
  color: #4b5563;
}

.as-checkout-grid {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  padding-top: 34px;
}

.as-detail-card {
  width: 100%;
  padding: 28px;
  border-color: #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.as-detail-card h2 {
  color: #111827;
  font-weight: 760;
}

.as-detail-content {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
}

.as-support--item {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.as-support--item article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.as-support-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 999px;
  font-size: 18px;
}

.as-support-icon--blue {
  color: #2563eb;
  background: #eff6ff;
}

.as-support-icon--purple {
  color: #9333ea;
  background: #faf5ff;
}

.as-support-icon--orange {
  color: #ea580c;
  background: #fff7ed;
}

.as-support--item strong {
  color: #111827;
  font-size: 16px;
  font-weight: 760;
}

.as-support--item span:not(.as-support-icon) {
  margin-top: 14px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.as-pay-card {
  width: 420px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  top: 32px;
}

.as-pay-head {
  display: block;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.as-pay-price {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.as-price-label {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 650;
}

.as-pay-price .price {
  align-items: flex-end;
  color: #ec4899;
  font-size: 52px;
  font-weight: 780;
  letter-spacing: 0;
}

.as-pay-price .price .unit {
  margin-right: 10px;
  color: #f472b6;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.15;
}

.as-member-price-line {
  display: inline-grid;
  margin-top: 8px;
  color: #1677ff;
  text-decoration: none;
}

.as-member-price-line span {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.as-member-price-line:hover span {
  color: #0b65df;
}

.as-member-price-line.is-hidden {
  display: none;
}

.as-form {
  gap: 20px;
}

.as-field {
  gap: 10px;
}

.as-field > label,
.as-pay-methods > label {
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.as-field .form-control,
.as-form input,
.as-captcha input {
  min-height: 48px;
  border-color: #e5e7eb;
  border-radius: 12px;
  color: #111827;
}

.as-field .form-control:focus,
.as-form input:focus,
.as-captcha input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px #dbeafe;
}

.as-field-help {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
}

.as-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 12px;
  align-items: center;
}

.as-captcha .captcha-img {
  width: 112px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.as-pay-methods {
  gap: 12px;
}

.as-pay-methods .pay-list .pay {
  min-height: 56px;
  padding: 0 52px 0 14px;
  border-color: #e5e7eb;
  border-radius: 12px;
  color: #1f2937;
  font-weight: 700;
  background: #fff;
}

.as-pay-methods .pay-list .pay:hover {
  background: #f9fafb;
}

.as-pay-methods .pay-list .pay.is-selected,
.as-pay-methods .pay-list .pay.active {
  border-color: #60a5fa;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: none;
}

.as-pay-methods .pay-list .pay.is-selected span,
.as-pay-methods .pay-list .pay.active span {
  color: #1d4ed8;
  font-weight: 760;
}

.as-pay-methods .pay-list .pay img {
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 10px;
  background: #3b82f6;
}

.as-pay-methods .pay-list .pay::after {
  right: 16px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  content: "";
  background: #d1d5db;
}

.as-pay-methods .pay-list .pay.is-selected::after,
.as-pay-methods .pay-list .pay.active::after {
  content: "✓";
  background: #3b82f6;
}

.as-pay-methods .pay-list .pay::before {
  display: none;
}

.as-pay-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #1677ff;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(22, 119, 255, .2);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.as-pay-submit:hover {
  background: #0b65df;
  box-shadow: 0 14px 32px rgba(22, 119, 255, .26);
}

.as-pay-submit:active {
  transform: scale(.99);
}

.as-pay-submit:disabled,
.as-pay-submit.is-disabled {
  color: #94a3b8;
  background: #eef2f7;
  cursor: not-allowed;
  box-shadow: none;
}

.as-safe-note {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #dcfce7;
  border-radius: 12px;
  color: #15803d;
  background: #f0fdf4;
}

.as-safe-note strong {
  color: #166534;
  font-size: 14px;
  font-weight: 760;
}

.as-safe-note span {
  color: #15803d;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .as-checkout {
    width: min(100% - 28px, 720px);
    padding-top: 22px;
  }

  .as-item-hero {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    padding: 6px 0 24px;
  }

  .as-item-icon {
    width: 92px;
    height: 92px;
    border-radius: 22px;
  }

  .as-item-title h1 {
    font-size: 25px;
    line-height: 1.15;
  }

  .as-item-meta {
    gap: 8px;
  }

  .as-item-meta span,
  .as-item-meta button {
    min-height: 30px;
    padding: 0 12px;
  }

  .as-checkout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 22px;
  }

  .as-pay-card {
    width: auto;
    padding: 24px;
  }

  .as-pay-price .price {
    font-size: 44px;
  }

  .as-pay-price .price .unit {
    font-size: 22px;
  }

  .as-support--item {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .as-support--item article {
    min-height: 0;
  }
}

/* 2026-05 UI density pass: keep mobile product discovery above the fold and trim item-page whitespace. */
.as-announcement-hero {
  min-height: 260px;
  margin-bottom: 20px;
  padding: 24px 32px 22px;
}

.as-announcement-hero h2 {
  max-width: 560px;
  margin: 14px 0 10px;
  font-size: clamp(34px, 3.2vw, 48px);
}

.as-announcement-hero p {
  font-size: 19px;
}

.as-announcement-hero .as-announcement-content > span {
  font-size: 15px;
}

.as-announcement-tips {
  grid-template-columns: repeat(5, minmax(118px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.as-announcement-tips article {
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 14px;
}

.as-announcement-tips i {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 11px;
}

.as-announcement-tips strong,
.as-announcement-tips em {
  font-size: 13px;
}

.as-announcement-foot {
  margin-top: 16px;
}

.as-item-hero {
  position: relative;
  grid-template-columns: 112px minmax(0, 760px) minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 8px 0 26px;
}

.as-item-hero::after {
  content: "自动发货 · 订单可查 · 售后可追踪";
  justify-self: end;
  align-self: center;
  max-width: 340px;
  padding: 18px 22px;
  border: 1px solid rgba(0, 113, 227, .12);
  border-radius: 18px;
  color: #0f3d73;
  background: linear-gradient(135deg, rgba(232,242,255,.9), rgba(255,255,255,.84));
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.55;
}

.as-item-icon {
  width: 112px;
  height: 112px;
  border-radius: 24px;
}

.as-item-title h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(32px, 2.7vw, 42px);
  line-height: 1.14;
}

.as-item-meta {
  margin-top: 8px;
}

.as-support--item {
  gap: 18px;
  margin-top: 28px;
}

.as-support--item article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  align-items: start;
  min-height: 126px;
  padding: 18px;
  border-radius: 18px;
}

.as-support-icon {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  margin: 0;
  font-size: 15px;
}

.as-support--item strong {
  align-self: end;
  font-size: 15px;
}

.as-support--item span:not(.as-support-icon) {
  margin-top: 0;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .as-item-hero {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .as-item-hero::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .as-main {
    padding-top: 18px;
  }

  .as-mobile-categories {
    margin-bottom: 10px;
  }

  .as-heading {
    margin-bottom: 10px;
  }

  .as-heading h1 {
    font-size: 26px;
  }

  .as-heading p {
    font-size: 13px;
  }

  .as-announcement-hero {
    display: block;
    min-height: 0;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
  }

  .as-announcement-badge {
    min-height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }

  .as-announcement-hero h2,
  .as-announcement-hero p,
  .as-announcement-hero .as-announcement-content > span,
  .as-announcement-tips,
  .as-announcement-note,
  .as-announcement-visual {
    display: none;
  }

  .as-announcement-hero h2 {
    margin: 10px 0 6px;
    font-size: 24px;
    line-height: 1.12;
  }

  .as-announcement-hero p {
    font-size: 14px;
  }

  .as-announcement-hero .as-announcement-content > span {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.35;
  }

  .as-announcement-tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .as-announcement-tips article {
    grid-template-columns: 26px minmax(0, 1fr);
    min-height: 48px;
    padding: 8px;
    border-radius: 12px;
    box-shadow: none;
  }

  .as-announcement-tips article:nth-child(n+3) {
    display: none;
  }

  .as-announcement-tips i {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    font-size: 10px;
  }

  .as-announcement-tips strong,
  .as-announcement-tips em {
    font-size: 12px;
    line-height: 1.25;
  }

  .as-announcement-foot {
    display: block;
    margin-top: 8px;
    max-width: none;
  }

  .as-announcement-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 8px;
  }

  .as-action-primary,
  .as-action-secondary {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 38px;
    padding: 0 9px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.15;
    overflow: hidden;
  }

  .as-action-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    color: #0f1f44;
    background: rgba(255,255,255,.92);
    border-color: rgba(148, 163, 184, .24);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
  }

  .as-action-secondary span {
    min-width: 0;
    font-size: 12px;
    white-space: nowrap;
  }

  .as-action-secondary strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    font-size: 12px;
  }

  .as-action-secondary em {
    display: none;
  }

  .as-action-secondary.is-copied {
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 10px 20px rgba(34, 197, 94, .22);
  }

  body.as-page .as-announcement-actions .as-action-secondary.is-copied {
    color: #fff !important;
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
    box-shadow: 0 10px 20px rgba(34, 197, 94, .22) !important;
  }

  .as-products {
    scroll-margin-top: 12px;
    margin-top: 4px;
  }

  .as-product-list {
    row-gap: 8px;
  }

  .as-product-row {
    min-height: 84px;
  }

  .as-item-hero {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    padding: 4px 0 16px;
  }

  .as-item-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .as-item-title h1 {
    font-size: 22px;
    line-height: 1.18;
    margin-bottom: 8px;
  }

  .as-item-meta {
    gap: 6px;
    margin-top: 4px;
  }

  .as-item-meta span,
  .as-item-meta button {
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }

  .as-support--item {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .as-support--item article {
    min-height: 0;
    padding: 14px;
    border-radius: 15px;
  }
}

/* Product detail typography: formal, readable service description. */
.as-detail-card {
  overflow: hidden;
}

.as-detail-card h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  font-family: custom_font, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
}

.as-detail-card h2::before {
  content: "";
  width: 8px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2788ff, #22c55e);
}

.as-detail-content {
  display: flow-root;
  margin-top: 20px;
  color: #334155;
  font-size: 16px;
  line-height: 1.86;
  word-break: break-word;
}

.as-detail-content h1,
.as-detail-content h2,
.as-detail-content h3,
.as-detail-content h4 {
  margin: 28px 0 12px;
  color: #0f172a;
  font-family: custom_font, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-weight: 850;
  line-height: 1.32;
  letter-spacing: 0;
}

.as-detail-content h1:first-child,
.as-detail-content h2:first-child,
.as-detail-content h3:first-child,
.as-detail-content h4:first-child {
  margin-top: 0;
}

.as-detail-content h1 { font-size: 28px; }
.as-detail-content h2 { font-size: 23px; }
.as-detail-content h3 { font-size: 19px; }
.as-detail-content h4 { font-size: 17px; }

.as-detail-content p {
  margin: 0 0 14px;
}

.as-detail-content p:empty {
  display: none;
}

.as-detail-content strong,
.as-detail-content b {
  color: #0f172a;
  font-weight: 850;
}

.as-detail-content em {
  color: #0a63d8;
  font-style: normal;
  font-weight: 760;
}

.as-detail-content a {
  color: #0a63d8;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(10, 99, 216, .28);
  text-underline-offset: 3px;
}

.as-detail-content ul,
.as-detail-content ol {
  display: grid;
  gap: 10px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.as-detail-content li {
  position: relative;
  min-height: 34px;
  padding: 10px 12px 10px 42px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 14px;
  background: rgba(248, 250, 252, .86);
}

.as-detail-content ul li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2788ff;
  box-shadow: 0 0 0 5px #e8f2ff;
}

.as-detail-content ol {
  counter-reset: detail-step;
}

.as-detail-content ol li {
  counter-increment: detail-step;
}

.as-detail-content ol li::before {
  content: counter(detail-step);
  position: absolute;
  left: 12px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #0a63d8;
  background: #e8f2ff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.as-detail-content blockquote {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid rgba(34, 197, 94, .18);
  border-left: 4px solid #22c55e;
  border-radius: 14px;
  color: #14532d;
  background: #f0fdf4;
}

.as-detail-content table {
  width: 100%;
  margin: 18px 0;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 14px;
  background: #fff;
}

.as-detail-content th,
.as-detail-content td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  color: #334155;
  text-align: left;
  vertical-align: top;
}

.as-detail-content th {
  color: #0f172a;
  background: #f8fafc;
  font-weight: 850;
}

.as-detail-content tr:last-child td {
  border-bottom: 0;
}

.as-detail-content img,
.as-detail-content video,
.as-detail-content iframe {
  display: block;
  max-width: 100%;
  margin: 18px auto;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.as-detail-content code {
  padding: 2px 6px;
  border-radius: 6px;
  color: #0a63d8;
  background: #e8f2ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}

@media (max-width: 760px) {
  .as-detail-card {
    padding: 18px;
    border-radius: 18px;
  }

  .as-detail-card h2 {
    padding-bottom: 12px;
    font-size: 21px;
  }

  .as-detail-card h2::before {
    height: 22px;
  }

  .as-detail-content {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.76;
  }

  .as-detail-content h1 { font-size: 24px; }
  .as-detail-content h2 { font-size: 21px; }
  .as-detail-content h3 { font-size: 18px; }

  .as-detail-content li {
    padding: 9px 10px 9px 38px;
    border-radius: 12px;
  }

  .as-detail-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Checkout support cards: clearer icon/title alignment and less empty space. */
.as-support.as-support--item {
  gap: 14px;
  margin-top: 22px;
}

.as-support.as-support--item article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 6px;
  align-items: center;
  min-height: 108px;
  padding: 18px 20px;
  border-radius: 18px;
}

.as-support.as-support--item .as-support-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 14px;
  font-size: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.78);
}

.as-support.as-support--item .as-support-icon i {
  display: block;
  line-height: 1;
}

.as-support.as-support--item .as-support-icon--blue {
  color: #0a63d8;
  background: linear-gradient(135deg, #e8f2ff, #f7fbff);
}

.as-support.as-support--item .as-support-icon--purple {
  color: #7c3aed;
  background: linear-gradient(135deg, #f2eaff, #fbf8ff);
}

.as-support.as-support--item .as-support-icon--orange {
  color: #c2410c;
  background: linear-gradient(135deg, #fff1df, #fffaf4);
}

.as-support.as-support--item strong {
  align-self: end;
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 820;
  line-height: 1.35;
}

.as-support.as-support--item span:not(.as-support-icon) {
  align-self: start;
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .as-support.as-support--item {
    gap: 10px;
    margin-top: 16px;
  }

  .as-support.as-support--item article {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 12px;
    min-height: 92px;
    padding: 14px;
    border-radius: 15px;
  }

  .as-support.as-support--item .as-support-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: 16px;
  }

  .as-support.as-support--item strong {
    font-size: 15px;
  }

  .as-support.as-support--item span:not(.as-support-icon) {
    font-size: 13px;
    line-height: 1.55;
  }
}


/* Mobile item-detail guidance */
.as-item-meta .as-mobile-detail-jump,
.as-mobile-read-note {
  display: none !important;
}

.as-mobile-read-note {
  box-sizing: border-box;
  text-decoration: none;
}

@media (max-width: 768px) {
  .as-item-meta .as-mobile-detail-jump {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 28px;
    min-width: 94px;
    padding: 0 12px;
    border: 1px solid rgba(0, 122, 255, 0.24) !important;
    border-radius: 999px;
    background: #ffffff !important;
    color: #0a63d8 !important;
    font-size: 12px;
    font-weight: 780;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);
    -webkit-tap-highlight-color: transparent;
  }

  .as-item-meta .as-mobile-detail-jump:active {
    background: #eef6ff !important;
    transform: translateY(1px);
  }

  .as-mobile-read-note {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
    padding: 11px 12px;
    border: 1px solid rgba(10, 132, 255, 0.16);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    color: #25364b;
    font-size: 12px;
    font-weight: 720;
    line-height: 1.45;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  }

  .as-mobile-read-note::before {
    content: "i";
    flex: 0 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #0a84ff;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    font-style: normal;
    line-height: 1;
  }

  .as-mobile-read-note::after {
    content: "查看";
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0a63d8;
    font-size: 11px;
    font-weight: 780;
  }

  .as-mobile-read-note span {
    min-width: 0;
    flex: 1 1 auto;
  }

  .as-detail-card {
    scroll-margin-top: 20px;
  }
}
