/* 柔塑体积：柔和环境光、分层软阴影、圆润曲面，避免生硬扁平 */

:root {
  --gm35-soft-r-lg: 22px;
  --gm35-soft-r-md: 16px;
  --gm35-soft-r-sm: 12px;
  --gm35-soft-surface: linear-gradient(168deg, #ffffff 0%, #fafbfd 48%, #f1f3f8 100%);
  --gm35-soft-edge: rgba(255, 255, 255, 0.82);
  --gm35-soft-shade: rgba(88, 102, 140, 0.14);
  --gm35-soft-lift: 0 1px 0 rgba(255, 255, 255, 0.88) inset, 0 14px 42px -12px rgba(95, 110, 150, 0.2),
    0 5px 16px -5px rgba(15, 23, 42, 0.07);
  --gm35-soft-lift-hover: 0 1px 0 rgba(255, 255, 255, 0.92) inset, 0 22px 50px -14px rgba(95, 110, 150, 0.26),
    0 10px 24px -6px rgba(15, 23, 42, 0.09);
}

.gm35-body {
  color: #1f2937;
  min-height: 100vh;
  background-color: #e8ecf4;
  background-image:
    radial-gradient(ellipse 130% 80% at 50% -12%, rgba(199, 210, 254, 0.5), transparent 52%),
    radial-gradient(ellipse 70% 55% at 100% 8%, rgba(252, 231, 243, 0.38), transparent 48%),
    radial-gradient(ellipse 55% 45% at 0% 92%, rgba(224, 242, 254, 0.42), transparent 52%),
    linear-gradient(168deg, #e9edf6 0%, #f0edf8 38%, #e6eaf4 100%);
  background-attachment: fixed;
}

.gm35-wrap {
  max-width: 1820px;
}

.gm35-top {
  color: #fff;
  border-bottom: none;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(128deg, #151d32 0%, #1c2d52 28%, #243e7a 52%, #2f4d92 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 20px 56px -14px rgba(30, 58, 138, 0.55);
}

.gm35-top .btn {
  border-radius: 11px;
  font-weight: 600;
}

.gm35-top .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.gm35-top .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.gm35-top .btn-light {
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 8px 22px rgba(0, 0, 0, 0.2);
  color: #1e3a5f;
}

.gm35-top .btn-light:hover {
  background: #fff;
  color: #0f172a;
}

.gm35-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0 10px;
  flex-wrap: wrap;
}

.gm35-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.gm35-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.gm35-brand-logo-wrap {
  line-height: 0;
}

.gm35-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gm35-nav-trail {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 160px;
  padding: 6px 10px;
  margin-left: 2px;
}

@media (min-width: 992px) {
  .gm35-nav-trail {
    max-width: 280px;
  }
}

.gm35-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 0 10px;
}

.gm35-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 0 10px;
}

.gm35-subnav-link {
  text-decoration: none;
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fc 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset, 0 6px 16px -4px rgba(30, 64, 120, 0.12);
}

.gm35-subnav-link.active,
.gm35-subnav-link:hover {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #f0f7ff 0%, #e0edff 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 20px -4px rgba(37, 99, 235, 0.18);
}

.gm35-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 0 12px;
}

.gm35-quick-link {
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 4px 14px rgba(0, 0, 0, 0.12);
}

.gm35-quick-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 6px 18px rgba(0, 0, 0, 0.14);
}

.gm35-nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 13px;
  padding: 6px 11px;
  border-radius: 10px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.gm35-nav-link:hover,
.gm35-nav-link.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.gm35-card {
  background: var(--gm35-soft-surface);
  background-color: #fff;
  border: 1px solid var(--gm35-soft-edge);
  border-radius: var(--gm35-soft-r-lg);
  box-shadow: var(--gm35-soft-lift);
}

.gm35-search-form {
  display: grid;
  grid-template-columns: minmax(100px, 160px) 1fr auto;
  gap: 8px;
  align-items: stretch;
}

