﻿:root {
  --page: 2160px;
  --bg: #f5f8ff;
  --bg-soft: #f8fbff;
  --card: #ffffff;
  --panel: rgba(255, 255, 255, 0.88);
  --text: #101828;
  --muted: #5d6b82;
  --line: #d7e7ff;
  --primary: #1677ff;
  --primary-dark: #0b3a7e;
  --primary-soft: #eaf4ff;
  --accent: #ff7a00;
  --success: #00a870;
  --warning: #ffb020;
  --ad: #64748b;
  --shadow: 0 18px 54px rgba(22, 119, 255, 0.14);
  --shadow-soft: 0 12px 30px rgba(11, 58, 126, 0.08);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* 页面加载器 */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eaf4ff 0%, #f7fbff 100%);
  transition: opacity var(--transition-normal);
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(22, 119, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 骨架屏 */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 通知提示 */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  min-width: 280px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  transform: translateX(400px);
  transition: transform var(--transition-normal);
  font-size: 14px;
  font-weight: 500;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-left: 4px solid var(--success);
}

.toast.error {
  border-left: 4px solid #ff4d4f;
}

.toast.warning {
  border-left: 4px solid var(--warning);
}

/* 性能优化：减少重绘 */
.card, .button, .nav-item a {
  will-change: transform;
  transform: translateZ(0);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 浼樺寲瀛椾綋娓叉煋 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background: linear-gradient(180deg, #eef5ff 0%, #f7f9fc 260px, #f5f7fb 100%);
}

body::before {
  display: none;
}

::selection {
  color: #fff;
  background: var(--primary);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  padding: 18px clamp(16px, 4vw, 72px) 46px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: var(--page);
  margin: 0 auto 14px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #475467;
  border: 1px solid #dbe7f7;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  font-size: 14px;
  font-weight: 700;
}

.text-button {
  border: 0;
  padding: 6px 10px;
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.topbar .text-button {
  color: #0b63ce;
}

.hidden {
  display: none !important;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--page);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(22, 119, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(11, 58, 126, 0.10);
  isolation: isolate;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand strong {
  color: #0f2f66;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-mark,
.tool-logo {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.26);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand span:last-child {
  display: grid;
}

.brand small {
  color: var(--muted);
}

.menu-button {
  display: none;
  border: 0;
  border-radius: 14px;
  padding: 10px 13px;
  background: #eef4ff;
  color: var(--primary);
  cursor: pointer;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.nav-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #eef6ff, #e5f0ff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 24px rgba(22, 119, 255, 0.10);
  overflow: visible;
}

.nav-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(22, 119, 255, 0.22), rgba(255, 122, 0, 0.16), rgba(22, 119, 255, 0.08));
  filter: blur(10px);
  opacity: 0.72;
}

.nav-panel-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a00, #ff4d4f);
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.24);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.nav-panel-label::before {
  content: "热";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 50%;
  color: #ff4d4f;
  background: #fff;
  font-size: 11px;
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  top: 100%;
  height: 14px;
}

.nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #d8e9ff;
  border-radius: 13px;
  color: #0b3a7e;
  background: #fff;
  font-weight: 900;
  font-size: 14px;
  overflow: hidden;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-item > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1677ff, #ff7a00);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #36a3ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46), 0 6px 14px rgba(22, 119, 255, 0.22);
  font-size: 13px;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease;
}

.nav-item:hover > a {
  color: #fff;
  border-color: #1677ff;
  background: linear-gradient(135deg, #1677ff, #36a3ff);
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.22);
  transform: translateY(-2px);
}

.nav-item > a.active {
  color: #fff;
  border-color: #ff8f1f;
  background: linear-gradient(135deg, #ff7a00, #ff4d4f);
  box-shadow: 0 12px 26px rgba(255, 122, 0, 0.26);
}

.nav-item:hover > a::after,
.nav-item > a.active::after {
  transform: scaleX(1);
}

.nav-item > a.active .nav-icon,
.nav-item:hover .nav-icon {
  background: #fff;
  color: #1677ff;
  transform: rotate(-8deg) scale(1.06);
}

.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 120;
  display: grid;
  min-width: 210px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.96));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #475467;
  white-space: nowrap;
}

.mega a:hover {
  color: var(--primary);
  background: #f5f8ff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 26px;
  max-width: var(--page);
  margin: 50px auto 0;
}

.compact-header {
  padding-bottom: 22px;
}

.hero-copy,
.hero-panel,
.section,
.model-card,
.tool-card,
.scene-grid article,
.resource-grid article {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 60px);
  border-radius: 28px;
  border: 1px solid rgba(22, 119, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(22, 119, 255, 0.12), transparent 42%),
    radial-gradient(circle at 86% 14%, rgba(255, 122, 0, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,0.99), rgba(244,249,255,0.96));
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border: 38px solid rgba(22, 119, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.browser-home-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: stretch;
  margin-top: 34px;
}

.browser-home-hero .hero-copy {
  padding: clamp(30px, 5vw, 56px);
  border-color: #dbe7f7;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
}

.browser-home-hero .hero-copy::after {
  display: none;
}

.browser-home-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: 0;
}

.browser-home-hero .hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  font-size: 17px;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: #eaf4ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  background: linear-gradient(110deg, #0f172a 0%, #0b3a7e 50%, #1677ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero h1 {
  max-width: 960px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 800px;
  font-size: 18px;
}

.home-search-hub {
  display: grid;
  gap: 10px;
  max-width: 880px;
  margin-top: 30px;
}

.search-mode {
  display: inline-flex;
  width: fit-content;
  gap: 4px;
  padding: 5px;
  border: 1px solid #d7e7ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.10);
}

.search-mode button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #0b3a7e;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.search-mode button.active {
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #36a3ff);
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.20);
}

.search-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 820px;
  margin-top: 28px;
  padding: 8px;
  border: 2px solid rgba(22, 119, 255, 0.20);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(22, 119, 255, 0.14);
}

.home-search-hub .search-shell {
  position: relative;
  overflow: visible;
  max-width: none;
  min-height: 66px;
  margin-top: 0;
  border-radius: 24px;
  border-color: rgba(22, 119, 255, 0.28);
  box-shadow: 0 20px 48px rgba(22, 119, 255, 0.18);
}

.search-provider {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-right: 1px solid #d7e7ff;
  color: #0b3a7e;
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.search-shell input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 12px 14px;
  font-size: 16px;
}

.browser-search-shell input {
  font-size: 18px;
}

.search-shell button {
  border: 0;
  border-radius: 13px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a00, #ff4d4f);
  cursor: pointer;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(255, 122, 0, 0.22);
}

.browser-search-shell button {
  min-height: 48px;
  white-space: nowrap;
}

/* 20260507 mobile pet and nav drawer recovery */
@media (max-width: 820px) {
  .nav {
    position: relative;
  }

  .nav-panel,
  .nav-panel.active {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    bottom: auto;
    display: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-height: min(78vh, 620px);
    padding: 14px;
    border: 1px solid rgba(22, 119, 255, 0.18);
    border-radius: 22px;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 122, 0, 0.12), transparent 15rem),
      linear-gradient(180deg, #f7fbff, #eaf3ff);
    box-shadow: var(--shadow);
    overflow-y: auto;
    transform: none;
    transition: none;
    z-index: 260;
  }

  .nav-panel.open {
    display: grid;
    transform: none;
  }
}

@media (max-width: 620px) {
  .search-pet {
    display: block !important;
    left: 4px;
    top: -31px;
    width: 112px;
    height: 48px;
    transform: scale(0.72);
    transform-origin: left bottom;
  }

  .pet-cat {
    display: block;
  }
}

.search-pet {
  position: absolute;
  left: 8px;
  top: -40px;
  z-index: 4;
  width: 138px;
  height: 58px;
  pointer-events: none;
}

.pet-cat {
  position: absolute;
  left: 0;
  top: 0;
  width: 180px;
  height: 76px;
  overflow: visible;
  transform: scale(0.78);
  transform-origin: left top;
}

.pixel-ragdoll-cat {
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 0 rgba(108, 124, 150, 0.14));
}

.pixel-ragdoll-cat rect {
  stroke: transparent;
}

.pixel-ragdoll-cat .pet-figure {
  transform-origin: 78px 44px;
}

.ragdoll-cat-v2 {
  transform: scale(0.84);
}

.ragdoll-cat-v2 .pet-figure {
  transform-origin: 84px 42px;
}

.cute-ragdoll-cat {
  filter: drop-shadow(0 10px 12px rgba(101, 78, 55, 0.16));
  transform: scale(0.82);
}

.cute-ragdoll-cat .pet-figure {
  transform-origin: 90px 42px;
}

.cute-ragdoll-cat .pet-tail {
  transform-origin: 42px 43px;
}

.island-ragdoll-cat {
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.22));
  transform: scale(0.94);
}

.island-ragdoll-cat .pet-figure {
  transform-origin: 95px 45px;
}

.island-ragdoll-cat .pet-tail {
  transform-origin: 50px 42px;
}

.island-ragdoll-cat .island-cat-paws {
  animation: islandCatPaws 3.8s ease-in-out infinite;
}

.island-ragdoll-cat .island-cat-eyes {
  transform-origin: 101px 43px;
  animation: islandCatCuteBlink 5.4s ease-in-out infinite;
}

@keyframes islandCatPaws {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}

@keyframes islandCatCuteBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.14); }
}

.kawaii-ragdoll-island {
  width: 220px;
  height: 112px;
  filter: drop-shadow(0 12px 18px rgba(67, 45, 28, 0.2));
  transform: scale(0.72) translateY(-18px);
}

.kawaii-ragdoll-island .kawaii-cat-figure {
  transform-origin: 110px 66px;
}

.kawaii-ragdoll-island .kawaii-cat-pop {
  animation: kawaiiCatPop 4.8s ease-in-out infinite;
}

.kawaii-ragdoll-island .kawaii-eyes {
  transform-origin: 110px 52px;
  animation: kawaiiCatBlink 5.2s ease-in-out infinite;
}

.kawaii-ragdoll-island .kawaii-paws {
  animation: kawaiiPaws 3.4s ease-in-out infinite;
}

.kawaii-ragdoll-island .kawaii-tail {
  transform-origin: 58px 68px;
  animation: kawaiiTail 4.2s ease-in-out infinite;
}

.cute-island-ragdoll-stable {
  width: 180px;
  height: 76px;
  filter: drop-shadow(0 9px 14px rgba(62, 47, 38, 0.16));
  transform: scale(0.82) translateY(-2px);
}

.cute-island-ragdoll-stable .stable-ragdoll-figure {
  transform-origin: 90px 48px;
}

.cute-island-ragdoll-stable .stable-ragdoll-pop {
  animation: stableRagdollFloat 4.8s ease-in-out infinite;
}

.cute-island-ragdoll-stable .stable-ragdoll-eyes {
  transform-origin: 90px 37px;
  animation: stableRagdollBlink 5.4s ease-in-out infinite;
}

.cute-island-ragdoll-stable .stable-ragdoll-paws {
  animation: stableRagdollPaws 3.6s ease-in-out infinite;
}

.cute-island-ragdoll-stable .stable-ragdoll-tail {
  transform-origin: 45px 49px;
  animation: stableRagdollTail 4.4s ease-in-out infinite;
}

@keyframes stableRagdollFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.4px); }
}

@keyframes stableRagdollBlink {
  0%, 91%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.16); }
}

@keyframes stableRagdollPaws {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

@keyframes stableRagdollTail {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-4deg); }
}

@keyframes kawaiiCatPop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes kawaiiCatBlink {
  0%, 90%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(0.12); }
}

@keyframes kawaiiPaws {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes kawaiiTail {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-5deg); }
}

.pet-figure {
  transform-origin: 94px 38px;
  animation: islandPetIdle 4.8s ease-in-out infinite;
}

.pet-tail {
  transform-origin: 60px 40px;
  animation: islandPetTail 2.8s ease-in-out infinite;
}

.pet-face {
  transform-origin: 139px 40px;
  animation: petFace 5.2s ease-in-out infinite;
}

.pet-eye {
  transform-origin: center;
  animation: islandPetBlink 4.8s ease-in-out infinite;
}

.pet-ear-left,
.pet-ear-right {
  transform-origin: bottom center;
}

.pet-ear-left {
  animation: petEarLeft 6.8s ease-in-out infinite;
}

.pet-ear-right {
  animation: petEarRight 7.4s ease-in-out infinite;
}

.pet-bubble {
  position: absolute;
  left: 96px;
  top: -6px;
  min-width: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #5b6f91;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.search-pet[data-pet-state="night"] .pet-bubble,
.search-pet[data-pet-state="late"] .pet-bubble {
  opacity: 1;
  transform: translateY(0);
  animation: petZzz 2.8s ease-in-out infinite;
}

.search-pet[data-pet-state="morning"] .pet-cat {
  animation: petStretch 6.2s ease-in-out infinite;
}

.search-pet[data-pet-state="noon"] .pet-eye {
  transform: scaleY(0.24) translateY(7px);
}

.search-pet[data-pet-state="night"] .pet-eye,
.search-pet[data-pet-state="late"] .pet-eye {
  transform: scaleY(0.18) translateY(8px);
  animation: none;
}

.search-pet[data-pet-state="night"] .pet-figure,
.search-pet[data-pet-state="late"] .pet-figure {
  animation: petBreath 3.8s ease-in-out infinite;
}

.search-pet[data-pet-state="late"] .pet-tail {
  animation-duration: 8s;
}

@keyframes petBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.14); }
}

@keyframes islandPetTail {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  32% { transform: translateY(1px) rotate(-6deg); }
  64% { transform: translateY(-1px) rotate(5deg); }
}

@keyframes islandPetIdle {
  0%, 100% { transform: translateY(0); }
  52% { transform: translateY(1px); }
}

@keyframes islandPetBlink {
  0%, 90%, 100% { transform: scaleY(1); }
  94% { transform: scaleY(0.18); }
}

@keyframes petStretch {
  0%, 84%, 100% { transform: translateX(0) scaleX(1); }
  90% { transform: translateX(-2px) scaleX(1.025); }
}

@keyframes petBreath {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(1.2px); }
}

@keyframes petFace {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  45% { transform: translateY(0.8px) rotate(-1deg); }
}

@keyframes petEarLeft {
  0%, 90%, 100% { transform: rotate(0deg); }
  94% { transform: rotate(-6deg); }
}

@keyframes petEarRight {
  0%, 88%, 100% { transform: rotate(0deg); }
  92% { transform: rotate(5deg); }
}

@keyframes petZzz {
  0%, 100% { transform: translateY(1px); opacity: 0.55; }
  50% { transform: translateY(-2px); opacity: 0.9; }
}

.page-ripple-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.water-ripple {
  position: fixed;
  left: var(--ripple-x);
  top: var(--ripple-y);
  width: var(--ripple-size, 120px);
  height: var(--ripple-size, 120px);
  border: 1px solid rgba(22, 119, 255, 0.20);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.12) 0 2px, rgba(22, 119, 255, 0.08) 18%, transparent 62%);
  box-shadow:
    0 0 0 8px rgba(22, 119, 255, 0.04),
    inset 0 0 28px rgba(255, 255, 255, 0.34);
  transform: translate(-50%, -50%) scale(0.18);
  animation: waterRipple 780ms ease-out forwards;
}

.water-ripple.soft {
  opacity: 0.55;
  animation-duration: 980ms;
}

@keyframes waterRipple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

.quick-tags,
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-tags {
  margin-top: 18px;
  align-items: center;
}

.quick-tags::before {
  content: "热搜";
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff7a00, #ff4d4f);
  font-size: 13px;
  font-weight: 950;
}

.tag,
.tab {
  border: 1px solid #d7e7ff;
  border-radius: 999px;
  padding: 9px 14px;
  color: #0b3a7e;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.tag:hover,
.tab:hover {
  transform: translateY(-1px);
  border-color: #9fc0ff;
  background: #f7fbff;
}

.tab.active {
  color: #fff;
  border-color: var(--primary);
  background: linear-gradient(135deg, #1677ff, #36a3ff);
}

.intent-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.intent-strip a {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid #d7e7ff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.08);
}

.intent-strip strong {
  color: #0b3a7e;
}

.intent-strip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,248,255,0.88));
}

.browser-dock {
  align-content: start;
  border-color: #dbe7f7;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
}

.dock-head {
  display: grid;
  gap: 4px;
  padding: 6px 4px 0;
}

.dock-head span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
}

.dock-head strong {
  color: #0f2f66;
  font-size: 24px;
}

.dock-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dock-actions a {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid #d7e7ff;
  border-radius: 14px;
  color: #0b3a7e;
  background: #f8fbff;
  font-size: 13px;
  font-weight: 900;
}

.metric {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(22, 119, 255, 0.10), transparent 8rem),
    #fff;
  box-shadow: var(--shadow-soft);
}

.metric::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,0.16), rgba(14,165,233,0.10));
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 38px;
}

.metric span {
  color: var(--muted);
}

.profile-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f8fbff;
}

.profile-card span {
  color: var(--muted);
  line-height: 1.6;
}

