:root {
  color-scheme: light;
  --bg: #f7f6f3;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: rgba(255, 255, 255, 0.97);
  --text: #141414;
  --muted: #66635f;
  --line: rgba(20, 20, 20, 0.08);
  --shadow: 0 18px 40px rgba(15, 18, 28, 0.06);
  --shadow-soft: 0 10px 22px rgba(15, 18, 28, 0.04);
  --accent: #f97316;
  --accent-dark: #ea580c;
  --blue: #16335f;
  --glow: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --glow-soft: rgba(22, 51, 95, 0.08);
  --font-sans: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-rounded: "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.08), transparent 24%),
    radial-gradient(circle at 84% 8%, rgba(22, 51, 95, 0.06), transparent 22%),
    linear-gradient(180deg, #fcfbf8 0%, #f7f5f1 54%, #f3f1ec 100%);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--text);
}

.page-glow {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.glow-a {
  top: -8rem;
  left: -8rem;
  background: rgba(249, 115, 22, 0.14);
}

.glow-b {
  top: 10rem;
  right: -10rem;
  background: rgba(22, 51, 95, 0.1);
}

.topbar,
.portal,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 13px 20px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(20, 20, 20, 0.06);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

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

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(118, 132, 156, 0.18);
  box-shadow: none;
}

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

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--font-sans);
  font-size: 1.44rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.brand-copy span {
  display: none;
}

.brand-copy span,
.kicker {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 700;
}

.section-header h2,
.sidebar-section h2,
.detail-title-row h1,
.search-hero h1 {
  font-family: var(--font-sans);
}

.section-header h2,
.sidebar-section h2,
.search-hero h1 {
  font-size: clamp(1.5rem, 1.9vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
}

.topnav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 0;
}

.topnav a,
.nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: #4f4a43;
  white-space: nowrap;
}

.topnav a.is-active,
.topnav a:hover,
.nav-item-with-panel:hover .nav-trigger,
.nav-item-with-panel:focus-within .nav-trigger {
  color: var(--accent-dark);
}

.topnav a.is-active::after,
.nav-item-with-panel:hover .nav-trigger::after,
.nav-item-with-panel:focus-within .nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  margin: auto;
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-dark), var(--blue));
}

.nav-item {
  position: relative;
}

.nav-item-with-panel {
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.nav-item-with-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.nav-mini-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--accent-dark);
  font-size: 0.74rem;
  line-height: 1;
}

.nav-flyout {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  display: none;
  gap: 4px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 18px 34px rgba(20, 20, 20, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  pointer-events: auto;
}

.nav-flyout a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  color: #49453f;
}

.nav-flyout a:hover {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-dark);
}

.nav-item-with-panel:hover .nav-flyout,
.nav-item-with-panel:focus-within .nav-flyout,
.nav-item-with-panel.is-open .nav-flyout {
  display: grid;
  transform: translateX(-50%) translateY(0);
}

.nav-item-with-panel.is-open .nav-trigger,
.nav-item-with-panel.is-open .nav-trigger:focus-visible {
  color: var(--accent-dark);
}

.nav-item-with-panel.is-open .nav-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  margin: auto;
  width: 32px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-dark), var(--blue));
}

.nav-flyout-link {
  text-decoration: none;
}

.nav-flyout-icon,
.prompt-pill-icon,
.prompt-mini-link-icon,
.prompt-track-chip-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.nav-flyout-icon img,
.prompt-pill-icon img,
.prompt-mini-link-icon img,
.prompt-track-chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-flyout-icon.is-glyph,
.prompt-pill-icon.is-glyph,
.prompt-mini-link-icon.is-glyph,
.prompt-track-chip-icon.is-glyph {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(22, 51, 95, 0.1));
  color: var(--blue);
  border-color: rgba(20, 20, 20, 0.08);
}

.nav-flyout-icon.is-glyph svg,
.prompt-pill-icon.is-glyph svg,
.prompt-mini-link-icon.is-glyph svg,
.prompt-track-chip-icon.is-glyph svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prompt-track-monogram {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.icon-button,
.search-button {
  border: none;
  cursor: pointer;
}

.nav-cta,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
}

.nav-cta {
  background: rgba(255, 255, 255, 0.92);
  color: #4c4741;
  box-shadow: none;
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.92);
  color: #4c4741;
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.icon-button {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: none;
  font-size: 1.4rem;
}

.portal {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 14px;
  max-width: 1560px;
  margin: 0 auto;
  padding: 16px 18px 44px;
}

