/*
 * @Author: rogue-dev-studio
 * @Date: 2026-09-20 10:28:37
 * @Last Modified by: rogue-dev-studio
 * @Last Modified time: 2026-09-20 10:28:37
 */
:root {
  --ink: #f0f0f0;
  --ink-muted: #b0b0b0;
  --paper: #3a3a3a;
  --steel: #a8a8a8;
  --panel: #4a4a4a;
  --accent: #e47909;
  --accent-2: #5b8def;
  --link: #e47909;
  --danger: #e35d6a;
  --display: "IBM Plex Mono", "Cascadia Mono", ui-monospace, monospace;
  --body: "IBM Plex Mono", "Cascadia Mono", ui-monospace, monospace;
  --mono: "IBM Plex Mono", "Cascadia Mono", ui-monospace, monospace;
  --max: 72rem;
  --browse-sidebar-width: 16.5rem;
  --galaxy: #333333;
  --nav: #333333;
  --surface: #3a3a3a;
  --surface-2: #404040;
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  color: var(--ink);
  background: var(--galaxy);
}

body.theme-galaxy {
  --galaxy: #333333;
  color: var(--ink);
  color-scheme: dark;
  background: var(--galaxy);
}

body.theme-galaxy .page {
  position: relative;
  z-index: 1;
  background: transparent;
}

.galaxy-stage {
  display: none;
}

.galaxy-dust {
  display: none;
}

body.theme-galaxy .galaxy-dust {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(1px 1px at 8% 12%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 18% 28%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 27% 8%, rgba(200, 220, 255, 0.95), transparent),
    radial-gradient(1px 1px at 36% 42%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 48% 18%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 58% 64%, rgba(180, 210, 255, 0.9), transparent),
    radial-gradient(1px 1px at 67% 22%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 74% 48%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 82% 14%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 91% 36%, rgba(200, 230, 255, 0.95), transparent),
    radial-gradient(1px 1px at 12% 58%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 22% 76%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 41% 82%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 53% 71%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 63% 88%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 78% 79%, rgba(190, 220, 255, 0.9), transparent),
    radial-gradient(1px 1px at 88% 68%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 95% 88%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 4% 92%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 33% 55%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 15% 40%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 44% 6%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 70% 35%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 85% 55%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 6% 70%, rgba(200, 220, 255, 0.85), transparent),
    radial-gradient(1px 1px at 29% 90%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 56% 45%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 97% 20%, rgba(255, 255, 255, 0.65), transparent);
  background-size: 100% 100%;
  opacity: 0.7;
  animation: galaxy-twinkle 7s ease-in-out infinite alternate;
}

@keyframes galaxy-twinkle {
  from { opacity: 0.65; }
  to { opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-galaxy .galaxy-dust {
    animation: none;
    opacity: 0.8;
  }

  body.theme-galaxy .galaxy-meteors {
    display: none;
  }
}

.galaxy-meteors {
  display: none;
}

body.theme-galaxy .galaxy-meteors {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: #ff8f1f;
}

.page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 0;
  box-sizing: border-box;
}

.page > .top {
  display: grid;
  grid-template-columns: var(--browse-sidebar-width) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.85rem 1rem 0.85rem 0;
  box-sizing: border-box;
}

.page > .top .brand {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0 0.85rem 0 1rem;
}

.page > .top .site-header-search {
  grid-column: 2;
  grid-row: 1;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.page > .top .nav-toggle {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  margin-right: 0;
}

.page > .top .nav {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  padding: 0;
  box-sizing: border-box;
}

.page > .site-footer,
.page > footer.foot,
.page > footer.site-footer {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  padding-left: max(1rem, calc((100% - var(--max)) / 2));
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  box-sizing: border-box;
}

.page > :not(.top):not(.site-footer):not(footer):not(.browse-shell) {
  width: min(100% - 2rem, var(--max));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.page > .hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.5rem;
  box-sizing: border-box;
}

.page > .browse-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.page > .top + :not(.browse-shell):not(.hero) {
  margin-top: 1.25rem;
}

.page > .top + .hero {
  margin-top: 0;
}

.page > .site-footer,
.page > footer.site-footer {
  padding-top: 2.5rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.top {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: var(--browse-sidebar-width) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 1rem;
  margin: 0;
  padding: 0.85rem 1rem 0.85rem 0;
  background: var(--nav);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #f5f5f5;
  grid-column: 1;
  min-width: 0;
}

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

.site-header-search {
  grid-column: 2;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  max-width: none;
  margin: 0;
  min-width: 0;
  height: 2.75rem;
  padding: 0 1.1rem 0 1rem;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.site-header-search .search-icon {
  position: static;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  color: var(--steel);
  pointer-events: none;
  transform: none;
}

.site-header-search .search-icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 2.15;
}

.site-header-search input,
.site-header-search input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  flex: 1 1 auto;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f0f0f0;
  caret-color: var(--link);
  font-family: var(--mono);
  font-size: 0.95rem;
  line-height: 1.25;
  outline: none;
}

.site-header-search input::-webkit-search-decoration,
.site-header-search input::-webkit-search-cancel-button,
.site-header-search input::-webkit-search-results-button,
.site-header-search input::-webkit-search-results-decoration {
  display: none;
}

.site-header-search input::placeholder {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
}

.site-header-search:focus-within {
  border-color: rgba(228, 121, 9, 0.55);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(228, 121, 9, 0.16);
}

.site-header-search:focus-within .search-icon {
  color: var(--link);
}

.nav {
  grid-column: 3;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.2rem;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.92rem;
  margin-left: 0;
}

.nav-toggle {
  grid-column: 3;
  justify-self: end;
}

.nav-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-icon-link,
.nav-dd-btn {
  position: relative;
}

.nav [data-tooltip]::after,
.detail-actions [data-tooltip]::after,
.site-footer-social[data-tooltip]::after,
.price-pill[data-tooltip]::after,
.detail-rating[data-tooltip]::after,
.detail-engagement-stat[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  z-index: 80;
  padding: 0.38rem 0.65rem;
  border-radius: 0.45rem;
  background: rgba(18, 18, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  color: #f2f2f2;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition:
    opacity 140ms ease,
    transform 160ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 140ms ease;
}

.nav [data-tooltip]::before,
.detail-actions [data-tooltip]::before,
.site-footer-social[data-tooltip]::before,
.price-pill[data-tooltip]::before,
.detail-rating[data-tooltip]::before,
.detail-engagement-stat[data-tooltip]::before {
  content: "";
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 50%;
  z-index: 81;
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(18, 18, 18, 0.94);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) rotate(45deg) translateY(4px);
  transition:
    opacity 140ms ease,
    transform 160ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 140ms ease;
}

.nav [data-tooltip]:hover::after,
.nav [data-tooltip]:focus-visible::after,
.detail-actions [data-tooltip]:hover::after,
.detail-actions [data-tooltip]:focus-visible::after,
.site-footer-social[data-tooltip]:hover::after,
.site-footer-social[data-tooltip]:focus-visible::after,
.price-pill[data-tooltip]:hover::after,
.price-pill[data-tooltip]:focus-visible::after,
.detail-rating[data-tooltip]:hover::after,
.detail-rating[data-tooltip]:focus-visible::after,
.detail-engagement-stat[data-tooltip]:hover::after,
.detail-engagement-stat[data-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav [data-tooltip]:hover::before,
.nav [data-tooltip]:focus-visible::before,
.detail-actions [data-tooltip]:hover::before,
.detail-actions [data-tooltip]:focus-visible::before,
.site-footer-social[data-tooltip]:hover::before,
.site-footer-social[data-tooltip]:focus-visible::before,
.price-pill[data-tooltip]:hover::before,
.price-pill[data-tooltip]:focus-visible::before,
.detail-rating[data-tooltip]:hover::before,
.detail-rating[data-tooltip]:focus-visible::before,
.detail-engagement-stat[data-tooltip]:hover::before,
.detail-engagement-stat[data-tooltip]:focus-visible::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) rotate(45deg) translateY(0);
}

.nav > .nav-icon-link:nth-last-child(-n + 2)[data-tooltip]::after {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(4px);
}

.nav > .nav-icon-link:nth-last-child(-n + 2)[data-tooltip]::before {
  left: auto;
  right: 0.85rem;
  transform: rotate(45deg) translateY(4px);
}

.nav > .nav-icon-link:nth-last-child(-n + 2)[data-tooltip]:hover::after,
.nav > .nav-icon-link:nth-last-child(-n + 2)[data-tooltip]:focus-visible::after {
  transform: translateX(0) translateY(0);
}

.nav > .nav-icon-link:nth-last-child(-n + 2)[data-tooltip]:hover::before,
.nav > .nav-icon-link:nth-last-child(-n + 2)[data-tooltip]:focus-visible::before {
  transform: rotate(45deg) translateY(0);
}

.nav-dd.is-open > [data-tooltip]::after,
.nav-dd.is-open > [data-tooltip]::before {
  opacity: 0 !important;
  visibility: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  .nav [data-tooltip]::after,
  .nav [data-tooltip]::before,
  .detail-actions [data-tooltip]::after,
  .detail-actions [data-tooltip]::before,
  .site-footer-social[data-tooltip]::after,
  .site-footer-social[data-tooltip]::before,
  .price-pill[data-tooltip]::after,
  .price-pill[data-tooltip]::before,
  .detail-rating[data-tooltip]::after,
  .detail-rating[data-tooltip]::before,
  .detail-engagement-stat[data-tooltip]::after,
  .detail-engagement-stat[data-tooltip]::before {
    transition: none;
  }
}

.nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
  color: #c8c8c8;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.nav-icon-link:hover,
.nav-icon-link:focus-visible {
  color: var(--link);
  background: rgba(228, 121, 9, 0.1);
}

.nav-cta-icon {
  color: var(--link);
}

.nav-cta-icon:hover,
.nav-cta-icon:focus-visible {
  color: #ff8f1f;
  background: rgba(228, 121, 9, 0.14);
}

body:has(.site-header-search) .search-bar.search-bar-lg {
  display: none;
}

.nav a,
.nav-dd-btn {
  text-decoration: none;
  color: #c8c8c8;
}

.nav a:hover,
.nav-dd-btn:hover,
.nav-dd.is-open .nav-dd-btn {
  color: var(--link);
}

.nav-cta,
.nav a.nav-cta {
  color: var(--link) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--link);
  padding-bottom: 0.1rem;
}

.nav-cta:hover,
.nav a.nav-cta:hover {
  color: #ff8f1f !important;
  border-bottom-color: #ff8f1f;
}

.nav-studio,
.nav a.nav-studio {
  color: inherit;
  font-weight: 500;
}

.nav-studio:hover,
.nav a.nav-studio:hover {
  color: var(--link);
}

.nav-dd {
  position: relative;
}

.nav-dd-btn {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 0.55rem;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 160ms ease, background 160ms ease;
}

.nav-dd-btn:hover,
.nav-dd.is-open .nav-dd-btn {
  color: var(--link);
  background: rgba(228, 121, 9, 0.1);
}

.nav-icon,
.nav-chevron {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: inherit;
}

.nav-icon-fill {
  fill: currentColor;
  stroke: none;
}

.nav-chevron {
  display: none;
}

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  left: auto;
  min-width: 14rem;
  padding: 0.45rem;
  background: #2b2b2b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.85rem;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.2),
    0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 50;
  display: grid;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 180ms ease,
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 180ms ease;
}

.nav-dd-menu::before {
  content: "";
  position: absolute;
  top: -0.4rem;
  right: 0.9rem;
  left: auto;
  width: 0.7rem;
  height: 0.7rem;
  background: #2b2b2b;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

.nav-dd.is-open .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nav-dd-menu a,
.nav .nav-dd-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  color: #c8c8c8;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 0;
  border-radius: 0.55rem;
  transition: color 140ms ease, background 140ms ease, padding-left 140ms ease;
}

.nav-dd-menu a::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(228, 121, 9, 0.35);
  flex: 0 0 auto;
  transition: background 140ms ease, transform 140ms ease;
}

.nav-dd-menu a:hover,
.nav .nav-dd-menu a:hover {
  background: rgba(228, 121, 9, 0.12);
  color: var(--link);
  padding-left: 0.95rem;
}

.nav-dd-menu a:hover::before,
.nav .nav-dd-menu a:hover::before {
  background: var(--link);
  transform: scale(1.25);
}

.nav-dd-menu .nav-dd-all,
.nav .nav-dd-menu .nav-dd-all {
  margin-top: 0.2rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 0.55rem 0.55rem;
  font-weight: 600;
  color: var(--link);
}

.nav-dd-menu .nav-dd-all:hover,
.nav .nav-dd-menu .nav-dd-all:hover {
  color: #ff8f1f;
  background: rgba(228, 121, 9, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .nav-dd-menu,
  .nav-dd-btn,
  .nav-chevron,
  .nav-dd-menu a {
    transition: none;
  }
}

.hero {
  position: relative;
  padding: 1.5rem;
  max-width: none;
  margin: 0;
  min-height: clamp(18rem, 42vh, 26rem);
  display: grid;
  align-items: end;
}

body.theme-galaxy .hero {
  min-height: clamp(34rem, 86vh, 48rem);
  align-items: stretch;
  padding: 1.5rem;
  margin: 0;
  grid-template-columns: minmax(0, 0.8fr) minmax(22rem, 1.45fr);
  gap: 1rem 1.25rem;
  overflow: visible;
}

body.theme-galaxy .hero-copy {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  background: none;
  align-self: center;
}

body.theme-galaxy .hero-orbit {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 26rem;
  height: auto;
  max-height: min(86vh, 46rem);
  margin: 0;
  align-self: center;
  justify-self: stretch;
  pointer-events: auto;
  isolation: isolate;
  overflow: visible;
}

@media (max-width: 800px) {
  body.theme-galaxy .hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
    padding: 1.25rem;
  }

  body.theme-galaxy .hero-orbit {
    width: min(100%, 34rem);
    max-height: none;
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    order: -1;
  }
}