.hero-picks {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.browser-dock .hero-picks {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-picks-head,
.hero-pick {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-picks-head {
  justify-content: space-between;
}

.hero-picks-head strong {
  color: #0b3a7e;
}

.hero-picks-head a {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.hero-pick {
  width: 100%;
  border: 1px solid #edf3ff;
  border-radius: 16px;
  padding: 10px;
  background: #f8fbff;
  cursor: pointer;
  text-align: left;
}

.browser-dock .hero-pick {
  min-height: 54px;
  border-color: #dbe7f7;
  background: #fff;
}

.hero-pick span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 12px;
  font-weight: 950;
}

.hero-pick strong {
  flex: 1;
  color: #0b3a7e;
}

.hero-pick em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

main {
  max-width: var(--page);
  margin: 0 auto 58px;
  padding: 0 clamp(16px, 4vw, 72px);
}

.section {
  margin-bottom: 26px;
  padding: clamp(20px, 4vw, 32px);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid rgba(22, 119, 255, 0.18);
  pointer-events: none;
}

.sticky-strip {
  position: sticky;
  top: 92px;
  z-index: 10;
}

.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.strip a {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: #1f355d;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.strip a:hover {
  border-color: #9fc0ff;
  transform: translateY(-2px);
}

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

.section-head h2 {
  margin-bottom: 0;
  color: #0b3a7e;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
}

.layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 188px;
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 210px);
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.side-nav strong {
  color: var(--primary-dark);
  letter-spacing: 0.02em;
}

.side-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #475467;
  font-weight: 700;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.side-nav a:hover {
  color: var(--primary);
  background: #eef4ff;
  transform: translateX(2px);
}

.content {
  min-width: 0;
}

.right-rail {
  position: sticky;
  top: 188px;
  display: grid;
  gap: 16px;
}

.rail-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.rail-card h3 {
  margin-bottom: 12px;
  color: #0f2f66;
}

.rail-card p {
  margin-bottom: 16px;
  font-size: 14px;
}

.rail-premium {
  position: relative;
  overflow: hidden;
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(255,255,255,0.25), transparent 8rem),
    linear-gradient(135deg, #1d4ed8 0%, #2563eb 48%, #7c3aed 100%);
  box-shadow: 0 20px 56px rgba(37, 99, 235, 0.24);
}

.rail-premium span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.rail-premium h3,
.rail-premium p {
  color: #fff;
}

.rail-premium p {
  opacity: 0.84;
}

.rail-premium .button {
  color: #1644ad;
  background: #fff;
}

.rail-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rail-stats div {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.rail-stats strong {
  color: var(--primary-dark);
  font-size: 24px;
  line-height: 1;
}

.rail-stats span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.rail-list,
.rail-links {
  display: grid;
  gap: 8px;
}

.rail-list button,
.rail-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  color: #344054;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.rail-list button:hover,
.rail-links a:hover {
  transform: translateY(-1px);
  border-color: #9fc0ff;
  background: #f7fbff;
}

.rail-list strong {
  color: var(--primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.home-main {
  display: grid;
  gap: 26px;
}

.entry-section {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(237,246,255,0.94)),
    radial-gradient(circle at 100% 0%, rgba(22, 119, 255, 0.10), transparent 18rem);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.decision-card {
  display: grid;
  gap: 10px;
  min-height: 178px;
  padding: 20px;
  border: 1px solid #d7e7ff;
  border-top: 4px solid #1677ff;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.decision-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.11);
}

.decision-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #36a3ff);
  font-size: 12px;
  font-weight: 950;
}

.decision-card strong {
  color: #0b3a7e;
  font-size: 20px;
}

.decision-card:nth-child(2) {
  border-top-color: #ff7a00;
}

.decision-card:nth-child(2) span {
  background: linear-gradient(135deg, #ff7a00, #ffb020);
}

.decision-card:nth-child(3) {
  border-top-color: #00a870;
}

.decision-card:nth-child(3) span {
  background: linear-gradient(135deg, #00a870, #36cfc9);
}

.decision-card:nth-child(4) {
  border-top-color: #722ed1;
}

.decision-card:nth-child(4) span {
  background: linear-gradient(135deg, #722ed1, #9254de);
}

.decision-card:nth-child(5) {
  border-top-color: #eb2f96;
}

.decision-card:nth-child(5) span {
  background: linear-gradient(135deg, #eb2f96, #ff85c0);
}

.decision-card:nth-child(6) {
  border-top-color: #faad14;
}

.decision-card:nth-child(6) span {
  background: linear-gradient(135deg, #faad14, #ff7a00);
}

.decision-card p {
  margin-bottom: 0;
  line-height: 1.55;
}

.primary-decision {
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.22), transparent 9rem),
    linear-gradient(135deg, #0b3a7e, #1677ff 58%, #ff7a00);
}

.primary-decision span {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.16);
}

.primary-decision strong,
.primary-decision p {
  color: #fff;
}

.two-column,
.retention-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.retention-grid {
  grid-template-columns: minmax(0, 1.35fr) 360px;
}

.two-column > div,
.retention-grid > div,
.retention-grid > aside {
  min-width: 0;
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.mini-head h3 {
  margin-bottom: 0;
  color: #0f2f66;
}

.mini-head a,
.mini-head span {
  color: var(--primary);
  font-weight: 900;
}

.compact-grid.model-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.compact-grid.tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-card {
  min-height: 214px;
}

.product-focus,
.stack-section,
.scenario-section,
.retention-section {
  border: 1px solid rgba(22, 119, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 255, 0.92));
}

.scenario-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 168, 112, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.94));
}

.retention-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 122, 0, 0.10), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.94));
}

.solution-grid,
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.solution-grid a,
.solution-grid article,
.scenario-card {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 20px;
  border: 1px solid #d7e7ff;
  border-top: 4px solid #00a870;
  border-radius: 18px;
  background:
    radial-gradient(circle at 95% 0%, rgba(0, 168, 112, 0.08), transparent 8rem),
    #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.solution-grid a:hover,
.solution-grid article:hover,
.scenario-card:hover {
  transform: translateY(-3px);
  border-color: #95de64;
  box-shadow: 0 18px 42px rgba(0, 168, 112, 0.12);
}

.solution-grid span,
.scenario-card-head span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--success);
  background: #ecfdf5;
  font-size: 12px;
  font-weight: 950;
}

.solution-grid h3,
.scenario-card h3 {
  margin-bottom: 0;
  color: #0f2f66;
  font-size: 18px;
  line-height: 1.35;
}

.solution-grid p,
.scenario-card p {
  margin-bottom: 0;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.scenario-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.full-scenario-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scenario-card {
  min-height: 190px;
  border-top-color: #1677ff;
}

.deep-scenario-card {
  min-height: 260px;
}

.scenario-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.scenario-card-head strong {
  color: #ff7a00;
  font-size: 13px;
}

.scenario-card ol {
  display: grid;
  gap: 6px;
  margin: 2px 0 0;
  padding-left: 20px;
  color: #344054;
  font-size: 13px;
  line-height: 1.55;
}

.scenario-steps {
  display: grid;
  gap: 7px;
}

.scenario-steps span {
  padding: 8px 10px;
  border-radius: 10px;
  color: #344054;
  background: #f7fbff;
  font-size: 13px;
  line-height: 1.45;
}

.scenario-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.scenario-tools span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #0b3a7e;
  background: #eaf4ff;
  font-size: 12px;
  font-weight: 800;
}

.scenario-card em {
  align-self: end;
  color: var(--primary);
  font-style: normal;
  font-weight: 950;
}

.home-scenario-card {
  grid-template-rows: auto auto auto 1fr auto auto;
}

.scenario-audience {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.scenario-pain {
  padding: 10px 12px;
  border: 1px solid #ffe4c4;
  border-radius: 14px;
  color: #7a2e0e;
  background: #fff7ed;
}

.scenario-pain b {
  margin-right: 8px;
  color: #f97316;
}

.scenario-stack-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.scenario-stack-group {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid #d7e7ff;
  border-radius: 14px;
  background: #fbfdff;
}

.scenario-stack-group strong {
  color: #0b3a7e;
  font-size: 13px;
}

.scenario-stack-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scenario-stack-group em {
  align-self: auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: #31527f;
  background: #eef4ff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.scenario-source-block {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.scenario-source-block > strong {
  color: #0f172a;
  font-size: 13px;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 7px 9px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  color: #111827;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.source-chip span {
  padding: 3px 6px;
  border-radius: 999px;
  color: #fff;
  background: #24292f;
  font-size: 10px;
}

.source-chip strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scenario-actions,
.scenario-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.scenario-actions .button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
}

.scenario-card-foot span {
  color: #475467;
  font-size: 13px;
  font-weight: 900;
}

.scenario-card-foot em {
  white-space: nowrap;
}

.solution-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.solution-flow article {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 16px;
  border: 1px solid #d7e7ff;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: var(--shadow-soft);
}

.solution-flow span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #36a3ff);
  font-size: 12px;
  font-weight: 950;
}

.solution-flow strong {
  color: #0b3a7e;
}

.solution-flow p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.55;
}

.solution-depth-panel {
  display: grid;
  gap: 16px;
  margin: 18px 0;
  padding: 20px;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  background: #ffffff;
}

.solution-depth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.solution-depth-grid a {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 176px;
  padding: 16px;
  border: 1px solid #dfe9f4;
  border-radius: 8px;
  background: #fbfdff;
  color: #172b4d;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.solution-depth-grid a:hover {
  border-color: #8fb5ea;
  box-shadow: 0 16px 32px rgba(35, 64, 106, 0.1);
  transform: translateY(-2px);
}

.solution-depth-grid span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: #245da6;
  font-size: 12px;
  font-weight: 850;
}

.solution-depth-grid strong {
  color: #0f2f66;
  font-size: 16px;
  line-height: 1.35;
}

.solution-depth-grid p {
  margin: 0;
  color: #526177;
  font-size: 13px;
  line-height: 1.55;
}

.solution-depth-grid small {
  color: #7a8797;
  line-height: 1.45;
}

.solution-panel {
  max-width: 720px;
}

#scenarioDetailDrawer {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 720px);
}

.solution-detail-title h2 {
  margin-bottom: 10px;
  color: #0b3a7e;
  font-size: clamp(28px, 4vw, 42px);
}

.solution-route,
.solution-checklist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: #344054;
  line-height: 1.65;
}

.solution-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.solution-stack-grid article {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid #d7e7ff;
  border-radius: 16px;
  background: #f8fbff;
}

.solution-stack-grid strong {
  color: #0b3a7e;
}

.solution-stack-grid div,
.solution-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.solution-stack-grid span,
.solution-deliverables span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #0b3a7e;
  background: #eaf4ff;
  font-size: 13px;
  font-weight: 850;
}

.solution-source-list {
  display: grid;
  gap: 10px;
}

.solution-source-card {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-left: 4px solid #24292f;
  border-radius: 16px;
  background: #fff;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.solution-source-card:hover {
  transform: translateY(-2px);
  border-color: #9ca3af;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10);
}

.solution-source-card span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: #24292f;
  font-size: 12px;
  font-weight: 950;
}

.solution-source-card strong {
  color: #0f172a;
  font-size: 18px;
}

.solution-source-card p {
  margin-bottom: 0;
}

.solution-source-card em {
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
}

.muted-checklist {
  margin-top: 10px;
  color: #7a2e0e;
}

.scenario-outcome {
  padding: 10px 12px;
  border: 1px dashed #91caff;
  border-radius: 14px;
  color: #0b3a7e;
  background: #f0f7ff;
  font-size: 14px;
  line-height: 1.55;
}

.news-list-compact,
.news-ticker {
  display: grid;
  gap: 12px;
}

.compact-news {
  min-height: auto;
  padding: 18px;
}

.compact-news h3 {
  margin-bottom: 0;
  font-size: 17px;
}

.news-carousel {
  display: grid;
  gap: 12px;
}

.news-hero-card {
  display: grid;
  gap: 12px;
  min-height: auto;
  padding: 28px;
  border: 1px solid #d7e7ff;
  border-top: 4px solid #ff7a00;
  border-radius: 22px;
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 122, 0, 0.14), transparent 10rem),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow-soft);
}

.news-hero-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.news-hero-card span,
.news-hero-card strong {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.news-hero-card span {
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #36a3ff);
}

.news-hero-card strong {
  color: #ff7a00;
  background: #fff7e6;
}

.news-hero-card h3 {
  margin-bottom: 0;
  color: #0b3a7e;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.35;
}

.news-hero-card p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.75;
}

.news-dots {
  display: flex;
  gap: 8px;
}

.news-dots button {
  width: 28px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: #d7e7ff;
  cursor: pointer;
}

.news-dots button.active {
  width: 44px;
  background: linear-gradient(90deg, #1677ff, #ff7a00);
}

.news-ticker-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d7e7ff;
  border-radius: 14px;
  background: #fff;
}

.news-ticker-item span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
}

.news-ticker-item strong {
  overflow: hidden;
  color: #0f2f66;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-panel {
  display: grid;
  gap: 14px;
}

.side-widget {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid #d7e7ff;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow-soft);
}

.side-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.side-widget strong,
.side-widget-head strong {
  color: #0b3a7e;
  font-size: 18px;
}

.side-widget-head a {
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
}

.side-widget > a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #0f2f66;
  background: #f0f7ff;
  font-weight: 900;
}

.compact-links div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.compact-links a {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 12px;
  color: #0b3a7e;
  background: #eaf4ff;
  font-size: 13px;
  font-weight: 900;
}

.growth-grid,
.sponsor-grid {
  display: grid;
  gap: 16px;
}

.growth-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.growth-section {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(239,246,255,0.88)),
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.10), transparent 18rem);
}

.growth-card {
  display: grid;
  gap: 10px;
  min-height: 176px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.growth-card:hover {
  transform: translateY(-3px);
  border-color: #9fc0ff;
  box-shadow: 0 22px 54px rgba(16, 24, 40, 0.12);
}

.growth-card span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--primary);
  background: #eef4ff;
  font-size: 12px;
  font-weight: 950;
}

.growth-card strong {
  color: #102a56;
  font-size: 20px;
}

.growth-card p {
  margin-bottom: 0;
  line-height: 1.55;
}

.primary-growth {
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.24), transparent 9rem),
    linear-gradient(135deg, #0f3d99, #2563eb 52%, #0ea5e9);
}

.primary-growth span {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.16);
}

.primary-growth strong,
.primary-growth p {
  color: #fff;
}

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.category-tile {
  display: grid;
  gap: 8px;
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.category-tile strong {
  color: #102a56;
}

.category-tile span {
  color: var(--muted);
  font-size: 13px;
}

.category-tile:hover {
  border-color: #9fc0ff;
  background: #f7fbff;
}

.product-grid a {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: 0 12px 32px rgba(20, 62, 135, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-grid a:hover {
  transform: translateY(-3px);
  border-color: #9fc0ff;
  box-shadow: 0 22px 54px rgba(16, 24, 40, 0.12);
}

.product-grid span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 12px;
  font-weight: 900;
}

.product-grid strong {
  color: #102a56;
  font-size: 18px;
}

.product-grid p {
  margin-bottom: 0;
  line-height: 1.55;
}

.advertise {
  border-color: rgba(124, 58, 237, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(250,245,255,0.88));
}

.sponsor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sponsor-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(216, 228, 247, 0.92);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.sponsor-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.08);
}

.sponsor-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.30);
  box-shadow: 0 24px 58px rgba(76, 29, 149, 0.14);
}

.sponsor-card span {
  z-index: 1;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ad);
  background: #f3e8ff;
  font-size: 12px;
  font-weight: 950;
}

.sponsor-card h3,
.sponsor-card p,
.sponsor-card a {
  z-index: 1;
}

.sponsor-card h3 {
  margin-bottom: 0;
  color: #2e1065;
  font-size: 22px;
}

.sponsor-card p {
  margin-bottom: 0;
}

.sponsor-card a {
  align-self: end;
  color: var(--ad);
  font-weight: 950;
}

.sponsor-card.hot {
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 90% 5%, rgba(255,255,255,0.26), transparent 10rem),
    linear-gradient(135deg, #4c1d95, #7c3aed 54%, #2563eb);
}

.sponsor-card.hot::after {
  background: rgba(255, 255, 255, 0.12);
}

.sponsor-card.hot span {
  color: #ede9fe;
  background: rgba(255, 255, 255, 0.16);
}

.sponsor-card.hot h3,
.sponsor-card.hot p,
.sponsor-card.hot a {
  color: #fff;
}

.model-grid,
.tool-grid,
.scene-grid,
.resource-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.tool-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.model-card,
.tool-card,
.scene-grid article,
.resource-grid article,
.news-card,
.community-post,
.community-form {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 188px;
  padding: 18px;
  border: 1px solid #d7e7ff;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.decision-card,
.model-card,
.tool-card,
.solution-grid a,
.solution-grid article,
.scenario-card,
.channel-card,
.news-card,
.news-hero-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.decision-card::before,
.model-card::before,
.tool-card::before,
.solution-grid a::before,
.solution-grid article::before,
.scenario-card::before,
.channel-card::before,
.news-card::before,
.news-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(180px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.72), transparent 42%),
    linear-gradient(135deg, rgba(22, 119, 255, 0.10), rgba(255, 122, 0, 0.06));
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.decision-card:hover::before,
.model-card:hover::before,
.tool-card:hover::before,
.solution-grid a:hover::before,
.solution-grid article:hover::before,
.scenario-card:hover::before,
.channel-card:hover::before,
.news-card:hover::before,
.news-hero-card:hover::before {
  opacity: 1;
}

.decision-card > *,
.model-card > *,
.tool-card > *,
.solution-grid a > *,
.solution-grid article > *,
.scenario-card > *,
.channel-card > *,
.news-card > *,
.news-hero-card > * {
  position: relative;
  z-index: 1;
}

.model-card:hover,
.tool-card:hover,
.category-tile:hover,
.strip a:hover {
  transform: translateY(-3px);
  border-color: #91caff;
  box-shadow: 0 18px 42px rgba(22, 119, 255, 0.14);
}

.section-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 14px 16px;
  border: 1px dashed #bfd3f6;
  border-radius: 16px;
  color: #31527f;
  background: #f7fbff;
  font-size: 14px;
}

.section-note button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tool-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e7ff;
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.10);
}

.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.model-card h3,
.tool-card h3,
.scene-grid h3,
.resource-grid h3 {
  margin-bottom: 0;
  color: #0b3a7e;
}

.badges,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #0b3a7e;
  background: #eaf4ff;
  font-size: 12px;
  font-weight: 800;
}

.link-row a,
.visit-link {
  color: var(--primary);
  font-weight: 800;
}

.visit-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf4ff;
}

.favorite {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #98a2b3;
  background: #fff;
  cursor: pointer;
}

.favorite.active {
  color: #f59e0b;
  border-color: #fbbf24;
  background: #fffbeb;
}

.empty-state {
  padding: 18px;
  border: 1px dashed #b7d4ff;
  border-radius: 18px;
  color: #5d6b82;
  background: #f8fbff;
  font-weight: 800;
}

.link-row.compact {
  justify-content: flex-end;
}

.api-table {
  display: grid;
  gap: 10px;
}

.api-row {
  display: grid;
  grid-template-columns: 1.1fr 0.5fr 1.1fr 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.api-row span {
  color: var(--muted);
}

.scene-grid article span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--success);
  background: #ecfdf3;
  font-weight: 900;
}

.ranking-list {
  display: grid;
  gap: 10px;
}

.news-card span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.channel-page {
  max-width: var(--page);
  margin: 0 auto 58px;
  padding: 0 clamp(16px, 4vw, 72px);
}

.channel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 26px;
}

.channel-hero > div {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 145, 178, 0.10), transparent 20rem),
    rgba(255, 255, 255, 0.90);
  box-shadow: var(--shadow);
}

.channel-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(40px, 5vw, 66px);
}

.intent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.intent-tags span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #0f2f66;
  background: #fff;
  font-weight: 900;
}

.channel-search-card {
  display: grid;
  align-content: center;
  gap: 14px;
}