.glass,
.section-card,
.tool-tile,
.rank-item,
.mini-item,
.prompt-list article {
  background: var(--panel);
  border: 1px solid rgba(20, 20, 20, 0.07);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 106px);
  border-radius: var(--radius-xl);
  padding: 12px;
}

.sidebar-section + .sidebar-section {
  margin-top: 14px;
}

.sidebar-section h2,
.section-header h2,
.sidebar-note h3 {
  letter-spacing: -0.04em;
}

.sidebar-section:first-child {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.sidebar-nav {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding-right: 4px;
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
}

.sidebar-nav::-webkit-scrollbar {
  width: 8px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(98, 116, 145, 0.18);
}

.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #4d5e79;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: filter 160ms ease, transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.sidebar-link span:last-child {
  min-width: 0;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.sidebar-glyph {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #7183a0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  flex-shrink: 0;
}

.sidebar-glyph svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-link:hover,
.sidebar-link.is-active {
  color: var(--text);
  border-color: rgba(249, 115, 22, 0.16);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
  filter: none;
  transform: none;
}

.sidebar-link:hover .sidebar-glyph,
.sidebar-link.is-active .sidebar-glyph {
  color: var(--accent-dark);
  background: transparent;
  box-shadow: none;
}

.sidebar-glyph[data-sidebar-tone="All"] {
  color: var(--accent-dark);
}

.sidebar-glyph[data-sidebar-tone="Assistants"] {
  color: var(--blue);
}

.sidebar-glyph[data-sidebar-tone="Research"] {
  color: #3f3a35;
}

.sidebar-glyph[data-sidebar-tone="Productivity"] {
  color: var(--accent-dark);
}

.sidebar-glyph[data-sidebar-tone="Automation"] {
  color: var(--blue);
}

.sidebar-glyph[data-sidebar-tone="Coding"] {
  color: #3f3a35;
}

.sidebar-glyph[data-sidebar-tone="Design"] {
  color: var(--accent-dark);
}

.sidebar-glyph[data-sidebar-tone="Video"] {
  color: var(--blue);
}

.sidebar-glyph[data-sidebar-tone="Writing"] {
  color: var(--accent-dark);
}

.sidebar-glyph[data-sidebar-tone="Translation"] {
  color: var(--blue);
}

.sidebar-glyph[data-sidebar-tone="Audio"] {
  color: var(--blue);
}

.sidebar-glyph[data-sidebar-tone="Sales"] {
  color: var(--accent-dark);
}

.sidebar-glyph[data-sidebar-tone="Meetings"] {
  color: #3f3a35;
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="All"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="All"] {
  color: var(--accent-dark);
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="Assistants"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="Assistants"] {
  color: var(--blue);
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="Research"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="Research"] {
  color: #3f3a35;
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="Productivity"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="Productivity"] {
  color: var(--accent-dark);
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="Automation"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="Automation"] {
  color: var(--blue);
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="Coding"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="Coding"] {
  color: #3f3a35;
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="Design"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="Design"] {
  color: var(--accent-dark);
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="Video"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="Video"] {
  color: var(--blue);
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="Writing"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="Writing"] {
  color: var(--accent-dark);
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="Translation"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="Translation"] {
  color: var(--blue);
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="Audio"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="Audio"] {
  color: var(--blue);
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="Sales"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="Sales"] {
  color: var(--accent-dark);
}

.sidebar-link:hover .sidebar-glyph[data-sidebar-tone="Meetings"],
.sidebar-link.is-active .sidebar-glyph[data-sidebar-tone="Meetings"] {
  color: #3f3a35;
}

.sidebar-note {
  padding: 14px;
}

.sidebar-note p {
  color: var(--muted);
  line-height: 1.62;
  margin: 10px 0 0;
}

.content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.search-hero {
  position: relative;
  z-index: 1;
  border-radius: 30px;
  padding: 18px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.hero-main {
  display: grid;
  gap: 12px;
}

.hero-main {
  align-content: start;
}

.hero-copy {
  max-width: 900px;
}

.search-hero h1 {
  margin-top: 4px;
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.hero-keyword {
  display: inline-block;
  font-weight: 700;
}

.hero-keyword-ai {
  color: var(--blue);
}

.hero-keyword-web {
  color: var(--text);
}

.hero-keyword-tools {
  color: var(--accent-dark);
}

.hero-subtitle {
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero-subtitle strong {
  color: var(--accent-dark);
}

.section-header,
.tool-meta,
.tool-foot,
.search-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-filter-row,
.rank-tabs,
.pill-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  align-items: center;
}

.section-filter-row {
  margin-top: 14px;
}

.rank-tabs {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 1px;
  scrollbar-width: none;
}

.rank-tabs::-webkit-scrollbar {
  display: none;
}

.hero-tab,
.engine-pill,
.rank-pill,
.directory-pill {
  font-family: var(--font-rounded);
  border: none;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #59544d;
  padding: 7px 13px;
  font-size: 0.88rem;
  font-weight: 400;
  white-space: nowrap;
  box-shadow: none;
  border: 1px solid rgba(20, 20, 20, 0.08);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.filter-pill {
  font-family: var(--font-rounded);
  border: none;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #59544d;
  padding: 6px 10px;
  min-height: 34px;
  font-size: 0.82rem;
  line-height: 1;
  font-weight: 400;
  box-shadow: none;
  border: 1px solid rgba(20, 20, 20, 0.08);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.hero-tab.is-active,
.engine-pill.is-active,
.filter-pill.is-active,
.rank-pill.is-active,
.directory-pill.is-active {
  color: var(--text);
  background: rgba(255, 248, 241, 0.96);
  box-shadow: none;
  border-color: rgba(249, 115, 22, 0.22);
}

.hero-tab:hover,
.engine-pill:hover,
.filter-pill:hover,
.rank-pill:hover,
.directory-pill:hover,
.prompt-pill:hover,
.nav-cta:hover,
.secondary-button:hover,
.link-button:hover,
.search-button:hover,
.icon-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.14);
}

.hero-stat-pill {
  font-family: var(--font-rounded);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-weight: 700;
  border: 1px solid rgba(25, 38, 61, 0.08);
}

.hero-stat-pill strong {
  color: var(--text);
}

.search-panel {
  margin-top: 4px;
  align-items: flex-start;
  flex-direction: column;
}

.search-shell {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 24px;
  box-shadow: none;
  border: 1px solid rgba(23, 36, 58, 0.08);
}

.search-shell input {
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  padding: 8px 12px;
}

.search-button {
  min-width: 138px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: none;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.search-button-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-quick-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: #59544d;
  font-size: 0.86rem;
  transition: filter 160ms ease, transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.hero-quick-link:hover {
  color: var(--accent-dark);
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.12);
  transform: translateY(-1px);
}

.mini-item p,
.tool-subtitle,
.tool-summary,
.tool-foot,
.results-inline span {
  color: var(--muted);
}

.section-card {
  position: relative;
  border-radius: 28px;
  padding: 12px;
}

.section-shell {
  display: grid;
  gap: 10px;
}

.section-header-copy {
  display: grid;
  gap: 4px;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.52;
}

.link-button {
  font-family: var(--font-rounded);
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: #59544d;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 400;
  cursor: pointer;
  box-shadow: none;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tool-portal-grid,
.directory-grid {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  align-items: start;
  grid-auto-rows: 1fr;
  overflow: visible;
}

.feature-stream,
.triple-panels,
.category-wall,
.lane-wall,
.usecase-wall,
.deep-ranking-wall {
  display: grid;
  gap: 12px;
  align-items: stretch;
}

.feature-stream {
  grid-template-columns: 1fr;
  margin-top: 10px;
}

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

.category-wall {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.lane-wall {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.usecase-wall {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.deep-ranking-wall {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

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

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

.tool-tile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
  padding: 14px;
  border-radius: 20px;
  min-height: 214px;
  height: 100%;
  border: 1px solid rgba(20, 20, 20, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tool-tile:hover,
.rank-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.05);
  border-color: rgba(249, 115, 22, 0.22);
}

.tool-tile.is-compact {
  grid-template-columns: 1fr;
  min-height: 148px;
  padding: 9px 10px;
}

.tool-tile.is-compact .tool-icon-shell,
.tool-tile.is-compact .tool-icon-wrap {
  width: 46px;
  height: 46px;
}

.tool-tile.is-compact .tool-icon-shell {
  border-radius: 14px;
}

.tool-tile.is-compact .tool-icon-shell img {
  width: 30px;
  height: 30px;
}

.tool-tile.is-compact .tool-summary {
  display: none;
}

.tool-icon-wrap {
  position: relative;
  display: inline-grid;
  width: 54px;
  height: 54px;
}

.tool-tile .tool-icon-wrap,
.mini-item .tool-icon-wrap,
.rank-item .tool-icon-wrap,
.directory-item .tool-icon-wrap,
.usecase-tool .tool-icon-wrap,
.deep-ranking-item .tool-icon-wrap {
  justify-self: start;
}

.tool-summary[data-tip] {
  position: relative;
  display: block;
  overflow: visible;
  --tip-max-width: min(300px, 70vw);
  --tip-offset-x: 0px;
  --tip-arrow-left: 18px;
}

.tool-summary[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  transform: translate(var(--tip-offset-x), 6px);
  width: max-content;
  max-width: var(--tip-max-width);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(16, 22, 34, 0.92);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: normal;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 80;
}

.tool-summary[data-tip]::before {
  content: "";
  position: absolute;
  left: var(--tip-arrow-left);
  bottom: calc(100% + 4px);
  transform: translate(-50%, 6px);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: rgba(16, 22, 34, 0.92) transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 79;
}

.tool-summary[data-tip]:hover::after,
.tool-summary[data-tip]:hover::before {
  opacity: 1;
  visibility: visible;
}

.tool-summary[data-tip]:hover::after {
  transform: translate(var(--tip-offset-x), 0);
}

.tool-summary[data-tip]:hover::before {
  transform: translate(-50%, 0);
}

.tool-summary[data-tip][data-tip-direction="down"]::after {
  top: calc(100% + 10px);
  bottom: auto;
  transform: translate(var(--tip-offset-x), -6px);
}

.tool-summary[data-tip][data-tip-direction="down"]::before {
  top: calc(100% + 4px);
  bottom: auto;
  transform: translate(-50%, -6px);
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent rgba(16, 22, 34, 0.92) transparent;
}

.tool-summary[data-tip][data-tip-direction="down"]:hover::after,
.tool-summary[data-tip][data-tip-direction="down"]:hover::before {
  transform: translateY(0);
}

.tool-summary[data-tip][data-tip-direction="down"]:hover::after {
  transform: translate(var(--tip-offset-x), 0);
}

.tool-summary[data-tip][data-tip-direction="down"]:hover::before {
  transform: translate(-50%, 0);
}

.tool-summary-measure {
  position: fixed;
  left: -9999px;
  top: -9999px;
  display: block;
  width: max-content;
  max-width: var(--tip-max-width);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: normal;
  visibility: hidden;
  pointer-events: none;
  z-index: -1;
}

.tool-icon-shell {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.07);
  overflow: hidden;
}

.tool-icon-shell img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.tool-text {
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: start;
}

.tool-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.tool-title-line h3,
.rank-item h3,
.mini-item h3,
.prompt-list h3 {
  font-size: 1.06rem;
  line-height: 1.34;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.tool-badge {
  font-family: var(--font-rounded);
  flex-shrink: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(22, 51, 95, 0.08));
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.tool-subtitle,
.tool-summary {
  margin: 6px 0 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}

.tool-summary {
  margin-top: 4px;
  font-size: 0.88rem;
  line-height: 1.46;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.tool-summary-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.compact-header {
  margin-bottom: 8px;
}

.rank-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: start;
  padding: 14px;
  border-radius: 20px;
  min-height: 214px;
  height: 100%;
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.rank-number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--accent-dark);
  box-shadow: none;
  justify-self: start;
}

.rank-item .tool-icon-shell {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.feature-stream-shell {
  overflow: visible;
}

.page-intro-shell,
.page-map-shell {
  display: grid;
  gap: 14px;
}

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

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

.overview-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.overview-card-head {
  display: grid;
  gap: 4px;
}

.overview-card h3 {
  font-size: 1.08rem;
  line-height: 1.2;
}

.overview-copy {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.quick-jump-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.jump-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: #59544d;
  font-size: 0.86rem;
  line-height: 1;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.jump-pill:hover {
  color: var(--accent-dark);
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.22);
}

.feature-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: none;
  overflow: visible;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.feature-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.22);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.05);
  background: rgba(255, 255, 255, 0.96);
}

.feature-panel .compact-header {
  margin-bottom: 10px;
}

.feature-panel .compact-header h3 {
  font-size: 1rem;
  line-height: 1.34;
}

.feature-panel-note {
  max-width: 760px;
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

.dual-panels {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
  align-items: start;
}

.mini-list,
.prompt-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  grid-auto-rows: min-content;
}

.stack-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  grid-auto-rows: min-content;
}

.feature-panel .mini-list,
.feature-panel .stack-list {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 0;
  align-content: start;
}

.feature-panel .stack-list {
  gap: 12px;
}

.featured-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.featured-card-grid-compact {
  margin-top: 10px;
}

.feature-tool-tile {
  min-height: 206px;
}

.feature-tool-tile.is-compact {
  min-height: 176px;
  padding: 10px 11px 11px;
}

.feature-tool-tile.is-compact .tool-summary {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  line-height: 1.42;
  color: #66635f;
}

.feature-tool-tile.is-compact .tool-summary-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stack-flow-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.stack-flow-head {
  display: grid;
  gap: 4px;
}

.stack-flow-head h4 {
  font-size: 1rem;
  line-height: 1.32;
}

.stack-flow-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.52;
}

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

.stack-flow-step {
  display: grid;
  gap: 8px;
}

.stack-flow-step-index {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.stack-tool-chip {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 114px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 20, 20, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stack-tool-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.05);
  border-color: rgba(249, 115, 22, 0.22);
}

.stack-tool-chip-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.stack-tool-chip .tool-icon-wrap,
.stack-tool-chip .tool-icon-shell {
  width: 40px;
  height: 40px;
}

.stack-tool-chip .tool-icon-shell {
  border-radius: 14px;
}

.stack-tool-chip .tool-icon-shell img {
  width: 24px;
  height: 24px;
}

.stack-tool-chip-text {
  display: grid;
  gap: 4px;
  align-content: start;
}

.stack-tool-chip-text strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.28;
}

.stack-tool-chip-text span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.stack-tool-chip-note {
  color: #66635f;
  font-size: 0.8rem;
  line-height: 1.42;
  margin-top: -2px;
  display: block;
  overflow: visible;
}

.stack-tool-chip-note .tool-summary-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.load-more-row {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.load-more-button {
  min-width: 140px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  background: linear-gradient(135deg, rgba(255, 244, 235, 0.98), rgba(255, 255, 255, 0.98));
  color: var(--accent-dark);
  font-family: var(--font-rounded);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.load-more-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.12);
  filter: brightness(1.02);
}

.mini-item,
.prompt-list article,
.stack-card,
.category-card,
.lane-card,
.usecase-card,
.deep-ranking-card {
  padding: 12px;
  border-radius: 18px;
}

.stack-card,
.category-card,
.lane-card,
.usecase-card,
.deep-ranking-card {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(118, 132, 156, 0.24);
  box-shadow: none;
  height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card,
.lane-card,
.usecase-card,
.deep-ranking-card {
  padding: 10px;
}

.feature-panel .mini-item,
.feature-panel .stack-card {
  min-height: unset;
  height: auto;
  padding: 10px 10px 9px;
  border-radius: 14px;
}

.feature-panel .mini-item .tool-icon-wrap,
.feature-panel .mini-item .tool-icon-shell {
  width: 38px;
  height: 38px;
}

.feature-panel .mini-item .tool-icon-shell {
  border-radius: 12px;
}

.feature-panel .mini-item .tool-icon-shell img {
  width: 22px;
  height: 22px;
}

.feature-panel .mini-item h3,
.feature-panel .stack-card h3 {
  font-size: 0.92rem;
  line-height: 1.28;
}

.feature-panel .mini-item p,
.feature-panel .stack-card p {
  margin-top: 0;
  font-size: 0.8rem;
  line-height: 1.48;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.feature-panel .directory-tags {
  gap: 6px;
}

.feature-panel .tag {
  padding: 4px 8px;
  font-size: 0.72rem;
}

.mini-item:hover,
.stack-card:hover,
.category-card:hover,
.lane-card:hover,
.usecase-card:hover,
.deep-ranking-card:hover,
.lane-item:hover,
.usecase-tool:hover,
.deep-ranking-item:hover,
.directory-item:hover,
.prompt-feature-card:hover,
.prompt-card:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.22);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.05);
}

