:root {
  --pink-50: #fff5fa;
  --pink-100: #ffe6f0;
  --pink-150: #ffd9e9;
  --pink-200: #ffc6de;
  --pink-300: #ff9fc8;
  --pink-400: #ff71ae;
  --pink-500: #e40c78;
  --pink-600: #c20866;
  --pink-700: #9a0a52;
  --ink-900: #25101d;
  --ink-700: #5e4150;
  --ink-500: #8e7281;
  --line: rgba(228, 12, 120, 0.12);
  --card: rgba(255, 255, 255, 0.82);
  --shadow-lg: 0 22px 60px rgba(191, 42, 115, 0.12);
  --shadow-md: 0 14px 36px rgba(191, 42, 115, 0.10);
  --shadow-sm: 0 10px 24px rgba(191, 42, 115, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --sidebar-width: 292px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 159, 200, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(228, 12, 120, 0.12), transparent 32%),
    linear-gradient(180deg, #fff9fc 0%, #fff6fa 34%, #fffdfd 100%);
  min-height: 100vh;
}

a {
  text-decoration: none;
}

.site-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  flex: 0 0 var(--sidebar-width);
  padding: 22px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 18px 22px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,245,250,0.92));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0 10px;
}

.brand img,
.mobile-brand img {
  max-width: 100%;
  height: auto;
}

.sidebar__domain,
.mobile-domain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(228, 12, 120, 0.08);
  color: var(--pink-600);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
}

.sidebar-nav {
  gap: 8px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--ink-700);
  font-weight: 600;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.nav-pill i {
  width: 18px;
  text-align: center;
  color: var(--pink-500);
}

.nav-pill:hover,
.nav-pill.is-active {
  color: var(--pink-600);
  background: linear-gradient(135deg, rgba(228, 12, 120, 0.12), rgba(255, 113, 174, 0.12));
  box-shadow: inset 0 0 0 1px rgba(228, 12, 120, 0.08);
  transform: translateX(2px);
}

.mobile-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 12px 0;
  background: rgba(255, 248, 251, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 12, 120, 0.08);
}

.mobile-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mobile-brand {
  display: inline-flex;
  align-items: center;
  max-width: 178px;
}

.mobile-menu-btn {
  width: 48px;
  height: 48px;
  border: none;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-400));
  box-shadow: var(--shadow-sm);
}

.offcanvas {
  border-right: 0;
  background: linear-gradient(180deg, #fffafc, #fff2f8);
}

.offcanvas-title {
  font-weight: 800;
}

.main-content {
  flex: 1 1 auto;
  padding: 24px 0 36px;
}

.hero-card,
.section-card,
.quick-links-section,
.site-footer__inner,
.search-summary {
  border: 1px solid rgba(255,255,255,0.86);
  background: var(--card);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.hero-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: 0;
}

.hero-card::before {
  width: 280px;
  height: 280px;
  right: -110px;
  top: -120px;
  background: radial-gradient(circle, rgba(255, 113, 174, 0.18), transparent 68%);
}

.hero-card::after {
  width: 180px;
  height: 180px;
  left: -70px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(228, 12, 120, 0.12), transparent 70%);
}

.hero-card > .row {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-desc {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink-700);
  max-width: 56rem;
}

.hero-domain {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--pink-600);
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(228, 12, 120, 0.08);
}

.hero-panel {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,241,248,0.92));
  box-shadow: inset 0 0 0 1px rgba(228, 12, 120, 0.07);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  min-height: 58px;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(228, 12, 120, 0.08);
}

.search-box i {
  color: var(--pink-500);
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  padding: 0;
  font-size: 1rem;
  background: transparent;
  color: var(--ink-900);
}

.search-tip {
  margin-top: 10px;
  color: var(--ink-500);
  font-size: .9rem;
}

.quick-links-section {
  padding: 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.section-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-headline__eyebrow {
  margin: 0 0 6px;
  font-size: .82rem;
  font-weight: 800;
  color: var(--pink-500);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-headline__title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 900;
}

.quick-link-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 128px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,243,248,0.96));
  box-shadow: inset 0 0 0 1px rgba(228, 12, 120, 0.08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.quick-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(228, 12, 120, 0.14);
}