.hero-scene {
  position: absolute;
  inset: -1rem -2% auto auto;
  right: -2%;
  left: auto;
  width: min(46rem, 62vw);
  height: min(30rem, 62vw);
  max-height: 34rem;
  pointer-events: auto;
  z-index: 0;
  mask-image: radial-gradient(circle at 50% 48%, #000 42%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 42%, transparent 78%);
}

@media (max-width: 800px) {
  .hero-scene {
    inset: -0.5rem 0 auto;
    width: 100%;
    height: min(20rem, 70vw);
    opacity: 0.7;
    mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

body.theme-galaxy .hero-scene {
  display: none;
}

body.theme-galaxy .brand {
  color: #f5f5f5;
}

body.theme-galaxy .brand:hover {
  color: var(--link);
}

body.theme-galaxy .nav a,
body.theme-galaxy .nav-dd-btn {
  color: #c8c8c8;
}

body.theme-galaxy .nav a:hover,
body.theme-galaxy .nav-dd-btn:hover,
body.theme-galaxy .nav-dd.is-open .nav-dd-btn {
  color: var(--link);
}

body.theme-galaxy .nav-cta,
body.theme-galaxy .nav a.nav-cta {
  color: var(--link) !important;
  border-bottom-color: var(--link);
}

body.theme-galaxy .nav-cta:hover,
body.theme-galaxy .nav a.nav-cta:hover {
  color: #ff8f1f !important;
  border-bottom-color: #ff8f1f;
}

body.theme-galaxy .nav-studio,
body.theme-galaxy .nav a.nav-studio {
  color: #c8c8c8;
}

body.theme-galaxy .nav-studio:hover,
body.theme-galaxy .nav a.nav-studio:hover {
  color: var(--link);
}

body.theme-galaxy .nav-dd-menu {
  background: #2b2b2b;
}

body.theme-galaxy .nav-dd-menu::before {
  background: #2b2b2b;
}

body.theme-galaxy .nav-dd-menu a,
body.theme-galaxy .nav .nav-dd-menu a {
  color: #c8c8c8;
}

body.theme-galaxy .nav-dd-menu a:hover,
body.theme-galaxy .nav .nav-dd-menu a:hover {
  color: var(--link);
  background: rgba(228, 121, 9, 0.12);
}

body.theme-galaxy .eyebrow {
  color: var(--steel);
}

body.theme-galaxy .hero h1,
body.theme-galaxy .hero-title {
  color: #f5f5f5;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

body.theme-galaxy .hero-title-typed {
  color: var(--link);
  text-shadow: none;
}

body.theme-galaxy .lede {
  color: var(--ink-muted);
  text-shadow: none;
}

body.theme-galaxy .section-head h2 {
  color: #f5f5f5;
}

body.theme-galaxy .inline-link {
  color: var(--link);
}

body.theme-galaxy .inline-link:hover {
  color: #ff8f1f;
}

body.theme-galaxy .skill-card {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

body.theme-galaxy .skill-card:hover {
  border-color: rgba(228, 121, 9, 0.55);
}

body.theme-galaxy .skill-meta {
  color: var(--steel);
}

body.theme-galaxy .skill-desc {
  color: var(--ink-muted);
}

body.theme-galaxy .empty-state {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--steel);
}

body.theme-galaxy .site-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: var(--steel);
}

body.theme-galaxy .site-footer-brand .site-footer-logo,
body.theme-galaxy .site-footer-col h3 {
  color: #f5f5f5;
}

body.theme-galaxy .site-footer-brand p,
body.theme-galaxy .site-footer-bottom p {
  color: var(--steel);
}

body.theme-galaxy .site-footer-col a,
body.theme-galaxy .site-footer-bottom a,
body.theme-galaxy .site-footer-legal a {
  color: var(--link);
}

body.theme-galaxy .site-footer-col a:hover,
body.theme-galaxy .site-footer-bottom a:hover,
body.theme-galaxy .site-footer-legal a:hover {
  color: #ff8f1f;
}

body.theme-galaxy .site-footer-social {
  color: var(--steel);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body.theme-galaxy .site-footer-social:hover {
  color: #ff8f1f;
  background: rgba(255, 143, 31, 0.12);
  border-color: rgba(255, 143, 31, 0.35);
}

body.theme-galaxy .site-footer-sponsor {
  color: var(--steel);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body.theme-galaxy .site-footer-sponsor:hover {
  color: #ff8f1f;
  background: rgba(255, 143, 31, 0.12);
  border-color: rgba(255, 143, 31, 0.35);
}

body.theme-galaxy .scene-label--category {
  background: #3a3a3a;
  color: #f0f0f0;
  border-color: rgba(228, 121, 9, 0.55);
}

body.theme-galaxy .scene-label--tag {
  background: #333333;
  color: #e47909;
  border-color: rgba(228, 121, 9, 0.4);
}

body.theme-galaxy .scene-label--category:hover,
body.theme-galaxy .scene-label--category:focus-visible {
  background: #404040;
  color: #e47909;
}

body.theme-galaxy .scene-label--tag:hover,
body.theme-galaxy .scene-label--tag:focus-visible {
  background: #3a3a3a;
  color: #ff8f1f;
}

.three-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

.three-label-layer {
  position: absolute !important;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

body.theme-galaxy .hero-orbit .three-canvas,
body.theme-galaxy .hero-orbit .three-label-layer {
  overflow: visible;
}

.scene-label {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  max-width: 9.5rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translate(-50%, -120%);
  border: 1px solid rgba(228, 121, 9, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  transition: transform 140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.scene-label--category {
  background: #3a3a3a;
  color: #f0f0f0;
  border-color: rgba(228, 121, 9, 0.55);
}

.scene-label--tag {
  background: #333333;
  color: #e47909;
  border-color: rgba(228, 121, 9, 0.4);
}

.scene-label:hover,
.scene-label:focus-visible {
  transform: translate(-50%, -120%) scale(1.06);
  outline: none;
}

.scene-label--category:hover,
.scene-label--category:focus-visible {
  background: #404040;
  color: #e47909;
  border-color: rgba(228, 121, 9, 0.75);
}

.scene-label--tag:hover,
.scene-label--tag:focus-visible {
  background: #3a3a3a;
  color: #ff8f1f;
  border-color: rgba(255, 143, 31, 0.65);
}

.browse-scene,
.explore-scene {
  position: absolute;
  inset: 0;
  min-height: 14rem;
  pointer-events: auto;
  z-index: 0;
  opacity: 0.85;
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}

.browse-hero,
.explore-hero {
  position: relative;
  overflow: visible;
  z-index: 5;
}

.browse-hero > *:not(.browse-scene),
.explore-hero > *:not(.explore-scene) {
  position: relative;
  z-index: 1;
}

.browse-hero > .browse-price-row,
.browse-hero > .browse-facet-row {
  z-index: 30;
}

.three-fallback {
  background:
    radial-gradient(circle at 30% 40%, rgba(61, 220, 151, 0.2), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(91, 141, 239, 0.16), transparent 45%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene,
  .browse-scene,
  .explore-scene {
    pointer-events: none;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

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

.eyebrow a:hover {
  color: var(--link);
}

.hero h1,
.hero-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-title {
  display: grid;
  gap: 0.12em;
  width: 100%;
  min-width: 0;
}

.hero-title-lead,
.hero-title-typed {
  display: block;
  min-height: 1.05em;
}

.hero-title-typed {
  color: var(--link);
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: visible;
}

.hero-title-typed [data-hero-typed] {
  white-space: nowrap;
}

.hero-typed-caret {
  display: inline-block;
  width: 0.08em;
  height: 0.85em;
  margin-left: 0.12em;
  vertical-align: -0.05em;
  background: currentColor;
  animation: hero-caret-blink 1s steps(1) infinite;
}

@keyframes hero-caret-blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-typed-caret {
    animation: none;
    opacity: 0.7;
  }
}

.lede {
  margin: 1rem 0 0;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 36rem;
}

.lede.is-swap {
  animation: hero-lede-fade 0.35s ease;
}

@keyframes hero-lede-fade {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lede.is-swap {
    animation: none;
  }
}

.catalog {
  margin-top: 0;
  margin-bottom: 3rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--steel);
}

.section-head-more {
  flex-shrink: 0;
  font-size: 0.9rem;
  white-space: nowrap;
}

.skill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.skill-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 160ms ease, transform 160ms ease;
}

.skill-card:hover {
  color: var(--ink);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.skill-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--steel);
}

.skill-name {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skill-desc {
  color: var(--ink-muted);
  line-height: 1.45;
}

.foot {
  margin-top: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--panel);
  color: var(--steel);
  font-size: 0.9rem;
}

.foot a {
  color: var(--ink);
}

.site-footer {
  margin-top: 0;
  padding: 2.5rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--steel);
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(10rem, 0.85fr) minmax(0, 2.6fr);
  gap: 1.25rem 1.35rem;
  align-items: start;
}

.site-footer-brand .site-footer-logo {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #f5f5f5;
  text-decoration: none;
}

.site-footer-brand p {
  margin: 0;
  max-width: 18rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--steel);
}

.site-footer-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}

.site-footer-col {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  min-width: 0;
}

.site-footer-col h3 {
  margin: 0 0 0.2rem;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5f5f5;
}

.site-footer-col a {
  color: var(--link);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.35;
  white-space: nowrap;
}

.site-footer-col a:hover {
  color: #ff8f1f;
}

.site-footer-lang {
  appearance: none;
  width: 100%;
  max-width: 11rem;
  margin: 0;
  padding: 0.45rem 2rem 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.45rem;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%23c8c8c8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      right 0.65rem center / 0.7rem no-repeat,
    rgba(255, 255, 255, 0.04);
  color: #f2f2f2;
  font-family: var(--body);
  font-size: 0.9rem;
  line-height: 1.35;
  cursor: pointer;
}

.site-footer-lang:hover,
.site-footer-lang:focus-visible {
  border-color: rgba(228, 121, 9, 0.45);
  outline: none;
}

.site-footer-lang option {
  color: #121212;
  background: #f5f5f5;
}

.site-footer-socials {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.45rem;
}

.site-footer-social {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.site-footer-social:hover {
  color: #ff8f1f;
  background: rgba(255, 143, 31, 0.12);
  border-color: rgba(255, 143, 31, 0.35);
}

.site-footer-social svg {
  display: block;
  flex-shrink: 0;
}

.site-footer-social .bi,
.site-footer-sponsor .bi {
  font-size: 1rem;
  line-height: 1;
}

.site-footer-icon-svg {
  display: inline-flex;
  width: 1em;
  height: 1em;
  font-size: 1rem;
  align-items: center;
  justify-content: center;
}

.site-footer-icon-svg svg {
  width: 1em;
  height: 1em;
  display: block;
}

.site-footer-subhead {
  margin-top: 0.85rem !important;
}

.site-footer-socials--bottom {
  margin-left: auto;
}

.site-footer-bottom .site-footer-social {
  width: 1.85rem;
  height: 1.85rem;
}

.site-footer-sponsors {
  display: grid;
  gap: 0.4rem;
  width: max-content;
  max-width: 100%;
}

.site-footer-sponsor {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 2.15rem;
  padding: 0.4rem 0.7rem;
  border-radius: 0.45rem;
  color: var(--steel) !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem !important;
  line-height: 1 !important;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.site-footer-sponsor span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-footer-sponsor:hover {
  color: #ff8f1f !important;
  background: rgba(255, 143, 31, 0.12);
  border-color: rgba(255, 143, 31, 0.35);
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: var(--steel);
}

.site-footer-bottom p {
  margin: 0;
}

.site-footer-bottom a {
  color: var(--link);
  text-decoration: none;
}

.site-footer-bottom a:hover {
  color: #ff8f1f;
}

.site-footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-footer-legal a {
  color: var(--link);
  text-decoration: none;
}

.site-footer-legal a:hover {
  color: #ff8f1f;
}

.legal {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.75rem 0 2.5rem;
  background: transparent;
  border: none;
  color: var(--ink);
}

.legal-head {
  margin: 0 0 1.75rem;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-head .breadcrumb {
  margin: 0 0 1rem;
}

.legal-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #f5f5f5;
}

.legal-meta {
  margin: 0.7rem 0 0;
  font-size: 0.86rem;
  color: var(--steel);
}

.legal-body > p:first-child {
  margin-top: 0;
}

.legal-body h2 {
  margin: 1.75rem 0 0.55rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f5f5f5;
}

.legal-body p,
.legal-body li {
  margin: 0.55rem 0 0;
  line-height: 1.6;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.legal-body ul {
  margin: 0.55rem 0 0;
  padding-left: 1.2rem;
}

.legal-body li + li {
  margin-top: 0.4rem;
}

.legal-body strong {
  color: #e8e8e8;
  font-weight: 600;
}

.legal-body a,
.legal a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}

.legal-body a:hover,
.legal a:hover {
  color: #ff8f1f;
}

.legal-contact {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-contact h2 {
  margin-top: 0;
}

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

@media (max-width: 900px) {
  .site-footer-main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 560px) {
  .site-footer-cols {
    grid-template-columns: 1fr;
  }

  .site-footer-socials {
    flex-wrap: wrap;
  }
}

/* Skill detail */
.skill-hero {
  padding: 1.5rem 0 1.25rem;
  max-width: 46rem;
}

.skill-hero h1 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}

.detail-hero {
  padding: 1.25rem 0 1.5rem;
  max-width: 52rem;
}

.crumb-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0 0 1.15rem;
  padding: 0.4rem 0.75rem 0.4rem 0.55rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}

.crumb-pill a {
  color: var(--link);
  text-decoration: none;
}

.crumb-pill a:hover {
  color: #f5f5f5;
}

.crumb-pill [aria-current="page"] {
  color: #f0f0f0;
}

.crumb-home {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.crumb-home svg {
  flex: 0 0 auto;
}

.crumb-sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.detail-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #f5f5f5;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.65rem;
  margin-top: 1rem;
}

.detail-rating {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #f5f5f5;
}

.detail-engagement {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #f5f5f5;
}

.detail-engagement[hidden] {
  display: none !important;
}

.detail-engagement-stat {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--steel);
}

.detail-engagement-icon {
  display: inline-flex;
  color: #f5f5f5;
  opacity: 0.9;
}

.detail-engagement-count {
  font-variant-numeric: tabular-nums;
  color: #f5f5f5;
}

.detail-rating[hidden] {
  display: none !important;
}

.detail-store-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.detail-store-btn {
  color: var(--link);
}

.detail-store-btn:hover,
.detail-store-btn:focus-visible {
  color: #ff8f1f;
  border-color: rgba(228, 121, 9, 0.55);
}

.detail-store-gumroad {
  color: #ff90e8;
}

.detail-store-gumroad:hover,
.detail-store-gumroad:focus-visible {
  color: #ffb3f0;
  border-color: rgba(255, 144, 232, 0.55);
}

.detail-store-sketchfab {
  color: #1caad9;
}

.detail-store-sketchfab:hover,
.detail-store-sketchfab:focus-visible {
  color: #4ec4ea;
  border-color: rgba(28, 170, 217, 0.55);
}

.detail-store-shutterstock {
  color: #ee2b24;
}

.detail-store-shutterstock:hover,
.detail-store-shutterstock:focus-visible {
  color: #ff524c;
  border-color: rgba(238, 43, 36, 0.55);
}

.detail-store-letter {
  display: grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.detail-store-list a {
  color: var(--link);
}

.detail-store-sep {
  color: var(--steel);
}

.detail-gumroad-btn {
  color: #ff90e8;
}

.detail-gumroad-btn:hover,
.detail-gumroad-btn:focus-visible {
  color: #ffb3f0;
  border-color: rgba(255, 144, 232, 0.55);
}

.product-cover {
  margin: 0 0 1.25rem;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141414;
  aspect-ratio: 16 / 9;
  max-width: 40rem;
}

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

.product-embed {
  margin: 0 0 1.25rem;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d0d;
  aspect-ratio: 16 / 9;
  max-width: 48rem;
  position: relative;
}

.product-embed[hidden],
.product-cover[hidden] {
  display: none !important;
}

.product-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0d0d0d;
}

.detail-media-gallery {
  margin-top: 1.25rem;
  max-width: 52rem;
}

.detail-media-gallery[hidden] {
  display: none !important;
}

.detail-media-stage-wrap {
  position: relative;
}

.detail-media-stage {
  position: relative;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d0d0d;
  aspect-ratio: 16 / 9;
}

.detail-media-nav {
  appearance: none;
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 12, 12, 0.72);
  color: #f5f5f5;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.detail-media-nav:hover,
.detail-media-nav:focus-visible {
  background: rgba(228, 121, 9, 0.92);
  border-color: rgba(228, 121, 9, 0.95);
  color: #0a0a0a;
  outline: none;
}

.detail-media-nav[hidden] {
  display: none !important;
}

.detail-media-prev {
  left: 0.65rem;
}

.detail-media-next {
  right: 0.65rem;
}

.detail-media-frame,
.detail-media-video,
.detail-media-image {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0d0d0d;
}

.detail-media-image,
.detail-media-video {
  object-fit: contain;
}

.detail-media-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.65rem auto 0;
  padding: 0.2rem 0.65rem;
  min-width: 2.6rem;
  width: fit-content;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.detail-media-gallery .detail-media-counter {
  display: flex;
}

.detail-media-counter[hidden] {
  display: none !important;
}

.detail-media-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  -webkit-overflow-scrolling: touch;
}

.detail-media-thumbs[hidden] {
  display: none !important;
}

.detail-media-thumb {
  appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 5.5rem;
  height: 3.1rem;
  padding: 0;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: #171717;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  overflow: hidden;
}

.detail-media-thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(228, 121, 9, 0.45);
}

.detail-media-thumb-badge,
.detail-media-thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.detail-overview-pills {
  margin: 1.15rem 0 0;
}

.detail-panel .detail-lede {
  margin-top: 0;
  max-width: 48rem;
}

.detail-panel [data-detail-overview]:empty {
  display: none;
}

.detail-includes {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.detail-includes li + li {
  margin-top: 0.35rem;
}

.detail-about-list {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.55rem 1rem;
  margin: 0.75rem 0 1.25rem;
  align-items: baseline;
}

.detail-about-list dt {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--steel);
}

.detail-about-list dd {
  margin: 0;
  color: #f0f0f0;
}

.detail-license-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--link);
  font: inherit;
  font-size: inherit;
  text-decoration: none;
  cursor: pointer;
}

