:root {
  color-scheme: light;
}

body {
  font-family: "Google Sans", ui-sans-serif, system-ui, sans-serif;
  background-color: #fbf8f1;
}

.font-numeric {
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
}

.topic-item-title {
  transition-property: opacity;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

code {
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  padding: 0.2rem 0.5rem;
  font-size: 0.82em;
}

.public-nav-shell {
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92) 52%, rgba(120, 53, 15, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 28px 60px rgba(15, 23, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(34px) saturate(165%);
}

.public-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  padding: 0.58rem 0.82rem;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.public-nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.public-nav-link--active {
  border-color: rgba(255, 255, 255, 0.28);
  background: #ffffff;
  color: #0f172a;
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.public-nav-link--accent {
  border-color: rgba(251, 191, 36, 0.32);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.26), rgba(245, 158, 11, 0.16));
  color: #fff7ed;
}

.public-nav-link--accent:hover {
  border-color: rgba(251, 191, 36, 0.44);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.34), rgba(245, 158, 11, 0.22));
}

.public-nav-count {
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.14);
  padding: 0.14rem 0.38rem;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
}

.public-nav-link:not(.public-nav-link--active) .public-nav-count {
  background: rgba(255, 255, 255, 0.12);
}

.public-breadcrumb {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.76);
}

.public-hero-panel {
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 235, 0.92));
  border: 1px solid rgba(226, 232, 240, 0.86);
  box-shadow:
    0 24px 54px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.price-chip {
  min-width: 112px;
  max-width: 100%;
  display: inline-flex;
  flex-direction: column;
  gap: 0.16rem;
  border-radius: 16px;
  padding: 0.72rem 0.82rem 0.66rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
}

.price-chip--compact {
  min-width: 94px;
  border-radius: 14px;
  padding: 0.56rem 0.64rem 0.52rem;
}

.price-chip__label {
  font-size: 0.61rem;
  line-height: 1;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #475569;
  font-weight: 700;
}

.price-chip__amount {
  font-size: clamp(0.95rem, 1vw, 1.16rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-chip__usd {
  font-size: 0.68rem;
  line-height: 1.12;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-chip--compact .price-chip__label {
  font-size: 0.57rem;
}

.price-chip--compact .price-chip__amount {
  font-size: 0.9rem;
}

.price-chip--compact .price-chip__usd {
  font-size: 0.62rem;
}

.price-chip--legend {
  background: linear-gradient(180deg, rgba(255, 245, 197, 0.98), rgba(253, 230, 138, 0.96));
  border-color: rgba(217, 119, 6, 0.32);
}

.price-chip--royal {
  background: linear-gradient(180deg, rgba(252, 231, 243, 0.98), rgba(244, 114, 182, 0.22));
  border-color: rgba(225, 29, 72, 0.28);
}

.price-chip--prism {
  background: linear-gradient(180deg, rgba(237, 233, 254, 0.98), rgba(196, 181, 253, 0.94));
  border-color: rgba(109, 40, 217, 0.24);
}

.price-chip--jade {
  background: linear-gradient(180deg, rgba(220, 252, 231, 0.98), rgba(110, 231, 183, 0.9));
  border-color: rgba(5, 150, 105, 0.24);
}

.price-chip--sky {
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.98), rgba(125, 211, 252, 0.92));
  border-color: rgba(2, 132, 199, 0.22);
}

.price-chip--stone {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(226, 232, 240, 0.96));
  border-color: rgba(100, 116, 139, 0.2);
}

.price-chip--sand {
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.98), rgba(254, 215, 170, 0.9));
  border-color: rgba(234, 88, 12, 0.18);
}

.price-chip--midnight {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94));
  border-color: rgba(255, 255, 255, 0.08);
}

.price-chip--midnight .price-chip__label,
.price-chip--midnight .price-chip__usd {
  color: rgba(255, 255, 255, 0.72);
}

.price-chip--midnight .price-chip__amount {
  color: #ffffff;
}

@media (max-width: 640px) {
  .public-nav-shell {
    box-shadow:
      0 18px 36px rgba(15, 23, 42, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .public-nav-link {
    justify-content: center;
    gap: 0;
    min-width: 2.75rem;
    padding: 0.62rem;
    font-size: 0.76rem;
  }

  .public-nav-count {
    display: none;
  }

  .public-nav-text {
    display: none;
  }

  .public-breadcrumb {
    font-size: 0.68rem;
  }

  .public-breadcrumb .truncate {
    max-width: 9.5rem;
  }

  .price-chip {
    min-width: 104px;
    padding: 0.62rem 0.74rem 0.58rem;
  }

  .price-chip__amount {
    font-size: 0.98rem;
  }
}