.gm35-search-btn {
  border-radius: var(--gm35-soft-r-sm);
  background: linear-gradient(180deg, #e11d48 0%, #be123c 45%, #9f1239 100%);
  border: 1px solid rgba(127, 29, 29, 0.45);
  color: #fff;
  font-weight: 600;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 8px 22px -4px rgba(190, 18, 60, 0.45);
  transition: filter 0.15s ease, transform 0.08s ease;
}

.gm35-search-btn:hover {
  color: #fff;
  filter: brightness(1.06);
  border-color: rgba(127, 29, 29, 0.55);
}

.gm35-search-btn:active {
  transform: translateY(1px);
}

.gm35-search-hint {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

.gm35-card .form-control,
.gm35-card .form-select {
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset, 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gm35-card .form-control:focus,
.gm35-card .form-select:focus {
  border-color: #93c5fd;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.gm35-card-head {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #fdfefe 0%, #f4f6fa 100%);
  border-radius: var(--gm35-soft-r-lg) var(--gm35-soft-r-lg) 0 0;
}

.gm35-section-title strong {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.gm35-news-list {
  padding: 6px 10px 10px;
}

.gm35-news-list--dense .gm35-news-item {
  padding: 5px 4px;
}

.gm35-news-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  color: #374151;
  padding: 8px 6px;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.85);
}

.gm35-news-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.gm35-news-item:hover {
  color: #111827;
}

.gm35-news-summary {
  padding: 0 4px 8px;
  margin-top: -2px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.55;
}

.gm35-date {
  color: #6b7280;
  font-size: 12px;
  flex-shrink: 0;
}

.gm35-heat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 4px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffe4e6 0%, #fecdd3 100%);
  color: #be123c;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.gm35-rank-item,
.gm35-link-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 13px;
  border: 1px solid var(--gm35-soft-edge);
  border-radius: var(--gm35-soft-r-md);
  text-decoration: none;
  background: linear-gradient(168deg, #ffffff 0%, #f7f8fc 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 8px 22px -6px rgba(90, 100, 130, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gm35-rank-item:hover,
.gm35-link-item:hover {
  border-color: #cbd5e1;
  background: linear-gradient(168deg, #ffffff 0%, #f0f4ff 100%);
  box-shadow: var(--gm35-soft-lift-hover);
  transform: translateY(-3px);
}

.gm35-rank-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gm35-rank-logo {
  width: 26px;
  height: 26px;
  max-width: none;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
  display: block;
}

.gm35-rank-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  background: #e2e8f0;
}

.gm35-rank-title,
.gm35-link-title {
  color: #111827;
  font-weight: 600;
}

.gm35-rank-meta,
.gm35-link-desc {
  font-size: 12px;
  color: #6b7280;
}

.gm35-links-grid {
  padding: 8px 10px 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
}

.gm35-site-card-grid {
  gap: 8px;
}

.gm35-site-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid var(--gm35-soft-edge);
  border-radius: var(--gm35-soft-r-md);
  padding: 10px 11px;
  background: linear-gradient(168deg, #ffffff 0%, #f6f7fb 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset, 0 6px 18px -5px rgba(90, 100, 130, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.gm35-site-card:hover {
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: var(--gm35-soft-lift-hover);
}

.gm35-site-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.gm35-site-logo {
  width: 24px;
  height: 24px;
  max-width: none;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
  display: block;
}

.gm35-site-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  background: #e2e8f0;
}

.gm35-site-title {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
}

.gm35-site-desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.gm35-site-card:hover .gm35-site-desc {
  color: #334155;
  opacity: 1;
}

/* 首页分类：gm35 风格白底链接卡片（左 40px Logo + 右标题/副行，大屏约 6 列） */
.gm35-cat-head-ico {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.gm35-site-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  padding: 10px 12px 14px;
  overflow: visible;
}

@media (min-width: 768px) {
  .gm35-site-panel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .gm35-site-panel-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .gm35-site-panel-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .gm35-site-panel-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.gm35-site-panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  min-height: 58px;
  background: linear-gradient(168deg, #ffffff 0%, #f5f6fb 100%);
  border: 1px solid var(--gm35-soft-edge);
  border-radius: var(--gm35-soft-r-md);
  text-decoration: none;
  color: #111827;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 8px 24px -8px rgba(90, 100, 130, 0.14);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  overflow: visible;
}

.gm35-site-panel:hover {
  border-color: #c7d2fe;
  box-shadow: var(--gm35-soft-lift-hover);
  transform: translateY(-2px);
  z-index: 25;
}

.gm35-site-panel:hover .gm35-site-panel-title {
  color: #b91c1c;
}

.gm35-site-panel-logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 3px 10px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  line-height: 0;
}

.gm35-site-panel-logo img {
  width: 40px;
  height: 40px;
  max-width: none;
  object-fit: contain;
  display: block;
}

.gm35-site-panel-logo-fallback {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #475569;
  background: #e2e8f0;
}

.gm35-site-panel-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.gm35-site-panel-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.gm35-site-panel-sub {
  font-size: 11.5px;
  color: #6b7280;
  line-height: 1.35;
}

.gm35-site-panel-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  min-width: 180px;
  max-width: min(320px, 92vw);
  padding: 10px 12px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.14s ease, visibility 0.14s ease;
  text-align: left;
}

.gm35-site-panel-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -7px;
  border: 7px solid transparent;
  border-top-color: #1e293b;
}

