@font-face {
  font-family: "Polymarket Inter";
  src: url("./assets/fonts/InterVariable-polymarket.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #000000;
  --title: #18181b;
  --muted: #77808d;
  --soft: #f7f8fa;
  --soft-2: #f2f4f7;
  --line: #e6e8ea;
  --line-strong: #d6dae1;
  --blue: #1452f0;
  --blue-soft: #eef4ff;
  --violet: #6d5dfc;
  --violet-soft: #f3f1ff;
  --star: #f5a524;
  --shadow: 0 4px 16px rgba(20, 82, 240, 0.07);
  --page-max: 1350px;
  --page-pad: 24px;
  --page-pad-mobile: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Polymarket Inter", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  font-optical-sizing: auto;
  text-rendering: geometricPrecision;
}

button,
select,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.site-header {
  display: grid;
  grid-template-columns: auto minmax(260px, 420px) auto;
  align-items: center;
  gap: 24px;
  max-width: var(--page-max);
  height: 64px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.search-pill {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.search-pill span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.search-pill input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--title);
  font-family: "Polymarket Inter", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.search-pill input::placeholder {
  color: var(--muted);
}

.site-nav {
  display: inline-flex;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  line-height: 20px;
}

.site-nav a:hover,
.category-rail a:hover {
  color: var(--ink);
}

main {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad) 64px;
}

.category-rail {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  height: 48px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.category-rail a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  height: 48px;
  padding: 0 14px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.category-rail a.active {
  border-bottom-color: var(--blue);
  color: var(--ink);
}

.spotlight-section,
.library-section,
.more-library-section,
.site-footer {
  margin-top: 28px;
}

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

.section-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-head h2 {
  color: var(--title);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

.market-summary {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

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

.spotlight-carousel {
  position: relative;
  display: grid;
}

.spotlight-card,
.pulse-card,
.hot-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.spotlight-card {
  display: none;
  gap: 18px;
  min-height: 480px;
  padding: 20px;
}

.spotlight-card.is-active {
  display: grid;
  animation: spotlightFade 260ms ease;
}

@keyframes spotlightFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spotlight-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.spotlight-controls > button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.spotlight-controls > div {
  display: flex;
  gap: 7px;
  align-items: center;
}

.spotlight-dot {
  width: 22px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: #d8dee8;
}

.spotlight-dot.is-active {
  width: 32px;
  background: #1452f0;
}

.spotlight-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.market-icon {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--title);
  overflow: hidden;
  box-shadow: none;
}

.market-icon svg {
  width: 88%;
  height: 88%;
  overflow: visible;
}

.icon-large {
  width: 64px;
  height: 64px;
  border-radius: 15px;
}

.icon-small {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.icon-tiny {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.icon-nav {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.icon-pulse {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.market-topic {
  color: var(--muted);
  font-size: 14px;
  font-weight: 540;
  line-height: 20px;
}

.spotlight-head h3 {
  margin-top: 4px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.spotlight-teaser {
  max-width: 680px;
  color: #475569;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.spotlight-index {
  display: grid;
  align-content: start;
  gap: 10px;
}

.spotlight-index div {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  background: #fbfcff;
}

.spotlight-index span {
  color: #64748b;
  font-size: 12px;
  font-weight: 720;
  line-height: 17px;
}

.spotlight-index strong {
  overflow: hidden;
  color: #111827;
  font-size: 16px;
  font-weight: 760;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rating-summary > span:not(.stars) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.signal-panel {
  display: grid;
  gap: 10px;
  min-height: 292px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.signal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.radar-card {
  display: grid;
  gap: 10px;
}

.radar-compact {
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: center;
}

.radar-compact .radar-head {
  grid-column: 1 / -1;
}

.radar-compact .radar-svg {
  grid-column: 1;
  height: 220px;
}

.radar-compact .radar-metrics {
  grid-column: 2;
  grid-template-columns: 1fr;
}

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

.radar-head span {
  color: var(--title);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.radar-head strong {
  display: grid;
  width: 34px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.radar-svg {
  width: 100%;
  height: 190px;
  overflow: visible;
}

.radar-grid {
  fill: none;
  stroke: #e8ebf0;
  stroke-width: 1.2;
}

.radar-axis {
  stroke: #eef0f3;
  stroke-width: 1;
}

.radar-area {
  fill: rgba(20, 82, 240, 0.18);
  stroke: #1452f0;
  stroke-width: 2.8;
  stroke-linejoin: round;
}

.radar-dot {
  fill: #1452f0;
  stroke: #ffffff;
  stroke-width: 2;
}

.radar-label {
  fill: var(--muted);
  font-size: 10px;
  font-weight: 650;
  dominant-baseline: middle;
}

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

.radar-metrics span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.radar-metrics em {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.radar-metrics strong {
  color: var(--title);
  font-size: 12px;
  font-weight: 700;
}

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

.radar-detail .radar-head {
  grid-column: 1 / -1;
}

.radar-detail .radar-svg {
  grid-column: 1;
  height: 230px;
}

.radar-detail .radar-metrics {
  grid-column: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spotlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 19px;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.unlock-button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(20, 82, 240, 0.18);
  border-radius: 8px;
  background: #eef4ff;
  color: #1452f0;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.unlock-button:hover {
  background: #e0eaff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 82, 240, 0.12);
}

.like-button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--title);
  font-size: 14px;
  font-weight: 600;
}

.like-button.is-liked {
  border-color: #fecaca;
  background: #fff1f2;
  color: #e11d48;
}

.market-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.pulse-card h3,
.hot-card h3 {
  color: var(--title);
  font-size: 18px;
  font-weight: 580;
  line-height: 27px;
}

.pulse-card {
  display: grid;
  gap: 18px;
  min-height: 220px;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(20, 82, 240, 0.13), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(251, 191, 36, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.pulse-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pulse-head strong {
  color: var(--blue);
  font-size: 34px;
  font-weight: 650;
  line-height: 34px;
}

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

.pulse-grid div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 9px;
  align-items: center;
  min-height: 70px;
  padding: 12px;
  border-radius: 10px;
  background: #f7f8fa;
}

.pulse-grid div:nth-child(1) {
  background: #eef4ff;
  color: #1452f0;
}

.pulse-grid div:nth-child(2) {
  background: #fff7ed;
  color: #c2410c;
}

.pulse-grid div:nth-child(3) {
  background: #fdf2f8;
  color: #be185d;
}

.pulse-grid div:nth-child(4) {
  background: #ecfdf5;
  color: #15803d;
}

.pulse-grid div > span:not(.market-icon) {
  align-self: end;
  color: currentColor;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  opacity: 0.84;
}

.pulse-grid strong {
  grid-column: 2;
  align-self: start;
  color: currentColor;
  font-size: 26px;
  font-weight: 650;
  line-height: 28px;
}

.pulse-grid .market-icon {
  grid-row: 1 / span 2;
}

.category-rail .market-icon,
.rank-row .market-icon {
  flex: 0 0 auto;
}

.hot-card {
  padding: 18px;
}

.hot-card h3 {
  margin-bottom: 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: 24px 24px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
  transition:
    background 140ms ease,
    transform 140ms ease;
}

.rank-row:hover {
  background: #f8fafc;
  transform: translateX(2px);
}

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

.rank-index {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #f1f5ff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.rank-row:nth-child(1) .rank-index {
  background: #eef4ff;
  color: #1452f0;
}

.rank-row:nth-child(2) .rank-index {
  background: #fff7ed;
  color: #c2410c;
}

.rank-row:nth-child(3) .rank-index {
  background: #fdf2f8;
  color: #be185d;
}

.rank-row:nth-child(4) .rank-index {
  background: #ecfdf5;
  color: #15803d;
}

.rank-row strong {
  overflow: hidden;
  color: var(--title);
  font-size: 14px;
  font-weight: 590;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.result-count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

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

.featured-grid .feature-card:first-child {
  grid-column: span 2;
}

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

.library-more-action {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.library-more-action:empty {
  display: none;
}

.library-more-action .view-all-button {
  min-width: 132px;
  border-radius: 999px;
}

.feature-card,
.opportunity-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.feature-card,
.opportunity-card {
  display: grid;
  gap: 12px;
  align-content: start;
  width: 100%;
  color: inherit;
  text-align: left;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

.feature-card {
  min-height: 292px;
  padding: 18px;
}

.opportunity-card {
  min-height: 194px;
  padding: 14px;
  cursor: pointer;
}

.feature-card:hover,
.opportunity-card:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.feature-card.is-selected,
.opportunity-card.is-selected {
  border-color: #9db7ff;
  box-shadow:
    0 0 0 1px rgba(20, 82, 240, 0.12),
    0 12px 26px rgba(15, 23, 42, 0.08);
}

.opportunity-card:focus-visible,
.rank-row:focus-visible,
.unlock-button:focus-visible,
.card-cta:focus-visible {
  outline: 3px solid rgba(20, 82, 240, 0.22);
  outline-offset: 3px;
}

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

.opportunity-card .market-card-head {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
}

.feature-card h3 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.opportunity-card h3 {
  color: var(--title);
  font-size: 14px;
  font-weight: 590;
  line-height: 20px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
}

.card-meta-row .card-meta {
  min-width: 0;
  margin-top: 0;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.opportunity-card p {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 19px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag {
  width: fit-content;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.market-fit-tag {
  border-color: rgba(20, 82, 240, 0.14);
  background: #eef4ff;
  color: #1452f0;
}

.rating-block {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.opportunity-card .rating-block.is-compact {
  gap: 5px;
  padding: 8px 10px;
  background: #fbfcff;
}

.rating-block > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
}

.opportunity-card .rating-block.is-compact > span {
  font-size: 10px;
  line-height: 14px;
}

.rating-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rating-main strong {
  color: var(--title);
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
}

.opportunity-card .rating-block.is-compact .rating-main strong {
  font-size: 13px;
  line-height: 18px;
}

.rating-rule {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 560;
  line-height: 18px;
}

.rating-block.is-compact .rating-rule {
  display: none;
}

.stars {
  position: relative;
  display: inline-block;
  color: #d5d9e2;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 1px;
}

.stars-inline {
  flex: 0 0 auto;
  font-size: 16px;
}

.stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  width: var(--rating);
  color: var(--star);
  white-space: nowrap;
}

.market-options {
  display: grid;
  gap: 8px;
}

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

.market-options div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.market-options span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.market-options strong {
  color: var(--title);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: end;
}

.card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.card-bottom-row .tag-row {
  flex: 1 1 auto;
  min-width: 0;
}

.card-bottom-row .card-cta {
  flex: 0 0 auto;
}

.card-cta {
  align-self: end;
  width: fit-content;
  margin-top: auto;
  padding: 7px 10px;
  border: 1px solid rgba(20, 82, 240, 0.16);
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
  transition:
    background 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.card-cta-inline {
  flex: 0 0 auto;
  align-self: center;
  margin-top: 0;
  padding: 5px 9px;
  font-size: 12px;
  line-height: 17px;
}

.card-cta:hover {
  background: #e0eaff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 82, 240, 0.12);
}

.card-cta:active,
.unlock-button:active {
  transform: translateY(0);
}

.filter-bar {
  display: none;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

body.is-opportunities-page .filter-bar {
  display: grid;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

select {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--title);
  font-size: 14px;
}

.text-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--title);
  font-size: 14px;
  font-weight: 600;
}

.view-all-button {
  border-color: rgba(20, 82, 240, 0.2);
  background: #eef4ff;
  color: #1452f0;
  font-weight: 750;
}

body.is-opportunities-page .spotlight-section,
body.is-opportunities-page .more-library-section {
  display: none;
}

body.is-opportunities-page .library-section {
  margin-top: 28px;
}

.more-library-section {
  display: grid;
  gap: 14px;
}

.bottom-value-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 34px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 20%, rgba(20, 82, 240, 0.09), transparent 30%),
    radial-gradient(circle at 72% 82%, rgba(245, 165, 36, 0.1), transparent 24%),
    #ffffff;
  box-shadow: var(--shadow);
}

.bottom-value-copy {
  display: grid;
  align-content: center;
}

.bottom-value-copy h2 {
  max-width: 760px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 620;
  line-height: 38px;
}

.bottom-value-copy p:not(.eyebrow) {
  max-width: 690px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 520;
  line-height: 24px;
}

.evaluation-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 22px;
}

.evaluation-points div {
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.evaluation-points strong {
  display: block;
  color: var(--title);
  font-size: 14px;
  font-weight: 760;
  line-height: 20px;
}

.evaluation-points span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 540;
  line-height: 18px;
}

.unlock-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  max-width: 620px;
  margin-top: 18px;
}

.unlock-includes span {
  padding: 9px 11px;
  border: 1px solid rgba(20, 82, 240, 0.12);
  border-radius: 999px;
  background: #eef4ff;
  color: #1452f0;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.rating-guide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-self: stretch;
  padding: 16px;
  border: 1px solid rgba(20, 82, 240, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(238, 244, 255, 0.86), rgba(255, 255, 255, 0.94)),
    #ffffff;
}

.rating-guide article {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  min-height: auto;
  border-radius: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 780;
  line-height: 18px;
  letter-spacing: 0;
}

.rating-stars b {
  color: var(--star);
  font-weight: 780;
}

.rating-stars i {
  color: #d8dee8;
  font-style: normal;
  font-weight: 780;
}

.rating-guide strong {
  color: var(--title);
  font-size: 16px;
  font-weight: 760;
  line-height: 21px;
}

.rating-guide p {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}

.back-button {
  min-height: 38px;
  margin-bottom: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--title);
  font-size: 14px;
  font-weight: 600;
}

.analysis-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.analysis-hero h2 {
  max-width: 900px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.analysis-hero p {
  max-width: 820px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.analysis-hero .tag-row {
  margin-top: 14px;
}

.analysis-rating .rating-block {
  min-height: 96px;
}

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

.analysis-block {
  min-height: 168px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.analysis-block-radar {
  grid-column: span 2;
}

.analysis-block-radar .radar-card {
  gap: 14px;
}

.analysis-block h3 {
  margin-bottom: 10px;
  color: var(--title);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.analysis-block p,
.analysis-block li {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.analysis-block p + p {
  margin-top: 8px;
}

.analysis-block p strong {
  color: var(--title);
  font-weight: 650;
}

.cost-summary {
  display: grid;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.cost-summary strong {
  color: var(--title);
  font-size: 22px;
  font-weight: 650;
  line-height: 28px;
}

.cost-summary span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.cost-lines {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.cost-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.cost-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cost-line span {
  display: grid;
  gap: 4px;
  color: var(--title);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.cost-line small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 17px;
}

.cost-line strong {
  color: var(--title);
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
  white-space: nowrap;
}

.license-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.license-summary strong {
  color: var(--title);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.license-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 18px;
  text-align: right;
}

.license-risk-low {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.license-risk-low strong {
  color: #15803d;
}

.license-risk-medium {
  border-color: #fde68a;
  background: #fffbeb;
}

.license-risk-medium strong {
  color: #b45309;
}

.license-risk-high {
  border-color: #fecaca;
  background: #fff1f2;
}

.license-risk-high strong {
  color: #be123c;
}

.license-lines {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.license-lines p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.license-lines p strong {
  display: block;
}

.license-source-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.license-source-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 32px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.license-source-list span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.license-source-list strong {
  color: var(--title);
  font-size: 12px;
  font-weight: 700;
}

.source-review-list {
  display: grid;
  gap: 8px;
}

.source-review-card {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.source-review-head,
.source-review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.source-review-head span,
.source-review-meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 16px;
}

.source-review-head strong {
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  line-height: 17px;
  white-space: nowrap;
}

.source-review-card h4 {
  overflow: hidden;
  color: var(--title);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-review-card p {
  margin: 0;
}

.source-review-action {
  display: grid;
  gap: 4px;
  padding-top: 2px;
}

.source-review-action strong {
  color: var(--title);
  font-size: 12px;
  font-weight: 760;
  line-height: 17px;
}

.source-review-warning {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 2px;
}

.source-review-warning span {
  padding: 4px 7px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
  color: #b45309;
  font-size: 11px;
  font-weight: 720;
  line-height: 1;
}

.source-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.source-review-tags span {
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
}

.assessment-panel {
  display: grid;
  gap: 12px;
}

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

.assessment-summary div {
  display: grid;
  gap: 5px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.assessment-summary span,
.assessment-source span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 16px;
}

.assessment-summary strong {
  color: var(--title);
  font-size: 15px;
  font-weight: 750;
  line-height: 20px;
}

.assessment-source {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
}

.assessment-source strong {
  overflow: hidden;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assessment-reasons,
.assessment-warnings {
  display: grid;
  gap: 6px;
}

.assessment-reasons span,
.assessment-warnings span {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 19px;
}

.assessment-reasons span::before,
.assessment-warnings span::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
}

.assessment-warnings {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.assessment-warnings span::before {
  background: #f59e0b;
}

.analysis-block ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.route-grid {
  display: grid;
  gap: 10px;
}

.route-card {
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}

.route-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.route-card h3 {
  margin-bottom: 5px;
  color: var(--title);
  font-size: 14px;
  line-height: 20px;
}

.site-footer {
  margin-top: 58px;
  padding: 58px 0 18px;
  color: var(--title);
}

.footer-brand {
  display: grid;
  gap: 8px;
  margin-bottom: 46px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}

.footer-logo .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.footer-logo strong {
  font-size: 24px;
  font-weight: 760;
  line-height: 30px;
}

.footer-brand p,
.footer-disclaimer,
.footer-bottom p {
  color: var(--muted);
}

.footer-brand p {
  font-size: 14px;
  font-weight: 620;
  line-height: 20px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 88px;
  align-items: start;
}

.footer-directory h2,
.footer-links h2 {
  margin-bottom: 16px;
  color: #8792a4;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.footer-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 18px 58px;
  max-width: 760px;
}

.footer-topic-grid a,
.footer-links a,
.footer-social a {
  color: var(--title);
  text-decoration: none;
}

.footer-topic-grid a {
  display: grid;
  gap: 3px;
}

.footer-topic-grid strong,
.footer-links a {
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
}

.footer-topic-grid span {
  color: #a0a8b6;
  font-size: 12px;
  font-weight: 560;
  line-height: 17px;
}

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

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links a {
  width: fit-content;
}

.footer-topic-grid a:hover strong,
.footer-links a:hover,
.footer-social a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "social ."
    "disclaimer copyright";
  align-items: center;
  gap: 14px 24px;
  margin-top: 58px;
  padding-top: 24px;
  min-height: 34px;
}

.footer-social {
  grid-area: social;
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.footer-bottom p {
  display: flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  font-size: 12px;
  font-weight: 560;
  line-height: 18px;
  text-align: right;
}

.footer-bottom p:not(.footer-disclaimer) {
  grid-area: copyright;
}

.footer-disclaimer {
  grid-area: disclaimer;
  max-width: 100%;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
}

.empty-state {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
}

@media (max-width: 1100px) {
  :root {
    --page-pad: var(--page-pad-mobile);
  }

  .site-header,
  .spotlight-layout,
  .spotlight-content,
  .cards-grid,
  .bottom-value-board,
  .rating-guide,
  .filter-bar,
  .analysis-hero,
  .analysis-grid,
  .radar-compact,
  .radar-detail,
  .footer-main,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .analysis-block-radar {
    grid-column: span 1;
  }

  .unlock-includes {
    justify-content: flex-start;
  }

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

  .footer-main {
    gap: 40px;
  }

  .footer-bottom {
    align-items: flex-start;
    grid-template-columns: 1fr;
    grid-template-areas:
      "social"
      "disclaimer"
      "copyright";
  }

  .footer-bottom p {
    text-align: left;
  }

  .radar-detail .radar-svg,
  .radar-detail .radar-metrics,
  .radar-compact .radar-svg,
  .radar-compact .radar-metrics {
    grid-column: 1;
  }

}

/* Hybrid pass: keep the icon-led UI, borrow BuildTheDoor color hierarchy and detail flow */
:root {
  --bg: #f9fafb;
  --ink: #0f172a;
  --title: #111827;
  --muted: #64748b;
  --soft: #fafaf9;
  --soft-2: #f3f4f6;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.15);
  --blue: #1452f0;
  --blue-soft: #eef4ff;
  --violet: #6d28d9;
  --violet-soft: #f5f3ff;
  --star: #f59e0b;
  --shadow: 0 12px 36px rgba(15, 23, 42, 0.04);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Polymarket Inter", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header,
main {
  max-width: var(--page-max);
}

.site-header {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

.search-pill,
.filter-bar label,
.filter-bar select,
.text-button,
.like-button {
  border-color: rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: #fafaf9;
}

.site-nav {
  color: #475569;
}

.category-rail {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.section-head h2 {
  color: #0f172a;
  font-weight: 560;
}

.market-summary,
.result-count,
.market-topic,
.card-meta,
.spotlight-footer {
  color: #64748b;
}

.spotlight-card,
.pulse-card,
.hot-card,
.opportunity-card,
.bottom-value-board,
.analysis-hero,
.analysis-block,
.empty-state {
  border-color: rgba(15, 23, 42, 0.06);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.spotlight-card,
.pulse-card,
.hot-card {
  border-radius: 20px;
}

.opportunity-card {
  border-radius: 14px;
}

.market-icon {
  border-color: rgba(15, 23, 42, 0.08);
}

.spotlight-head h3,
.feature-card h3,
.analysis-hero h2 {
  color: #0f172a;
}

.spotlight-head h3 {
  font-weight: 620;
}

.opportunity-card h3 {
  color: #111827;
}

.opportunity-card p,
.feature-card p,
.analysis-hero p,
.analysis-block p,
.analysis-block li {
  color: #475569;
}

.rating-block,
.signal-panel,
.radar-metrics span {
  border-color: rgba(15, 23, 42, 0.07);
  background: #fafaf9;
}

.tag {
  border-color: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #f3f4f6;
  color: #475569;
}

.rank-index {
  background: #eef4ff;
  color: #1452f0;
}

.detail-metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.detail-metric {
  display: grid;
  gap: 8px;
  min-height: 98px;
  padding: 16px;
  border-radius: 16px;
}

.detail-metric span {
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  line-height: 18px;
}

.detail-metric strong {
  color: #0f172a;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.2;
}

.metric-rose {
  background: #fff1f2;
}

.metric-rose strong {
  color: #be123c;
}

.metric-green {
  background: #ecfdf5;
}

.metric-green strong {
  color: #047857;
}

.metric-violet {
  background: #f5f3ff;
}

.metric-violet strong {
  color: #6d28d9;
}

.metric-amber {
  background: #fffbeb;
}

.metric-amber strong {
  color: #b45309;
}

.analysis-grid {
  align-items: start;
}

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

.detail-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.detail-sidebar {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.detail-main .analysis-block {
  min-height: auto;
  padding: 20px;
  border-radius: 14px;
}

.detail-main .analysis-block h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 28px;
}

.detail-main .analysis-block p,
.detail-main .analysis-block li {
  font-size: 15px;
  font-weight: 450;
  line-height: 26px;
}

.detail-side-block {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.detail-side-block h3 {
  margin-bottom: 12px;
  color: #111827;
  font-size: 16px;
  font-weight: 760;
  line-height: 22px;
}

.detail-side-block .assessment-panel,
.detail-side-block .radar-card {
  margin-top: 0;
}

.detail-side-block .radar-detail {
  grid-template-columns: 1fr;
}

.detail-side-block .radar-detail .radar-head,
.detail-side-block .radar-detail .radar-svg,
.detail-side-block .radar-detail .radar-metrics {
  grid-column: 1;
}

.detail-side-block .radar-detail .radar-svg {
  height: 230px;
}

.detail-side-block .radar-detail .radar-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-side-block ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.detail-side-block li {
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.basic-facts {
  display: grid;
  gap: 0;
}

.basic-facts div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.basic-facts div:first-child {
  padding-top: 0;
}

.basic-facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.basic-facts span {
  color: #64748b;
  font-size: 13px;
  font-weight: 650;
}

.basic-facts strong {
  color: #111827;
  font-size: 13px;
  font-weight: 760;
  text-align: right;
}

.analysis-block h3 {
  font-size: 19px;
  font-weight: 720;
}

.analysis-block:nth-child(2),
.analysis-block:nth-child(3),
.analysis-block:nth-child(4),
.analysis-block:nth-child(5),
.analysis-block:nth-child(6),
.analysis-block:nth-child(7) {
  grid-column: span 1;
}

.modal-open {
  overflow: hidden;
}

.unlock-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.unlock-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.unlock-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(20, 82, 240, 0.16), transparent 32%),
    rgba(15, 23, 42, 0.34);
  backdrop-filter: blur(10px);
}

.unlock-panel {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(640px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  transform: translateY(18px) scale(0.98);
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.unlock-modal.is-visible .unlock-panel {
  transform: translateY(0) scale(1);
}

.unlock-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 50%;
  background: #ffffff;
  color: #64748b;
  font-size: 20px;
  line-height: 1;
}

.unlock-head {
  display: grid;
  gap: 8px;
  padding-right: 40px;
}

.unlock-head span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1452f0;
  font-size: 12px;
  font-weight: 760;
}

.unlock-head h2 {
  color: #0f172a;
  font-size: 30px;
  font-weight: 720;
  line-height: 38px;
}

.unlock-head p {
  color: #475569;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}

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

.unlock-snapshot div,
.unlock-preview span {
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  background: #fbfcff;
}

.unlock-snapshot div {
  display: grid;
  gap: 6px;
  padding: 13px;
}

.unlock-snapshot span,
.unlock-preview span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.unlock-snapshot strong {
  color: #111827;
  font-size: 17px;
  font-weight: 780;
  line-height: 24px;
}

.unlock-market-fit {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(20, 82, 240, 0.12);
  border-radius: 14px;
  background: #eef4ff;
  color: #334155;
  font-size: 14px;
  font-weight: 560;
  line-height: 22px;
}

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

.unlock-preview span {
  position: relative;
  overflow: hidden;
  padding: 12px;
}

.unlock-preview span::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: translateX(-100%);
  animation: preview-sheen 2.4s ease-in-out infinite;
  content: "";
}

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

.primary-unlock,
.secondary-unlock {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 760;
  transition:
    background 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.primary-unlock {
  border: 0;
  background: #1452f0;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(20, 82, 240, 0.22);
}

.secondary-unlock {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  color: #0f172a;
}

.primary-unlock.is-active,
.secondary-unlock.is-active {
  background: #0f172a;
  color: #ffffff;
}

@keyframes preview-sheen {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 1100px) {
  .detail-metric-strip {
    grid-template-columns: 1fr;
  }

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

  .detail-sidebar {
    position: static;
  }

  .unlock-snapshot,
  .unlock-preview {
    grid-template-columns: 1fr;
  }
}