.channel-search-card strong {
  color: #0f2f66;
  font-size: 22px;
}

.compact-search {
  margin-top: 0;
}

.channel-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.channel-controls label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.channel-controls select {
  min-height: 42px;
}

.toggle-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.toggle-row input {
  width: auto;
}

.channel-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.channel-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
  max-height: calc(100vh - 132px);
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.channel-sidebar > strong {
  color: var(--primary-dark);
}

.filter-stack {
  display: grid;
  gap: 10px;
}

.filter-stack label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pills button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: #344054;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.filter-pills button.active {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.channel-results {
  min-width: 0;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.channel-card {
  min-height: 248px;
}

.scenario-playbook {
  margin-bottom: 26px;
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
  align-items: start;
}

.community-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 56px) 56px;
}

.community-hero {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,250,255,0.92));
  box-shadow: var(--shadow);
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.community-hero-copy h1 {
  margin-bottom: 12px;
}

.community-teaser-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid #d7e7ff;
  border-top: 4px solid #1677ff;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 119, 255, 0.12), transparent 9rem),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow-soft);
}

.community-teaser-card span {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #36a3ff);
  font-size: 12px;
  font-weight: 950;
}

.community-teaser-card strong {
  display: block;
  margin: 10px 0 8px;
  color: #0b3a7e;
  font-size: 22px;
}

.community-teaser-card p {
  margin-bottom: 0;
}

.community-list {
  display: grid;
  gap: 12px;
}

.community-tools {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.community-post {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
}

.community-post div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.community-post span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--primary);
  background: #eef4ff;
  font-size: 12px;
  font-weight: 900;
}

.community-post p {
  margin-bottom: 0;
}

.community-post small {
  color: var(--muted);
}

.community-post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.community-post-foot button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--primary);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.community-post-foot button.active {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}

.community-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 24px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.ranking-item p {
  margin-bottom: 0;
}

.rank-num {
  color: var(--primary);
  font-size: 22px;
  font-weight: 950;
}

.submit {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

form {
  display: grid;
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  outline-color: var(--primary);
  background: #fff;
}

.search-shell:focus-within,
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 900;
}

.primary {
  color: #fff;
  background: var(--primary);
}

.secondary {
  color: var(--primary);
  background: #eaf4ff;
}

.detail-button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  font-size: 13px;
}

.form-note {
  margin-bottom: 0;
  font-size: 14px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  color: var(--brand);
}

.content-page {
  max-width: var(--page);
  margin: 0 auto 58px;
  padding: 0 clamp(16px, 4vw, 72px);
}

.content-hero {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 119, 255, 0.14), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,250,255,0.94));
  box-shadow: var(--shadow);
}

.content-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #0b3a7e;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
}

.content-hero p {
  max-width: 900px;
  color: #344054;
  font-size: 17px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}

.content-main,
.content-side {
  min-width: 0;
}

.content-side {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}

.content-section {
  margin-bottom: 18px;
}

.content-section > p,
.content-section li {
  color: #344054;
  line-height: 1.75;
}

.content-steps {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.content-stack,
.content-two-col,
.source-grid,
.topic-grid {
  display: grid;
  gap: 14px;
}

.content-stack,
.content-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-stack article,
.source-card,
.side-entry-list a {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
}

.content-stack strong,
.source-card strong,
.side-entry-list strong {
  display: block;
  color: #0b3a7e;
}

.content-stack div,
.side-entry-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.content-stack span,
.source-card span {
  display: inline-flex;
  width: fit-content;
  margin: 0 6px 6px 0;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--primary);
  background: #eaf4ff;
  font-size: 12px;
  font-weight: 900;
}

.source-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-card,
.side-entry-list a {
  color: inherit;
  text-decoration: none;
}

.source-card p,
.source-card em,
.side-entry-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.tool-detail-hero {
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
}

.tool-detail-logo {
  width: 96px;
  height: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
}

.tool-detail-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.drawer-open {
  overflow: hidden;
}

.detail-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
}

.detail-backdrop {
  border: 0;
  background: rgba(15, 23, 42, 0.46);
  cursor: pointer;
}

.detail-panel {
  position: relative;
  overflow: auto;
  padding: 28px;
  background: #fff;
  box-shadow: -18px 0 54px rgba(15, 23, 42, 0.18);
}

.detail-title {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.detail-title .tool-logo {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.detail-title h2 {
  margin-bottom: 8px;
  color: #0b3a7e;
  font-size: 30px;
}

.detail-meta,
.detail-actions,
.detail-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-meta {
  margin-bottom: 14px;
}

.detail-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #344054;
  background: #f8fbff;
  font-size: 13px;
  font-weight: 800;
}

.detail-actions {
  margin: 16px 0;
}

.detail-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.detail-section h3 {
  margin-bottom: 8px;
  color: #0f2f66;
}

.detail-insight-grid,
.detail-info-list,
.detail-depth-grid,
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.detail-insight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-info-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-depth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-choice-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.detail-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.detail-next-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  padding: 16px;
  border: 1px solid #d7e7ff;
  border-radius: 18px;
  background: #f8fbff;
}

.detail-next-grid article > span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef5ff;
  color: #245da6;
  font-size: 12px;
  font-weight: 900;
}

.detail-next-grid a {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid #dbe8f7;
  color: inherit;
  text-decoration: none;
}

.detail-next-grid a:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.detail-next-grid strong {
  color: #0b3a7e;
  line-height: 1.35;
}

.detail-next-grid small {
  color: var(--muted);
  line-height: 1.45;
}

.detail-insight-grid article,
.detail-info-list article,
.detail-depth-grid article,
.detail-choice-list article,
.faq-list article {
  padding: 16px;
  border: 1px solid #d7e7ff;
  border-radius: 18px;
  background: #f8fbff;
}

.detail-insight-grid strong,
.detail-info-list strong,
.detail-depth-grid strong,
.detail-choice-list strong,
.faq-list h3 {
  color: #0b3a7e;
}

.detail-insight-grid ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.detail-info-list p,
.detail-depth-grid p,
.detail-choice-list p,
.faq-list p {
  margin: 8px 0 0;
}

.detail-related button {
  display: grid;
  gap: 4px;
  min-width: 124px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  color: #0b3a7e;
  background: #f8fbff;
  cursor: pointer;
  text-align: left;
  font-weight: 900;
}

.detail-related span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.48);
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  cursor: pointer;
  font-size: 20px;
}

.homepage-card {
  width: min(680px, 100%);
}

.homepage-copy-note {
  margin-bottom: 16px;
  color: #344054;
}

.homepage-url-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 18px;
}

.homepage-url-box input {
  color: #0b3a7e;
  font-weight: 900;
}

.browser-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.browser-guide-grid article {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #d7e7ff;
  border-radius: 16px;
  background: #f8fbff;
}

.browser-guide-grid strong {
  color: #0b3a7e;
}

.browser-guide-grid p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.6;
}

.homepage-extension-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #d7e7ff;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff, #eef6ff);
}

.homepage-extension-box strong {
  display: block;
  margin-bottom: 4px;
  color: #0b3a7e;
}

.homepage-extension-box p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.tap-ripple {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  transform: translate(-50%, -50%) scale(0);
  animation: ripplePop 680ms ease-out forwards;
  pointer-events: none;
  z-index: 2;
}

@media (pointer: fine) {
  .decision-card,
  .model-card,
  .tool-card,
  .solution-grid a,
  .solution-grid article,
  .scenario-card,
  .channel-card,
  .news-card,
  .news-hero-card {
    will-change: transform;
  }
}

@keyframes auroraShift {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(0deg);
  }
  to {
    transform: translate3d(2%, 3%, 0) rotate(2deg);
  }
}

@keyframes ripplePop {
  0% {
    opacity: 0.62;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(18);
  }
}

@media (min-width: 1700px) {
  .hero {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.45fr);
  }

  .layout {
    grid-template-columns: 250px minmax(0, 1fr) 340px;
    gap: 22px;
  }
}

@media (min-width: 1900px) {
  .model-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .tool-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 2200px) {
  .model-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 1360px) {
  .layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .right-rail {
    position: static;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rail-stats {
    grid-template-columns: 1fr;
  }

  .model-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .compact-grid.model-grid,
  .decision-grid,
  .solution-grid,
  .scenario-grid,
  .channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .growth-grid,
  .sponsor-grid,
  .solution-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .model-grid,
  .tool-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .compact-grid.model-grid,
  .compact-grid.tool-grid,
  .decision-grid,
  .solution-grid,
  .scenario-grid,
  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip,
  .scene-grid,
  .resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: none;
  }

  .right-rail {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-layout {
    grid-template-columns: 1fr;
  }

  .channel-sidebar {
    position: static;
    max-height: none;
  }

  .api-row {
    grid-template-columns: 1fr 0.4fr 1fr;
  }

  .community-layout {
    grid-template-columns: 1fr;
  }

  .community-teaser-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .api-row .link-row {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding-inline: 14px;
  }

  .nav {
    align-items: flex-start;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    border: 1px solid rgba(22, 119, 255, 0.18);
    border-radius: 22px;
    background:
      linear-gradient(180deg, #eef6ff, #e5f0ff);
    box-shadow: var(--shadow);
  }

  .nav-panel.open {
    display: grid;
    grid-template-columns: 1fr;
    z-index: 200;
  }

  .nav-item > a {
    width: 100%;
    padding: 12px;
  }

  .mega {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0 0 8px 10px;
    border: 0;
    box-shadow: none;
    background: #f8fafc;
  }

  .hero,
  .channel-hero,
  .two-column,
  .retention-grid,
  .intent-strip,
  .submit {
    grid-template-columns: 1fr;
  }

  .browser-home-hero {
    margin-top: 24px;
  }

  .browser-dock {
    order: 2;
  }

  .growth-grid,
  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .sticky-strip {
    position: static;
  }

  .section-head,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .solution-flow,
  .solution-depth-grid,
  .scenario-stack-preview,
  .solution-stack-grid,
  .detail-insight-grid,
  .detail-depth-grid,
  .detail-info-list,
  .detail-next-grid,
  .browser-guide-grid,
  .homepage-url-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    margin-top: 34px;
  }

  .hero-copy {
    padding: 24px;
    border-radius: 26px;
  }

  .search-shell {
    flex-direction: column;
  }

  .search-mode {
    width: 100%;
  }

  .search-mode button {
    flex: 1;
  }

  .home-search-hub .search-shell {
    min-height: auto;
  }

  .search-provider {
    width: 100%;
    justify-content: center;
    border-right: 0;
    border-bottom: 1px solid #d7e7ff;
  }

  .search-shell button {
    min-height: 42px;
  }

  .model-grid,
  .tool-grid,
  .product-grid,
  .category-overview-grid,
  .decision-grid,
  .solution-grid,
  .scenario-grid,
  .solution-flow,
  .compact-grid.model-grid,
  .compact-grid.tool-grid,
  .channel-grid,
  .right-rail,
  .strip,
  .scene-grid,
  .resource-grid,
  .news-grid,
  .side-nav {
    grid-template-columns: 1fr;
  }

  .section-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .api-row {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    grid-template-columns: 44px 1fr;
  }

  .ranking-item .visit-link {
    grid-column: 2;
  }

  .detail-drawer {
    grid-template-columns: 1fr;
  }

  #scenarioDetailDrawer {
    grid-template-columns: 1fr;
  }

  .detail-backdrop {
    display: none;
  }

  .detail-panel {
    min-height: 100vh;
  }

  /* 移动端优化：增大触摸区域 */
  .button,
  .text-button,
  .tag {
    min-height: 44px;
    padding: 12px 18px;
  }

  /* 移动端优化：优化卡片间距 */
  .model-card,
  .tool-card {
    padding: 20px;
  }

  /* 移动端优化：优化导航菜单 */
  .nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    background: var(--card);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
    z-index: 100;
  }

  .nav-panel.active {
    transform: translateX(0);
  }

  /* 移动端优化：Toast 通知位置 */
  .toast {
    top: auto;
    bottom: 24px;
    left: 16px;
    right: 16px;
    min-width: auto;
  }

  /* 移动端优化：表单输入 */
  input,
  textarea {
    font-size: 16px; /* 防止 iOS 自动缩放 */
  }

  /* 移动端优化：模态框 */
  .modal-card {
    width: 90vw;
    max-width: none;
    margin: 20px;
  }
}

/* 平板优化 */
@media (min-width: 621px) and (max-width: 1024px) {
  .model-grid,
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* 深色模式支持（预留） */
@media (prefers-color-scheme: dark) {
  /* 未来可添加深色模式样式 */
}

/* 减少动画（用户偏好） */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Browser-home refresh */
body {
  background:
    linear-gradient(180deg, rgba(236, 248, 255, 0.92) 0%, rgba(247, 251, 255, 0.94) 44%, #f6f8fc 100%),
    #f6f8fc;
}

.site-header {
  position: relative;
  overflow: hidden;
  padding-bottom: 34px;
}

.browser-home-hero {
  position: relative;
  grid-template-columns: 1fr;
  max-width: 1480px;
  min-height: 620px;
  margin-top: 28px;
  align-items: center;
}

.scene-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(116, 196, 255, 0.74) 0%, rgba(218, 244, 255, 0.78) 42%, rgba(248, 255, 248, 0.92) 100%),
    linear-gradient(135deg, rgba(22, 119, 255, 0.14), rgba(0, 168, 112, 0.14));
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
}

.scene-layer::before {
  content: "";
  position: absolute;
  inset: auto -6% 0;
  height: 42%;
  background:
    linear-gradient(180deg, rgba(69, 178, 210, 0.42), rgba(33, 119, 170, 0.50)),
    repeating-linear-gradient(172deg, rgba(255,255,255,0.28) 0 2px, transparent 2px 28px);
  transform: skewY(-2deg);
  animation: waterDrift 12s ease-in-out infinite alternate;
}

.scene-layer::after {
  content: "";
  position: absolute;
  inset: auto -10% -18%;
  height: 38%;
  background:
    linear-gradient(180deg, rgba(35, 118, 92, 0.38), rgba(13, 82, 73, 0.50)),
    repeating-linear-gradient(82deg, transparent 0 18px, rgba(255,255,255,0.18) 18px 20px);
  clip-path: polygon(0 42%, 8% 28%, 17% 48%, 26% 30%, 36% 44%, 45% 25%, 55% 40%, 65% 22%, 75% 45%, 84% 30%, 94% 43%, 100% 34%, 100% 100%, 0 100%);
}

.scene-sun {
  position: absolute;
  top: 58px;
  right: 12%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6bf 0%, #ffd66b 58%, rgba(255, 214, 107, 0.08) 62%);
  box-shadow: 0 0 70px rgba(255, 214, 107, 0.46);
  animation: sunFloat 9s ease-in-out infinite alternate;
}

.scene-mountain,
.scene-wave,
.scene-forest {
  position: absolute;
  display: block;
}

.scene-mountain {
  bottom: 25%;
  width: 52%;
  height: 34%;
  background: linear-gradient(135deg, rgba(55, 145, 120, 0.34), rgba(22, 90, 132, 0.30));
  clip-path: polygon(0 100%, 30% 14%, 48% 58%, 64% 30%, 100% 100%);
}

.scene-mountain-one {
  left: -4%;
}

.scene-mountain-two {
  right: -8%;
  bottom: 29%;
  opacity: 0.72;
  transform: scaleX(-1);
}

.scene-wave {
  left: -8%;
  right: -8%;
  bottom: 20%;
  height: 80px;
  opacity: 0.5;
  background: repeating-radial-gradient(ellipse at 50% 100%, rgba(255,255,255,0.9) 0 3px, transparent 4px 24px);
  animation: waveSlide 16s linear infinite;
}

.scene-wave-two {
  bottom: 13%;
  opacity: 0.32;
  animation-duration: 22s;
  animation-direction: reverse;
}

.scene-forest {
  left: 0;
  right: 0;
  bottom: 0;
  height: 118px;
  background:
    repeating-linear-gradient(90deg, rgba(13, 97, 76, 0.62) 0 12px, transparent 12px 32px),
    linear-gradient(180deg, rgba(28, 126, 97, 0.64), rgba(15, 82, 71, 0.74));
  clip-path: polygon(0 35%, 4% 12%, 8% 34%, 13% 8%, 18% 36%, 23% 14%, 28% 35%, 34% 9%, 39% 36%, 44% 14%, 50% 34%, 55% 10%, 61% 38%, 67% 14%, 72% 34%, 78% 9%, 83% 35%, 89% 13%, 94% 34%, 100% 12%, 100% 100%, 0 100%);
}

.browser-home-hero .hero-copy {
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(18px) saturate(135%);
}

.browser-home-hero h1 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.browser-home-hero .hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
  color: #344054;
  font-size: 18px;
}

.browser-home-hero .eyebrow,
.browser-home-hero .search-mode {
  margin-inline: auto;
}

.home-search-hub {
  position: relative;
  max-width: 900px;
  margin: 30px auto 0;
}

.home-search-hub .search-shell {
  min-height: 76px;
  padding: 10px;
  border: 1px solid rgba(22, 119, 255, 0.24);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 56px rgba(22, 119, 255, 0.20);
}

.browser-search-shell input {
  padding: 15px 16px;
  color: #101828;
  font-size: 20px;
}

.browser-search-shell button {
  min-width: 132px;
  min-height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1677ff, #00a870);
  box-shadow: 0 14px 28px rgba(22, 119, 255, 0.24);
}

.search-suggest {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  left: 18px;
  right: 18px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
  text-align: left;
}

.search-suggest a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(90px, auto);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
}

.search-suggest a:hover,
.search-suggest a:focus-visible {
  background: #f2f7ff;
}

.search-suggest span {
  color: #1677ff;
  font-size: 12px;
  font-weight: 950;
}

.search-suggest strong {
  overflow: hidden;
  color: #102a56;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggest em {
  overflow: hidden;
  color: #667085;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-custom-panel {
  display: grid;
  gap: 10px;
  max-width: 960px;
  margin: 16px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.hero-custom-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 4px;
}

.hero-custom-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero-custom-actions .text-button {
  display: inline-grid;
  place-items: center;
  min-width: 76px;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.hero-custom-actions .text-button.is-active {
  min-width: 96px;
}

.hero-custom-head div {
  display: grid;
  gap: 3px;
}

.hero-custom-head strong {
  color: #0f2f66;
  font-size: 15px;
}

.hero-custom-head span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.hero-custom-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.home-icon-tile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 98px;
  border: 1px solid rgba(215, 231, 255, 0.82);
  border-radius: 18px;
  padding: 12px 8px 10px;
  color: #102a56;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.home-icon-wrap {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.home-icon-wrap .home-icon-tile {
  height: 100%;
}