.detail-license-link:hover,
.detail-license-link:focus-visible {
  color: #ff8f1f;
  outline: none;
}

body.license-popup-open {
  overflow: hidden;
}

.license-popup-root {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.license-popup-root[hidden] {
  display: none;
}

.license-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.license-popup {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  padding: 1.15rem 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  background: #1a1c1f;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  color: #f0f0f0;
}

.license-popup:focus {
  outline: none;
}

.license-popup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.license-popup-title {
  margin: 0;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f5f5f5;
}

.license-popup-close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: -0.2rem -0.25rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--steel);
  cursor: pointer;
}

.license-popup-close:hover,
.license-popup-close:focus-visible {
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.license-popup-body {
  margin: 0;
}

.license-popup-type {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.license-popup-summary {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--steel);
}

.detail-author {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 500;
}

.detail-author:hover {
  color: #f5f5f5;
}

.detail-avatar {
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(228, 121, 9, 0.2);
  border: 1px solid rgba(228, 121, 9, 0.35);
  color: #f5f5f5;
  font-family: var(--display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.detail-star {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--surface);
  color: #f0f0f0;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.detail-star:hover {
  border-color: rgba(228, 121, 9, 0.45);
  color: var(--link);
}

.detail-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.detail-save-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.detail-save-count {
  position: relative;
  min-width: 0.9rem;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}

.detail-save-wrap:has(.detail-icon-btn.is-saved) .detail-save-count {
  color: var(--accent);
}

.detail-icon-btn {
  appearance: none;
  position: relative;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--steel);
  text-decoration: none;
  cursor: pointer;
  border-radius: 0.4rem;
}

.detail-icon-btn:hover,
.detail-icon-btn:focus-visible {
  background: rgba(228, 121, 9, 0.12);
  border-color: rgba(228, 121, 9, 0.35);
  color: var(--link);
  outline: none;
}

.detail-icon-btn.is-saved {
  color: var(--accent);
}

.detail-icon-btn.is-saved svg {
  fill: currentColor;
  stroke: currentColor;
}

.detail-lede {
  margin-top: 1.15rem;
  max-width: 40rem;
  color: var(--ink-muted);
}

.detail-hero .pill-row {
  margin-top: 0.95rem;
}

.detail-hero .detail-lede,
.detail-hero > .pill-row {
  display: none;
}

.detail-tabs {
  margin: 0.5rem 0 2rem;
}

.detail-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.25rem;
  background: transparent;
}

.detail-tab {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 0.65rem 0 0.85rem;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--steel);
}

.detail-tab:hover {
  color: #f5f5f5;
}

.detail-tab.is-active {
  color: var(--link);
  background: transparent;
  border-color: transparent;
}

.detail-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--link);
}

.detail-tab:focus-visible {
  outline: 2px solid rgba(228, 121, 9, 0.45);
  outline-offset: 2px;
}

.detail-panel {
  display: none;
  max-width: 52rem;
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.65rem;
  color: var(--ink);
}

.detail-panel.is-active {
  display: block;
}

.detail-panel h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #f5f5f5;
}

.detail-panel h3 {
  margin: 1.25rem 0 0.45rem;
  font-family: var(--display);
  font-size: 1.05rem;
  color: #f5f5f5;
}

.detail-panel p,
.detail-panel li {
  line-height: 1.55;
  color: var(--ink-muted);
}

.detail-panel ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.detail-highlights {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-muted);
}

.detail-highlights li {
  margin: 0.35rem 0;
  line-height: 1.5;
}

.detail-panel code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 0.1rem 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.25rem;
  color: #f5f5f5;
}

.detail-note {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: var(--steel);
}

.detail-note a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 121, 9, 0.45);
}

.detail-note a:hover {
  color: #ff8f1f;
}

.detail-panel .install {
  margin: 1rem 0 1.25rem;
}

.detail-panel .server-grid {
  margin-top: 1rem;
}

.detail-panel .panel h3 {
  margin-top: 0;
}

.detail-loading {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  max-width: 46rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 0.28rem 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--steel);
}

a.pill-link {
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
  color: var(--steel);
}

a.price-pill.pill-link {
  color: var(--accent);
  border-color: rgba(255, 255, 255, 0.14);
}

a.pill-link:hover,
a.pill-link:focus-visible {
  border-color: rgba(228, 121, 9, 0.5);
  background: rgba(228, 121, 9, 0.12);
  color: var(--link);
  outline: none;
}

a.price-pill.pill-link:hover,
a.price-pill.pill-link:focus-visible {
  color: var(--link);
}

.install {
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.2rem;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.55rem;
  color: #f0f0f0;
}

.install-label {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}

.install-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
}

.install code {
  flex: 1 1 16rem;
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.45;
  color: #f5f5f5;
}

.copy-btn {
  appearance: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.4rem;
  background: var(--accent);
  color: #1a1a1a;
}