.mini-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 174px;
  height: 100%;
  border: 1px solid rgba(118, 132, 156, 0.28);
}

.mini-item .tool-icon-wrap,
.mini-item .tool-icon-shell {
  width: 44px;
  height: 44px;
}

.mini-item .tool-icon-shell {
  border-radius: 14px;
}

.mini-item p,
.prompt-list p {
  margin: 6px 0 0;
  line-height: 1.55;
}

.mini-item h3,
.rank-item h3,
.deep-ranking-item strong,
.lane-item strong,
.usecase-tool .tool-title-line h3,
.directory-item h3 {
  color: var(--text);
}

.stack-card h3,
.category-card h3,
.lane-card h3,
.usecase-card h3,
.deep-ranking-card h3 {
  font-size: 0.98rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.stack-card p,
.category-card p,
.usecase-card p,
.deep-ranking-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.stack-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.stack-card p {
  min-height: calc(1.5em * 2);
}

.feature-panel .stack-card .directory-tags {
  margin-top: auto;
}

.category-mini-grid {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.lane-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.lane-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: start;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 20, 20, 0.08);
  min-height: 144px;
  height: 100%;
}

.lane-item .tool-icon-wrap,
.lane-item .tool-icon-shell {
  width: 42px;
  height: 42px;
}