.home-icon-tile:hover,
.home-icon-tile:focus-visible {
  border-color: rgba(22, 119, 255, 0.32);
  background: #fff;
  transform: translateY(-2px);
}

.home-icon-tile .site-icon,
.home-icon-tile > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d7e7ff;
  border-radius: 15px;
  color: #1677ff;
  background: linear-gradient(180deg, #fff, #f6fbff);
  font-weight: 950;
  overflow: hidden;
}

.home-icon-tile.add > span {
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #00a870);
  font-size: 24px;
}

.home-icon-tile.restore > span {
  color: #0b63ce;
  background: #eef6ff;
  font-size: 20px;
}

.home-icon-tile .site-icon-img {
  width: 32px;
  height: 32px;
}

.home-icon-tile strong {
  max-width: 100%;
  overflow: hidden;
  color: #102a56;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-icon-tile em {
  max-width: 100%;
  overflow: hidden;
  color: #667085;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-custom-actions .text-button.is-active {
  border-radius: 999px;
  color: #fff;
  background: #1677ff;
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.18);
}

.home-icon-wrap.is-managing {
  padding: 4px;
  border: 1px dashed rgba(240, 68, 56, 0.34);
  border-radius: 20px;
  background: rgba(255, 248, 247, 0.72);
}

.home-icon-wrap.is-managing .home-icon-tile {
  min-height: 86px;
  border-color: rgba(240, 68, 56, 0.12);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: none;
  cursor: default;
}

.home-icon-wrap.is-managing .home-icon-tile:hover,
.home-icon-wrap.is-managing .home-icon-tile:focus-visible {
  border-color: rgba(240, 68, 56, 0.12);
  background: rgba(255, 255, 255, 0.8);
  transform: none;
}

.managing-tile {
  pointer-events: none;
}

.tile-remove-text {
  min-height: 34px;
  border: 1px solid rgba(240, 68, 56, 0.18);
  border-radius: 999px;
  color: #b42318;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 8px 16px rgba(180, 35, 24, 0.08);
}

.tile-remove-text:hover,
.tile-remove-text:focus-visible {
  border-color: rgba(240, 68, 56, 0.36);
  color: #fff;
  background: #d92d20;
}

.personal-section {
  border-color: rgba(22, 119, 255, 0.14);
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(242, 248, 255, 0.96));
}

.ai-workbench-section {
  border-color: rgba(0, 168, 112, 0.16);
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(238, 252, 247, 0.94));
}

.ai-workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr) minmax(280px, 0.7fr);
  gap: 16px;
}

.ai-compose-card,
.ai-provider-card,
.network-note-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #d9efe6;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.ai-compose-card textarea {
  min-height: 150px;
  border: 1px solid #d7e7ff;
  border-radius: 16px;
  padding: 14px;
  color: #102a56;
  background: #f8fbff;
  resize: vertical;
}

.prompt-template-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prompt-template-row button,
.network-actions a {
  border: 0;
  border-radius: 999px;
  padding: 8px 11px;
  color: #0b3a7e;
  background: #eaf4ff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.provider-list {
  display: grid;
  gap: 9px;
}

.provider-link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 60px;
  padding: 9px 10px;
  border: 1px solid #edf3ff;
  border-radius: 14px;
  background: #f8fbff;
}

.provider-link strong {
  overflow: hidden;
  color: #102a56;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-link em {
  grid-column: 2;
  overflow: hidden;
  color: #667085;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-link b {
  grid-column: 3;
  grid-row: 1 / span 2;
  border-radius: 999px;
  padding: 5px 8px;
  color: #027a48;
  background: #ecfdf3;
  font-size: 12px;
}

.network-note-card p {
  margin-bottom: 0;
  color: #475467;
  font-weight: 700;
}

.network-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.personal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.personal-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  min-height: 230px;
  padding: 18px;
  border: 1px solid #d7e7ff;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.mini-link-list,
.custom-list {
  display: grid;
  gap: 9px;
}

.mini-link,
.custom-add-tile {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 9px 10px;
  border: 1px solid #edf3ff;
  border-radius: 14px;
  background: #f8fbff;
}

.mini-link:hover,
.mini-link:focus-visible,
.custom-add-tile:hover {
  border-color: rgba(22, 119, 255, 0.28);
  background: #fff;
}

.mini-link .site-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.mini-link .site-icon-img {
  width: 28px;
  height: 28px;
}

.mini-link strong {
  overflow: hidden;
  color: #102a56;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-link em {
  overflow: hidden;
  color: #667085;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-note {
  margin: 0;
  padding: 16px;
  border: 1px dashed #b7d4ff;
  border-radius: 14px;
  color: #667085;
  background: #f8fbff;
  font-weight: 800;
}

.custom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
}

.custom-row .mini-link {
  min-width: 0;
}

.custom-row > button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  color: #b42318;
  background: #fef3f2;
  cursor: pointer;
  font-weight: 950;
}

.custom-add-tile {
  grid-template-columns: 1fr;
  color: #1677ff;
  cursor: pointer;
  font-weight: 950;
}

.custom-link-card {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.quick-sidebar {
  position: fixed;
  right: 18px;
  top: 34%;
  z-index: 30;
  display: grid;
  gap: 8px;
  width: 112px;
  transform: translateY(-50%);
}

.quick-sidebar a,
.quick-sidebar button {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(22, 119, 255, 0.16);
  border-radius: 16px;
  padding: 10px;
  color: #0f2f66;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.quick-sidebar a:hover,
.quick-sidebar button:hover,
.quick-sidebar a:focus-visible,
.quick-sidebar button:focus-visible {
  border-color: rgba(22, 119, 255, 0.34);
  background: #fff;
  box-shadow: 0 14px 30px rgba(22, 119, 255, 0.14);
  transform: translateX(-2px);
}

.quick-sidebar strong {
  font-size: 13px;
}

.quick-sidebar span {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}

.workbench-card p {
  margin-bottom: 4px;
  font-weight: 700;
}

.workbench-page {
  background: linear-gradient(180deg, #eef6ff 0%, #f7f9fc 42%, #f5f7fb 100%);
}

.workbench-header {
  padding: 18px clamp(16px, 4vw, 72px) 28px;
}

.workbench-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  max-width: var(--page);
  margin: 28px auto 0;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(22, 119, 255, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(240, 248, 255, 0.94));
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.11);
}

.workbench-hero h1 {
  max-width: 880px;
  margin-bottom: 14px;
  color: #0f2f66;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
}

.workbench-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 17px;
}

.workbench-hero-actions,
.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.workbench-main {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 72px) 56px;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
}

.studio-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid #d7e7ff;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.template-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.template-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  color: #0b3a7e;
  background: #eaf4ff;
  cursor: pointer;
  font-weight: 900;
}

.template-tabs button.active {
  color: #fff;
  background: #1677ff;
}

#workbenchPrompt {
  min-height: 280px;
  border: 1px solid #d7e7ff;
  border-radius: 18px;
  padding: 16px;
  color: #102a56;
  background: #f8fbff;
  resize: vertical;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.task-card,
.saved-prompt {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid #d7e7ff;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.task-card > span,
.saved-prompt strong {
  color: #0f2f66;
  font-size: 20px;
  font-weight: 950;
}

.task-card p,
.saved-prompt p {
  margin-bottom: 0;
}

.task-card div,
.saved-prompt div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.task-card em,
.saved-prompt button {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: #0b3a7e;
  background: #eaf4ff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.saved-prompt-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quick-tags {
  justify-content: center;
}

.home-top-sites {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 22px auto 0;
}

.site-tile {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 116px;
  padding: 14px 10px;
  border: 1px solid rgba(215, 231, 255, 0.86);
  border-radius: 20px;
  color: #0f2f66;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.site-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 119, 255, 0.38);
  background: #fff;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.13);
}

.site-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #d7e7ff;
  border-radius: 18px;
  color: #1677ff;
  background: linear-gradient(180deg, #fff, #f6fbff);
  font-weight: 950;
  overflow: hidden;
}

.top-site .site-icon {
  width: 66px;
  height: 66px;
  border-radius: 22px;
}

.site-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.top-site .site-icon-img {
  width: 50px;
  height: 50px;
}

.site-tile strong {
  max-width: 100%;
  overflow: hidden;
  color: #102a56;
  font-size: 15px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-tile em {
  max-width: 100%;
  overflow: hidden;
  color: #667085;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intent-strip {
  max-width: 960px;
  margin-inline: auto;
}

.daily-sites-section {
  border-color: rgba(0, 168, 112, 0.16);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(239, 253, 248, 0.94));
}

.shortcut-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shortcut-block {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #d9efe6;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.shortcut-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.shortcut-head div {
  display: grid;
  gap: 4px;
}

.shortcut-head strong {
  color: #0f2f66;
  font-size: 22px;
}

.shortcut-head span {
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.shortcut-grid .site-tile {
  min-height: 126px;
  box-shadow: none;
}

.model-card,
.tool-card,
.channel-card {
  border-radius: 22px;
}

.tool-logo {
  width: 64px;
  height: 64px;
  border-radius: 20px;
}

.logo-img {
  width: 46px;
  height: 46px;
}

.card-top {
  align-items: flex-start;
}

.compact-card {
  min-height: 236px;
}

@keyframes sunFloat {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-18px, 10px, 0);
  }
}

@keyframes waterDrift {
  from {
    transform: translate3d(-1.5%, 0, 0) skewY(-2deg);
  }
  to {
    transform: translate3d(1.5%, 8px, 0) skewY(-1deg);
  }
}

@keyframes waveSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(80px);
  }
}

@media (max-width: 1180px) {
  .home-top-sites {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shortcut-sections {
    grid-template-columns: 1fr;
  }

  .personal-grid {
    grid-template-columns: 1fr;
  }

  .ai-workbench-grid {
    grid-template-columns: 1fr;
  }

  .studio-grid,
  .task-grid,
  .saved-prompt-list,
  .workbench-hero {
    grid-template-columns: 1fr;
  }

  .quick-sidebar {
    display: none;
  }
}

@media (max-width: 720px) {
  .browser-home-hero {
    min-height: auto;
    margin-top: 20px;
  }

  .scene-layer {
    border-radius: 26px;
  }

  .browser-home-hero .hero-copy {
    padding: 24px 16px;
  }

  .browser-home-hero h1 {
    font-size: 34px;
  }

  .home-search-hub .search-shell {
    min-height: auto;
  }

  .search-suggest {
    left: 0;
    right: 0;
  }

  .search-suggest a {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .search-suggest em {
    grid-column: 2;
    text-align: left;
  }

  .hero-custom-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-custom-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-top-sites {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .site-tile {
    min-height: 104px;
    padding: 12px 6px;
    border-radius: 16px;
  }

  .site-icon,
  .top-site .site-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .site-icon-img,
  .top-site .site-icon-img {
    width: 36px;
    height: 36px;
  }

  .shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shortcut-block {
    padding: 14px;
  }

  .tool-logo {
    width: 58px;
    height: 58px;
  }

  .logo-img {
    width: 42px;
    height: 42px;
  }
}

/* Premium ambient homepage */
.site-header {
  background:
    linear-gradient(180deg, rgba(7, 16, 35, 0.96) 0%, rgba(12, 27, 53, 0.90) 48%, rgba(246, 248, 252, 0) 100%);
}

.browser-home-hero {
  min-height: 650px;
  isolation: isolate;
}

.ambient-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(126deg, #071225 0%, #0b2f4d 34%, #0b5c66 58%, #12385c 78%, #121a34 100%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  box-shadow: 0 28px 88px rgba(7, 18, 37, 0.30);
}

.ambient-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(58, 196, 255, 0.24) 24%, transparent 36%),
    linear-gradient(72deg, transparent 0 42%, rgba(255, 184, 77, 0.20) 48%, transparent 62%),
    linear-gradient(158deg, transparent 0 58%, rgba(35, 211, 151, 0.18) 68%, transparent 78%);
  opacity: 0.88;
  animation: ambientShift 14s ease-in-out infinite alternate;
}

.ambient-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
  opacity: 0.36;
  transform: perspective(900px) rotateX(62deg) translateY(140px) scale(1.4);
  transform-origin: center bottom;
}

.ambient-grid,
.ambient-ribbon,
.ambient-sheen {
  position: absolute;
  display: block;
  pointer-events: none;
}

.ambient-grid {
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 12%, rgba(255,255,255,0.10) 14%, transparent 18%),
    linear-gradient(300deg, transparent 0 32%, rgba(255,255,255,0.08) 36%, transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.18), transparent 34%, rgba(0,0,0,0.16));
  mix-blend-mode: screen;
  opacity: 0.72;
}

.ambient-ribbon {
  width: 150%;
  height: 150px;
  left: -25%;
  border-radius: 999px;
  filter: blur(0.4px);
  transform-origin: center;
  clip-path: polygon(0 46%, 12% 30%, 26% 48%, 40% 25%, 56% 52%, 72% 28%, 88% 48%, 100% 34%, 100% 68%, 88% 82%, 72% 64%, 56% 86%, 40% 62%, 26% 82%, 12% 62%, 0 74%);
}

.ribbon-a {
  top: 70px;
  background: linear-gradient(90deg, transparent 0%, rgba(83, 214, 255, 0.06) 14%, rgba(83, 214, 255, 0.42) 38%, rgba(255,255,255,0.55) 52%, rgba(33, 214, 155, 0.36) 72%, transparent 100%);
  transform: rotate(-8deg);
  animation: ribbonFlowA 13s ease-in-out infinite alternate;
}

.ribbon-b {
  top: 190px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 190, 92, 0.06) 18%, rgba(255, 190, 92, 0.38) 38%, rgba(255,255,255,0.30) 56%, rgba(71, 160, 255, 0.34) 76%, transparent 100%);
  transform: rotate(9deg);
  opacity: 0.88;
  animation: ribbonFlowB 16s ease-in-out infinite alternate;
}

.ribbon-c {
  bottom: 120px;
  background: linear-gradient(90deg, transparent 0%, rgba(35, 211, 151, 0.08) 16%, rgba(35, 211, 151, 0.34) 40%, rgba(255,255,255,0.42) 58%, rgba(255, 116, 128, 0.28) 78%, transparent 100%);
  transform: rotate(-4deg);
  opacity: 0.82;
  animation: ribbonFlowC 18s ease-in-out infinite alternate;
}

.ribbon-d {
  bottom: 34px;
  height: 110px;
  background: linear-gradient(90deg, transparent 0%, rgba(88, 193, 255, 0.10) 20%, rgba(255,255,255,0.26) 48%, rgba(255, 214, 107, 0.20) 70%, transparent 100%);
  transform: rotate(2deg);
  opacity: 0.70;
  animation: ribbonFlowD 20s ease-in-out infinite alternate;
}

.ambient-sheen {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28) 0%, transparent 22%),
    linear-gradient(0deg, rgba(2, 8, 23, 0.34) 0%, transparent 34%);
}

.browser-home-hero .hero-copy {
  max-width: 1040px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(10, 22, 42, 0.74), rgba(10, 22, 42, 0.50));
  box-shadow:
    0 30px 90px rgba(1, 8, 20, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.20);
  backdrop-filter: blur(22px) saturate(150%);
}

.browser-home-hero .eyebrow {
  color: #d7f9ff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.browser-home-hero h1 {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #fff;
  text-shadow: 0 14px 48px rgba(0, 0, 0, 0.32);
}

.browser-home-hero .hero-copy > p:not(.eyebrow) {
  color: rgba(239, 247, 255, 0.86);
}

.browser-home-hero .search-mode {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.20);
  box-shadow: none;
}

.browser-home-hero .search-mode button {
  color: rgba(255,255,255,0.84);
}

.browser-home-hero .search-mode button.active {
  color: #07305d;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.home-search-hub .search-shell {
  border: 1px solid rgba(255,255,255,0.46);
  background: #fff;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.24),
    0 0 0 8px rgba(255,255,255,0.10);
}

.search-provider {
  color: #0b3a7e;
}

.browser-home-hero .quick-tags::before {
  color: #0b3a7e;
  background: #fff;
}

.browser-home-hero .tag {
  border-color: rgba(255,255,255,0.24);
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.browser-home-hero .tag:hover {
  background: rgba(255,255,255,0.20);
}

.browser-home-hero .site-tile.top-site {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.13);
  box-shadow: 0 18px 38px rgba(0,0,0,0.18);
}

.browser-home-hero .site-tile.top-site strong {
  color: #fff;
}

.browser-home-hero .site-tile.top-site em {
  color: rgba(235, 246, 255, 0.76);
}

.browser-home-hero .intent-strip a {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  box-shadow: none;
}

.browser-home-hero .intent-strip strong {
  color: #fff;
}

.browser-home-hero .intent-strip span {
  color: rgba(235, 246, 255, 0.72);
}

@keyframes ambientShift {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.03);
  }
}

@keyframes ribbonFlowA {
  from { transform: translateX(-3%) rotate(-8deg); }
  to { transform: translateX(3%) rotate(-6deg); }
}

@keyframes ribbonFlowB {
  from { transform: translateX(3%) rotate(9deg); }
  to { transform: translateX(-3%) rotate(7deg); }
}

@keyframes ribbonFlowC {
  from { transform: translateX(-2%) rotate(-4deg); }
  to { transform: translateX(4%) rotate(-6deg); }
}

@keyframes ribbonFlowD {
  from { transform: translateX(4%) rotate(2deg); }
  to { transform: translateX(-4%) rotate(3deg); }
}

@media (max-width: 720px) {
  .browser-home-hero {
    min-height: auto;
  }

  .ambient-layer {
    border-radius: 26px;
  }

  .ambient-ribbon {
    height: 110px;
  }

  .ribbon-a {
    top: 34px;
  }

  .ribbon-b {
    top: 150px;
  }

  .ribbon-c {
    bottom: 88px;
  }

  .browser-home-hero .hero-copy {
    background: linear-gradient(180deg, rgba(10, 22, 42, 0.78), rgba(10, 22, 42, 0.58));
  }
}