.copy-btn:hover {
  filter: brightness(1.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.content {
  display: grid;
  gap: 1.5rem;
  max-width: 52rem;
}

.content h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.2rem;
  color: #f5f5f5;
}

.content p,
.content li {
  line-height: 1.55;
  color: var(--ink-muted);
}

.content ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.skill-md {
  margin: 0.75rem 0 0;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.55rem;
  color: #f0f0f0;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

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

.catalog-grid[data-home-catalog] {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.catalog-grid[data-home-catalog] .asset-card-media {
  aspect-ratio: 16 / 11;
}

.catalog-grid[data-home-catalog] .asset-card-body {
  padding: 0.55rem 0.65rem 0.7rem;
  gap: 0.25rem;
}

.catalog-grid[data-home-catalog] .asset-card-title {
  font-size: 0.88rem;
  line-height: 1.25;
}

.catalog-grid[data-home-catalog] .asset-card-cat {
  font-size: 0.62rem;
  padding: 0.18rem 0.42rem 0.18rem 0.28rem;
  gap: 0.22rem;
}

.catalog-grid[data-home-catalog] .asset-card-cat-icon {
  width: 0.85rem;
  height: 0.85rem;
}

.catalog-grid[data-home-catalog] .asset-card-cat-icon .category-icon-svg {
  width: 0.72rem;
  height: 0.72rem;
}

.catalog-grid[data-home-catalog] .asset-card-author,
.catalog-grid[data-home-catalog] .asset-card-ago,
.catalog-grid[data-home-catalog] .asset-card-price {
  font-size: 0.72rem;
}

@media (max-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-grid[data-home-catalog] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-grid[data-home-catalog] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .catalog-grid[data-home-catalog] {
    grid-template-columns: 1fr;
  }
}

.store-card .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.store-card .pill {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
}

.store-card .pill-dark {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.card-stars {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--steel);
}

.card-metrics {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.category-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.category-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon name"
    "icon count";
  column-gap: 0.75rem;
  row-gap: 0.2rem;
  padding: 1rem 1.05rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 140ms ease, transform 140ms ease, color 140ms ease;
}

.category-card:hover {
  border-color: var(--link);
  color: var(--ink);
  transform: translateY(-1px);
}

.category-icon {
  grid-area: icon;
  width: 2rem;
  height: 2rem;
  margin-top: 0.05rem;
  display: grid;
  place-items: center;
  background: #2e2e2e;
  border: 1px solid rgba(228, 121, 9, 0.4);
  color: var(--link);
  border-radius: 0.35rem;
}

.category-icon-svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.category-card:hover .category-icon {
  border-color: var(--link);
  color: #ff8f1f;
  background: #3a3a3a;
}

.category-name {
  grid-area: name;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: #f0f0f0;
}

.category-count {
  grid-area: count;
  font-size: 0.86rem;
  color: var(--steel);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
}

.chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface);
  color: var(--steel);
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  text-decoration: none;
}

.chip:hover,
.chip.is-active {
  border-color: var(--link);
  color: var(--link);
  background: #404040;
}

.chip-more {
  display: inline-flex;
  align-items: center;
}

.pager {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.pager-meta {
  margin: 0;
  color: var(--steel);
  font-size: 0.88rem;
}

.pager-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}

.pager-btn {
  appearance: none;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface);
  color: var(--steel);
  font-family: var(--body);
  font-size: 0.88rem;
  cursor: pointer;
}

.pager-btn:hover:not(:disabled) {
  border-color: var(--link);
  color: var(--link);
}

.pager-btn.is-active {
  background: rgba(228, 121, 9, 0.18);
  border-color: var(--link);
  color: var(--link);
}

.pager-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.server-card {
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon name"
    "icon desc"
    "icon foot";
  column-gap: 0.85rem;
  align-items: start;
}

.server-card-icon {
  grid-area: icon;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--ink);
  color: var(--accent);
  margin-top: 0.15rem;
}

.server-card .skill-name { grid-area: name; }
.server-card .skill-desc { grid-area: desc; }
.server-card .card-foot { grid-area: foot; }

.server-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
  padding: 1.5rem 0 0.5rem;
  max-width: 48rem;
}

.server-badge {
  width: 4.25rem;
  height: 4.25rem;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  background: var(--ink);
  color: var(--accent);
}

.byline {
  margin: 0.45rem 0 0;
  color: var(--steel);
  font-size: 0.95rem;
}

.byline a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.panel {
  padding: 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.55rem;
  color: var(--ink);
}

.panel h2,
.panel h3 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #f5f5f5;
}

.feature-list,
.usecase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.feature-list li,
.usecase-list li {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.65rem;
  align-items: start;
  line-height: 1.45;
  color: var(--ink-muted);
}

.feature-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--link);
  padding-top: 0.1rem;
}

.detail-panel .panel {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.08);
}

.content code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--panel);
  padding: 0.1rem 0.35rem;
}

.inline-link {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}

.inline-link:hover {
  color: #ff8f1f;
}

.browse-hero {
  text-align: center;
  padding: 2rem 0 1.5rem;
  max-width: none;
  width: 100%;
  margin: 0;
  min-height: 16rem;
}

.browse-hero .breadcrumb {
  text-align: left;
}

.browse-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.browse-hero .title-soft {
  font-weight: 400;
  color: var(--steel);
}

.browse-hero .lede {
  margin: 0.85rem auto 0;
  max-width: 34rem;
  color: var(--ink-muted);
}

.browse-hero .search-bar-lg {
  width: min(100%, 36rem);
  margin: 1.5rem auto 0;
}

.browse-hero .chip-row-scroll {
  justify-content: center;
  margin-top: 1.25rem;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.browse-hero .chip-row-scroll::-webkit-scrollbar {
  height: 4px;
}

.browse-hero .chip-row-scroll::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
}

.chip-scroll-outer {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin-top: 1.25rem;
  overflow: hidden;
}

.chip-scroll-tags {
  margin-top: 0.55rem;
}

.chip-tag {
  border-style: dashed;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--link);
  background: rgba(228, 121, 9, 0.12);
  border: 1px solid rgba(228, 121, 9, 0.35);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  line-height: 1.2;
}

.tag-more {
  background: transparent;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--steel);
}

.taxonomy-block {
  margin-bottom: 2rem;
}

.taxonomy-title {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.tag-card .category-icon {
  background: #2e2e2e;
  border-color: rgba(228, 121, 9, 0.45);
  color: var(--link);
}

.tag-card:hover .category-icon {
  background: #3a3a3a;
  color: #ff8f1f;
}

.browse-hero .chip-scroll-outer {
  margin-top: 1.25rem;
}

.explore-hero .chip-scroll-outer {
  justify-content: flex-start;
  margin-top: 1rem;
}

.chip-scroll {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  margin: 0;
  padding: 0.2rem 0.15rem 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.chip-scroll::-webkit-scrollbar {
  height: 4px;
}

.chip-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.chip-scroll::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 999px;
}

.chip-browse {
  appearance: none;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface);
  color: var(--steel);
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.chip-browse:hover {
  border-color: rgba(228, 121, 9, 0.45);
  color: var(--link);
  background: #404040;
}

.chip-browse.is-active,
.chip-browse.is-active:hover {
  background: rgba(228, 121, 9, 0.18);
  border-color: var(--link);
  color: var(--link);
}

.chip-soft {
  appearance: none;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface);
  color: var(--steel);
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.chip-soft:hover {
  background: #404040;
  border-color: rgba(228, 121, 9, 0.4);
  color: var(--link);
}

.chip-soft.is-active,
.chip-soft.is-active:hover {
  background: rgba(228, 121, 9, 0.18);
  border-color: var(--link);
  color: var(--link);
}

.browse-card {
  display: grid;
  gap: 0.55rem;
  border-radius: 0.65rem;
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.1);
  padding: 1.15rem 1.2rem;
  min-height: 100%;
  color: var(--ink);
}

.browse-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.browse-card-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.4rem;
  background: #2e2e2e;
  color: var(--link);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  border: 1px solid rgba(228, 121, 9, 0.35);
}

.browse-card-ext {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1;
}

.browse-card .skill-name {
  font-size: 1.02rem;
}

.browse-card .skill-desc {
  min-height: 3.2em;
}

.browse-card .card-foot {
  margin-top: auto;
  padding-top: 0.25rem;
}

.asset-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  transition: border-color 160ms ease, transform 160ms ease;
}

.asset-card:hover {
  color: var(--ink);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.asset-card-rank {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  left: 0.65rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.asset-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #141414;
  overflow: hidden;
}

.asset-card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.asset-card-media-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--accent);
  background:
    linear-gradient(160deg, rgba(228, 121, 9, 0.16), transparent 55%),
    #1a1a1a;
}

.asset-card-media-empty .asset-card-media-fallback {
  position: relative;
  min-height: 100%;
}

.asset-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.85rem 0.95rem 1rem;
  flex: 1 1 auto;
}

.asset-card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-self: flex-start;
  max-width: 100%;
}

.asset-card-cat {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  max-width: 100%;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.35rem;
  padding: 0.22rem 0.5rem 0.22rem 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.asset-card-cat-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  color: #f5f5f5;
}

.asset-card-cat-icon .category-icon-svg {
  width: 0.85rem;
  height: 0.85rem;
  display: block;
}

.asset-card-cat-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.asset-card-title {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #f5f5f5;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-card-rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #f5f5f5;
}

.asset-stars {
  letter-spacing: 0.04em;
  color: #f5f5f5;
  font-size: 0.72rem;
  line-height: 1;
}

.asset-score {
  font-weight: 600;
}

.asset-reviews {
  color: var(--steel);
}

.asset-card-rating-empty .asset-stars,
.asset-card-rating-empty .asset-score {
  color: var(--steel);
}

.asset-card-rating-count .asset-stars,
.detail-rating.asset-card-rating-count .asset-stars {
  letter-spacing: 0;
  font-size: 0.85rem;
}

.asset-card-rating-count .asset-score[hidden],
.detail-rating.asset-card-rating-count .asset-score[hidden] {
  display: none !important;
}

.asset-card-author {
  font-size: 0.88rem;
  color: var(--steel);
  line-height: 1.3;
}