.lane-item .tool-icon-shell {
  border-radius: 14px;
}

.lane-item .tool-icon-shell img {
  width: 26px;
  height: 26px;
}

.lane-item strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.lane-rank {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fb923c, #ea580c);
  justify-self: start;
}

.usecase-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  grid-auto-rows: 1fr;
}

.usecase-tool {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(20, 20, 20, 0.08);
  font-weight: 700;
  min-height: 120px;
  height: 100%;
}

.usecase-tool .tool-icon-wrap,
.usecase-tool .tool-icon-shell {
  width: 40px;
  height: 40px;
}

.usecase-tool .tool-icon-shell {
  border-radius: 14px;
}

.usecase-tool .tool-icon-shell img {
  width: 24px;
  height: 24px;
}

.deep-ranking-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  grid-auto-rows: 1fr;
}

.deep-ranking-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: start;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(20, 20, 20, 0.08);
  min-height: 146px;
  height: 100%;
}

.deep-ranking-item .tool-icon-wrap,
.deep-ranking-item .tool-icon-shell {
  width: 40px;
  height: 40px;
}

.deep-ranking-item .tool-icon-shell {
  border-radius: 14px;
}

.deep-ranking-item .tool-icon-shell img {
  width: 24px;
  height: 24px;
}

.compare-wall,
.guide-wall {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.directory-card {
  margin-bottom: 12px;
}

.results-inline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.directory-toolbar {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.directory-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: none;
  min-height: 226px;
  height: 100%;
}

.directory-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.directory-item .tool-icon-wrap,
.directory-item .tool-icon-shell {
  width: 58px;
  height: 58px;
}

.directory-item h3 {
  margin: 0;
  font-size: 1.04rem;
  letter-spacing: -0.03em;
}

.kicker,
.hero-subtitle,
.tool-subtitle,
.tool-summary,
.stack-card p,
.category-card p,
.lane-card p,
.usecase-card p,
.deep-ranking-card p,
.results-inline span,
.meta-pill,
.tag,
.tool-links a,
.prompt-feature-card p,
.prompt-card p,
.prompt-card-summary,
.prompt-card-body,
.prompt-track-chip,
.tool-badge,
.link-button,
.sidebar-link,
.detail-copy-block,
.detail-list,
.detail-lead,
.detail-source-list a,
.decision-item {
  font-weight: 400;
}

.directory-meta,
.directory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill,
.tag {
  font-family: var(--font-rounded);
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.meta-pill {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.tag {
  background: rgba(22, 32, 51, 0.06);
  color: #5e5852;
}

.tool-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 12px;
  font-weight: 700;
}

.directory-item .tool-summary {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.tool-links a {
  font-family: var(--font-rounded);
  font-size: 0.82rem;
  color: var(--blue);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.unified-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
  min-height: 150px;
  height: 100%;
  overflow: visible;
  padding: 12px 12px 11px;
  padding-right: 72px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.unified-tool-card:hover {
  z-index: 12;
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: 0 12px 22px rgba(17, 17, 17, 0.05);
  background: rgba(255, 255, 255, 0.94);
}

.tool-card-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
}

.unified-tool-card .tool-icon-wrap,
.unified-tool-card .tool-icon-shell {
  width: 48px;
  height: 48px;
}

.unified-tool-card .tool-icon-shell {
  border-radius: 15px;
}

.unified-tool-card .tool-icon-shell img {
  width: 30px;
  height: 30px;
}

.unified-tool-card .tool-text {
  display: grid;
  gap: 4px;
  min-width: 0;
  align-content: start;
}

.unified-tool-card .tool-title-line {
  display: block;
  width: 100%;
  min-width: 0;
}

.unified-tool-card .tool-title-line h3 {
  margin: 0;
  min-width: 0;
  display: block;
  overflow: visible;
  font-size: 0.98rem;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.unified-tool-card .tool-subtitle {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.32;
  color: #6b655f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}

.unified-tool-card .tool-summary {
  margin: 0;
  display: block;
  overflow: visible;
  color: #66635f;
  font-size: 0.84rem;
  line-height: 1.42;
  font-weight: 400;
}

.unified-tool-card .tool-summary-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.unified-tool-card .tool-badge {
  flex-shrink: 0;
  padding: 3px 8px;
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 400;
}

.tool-corner-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.tool-rank-badge {
  display: none;
}

.tool-tile,
.rank-item,
.mini-item,
.lane-item,
.usecase-tool,
.deep-ranking-item,
.directory-item {
  min-height: 150px;
  padding: 12px 12px 11px;
  gap: 8px;
}

.category-mini-grid,
.lane-list,
.usecase-tools,
.deep-ranking-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.feature-panel .mini-list,
.feature-panel .stack-list {
  grid-template-columns: 1fr;
}

.feature-panel .mini-item {
  min-height: 150px;
  padding: 12px 12px 11px;
  border-radius: 18px;
}

.feature-panel .mini-item .tool-icon-wrap,
.feature-panel .mini-item .tool-icon-shell {
  width: 48px;
  height: 48px;
}

.feature-panel .mini-item .tool-icon-shell img {
  width: 30px;
  height: 30px;
}

.feature-panel .mini-item .tool-summary {
  font-size: 0.84rem;
}

.feature-panel .stack-card {
  min-height: 150px;
  padding: 12px 12px 11px;
  border-radius: 18px;
}

.feature-panel .stack-card h3 {
  font-size: 0.96rem;
  line-height: 1.28;
}

.feature-panel .stack-card p {
  font-size: 0.82rem;
  line-height: 1.38;
  font-weight: 400;
}

.prompt-filter-row,
.prompt-hero-grid,
.prompt-library-grid {
  margin-top: 8px;
}

.prompt-page-hero {
  overflow: hidden;
}

.prompt-hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 10px;
  align-items: start;
}

.prompt-page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.prompt-hero-summary {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.42;
}

.prompt-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.prompt-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 20, 20, 0.08);
  color: #59544d;
  font-size: 0.82rem;
}

.prompt-mini-link.is-active {
  color: var(--text);
  border-color: rgba(249, 115, 22, 0.22);
  background: rgba(255, 255, 255, 0.92);
}

.prompt-hero-meta {
  display: grid;
  gap: 8px;
}

.prompt-hero-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.42;
}

.prompt-hero-card,
.prompt-guide-card {
  padding: 10px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.prompt-hero-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prompt-hero-card strong {
  display: block;
  margin-top: 5px;
  line-height: 1.38;
  font-weight: 600;
}

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

.prompt-pill {
  font-family: var(--font-rounded);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #59544d;
  font-size: 0.88rem;
  font-weight: 400;
  box-shadow: none;
  border: 1px solid rgba(20, 20, 20, 0.08);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, filter 160ms ease;
}

.prompt-pill.is-active {
  color: var(--text);
  background: rgba(255, 248, 241, 0.96);
  box-shadow: none;
  border-color: rgba(249, 115, 22, 0.22);
}

.prompt-pill-icon {
  width: 18px;
  height: 18px;
}

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

.prompt-feature-card,
.prompt-card {
  padding: 10px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.03);
}

.prompt-feature-card h3,
.prompt-card h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

.prompt-feature-card p,
.prompt-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.48;
}

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

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