/* Calm homepage rollback and responsive fixes */
.site-header {
  background:
    linear-gradient(180deg, #eaf4ff 0%, #f7fbff 42%, rgba(246, 248, 252, 0) 100%);
}

.browser-home-hero {
  min-height: clamp(560px, 66vh, 720px);
}

.ambient-layer {
  border: 1px solid rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 20% 18%, rgba(22, 119, 255, 0.20), transparent 24rem),
    radial-gradient(circle at 78% 12%, rgba(0, 168, 112, 0.16), transparent 22rem),
    radial-gradient(circle at 50% 86%, rgba(255, 122, 0, 0.10), transparent 24rem),
    linear-gradient(135deg, #ffffff 0%, #edf6ff 48%, #f7fbff 100%);
  box-shadow: 0 22px 68px rgba(22, 119, 255, 0.14);
}

.ambient-layer::before {
  background:
    linear-gradient(115deg, transparent 0 20%, rgba(22, 119, 255, 0.13) 26%, transparent 38%),
    linear-gradient(72deg, transparent 0 48%, rgba(0, 168, 112, 0.10) 56%, transparent 68%);
  opacity: 0.62;
  animation: ambientShift 18s ease-in-out infinite alternate;
}

.ambient-layer::after {
  background:
    radial-gradient(circle at 1px 1px, rgba(22, 119, 255, 0.14) 1px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
  opacity: 0.38;
  transform: none;
}

.ambient-grid,
.ambient-ribbon,
.ambient-sheen {
  display: none;
}

.browser-home-hero .hero-copy {
  max-width: 1040px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(20px) saturate(145%);
}

.browser-home-hero .eyebrow {
  color: var(--primary);
  background: #eaf4ff;
  border: 0;
}

.browser-home-hero h1 {
  background: linear-gradient(110deg, #0f172a 0%, #0b3a7e 48%, #1677ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.browser-home-hero .hero-copy > p:not(.eyebrow) {
  color: #475467;
}

.browser-home-hero .search-mode {
  background: rgba(255, 255, 255, 0.92);
  border-color: #d7e7ff;
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.10);
}

.browser-home-hero .search-mode button {
  color: #0b3a7e;
}

.browser-home-hero .search-mode button.active {
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #36a3ff);
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.20);
}

.home-search-hub .search-shell {
  border-color: rgba(22, 119, 255, 0.22);
  background: #fff;
  box-shadow: 0 20px 46px rgba(22, 119, 255, 0.18);
}

.browser-home-hero .quick-tags::before {
  color: #fff;
  background: linear-gradient(135deg, #ff7a00, #ff4d4f);
}

.browser-home-hero .tag {
  border-color: #d7e7ff;
  color: #0b3a7e;
  background: #fff;
}

.browser-home-hero .tag:hover {
  background: #f7fbff;
}

.browser-home-hero .site-tile.top-site {
  border-color: rgba(215, 231, 255, 0.86);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.browser-home-hero .site-tile.top-site strong {
  color: #102a56;
}

.browser-home-hero .site-tile.top-site em {
  color: #667085;
}

.browser-home-hero .intent-strip a {
  border-color: #d7e7ff;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.08);
}

.browser-home-hero .intent-strip strong {
  color: #0b3a7e;
}

.browser-home-hero .intent-strip span {
  color: var(--muted);
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    border-radius: 18px;
  }

  .topbar > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 12px;
  }

  .browser-home-hero {
    margin-top: 22px;
    min-height: auto;
  }

  .browser-home-hero .hero-copy {
    padding: 22px 14px;
  }

  .browser-home-hero h1 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .browser-search-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }

  .browser-search-shell .search-provider {
    width: auto;
    min-height: 44px;
    justify-content: center;
    border-right: 1px solid #d7e7ff;
    border-bottom: 0;
  }

  .browser-search-shell input {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 16px;
  }

  .browser-search-shell button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
  }

  .home-top-sites {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-custom-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-extension-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .public-topbar {
    display: none;
  }

  .browser-home-hero {
    margin-top: 12px;
    padding: 14px;
  }

  .browser-home-hero .hero-copy {
    padding: 20px 14px;
  }

  .browser-home-hero .eyebrow,
  .browser-home-hero .hero-copy > p:not(.eyebrow),
  .quick-tags,
  .intent-strip,
  .entry-section,
  .stack-section,
  .scenario-section,
  .retention-section,
  .side-nav,
  .right-rail {
    display: none !important;
  }

  .browser-home-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(28px, 9vw, 36px);
    line-height: 1.08;
  }

  .home-top-sites {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .hero-custom-panel {
    margin-top: 12px;
  }

  .site-tile {
    min-height: 86px;
    padding: 10px 4px;
    border-radius: 16px;
  }

  .site-tile em,
  .section-head p {
    display: none;
  }

  .site-icon,
  .top-site .site-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .site-icon-img,
  .top-site .site-icon-img {
    width: 34px;
    height: 34px;
  }

  .daily-sites-section,
  .product-focus {
    padding: 18px 14px;
  }

  .home-main {
    gap: 14px;
    padding-top: 14px;
  }

  .shortcut-sections {
    gap: 12px;
  }

  .shortcut-block {
    padding: 14px;
    border-radius: 18px;
  }

  .shortcut-head span {
    display: none;
  }

  .shortcut-head strong,
  .section-head h2 {
    font-size: 18px;
  }

  .shortcut-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .shortcut-grid .site-tile {
    min-height: 82px;
  }

  .compact-grid.model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .compact-card {
    min-height: 0;
    padding: 12px;
  }

  .compact-card .card-body p,
  .compact-card .tag-row,
  .compact-card .entry-links {
    display: none;
  }
}

@media (max-width: 420px) {
  .topbar {
    display: grid;
    justify-items: start;
  }

  .topbar > div {
    justify-content: flex-start;
  }

  .home-top-sites {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intent-strip {
    grid-template-columns: 1fr;
  }
}

/* Viewport-safe hero sizing for ultrawide and varied browser widths */
.site-header {
  padding-inline: clamp(14px, 3.8vw, 120px);
}

.browser-home-hero {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: clamp(540px, 62vh, 800px);
  padding: clamp(18px, 3.2vw, 64px);
}

.ambient-layer {
  inset: 0;
  border-radius: clamp(24px, 2.4vw, 42px);
  background:
    radial-gradient(ellipse 42% 72% at 14% 16%, rgba(22, 119, 255, 0.20), transparent 64%),
    radial-gradient(ellipse 44% 72% at 86% 12%, rgba(0, 168, 112, 0.15), transparent 66%),
    radial-gradient(ellipse 62% 54% at 50% 98%, rgba(255, 122, 0, 0.10), transparent 68%),
    linear-gradient(135deg, #ffffff 0%, #edf6ff 48%, #f7fbff 100%);
}

.browser-home-hero .hero-copy {
  width: min(100%, 1080px);
}

.home-search-hub {
  width: min(100%, 920px);
}

.home-top-sites,
.intent-strip {
  width: min(100%, 1040px);
}

@media (min-width: 1800px) {
  .site-header {
    padding-inline: clamp(72px, 5vw, 180px);
  }

  .browser-home-hero {
    min-height: clamp(600px, 58vh, 860px);
    padding-block: clamp(46px, 5vh, 86px);
  }
}

@media (min-width: 2400px), (min-aspect-ratio: 21 / 9) and (min-width: 1600px) {
  .site-header {
    padding-inline: clamp(80px, 6vw, 240px);
  }

  .browser-home-hero {
    min-height: clamp(560px, 54vh, 820px);
    padding-inline: clamp(48px, 6vw, 140px);
  }

  .ambient-layer::after {
    background-size: 36px 36px;
    opacity: 0.30;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 14px;
  }

  .browser-home-hero {
    padding: 16px;
  }
}

@media (max-width: 620px) {
  .browser-home-hero {
    padding: 10px;
    min-height: auto;
  }

  .ambient-layer {
    border-radius: 24px;
  }
}

/* Remove boxed hero backdrop: let the homepage background breathe full-width */
.site-header {
  background:
    radial-gradient(ellipse 44% 70% at 14% 18%, rgba(22, 119, 255, 0.18), transparent 64%),
    radial-gradient(ellipse 46% 70% at 86% 10%, rgba(0, 168, 112, 0.13), transparent 66%),
    radial-gradient(ellipse 58% 48% at 52% 88%, rgba(255, 122, 0, 0.08), transparent 68%),
    linear-gradient(180deg, #eaf4ff 0%, #f7fbff 56%, rgba(246, 248, 252, 0) 100%);
}

.browser-home-hero {
  max-width: var(--page);
  min-height: auto;
  padding: clamp(28px, 5vw, 76px) 0 clamp(24px, 4vw, 56px);
}

.ambient-layer {
  display: none;
}

.browser-home-hero .hero-copy {
  width: min(100%, 1060px);
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.64));
  box-shadow: 0 18px 54px rgba(22, 119, 255, 0.12);
}

@media (min-width: 1800px) {
  .browser-home-hero {
    max-width: min(100%, 1760px);
  }
}

@media (min-width: 2400px), (min-aspect-ratio: 21 / 9) and (min-width: 1600px) {
  .browser-home-hero {
    max-width: min(100%, 1920px);
    padding-inline: 0;
  }
}

@media (max-width: 620px) {
  .browser-home-hero {
    padding: 18px 0 24px;
  }
}

/* Remove the inner search-area panel; keep only the actual search box */
.browser-home-hero .hero-copy {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  padding: clamp(18px, 3.4vw, 48px) 0;
}

.browser-home-hero .hero-copy::after {
  display: none;
}

/* Homepage first-screen tightening */
.public-topbar {
  justify-content: flex-end;
  max-width: var(--page);
  margin-bottom: 6px;
  padding: 4px 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.public-topbar > span {
  display: none;
}

.public-topbar > div {
  display: flex;
  gap: 6px;
}

.site-header {
  padding-top: 12px;
  padding-bottom: 14px;
}

.browser-home-hero {
  padding: clamp(8px, 2.1vw, 28px) 0 clamp(14px, 2.5vw, 32px);
}

.browser-home-hero .hero-copy {
  padding-top: clamp(8px, 1.6vw, 20px);
  padding-bottom: clamp(10px, 1.8vw, 24px);
}

.browser-home-hero h1 {
  font-size: clamp(34px, 4.5vw, 60px);
}

.browser-home-hero .hero-copy > p:not(.eyebrow) {
  margin-bottom: 0;
}

.home-search-hub {
  margin-top: 22px;
}

.browser-home-hero .quick-tags {
  margin-top: 14px;
}

.hero-custom-panel {
  max-width: 1080px;
  margin-top: 18px;
  gap: 12px;
}

.hero-custom-head {
  padding-inline: 2px;
}

.hero-custom-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}

.home-icon-tile {
  min-height: 122px;
  border: 0;
  border-radius: 22px;
  padding: 13px 8px 11px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: none;
}

.home-icon-tile:hover,
.home-icon-tile:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(22, 119, 255, 0.12);
}

.home-icon-tile .site-icon,
.home-icon-tile > span {
  width: 72px;
  height: 72px;
  border-radius: 22px;
}

.home-icon-tile .site-icon-img {
  width: 58px;
  height: 58px;
}

.home-icon-tile strong {
  font-size: 14px;
  text-align: center;
}

.home-icon-tile em {
  font-size: 11px;
  text-align: center;
}

.home-icon-tile.add > span,
.home-icon-tile.restore > span {
  font-size: 28px;
}

.home-icon-wrap.is-managing .home-icon-tile {
  min-height: 110px;
}

.home-top-sites {
  display: none;
}

@media (min-width: 621px) {
  .hero-custom-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero-custom-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .home-icon-tile {
    min-height: 98px;
    border-radius: 18px;
  }

  .home-icon-tile .site-icon,
  .home-icon-tile > span {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .home-icon-tile .site-icon-img {
    width: 44px;
    height: 44px;
  }
}

/* Cleaner logo presentation for launch */
.site-icon,
.tool-logo {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-icon {
  width: 64px;
  height: 64px;
  border-radius: 0;
}

.top-site .site-icon {
  width: 72px;
  height: 72px;
  border-radius: 0;
}

.site-icon-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.10));
  transform: translateZ(0);
}

.top-site .site-icon-img {
  width: 64px;
  height: 64px;
}

.tool-logo {
  width: 68px;
  height: 68px;
}

.logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.10));
  transform: translateZ(0);
}

.site-icon span,
.tool-logo span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #1677ff, #00a870);
  box-shadow: 0 12px 22px rgba(22, 119, 255, 0.18);
  font-weight: 950;
}

.site-tile {
  border-color: rgba(215, 231, 255, 0.72);
}

.site-tile:focus-visible,
.decision-card:focus-visible,
.model-card:focus-within,
.tool-card:focus-within,
.visit-link:focus-visible,
.button:focus-visible,
.tag:focus-visible,
.text-button:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.26);
  outline-offset: 3px;
}

.site-tile:active,
.button:active,
.tag:active,
.text-button:active {
  transform: translateY(0) scale(0.98);
}

@media (max-width: 620px) {
  .search-pet {
    left: 6px;
    top: -34px;
    transform: scale(0.78);
    transform-origin: left bottom;
  }

  .site-icon,
  .top-site .site-icon {
    width: 56px;
    height: 56px;
  }

  .site-icon-img,
  .top-site .site-icon-img {
    width: 50px;
    height: 50px;
  }

  .tool-logo {
    width: 60px;
    height: 60px;
  }

  .logo-img {
    width: 52px;
    height: 52px;
  }
}

/* Final launch polish: homepage shortcuts should feel like browser-home icons, not boxed logo cards. */
.browser-home-hero .site-tile.top-site {
  min-height: 112px;
  padding: 10px 6px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.browser-home-hero .site-tile.top-site:hover,
.browser-home-hero .site-tile.top-site:focus-visible {
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 34px rgba(22, 119, 255, 0.12);
}

.site-icon,
.tool-logo,
.top-site .site-icon {
  overflow: visible;
}

.site-icon-img,
.top-site .site-icon-img,
.logo-img {
  image-rendering: auto;
  backface-visibility: hidden;
}

.site-icon span,
.tool-logo span {
  width: auto;
  height: auto;
  min-width: 0;
  border-radius: 0;
  color: #175cd3;
  background: transparent;
  box-shadow: none;
  font-size: 20px;
  line-height: 1;
}

@media (pointer: fine) {
  .site-tile {
    will-change: transform;
  }
}

/* Subtle logo well: enough separation for mixed official favicons without looking boxed. */
.site-icon,
.tool-logo,
.top-site .site-icon {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(188, 211, 245, 0.48);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.74)),
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 52%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(22, 119, 255, 0.04),
    0 10px 22px rgba(15, 23, 42, 0.07);
}

.site-icon::after,
.tool-logo::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.56);
  pointer-events: none;
}

.browser-home-hero .site-tile.top-site .site-icon {
  border-color: rgba(188, 211, 245, 0.42);
  background: rgba(255, 255, 255, 0.70);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 24px rgba(22, 119, 255, 0.09);
}

.site-icon-img,
.top-site .site-icon-img,
.logo-img {
  max-width: 76%;
  max-height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(15, 23, 42, 0.10));
}

.site-icon-img.low-res-logo,
.top-site .site-icon-img.low-res-logo,
.logo-img.low-res-logo {
  max-width: 64%;
  max-height: 64%;
  opacity: 0.94;
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.08));
}

.site-icon > span,
.tool-logo > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #175cd3;
  background: transparent;
  box-shadow: none;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.top-site .site-icon > span {
  font-size: 22px;
}

@media (max-width: 620px) {
  .site-icon,
  .tool-logo,
  .top-site .site-icon {
    border-radius: 18px;
  }

  .site-icon-img,
  .top-site .site-icon-img,
  .logo-img {
    max-width: 74%;
    max-height: 74%;
  }
}

/* Cache-bust layout guard: desktop homepage shortcuts must keep eight columns. */
@media (hover: hover) and (pointer: fine) {
  .hero-custom-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-pet *,
  .water-ripple {
    animation: none !important;
  }

  .page-ripple-layer {
    display: none;
  }
}

/* 2026-05 UI direction: practical China-focused browser homepage */
:root {
  --bg: #f5faff;
  --bg-soft: #edf6ff;
  --card: #ffffff;
  --panel: rgba(255, 255, 255, 0.94);
  --text: #10233f;
  --muted: #66758c;
  --line: #d7e7fa;
  --primary: #1769e0;
  --primary-dark: #0b2f66;
  --primary-soft: #e5f0ff;
  --accent: #ff6a2a;
  --success: #00a870;
  --warning: #f59e0b;
  --danger: #e5484d;
  --shadow: 0 18px 42px rgba(23, 105, 224, 0.11);
  --shadow-soft: 0 10px 24px rgba(16, 35, 63, 0.08);
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(23, 105, 224, 0.14), transparent 34rem),
    radial-gradient(circle at 92% 0%, rgba(0, 168, 112, 0.10), transparent 28rem),
    linear-gradient(180deg, #f5faff 0%, #f8fbff 42%, #f4f8fc 100%);
}

h1,
h2,
h3,
.nav a,
.brand strong,
.section-head h2 {
  color: var(--primary-dark);
  letter-spacing: 0;
}

h1,
.browser-home-hero h1,
.channel-hero h1 {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--primary-dark);
}

.browser-home-hero h1 {
  max-width: 780px;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.08;
}