.asset-card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.asset-card-ago {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--steel);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.asset-card-ago-empty {
  visibility: hidden;
}

.asset-card-price {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f5f5f5;
}

.catalog-grid > li:has(.asset-card) {
  display: flex;
}

.catalog-grid .asset-card {
  width: 100%;
}

.search-bar-lg {
  position: relative;
  display: block;
  box-sizing: border-box;
  margin: 1.35rem auto 0;
  width: min(100%, 36rem);
  max-width: 100%;
  background: transparent;
}

.search-bar-lg .search-icon {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.15rem;
  height: 1.15rem;
  color: var(--steel);
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 1;
}

.search-bar-lg .search-icon svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
}

.search-bar-lg input,
.search-bar-lg input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 3rem;
  margin: 0;
  padding: 0 1.15rem 0 2.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.25;
  color: #f0f0f0;
  caret-color: var(--link);
}

.search-bar-lg input::-webkit-search-decoration,
.search-bar-lg input::-webkit-search-cancel-button,
.search-bar-lg input::-webkit-search-results-button,
.search-bar-lg input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.search-bar-lg input::placeholder {
  color: #8a8a8a;
}

.search-bar-lg input:focus {
  outline: 2px solid rgba(228, 121, 9, 0.45);
  outline-offset: 1px;
  border-color: var(--link);
  background: #404040;
}

.chip-row-scroll {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.1rem;
  max-width: 100%;
  overflow-x: auto;
  flex-wrap: nowrap;
  gap: 0.5rem;
  padding: 0.2rem 0 0.45rem;
  -webkit-overflow-scrolling: touch;
}

.chip-row-scroll .chip {
  flex: 0 0 auto;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.chip-row-scroll .chip.is-active,
.chip-row-scroll .chip.is-active:hover {
  background: rgba(228, 121, 9, 0.18);
  border-color: var(--link);
  color: var(--link);
}

.explore-hero {
  position: relative;
  padding: 1.1rem 0 0.35rem;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 14rem;
}

.breadcrumb {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--steel);
  text-align: left;
}

.breadcrumb a {
  color: var(--link);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #ff8f1f;
}

.breadcrumb span {
  margin: 0 0.35rem;
  color: #777;
}

.breadcrumb [aria-current="page"] {
  color: #f0f0f0;
  font-weight: 500;
}

.browse-hero .breadcrumb,
.list-hero .breadcrumb {
  margin-bottom: 1rem;
}

.skill-hero .breadcrumb,
.server-hero-wrap .breadcrumb {
  margin-bottom: 0.85rem;
}

.server-hero-wrap {
  padding-top: 0.25rem;
}

.kind-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.kind-tab {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--steel);
  padding: 0.35rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
}

.kind-tab:hover {
  color: var(--link);
  border-color: rgba(228, 121, 9, 0.35);
  background: var(--surface);
}

.kind-tab.is-active {
  color: var(--link);
  background: rgba(228, 121, 9, 0.14);
  border-color: var(--link);
}

.kind-tabs-line {
  gap: 1.75rem;
  margin: 0 0 1.35rem;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.kind-tabs-line .kind-tab {
  position: relative;
  padding: 0.45rem 0 0.85rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--steel);
}

.kind-tabs-line .kind-tab:hover {
  color: var(--link);
  background: transparent;
  border: 0;
}

.kind-tabs-line .kind-tab.is-active {
  color: var(--link);
  background: transparent;
  border: 0;
}

.kind-tabs-line .kind-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--link);
}

.kind-tabs-stack {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.kind-tabs-stack .kind-tab {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  background: transparent;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  box-sizing: border-box;
}

.kind-tabs-stack .kind-tab:hover {
  color: var(--link);
  background: rgba(228, 121, 9, 0.1);
  border-color: rgba(228, 121, 9, 0.28);
}

.kind-tabs-stack .kind-tab.is-active {
  color: var(--link);
  background: rgba(228, 121, 9, 0.14);
  border-color: rgba(228, 121, 9, 0.4);
}

.kind-tabs-stack .kind-tab.is-active::after {
  display: none;
}

.browse-price-row,
.browse-facet-row {
  position: relative;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin: 0.85rem 0 0;
  overflow: visible;
}

.browse-facet-left,
.browse-facet-center,
.browse-facet-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.browse-facet-left,
.browse-facet-right {
  flex: 1 1 12rem;
}

.browse-facet-center {
  flex: 0 1 auto;
  justify-content: center;
  min-width: 0;
  text-align: center;
}

.browse-facet-right {
  justify-content: flex-end;
  margin-left: 0;
}

.facet-results-meta {
  margin: 0;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .browse-facet-left,
  .browse-facet-right {
    flex: 1 1 100%;
  }

  .browse-facet-center {
    order: -1;
    flex: 1 1 100%;
  }

  .browse-facet-right {
    justify-content: flex-start;
  }

  .facet-results-meta {
    white-space: normal;
  }
}

.price-filter-unity {
  position: relative;
  z-index: 31;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: visible;
}

.price-filter-unity.is-open {
  z-index: 120;
}

.price-filter-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.48rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  color: #ececec;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.price-filter-trigger:hover,
.price-filter-unity.is-open .price-filter-trigger {
  border-color: rgba(228, 121, 9, 0.5);
  color: var(--link);
  background: rgba(228, 121, 9, 0.1);
}

.price-filter-trigger.is-active {
  border-color: rgba(228, 121, 9, 0.55);
  color: var(--link);
  background: rgba(228, 121, 9, 0.12);
}

.price-filter-chevron {
  width: 0.7rem;
  height: 0.5rem;
  flex: 0 0 auto;
  opacity: 0.75;
  transition: transform 160ms ease;
}

.price-filter-unity.is-open .price-filter-chevron {
  transform: rotate(180deg);
}

.price-filter-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 15rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  background: #2f2f2f;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.2),
    0 18px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 0.15rem;
}

.price-filter-panel[hidden] {
  display: none !important;
}

.price-filter-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  color: #f0f0f0;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.price-filter-option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.price-filter-option input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--link);
  cursor: pointer;
}

.price-filter-option-icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: #c8c8c8;
}

.price-filter-option-icon-empty {
  opacity: 0.55;
}

.price-filter-option-label {
  min-width: 0;
  flex: 1 1 auto;
}

.price-filter-option-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  margin-left: auto;
  padding: 0.12rem 0.4rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--steel);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.price-filter-option.is-empty {
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
}

.price-filter-option.is-empty:hover {
  background: transparent;
}

.price-filter-option.is-empty .price-filter-option-count {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.28);
}

.price-filter-option.is-empty input:disabled {
  opacity: 0.35;
  cursor: default;
}

.price-filter-clear-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0.2rem 0 0;
  padding: 0.45rem 0.55rem;
  border: 0;
  background: transparent;
  color: var(--link);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.price-filter-clear-link:hover {
  color: #ff8f1f;
}

.price-filter-clear-link[hidden] {
  display: none !important;
}

.browse-clear-filters {
  appearance: none;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.45rem 0.15rem;
  border: 0;
  background: transparent;
  color: var(--link);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
}

.browse-clear-filters:hover {
  color: #ff8f1f;
}

.browse-clear-filters[hidden] {
  display: none !important;
}

.sort-filter-unity {
  position: relative;
  z-index: 31;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  overflow: visible;
}

.sort-filter-unity.is-open {
  z-index: 120;
}

.sort-filter-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.48rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  color: #ececec;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.sort-filter-trigger:hover,
.sort-filter-unity.is-open .sort-filter-trigger {
  border-color: rgba(228, 121, 9, 0.5);
  color: var(--link);
  background: rgba(228, 121, 9, 0.1);
}

.sort-filter-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: max-content;
  min-width: 13.5rem;
  max-width: min(20rem, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.7rem;
  background: #2f2f2f;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.2),
    0 18px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 0.1rem;
}

.sort-filter-panel.price-filter-panel {
  width: max-content;
}

.sort-filter-panel[hidden] {
  display: none !important;
}

.sort-filter-option {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: #e8e8e8;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.sort-filter-option:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--link);
}

.sort-filter-option.is-active {
  background: rgba(228, 121, 9, 0.14);
  color: var(--link);
  font-weight: 600;
}

.search-bar-explore {
  width: 100%;
  max-width: none;
  margin: 0;
}

.search-bar-explore input,
.search-bar-explore input[type="search"] {
  height: 3.15rem;
  padding: 0 1.25rem 0 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.search-bar-explore .search-icon {
  left: 1.1rem;
}

.discover-card {
  display: grid;
  gap: 0.65rem;
  position: relative;
  border-radius: 0.75rem;
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--ink);
}

.discover-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.discover-head .server-card-icon {
  grid-area: auto;
  width: 2rem;
  height: 2rem;
  margin-top: 0;
  border-radius: 999px;
  font-size: 0.72rem;
}

.discover-head .skill-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discover-ext {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1;
}

.pill-dark {
  background: rgba(228, 121, 9, 0.18);
  border-color: rgba(228, 121, 9, 0.4);
  color: var(--link);
}

.card-metric {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--steel);
  margin-left: auto;
}

.range-toggle {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 1.15rem;
  padding: 0.25rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.range-btn {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--steel);
  padding: 0.45rem 0.9rem;
}

.range-btn:hover {
  color: var(--link);
}

.range-btn.is-active {
  background: rgba(228, 121, 9, 0.18);
  color: var(--link);
}

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

.top-grid > li {
  display: flex;
  min-width: 0;
}

.top-grid .asset-card {
  width: 100%;
  min-height: 100%;
}

.top-grid .asset-card-media {
  aspect-ratio: 16 / 10;
}