.quick-link-card__title {
  color: var(--ink-900);
  font-size: 1.04rem;
  font-weight: 800;
}

.quick-link-card__desc {
  margin-top: 8px;
  color: var(--ink-700);
  font-size: .93rem;
  line-height: 1.6;
}

.search-summary {
  margin-bottom: 24px;
  padding: 14px 18px;
  border-radius: 18px;
  color: var(--ink-700);
}

.content-section {
  scroll-margin-top: 100px;
}

.section-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.section-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(228, 12, 120, 0.14), rgba(255, 113, 174, 0.14));
  color: var(--pink-600);
  font-size: 1.15rem;
}

.section-card__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
}

.section-card__subtitle {
  margin: 4px 0 0;
  color: var(--ink-500);
  font-size: .92rem;
}

.section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(228, 12, 120, 0.08);
  color: var(--pink-600);
  font-weight: 800;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 55px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,244,248,0.92));
  box-shadow: inset 0 0 0 1px rgba(228, 12, 120, 0.08);
  color: var(--ink-900);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(228, 12, 120, 0.14);
  color: var(--pink-600);
}

.link-card__main {
  min-width: 0;
}

.link-card__name {
  font-weight: 800;
  line-height: 1.45;
  word-break: break-word;
}

.link-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(228, 12, 120, 0.08);
  color: var(--pink-600);
  font-size: .82rem;
  font-weight: 700;
}

.link-card__icon {
  flex: 0 0 auto;
  color: rgba(228, 12, 120, 0.45);
  font-size: .98rem;
}

.site-footer {
  padding: 10px 0 24px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 22px;
  border-radius: 22px;
}

.site-footer__brand img {
  width: 120px;
  height: auto;
}

.site-footer__text {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.8;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-400));
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  z-index: 1050;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.app-modal {
  border: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffafc, #fff2f8);
  box-shadow: var(--shadow-lg);
}

.app-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 4px auto 16px;
  border-radius: 24px;
  background: rgba(228, 12, 120, 0.1);
  color: var(--pink-500);
  font-size: 1.65rem;
}

.app-modal__name {
  margin: 0;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 900;
}

.app-modal__desc {
  margin: 10px auto 0;
  text-align: center;
  color: var(--ink-700);
  max-width: 26rem;
  line-height: 1.7;
}

.app-modal__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

.btn-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-400));
}

.btn-app:hover {
  color: #fff;
  opacity: .95;
}

.btn-app.is-disabled,
.btn-app:disabled {
  pointer-events: none;
  opacity: .45;
}

.app-modal__hint {
  margin-top: 14px;
  text-align: center;
  color: var(--ink-500);
  font-size: .9rem;
}

.filter-item.is-hidden,
.section-card.is-hidden {
  display: none !important;
}

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

@media (max-width: 991.98px) {
  .hero-card,
  .quick-links-section,
  .section-card,
  .site-footer__inner {
    border-radius: 22px;
  }
}

@media (max-width: 767.98px) {
  .hero-card,
  .quick-links-section,
  .section-card,
  .site-footer__inner {
    padding: 18px;
  }

  .hero-panel {
    padding: 16px;
    border-radius: 20px;
  }

  .section-card__header {
    align-items: flex-start;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .quick-link-card,
  .link-card {
    border-radius: 18px;
  }

  .section-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

.mobile-topbar .container-fluid {
  padding-left: 16px;
  padding-right: 16px;
}

.offcanvas-start {
  width: min(82vw, 320px);
}

.search-tip:empty {
  display: none;
}

@media (max-width: 991.98px) {
  .site-shell {
    display: block;
  }

  .main-content {
    width: 100%;
    padding-top: 12px;
  }
}

@media (max-width: 575.98px) {
  .mobile-brand {
    max-width: 156px;
  }

  .mobile-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .hero-domain {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 18px;
  }
}