.site-header {
  background:
    radial-gradient(ellipse 38% 64% at 16% 10%, rgba(23, 105, 224, 0.13), transparent 70%),
    radial-gradient(ellipse 40% 60% at 88% 4%, rgba(0, 168, 112, 0.10), transparent 70%),
    linear-gradient(180deg, #f5faff 0%, rgba(245, 250, 255, 0) 100%);
}

.nav {
  min-height: 72px;
  z-index: 220;
  border-color: rgba(215, 231, 250, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(16, 35, 63, 0.08);
}

.nav a,
.nav-item > button {
  border-radius: 14px;
}

.nav a:hover,
.nav-item.active > a {
  color: #fff;
  background: var(--primary);
}

.nav-item:first-child > a,
.nav-item.active:last-child > a {
  background: var(--accent);
}

.browser-home-hero {
  padding: clamp(12px, 2vw, 28px) 0 clamp(18px, 2.4vw, 34px);
}

.browser-home-hero .hero-copy {
  width: min(100%, 980px);
  padding-block: clamp(10px, 1.6vw, 22px);
}

.eyebrow {
  color: var(--primary);
  background: var(--primary-soft);
  letter-spacing: 0;
  text-transform: none;
}

.home-search-hub {
  margin-top: 18px;
}

.search-mode {
  box-shadow: none;
}

.search-mode button.active {
  background: var(--primary);
  box-shadow: none;
}

.home-search-hub .search-shell {
  min-height: 62px;
  border: 1px solid #bdd7fb;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(23, 105, 224, 0.13);
}

.search-provider {
  color: var(--primary-dark);
}

.search-shell button,
.browser-search-shell button {
  background: linear-gradient(135deg, var(--primary), #08a981);
  box-shadow: 0 10px 20px rgba(0, 168, 112, 0.16);
}

.quick-sidebar {
  gap: 8px;
}

.quick-sidebar a,
.quick-sidebar button {
  border: 1px solid rgba(215, 231, 250, 0.92);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(16, 35, 63, 0.08);
}

.hero-custom-panel {
  max-width: 980px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hero-custom-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hero-custom-actions {
  flex-wrap: nowrap;
}

.hero-custom-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.home-icon-tile {
  min-height: 104px;
  border: 1px solid rgba(215, 231, 250, 0.86);
  border-radius: 16px;
  padding: 10px 6px 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.home-icon-tile .site-icon,
.home-icon-tile > span {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.home-icon-tile strong {
  max-width: 100%;
  font-size: 13px;
  line-height: 1.2;
}

.home-icon-tile em {
  font-size: 11px;
}

.home-icon-tile:hover,
.home-icon-tile:focus-visible {
  transform: translateY(-2px);
  border-color: #9bc3f7;
  background: #fff;
}

.home-main {
  margin-top: 10px;
}

.section {
  border: 1px solid rgba(215, 231, 250, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.domestic-priority-section {
  border-color: rgba(0, 168, 112, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 253, 249, 0.94));
}

.secondary-domestic-section {
  display: none;
}

.decision-card:not(.primary-decision),
.growth-card:not(.primary-growth),
.tool-card,
.model-card,
.channel-card,
.side-entry-list a,
.detail-insight-grid article,
.detail-info-list article,
.detail-depth-grid article,
.detail-choice-list article,
.faq-list article {
  border-radius: 14px;
  border-color: rgba(215, 231, 250, 0.92);
  background: #fff;
  box-shadow: none;
}

.decision-card::before,
.growth-card::before,
.tool-card::before,
.model-card::before,
.channel-card::before {
  display: none;
}

.decision-card:not(.primary-decision) span,
.growth-card:not(.primary-growth) span {
  background: var(--primary-soft);
  color: var(--primary);
}

.primary-decision {
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.22), transparent 9rem),
    linear-gradient(135deg, #0b3a7e, #1677ff 58%, #ff7a00);
}

.primary-growth {
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.24), transparent 9rem),
    linear-gradient(135deg, #0f3d99, #2563eb 52%, #0ea5e9);
}

.primary-decision span,
.primary-growth span,
.badge.accent {
  color: #fff;
  background: var(--accent);
}

.tool-card,
.model-card,
.channel-card {
  min-height: auto;
  padding: 16px;
}

.channel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card-top {
  align-items: center;
}

.tool-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.logo-img {
  width: 44px;
  height: 44px;
}

.tool-card h3,
.model-card h3,
.channel-card h3 {
  margin: 10px 0 4px;
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.28;
}

.tool-card p,
.model-card p,
.channel-card p {
  display: -webkit-box;
  min-height: 44px;
  margin-bottom: 10px;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
  margin: 8px 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.status-badge.success {
  color: #04724d;
  background: #e9fbf3;
}

.status-badge.warning {
  color: #9a5b00;
  background: #fff6df;
}

.status-badge.primary {
  color: var(--primary);
  background: var(--primary-soft);
}

.status-badge.accent {
  color: #a33a0a;
  background: #fff0e8;
}

.badge {
  color: #27507f;
  background: #f1f6ff;
}

.link-row {
  gap: 8px;
  margin-top: 10px;
}

.link-row a,
.visit-link,
.button.secondary,
.detail-button {
  border-radius: 999px;
  color: var(--primary);
  background: var(--primary-soft);
  text-decoration: none;
}

.visit-link {
  color: #fff;
  background: var(--primary);
}

.favorite {
  margin-left: auto;
}

.channel-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.65fr);
  gap: 16px;
}

.channel-hero > div {
  padding: clamp(20px, 3vw, 34px);
  border-color: rgba(215, 231, 250, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.channel-hero h1 {
  font-size: clamp(36px, 4vw, 56px);
}

.channel-layout {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
}

.channel-sidebar {
  top: 96px;
  gap: 14px;
  padding: 14px;
  border-color: rgba(215, 231, 250, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.filter-pills {
  gap: 6px;
}

.filter-pills button {
  padding: 7px 10px;
  font-size: 13px;
}

.filter-pills button.active {
  background: var(--primary);
}

.compact-search {
  border-radius: 18px;
}

.content-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.tool-hero,
.topic-hero {
  border-radius: 22px;
  background:
    radial-gradient(circle at 96% 0%, rgba(23, 105, 224, 0.10), transparent 24rem),
    rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.detail-info-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .channel-hero,
  .channel-layout,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .channel-sidebar {
    position: static;
    max-height: 300px;
  }

  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body {
    background:
      radial-gradient(circle at 10% 0%, rgba(23, 105, 224, 0.16), transparent 22rem),
      linear-gradient(180deg, #f5faff 0%, #f8fbff 100%);
  }

  .site-header {
    padding-inline: 14px;
  }

  .public-topbar,
  .quick-sidebar,
  .browser-home-hero .eyebrow,
  .browser-home-hero .hero-copy > p:not(.eyebrow),
  .quick-tags,
  .intent-strip {
    display: none !important;
  }

  .nav {
    min-height: 62px;
    padding: 10px;
    border-radius: 18px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small {
    font-size: 14px;
  }

  .browser-home-hero {
    margin-top: 8px;
    padding: 8px 0 18px;
  }

  .browser-home-hero .hero-copy {
    padding: 0;
  }

  .browser-home-hero h1 {
    max-width: 340px;
    margin: 18px 0 14px;
    font-size: 34px;
    line-height: 1.12;
  }

  .home-search-hub {
    margin-top: 10px;
  }

  .search-mode {
    width: 100%;
  }

  .search-mode button {
    flex: 1;
    min-height: 38px;
  }

  .browser-search-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .browser-search-shell .search-provider {
    width: auto;
    min-height: 42px;
    padding-inline: 10px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .browser-search-shell input {
    min-height: 42px;
    padding: 8px 6px;
    font-size: 15px;
  }

  .browser-search-shell button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
  }

  .search-pet {
    display: none;
  }

  .hero-custom-panel {
    margin-top: 16px;
  }

  .hero-custom-head {
    margin-bottom: 10px;
  }

  .hero-custom-head strong {
    font-size: 18px;
  }

  .hero-custom-head span {
    display: none;
  }

  .hero-custom-actions .text-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero-custom-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .home-icon-tile {
    min-width: 0;
    min-height: 88px;
    border-radius: 14px;
    padding: 8px 4px;
  }

  .home-icon-tile .site-icon,
  .home-icon-tile > span {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .home-icon-tile .site-icon-img {
    width: 38px;
    height: 38px;
  }

  .home-icon-tile strong {
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .home-icon-tile em {
    display: none;
  }

  .home-main {
    margin-top: 0;
  }

  .section {
    margin-bottom: 16px;
    padding: 18px;
    border-radius: 18px;
  }

  .section-head {
    gap: 8px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .daily-sites-section {
    display: none;
  }

  .domestic-priority-section {
    display: block;
  }

  .two-column,
  .detail-info-list,
  .detail-insight-grid {
    grid-template-columns: 1fr;
  }

  .compact-grid,
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .tool-card,
  .model-card,
  .channel-card {
    padding: 14px;
  }

  .channel-hero {
    margin-top: 12px;
  }

  .channel-hero > div {
    padding: 20px;
    border-radius: 18px;
  }

  .channel-hero h1 {
    font-size: 36px;
  }

  .channel-search-card {
    gap: 10px;
  }

  .channel-sidebar {
    max-height: 248px;
    overflow: auto;
  }

  .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .filter-pills button {
    flex: 0 0 auto;
  }

  .tool-hero,
  .topic-hero {
    padding: 24px;
    text-align: left;
  }

  .tool-hero h1,
  .topic-hero h1 {
    font-size: 38px;
  }

  .tool-hero .tool-logo {
    width: 72px;
    height: 72px;
  }
}

/* 2026-05-06 final UI density pass for China-focused AI directory */
.channel-page {
  padding-inline: clamp(18px, 4vw, 56px);
}

.channel-directory .channel-hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.64fr);
  align-items: start;
  margin-bottom: 18px;
}

.channel-directory .channel-hero > div {
  padding: 28px 34px;
}

.channel-directory .channel-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(38px, 4.2vw, 58px);
}

.channel-directory .channel-hero p:not(.eyebrow) {
  max-width: 660px;
  line-height: 1.65;
}

.channel-directory .intent-tags {
  margin-top: 14px;
}

.channel-directory .channel-search-card {
  align-content: start;
  gap: 10px;
}

.channel-directory .channel-search-card strong {
  font-size: 22px;
}

.channel-directory .compact-search {
  min-height: 52px;
  margin-top: 0;
  padding: 6px;
  border-radius: 16px;
  box-shadow: none;
}

.channel-directory .compact-search input {
  padding: 8px 12px;
  font-size: 15px;
}

.channel-directory .compact-search button {
  min-width: 82px;
  min-height: 34px;
  padding-inline: 16px;
  border-radius: 12px;
}

.channel-directory .channel-controls {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.channel-directory .channel-controls label:first-child {
  grid-column: 1 / -1;
}

.channel-directory .channel-controls select {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 14px;
}

.channel-directory .toggle-row {
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 12px;
}

.channel-directory #channelCount {
  margin: 2px 0 0;
  color: var(--muted);
}

.channel-directory .channel-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
}

.channel-directory .channel-sidebar {
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
}

.channel-directory .filter-stack {
  gap: 6px;
}

.channel-directory .filter-stack label {
  font-size: 12px;
}

.channel-directory .filter-pills button {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 12px;
}

.channel-directory .channel-results {
  padding: 26px 28px;
}

.channel-directory .section-head {
  margin-bottom: 18px;
}

.channel-directory .section-head h2 {
  font-size: 34px;
}

.channel-directory .channel-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.channel-directory .channel-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 8px;
  min-height: 230px;
  padding: 14px;
}

.channel-directory .channel-card .tool-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.channel-directory .channel-card .logo-img {
  width: 40px;
  height: 40px;
}

.channel-directory .channel-card h3 {
  display: -webkit-box;
  min-height: 46px;
  margin: 6px 0 2px;
  overflow: hidden;
  font-size: 17px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.channel-directory .channel-card p {
  min-height: 40px;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.channel-directory .status-row,
.channel-directory .badges {
  min-height: 0;
  margin: 0;
  gap: 5px;
}

.channel-directory .badges .badge:nth-child(n+4) {
  display: none;
}

.channel-directory .link-row {
  align-self: end;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 2px;
}

.channel-directory .link-row a,
.channel-directory .favorite {
  min-height: 30px;
  font-size: 12px;
}

.channel-directory .favorite {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-left: auto;
}

.tool-detail-hero .intent-tags span {
  color: var(--primary-dark);
}

.content-section .eyebrow {
  width: fit-content;
}

@media (max-width: 1180px) {
  .channel-directory .channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .channel-directory .channel-hero,
  .channel-directory .channel-layout {
    grid-template-columns: 1fr;
  }

  .channel-directory .channel-sidebar {
    position: static;
  }

  .channel-directory .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .channel-page {
    padding-inline: 16px;
  }

  .channel-directory .channel-hero {
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 12px;
  }

  .channel-directory .channel-hero > div {
    padding: 16px;
    border-radius: 18px;
  }

  .channel-directory .channel-hero h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .channel-directory .channel-hero p:not(.eyebrow) {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .channel-directory .intent-tags {
    display: none;
  }

  .channel-directory .channel-search-card strong {
    font-size: 20px;
  }

  .channel-directory .compact-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    min-height: 48px;
    padding: 6px;
  }

  .channel-directory .compact-search input {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 14px;
  }

  .channel-directory .compact-search button {
    min-width: 64px;
    min-height: 38px;
    padding-inline: 12px;
  }

  .channel-directory .channel-controls {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .channel-directory .toggle-row {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 14px;
  }

  .channel-directory #channelCount {
    font-size: 13px;
  }

  .channel-directory .channel-sidebar {
    display: block;
    max-height: none;
    overflow: visible;
    padding: 12px;
  }

  .channel-directory .channel-sidebar > strong {
    display: none;
  }

  .channel-directory .filter-stack {
    margin-bottom: 8px;
  }

  .channel-directory .filter-stack:last-child {
    margin-bottom: 0;
  }

  .channel-directory .filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .channel-directory .filter-pills::-webkit-scrollbar {
    display: none;
  }

  .channel-directory .channel-results {
    padding: 16px;
  }

  .channel-directory .section-head {
    align-items: start;
    margin-bottom: 12px;
  }

  .channel-directory .section-head h2 {
    font-size: 26px;
  }

  .channel-directory #activeFilterNote {
    font-size: 12px;
  }

  .channel-directory .channel-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .channel-directory .channel-card {
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 12px;
    min-height: 0;
    padding: 12px;
  }

  .channel-directory .channel-card .card-top {
    grid-row: 1 / 4;
    display: block;
  }

  .channel-directory .channel-card .card-top > .badge {
    display: none;
  }

  .channel-directory .channel-card h3 {
    min-height: 0;
    margin-top: 0;
    font-size: 17px;
    -webkit-line-clamp: 1;
  }

  .channel-directory .channel-card p {
    min-height: 0;
    -webkit-line-clamp: 1;
  }

  .channel-directory .channel-card .badges {
    display: none;
  }

  .channel-directory .status-row {
    margin-top: 1px;
  }

  .channel-directory .link-row {
    justify-content: flex-start;
    margin-top: 4px;
  }

  .channel-directory .link-row a {
    padding-inline: 10px;
  }

  .content-page {
    padding-inline: 16px;
  }

  .tool-detail-hero {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
    text-align: left;
  }

  .tool-detail-logo {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }

  .tool-detail-logo img {
    padding: 10px;
  }

  .content-hero h1,
  .tool-detail-hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .content-hero p {
    font-size: 15px;
    line-height: 1.65;
  }

  .tool-detail-hero .intent-tags {
    gap: 6px;
    margin-top: 10px;
  }

  .tool-detail-hero .intent-tags span {
    padding: 6px 9px;
    font-size: 12px;
  }

  .content-section {
    padding: 18px;
  }

  .content-section h2 {
    font-size: 26px;
  }
}

@media (max-width: 620px) {
  .channel-directory .channel-hero > div:first-child {
    padding: 14px 16px;
  }

  .channel-directory .channel-hero .eyebrow {
    margin-bottom: 8px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .channel-directory .channel-hero h1 {
    margin-bottom: 0;
    font-size: 30px;
  }

  .channel-directory .channel-hero p:not(.eyebrow) {
    display: none;
  }

  .channel-directory .channel-search-card {
    gap: 8px;
  }

  .channel-directory .channel-search-card strong {
    font-size: 19px;
  }

  .channel-directory .compact-search {
    border-width: 1px;
    border-radius: 14px;
  }

  .channel-directory .compact-search input {
    min-height: 36px;
    font-size: 14px;
  }

  .channel-directory .compact-search button {
    min-width: 58px;
    min-height: 36px;
    font-size: 14px;
  }

  .channel-directory .channel-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 6px;
  }

  .channel-directory .channel-controls label {
    gap: 4px;
    font-size: 12px;
  }

  .channel-directory .channel-controls label:first-child {
    grid-column: 1 / -1;
  }

  .channel-directory .channel-controls label:first-child span {
    display: none;
  }

  .channel-directory .channel-controls select {
    min-height: 36px;
    font-size: 14px;
  }

  .channel-directory .toggle-row {
    justify-content: center;
    gap: 5px !important;
    min-height: 34px;
    padding: 5px 4px;
    font-size: 13px !important;
    line-height: 1;
    white-space: nowrap;
  }

  .channel-directory .toggle-row input {
    width: 15px;
    height: 15px;
  }

  .channel-directory #channelCount {
    margin-top: 0;
  }

  .channel-directory .channel-sidebar {
    padding: 10px;
  }

  .channel-directory .filter-stack {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
  }

  .channel-directory .filter-stack label {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
  }

  .channel-directory .filter-pills button {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 13px;
  }

  .channel-directory .channel-results {
    margin-top: 0;
  }
}

/* 20260507 home compact layout: keep the first viewport focused on search and frequent entries. */
.browser-home-hero {
  padding: 8px 0 18px;
}

.browser-home-hero .hero-copy {
  padding: 16px 0 10px;
}

.browser-home-hero .eyebrow {
  margin-bottom: 6px;
  padding: 5px 10px;
  font-size: 12px;
}

.browser-home-hero h1 {
  max-width: 720px;
  margin-bottom: 8px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.05;
}

.browser-home-hero .hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.55;
}

.home-search-hub {
  gap: 8px;
  margin-top: 14px;
}

.search-mode {
  padding: 3px;
}

.search-mode button {
  min-height: 30px;
  padding: 0 13px;
  font-size: 13px;
}

.home-search-hub .search-shell {
  min-height: 54px;
  padding: 6px;
  border-radius: 17px;
}

.search-provider {
  min-height: 36px;
  padding: 0 11px;
  font-size: 13px;
}

.browser-search-shell input {
  padding: 9px 10px;
  font-size: 16px;
}

.browser-search-shell button {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 11px;
  font-size: 14px;
}

.quick-tags {
  gap: 7px;
  margin-top: 8px;
}

.browser-home-hero .tag {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 13px;
}

.hero-custom-panel {
  margin-top: 12px;
}

.hero-custom-head {
  margin-bottom: 7px;
}

.hero-custom-head strong {
  font-size: 15px;
}

.hero-custom-head span {
  font-size: 12px;
}

.hero-custom-actions .text-button {
  min-height: 28px;
  padding: 5px 9px;
  font-size: 12px;
}

.hero-custom-grid {
  gap: 8px;
}

.home-icon-tile {
  min-height: 78px;
  padding: 7px 5px 6px;
  border-radius: 13px;
}

.home-icon-tile .site-icon,
.home-icon-tile > span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.home-icon-tile .site-icon-img {
  width: 100%;
  height: 100%;
}

.home-icon-tile strong {
  font-size: 12px;
  line-height: 1.15;
}

.home-icon-tile em {
  display: none;
}

.intent-strip {
  margin-top: 12px;
}

.browser-home-hero .intent-strip a {
  min-height: 50px;
  padding: 10px 12px;
}

.browser-home-hero .intent-strip strong {
  font-size: 14px;
}

.browser-home-hero .intent-strip span {
  font-size: 12px;
}

.home-main {
  margin-top: 0;
}

.home-news-compact-section {
  margin-top: 20px;
}

.home-news-compact-section .retention-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 16px;
}

.home-news-compact-section .news-board {
  display: grid;
  gap: 10px;
}

.home-news-compact-section .news-carousel {
  gap: 8px;
}

.home-news-compact-section .news-hero-card {
  gap: 8px;
  padding: 16px 18px;
  border-radius: 16px;
}

.home-news-compact-section .news-hero-card h3 {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.28;
}

.home-news-compact-section .news-hero-card p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-news-compact-section .news-ticker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.home-news-compact-section .news-ticker-item {
  min-height: 44px;
  padding: 9px 10px;
}

.home-news-compact-section .community-teaser-card,
.home-news-compact-section .side-widget {
  padding: 16px;
  border-radius: 16px;
}

@media (max-width: 900px) {
  .home-news-compact-section .retention-grid {
    grid-template-columns: 1fr;
  }

  .home-news-compact-section .news-ticker {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .browser-home-hero {
    padding-top: 4px;
  }

  .browser-home-hero h1 {
    font-size: 30px;
  }

  .browser-home-hero .hero-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .hero-custom-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-icon-tile {
    min-height: 72px;
  }
}

/* 20260507 home compact pass 2: expose content modules sooner on common laptop screens. */
.browser-home-hero {
  padding: 0 0 12px;
}

.browser-home-hero .hero-copy {
  padding: 10px 0 6px;
}

.browser-home-hero .eyebrow {
  margin-bottom: 4px;
  padding: 4px 9px;
}

.browser-home-hero h1 {
  max-width: 680px;
  margin-bottom: 6px;
  font-size: clamp(28px, 3.8vw, 42px);
}

.browser-home-hero .hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  font-size: 14px;
  line-height: 1.42;
}

.home-search-hub {
  margin-top: 10px;
}

.home-search-hub .search-shell {
  min-height: 48px;
  border-radius: 15px;
}

.search-provider {
  min-height: 32px;
}

.browser-search-shell button {
  min-height: 36px;
}

.browser-home-hero .tag {
  min-height: 28px;
  padding: 5px 9px;
}

.hero-custom-panel {
  margin-top: 10px;
}

.hero-custom-head {
  margin-bottom: 6px;
}

.hero-custom-grid {
  gap: 7px;
}

.home-icon-tile {
  min-height: 68px;
  padding: 6px 5px 5px;
  border-radius: 12px;
}

.home-icon-tile .site-icon,
.home-icon-tile > span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.home-icon-tile strong {
  font-size: 11.5px;
}

.intent-strip {
  margin-top: 9px;
}

.browser-home-hero .intent-strip a {
  min-height: 42px;
  padding: 8px 10px;
}

.browser-home-hero .intent-strip strong {
  font-size: 13px;
}

.browser-home-hero .intent-strip span {
  font-size: 11.5px;
}

.home-main .section {
  padding-top: 34px;
  padding-bottom: 34px;
}

.home-main .section-head {
  margin-bottom: 20px;
}

.domestic-priority-section {
  margin-top: 16px;
}

.compact-grid.tool-grid {
  gap: 12px;
}

.compact-grid .tool-card {
  min-height: 168px;
  padding: 16px;
}

.compact-grid .tool-card .tool-logo {
  width: 46px;
  height: 46px;
}

@media (max-width: 1180px) {
  .browser-home-hero .hero-copy > p:not(.eyebrow) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 760px) {
  .browser-home-hero h1 {
    font-size: 28px;
  }

  .browser-home-hero .hero-copy > p:not(.eyebrow) {
    display: none;
  }

  .home-icon-tile {
    min-height: 64px;
  }

  .home-main .section {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

/* 20260507 home compact pass 3: remove duplicate hero shortcuts so modules enter the first view. */
.browser-home-hero .intent-strip {
  display: none;
}

.browser-home-hero .hero-custom-panel {
  margin-bottom: 0;
}

.domestic-priority-section {
  margin-top: 6px;
}

/* 20260507 home compact pass 4: surface daily news immediately after custom links. */
.home-main {
  display: flex;
  flex-direction: column;
}

.home-news-compact-section {
  order: -1;
  margin-top: 6px;
}

.home-news-compact-section .section-head {
  margin-bottom: 14px;
}

.home-news-compact-section .news-hero-card {
  padding: 14px 16px;
}

.home-news-compact-section .community-panel {
  display: grid;
  gap: 10px;
}

.home-icon-tile.add {
  grid-template-rows: 34px auto;
  align-content: center;
  gap: 5px;
}

.home-icon-tile.add > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 10px;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 23px;
  line-height: 34px;
  text-align: center;
}

.home-icon-tile.add strong {
  width: 100%;
  text-align: center;
}

.home-icon-tile.add em {
  display: none;
}

/* 20260507 home dense pass 1: compact news and reduce empty card space. */
.home-news-compact-section {
  border-color: rgba(215, 231, 250, 0.95);
  background: rgba(255, 255, 255, 0.94);
}

.home-news-compact-section .section-head {
  display: none;
}

.home-news-compact-section .retention-grid {
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: stretch;
  gap: 12px;
}

.home-news-compact-section .news-board {
  grid-template-columns: 160px minmax(260px, 0.95fr) minmax(320px, 1.15fr);
  align-items: stretch;
  gap: 10px;
}

.home-news-compact-section .mini-head {
  align-content: center;
  min-height: 88px;
  padding: 12px 14px;
  border: 1px solid rgba(215, 231, 250, 0.9);
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fbff, #fff);
}

.home-news-compact-section .mini-head h3 {
  font-size: 17px;
  line-height: 1.2;
}

.home-news-compact-section #newsUpdated {
  font-size: 12px;
  color: var(--muted);
}

.home-news-compact-section .news-carousel {
  min-width: 0;
}

.home-news-compact-section .news-hero-card {
  min-height: 88px;
  padding: 12px 14px;
  gap: 5px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(0, 168, 112, 0.06)), #fff;
}

.home-news-compact-section .news-hero-card > div {
  display: flex;
  gap: 6px;
}

.home-news-compact-section .news-hero-card h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.28;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.home-news-compact-section .news-hero-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  -webkit-line-clamp: 1;
}

.home-news-compact-section .news-hero-card .visit-link {
  display: none;
}

.home-news-compact-section .news-dots {
  display: none;
}

.home-news-compact-section .news-ticker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  gap: 8px;
}

.home-news-compact-section .news-ticker-item {
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 12px;
}

.home-news-compact-section .news-ticker-item span {
  font-size: 11px;
}

.home-news-compact-section .news-ticker-item strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.25;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.home-news-compact-section .community-teaser-card {
  min-height: 88px;
  padding: 12px;
  border-radius: 14px;
}

.home-news-compact-section .community-teaser-card p,
.home-news-compact-section .side-widget {
  display: none;
}

.home-news-compact-section .community-teaser-card .button {
  min-height: 34px;
  padding: 7px 12px;
}

.domestic-priority-section {
  border-color: rgba(215, 231, 250, 0.9);
  background: rgba(255, 255, 255, 0.94);
}

.domestic-priority-section .section-head {
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  align-items: end;
  margin-bottom: 14px;
}

.domestic-priority-section .section-head h2 {
  font-size: clamp(24px, 2.2vw, 34px);
}

.domestic-priority-section .section-head > p {
  max-width: 620px;
  font-size: 14px;
  line-height: 1.45;
}

.domestic-priority-section .two-column {
  gap: 14px;
}

.domestic-priority-section .mini-head {
  margin-bottom: 8px;
}

.domestic-priority-section .compact-grid.tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.domestic-priority-section .compact-grid .tool-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 74px;
  padding: 10px 12px;
  gap: 8px;
}

.domestic-priority-section .compact-grid .tool-card .card-top {
  display: contents;
}

.domestic-priority-section .compact-grid .tool-card .tool-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.domestic-priority-section .compact-grid .tool-card .logo-img {
  width: 32px;
  height: 32px;
}

.domestic-priority-section .compact-grid .tool-card h3 {
  min-width: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.domestic-priority-section .compact-grid .tool-card p {
  grid-column: 2 / 3;
  display: -webkit-box;
  min-height: 0;
  margin: -4px 0 0;
  font-size: 12px;
  line-height: 1.3;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.domestic-priority-section .compact-grid .tool-card .badges {
  display: none;
}

.domestic-priority-section .compact-grid .tool-card .link-row {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: 0;
}

.domestic-priority-section .compact-grid .tool-card .link-row a:not(.visit-link) {
  display: none;
}

.domestic-priority-section .compact-grid .tool-card .visit-link {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.domestic-priority-section .compact-grid .tool-card .favorite {
  width: 26px;
  height: 26px;
}

@media (max-width: 1180px) {
  .home-news-compact-section .retention-grid,
  .home-news-compact-section .news-board,
  .domestic-priority-section .section-head {
    grid-template-columns: 1fr;
  }

  .home-news-compact-section .community-panel {
    display: none;
  }
}

@media (max-width: 760px) {
  .home-news-compact-section .news-ticker,
  .domestic-priority-section .compact-grid.tool-grid {
    grid-template-columns: 1fr;
  }

  .home-news-compact-section .mini-head {
    min-height: 0;
  }
}

/* 20260507 home dense pass 2: turn news into a shallow strip and pull dense modules upward. */
.home-main .home-news-compact-section {
  padding-top: 18px;
  padding-bottom: 18px;
  border-radius: 18px;
}

.home-news-compact-section .retention-grid {
  min-height: 0;
}

.home-news-compact-section .news-board {
  grid-template-columns: 145px minmax(250px, 0.9fr) minmax(360px, 1.3fr);
}

.home-news-compact-section .mini-head,
.home-news-compact-section .news-hero-card,
.home-news-compact-section .community-teaser-card {
  min-height: 74px;
}

.home-news-compact-section .mini-head {
  padding: 10px 12px;
}

.home-news-compact-section .mini-head h3 {
  font-size: 16px;
}

.home-news-compact-section .news-hero-card {
  padding: 10px 12px;
}

.home-news-compact-section .news-hero-card > div span,
.home-news-compact-section .news-hero-card > div strong {
  min-height: 20px;
  padding: 2px 7px;
  font-size: 11px;
}

.home-news-compact-section .news-hero-card h3 {
  font-size: 16px;
}

.home-news-compact-section .news-ticker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-news-compact-section .news-ticker-item {
  min-height: 34px;
  padding: 6px 9px;
}

.home-news-compact-section .news-ticker-item span {
  max-width: 86px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-compact-section .community-teaser-card {
  gap: 6px;
}

.home-news-compact-section .community-teaser-card strong {
  font-size: 18px;
  line-height: 1.2;
}

.domestic-priority-section {
  margin-top: 12px;
}

.home-main .domestic-priority-section {
  padding-top: 24px;
  padding-bottom: 24px;
}

.domestic-priority-section .section-head {
  margin-bottom: 10px;
}

.domestic-priority-section .section-head h2 {
  font-size: clamp(22px, 2vw, 30px);
}

.domestic-priority-section .eyebrow {
  margin-bottom: 8px;
}

@media (max-width: 1180px) {
  .home-news-compact-section .news-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-main .home-news-compact-section {
    display: block !important;
    margin-top: 12px;
    padding: 14px;
  }

  .home-news-compact-section .section-head,
  .home-news-compact-section .retention-grid,
  .home-news-compact-section .news-board,
  .home-news-compact-section .mini-head,
  .home-news-compact-section .news-carousel,
  .home-news-compact-section .news-hero-card,
  .home-news-compact-section .news-ticker,
  .home-news-compact-section .news-ticker-item {
    display: grid !important;
  }

  .home-news-compact-section .section-head {
    gap: 6px;
    margin-bottom: 10px;
  }

  .home-news-compact-section .section-head p {
    display: block;
  }

  .home-news-compact-section .mini-head,
  .home-news-compact-section .news-carousel,
  .home-news-compact-section .news-hero-card {
    min-height: auto;
  }

  .home-news-compact-section .news-ticker {
    grid-template-columns: 1fr;
  }

  .home-news-compact-section .news-ticker-item {
    min-height: 58px;
  }
}

/* 20260507 home dense pass 3: remove awkward news wrapping and reveal starter cards sooner. */
.home-main .home-news-compact-section {
  margin-top: 0;
  margin-bottom: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.home-news-compact-section .news-board {
  grid-template-columns: 190px minmax(270px, 0.9fr) minmax(360px, 1.3fr);
}

.home-news-compact-section .mini-head {
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  min-height: 66px;
}

.home-news-compact-section .mini-head h3 {
  white-space: nowrap;
}

.home-news-compact-section .mini-head #newsUpdated {
  white-space: nowrap;
}

.home-news-compact-section .news-hero-card,
.home-news-compact-section .community-teaser-card {
  min-height: 66px;
}

.home-news-compact-section .news-ticker-item {
  min-height: 30px;
}

.home-news-compact-section .community-teaser-card strong {
  font-size: 16px;
}

.home-news-compact-section .community-teaser-card .button {
  min-height: 30px;
  padding: 5px 10px;
}

.home-main .domestic-priority-section {
  margin-top: 0;
  padding-top: 20px;
}

.domestic-priority-section .section-head {
  margin-bottom: 8px;
}

.domestic-priority-section .section-head h2 {
  font-size: clamp(21px, 1.8vw, 28px);
}

.domestic-priority-section .section-head > p {
  font-size: 13px;
}

/* 20260507 home news flat pass 2: remove overlap and flatten the news rail. */
.home-news-compact-section {
  margin-top: 8px;
  padding: 14px 18px;
}

.home-news-compact-section .section-head {
  display: none;
}

.home-news-compact-section .retention-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 12px;
}

.home-news-compact-section .news-board {
  display: grid;
  grid-template-columns: 190px minmax(280px, 0.9fr) minmax(360px, 1.3fr);
  gap: 10px;
  min-width: 0;
}

.home-news-compact-section .mini-head,
.home-news-compact-section .news-hero-card,
.home-news-compact-section .community-teaser-card {
  min-height: 74px;
  padding: 10px 12px;
  border: 1px solid rgba(215, 231, 250, 0.9);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.home-news-compact-section .mini-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-news-compact-section .mini-head h3,
.home-news-compact-section #newsUpdated {
  white-space: nowrap;
}

.home-news-compact-section .mini-head h3 {
  font-size: 15px;
}

.home-news-compact-section #newsUpdated {
  color: var(--muted);
  font-size: 12px;
}

.home-news-compact-section .news-hero-card {
  display: grid;
  align-content: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(0, 168, 112, 0.05)), #fff;
}

.home-news-compact-section .news-hero-card > div {
  display: flex;
  gap: 6px;
  min-width: 0;
}

.home-news-compact-section .news-hero-card > div span,
.home-news-compact-section .news-hero-card > div strong {
  min-height: 20px;
  max-width: 50%;
  overflow: hidden;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-compact-section .news-hero-card h3 {
  height: auto;
  margin: 0;
  overflow: hidden;
  color: var(--primary-dark);
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-compact-section .news-hero-card h3::before {
  content: "";
}

.home-news-compact-section .news-hero-card p,
.home-news-compact-section .news-hero-card .visit-link,
.home-news-compact-section .news-dots,
.home-news-compact-section .side-widget,
.home-news-compact-section .community-teaser-card p,
.home-news-compact-section .community-teaser-card .button {
  display: none;
}

.home-news-compact-section .news-ticker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.home-news-compact-section .news-ticker-item {
  display: grid;
  gap: 2px;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 12px;
  overflow: hidden;
}

.home-news-compact-section .news-ticker-item span,
.home-news-compact-section .news-ticker-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-compact-section .news-ticker-item span {
  font-size: 11px;
}

.home-news-compact-section .news-ticker-item strong {
  font-size: 12px;
  line-height: 1.2;
}

.home-news-compact-section .community-panel {
  display: grid;
}

.home-news-compact-section .community-teaser-card {
  display: grid;
  align-content: center;
  gap: 4px;
  background: linear-gradient(180deg, #f9fbff, #fff);
}

.home-news-compact-section .community-teaser-card span {
  width: fit-content;
}

.home-news-compact-section .community-teaser-card strong {
  font-size: 16px;
  line-height: 1.2;
}

.home-main .domestic-priority-section {
  margin-top: 10px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.domestic-priority-section .section-head {
  margin-bottom: 8px;
}

.domestic-priority-section .section-head h2 {
  font-size: clamp(20px, 1.7vw, 26px);
}

.domestic-priority-section .section-head > p {
  font-size: 12px;
}

/* 20260507 home news flat pass 3: remove clutter and give news text enough room. */
.home-news-compact-section .retention-grid {
  grid-template-columns: 1fr;
}

.home-news-compact-section .community-panel {
  display: none;
}

.home-news-compact-section .news-board {
  grid-template-columns: 170px minmax(320px, 0.9fr) minmax(420px, 1.2fr);
  align-items: stretch;
}

.home-news-compact-section .mini-head {
  display: grid;
  align-content: center;
  gap: 4px;
}

.home-news-compact-section .mini-head h3 {
  line-height: 1.2;
}

.home-news-compact-section #newsUpdated {
  display: block;
  overflow: hidden;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.home-news-compact-section .news-hero-card {
  align-content: center;
  min-height: 72px;
}

.home-news-compact-section .news-hero-card > div {
  display: none;
}

.home-news-compact-section .news-hero-card h3 {
  display: block;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.3;
}

.home-news-compact-section .news-ticker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(32px, auto);
}

.home-news-compact-section .news-ticker-item {
  min-height: 32px;
  padding: 7px 10px;
}

.home-news-compact-section .news-ticker-item span {
  display: none;
}

.home-news-compact-section .news-ticker-item strong {
  font-size: 13px;
}

/* 20260507 home news flat pass 4: make the compact news rail readable. */
.home-news-compact-section {
  padding: 12px 18px;
}

.home-news-compact-section .news-board {
  grid-template-columns: 168px minmax(330px, 0.82fr) minmax(500px, 1.25fr);
  gap: 10px;
}

.home-news-compact-section .mini-head,
.home-news-compact-section .news-hero-card {
  min-height: 76px;
}

.home-news-compact-section .news-hero-card {
  position: relative;
  padding-right: 18px;
}

.home-news-compact-section .news-hero-card h3 {
  display: -webkit-box;
  max-height: 44px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}

.home-news-compact-section .news-dots {
  position: absolute;
  right: 12px;
  bottom: 9px;
  display: flex;
  gap: 4px;
}

.home-news-compact-section .news-dots button {
  width: 5px;
  height: 5px;
  min-height: 0;
  border: 0;
  background: rgba(0, 83, 184, 0.22);
}

.home-news-compact-section .news-dots button.active {
  width: 12px;
  background: var(--primary);
}

.home-news-compact-section .news-ticker {
  grid-auto-rows: minmax(34px, auto);
}

.home-news-compact-section .news-ticker-item {
  min-height: 34px;
  padding: 6px 10px;
}

.home-news-compact-section .news-ticker-item strong {
  display: -webkit-box;
  max-height: 32px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.3;
  white-space: normal;
}

/* 20260507 home news flat pass 5: keep carousel dots inside the focus card. */
.home-news-compact-section .news-carousel {
  position: relative;
  overflow: hidden;
}

.home-news-compact-section .news-dots {
  right: 12px;
  bottom: 9px;
}

/* 20260507 home news flow 1: make daily news feel clickable and updatable. */
.home-news-compact-section {
  padding: 14px 18px;
  border-color: #d9e7f7;
  background: linear-gradient(135deg, #fbfdff 0%, #f7fbf8 100%);
}

.home-news-compact-section .news-board {
  grid-template-columns: 168px minmax(380px, 0.9fr) minmax(520px, 1.15fr);
  gap: 10px;
}

.home-news-compact-section .mini-head {
  min-height: 150px;
  padding: 14px;
  border-color: #d9e7f7;
  background: #ffffff;
}

.home-news-compact-section .mini-head h3 {
  color: #0f2f66;
  font-size: 17px;
  font-weight: 950;
}

.home-news-compact-section #newsUpdated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  white-space: normal;
}

.home-news-compact-section #newsUpdated::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.home-news-compact-section .news-carousel {
  min-height: 150px;
  border: 1px solid #d9e7f7;
  border-radius: 14px;
  background: #ffffff;
}

.home-news-compact-section .news-hero-card {
  min-height: 150px;
  padding: 16px 18px 28px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(37, 99, 235, 0.06)), #ffffff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-news-compact-section .news-hero-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 47, 102, 0.1);
}

.home-news-compact-section .news-hero-card > div {
  display: flex;
}

.home-news-compact-section .news-hero-card h3 {
  max-height: none;
  color: #0f2f66;
  font-size: 18px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

.home-news-compact-section .news-hero-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #52627a;
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-news-compact-section .news-hero-card .visit-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  color: #2563eb;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.home-news-compact-section .news-dots {
  right: 14px;
  bottom: 11px;
}

.home-news-compact-section .news-ticker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 8px;
}

.home-news-compact-section .news-ticker-item {
  display: grid;
  gap: 3px;
  min-height: 44px;
  padding: 8px 10px;
  border-color: #d9e7f7;
  background: #ffffff;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.home-news-compact-section .news-ticker-item:hover {
  border-color: rgba(37, 99, 235, 0.42);
  background: #f8fbff;
  transform: translateY(-1px);
}

.home-news-compact-section .news-ticker-item span {
  display: block;
  overflow: hidden;
  color: #0f766e;
  font-size: 11px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-compact-section .news-ticker-item strong {
  display: block;
  max-height: none;
  overflow: visible;
  color: #0f2f66;
  font-size: 12px;
  line-height: 1.28;
  white-space: normal;
}

.home-news-compact-section .news-ticker-item em {
  display: none;
}

/* 20260507 home news flow 2: give ticker titles their own line. */
.home-news-compact-section .news-board {
  grid-template-columns: 168px minmax(390px, 0.86fr) minmax(560px, 1.18fr);
}

.home-news-compact-section .news-hero-card .visit-link {
  padding: 6px 12px;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.1);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.home-news-compact-section .news-ticker-item {
  align-content: start;
  min-height: 54px;
  padding: 8px 11px;
}

.home-news-compact-section .news-ticker-item span {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 1px 6px;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(15, 118, 110, 0.08);
}

.home-news-compact-section .news-ticker-item strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.28;
}

/* 20260507 news detail 1: retained on-site daily news reading pages. */
.news-detail-page .content-layout {
  align-items: start;
}

.news-detail-hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 18px;
}

.news-detail-hero h1 {
  max-width: 900px;
  font-size: clamp(32px, 4vw, 54px);
}

.news-source-panel {
  padding: 18px;
  border: 1px solid #d9e7f7;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.news-source-panel strong {
  display: block;
  margin-bottom: 8px;
  color: #0f2f66;
  font-size: 16px;
}

.news-source-panel p {
  margin: 0;
  color: #52627a;
  font-size: 13px;
  line-height: 1.7;
}

.news-detail-page .detail-choice-list article p {
  margin: 0;
}

/* 20260507 home news readable final: keep daily news compact but not clipped. */
.home-news-compact-section .news-board {
  grid-template-columns: 170px minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  align-items: stretch;
}

.home-news-compact-section .mini-head,
.home-news-compact-section .news-carousel,
.home-news-compact-section .news-hero-card {
  min-height: 168px;
}

.home-news-compact-section .news-hero-card {
  align-content: start;
  gap: 8px;
  padding: 15px 16px 36px;
  overflow: visible;
}

.home-news-compact-section .news-hero-card h3 {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-news-compact-section .news-hero-card p {
  display: -webkit-box;
  min-height: 58px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-news-compact-section .news-hero-card .visit-link {
  display: inline-flex;
}

.home-news-compact-section .news-dots {
  display: flex;
}

.home-news-compact-section .news-ticker {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-news-compact-section .news-ticker-item {
  min-height: 70px;
}

.home-news-compact-section .news-ticker-item strong {
  -webkit-line-clamp: 3;
}

/* 20260508 home frequency and news readability: keep news Chinese, readable, and compact. */
.home-news-compact-section .news-hero-card h3 {
  min-height: 48px;
}

.home-news-compact-section .news-ticker-item {
  min-height: 78px;
}

@media (max-width: 1180px) {
  .home-news-compact-section .news-board {
    grid-template-columns: 1fr;
  }
}

/* 20260507 news hierarchy 1: homepage -> list -> article. */
.news-list-hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 18px;
}

.news-list-section {
  margin-top: 18px;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.news-list-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 190px;
  padding: 16px;
  border: 1px solid #d9e7f7;
  border-radius: 14px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.news-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 16px 30px rgba(15, 47, 102, 0.1);
}

.news-list-card span {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(15, 118, 110, 0.09);
  font-size: 12px;
  font-weight: 950;
}

.news-list-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: #0f2f66;
  font-size: 17px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-list-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #52627a;
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-list-card em {
  align-self: end;
  color: #7b8aa2;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 980px) {
  .news-list-hero {
    grid-template-columns: 1fr;
  }

  .news-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-list-grid {
    grid-template-columns: 1fr;
  }
}

/* 20260507 final override: keep homepage mascot and mobile drawer visible after legacy mobile rules. */
@media (max-width: 820px) {
  .site-header {
    overflow: visible;
  }

  .nav {
    position: relative;
  }

  .nav-panel,
  .nav-panel.active {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    bottom: auto;
    display: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-height: min(72vh, 520px);
    padding: 12px;
    border: 1px solid rgba(22, 119, 255, 0.18);
    border-radius: 22px;
    background: linear-gradient(180deg, #eef6ff, #e5f0ff);
    box-shadow: var(--shadow);
    overflow-y: auto;
    transform: none;
    transition: none;
    z-index: 260;
  }

  .nav-panel.open {
    display: grid;
    transform: none;
  }

  .nav-panel-label {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .nav-item > a {
    width: 100%;
  }

  .nav-item .mega {
    position: static;
    display: grid;
    gap: 6px;
    min-width: 0;
    margin: 7px 0 2px;
    padding: 8px;
    border: 1px solid rgba(22, 119, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-item .mega a {
    min-height: 34px;
    padding: 8px 10px;
    background: #f6f9ff;
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .search-pet {
    display: block !important;
    left: 4px;
    top: -31px;
    width: 112px;
    height: 48px;
    transform: scale(0.72);
    transform-origin: left bottom;
  }

  .pet-cat {
    display: block;
  }

}

/* 20260508 news overlap fix: keep the daily news block readable without clipped text. */
.home-news-compact-section {
  overflow: visible;
}

.home-news-compact-section .retention-grid {
  grid-template-columns: 1fr;
}

.home-news-compact-section .community-panel {
  display: none;
}

.home-news-compact-section .news-board {
  display: grid;
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
  grid-template-areas:
    "head hero"
    "ticker ticker";
  align-items: stretch;
  gap: 12px;
  min-width: 0;
}

.home-news-compact-section .mini-head {
  grid-area: head;
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 0;
  padding: 14px 16px;
  overflow: visible;
}

.home-news-compact-section .mini-head h3 {
  margin: 0;
  color: #0f2f66;
  font-size: 17px;
  line-height: 1.25;
  white-space: normal;
}

.home-news-compact-section #newsUpdated {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  overflow: visible;
  color: #0f766e;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
  text-overflow: clip;
  white-space: normal;
}

.home-news-compact-section #newsUpdated::before {
  flex: 0 0 auto;
  margin-top: 5px;
}

.home-news-compact-section .news-carousel {
  grid-area: hero;
  display: grid;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  border: 1px solid #d9e7f7;
  border-radius: 14px;
  background: #ffffff;
}

.home-news-compact-section .news-hero-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  padding: 16px 18px;
  overflow: visible;
  border: 0;
  border-radius: 14px;
}

.home-news-compact-section .news-hero-card h3 {
  display: block;
  min-height: 0;
  margin: 0;
  overflow: visible;
  color: #0f2f66;
  font-size: 18px;
  line-height: 1.38;
  white-space: normal;
  -webkit-line-clamp: initial;
}

.home-news-compact-section .news-hero-card p {
  display: block;
  min-height: 0;
  margin: 0;
  overflow: visible;
  color: #52627a;
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: initial;
}

.home-news-compact-section .news-hero-card .visit-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
}

.home-news-compact-section .news-dots {
  position: static;
  display: flex;
  gap: 5px;
  padding: 0 18px 14px;
}

.home-news-compact-section .news-ticker {
  grid-area: ticker;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 10px;
  min-width: 0;
}

.home-news-compact-section .news-ticker-item {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 0;
  padding: 10px 12px;
  overflow: visible;
}

.home-news-compact-section .news-ticker-item span {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-compact-section .news-ticker-item strong {
  display: block;
  overflow: visible;
  color: #0f2f66;
  font-size: 13px;
  line-height: 1.38;
  white-space: normal;
  -webkit-line-clamp: initial;
}

@media (max-width: 1180px) {
  .home-news-compact-section .news-board {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "hero"
      "ticker";
  }

  .home-news-compact-section .news-ticker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-news-compact-section .news-ticker {
    grid-template-columns: 1fr;
  }
}

/* 20260508 news status fix: separate the update status from the active news labels. */
.home-news-compact-section .news-board {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-areas:
    "head head"
    "hero ticker";
}

.home-news-compact-section .mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 0;
  padding: 12px 16px;
}

.home-news-compact-section .mini-head h3 {
  flex: 0 0 auto;
}

.home-news-compact-section #newsUpdated {
  justify-content: flex-end;
  max-width: min(100%, 360px);
  text-align: right;
}

.home-news-compact-section .news-hero-card > div {
  margin-bottom: 2px;
}

@media (max-width: 1180px) {
  .home-news-compact-section .news-board {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "hero"
      "ticker";
  }
}

@media (max-width: 720px) {
  .home-news-compact-section .mini-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .home-news-compact-section #newsUpdated {
    justify-content: flex-start;
    max-width: none;
    text-align: left;
  }
}

.depth-entry-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 255, 0.9));
  border: 1px solid rgba(192, 210, 235, 0.72);
}