.top-grid .asset-card-title {
  min-height: 0;
}

.top-card {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.75rem;
  padding: 1.05rem 1.1rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--panel);
  transition: border-color 140ms ease, transform 140ms ease;
  min-height: 100%;
}

.top-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.top-rank {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--steel);
  padding-top: 0.35rem;
}

.top-main {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.top-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.top-avatar {
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
}

.top-head .skill-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-votes {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--steel);
}

@media (max-width: 900px) {
  .top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.list-hero h1 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.subnav a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--steel);
  padding: 0.4rem 0.7rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.4rem;
}

.subnav a[aria-current="page"] {
  color: var(--link);
  border-color: rgba(228, 121, 9, 0.45);
  background: rgba(228, 121, 9, 0.12);
}

.search-bar:not(.search-bar-lg) {
  margin: 0.5rem 0 1.25rem;
}

.search-bar:not(.search-bar-lg) input {
  width: min(100%, 28rem);
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  background: var(--surface);
  font-family: var(--body);
  font-size: 0.95rem;
  color: #f0f0f0;
  caret-color: var(--link);
}

.search-bar:not(.search-bar-lg) input::placeholder {
  color: #8a8a8a;
}

.search-bar:not(.search-bar-lg) input:focus {
  outline: 2px solid rgba(228, 121, 9, 0.45);
  outline-offset: 1px;
  border-color: var(--link);
  background: #404040;
}

.cat-block {
  margin-bottom: 1.75rem;
}

.cat-block h3 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.cat-count {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--steel);
  font-weight: 500;
}

.empty-state {
  padding: 1.2rem;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--panel);
  list-style: none;
}

.empty-state code {
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--ink);
}

.saved-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.saved-item {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.saved-link {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.2rem;
  color: inherit;
  text-decoration: none;
}

.saved-title {
  font-weight: 600;
  color: var(--ink);
}

.saved-url {
  font-size: 0.8rem;
  color: var(--steel);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-remove {
  appearance: none;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--steel);
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.saved-remove:hover,
.saved-remove:focus-visible {
  color: var(--link);
  border-color: rgba(228, 121, 9, 0.35);
}

.share-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 80;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(18, 24, 32, 0.92);
  color: #f4f7fb;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.detail-icon-btn.is-shared {
  color: var(--link);
}

.share-anchor {
  position: relative;
}

.share-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 70;
  min-width: 11.5rem;
  padding: 0.35rem;
  background: #2e2e2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.55rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.share-menu[hidden] {
  display: none;
}

.share-menu-item {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: #f0f0f0;
  text-decoration: none;
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.share-menu-item:hover,
.share-menu-item:focus-visible {
  background: rgba(228, 121, 9, 0.14);
  color: var(--link);
  outline: none;
}

.share-menu-item svg {
  flex: 0 0 auto;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

@media (max-width: 640px) {
  .nav-cta {
    display: none;
  }
}

/* —— Mobile layout —— */
.nav-toggle {
  display: none;
  appearance: none;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(46, 46, 46, 0.92);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.5rem;
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex: 0 0 auto;
  align-self: center;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(228, 121, 9, 0.45);
  outline: none;
}

.nav-toggle-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 1.05rem;
  height: 1.5px;
  margin: 0;
  border-radius: 1px;
  background: #f0f0f0;
  transform: translate(-50%, -50%);
  transition: transform 200ms ease, opacity 160ms ease, background 160ms ease;
  pointer-events: none;
}

.nav-toggle-bar:nth-child(1) {
  transform: translate(-50%, calc(-50% - 5px));
}

.nav-toggle-bar:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nav-toggle-bar:nth-child(3) {
  transform: translate(-50%, calc(-50% + 5px));
}

.top.is-nav-open .nav-toggle {
  border-color: rgba(228, 121, 9, 0.4);
}

.top.is-nav-open .nav-toggle-bar {
  background: var(--link, #e47909);
}

.top.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.top.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0.4);
}

.top.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 860px) {
  .page {
    width: 100%;
    padding: 0;
  }

  .page > :not(.top):not(.site-footer):not(footer):not(.browse-shell) {
    width: min(100% - 1.25rem, var(--max));
  }

  .page > .top,
  .top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "search search"
      "nav nav";
    gap: 0.65rem;
    margin: 0;
    padding: 0.65rem 1rem;
  }

  .page > .top .brand,
  .brand {
    grid-area: brand;
    font-size: 1rem;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .page > .top .site-header-search,
  .site-header-search {
    grid-area: search;
    max-width: none;
  }

  .page > .top .nav-toggle,
  .nav-toggle {
    grid-area: toggle;
  }

  .page > .top .nav,
  .nav {
    grid-area: nav;
  }

  .site-header-search {
    grid-area: search;
    max-width: none;
    margin: 0;
  }

  .nav-toggle {
    grid-area: toggle;
    display: block;
    margin-left: 0;
    justify-self: end;
  }

  .nav {
    grid-area: nav;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.55rem 0 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .top.is-nav-open .nav {
    display: flex;
  }

  .nav-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .nav [data-tooltip]::after,
  .nav [data-tooltip]::before,
  .detail-actions [data-tooltip]::after,
  .detail-actions [data-tooltip]::before,
  .site-footer-social[data-tooltip]::after,
  .site-footer-social[data-tooltip]::before,
  .price-pill[data-tooltip]::after,
  .price-pill[data-tooltip]::before,
  .detail-rating[data-tooltip]::after,
  .detail-rating[data-tooltip]::before,
  .detail-engagement-stat[data-tooltip]::after,
  .detail-engagement-stat[data-tooltip]::before {
    display: none;
  }

  .nav-cta,
  .nav a.nav-cta,
  .nav-studio,
  .nav a.nav-studio,
  .nav-icon-link {
    display: inline-flex;
    width: fit-content;
    height: auto;
    margin: 0.25rem 0.35rem 0.15rem;
    padding: 0.45rem 0.7rem;
    gap: 0.5rem;
  }

  .nav-dd {
    width: 100%;
  }

  .nav-dd-btn {
    width: 100%;
    height: auto;
    justify-content: flex-start;
    padding: 0.45rem 0.7rem;
    gap: 0.5rem;
  }

  .nav-dd-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 0.35rem;
    transform: none;
    box-shadow: none;
    border-radius: 0.65rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .nav-dd-menu::before {
    display: none;
  }

  .nav-dd.is-open .nav-dd-menu {
    display: grid;
    transform: none;
  }

  body.theme-galaxy .hero {
    min-height: 0;
    padding: 1.25rem;
    gap: 1rem;
    overflow: visible;
  }

  body.theme-galaxy .hero-orbit {
    width: min(100%, 34rem);
    min-height: 0;
    height: auto;
    max-height: none;
    aspect-ratio: 1 / 1;
    overflow: visible;
  }

  body.theme-galaxy .hero-copy {
    max-width: none;
  }

  .hero h1,
  body.theme-galaxy .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .lede {
    font-size: 0.98rem;
  }

  .catalog-grid,
  .category-grid,
  .top-grid,
  .tag-grid {
    grid-template-columns: 1fr !important;
  }

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

  .site-footer-main,
  .site-footer-cols {
    grid-template-columns: 1fr;
  }

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

  .kind-tabs,
  .kind-tabs-line {
    gap: 1rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .kind-tabs-line .kind-tab {
    white-space: nowrap;
  }

  .search-bar-lg,
  .search-bar-explore {
    width: 100%;
    margin-top: 1rem;
  }

  .search-bar-lg input,
  .search-bar-lg input[type="search"],
  .search-bar-explore input,
  .search-bar-explore input[type="search"] {
    height: 2.85rem;
    font-size: 0.92rem;
  }

  .chip-scroll-outer,
  .chip-row-scroll {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .detail-hero,
  .skill-hero,
  .browse-hero,
  .explore-hero,
  .list-hero {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .legal {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .detail-meta {
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
  }

  .detail-actions {
    flex-wrap: wrap;
  }

  .detail-tablist {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .detail-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .crumb-pill {
    max-width: 100%;
    border-radius: 0.85rem;
  }

  .install-row {
    flex-direction: column;
    align-items: stretch;
  }

  .install-row .copy-btn {
    width: 100%;
  }

  .legal-body p,
  .legal-body li {
    color: var(--ink-muted);
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 0.92rem;
  }

  .nav-dd-btn span {
    font-size: 0.86rem;
  }

  .category-card {
    padding: 0.85rem 0.9rem;
  }

  .skill-card,
  .browse-card,
  .discover-card,
  .top-card {
    padding: 1rem;
  }
}

/* Shared dark surfaces for listing / detail pages */
.empty-state,
.panel,
.install,
.skill-md,
.crumb-pill,
.detail-panel,
.top-card {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.install,
.skill-md {
  background: var(--surface-2);
}

.detail-panel .panel {
  background: var(--surface-2);
}

.chip-soft.is-active,
.chip-browse.is-active,
.chip.is-active,
.range-btn.is-active,
.kind-tab.is-active,
.pager-btn.is-active {
  background: rgba(228, 121, 9, 0.18);
  color: var(--link);
  border-color: var(--link);
}

.panel,
.detail-panel,
.top-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.install,
.skill-md {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.copy-btn {
  background: var(--accent);
  color: #1a1a1a;
  border: 1px solid transparent;
}

.copy-btn:hover {
  filter: brightness(1.08);
  color: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.2);
}

.share-toast {
  background: rgba(51, 51, 51, 0.96);
  color: #f5f5f5;
  font-family: var(--mono);
}

.detail-hero .detail-title,
.browse-hero h1,
.explore-hero h1,
.list-hero h1,
.legal-head h1 {
  color: #f5f5f5;
}

.legal-meta,
.detail-note,
.card-stars,
.card-metric,
.top-votes {
  color: var(--steel);
}

.search-bar-explore .search-icon {
  color: var(--steel);
}

.search-bar-explore input:focus + .search-icon,
.search-bar-lg:focus-within .search-icon {
  color: var(--link);
}

.chip-tag {
  border-style: dashed;
  border-color: rgba(228, 121, 9, 0.35);
}

.chip-tag.is-active {
  border-style: solid;
}

/* Host install accordion (Smithery-style) */
.host-reqs {
  margin: 0 0 1.25rem;
}

.host-reqs h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.05rem;
  color: #f5f5f5;
}

.host-reqs ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-muted);
}

.host-reqs li {
  margin: 0.3rem 0;
  line-height: 1.5;
}

.host-install-lede {
  margin: 0 0 0.85rem;
  color: var(--steel);
  font-size: 0.9rem;
}

.host-list {
  display: grid;
  gap: 0.45rem;
}

.host-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.55rem;
  overflow: hidden;
}

.host-item.is-open {
  border-color: rgba(228, 121, 9, 0.4);
}

.host-toggle {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 0;
  background: transparent;
  color: #f0f0f0;
  cursor: pointer;
  text-align: left;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
}

.host-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
}

.host-icon {
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  border-radius: 0.4rem;
  background: var(--host-icon-bg, #4a4a4a);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.host-icon--logo {
  overflow: hidden;
  background: var(--host-icon-bg, #f3f4f6);
}

.host-icon--logo img,
.host-icon--logo svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
}

.host-icon--logo svg {
  color: var(--host-icon-fg, #111);
}

.host-icon--invert img {
  filter: brightness(0) invert(1);
}

.host-download-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.host-label {
  flex: 1 1 auto;
}

.host-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--steel);
  border-bottom: 2px solid var(--steel);
  transform: rotate(45deg);
  transition: transform 140ms ease;
}

.host-item.is-open .host-chevron {
  transform: rotate(225deg);
  margin-top: 0.25rem;
}

.host-panel {
  padding: 0 0.9rem 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.host-install-block + .host-install-block {
  margin-top: 0.95rem;
}

.host-install-title {
  margin: 0.85rem 0 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5f5f5;
}

.host-install-note {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--steel);
}

.host-panel .install-row {
  margin: 0;
}

.host-panel code {
  flex: 1 1 16rem;
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.45;
  color: #f5f5f5;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.4rem;
  padding: 0.75rem 0.85rem;
}

.price-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  white-space: nowrap;
}

.price-pill-lg {
  font-size: 0.9rem;
  padding: 0.3rem 0.85rem;
}

.product-card {
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon meta"
    "icon name"
    "icon desc"
    "icon foot";
  column-gap: 0.85rem;
  align-items: start;
}

.product-card .skill-meta { grid-area: meta; }
.product-card .skill-name { grid-area: name; }
.product-card .skill-desc { grid-area: desc; }
.product-card .price-pill,
.product-card .card-foot { grid-area: foot; }

.price-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  margin: 1rem 0 0.25rem;
}

