:root {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: #17221c;
  background: #f3f5ee;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: radial-gradient(circle at 12% 2%, rgba(223, 242, 95, 0.38), transparent 25rem), #f3f5ee; }
a { color: inherit; }
a:focus-visible { outline: 3px solid rgba(243, 91, 49, 0.32); outline-offset: 3px; }

.seo-site-header,
.seo-main,
.seo-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.seo-site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #17221c;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.seo-brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #f35b31;
  border-radius: 12px 12px 12px 4px;
  box-shadow: 3px 3px 0 #17221c;
  font-family: "Songti SC", "STSong", serif;
  font-size: 21px;
  font-weight: 900;
  transform: rotate(-4deg);
}

.seo-home-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #17221c;
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid rgba(23, 34, 28, 0.13);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.seo-main { padding: 18px 0 80px; }
.seo-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #7a847c; font-size: 12px; }
.seo-breadcrumb a { text-decoration: none; }
.seo-breadcrumb a:hover { color: #17221c; }

.seo-platform-hero {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 34px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(23, 34, 28, 0.12);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(32, 47, 37, 0.08);
}

.seo-platform-logo,
.seo-related-logo {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--platform-accent);
  background: var(--platform-tint);
  font-family: "Songti SC", "STSong", serif;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--platform-accent) 16%, transparent);
}