.depth-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.depth-entry-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid #dbe7f6;
  border-radius: 8px;
  background: #ffffff;
  color: #172b4d;
  box-shadow: 0 14px 30px rgba(35, 64, 106, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.depth-entry-card:hover {
  border-color: #8fb5ea;
  box-shadow: 0 18px 38px rgba(35, 64, 106, 0.12);
  transform: translateY(-2px);
}

.depth-compare-card {
  background: #fbfff9;
  border-color: #d8e9cf;
}

.depth-compare-card span {
  background: #edf8e8;
  color: #2f6f36;
}

.depth-entry-card span,
.seo-related-grid span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: #245da6;
  font-size: 12px;
  font-weight: 800;
}

.depth-entry-card strong {
  color: #0f2f66;
  font-size: 17px;
  line-height: 1.35;
}

.depth-entry-card p {
  margin: 0;
  color: #59697f;
  font-size: 13px;
  line-height: 1.55;
}

.seo-page {
  display: grid;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 64px;
}

.seo-collection-page {
  width: min(1160px, calc(100% - 32px));
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 22px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid #d7e4f4;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 48%, #f3f7ef 100%);
  box-shadow: 0 18px 42px rgba(28, 56, 96, 0.1);
}

.seo-hero h1 {
  max-width: 840px;
  margin: 8px 0 14px;
  color: #0a2e61;
  font-size: 42px;
  line-height: 1.15;
}