.price-filter-field {
  display: grid;
  gap: 0.35rem;
  min-width: 7.5rem;
}

.price-filter-field span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-filter-field input {
  width: 100%;
  min-width: 6.5rem;
  padding: 0.55rem 0.7rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.4rem;
}

.price-filter-field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.price-filter-apply,
.price-filter-clear {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 0.9rem;
  border-radius: 0.4rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.price-filter-apply {
  color: var(--ink);
  background: var(--accent);
  border-color: transparent;
}

.price-filter-clear {
  color: var(--steel);
  background: transparent;
}

.price-filter-apply:hover,
.price-filter-clear:hover {
  filter: brightness(1.08);
}

.browse-hero-compact {
  min-height: 0;
  padding: 0 0 1rem;
  text-align: left;
}

.browse-hero-compact .lede {
  margin-left: 0;
  margin-right: 0;
}

.browse-hero-compact .search-bar-lg,
.browse-hero-compact .search-bar-explore {
  margin-left: 0;
  margin-right: 0;
  width: min(100%, 40rem);
}

body.has-browse-sidebar .page-browse {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.browse-shell {
  display: grid;
  grid-template-columns: var(--browse-sidebar-width) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  margin: 0;
  min-height: calc(100vh - 6rem);
}

.browse-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 0.85rem 1.5rem 1rem;
  border: 0;
  background: var(--galaxy);
  max-height: 100vh;
  overflow: auto;
  border-radius: 0;
}

.browse-content {
  position: relative;
  z-index: 4;
  min-width: 0;
  padding: 1.5rem;
  overflow: visible;
}

.filter-block {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.filter-heading {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}

.filter-block-categories {
  min-height: 0;
}

.filter-tree {
  display: grid;
  gap: 0.1rem;
  max-height: min(58vh, 32rem);
  overflow: auto;
  padding-right: 0.15rem;
  scrollbar-width: thin;
}

.filter-tree-node {
  display: grid;
  gap: 0.05rem;
}

.filter-tree-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.4rem;
  align-items: center;
  gap: 0.15rem;
  min-height: 2rem;
  padding-left: calc(var(--tree-depth, 0) * 0.95rem);
  border-radius: 0.35rem;
}

.filter-tree-row:hover {
  background: rgba(228, 121, 9, 0.08);
}

.filter-tree-row.is-checked {
  background: rgba(228, 121, 9, 0.12);
}

.filter-tree-row.is-empty {
  color: var(--steel);
}

.filter-tree-row.is-empty .filter-link-label,
.filter-tree-row.is-empty .filter-count,
.filter-tree-row.is-empty .filter-tree-icon {
  opacity: 0.55;
}

.filter-tree-label {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
  padding: 0.35rem 0.2rem 0.35rem 0.35rem;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.88rem;
}

.filter-tree-check {
  width: 0.95rem;
  height: 0.95rem;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.filter-tree-icon {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--ink);
  flex: 0 0 auto;
}

.filter-tree-icon .category-icon-svg {
  width: 1.05rem;
  height: 1.05rem;
}

.filter-tree-icon-tag {
  color: var(--ink);
}

.filter-tree-floating-tip,
.site-floating-tip {
  position: fixed;
  z-index: 240;
  max-width: min(20rem, calc(100vw - 1rem));
  padding: 0.42rem 0.72rem;
  border-radius: 0.5rem;
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(228, 121, 9, 0.08);
  color: #f2f2f2;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 140ms ease,
    transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-floating-tip.is-visible,
.filter-tree-floating-tip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-floating-tip.is-above,
.filter-tree-floating-tip.is-above {
  transform: translateY(-6px);
}

.site-floating-tip.is-above.is-visible,
.filter-tree-floating-tip.is-above.is-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .filter-tree-floating-tip,
  .site-floating-tip {
    transition: none;
  }
}

.filter-tree-label .filter-link-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.filter-tree-label .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.2;
}

.filter-tree-row.is-checked .filter-link-label,
.filter-tree-row.is-checked .filter-tree-icon,
.filter-tree-row.is-indeterminate .filter-link-label,
.filter-tree-row.is-indeterminate .filter-tree-icon {
  color: var(--link);
}

.filter-tree-row.is-checked .filter-count,
.filter-tree-row.is-indeterminate .filter-count {
  background: rgba(228, 121, 9, 0.18);
  color: var(--link);
}

.filter-tree-row.is-indeterminate {
  background: rgba(228, 121, 9, 0.08);
}

.filter-tree-toggle {
  appearance: none;
  position: relative;
  z-index: 2;
  width: 1.4rem;
  height: 1.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--steel);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.filter-tree-toggle:hover,
.filter-tree-toggle:focus-visible {
  color: var(--link);
  background: rgba(228, 121, 9, 0.12);
  outline: none;
}

.filter-tree-toggle.is-empty {
  visibility: hidden;
  pointer-events: none;
}

.filter-tree-children {
  display: grid;
  gap: 0.05rem;
}

.filter-tree-children.is-collapsed,
.filter-tree-children[hidden] {
  display: none !important;
}

.filter-nav {
  display: grid;
  gap: 0.15rem;
}

.filter-nav-scroll {
  max-height: 18rem;
  overflow: auto;
  padding-right: 0.15rem;
  scrollbar-width: thin;
}

.filter-link {
  appearance: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.4rem 0.5rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
}

.filter-link:hover,
.filter-link:focus-visible {
  background: rgba(228, 121, 9, 0.1);
  color: var(--link);
  outline: none;
}

.filter-link.is-active {
  background: rgba(228, 121, 9, 0.16);
  color: var(--link);
  font-weight: 600;
}

.filter-link-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-count {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--steel);
}

.filter-link.is-active .filter-count {
  color: var(--link);
}

.browse-sidebar .price-filter-bar {
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  gap: 0.55rem;
}

.browse-sidebar .price-filter-field {
  min-width: 0;
}

.browse-sidebar .price-filter-apply,
.browse-sidebar .price-filter-clear {
  width: 100%;
}

.browse-main {
  min-width: 0;
  margin-top: 0;
  padding-top: 0;
}

@media (max-width: 900px) {
  .browse-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

  .browse-content {
    padding: 1rem;
  }

  .filter-nav-scroll {
    max-height: 12rem;
  }
}

.store-card .price-pill,
.browse-card .price-pill,
.discover-card .price-pill,
.top-card .price-pill {
  margin-left: auto;
}
