.site-shell-enabled {
  padding-top: 80px;
}

.site-header,
.site-footer {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 64px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.6);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.site-header__inner {
  width: min(1280px, calc(100% - 32px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__left,
.site-header__brand,
.site-header__platforms,
.site-header__actions,
.site-footer__brand,
.site-footer__links {
  display: flex;
  align-items: center;
}

.site-header__left {
  min-width: 0;
  gap: 24px;
}

.site-header__brand {
  flex: 0 0 auto;
  gap: 10px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__logo-box {
  width: 47.4px;
  height: 47.4px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.site-header__logo-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.site-header__brand-accent {
  color: #4f46e5;
}

.site-header__platforms,
.site-header__actions {
  gap: 20px;
  white-space: nowrap;
}

.site-header__platforms a,
.site-header__actions a,
.site-footer__links a {
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__platforms a:hover,
.site-header__actions a:hover,
.site-footer__links a:hover,
.site-header__actions a[aria-current="page"] {
  color: #4f46e5;
}

.site-hot {
  display: inline-flex;
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  vertical-align: 1px;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(203, 213, 225, 0.6);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.site-footer__inner {
  width: min(1280px, calc(100% - 32px));
  min-height: 96px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__brand {
  gap: 12px;
  color: #475569;
  font-size: 14px;
}

.site-footer__brand img {
  width: 43.2px;
  height: 43.2px;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}

.site-footer__name {
  color: #0f172a;
  font-weight: 800;
  white-space: nowrap;
}

.site-footer__links {
  gap: 24px;
}

@media (max-width: 1100px) {
  .site-header__inner {
    gap: 14px;
  }

  .site-header__left {
    gap: 14px;
  }

  .site-header__platforms,
  .site-header__actions {
    gap: 12px;
  }

  .site-header__platforms a,
  .site-header__actions a {
    font-size: 13px;
  }
}

@media (max-width: 860px) {
  .site-header__platforms,
  .site-header__actions {
    display: none;
  }

  .site-header__inner {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell-enabled {
    padding-top: 72px;
  }

  .site-header,
  .site-header__inner {
    height: 64px;
  }

  .site-header__inner,
  .site-footer__inner {
    width: min(100% - 24px, 1280px);
  }

  .site-header__brand {
    font-size: 16px;
  }

  .site-footer__inner {
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
  }

  .site-footer__brand {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-footer__links {
    justify-content: center;
    gap: 18px;
  }
}