.seo-hero p {
  margin: 0;
  color: #4d5f77;
  font-size: 16px;
  line-height: 1.75;
}

.seo-collection-hero .intent-tags {
  margin-top: 18px;
}

.seo-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.seo-keywords a {
  padding: 7px 10px;
  border: 1px solid #d6e4f7;
  border-radius: 999px;
  background: #ffffff;
  color: #245da6;
  font-size: 13px;
  font-weight: 750;
}

.seo-quick-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid #cfe0f2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.seo-quick-card strong {
  color: #0f2f66;
  font-size: 18px;
}

.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.seo-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.seo-toc {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #dbe7f6;
  border-radius: 8px;
  background: #ffffff;
}

.seo-toc strong {
  color: #0f2f66;
}

.seo-toc a {
  padding: 9px 10px;
  border-radius: 7px;
  color: #516178;
  font-weight: 750;
}

.seo-toc a:hover {
  background: #eef5ff;
  color: #245da6;
}

.seo-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.seo-section {
  padding: 24px;
  border: 1px solid #dce7f5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(35, 64, 106, 0.07);
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.seo-info-card {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 16px;
  border: 1px solid #e0e8f3;
  border-radius: 8px;
  background: #fbfdff;
}

.seo-info-card strong {
  color: #0f2f66;
}

.seo-info-card p,
.seo-section .section-head p {
  margin: 0;
  color: #5b6a80;
  line-height: 1.65;
}

.seo-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seo-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seo-compare-grid article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border: 1px solid #dfe9f4;
  border-radius: 8px;
  background: #fbfdff;
}

.seo-compare-grid strong {
  color: #0f2f66;
}

.seo-compare-grid p {
  margin: 0;
  color: #526177;
  line-height: 1.65;
}

.seo-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.seo-fit-grid article {
  min-height: 190px;
  padding: 16px;
  border: 1px solid #dfe9f4;
  border-radius: 8px;
  background: #fbfdff;
}

.seo-fit-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #0f2f66;
  font-weight: 900;
}

.seo-fit-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #526177;
  line-height: 1.6;
}

.seo-check-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 14px;
  border: 1px solid #dfe9f4;
  border-radius: 8px;
  background: #fbfdff;
}

.seo-check-list span {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #e9f6ef;
  color: #16804a;
  font-size: 13px;
  font-weight: 900;
}

.seo-check-list p {
  margin: 0;
  color: #29384d;
  line-height: 1.55;
}

.seo-tool-table {
  display: grid;
  gap: 10px;
}

.seo-tool-table article {
  display: grid;
  grid-template-columns: minmax(190px, 0.58fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  background: #ffffff;
}

.seo-tool-table strong {
  display: block;
  color: #0f2f66;
}

.seo-tool-table span {
  display: block;
  margin-top: 3px;
  color: #738197;
  font-size: 12px;
}

.seo-tool-table p {
  margin: 0;
  color: #526177;
  line-height: 1.6;
}

.seo-tool-actions {
  display: flex;
  gap: 8px;
}

.seo-tool-actions a {
  padding: 8px 10px;
  border: 1px solid #d6e4f7;
  border-radius: 7px;
  color: #245da6;
  font-weight: 800;
  white-space: nowrap;
}

.seo-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.seo-steps li {
  padding: 12px 14px;
  border: 1px solid #dfe9f4;
  border-radius: 8px;
  background: #fbfdff;
  color: #29384d;
  line-height: 1.6;
}

.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seo-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seo-collection-grid a {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 190px;
  padding: 17px;
  border: 1px solid #dfe9f4;
  border-radius: 8px;
  background: #fbfdff;
  color: #172b4d;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.seo-collection-grid a:hover {
  border-color: #8fb5ea;
  box-shadow: 0 16px 32px rgba(35, 64, 106, 0.1);
  transform: translateY(-2px);
}

.seo-collection-grid span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: #245da6;
  font-size: 12px;
  font-weight: 850;
}

.seo-collection-grid strong {
  color: #0f2f66;
  font-size: 17px;
  line-height: 1.35;
}

.seo-collection-grid p {
  margin: 0;
  color: #526177;
  font-size: 13px;
  line-height: 1.6;
}

.seo-collection-grid small {
  color: #7a8797;
  line-height: 1.45;
}

.seo-related-grid a {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border: 1px solid #dfe9f4;
  border-radius: 8px;
  background: #fbfdff;
  color: #172b4d;
}

.seo-related-grid strong {
  color: #0f2f66;
}

.seo-related-grid p {
  margin: 0;
  color: #5b6a80;
  line-height: 1.55;
}

.seo-faq {
  display: grid;
  gap: 10px;
}

.seo-faq details {
  border: 1px solid #dfe9f4;
  border-radius: 8px;
  background: #fbfdff;
}

.seo-faq summary {
  cursor: pointer;
  padding: 14px 16px;
  color: #0f2f66;
  font-weight: 850;
}

.seo-faq p {
  margin: 0;
  padding: 0 16px 16px;
  color: #526177;
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .depth-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-hero,
  .seo-layout {
    grid-template-columns: 1fr;
  }

  .seo-toc {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .depth-entry-grid,
  .seo-card-grid,
  .seo-compare-grid,
  .seo-fit-grid,
  .seo-collection-grid,
  .seo-check-list,
  .seo-related-grid {
    grid-template-columns: 1fr;
  }

  .seo-page {
    width: min(100% - 20px, 1180px);
    margin-top: 16px;
  }

  .seo-hero,
  .seo-section {
    padding: 18px;
  }

  .seo-hero h1 {
    font-size: 30px;
  }

  .seo-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-tool-table article {
    grid-template-columns: 1fr;
  }

  .seo-tool-actions {
    flex-wrap: wrap;
  }
}