.prompt-keyword-accent {
  color: var(--accent-dark);
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.16), rgba(249, 115, 22, 0.08));
  border-radius: 0.5em;
  padding: 0 0.24em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.prompt-hero-summary .prompt-keyword-accent,
.prompt-card-summary .prompt-keyword-accent,
.prompt-card-body .prompt-keyword-accent,
.prompt-feature-card p .prompt-keyword-accent,
.prompt-hero-card strong .prompt-keyword-accent,
.prompt-hero-note .prompt-keyword-accent {
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.12), rgba(249, 115, 22, 0.06));
}

.prompt-card h3 .prompt-keyword-accent,
.prompt-feature-card h3 .prompt-keyword-accent,
.prompt-hero-intro h1 .prompt-keyword-accent {
  color: var(--blue);
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.14), rgba(22, 51, 95, 0.08));
}

.prompt-track-chip {
  font-family: var(--font-rounded);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
}

.prompt-track-chip-icon {
  width: 18px;
  height: 18px;
}

.prompt-card-summary {
  font-weight: 400;
  color: #5f5952;
  font-size: 0.9rem;
  line-height: 1.4;
}

.prompt-card-body {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.58;
}

.prompt-copy-button {
  flex-shrink: 0;
}

.prompt-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.prompt-guide-card h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.28;
}