.seo-platform-logo { width: 92px; height: 92px; border-radius: 25px; font-size: 32px; }
.seo-platform-logo img,
.seo-related-logo img { width: 100%; height: 100%; display: block; padding: 8px; object-fit: contain; background: #fff; border-radius: inherit; }
.seo-platform-copy { min-width: 0; }
.seo-category-links { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 9px; }
.seo-category-links a { padding: 4px 8px; color: var(--platform-accent); background: var(--platform-tint); border-radius: 6px; font-size: 10px; font-weight: 750; text-decoration: none; }
.seo-platform-copy h1 { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(32px, 4.5vw, 54px); letter-spacing: -0.055em; line-height: 1.15; }
.seo-platform-copy > p { max-width: 650px; margin: 12px 0 0; color: #667168; font-size: 14px; line-height: 1.75; }
.seo-platform-copy > p strong { color: #cf3f1c; }
.seo-page-meta { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 13px; color: #899189; font-size: 10px; }
.seo-primary-action { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; color: #fff; background: #f35b31; border-radius: 13px; font-size: 13px; font-weight: 800; text-decoration: none; transition: background-color 180ms ease, transform 180ms ease; }
.seo-primary-action:hover { background: #cf3f1c; transform: translateY(-1px); }

.seo-notice { min-height: 42px; display: flex; align-items: center; gap: 9px; margin: 16px 0 26px; padding: 8px 15px; color: #68736b; background: rgba(255, 253, 248, 0.65); border: 1px solid rgba(23, 34, 28, 0.08); border-radius: 13px; font-size: 11px; }
.seo-notice > span { width: 7px; height: 7px; flex: 0 0 auto; background: #6bb95d; border-radius: 50%; box-shadow: 0 0 0 3px rgba(107, 185, 93, 0.15); }
.seo-packages { display: grid; gap: 24px; }
.seo-offer-group { padding: 24px; background: rgba(255, 253, 248, 0.82); border: 1px solid rgba(23, 34, 28, 0.1); border-radius: 22px; }
.seo-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.seo-section-heading h2 { margin: 0; font-size: 18px; letter-spacing: -0.025em; }
.seo-section-heading > span { color: #849087; font-size: 11px; }
.seo-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seo-offer { min-width: 0; min-height: 96px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy discount" "price action"; align-items: center; gap: 9px 14px; padding: 14px 15px; background: #f7f8f3; border: 1px solid #e1e5de; border-radius: 15px; }
.seo-offer-copy { grid-area: copy; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.seo-offer-copy strong { font-size: 14px; }
.seo-offer-copy span { overflow: hidden; color: #7b857d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.seo-offer-price { grid-area: price; display: flex; align-items: baseline; gap: 9px; }
.seo-offer-price strong { color: #f35b31; font-size: 20px; letter-spacing: -0.035em; }
.seo-offer-price strong small { margin-right: 2px; font-size: 11px; }
.seo-offer-price del { color: #929b93; font-size: 9px; }
.seo-discount { grid-area: discount; justify-self: end; padding: 4px 7px; color: #cf3f1c; background: #fff0eb; border-radius: 999px; font-size: 10px; font-weight: 750; }
.seo-offer > a { grid-area: action; justify-self: end; color: #17221c; font-size: 11px; font-weight: 750; text-underline-offset: 3px; }

.seo-related { margin-top: 28px; padding: 24px; background: rgba(255, 253, 248, 0.64); border: 1px solid rgba(23, 34, 28, 0.09); border-radius: 22px; }
.seo-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.seo-related-grid > a { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 11px; color: #17221c; background: #f7f8f3; border: 1px solid #e1e5de; border-radius: 14px; text-decoration: none; }
.seo-related-logo { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; font-size: 16px; }
.seo-related-grid > a > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.seo-related-grid strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.seo-related-grid small { color: #cf3f1c; font-size: 9px; }

.seo-category-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 36px 38px; color: #fff; background: #17221c; border-radius: 26px; box-shadow: 10px 12px 0 #dff25f; }
.seo-category-hero > p { align-self: flex-start; margin: 3px 0 0; color: #ff9c80; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; }
.seo-category-hero h1 { flex: 1; margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(38px, 5vw, 62px); letter-spacing: -0.055em; }
.seo-category-hero > div { color: #d7ded8; font-size: 12px; white-space: nowrap; }
.seo-category-hero > div strong { margin-right: 3px; color: #dff25f; font-size: 22px; }
.seo-category-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 18px; }
.seo-category-nav a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; color: #58635b; background: rgba(255, 255, 255, 0.7); border: 1px solid #dce1d8; border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; }
.seo-category-nav a[aria-current="page"] { color: #fff; background: #17221c; border-color: #17221c; }
.seo-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.seo-category-card { min-width: 0; min-height: 94px; display: flex; align-items: center; gap: 12px; padding: 15px; color: #17221c; background: rgba(255, 253, 248, 0.92); border: 1px solid rgba(23, 34, 28, 0.11); border-radius: 17px; text-decoration: none; transition: border-color 180ms ease, transform 180ms ease; }
.seo-category-card:hover { border-color: rgba(23, 34, 28, 0.25); transform: translateY(-2px); }
.seo-category-card .seo-platform-logo { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 14px; font-size: 18px; }
.seo-category-card-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.seo-category-card-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.seo-category-card-copy small { overflow: hidden; color: #7a847c; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.seo-category-discount { flex: 0 0 auto; padding: 4px 7px; color: var(--platform-accent); background: var(--platform-tint); border-radius: 999px; font-size: 9px; font-weight: 700; }
.seo-category-discount b { font-size: 11px; }

.seo-empty-page { min-height: 58vh; display: grid; place-content: center; justify-items: center; text-align: center; }
.seo-empty-page > span { width: 62px; height: 62px; display: grid; place-items: center; color: #fff; background: #f35b31; border-radius: 19px 19px 19px 7px; box-shadow: 4px 4px 0 #17221c; font-family: "Songti SC", "STSong", serif; font-size: 28px; font-weight: 900; transform: rotate(-4deg); }
.seo-empty-page h1 { margin: 24px 0 8px; font-family: "Songti SC", "STSong", serif; font-size: 38px; }
.seo-empty-page p { margin: 0 0 22px; color: #667168; font-size: 13px; }

.seo-footer { min-height: 150px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 30px; padding: 28px 0; border-top: 1px solid #d7dcd4; }
.seo-footer > div { grid-row: 1 / 3; }
.seo-footer .seo-brand { font-size: 17px; }
.seo-footer .seo-brand-mark { width: 34px; height: 34px; border-radius: 10px 10px 10px 3px; font-size: 18px; box-shadow: 2px 2px 0 #17221c; }
.seo-footer p { align-self: end; justify-self: end; margin: 0; color: #7c867e; font-size: 11px; text-align: right; }
.seo-footer > a { align-self: start; justify-self: end; color: #7c867e; font-size: 11px; text-decoration: none; }

@media (max-width: 820px) {
  .seo-platform-hero { grid-template-columns: 76px minmax(0, 1fr); padding: 26px; }
  .seo-platform-logo { width: 76px; height: 76px; border-radius: 21px; }
  .seo-primary-action { grid-column: 1 / -1; }
  .seo-category-hero { align-items: flex-start; flex-direction: column; gap: 10px; }
  .seo-category-hero > p { order: -1; }
  .seo-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .seo-site-header,
  .seo-main,
  .seo-footer { width: min(100% - 28px, 540px); }
  .seo-site-header { min-height: 60px; }
  .seo-brand { gap: 9px; font-size: 18px; }
  .seo-brand-mark { width: 34px; height: 34px; border-radius: 10px 10px 10px 3px; box-shadow: 2px 2px 0 #17221c; font-size: 18px; }
  .seo-home-link { min-height: 36px; padding-inline: 11px; font-size: 11px; }
  .seo-main { padding: 8px 0 52px; }
  .seo-breadcrumb { margin-bottom: 12px; }
  .seo-platform-hero { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 19px 16px; border-radius: 20px; }
  .seo-platform-logo { width: 58px; height: 58px; border-radius: 17px; font-size: 23px; }
  .seo-platform-copy h1 { font-size: clamp(29px, 9vw, 38px); }
  .seo-platform-copy > p { margin-top: 8px; font-size: 12px; }
  .seo-page-meta { display: none; }
  .seo-primary-action { width: 100%; min-height: 44px; }
  .seo-notice { align-items: flex-start; margin: 12px 0 18px; border-radius: 12px; line-height: 1.55; }
  .seo-notice > span { margin-top: 5px; }
  .seo-packages { gap: 16px; }
  .seo-offer-group { padding: 16px 12px; border-radius: 18px; }
  .seo-section-heading { margin: 0 3px 12px; }
  .seo-section-heading h2 { font-size: 16px; }
  .seo-offer-grid { grid-template-columns: 1fr; gap: 8px; }
  .seo-offer { min-height: 90px; }
  .seo-related { margin-top: 18px; padding: 16px 12px; border-radius: 18px; }
  .seo-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .seo-category-hero { gap: 7px; padding: 23px 20px; border-radius: 20px; box-shadow: 6px 7px 0 #dff25f; }
  .seo-category-hero h1 { font-size: 36px; }
  .seo-category-nav { flex-wrap: nowrap; overflow-x: auto; margin: 24px -14px 14px; padding: 0 14px; scrollbar-width: none; }
  .seo-category-nav::-webkit-scrollbar { display: none; }
  .seo-category-nav a { flex: 0 0 auto; }
  .seo-category-grid { grid-template-columns: 1fr; gap: 9px; }
  .seo-category-card { min-height: 86px; padding: 12px; }
  .seo-footer { min-height: 190px; grid-template-columns: 1fr; align-content: center; gap: 14px; }
  .seo-footer > div { grid-row: auto; }
  .seo-footer p,
  .seo-footer > a { justify-self: start; text-align: left; }
}