.gm35-site-panel:hover .gm35-site-panel-tip {
  opacity: 1;
  visibility: visible;
}

.gm35-short-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: #1f2937;
  font-size: 12.5px;
  padding: 3px 0;
}

.gm35-short-link:hover {
  color: #0f172a;
  text-decoration: underline;
}

.gm35-short-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
}

.gm35-more-link {
  font-size: 12px;
  text-decoration: none;
  color: #2563eb;
}

.gm35-more-link:hover {
  text-decoration: underline;
}

.gm35-tag-cloud {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(191, 219, 254, 0.95);
  background: linear-gradient(180deg, #f0f7ff 0%, #e0edff 100%);
  color: #1d4ed8;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 4px 12px -3px rgba(37, 99, 235, 0.12);
}

.gm35-foot {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  padding: 14px 0 20px;
  line-height: 1.75;
  border-top: 1px solid #e2e8f0;
  margin-top: 8px;
}

.gm35-foot-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(241, 245, 249, 0.92) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 -12px 40px -16px rgba(95, 110, 150, 0.12);
  padding: 18px 14px 26px;
  margin-top: 0;
}

.gm35-foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed #d1d9e6;
}

.gm35-foot-links a {
  color: #2563eb;
  text-decoration: none;
  font-size: 13px;
}

.gm35-foot-links a:hover {
  text-decoration: underline;
}

.gm35-foot-line {
  margin: 0.2rem 0;
}

.gm35-foot-copyrightinfo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gm35-foot-site-logo {
  border-radius: 10px;
  width: 26px;
  height: 26px;
  object-fit: contain;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.8);
}

.gm35-stats-strip {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #64748b;
  padding: 11px 14px;
  border: 1px solid var(--gm35-soft-edge);
  border-radius: var(--gm35-soft-r-md);
  background: linear-gradient(168deg, #ffffff 0%, #f5f7fb 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 10px 28px -10px rgba(95, 110, 150, 0.15);
}

.gm35-stats-strip strong {
  color: #0f172a;
}

.gm35-cat-block {
  position: relative;
}

.gm35-cat-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(180deg, #38bdf8 0%, #6366f1 52%, #818cf8 100%);
  box-shadow: 2px 0 16px rgba(99, 102, 241, 0.28);
  pointer-events: none;
}

.gm35-cat-head strong {
  position: relative;
  padding-left: 2px;
}

.gm35-rank-compact-list {
  padding: 6px 8px 10px;
}

.gm35-rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  padding: 9px 11px;
  margin: 0 0 5px;
  border-radius: 12px;
  text-decoration: none;
  color: #1e293b;
  border-bottom: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.gm35-rank-row:hover {
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(239, 246, 255, 0.75) 100%);
  color: #0f172a;
  box-shadow: 0 4px 14px -4px rgba(95, 110, 150, 0.12);
}

