:root {
  color: #2f2927;
  background: #fff7f8;
  --font-sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  color: #2f2927;
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 184, 207, .38), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255, 229, 236, .78), transparent 32%),
    linear-gradient(180deg, #fff7f8 0%, #fffdfc 48%, #fff4f7 100%);
}

a {
  color: inherit;
}

.seo-layout {
  width: min(100%, 430px);
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 14px calc(56px + env(safe-area-inset-bottom));
}

.seo-sidebar {
  display: none;
}

.seo-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}

.seo-brand,
.seo-mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e73675;
  font-weight: 900;
  text-decoration: none;
}

.seo-logo {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  object-fit: contain;
}

.seo-mobile-home {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #7a3f54;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(231, 85, 130, .16);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.seo-main {
  width: 100%;
  margin: 0;
  padding: 0;
}

.seo-hero,
.seo-card,
.seo-related {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(235, 92, 130, .12);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(216, 72, 112, .09);
}

.seo-hero {
  padding: 18px;
}

.seo-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid rgba(231, 85, 130, .18);
  border-radius: 999px;
  color: #d83f73;
  background: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 900;
}

h1 {
  margin: 16px 0 10px;
  font-size: clamp(32px, 8vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: #715852;
}

.seo-lead {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.8;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.seo-button,
.seo-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
}

.seo-button {
  color: #fff;
  background: linear-gradient(135deg, #ff4f88, #ff8eb0);
  box-shadow: 0 14px 30px rgba(255, 79, 136, .24);
}

.seo-button-secondary {
  color: #7a3f54;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(231, 85, 130, .16);
}

.seo-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.seo-card,
.seo-related,
.seo-answer {
  padding: 18px;
}

.seo-answer {
  margin-top: 14px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(235, 92, 130, .12);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(216, 72, 112, .09);
}

.seo-answer h2 {
  margin-top: 8px;
}

.seo-date {
  color: #d83f73;
  font-size: 13px;
  font-weight: 900;
}

.seo-flow {
  margin-top: 14px;
}

.seo-steps {
  margin: 10px 0 0;
  padding-left: 22px;
  color: #715852;
}

.seo-steps li + li {
  margin-top: 6px;
}

.seo-facts {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.seo-facts div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(166, 66, 32, .12);
  border-radius: 12px;
  background: rgba(255, 252, 249, .82);
}

.seo-facts dt {
  color: #d83f73;
  font-size: 13px;
  font-weight: 900;
}

.seo-facts dd {
  margin: 0;
  color: #715852;
}

.seo-faq {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.seo-faq details {
  padding: 10px 12px;
  border: 1px solid rgba(166, 66, 32, .12);
  border-radius: 12px;
  background: rgba(255, 252, 249, .82);
}

.seo-faq summary {
  color: #2f2927;
  font-weight: 900;
  cursor: pointer;
}

.seo-faq p {
  margin-top: 8px;
}

.seo-card p + p {
  margin-top: 10px;
}

.seo-related {
  margin-top: 14px;
}

.seo-related-links {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.seo-related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(166, 66, 32, .14);
  border-radius: 12px;
  color: #8d351c;
  background: rgba(255, 252, 249, .92);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.seo-related-links a::after {
  content: ">";
  color: #c06a48;
}

.seo-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 16px;
  color: #6f5652;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .14s, border-color .14s, color .14s, transform .14s;
}

.seo-sidebar-nav {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.seo-sidebar-nav a:hover,
.seo-sidebar-nav a.active {
  color: #e73675;
  background: linear-gradient(135deg, #fff4f8, #fffafd);
  border-color: rgba(255, 126, 166, .34);
  box-shadow: 0 10px 24px rgba(232, 83, 129, .10);
}

.seo-sidebar-cta {
  display: none;
  margin-top: auto;
  padding: 14px;
  border-radius: 16px;
  color: #7a3f54;
  background: rgba(255, 245, 248, .78);
  border: 1px solid rgba(231, 85, 130, .12);
}

.seo-sidebar-cta a {
  display: inline-flex;
  margin-top: 10px;
  color: #e73675;
  font-weight: 900;
  text-decoration: none;
}

.seo-user-card {
  display: none;
}

.site-footer {
  display: none;
}

.seo-nav-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.seo-nav-icon-shell {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 11px;
  color: #d84b7b;
  background: linear-gradient(145deg, #fff7fa, #ffe8f0);
  border: 1px solid rgba(255, 134, 171, .24);
}

.seo-nav-icon-shell svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seo-sidebar-nav a.active .seo-nav-icon-shell {
  color: #fff;
  background: linear-gradient(135deg, #ff6f9e, #ff9bb8);
  border-color: rgba(255, 255, 255, .65);
  box-shadow: 0 8px 18px rgba(255, 92, 139, .24);
}

.seo-sidebar .sidebar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  padding: 8px 12px 20px;
  color: #e73675;
  font-size: 18px;
  font-weight: 900;
}

.seo-sidebar .sidebar-brand .site-logo {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  object-fit: contain;
  transform: translateY(2px);
}

.seo-sidebar .sidebar-brand-text {
  display: block;
  line-height: 1;
}

.seo-sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #6f5652;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background .14s, border-color .14s, color .14s, transform .14s;
}

.seo-sidebar .nav-item:hover {
  color: #d83f73;
  background: rgba(255, 255, 255, .76);
  border-color: rgba(255, 151, 180, .28);
  transform: translateX(1px);
}

.seo-sidebar .nav-item.active {
  color: #e73675;
  background: linear-gradient(135deg, #fff4f8, #fffafd);
  border-color: rgba(255, 126, 166, .34);
  box-shadow: 0 10px 24px rgba(232, 83, 129, .1);
}

.seo-sidebar .nav-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  text-align: center;
}

.seo-sidebar .nav-icon-shell {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 134, 171, .24);
  border-radius: 11px;
  color: #d84b7b;
  background: linear-gradient(145deg, #fff7fa, #ffe8f0);
  font-size: 13px;
  font-weight: 900;
}

.seo-sidebar .nav-icon-shell svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seo-sidebar .nav-icon-shell img {
  display: block;
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.seo-sidebar .nav-item.active .nav-icon-shell {
  color: #fff;
  background: linear-gradient(135deg, #ff6f9e, #ff9bb8);
  border-color: rgba(255, 255, 255, .65);
  box-shadow: 0 8px 18px rgba(255, 92, 139, .24);
}

.seo-sidebar-spacer {
  flex: 1;
}

.seo-sidebar .sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 72px;
  margin-top: auto;
  padding: 12px;
  border: 0;
  border-radius: 14px;
  color: #2f2927;
  background: rgba(255, 245, 248, .78);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.seo-sidebar .sidebar-user:hover {
  background: rgba(255, 234, 242, .98);
}

.seo-sidebar .sidebar-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 134, 171, .24);
  border-radius: 12px;
  object-fit: cover;
  background: #f5f5f6;
}

.seo-sidebar .sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.seo-sidebar .user-name {
  overflow: hidden;
  color: #2f2927;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seo-sidebar .user-points {
  color: #e73675;
  font-size: 12px;
}

.seo-sidebar .user-center-link {
  margin-top: 3px;
  color: #8b746e;
  font-size: 12px;
  font-weight: 800;
}

.seo-sidebar .sidebar-user-arrow {
  color: #d84b7b;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.seo-sidebar .sidebar-logout {
  margin-top: 2px;
  color: #c0504d;
  font-size: 13px;
  opacity: .85;
}

.seo-sidebar .sidebar-logout:hover {
  opacity: 1;
  background: rgba(231, 54, 117, .06);
}

@media (min-width: 900px) {
  .seo-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 860px);
    width: min(100%, 1200px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 0;
    gap: 0;
    box-shadow: 0 0 0 1px rgba(129, 94, 86, .08), 0 22px 80px rgba(116, 85, 75, .12);
    background:
      linear-gradient(135deg, rgba(255, 214, 226, .42), transparent 32%),
      linear-gradient(210deg, rgba(255, 232, 238, .74), transparent 38%),
      #fff7f8;
  }

  .seo-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100vh;
    padding: 28px 16px;
    overflow-y: auto;
    background: rgba(255, 250, 251, .96);
    border-right: 1px solid rgba(231, 85, 130, .1);
    backdrop-filter: blur(18px);
  }

  .seo-brand {
    padding: 8px 12px 18px;
    font-size: 18px;
  }

  .seo-main {
    width: 100%;
    margin: 0;
    padding: 32px 32px 64px;
  }

  .seo-layout > .site-footer {
    grid-column: 2;
    display: block;
    padding: 0 32px 32px;
  }

  .site-footer-inner {
    display: grid;
    gap: 10px;
    padding: 18px 20px;
    border: 1px solid rgba(231, 85, 130, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .82);
    color: #78615b;
    box-shadow: 0 12px 30px rgba(216, 72, 112, .06);
  }

  .site-footer-brand {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }

  .site-footer-brand strong {
    color: #2f2927;
    font-size: 15px;
    font-weight: 900;
  }

  .site-footer-brand span,
  .site-footer-note,
  .site-footer-copy {
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
  }

  .site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .site-footer-links a {
    color: #7a3f54;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
  }

  .site-footer-links a:hover {
    color: #e73675;
    text-decoration: underline;
  }

  .seo-mobile-head {
    display: none;
  }

  .seo-hero {
    padding: 34px 34px 32px;
  }

  .seo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seo-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    margin-top: auto;
    padding: 12px;
    border-radius: 14px;
    color: #2f2927;
    background: rgba(255, 245, 248, .78);
    text-decoration: none;
  }

  .seo-user-card:hover {
    background: rgba(255, 234, 242, .98);
  }

  .seo-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    object-fit: cover;
    background: #f5f5f6;
    border: 1px solid rgba(255, 134, 171, .24);
  }

  .seo-user-info {
    flex: 1;
    min-width: 0;
  }

  .seo-user-name {
    overflow: hidden;
    color: #2f2927;
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .seo-user-sub {
    margin-top: 3px;
    color: #8b746e;
    font-size: 12px;
    font-weight: 800;
  }

  .seo-user-arrow {
    color: #d84b7b;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
  }
}