.prompt-guide-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.46;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px dashed rgba(249, 115, 22, 0.24);
  text-align: center;
}

.footer {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 18px 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  display: none;
}

.footer p {
  margin: 0;
  max-width: 48ch;
}

.detail-page {
  max-width: 1560px;
  margin: 0 auto;
  padding: 16px 18px 48px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 12px;
  padding: 13px;
  border-radius: 24px;
}

.detail-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
}

.detail-title-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.detail-icon-shell {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.detail-icon-shell img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.detail-title-row h1 {
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.detail-summary,
.detail-side-copy p,
.detail-source-note,
.detail-copy-block p,
.detail-related-item p,
.decision-item span {
  color: var(--muted);
  line-height: 1.8;
}

.detail-summary {
  margin: 10px 0 0;
  font-size: 1.05rem;
}

.detail-pill-row,
.detail-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-pill-row {
  margin-top: 12px;
}

.detail-hero-side {
  display: grid;
  gap: 7px;
  align-content: start;
}

.detail-hero-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.detail-cta {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #fff;
  border: none;
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.18);
}

.detail-cta:hover {
  color: #fff;
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.22);
}

.detail-secondary {
  width: auto;
}

.detail-quickfacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 0;
}

.detail-quickfacts div {
  padding: 9px 11px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.detail-quickfacts span {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

.detail-quickfacts strong {
  display: block;
  margin-top: 3px;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 360px;
  gap: 16px;
  margin-top: 16px;
}

.detail-main,
.detail-side {
  display: grid;
  gap: 16px;
}

.detail-section {
  overflow: hidden;
}

.detail-lead {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.8;
  color: #39475c;
}

.detail-grid-two,
.detail-compare-grid,
.detail-related-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.detail-grid-top {
  margin-top: 16px;
}

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

.detail-copy-block,
.detail-list-block,
.detail-similar-card,
.detail-related-item,
.decision-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.detail-list-block.positive {
  background: linear-gradient(180deg, rgba(236, 255, 246, 0.88), rgba(255, 255, 255, 0.74));
}

.detail-list-block.caution {
  background: linear-gradient(180deg, rgba(255, 245, 236, 0.9), rgba(255, 255, 255, 0.74));
}

.detail-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-side-copy {
  margin-top: 14px;
}

.decision-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.decision-item strong {
  display: block;
  margin-top: 8px;
  letter-spacing: -0.03em;
}

.detail-source-list {
  margin-top: 4px;
}

.detail-source-list a {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  font-weight: 700;
}

.detail-similar-card,
.detail-related-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.detail-similar-card .tool-icon-shell,
.detail-related-item .tool-icon-shell {
  width: 52px;
  height: 52px;
  border-radius: 18px;
}

.detail-similar-card .tool-icon-shell img,
.detail-related-item .tool-icon-shell img {
  width: 32px;
  height: 32px;
}

@media (max-width: 1320px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

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

  .feature-stream,
  .triple-panels,
  .category-wall,
  .lane-wall,
  .usecase-wall,
  .deep-ranking-wall,
  .directory-grid,
  .rank-grid,
  .dual-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-hero,
  .detail-layout,
  .detail-grid-two,
  .detail-compare-grid,
  .detail-related-grid,
  .prompt-hero-grid,
  .prompt-hero-intro,
  .prompt-guide-grid,
  .overview-grid,
  .home-overview-grid,
  .rankings-overview-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 1120px) {
  .portal {
    grid-template-columns: 1fr;
  }

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

  .sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .tool-portal-grid,
  .feature-stream,
  .category-wall,
  .lane-wall,
  .usecase-wall,
  .deep-ranking-wall,
  .directory-grid,
  .overview-grid,
  .home-overview-grid,
  .rankings-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-stream {
    grid-template-columns: 1fr;
  }

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

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

  .feature-panel .mini-list,
  .feature-panel .stack-list,
  .prompt-library-grid {
    grid-template-columns: 1fr;
  }

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

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

  .topbar {
    flex-wrap: wrap;
  }

  .topnav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .detail-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .search-hero h1 {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  .tool-portal-grid,
  .feature-stream,
  .triple-panels,
  .directory-grid,
  .rank-grid,
  .dual-panels,
  .lane-wall,
  .usecase-wall,
  .deep-ranking-wall,
  .category-wall,
  .overview-grid,
  .home-overview-grid,
  .rankings-overview-grid,
  .sidebar-nav {
    grid-template-columns: 1fr;
  }

  .topbar,
  .portal,
  .footer {
    padding-left: 14px;
    padding-right: 14px;
  }

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

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

  .search-button {
    width: 100%;
  }

  .search-hero {
    padding: 14px;
  }

  .section-card {
    padding: 10px;
  }

  .feature-panel .mini-list,
  .feature-panel .stack-list,
  .usecase-tools {
    grid-template-columns: 1fr;
  }

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

  .stack-flow-steps {
    grid-template-columns: 1fr;
  }


  .prompt-page-hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .search-hero h1 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
    line-height: 1.1;
  }

  .rank-number {
    display: none;
  }

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

@media (max-width: 560px) {
  .featured-card-grid {
    grid-template-columns: 1fr;
  }
}