.gm35-rank-row:last-child {
  margin-bottom: 0;
}

.gm35-rank-idx {
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

.gm35-rank-row-logo {
  width: 24px;
  height: 24px;
  max-width: none;
  border-radius: 5px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  display: block;
  background: #fff;
}

span.gm35-rank-row-logo.gm35-rank-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.gm35-rank-row-title {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
}

.gm35-rank-row-meta {
  flex-shrink: 0;
  font-size: 12px;
  color: #64748b;
}

.gm35-rank-page .gm35-card-head {
  padding: 0.75rem 0.95rem;
}

.gm35-rank-block-title {
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  font-size: 14px;
}

.gm35-rank-panel-subtitle {
  font-weight: 800;
  color: #334155;
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 13px;
}

.gm35-rank-heat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 10px;
}

.gm35-rank-heat-tab {
  background: transparent;
  border: none;
  padding: 0;
  color: #2563eb;
  font-weight: 800;
  cursor: pointer;
}

.gm35-rank-heat-tab.is-active {
  color: #1d4ed8;
  text-decoration: underline;
}

.gm35-rank-heat-panels {
  position: relative;
}

.gm35-rank-heat-panel {
  display: none;
}

.gm35-rank-heat-panel.is-active {
  display: block;
}

.gm35-rank-simple-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gm35-rank-simple-row {
  display: grid;
  grid-template-columns: 34px 1fr 70px;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(168deg, #ffffff 0%, #f6f7fb 100%);
  color: #0f172a;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.gm35-rank-simple-row:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 22px -10px rgba(90, 100, 130, 0.18);
  transform: translateY(-1px);
}

.gm35-rank-simple-idx {
  font-weight: 900;
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
}

.gm35-rank-simple-title {
  font-weight: 700;
  font-size: 13px;
}

.gm35-rank-simple-score {
  text-align: right;
  font-weight: 800;
  font-size: 13px;
  color: #334155;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .gm35-rank-simple-row {
    grid-template-columns: 28px minmax(0, 1fr) 56px;
    gap: 8px;
    padding: 6px 8px;
  }

  .gm35-rank-simple-title {
    font-size: 12px;
  }
}

.gm35-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 6px 6px 12px;
}

@media (min-width: 768px) {
  .gm35-matrix-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .gm35-matrix-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .gm35-matrix-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.gm35-matrix-item {
  display: block;
  text-decoration: none;
  color: #0f172a;
  padding: 9px 11px;
  margin: 3px;
  border-radius: 12px;
  border-bottom: none;
  border-right: none;
  min-height: 100%;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.gm35-matrix-item:hover {
  background: linear-gradient(168deg, #ffffff 0%, #f4f6fb 100%);
  color: #0f172a;
  box-shadow: 0 6px 18px -6px rgba(95, 110, 150, 0.12);
}

.gm35-matrix-inner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.gm35-matrix-logo-slot {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1px solid #e2e8f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  line-height: 0;
}

.gm35-matrix-logo {
  width: 22px;
  height: 22px;
  max-width: none;
  object-fit: contain;
  display: block;
}

.gm35-matrix-logo-fallback {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  background: #e2e8f0;
  border: none;
}

.gm35-matrix-text {
  flex: 1;
  min-width: 0;
}

.gm35-matrix-title {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}

.gm35-matrix-desc {
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gm35-detail-logo {
  max-height: 72px;
  max-width: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gm35-links-grid--dense {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 4px 10px !important;
}

@media (min-width: 992px) {
  .gm35-links-grid--dense {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1400px) {
  .gm35-links-grid--dense {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.gm35-no-heat .gm35-heat {
  display: none !important;
}

.gm35-breadcrumb {
  color: #6b7280;
}

.gm35-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.gm35-breadcrumb a:hover {
  text-decoration: underline;
}

.article-rich {
  line-height: 1.65;
}

.article-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.article-rich p:last-child {
  margin-bottom: 0;
}

.gm35-site-detail-card {
  overflow: hidden;
}

.gm35-site-hero {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(150deg, #ffffff 0%, #f4f7fe 55%, #eef2ff 100%);
  overflow: hidden;
}

.gm35-site-hero-bg {
  position: absolute;
  right: -60px;
  top: -30px;
  width: 280px;
  height: 180px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(99, 102, 241, 0.16) 35%, transparent 70%);
  filter: blur(2px);
  animation: gm35SiteGlow 4.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gm35SiteGlow {
  0%, 100% { transform: translateX(0) scale(1); opacity: 0.65; }
  50% { transform: translateX(-10px) scale(1.08); opacity: 0.95; }
}

.gm35-site-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 14% 28%, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(2px 2px at 36% 62%, rgba(191, 219, 254, 0.7), transparent 70%),
    radial-gradient(2px 2px at 58% 35%, rgba(147, 197, 253, 0.68), transparent 70%),
    radial-gradient(2px 2px at 76% 58%, rgba(224, 242, 254, 0.72), transparent 70%),
    radial-gradient(2px 2px at 92% 30%, rgba(165, 180, 252, 0.66), transparent 70%);
  opacity: 0.28;
  animation: gm35SiteParticles 8s linear infinite;
  pointer-events: none;
}

@keyframes gm35SiteParticles {
  0% { transform: translateY(0); opacity: 0.22; }
  50% { transform: translateY(-4px); opacity: 0.36; }
  100% { transform: translateY(0); opacity: 0.22; }
}

.gm35-site-hero-main {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.gm35-site-hero-logo-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
}

.gm35-site-hero-actions {
  max-width: 100%;
}

.gm35-site-hero-actions .btn {
  font-size: 13px;
}

.gm35-site-hero-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  box-shadow: 0 10px 24px -10px rgba(15, 23, 42, 0.25);
  flex-shrink: 0;
}

.gm35-site-hero-text {
  min-width: 0;
}

.gm35-site-hero-qr {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  text-align: right;
}

.gm35-site-qr-mobile {
  text-align: left;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  padding: 0;
  overflow: hidden;
}

.gm35-site-qr-mobile[open] {
  background: #fff;
}

.gm35-site-qr-summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.gm35-site-qr-summary::-webkit-details-marker {
  display: none;
}

.gm35-site-qr-summary::after {
  content: "﹀";
  float: right;
  font-size: 11px;
  color: #64748b;
  transition: transform 0.15s ease;
}

.gm35-site-qr-mobile[open] .gm35-site-qr-summary::after {
  transform: rotate(-180deg);
}

.gm35-site-qr-panel {
  padding: 0 12px 12px;
  text-align: center;
}

.gm35-site-qr-panel img {
  max-width: 100%;
  height: auto;
}

.gm35-hot-side-list {
  display: grid;
  gap: 6px;
}

/* 详情页：相关导航卡片（最多 6 个） */
.gm35-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gm35-related-card {
  position: relative;
  min-height: 72px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
  padding: 10px 12px;
  text-decoration: none;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  overflow: hidden;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.gm35-related-card:hover {
  transform: translateY(-2px);
  border-color: #c7d2fe;
  box-shadow: 0 10px 24px -12px rgba(79, 70, 229, 0.35);
  color: #0f172a;
}

.gm35-related-title {
  font-size: 13px;
  font-weight: 700;
}

.gm35-related-clicks {
  font-size: 12px;
  color: #64748b;
}

.gm35-related-hover {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.gm35-related-card:hover .gm35-related-hover {
  opacity: 1;
}

@media (max-width: 575.98px) {
  .gm35-related-grid {
    grid-template-columns: 1fr;
  }
}

/* 详情侧栏：热门网址双列（各最多 6 条，总宽仍为 col-xl-4） */
.gm35-hot-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: start;
}

.gm35-hot-dual-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.gm35-hot-dual .gm35-hot-side-row {
  padding: 6px 6px;
  gap: 6px;
}

.gm35-hot-dual .gm35-hot-side-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.gm35-hot-dual .gm35-hot-side-rank {
  width: 18px;
  height: 18px;
  font-size: 10px;
}

.gm35-hot-dual .gm35-hot-side-name {
  font-size: 12px;
}

.gm35-hot-dual .gm35-hot-side-meta {
  font-size: 11px;
}

@media (max-width: 575.98px) {
  .gm35-hot-dual {
    grid-template-columns: 1fr;
  }
}

/* 详情侧栏：热门资讯 4 条图文 */
.gm35-article-thumb-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gm35-article-thumb-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  color: #0f172a;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.gm35-article-thumb-card:hover {
  transform: translateY(-1px);
  border-color: #c7d2fe;
  background: linear-gradient(140deg, #ffffff 0%, #f3f4ff 100%);
  box-shadow: 0 8px 22px -12px rgba(79, 70, 229, 0.3);
  color: #0f172a;
}

.gm35-article-thumb-cover {
  flex-shrink: 0;
  width: 88px;
  height: 66px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
}

.gm35-article-thumb-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gm35-article-thumb-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.gm35-article-thumb-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gm35-article-thumb-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gm35-article-thumb-sum {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gm35-hot-side-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 8px 9px;
  text-decoration: none;
  color: #0f172a;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.gm35-hot-side-row:hover {
  transform: translateY(-2px);
  border-color: #c7d2fe;
  background: linear-gradient(140deg, #ffffff 0%, #f3f4ff 100%);
  box-shadow: 0 8px 22px -10px rgba(79, 70, 229, 0.35);
  color: #0f172a;
}

.gm35-hot-side-rank {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #1e40af;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  flex-shrink: 0;
}

.gm35-hot-side-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  background: #fff;
  flex-shrink: 0;
}

.gm35-hot-side-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gm35-hot-side-name {
  font-size: 13px;
  font-weight: 700;
}

.gm35-hot-side-meta {
  font-size: 12px;
  color: #64748b;
}

.gm35-site-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gm35-site-btn-primary,
.gm35-site-btn-ghost {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
}

.gm35-site-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  border: 1px solid rgba(67, 56, 202, 0.65);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(79, 70, 229, 0.7);
}

.gm35-site-btn-primary:hover {
  color: #fff;
  filter: brightness(1.05);
}

.gm35-site-btn-ghost {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #dbe5f4;
  color: #334155;
}

.gm35-site-btn-ghost:hover {
  background: #f8fbff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.gm35-meta-box {
  border: 1px solid var(--gm35-soft-edge);
  border-radius: var(--gm35-soft-r-md);
  background: linear-gradient(168deg, #ffffff 0%, #f4f6fa 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 6px 20px -6px rgba(95, 110, 150, 0.1);
  padding: 0.55rem 0.7rem;
}

.gm35-meta-box summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

@media (max-width: 768px) {
  .gm35-title {
    font-size: 1.1rem;
  }

  .gm35-search-form {
    grid-template-columns: 1fr;
  }

  .gm35-subnav-link {
    font-size: 12px;
    padding: 4px 8px;
  }

  .gm35-links-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .gm35-site-hero {
    padding: 10px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .gm35-site-hero-main {
    flex-direction: column;
    align-items: stretch;
  }

  .gm35-site-hero-text {
    order: 1;
  }

  .gm35-site-hero-logo-stack {
    order: 2;
    flex-direction: column-reverse;
    align-items: flex-start;
    width: 100%;
  }

  .gm35-site-hero-actions {
    width: 100%;
  }

  .gm35-site-hero-actions.gm35-site-action-row,
  .gm35-site-action-row.gm35-site-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 2px;
    justify-content: flex-start;
  }

  .gm35-site-hero-actions .btn {
    padding: 0.45rem 0.8rem;
    font-size: 13px;
    white-space: nowrap;
  }

  .gm35-site-hero-qr {
    text-align: left;
    width: 100%;
  }

  .gm35-site-hero-logo {
    width: 62px;
    height: 62px;
    border-radius: 12px;
  }

  .gm35-site-qr-desktop img {
    width: 62px;
    height: 62px;
  }

  .gm35-hot-side-rank {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
}

@media (min-width: 992px) {
  .gm35-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .gm35-links-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ========== WebStack 风格：侧栏 + 主区（首页 / 详情） ========== */
/* 仅主列滚动：避免整页滚动导致左侧导航栏跟着动（flex 子项需 min-height:0 才能收缩） */
.gm35-body.gm35-ws {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
  box-sizing: border-box;
}

.gm35-ws-root {
  display: table;
  width: 100%;
  min-height: 100vh;
  table-layout: fixed;
  border-collapse: collapse;
  background: #ebedf1;
}

.gm35-ws-sidebar {
  display: table-cell;
  vertical-align: top;
  width: 260px;
  background: linear-gradient(180deg, #1a1d24 0%, #12141a 100%);
  color: rgba(255, 255, 255, 0.88);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.gm35-ws-sidebar-inner {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 260px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 300;
  background: inherit;
}

.gm35-ws-side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gm35-ws-side-logo {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  object-fit: cover;
}

.gm35-ws-side-title {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  display: block;
  line-height: 1.25;
}

.gm35-ws-side-title:hover {
  color: #fff;
}

.gm35-ws-side-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 3px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gm35-ws-side-nav {
  flex: 1;
  overflow: auto;
  padding: 10px 8px 12px;
}

.gm35-ws-snav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  margin: 2px 0;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.gm35-ws-snav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.gm35-ws-snav-link.is-active {
  background: rgba(59, 130, 246, 0.22);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.gm35-ws-snav-ico {
  width: 24px;
  text-align: center;
  opacity: 0.88;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

.gm35-ws-snav-muted {
  opacity: 0.85;
}

.gm35-ws-side-foot {
  padding: 10px 8px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gm35-ws-main {
  display: table-cell;
  vertical-align: top;
  width: auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  background: #ebedf1;
}

.gm35-ws-topbar {
  flex-shrink: 0;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  position: sticky;
  top: 0;
  z-index: 200;
}

.gm35-ws-menu-btn {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 10px;
  width: 40px;
  height: 36px;
  line-height: 1;
  font-size: 18px;
  color: #334155;
}

.gm35-ws-topbar-title {
  font-weight: 800;
  color: #0f172a;
  font-size: 15px;
}

.gm35-ws-scroll {
  flex: 1 1 auto;
  height: calc(100vh - 52px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.gm35-ws-inner {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: clamp(8px, 1.4vw, 14px);
  padding-right: clamp(8px, 1.4vw, 14px);
  box-sizing: border-box;
}

.gm35-ws-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 250;
}

.gm35-ws-root.gm35-ws-sidebar-open .gm35-ws-overlay {
  display: block;
}

@media (max-width: 991.98px) {
  .gm35-ws-root {
    display: block;
    min-height: 100vh;
  }

  .gm35-ws-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    transform: translateX(-102%);
    transition: transform 0.22s ease;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35);
    z-index: 300;
  }

  .gm35-ws-sidebar-inner {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .gm35-ws-root.gm35-ws-sidebar-open .gm35-ws-sidebar {
    transform: translateX(0);
  }

  .gm35-ws-main {
    display: flex;
    width: 100%;
    min-height: 100vh;
  }
}

@media (min-width: 992px) {
  .gm35-ws-menu-btn {
    display: none;
  }

  .gm35-ws-overlay {
    display: none !important;
  }

  .gm35-ws-sidebar {
    width: 260px;
  }

  .gm35-ws-sidebar-inner {
    width: 260px;
  }
}

/* 排行榜页：两大块并排，避免单栏过长、与 WebStack 主区挤压冲突 */
.gm35-ws-rank-cols {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gm35-ws-rank-cols > hr {
  margin: 1rem 0;
  opacity: 0.35;
}

@media (min-width: 992px) {
  .gm35-ws-rank-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 1.5rem;
    align-items: start;
  }

  .gm35-ws-rank-cols > hr {
    display: none;
  }
}

.gm35-ws-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.gm35-ws-notice-track {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gm35-ws-notice-link {
  color: #334155;
  font-size: 13px;
  text-decoration: none;
}

.gm35-ws-notice-link:hover {
  color: #1d4ed8;
}

.gm35-ws-stats {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.gm35-ws-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 8px;
}

.gm35-ws-tab {
  border: none;
  background: transparent;
  padding: 4px 2px 8px;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  border-bottom: 2px solid transparent;
  margin-bottom: -9px;
}

.gm35-ws-tab.is-active {
  color: #0f172a;
  border-bottom-color: #0f172a;
}

.gm35-ws-search-row {
  display: flex;
  gap: 0;
  border: 1px solid #d1d9e6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.gm35-ws-search-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 12px 14px;
}

.gm35-ws-search-go {
  border-radius: 0 !important;
  width: 52px;
  background: #111827 !important;
  color: #fff !important;
  border: none !important;
  font-size: 18px;
}

.gm35-ws-search-hint {
  font-size: 12px;
}

.gm35-ws-catfold-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
}

.gm35-ws-catfold-sum::-webkit-details-marker {
  display: none;
}

.gm35-ws-catfold-sum-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gm35-ws-catfold-folder {
  opacity: 0.75;
}

.gm35-ws-catfold-more {
  flex-shrink: 0;
  font-size: 12px;
}

.gm35-ws-catfold-body {
  padding: 8px 6px 12px;
}

.gm35-ws-cardgrid .gm35-ws-site-card {
  border-radius: 12px;
}

.gm35-ws-totop {
  position: fixed;
  right: 20px;
  bottom: 88px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* 详情页 WebStack 英雄区 */
.gm35-ws-detail-card {
  background: #fff;
}

.gm35-ws-detail-hero {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px 18px;
  align-items: start;
}

@media (min-width: 992px) {
  .gm35-ws-detail-hero {
    grid-template-columns: 132px 1fr;
  }
}

.gm35-ws-detail-logo-ring {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 25%, rgba(59, 130, 246, 0.35), transparent 55%),
    linear-gradient(145deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.gm35-ws-detail-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.gm35-ws-detail-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #b91c1c;
  background: linear-gradient(180deg, #ffe4e6 0%, #fecdd3 100%);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.gm35-ws-detail-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
}

.gm35-ws-detail-lead {
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.gm35-ws-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.gm35-ws-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: 1px solid #1d4ed8 !important;
  color: #fff !important;
  font-weight: 800;
  border-radius: 11px !important;
  padding: 0.45rem 1rem !important;
}

.gm35-ws-btn-ghost {
  background: #fff !important;
  border: 1px solid #dbe5f4 !important;
  color: #334155 !important;
  font-weight: 700;
  border-radius: 11px !important;
  padding: 0.45rem 0.85rem !important;
}

.gm35-ws-detail-preview {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
}

.gm35-ws-detail-preview-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  min-height: 160px;
  object-fit: cover;
  object-position: top center;
}

.gm35-ws-detail-preview-cap {
  padding: 6px 10px;
  background: #fff;
  border-top: 1px solid #eef2f7;
}

.gm35-ws-detail-hr {
  border-color: #eef2f7;
  opacity: 1;
  margin: 1.25rem 0;
}

.gm35-ws-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.gm35-ws-related-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(168deg, #ffffff 0%, #f8fafc 100%);
  text-decoration: none;
  color: #0f172a;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.gm35-ws-related-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  color: #0f172a;
}

.gm35-ws-related-logo {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  object-fit: contain;
  flex-shrink: 0;
}

.gm35-ws-related-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gm35-ws-related-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gm35-ws-section-head {
  display: flex;
  align-items: center;
}

.gm35-page-site .gm35-foot-band,
.gm35-page-home .gm35-foot-band {
  background: #fff;
  border-top: 1px solid #e5e7eb;
}
