:root {
  color-scheme: dark;
  --ink: #eef4f8;
  --muted: #93a4b3;
  --line: #2d3a46;
  --panel: #121b24;
  --panel-strong: #172330;
  --field: #0d151d;
  --navy: #7eb6ff;
  --green: #55d6a5;
  --red: #ff657c;
  --gold: #f1b84b;
  --cyan: #5fc7df;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(95, 199, 223, 0.16), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(241, 184, 75, 0.12), transparent 30%),
    linear-gradient(90deg, rgba(238, 244, 248, 0.025) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(135deg, #081018 0%, #111b25 52%, #0a1419 100%);
  overflow-x: hidden;
}

html {
  scrollbar-color: rgba(95, 199, 223, 0.55) rgba(8, 14, 22, 0.85);
  scrollbar-width: thin;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: rgba(8, 14, 22, 0.9);
}

body::-webkit-scrollbar-thumb {
  border: 3px solid rgba(8, 14, 22, 0.9);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--green), var(--gold));
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 44px;
}

.site-header {
  min-height: 116px;
  border: 0;
  border-bottom: 1px solid rgba(147, 164, 179, 0.13);
  border-radius: 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) auto minmax(150px, 0.62fr);
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  padding: 10px 0 12px;
  background:
    linear-gradient(90deg, rgba(95, 199, 223, 0.08), rgba(95, 199, 223, 0.02) 42%, rgba(241, 184, 75, 0.05));
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}

.brand-logo {
  display: block;
  width: clamp(315px, 31vw, 455px);
  max-width: 100%;
  height: 102px;
  object-fit: contain;
  object-position: left center;
  filter:
    drop-shadow(0 0 18px rgba(95, 199, 223, 0.48))
    drop-shadow(0 0 28px rgba(255, 101, 124, 0.2))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.36));
}

.site-nav {
  justify-self: center;
  width: clamp(430px, 38vw, 570px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(95, 199, 223, 0.32);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(95, 199, 223, 0.18), rgba(8, 14, 22, 0.86) 28%, rgba(255, 101, 124, 0.12)),
    rgba(8, 14, 22, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(238, 244, 248, 0.04),
    0 0 24px rgba(95, 199, 223, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: visible;
}

.site-nav::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--red), transparent);
  opacity: 0.78;
  box-shadow: 0 0 16px rgba(95, 199, 223, 0.44);
}

.site-nav a,
.site-nav button,
.nav-cta,
.primary-action,
.secondary-action {
  border: 0;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c4d0da;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 850;
}

.site-nav button {
  background: transparent;
}

.site-nav a,
.site-nav button {
  border-radius: 999px;
  min-height: 40px;
  padding: 10px 18px;
  color: #d5e2ea;
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-shadow: 0 0 12px rgba(95, 199, 223, 0.18);
  position: relative;
  transition:
    background 140ms ease,
    color 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav button:hover,
.site-nav button:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
  background: rgba(95, 199, 223, 0.1);
  color: var(--ink);
  outline: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.nav-group.is-current > button,
.site-nav button:hover,
.site-nav button:focus-visible {
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.26), rgba(255, 101, 124, 0.12)),
    rgba(13, 21, 29, 0.72);
  box-shadow:
    inset 0 -2px 0 rgba(255, 101, 124, 0.68),
    inset 0 0 0 1px rgba(95, 199, 223, 0.28),
    0 0 18px rgba(95, 199, 223, 0.22);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  color: #ffffff;
}

.nav-group {
  position: relative;
  display: inline-flex;
}

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

.nav-menu {
  min-width: 190px;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 20;
  border: 1px solid rgba(147, 164, 179, 0.18);
  border-radius: 8px;
  display: none;
  padding: 7px;
  background: rgba(8, 14, 22, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  display: grid;
}

.nav-menu a {
  justify-content: flex-start;
}

.primary-action {
  border: 1px solid rgba(95, 199, 223, 0.38);
  background: var(--cyan);
  color: #061016;
  padding: 9px 14px;
  box-shadow: 0 10px 26px rgba(95, 199, 223, 0.18);
}

.nav-cta {
  justify-self: end;
  margin-right: clamp(12px, 3vw, 42px);
  min-height: 50px;
  border: 1px solid rgba(95, 199, 223, 0.36);
  border-radius: 999px;
  padding: 12px 20px;
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.22), rgba(255, 101, 124, 0.1)),
    rgba(8, 14, 22, 0.72);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(95, 199, 223, 0.22);
  box-shadow:
    inset 0 -2px 0 rgba(255, 101, 124, 0.62),
    inset 0 0 0 1px rgba(238, 244, 248, 0.04),
    0 0 22px rgba(95, 199, 223, 0.14),
    0 10px 28px rgba(0, 0, 0, 0.28);
  transition:
    background 140ms ease,
    border-color 140ms ease,
    color 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: rgba(95, 199, 223, 0.58);
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.34), rgba(255, 101, 124, 0.16)),
    rgba(8, 14, 22, 0.84);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow:
    inset 0 -2px 0 rgba(255, 101, 124, 0.72),
    inset 0 0 0 1px rgba(95, 199, 223, 0.2),
    0 0 28px rgba(95, 199, 223, 0.28),
    0 14px 34px rgba(0, 0, 0, 0.34);
  outline: none;
}

.primary-action:hover,
.primary-action:focus-visible {
  filter: brightness(1.08);
  outline: none;
}

.inline-link {
  width: fit-content;
  border-bottom: 1px solid rgba(95, 199, 223, 0.46);
  color: var(--cyan);
  font-weight: 900;
  text-decoration: none;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--gold);
  border-color: rgba(241, 184, 75, 0.56);
  outline: none;
}

.hero {
  padding: clamp(24px, 4vw, 42px) 0 22px;
}

.dashboard-page {
  width: min(1240px, calc(100% - 32px));
}

.dashboard-hero {
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: clamp(20px, 3.6vw, 34px) 0 22px;
}

.dashboard-hero h1 {
  max-width: 680px;
  margin: 6px 0 12px;
  font-size: clamp(1.95rem, 3.5vw, 3.25rem);
  line-height: 1.04;
}

.dashboard-hero p:not(.eyebrow) {
  max-width: 620px;
  color: #b8c6d0;
  font-size: 0.96rem;
  line-height: 1.5;
}

.daily-pulse {
  border: 1px solid rgba(241, 184, 75, 0.46);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 18px;
  align-items: stretch;
  margin: 0 0 16px;
  padding: 20px 18px 18px;
  background:
    linear-gradient(180deg, rgba(241, 184, 75, 0.2) 0 1px, transparent 1px 9px, rgba(241, 184, 75, 0.08) 9px 10px, transparent 10px),
    linear-gradient(135deg, rgba(241, 184, 75, 0.18), transparent 42%),
    linear-gradient(90deg, rgba(95, 199, 223, 0.11), rgba(255, 101, 124, 0.08)),
    rgba(13, 21, 29, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 18px 45px rgba(0, 0, 0, 0.24),
    0 0 34px rgba(241, 184, 75, 0.08);
  position: relative;
  overflow: visible;
}

.daily-pulse::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--cyan), var(--green));
  box-shadow: 0 0 18px rgba(241, 184, 75, 0.34);
}

.daily-pulse .eyebrow {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(241, 184, 75, 0.34);
}

.daily-pulse-kicker {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  position: relative;
}

.daily-pulse h2 {
  max-width: 760px;
  margin: 6px 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
  color: #fff7df;
}

.daily-pulse-main p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #d8cbb1;
  line-height: 1.48;
}

.daily-pulse-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.pulse-action {
  border: 1px solid rgba(241, 184, 75, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  background:
    linear-gradient(90deg, rgba(241, 184, 75, 0.12), transparent 72%),
    rgba(8, 14, 22, 0.58);
  color: var(--ink);
  text-decoration: none;
}

.pulse-action:hover,
.pulse-action:focus-visible {
  border-color: rgba(241, 184, 75, 0.58);
  background:
    linear-gradient(90deg, rgba(241, 184, 75, 0.18), rgba(95, 199, 223, 0.08)),
    rgba(8, 14, 22, 0.74);
  outline: none;
}

.pulse-action span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-action strong {
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.2;
}

.app-launcher {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
}

.launcher-card {
  min-height: 250px;
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(126, 182, 255, 0.08), transparent 48%),
    rgba(15, 24, 33, 0.88);
  color: var(--ink);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.launcher-card.featured {
  border-color: rgba(85, 214, 165, 0.3);
  background:
    radial-gradient(circle at 82% 0%, rgba(85, 214, 165, 0.16), transparent 35%),
    rgba(15, 24, 33, 0.92);
}

.launcher-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--gold));
}

.launcher-card:hover,
.launcher-card:focus-visible {
  border-color: rgba(95, 199, 223, 0.5);
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.launcher-card span,
.dashboard-grid .eyebrow {
  width: fit-content;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launcher-card h2,
.dashboard-grid h2 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.08;
}

.launcher-card p,
.dashboard-grid p,
.dashboard-grid li {
  color: #b8c6d0;
  line-height: 1.45;
}

.launcher-card strong {
  margin-top: auto;
  color: var(--green);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.dashboard-grid article {
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(15, 24, 33, 0.82);
}

.dashboard-grid ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.release-details {
  margin-top: 12px;
}

.release-details summary {
  width: fit-content;
  cursor: pointer;
  color: var(--green);
  font-weight: 950;
}

.release-details summary:hover,
.release-details summary:focus-visible {
  color: #ffffff;
  outline: none;
}

.hero-copy {
  max-width: 980px;
  padding: 0;
}

.eyebrow {
  margin: 0;
  color: #8ee8ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(95, 199, 223, 0.28);
}

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

h1 {
  max-width: 780px;
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: #b2c0cc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.secondary-action {
  border: 1px solid rgba(147, 164, 179, 0.22);
  background: rgba(13, 21, 29, 0.62);
  padding: 10px 13px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-chips span,
.hero-chips a {
  border: 1px solid rgba(95, 199, 223, 0.22);
  border-radius: 999px;
  background: rgba(13, 21, 29, 0.62);
  color: #d5e4ed;
  text-decoration: none;
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 900;
}

.hero-chips a:hover,
.hero-chips a:focus-visible {
  border-color: rgba(95, 199, 223, 0.52);
  background: rgba(95, 199, 223, 0.14);
  color: var(--ink);
  outline: none;
}

.quick-start {
  margin: -2px 0 18px;
  border: 1px solid rgba(95, 199, 223, 0.18);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 0.85fr repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(147, 164, 179, 0.12);
}

.quick-start > div,
.quick-start > a {
  min-width: 0;
  padding: 14px;
  background: rgba(12, 20, 28, 0.92);
}

.quick-start > div {
  display: grid;
  align-content: center;
  gap: 4px;
}

.quick-start > a {
  color: var(--ink);
  text-decoration: none;
  display: grid;
  gap: 7px;
}

.quick-start > a:hover,
.quick-start > a:focus-visible {
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.14), rgba(85, 214, 165, 0.08)),
    rgba(12, 20, 28, 0.98);
  outline: none;
}

.quick-start span,
.quick-start small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.35;
}

.quick-start strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.2;
}

.quick-start em {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(95, 199, 223, 0.34);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(95, 199, 223, 0.12);
  color: var(--cyan);
  font-style: normal;
  font-weight: 950;
}

.status-action,
.status-link {
  margin-top: 10px;
  border: 1px solid rgba(95, 199, 223, 0.32);
  border-radius: 7px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  background: rgba(95, 199, 223, 0.12);
  color: var(--ink);
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.status-action:hover,
.status-action:focus-visible,
.status-link:hover,
.status-link:focus-visible {
  border-color: rgba(85, 214, 165, 0.5);
  background: rgba(85, 214, 165, 0.14);
  outline: none;
}

.section-rail {
  position: sticky;
  top: 8px;
  z-index: 12;
  margin: -6px auto 14px;
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  background: rgba(8, 14, 22, 0.86);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.section-rail-progress {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.8;
}

.section-rail a {
  border-radius: 999px;
  color: #aebdca;
  padding: 7px 10px;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 950;
}

.section-rail a:hover,
.section-rail a:focus-visible,
.section-rail a.is-active {
  background: rgba(95, 199, 223, 0.12);
  color: var(--ink);
  outline: none;
}

.market-inline {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.market-inline .pulse-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(95, 199, 223, 0.8);
}

.market-divider {
  color: rgba(147, 164, 179, 0.48);
}

.market-inline strong {
  color: var(--ink);
  font-weight: 900;
}

.workspace {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 18px;
  align-items: start;
}

.controls,
.results,
.matches {
  border: 1px solid rgba(147, 164, 179, 0.16);
  background: rgba(18, 27, 36, 0.88);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.controls {
  display: grid;
  gap: 16px;
  padding: 18px;
  position: sticky;
  top: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: #c4d0da;
  font-size: 0.86rem;
  font-weight: 800;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.tip {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 1px solid rgba(95, 199, 223, 0.4);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(95, 199, 223, 0.12);
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  position: relative;
  outline: none;
  z-index: 4;
}

.tip:hover,
.tip:focus,
.tip:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(241, 184, 75, 0.14);
}

.tip::after {
  content: attr(data-tip);
  width: min(260px, calc(100vw - 36px));
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  border: 1px solid rgba(126, 182, 255, 0.22);
  border-radius: 7px;
  background: #081018;
  color: #d7e4ed;
  padding: 9px 10px;
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.tip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #081018;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.tip:hover::after,
.tip:focus::after,
.tip:focus-visible::after,
.tip:hover::before,
.tip:focus::before,
.tip:focus-visible::before {
  opacity: 1;
}

.tip:hover::after,
.tip:focus::after,
.tip:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

.tip.no-pseudo::before,
.tip.no-pseudo::after {
  display: none;
}

.tip-details {
  display: inline-flex;
  position: relative;
  vertical-align: middle;
}

.tip-details > summary {
  list-style: none;
}

.tip-details > summary::-webkit-details-marker {
  display: none;
}

.tip-wrap {
  display: inline-flex;
  position: relative;
  vertical-align: middle;
}

.tip-popover {
  width: min(300px, calc(100vw - 36px));
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  border: 1px solid rgba(126, 182, 255, 0.22);
  border-radius: 7px;
  background: #081018;
  color: #d7e4ed;
  padding: 9px 10px;
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
  z-index: 30;
}

.tip-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #081018;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
  z-index: 31;
}

.tip-wrap:hover .tip-popover,
.tip-wrap:focus-within .tip-popover,
.tip-wrap.is-open .tip-popover,
.tip:focus + .tip-popover,
.tip:focus-visible + .tip-popover,
.tip-details[open] .tip-popover,
.tip-wrap:hover::before,
.tip-wrap:focus-within::before,
.tip-wrap.is-open::before {
  opacity: 1;
}

.tip-wrap:hover .tip-popover,
.tip-wrap:focus-within .tip-popover,
.tip-wrap.is-open .tip-popover,
.tip:focus + .tip-popover,
.tip:focus-visible + .tip-popover,
.tip-details[open] .tip-popover {
  transform: translateX(-50%) translateY(0);
}

.daily-pulse .tip-wrap.is-open .tip-popover,
.daily-pulse .tip-wrap.is-open::before {
  opacity: 1;
}

.daily-pulse .tip-wrap.is-open .tip-popover {
  transform: translateX(-50%) translateY(0);
}

.passive-tip {
  margin-left: 4px;
  vertical-align: 1px;
}

.page-result-metric small .tip {
  justify-self: end;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--field);
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(95, 199, 223, 0.18);
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
}

.search-row button {
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: #06120f;
  font-size: 1.4rem;
  line-height: 1;
}

.search-assist {
  min-height: 20px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
}

.data-health {
  border: 1px solid rgba(95, 199, 223, 0.18);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  background:
    radial-gradient(circle at 0 0, rgba(95, 199, 223, 0.14), transparent 40%),
    rgba(8, 14, 22, 0.56);
}

.data-health .pulse-dot {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(95, 199, 223, 0.8);
}

.data-health.is-warning {
  border-color: rgba(241, 184, 75, 0.34);
  background:
    radial-gradient(circle at 0 0, rgba(241, 184, 75, 0.14), transparent 42%),
    rgba(8, 14, 22, 0.58);
}

.data-health.is-warning .pulse-dot {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(241, 184, 75, 0.72);
}

.data-health strong {
  display: block;
  color: var(--ink);
  font-size: 0.84rem;
}

.data-health p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.36;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checks {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.checks label {
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

.checks input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.results {
  min-height: 520px;
  padding: 18px;
  overflow: hidden;
}

.selected-card {
  display: grid;
  grid-template-columns: minmax(200px, 255px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  min-height: 360px;
  border-bottom: 1px solid rgba(147, 164, 179, 0.16);
  padding-bottom: 22px;
}

.selected-card .empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.empty-advisor {
  grid-column: 1 / -1;
  min-height: 330px;
  border: 1px solid rgba(95, 199, 223, 0.2);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 34px);
  display: grid;
  align-content: center;
  gap: 16px;
  background:
    radial-gradient(circle at 12% 12%, rgba(95, 199, 223, 0.14), transparent 32%),
    radial-gradient(circle at 86% 76%, rgba(255, 101, 124, 0.08), transparent 30%),
    rgba(8, 14, 22, 0.72);
}

.empty-advisor h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 0.96;
}

.empty-advisor p:not(.final-label) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

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

.empty-sample-card {
  min-width: 0;
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  background: rgba(15, 24, 33, 0.8);
  color: var(--ink);
  padding: 10px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 8px 10px;
  text-align: left;
}

.empty-sample-card:hover,
.empty-sample-card:focus-visible {
  border-color: rgba(95, 199, 223, 0.54);
  outline: none;
}

.empty-sample-card span {
  grid-row: span 2;
  width: 46px;
  aspect-ratio: 5 / 7;
  border-radius: 5px;
  background: #101922;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--gold);
  font-weight: 950;
}

.empty-sample-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.empty-sample-card strong,
.empty-sample-card small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.empty-sample-card strong {
  align-self: end;
  white-space: nowrap;
}

.empty-sample-card small {
  color: var(--muted);
  font-size: 0.78rem;
}

.card-showcase {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.card-art {
  width: min(100%, 228px);
  aspect-ratio: 5 / 7;
  border: 1px solid rgba(147, 164, 179, 0.18);
  border-radius: 6px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 22%, rgba(95, 199, 223, 0.22), transparent 30%),
    linear-gradient(155deg, #172330, #25635b 52%, #8f6721);
  color: #f4fbff;
  font-size: 2.4rem;
  font-weight: 900;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.42), 0 0 46px rgba(95, 199, 223, 0.08);
}

.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  font-size: 0;
}

.card-art.image-missing::after {
  content: attr(data-fallback);
  width: 76px;
  height: 76px;
  border: 1px solid rgba(241, 184, 75, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(7, 13, 19, 0.46);
  color: var(--gold);
  font-size: 2rem;
  font-weight: 950;
}

.card-action-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.card-action-grid button {
  min-height: 40px;
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 7px;
  background: #1a2634;
  color: var(--ink);
  font-weight: 900;
  font-size: 0.82rem;
}

.card-action-grid button:hover,
.card-action-grid button:focus-visible {
  border-color: rgba(95, 199, 223, 0.48);
  background: rgba(95, 199, 223, 0.16);
  outline: none;
}

.sellability-stamp {
  color: var(--green);
  font-weight: 950;
  text-align: center;
  letter-spacing: 0.02em;
}

.sellability-stamp.locked {
  color: #ff9aaa;
}

.card-facts {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 16px;
  margin: 0;
}

.card-facts div {
  min-width: 0;
}

.card-facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.card-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 850;
}

.other-versions {
  width: 100%;
  display: grid;
  gap: 10px;
}

.other-versions h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
}

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

.version-card {
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  background: rgba(15, 24, 33, 0.7);
  color: var(--ink);
  text-decoration: none;
  padding: 8px;
  display: grid;
  grid-template-columns: 42px 52px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.version-card:hover,
.version-card:focus-visible {
  border-color: rgba(95, 199, 223, 0.5);
  background: rgba(95, 199, 223, 0.1);
  outline: none;
}

.version-card span {
  width: 42px;
  aspect-ratio: 5 / 7;
  border-radius: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #101922;
  color: var(--gold);
  font-weight: 950;
}

.version-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.version-card strong {
  color: var(--gold);
  font-size: 0.86rem;
}

.version-card small {
  min-width: 0;
  color: var(--muted);
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-empty {
  font-size: 0.8rem;
}

.card-intel {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.card-hero-panel,
.market-board,
.performance-panel,
.collection-cost-panel,
.attribute-panel {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.card-hero-panel {
  min-height: 148px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
  background:
    radial-gradient(circle at 78% 18%, rgba(95, 199, 223, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(95, 199, 223, 0.08), rgba(255, 101, 124, 0.05)),
    rgba(10, 17, 26, 0.72);
}

.card-hero-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.card-hero-panel p:not(.final-label) {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.ovr-badge {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(241, 184, 75, 0.48);
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  background:
    linear-gradient(135deg, rgba(241, 184, 75, 0.22), rgba(95, 199, 223, 0.08)),
    #101922;
  color: var(--gold);
  box-shadow: 0 0 30px rgba(241, 184, 75, 0.08);
}

.ovr-badge strong {
  color: var(--ink);
  font-size: 2.05rem;
  line-height: 0.9;
}

.ovr-badge span {
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

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

.chips span,
.tag {
  border: 1px solid var(--line);
  background: #0f1821;
  border-radius: 999px;
  padding: 6px 10px;
  color: #c8d5df;
  font-size: 0.78rem;
  font-weight: 800;
}

.chips .tag-danger {
  border-color: rgba(255, 101, 124, 0.4);
  background: rgba(255, 101, 124, 0.12);
  color: var(--red);
}

.chips .tag-warn {
  border-color: rgba(241, 184, 75, 0.45);
  background: rgba(241, 184, 75, 0.12);
  color: var(--gold);
}

.chips .tag-sleeper {
  border-color: rgba(210, 122, 255, 0.48);
  background: rgba(210, 122, 255, 0.13);
  color: #e5b8ff;
}

.no-sell-banner {
  grid-column: 1 / -1;
  margin-top: 12px;
  border: 1px solid rgba(255, 101, 124, 0.36);
  border-radius: 8px;
  background: rgba(255, 101, 124, 0.12);
  color: #ffd7dd;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}

.no-sell-banner strong {
  color: var(--red);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.no-sell-banner span {
  font-size: 0.88rem;
}

.performance-panel {
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  background:
    radial-gradient(circle at 92% 0%, rgba(85, 214, 165, 0.11), transparent 34%),
    linear-gradient(135deg, rgba(85, 214, 165, 0.08), rgba(95, 199, 223, 0.05)),
    rgba(7, 18, 22, 0.72);
}

.performance-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.15rem;
}

.performance-panel p {
  margin: 6px 0 0;
  color: #dbe7ef;
  font-weight: 850;
}

.performance-panel > small,
.performance-panel > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.performance-panel.muted,
.performance-panel.loading {
  background:
    radial-gradient(circle at 92% 0%, rgba(95, 199, 223, 0.08), transparent 34%),
    rgba(8, 14, 22, 0.72);
}

.performance-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.performance-stats span {
  min-width: 58px;
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 7px;
  display: grid;
  gap: 2px;
  padding: 8px 9px;
  background: rgba(13, 21, 29, 0.72);
  text-align: center;
}

.performance-stats strong {
  color: var(--green);
  font-size: 1rem;
}

.performance-stats small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
}

.market-board {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
  align-self: stretch;
  background:
    radial-gradient(circle at 90% 0%, rgba(95, 199, 223, 0.09), transparent 34%),
    rgba(8, 14, 22, 0.72);
}

.number-row {
  min-width: 0;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(147, 164, 179, 0.1);
  border-radius: 7px;
  padding: 10px;
  background: rgba(13, 21, 29, 0.62);
  color: var(--muted);
  font-size: 0.86rem;
}

.number-row strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.manual-list-row {
  grid-column: 1 / -1;
  border-color: rgba(95, 199, 223, 0.28);
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.12), rgba(85, 214, 165, 0.06)),
    rgba(13, 21, 29, 0.76);
}

.manual-list-row strong {
  color: var(--green);
  font-size: 1.15rem;
}

.manual-list-row small {
  color: #c8d5df;
  line-height: 1.35;
  font-weight: 800;
}

.manual-list-row.watch {
  border-color: rgba(241, 184, 75, 0.36);
  background:
    linear-gradient(135deg, rgba(241, 184, 75, 0.12), rgba(95, 199, 223, 0.06)),
    rgba(13, 21, 29, 0.76);
}

.manual-list-row.caution,
.manual-list-row.danger,
.manual-list-row.locked {
  border-color: rgba(255, 101, 124, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 101, 124, 0.12), rgba(95, 199, 223, 0.04)),
    rgba(13, 21, 29, 0.76);
}

.manual-list-row.caution strong,
.manual-list-row.danger strong,
.manual-list-row.locked strong {
  color: var(--gold);
}

.collection-cost-panel {
  padding: 16px;
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at 92% 0%, rgba(241, 184, 75, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(241, 184, 75, 0.08), rgba(95, 199, 223, 0.05)),
    rgba(8, 14, 22, 0.72);
}

.collection-cost-panel.low,
.collection-cost-panel.done {
  background:
    radial-gradient(circle at 92% 0%, rgba(85, 214, 165, 0.11), transparent 34%),
    linear-gradient(135deg, rgba(85, 214, 165, 0.08), rgba(95, 199, 223, 0.05)),
    rgba(8, 14, 22, 0.72);
}

.collection-cost-panel.high {
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 101, 124, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 101, 124, 0.08), rgba(95, 199, 223, 0.05)),
    rgba(8, 14, 22, 0.72);
}

.collection-cost-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.28rem;
}

.collection-cost-panel p {
  margin: 6px 0 0;
  color: #d0dde6;
  line-height: 1.4;
}

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

.collection-cost-grid span {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 7px;
  display: grid;
  gap: 4px;
  padding: 10px;
  background: rgba(13, 21, 29, 0.64);
}

.collection-cost-grid small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.collection-cost-grid strong {
  color: var(--ink);
}

.collection-cost-panel ul {
  margin: 0;
  padding-left: 18px;
  color: #b8c6d0;
  line-height: 1.45;
}

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

.attribute-panel {
  padding: 16px 18px;
}

.attribute-panel.hitting {
  background:
    radial-gradient(circle at 90% 0%, rgba(85, 214, 165, 0.1), transparent 34%),
    rgba(5, 21, 20, 0.62);
}

.attribute-panel.fielding,
.attribute-panel.pitching {
  background:
    radial-gradient(circle at 88% 0%, rgba(126, 182, 255, 0.1), transparent 34%),
    rgba(7, 14, 28, 0.68);
}

.attribute-panel.speed {
  background:
    radial-gradient(circle at 88% 0%, rgba(95, 199, 223, 0.11), transparent 34%),
    rgba(7, 16, 22, 0.68);
}

.attribute-panel h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.attribute-row {
  display: grid;
  grid-template-columns: minmax(86px, 0.55fr) minmax(90px, 1fr) 38px;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  color: #d9e5ed;
}

.attribute-row + .attribute-row {
  margin-top: 8px;
}

.attribute-row span {
  color: #d9e5ed;
  font-weight: 750;
}

.attribute-row strong {
  text-align: right;
  font-weight: 950;
}

.attribute-meter {
  height: 14px;
  border-radius: 999px;
  background: #3a4655;
  overflow: hidden;
}

.attribute-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1455d9, #0aa37e 72%, #10e05d);
}

.attribute-row.elite .attribute-meter i {
  box-shadow: 0 0 16px rgba(16, 224, 93, 0.54);
}

.attribute-row.low .attribute-meter i {
  background: linear-gradient(90deg, #1455d9, #137090);
}

.recommendation {
  padding: 10px 0 8px;
}

.final-recommendation,
.market-predictor {
  padding-top: 18px;
}

.final-card {
  border: 1px solid rgba(126, 182, 255, 0.2);
  border-left: 6px solid var(--cyan);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0%, rgba(95, 199, 223, 0.12), transparent 34%),
    rgba(15, 24, 33, 0.94);
  padding: 16px;
  display: grid;
  gap: 14px;
}

.final-card.no-sell-final {
  border-left-color: var(--red);
  background: rgba(255, 101, 124, 0.1);
}

.final-label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.final-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.final-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.final-card-head > span {
  align-self: start;
  border-radius: 999px;
  background: var(--cyan);
  color: #061116;
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 900;
}

.final-card.no-sell-final .final-card-head > span {
  background: var(--red);
}

.confidence-panel {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.55);
  padding: 12px;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr);
  gap: 8px 14px;
  align-items: center;
}

.confidence-panel strong {
  display: block;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}

.confidence-panel span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.confidence-panel meter {
  width: 100%;
  height: 14px;
  border: none;
  border-radius: 999px;
  overflow: hidden;
  background: #344150;
}

.confidence-panel meter::-webkit-meter-bar {
  border: none;
  border-radius: 999px;
  background: #344150;
}

.confidence-panel meter::-webkit-meter-optimum-value,
.confidence-panel meter::-webkit-meter-suboptimum-value,
.confidence-panel meter::-webkit-meter-even-less-good-value {
  border-radius: 999px;
  background: linear-gradient(90deg, #1455d9, #0aa37e 72%, #10e05d);
}

.confidence-panel p {
  grid-column: 1 / -1;
  margin: 0;
  color: #b8c6d0;
  font-size: 0.88rem;
}

.decision-action-strip {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 10px;
}

.decision-action-strip article {
  min-width: 0;
  border: 1px solid rgba(147, 164, 179, 0.13);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.08), transparent 46%),
    rgba(8, 14, 22, 0.58);
}

.decision-action-strip span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-action-strip strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.decision-action-strip p {
  margin: 7px 0 0;
  color: #b8c6d0;
  font-size: 0.84rem;
  line-height: 1.38;
}

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

.decision-brief article {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 8px;
  padding: 12px;
  background: rgba(8, 14, 22, 0.52);
}

.decision-brief strong {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.final-card ul,
.decision-brief ul {
  margin: 0;
  padding-left: 20px;
  color: #b8c6d0;
  line-height: 1.42;
}

.final-card li + li,
.decision-brief li + li {
  margin-top: 5px;
}

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

.decision-breakdown article {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 8px;
  padding: 11px;
  background: rgba(8, 14, 22, 0.42);
}

.decision-breakdown span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-breakdown p {
  margin: 6px 0 0;
  color: #c2d0da;
  font-size: 0.86rem;
  line-height: 1.42;
}

.share-recommendation {
  justify-self: start;
  border: 1px solid rgba(95, 199, 223, 0.34);
  border-radius: 7px;
  background: rgba(95, 199, 223, 0.12);
  color: var(--ink);
  min-height: 42px;
  padding: 0 14px;
  font-weight: 950;
}

.share-recommendation:hover,
.share-recommendation:focus-visible {
  background: var(--cyan);
  color: #061116;
  outline: none;
}

.predictor-card {
  border: 1px solid rgba(126, 182, 255, 0.2);
  border-left: 6px solid var(--cyan);
  border-radius: 8px;
  background: rgba(15, 24, 33, 0.9);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
}

.predictor-card.up {
  border-left-color: var(--green);
}

.predictor-card.down {
  border-left-color: var(--red);
}

.predictor-card.locked {
  border-left-color: var(--gold);
}

.predictor-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.1;
}

.predictor-card > span {
  align-self: start;
  border-radius: 999px;
  background: #0d151d;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 900;
}

.predictor-card.up > span {
  color: var(--green);
}

.predictor-card.down > span {
  color: var(--red);
}

.predictor-note,
.predictor-card ul {
  grid-column: 1 / -1;
}

.predictor-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.predictor-card ul {
  margin: 0;
  padding-left: 20px;
  color: #b8c6d0;
  line-height: 1.42;
}

.predictor-card li + li {
  margin-top: 5px;
}

.callout {
  border-left: 5px solid var(--green);
  background: rgba(85, 214, 165, 0.1);
  border-radius: 8px;
  padding: 16px;
}

.callout.sell {
  border-color: var(--gold);
  background: rgba(241, 184, 75, 0.1);
}

.callout.hold {
  border-color: var(--cyan);
  background: rgba(95, 199, 223, 0.1);
}

.callout.collect {
  border-color: var(--green);
  background: rgba(85, 214, 165, 0.1);
}

.callout.no-sell {
  border-color: var(--red);
  background: rgba(255, 101, 124, 0.1);
}

.callout h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.callout p {
  margin: 0;
  color: #bac7d1;
}

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

.option {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f1821;
  padding: 14px;
}

.option.blocked {
  background: #10161d;
  color: #7f8d99;
}

.option.blocked .score {
  background: #566370;
}

.option header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 8px;
}

.option h3 {
  margin: 0;
  font-size: 0.98rem;
}

.score {
  min-width: 42px;
  text-align: center;
  border-radius: 999px;
  color: #071118;
  background: var(--cyan);
  padding: 5px 8px;
  font-size: 0.8rem;
  font-weight: 900;
}

.option p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.option details {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.option summary {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.option details ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #aab8c3;
  font-size: 0.84rem;
  line-height: 1.4;
}

.option details li + li {
  margin-top: 4px;
}

.matches {
  margin-top: 18px;
  padding: 18px;
}

.watchlist-panel {
  margin-top: 18px;
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: rgba(18, 27, 36, 0.84);
  box-shadow: var(--shadow);
}

.watchlist-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.watchlist-actions p {
  margin: 0;
}

.watchlist-actions button {
  border: 1px solid rgba(147, 164, 179, 0.18);
  border-radius: 999px;
  background: rgba(13, 21, 29, 0.74);
  color: #c4d0da;
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 900;
}

.watchlist-actions button:hover,
.watchlist-actions button:focus-visible {
  border-color: rgba(255, 101, 124, 0.42);
  color: var(--red);
  outline: none;
}

.watchlist-actions button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

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

.watchlist-summary article {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 8px;
  padding: 10px;
  background: rgba(8, 14, 22, 0.52);
}

.watchlist-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.watchlist-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.08rem;
}

.watchlist-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.watchlist-card {
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  min-height: 112px;
  padding: 12px;
  background: rgba(13, 21, 29, 0.76);
  color: var(--ink);
  text-align: left;
}

.watchlist-card.is-sleeper {
  border-color: rgba(210, 122, 255, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(210, 122, 255, 0.12), transparent 34%),
    rgba(13, 21, 29, 0.82);
}

.watchlist-card:hover,
.watchlist-card:focus-visible {
  border-color: rgba(85, 214, 165, 0.44);
  outline: none;
}

.watch-art {
  width: 54px;
  aspect-ratio: 5 / 7;
  border-radius: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #1e3145, #27715f);
  color: var(--gold);
  font-weight: 950;
}

.watch-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watchlist-card strong,
.watchlist-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.watch-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.watchlist-card small,
.watchlist-card em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}

.watchlist-card em {
  color: var(--green);
}

.watchlist-card .watch-intel {
  color: #d6e1ea;
}

.watchlist-card .watch-reason {
  color: #aebdca;
  line-height: 1.25;
  white-space: normal;
}

.watch-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
  min-width: 116px;
}

.watch-meta small {
  max-width: 130px;
  text-align: right;
}

.watch-buttons {
  display: flex;
  gap: 5px;
  margin-top: 3px;
}

.watch-buttons button {
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 999px;
  background: rgba(8, 14, 22, 0.78);
  color: #c4d0da;
  padding: 5px 8px;
  font-size: 0.68rem;
  font-weight: 950;
}

.watch-buttons button:hover,
.watch-buttons button:focus-visible {
  border-color: rgba(95, 199, 223, 0.42);
  color: var(--ink);
  outline: none;
}

.watch-buttons button[data-watch-remove]:hover,
.watch-buttons button[data-watch-remove]:focus-visible {
  border-color: rgba(255, 101, 124, 0.46);
  color: var(--red);
}

.watch-tags,
.signal-badges,
.database-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.watch-tags b,
.signal-badges b,
.database-badges b {
  border: 1px solid rgba(210, 122, 255, 0.28);
  border-radius: 999px;
  background: rgba(210, 122, 255, 0.1);
  color: #e2b7ff;
  padding: 3px 6px;
  font-size: 0.64rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.compare-panel {
  margin-top: 18px;
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  padding: 18px;
  background:
    radial-gradient(circle at 92% 0%, rgba(241, 184, 75, 0.09), transparent 36%),
    rgba(18, 27, 36, 0.84);
  box-shadow: var(--shadow);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.compare-card {
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 11px;
  background: rgba(8, 14, 22, 0.7);
  color: var(--ink);
  text-align: left;
}

.compare-card:hover,
.compare-card:focus-visible {
  border-color: rgba(95, 199, 223, 0.5);
  background: rgba(95, 199, 223, 0.08);
  outline: none;
}

.compare-art {
  width: 54px;
  aspect-ratio: 5 / 7;
  border-radius: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #1e3145, #8f6721);
  color: var(--gold);
  font-weight: 950;
}

.compare-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.compare-main strong,
.compare-main small,
.compare-main em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-main small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.compare-main em {
  color: var(--green);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 950;
}

.compare-price {
  color: var(--ink);
  font-weight: 950;
  text-align: right;
}

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

.match-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.match-actions button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0f1821;
  color: var(--cyan);
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 900;
}

.filtered-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.match-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.match-filters label {
  font-size: 0.78rem;
}

.match-pager {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px 0;
}

.match-pager p {
  margin: 0;
  color: #dbe7ef;
  font-weight: 900;
}

.match-pager label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.match-pager select,
.match-pager input {
  width: auto;
  min-width: 76px;
  min-height: 38px;
  padding: 7px 10px;
}

.match-pager input {
  width: 86px;
}

.pager-buttons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pager-buttons button {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid rgba(147, 164, 179, 0.18);
  border-radius: 7px;
  background: rgba(13, 21, 29, 0.78);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 950;
}

.pager-buttons button:hover,
.pager-buttons button:focus-visible {
  border-color: rgba(95, 199, 223, 0.5);
  background: rgba(95, 199, 223, 0.12);
  outline: none;
}

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

.pager-buttons span {
  min-width: 72px;
  color: #dbe7ef;
  font-weight: 950;
  text-align: center;
}

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

.match-card {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f1821;
  padding: 10px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 10px;
  align-items: center;
  text-align: left;
}

.match-card:hover,
.match-card:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(85, 214, 165, 0.16);
}

.thumb {
  width: 46px;
  aspect-ratio: 5 / 7;
  border-radius: 6px;
  background: linear-gradient(150deg, #233247, #207769);
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-main {
  min-width: 0;
}

.match-main strong,
.match-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-main small {
  margin-top: 3px;
  color: var(--muted);
}

.price {
  font-weight: 900;
  color: var(--green);
}

.no-sell-match {
  border-color: rgba(255, 101, 124, 0.34);
  background: rgba(255, 101, 124, 0.08);
}

.no-sell-match .price {
  color: var(--red);
}

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

.proof-strip article,
.story-grid article,
.plan-card {
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  background: rgba(15, 24, 33, 0.92);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.proof-strip article {
  min-height: 116px;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.proof-strip strong {
  color: var(--green);
  font-size: 1.6rem;
  line-height: 1;
}

.proof-strip span {
  color: #b8c6d0;
  font-size: 0.88rem;
  line-height: 1.38;
}

.product-story,
.newest-panel,
.tools-hub,
.plan-preview,
.glossary-panel,
.faq-panel,
.help-center,
.site-footer {
  margin-top: 18px;
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  background: rgba(18, 27, 36, 0.84);
  box-shadow: var(--shadow);
}

.product-story,
.newest-panel,
.tools-hub,
.plan-preview,
.glossary-panel,
.faq-panel,
.help-center {
  padding: 18px;
}

.story-head {
  align-items: start;
}

.story-head h2,
.plan-preview h2 {
  margin: 4px 0 0;
  font-size: 1.55rem;
  line-height: 1.14;
}

.story-head > p,
.plan-preview > div > p,
.glossary-panel .section-head > p,
.faq-panel .section-head p,
.help-center .section-head p {
  max-width: 540px;
  color: var(--muted);
}

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

.glossary-grid article {
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 150px;
  padding: 14px;
  background: rgba(13, 21, 29, 0.72);
}

.glossary-grid span {
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.glossary-grid p {
  margin: 0;
  color: #b8c6d0;
  font-size: 0.9rem;
  line-height: 1.42;
}

.newest-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 252px);
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 2px 2px 12px;
}

.newest-rail::-webkit-scrollbar {
  height: 9px;
}

.newest-rail::-webkit-scrollbar-track {
  background: rgba(13, 21, 29, 0.8);
  border-radius: 999px;
}

.newest-rail::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--green), var(--cyan));
  border-radius: 999px;
}

.newest-card,
.newest-skeleton {
  min-height: 132px;
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(126, 182, 255, 0.08), transparent 42%),
    rgba(15, 24, 33, 0.94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  scroll-snap-align: start;
}

.newest-card {
  color: var(--ink);
  padding: 12px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-align: left;
}

.newest-card:hover,
.newest-card:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(85, 214, 165, 0.16), 0 14px 36px rgba(0, 0, 0, 0.22);
  outline: none;
}

.newest-card.is-no-sell {
  border-color: rgba(255, 101, 124, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 101, 124, 0.1), transparent 48%),
    rgba(15, 24, 33, 0.94);
}

.newest-art {
  width: 58px;
  aspect-ratio: 5 / 7;
  border-radius: 7px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(150deg, #233247, #207769);
  color: var(--green);
  font-weight: 950;
}

.newest-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newest-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.newest-copy strong,
.newest-copy small,
.newest-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.newest-copy strong {
  font-size: 0.98rem;
  line-height: 1.15;
}

.newest-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.newest-copy em {
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(85, 214, 165, 0.12);
  color: var(--green);
  padding: 5px 8px;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 950;
}

.is-no-sell .newest-copy em {
  background: rgba(255, 101, 124, 0.12);
  color: var(--red);
}

.newest-skeleton {
  position: relative;
  overflow: hidden;
}

.newest-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(238, 244, 248, 0.08), transparent);
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

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

.tool-card,
.help-card {
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  background: rgba(15, 24, 33, 0.92);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.tool-card {
  min-height: 182px;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 9px;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  text-align: left;
}

.tool-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--gold));
  opacity: 0.72;
}

.tool-card.is-planned::after {
  background: linear-gradient(90deg, rgba(147, 164, 179, 0.3), rgba(95, 199, 223, 0.45));
}

.tool-card.is-live {
  border-color: rgba(85, 214, 165, 0.34);
  background:
    linear-gradient(135deg, rgba(85, 214, 165, 0.12), transparent 48%),
    rgba(15, 24, 33, 0.95);
}

.tool-card:hover,
.tool-card:focus-visible,
.tool-card.is-active {
  border-color: rgba(95, 199, 223, 0.58);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(95, 199, 223, 0.14), 0 18px 42px rgba(0, 0, 0, 0.28);
}

.tool-card.is-active::after {
  height: 5px;
  opacity: 1;
}

.tool-type,
.tool-badge,
.help-card span {
  width: fit-content;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  background: rgba(95, 199, 223, 0.12);
  color: var(--cyan);
  padding: 5px 8px;
  letter-spacing: 0.06em;
}

.is-live .tool-badge {
  background: rgba(85, 214, 165, 0.14);
  color: var(--green);
}

.is-planned .tool-badge {
  background: rgba(147, 164, 179, 0.12);
  color: #b8c6d0;
}

.tool-card h3,
.help-card h3 {
  margin: 0;
  line-height: 1.14;
}

.tool-card h3 {
  padding-right: 70px;
  font-size: 1.12rem;
}

.tool-card p,
.help-card p {
  margin: 0;
  color: #b8c6d0;
  line-height: 1.45;
}

.tool-detail {
  margin-top: 14px;
  border: 1px solid rgba(95, 199, 223, 0.22);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(95, 199, 223, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(85, 214, 165, 0.08), rgba(126, 182, 255, 0.06)),
    rgba(8, 14, 22, 0.76);
}

.tool-detail h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.05;
}

.tool-detail p {
  max-width: 760px;
  color: #c6d3dd;
  line-height: 1.48;
}

.tool-detail ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.tool-detail li {
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 7px;
  background: rgba(13, 21, 29, 0.64);
  padding: 10px 11px;
  color: var(--ink);
  font-weight: 850;
}

.tool-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.tool-detail-actions a {
  border: 1px solid rgba(95, 199, 223, 0.28);
  border-radius: 999px;
  background: rgba(95, 199, 223, 0.12);
  color: var(--ink);
  padding: 8px 11px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 950;
}

.market-lab {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lab-panel {
  min-width: 0;
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0%, rgba(95, 199, 223, 0.08), transparent 32%),
    rgba(8, 14, 22, 0.78);
  padding: 16px;
}

.lab-panel .section-head {
  gap: 12px;
  margin-bottom: 12px;
}

.lab-panel h3 {
  margin: 4px 0 0;
  font-size: 1.35rem;
  line-height: 1.1;
}

.lab-panel .section-head > p {
  max-width: 240px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.lab-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.lab-tabs button {
  border: 1px solid rgba(95, 199, 223, 0.22);
  border-radius: 999px;
  background: rgba(13, 21, 29, 0.72);
  color: #c8d5df;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 950;
}

.lab-tabs button:hover,
.lab-tabs button:focus-visible,
.lab-tabs button.is-active {
  border-color: rgba(95, 199, 223, 0.62);
  background: rgba(95, 199, 223, 0.15);
  color: var(--ink);
  outline: none;
}

.index-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.index-row div {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 7px;
  background: rgba(15, 24, 33, 0.72);
  padding: 10px;
}

.index-row span,
.index-row small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.index-row strong {
  display: block;
  margin: 3px 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.signal-list {
  max-height: 704px;
  overflow-y: auto;
  padding-right: 4px;
  display: grid;
  gap: 9px;
  scrollbar-color: rgba(95, 199, 223, 0.65) rgba(8, 14, 22, 0.78);
  scrollbar-width: thin;
}

.signal-list::-webkit-scrollbar {
  width: 10px;
}

.signal-list::-webkit-scrollbar-track {
  background: rgba(8, 14, 22, 0.78);
  border-radius: 999px;
}

.signal-list::-webkit-scrollbar-thumb {
  border: 2px solid rgba(8, 14, 22, 0.78);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--green), var(--gold));
}

.signal-row {
  width: 100%;
  min-height: 82px;
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 10px;
  background: rgba(13, 21, 29, 0.76);
  color: var(--ink);
  text-align: left;
}

.signal-row:hover,
.signal-row:focus-visible {
  border-color: rgba(85, 214, 165, 0.48);
  outline: none;
  box-shadow: 0 0 0 3px rgba(85, 214, 165, 0.1);
}

.signal-row.fallers,
.signal-row.downgrade {
  background: linear-gradient(135deg, rgba(255, 101, 124, 0.08), transparent 42%), rgba(13, 21, 29, 0.76);
}

.signal-row.risers,
.signal-row.upgrade {
  background: linear-gradient(135deg, rgba(85, 214, 165, 0.08), transparent 42%), rgba(13, 21, 29, 0.76);
}

.signal-art {
  width: 48px;
  aspect-ratio: 5 / 7;
  border-radius: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #1e3145, #27715f);
  color: var(--gold);
  font-weight: 950;
}

.signal-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signal-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.signal-main strong,
.signal-main small,
.signal-main em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-main strong {
  font-size: 0.92rem;
}

.signal-main small,
.signal-main em,
.signal-price small {
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
}

.signal-price {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.signal-price strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.lab-pager {
  margin-top: 12px;
  border-top: 1px solid rgba(147, 164, 179, 0.14);
  padding-top: 10px;
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.lab-pager p {
  margin: 0;
}

.lab-pager label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.lab-pager select,
.lab-pager input {
  min-height: 34px;
  border: 1px solid rgba(147, 164, 179, 0.18);
  border-radius: 7px;
  background: rgba(13, 21, 29, 0.86);
  color: var(--ink);
  font-weight: 900;
}

.lab-pager select {
  padding: 0 26px 0 10px;
}

.lab-pager input {
  width: 58px;
  padding: 0 8px;
}

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

.tool-page {
  width: min(1240px, calc(100% - 32px));
}

.tool-hero {
  padding: clamp(24px, 4vw, 42px) 0 22px;
}

.tool-hero h1 {
  max-width: 780px;
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
}

.tool-hero p:not(.eyebrow) {
  max-width: 680px;
  color: #b8c6d0;
  font-size: 1rem;
  line-height: 1.45;
}

.notice-banner,
.page-summary,
.page-toolbar,
.page-tabs,
.featured-strip,
.tool-list {
  margin-top: 16px;
}

.notice-banner {
  border: 1px solid rgba(126, 182, 255, 0.28);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(15, 24, 43, 0.76);
  color: #8fbdff;
}

.notice-banner strong {
  color: #61a2ff;
}

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

.page-summary div {
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.08), transparent 52%),
    rgba(15, 24, 33, 0.78);
}

.page-summary span,
.page-summary small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-summary span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.page-summary strong {
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

.page-toolbar {
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 190px 190px;
  gap: 12px;
  padding: 14px;
  background: rgba(15, 24, 33, 0.72);
}

.page-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-indexes {
  margin-top: 14px;
}

.page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-tabs button {
  min-height: 44px;
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 7px;
  background: rgba(15, 24, 33, 0.86);
  color: var(--muted);
  padding: 10px 14px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-tabs button:hover,
.page-tabs button:focus-visible,
.page-tabs button.is-active {
  border-color: rgba(95, 199, 223, 0.5);
  background: rgba(95, 199, 223, 0.14);
  color: var(--ink);
  outline: none;
}

.page-tabs button[data-page-tab="sleepers"].is-active,
.page-tabs button[data-page-tab="sleepers"]:hover,
.page-tabs button[data-page-tab="sleepers"]:focus-visible {
  border-color: rgba(210, 122, 255, 0.5);
  background: rgba(210, 122, 255, 0.14);
}

.player-tabs {
  margin-top: 28px;
}

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

.featured-card {
  min-width: 0;
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 12px;
  background: rgba(15, 24, 33, 0.82);
  color: var(--ink);
  text-decoration: none;
  position: relative;
}

.featured-card:hover,
.featured-card:focus-visible {
  border-color: rgba(85, 214, 165, 0.44);
  outline: none;
  box-shadow: 0 0 0 3px rgba(85, 214, 165, 0.1);
}

.featured-card .page-card-art {
  width: 100%;
}

.featured-card-top {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-rank {
  flex: 0 0 auto;
  min-width: 48px;
  border: 1px solid rgba(255, 208, 106, 0.54);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(255, 208, 106, 0.95), rgba(255, 139, 58, 0.9) 48%, rgba(255, 101, 124, 0.9));
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.42),
    0 0 0 3px rgba(8, 12, 17, 0.58);
  color: #081017;
  padding: 7px 10px;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  transform: rotate(-2deg);
}

.featured-card strong,
.featured-card small,
.featured-card em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.featured-card .featured-why {
  color: #d5e2ec;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
}

.featured-card em {
  color: var(--green);
  font-style: normal;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.featured-pill {
  min-width: 0;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 139, 58, 0.14);
  color: #ff9b45;
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.performance-badge {
  width: fit-content;
  border: 1px solid rgba(95, 199, 223, 0.36);
  border-radius: 999px;
  background: rgba(95, 199, 223, 0.12);
  color: #9ae8ff;
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

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

.page-result-row {
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  padding: 14px;
  background: rgba(13, 21, 29, 0.82);
  color: var(--ink);
}

.page-result-row:hover,
.page-result-row:focus-visible {
  border-color: rgba(95, 199, 223, 0.5);
  outline: none;
}

.page-result-link {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(150px, auto);
  gap: 18px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.page-result-link:hover,
.page-result-link:focus-visible {
  outline: none;
}

.page-card-art {
  width: 92px;
  aspect-ratio: 5 / 7;
  border-radius: 6px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #1e3145, #27715f);
  color: var(--gold);
  font-weight: 950;
}

.page-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-result-main {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.page-result-main small,
.page-result-main span,
.page-result-main em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 850;
}

.page-result-main strong {
  font-size: 1.35rem;
  line-height: 1.05;
}

.page-result-metric {
  border-radius: 7px;
  display: grid;
  justify-items: end;
  gap: 6px;
  color: var(--muted);
}

.page-result-metric strong {
  color: var(--green);
  font-size: 1.35rem;
}

.rich-empty {
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(15, 24, 33, 0.78);
  color: var(--muted);
}

.rich-empty strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.rich-empty span {
  max-width: 760px;
  line-height: 1.45;
}

.database-page {
  width: min(1280px, calc(100% - 32px));
}

.database-toolbar {
  grid-template-columns: minmax(240px, 1.55fr) repeat(6, minmax(135px, 1fr));
}

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

.account-page {
  width: min(1240px, calc(100% - 32px));
}

.program-page {
  width: min(1280px, calc(100% - 32px));
}

.program-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 14px;
  align-items: start;
}

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

.program-guide article {
  min-width: 0;
  border: 1px solid rgba(95, 199, 223, 0.15);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px 10px;
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.08), rgba(85, 214, 165, 0.04)),
    rgba(8, 14, 22, 0.58);
  padding: 12px;
}

.program-guide span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(85, 214, 165, 0.14);
  color: var(--green);
  font-weight: 950;
}

.program-guide strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.program-guide p {
  grid-column: 2;
  margin: -3px 0 0;
  color: #b8c6d0;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.program-session-builder {
  margin-top: 12px;
  border: 1px solid rgba(85, 214, 165, 0.18);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) auto minmax(0, 1.3fr);
  gap: 12px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(85, 214, 165, 0.09), rgba(95, 199, 223, 0.06)),
    rgba(15, 24, 33, 0.74);
  padding: 12px;
}

.program-session-builder article span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-session-builder article strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.program-session-builder article small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.session-choice {
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(8, 14, 22, 0.65);
  padding: 4px;
}

.session-choice button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
}

.session-choice button.is-active {
  background: rgba(85, 214, 165, 0.16);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(85, 214, 165, 0.28);
}

.program-session-builder ol {
  margin: 0;
  padding-left: 20px;
  color: #d8e4ea;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
}

.program-session {
  margin-top: 14px;
  border: 1px solid rgba(85, 214, 165, 0.2);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.95fr) auto;
  gap: 16px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(85, 214, 165, 0.1), rgba(95, 199, 223, 0.08)),
    rgba(15, 24, 33, 0.86);
  padding: 16px;
  box-shadow: var(--shadow);
}

.program-session h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.05;
}

.program-session p {
  margin: 0;
  color: #b8c6d0;
  line-height: 1.4;
}

.program-session ol {
  margin: 0;
  padding-left: 20px;
  color: #d8e4ea;
  line-height: 1.45;
}

.program-session li + li {
  margin-top: 5px;
}

.program-session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.program-list,
.program-detail {
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  background: rgba(15, 24, 33, 0.86);
  box-shadow: var(--shadow);
}

.program-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.program-row {
  min-width: 0;
  border: 1px solid rgba(147, 164, 179, 0.13);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 12px;
  align-items: center;
  background: rgba(8, 14, 22, 0.52);
  color: var(--ink);
  padding: 12px;
  text-align: left;
}

.program-row:hover,
.program-row:focus-visible,
.program-row.is-active,
.program-feature-card.is-active {
  border-color: rgba(95, 199, 223, 0.5);
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.14), rgba(85, 214, 165, 0.06)),
    rgba(8, 14, 22, 0.72);
  outline: none;
}

.program-row strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
}

.program-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.program-row em {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(85, 214, 165, 0.34);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(85, 214, 165, 0.12);
  color: var(--green);
  font-style: normal;
  font-weight: 950;
}

.program-progress-meter {
  overflow: hidden;
  display: block;
  width: 100%;
  height: 7px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(147, 164, 179, 0.14);
}

.program-progress-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.program-detail {
  position: sticky;
  top: 14px;
  padding: 18px;
}

.program-detail h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.program-detail > p:not(.eyebrow) {
  color: #b8c6d0;
  line-height: 1.45;
}

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

.program-score-grid div,
.program-guidance article,
.program-missions,
.program-progress-control,
.program-pill-panel {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.5);
  padding: 12px;
}

.program-score-grid span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-score-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-size: 1.5rem;
  line-height: 1;
}

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

.program-guidance strong,
.program-missions strong,
.program-pill-panel strong,
.program-progress-control span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-guidance p {
  margin: 8px 0 0;
  color: #b8c6d0;
  line-height: 1.4;
}

.program-missions {
  margin-top: 10px;
}

.program-missions ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #b8c6d0;
  line-height: 1.45;
}

.program-missions li + li {
  margin-top: 6px;
}

.program-checklist ul {
  padding-left: 0;
  list-style: none;
}

.program-checklist label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.program-missions input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.program-progress-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
}

.program-progress-control label {
  display: grid;
  gap: 8px;
}

.program-progress-control input {
  width: 100%;
  accent-color: var(--green);
}

.program-progress-control strong {
  color: var(--green);
  font-size: 1.1rem;
}

.program-pill-panel {
  margin-top: 10px;
}

.program-pill-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.program-pill-panel span {
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 999px;
  background: rgba(15, 24, 33, 0.78);
  color: #d8e4ea;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.program-pill-panel .reward-pill {
  border-color: rgba(241, 184, 75, 0.28);
  background: rgba(241, 184, 75, 0.1);
  color: var(--gold);
}

.pack-page {
  width: min(1280px, calc(100% - 32px));
}

.pack-toolbar {
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, 0.8fr));
}

.pack-layout {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 14px;
  align-items: start;
}

.pack-panel,
.pack-compare {
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  background: rgba(15, 24, 33, 0.84);
  box-shadow: var(--shadow);
  padding: 16px;
}

.pack-panel h2 {
  margin: 4px 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1;
}

.pack-panel p,
.pack-reasons {
  color: #b8c6d0;
  line-height: 1.45;
}

.pack-meter {
  overflow: hidden;
  height: 12px;
  margin: 14px 0;
  border-radius: 999px;
  background: rgba(147, 164, 179, 0.14);
}

.pack-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--red));
}

.pack-meter.good span {
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.pack-meter.watch span {
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

.pack-meter.bad span {
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.pack-reasons {
  margin: 12px 0 0;
  padding-left: 20px;
}

.pack-reasons li + li {
  margin-top: 8px;
}

.pack-compare {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.pack-type-card {
  min-width: 0;
  border: 1px solid rgba(147, 164, 179, 0.13);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  background: rgba(8, 14, 22, 0.54);
  color: var(--ink);
  padding: 12px;
  text-align: left;
}

.pack-type-card:hover,
.pack-type-card:focus-visible,
.pack-type-card.is-active {
  border-color: rgba(95, 199, 223, 0.5);
  outline: none;
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.12), rgba(85, 214, 165, 0.06)),
    rgba(8, 14, 22, 0.74);
}

.pack-type-card span {
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pack-type-card strong {
  color: var(--green);
  font-size: 1rem;
}

.pack-type-card small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.35;
}

.inventory-page {
  width: min(1280px, calc(100% - 32px));
}

.inventory-import {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 14px;
  margin-bottom: 16px;
}

.inventory-panel,
.inventory-next-card {
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.08), transparent 48%),
    rgba(15, 24, 33, 0.86);
}

.inventory-panel textarea {
  min-height: 190px;
  resize: vertical;
  border: 1px solid rgba(147, 164, 179, 0.22);
  border-radius: 8px;
  width: 100%;
  background: #081018;
  color: var(--ink);
  padding: 12px;
  font: 0.88rem/1.45 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.inventory-import-actions,
.inventory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.inventory-import-actions span {
  color: #9fb0bd;
  font-size: 0.86rem;
  font-weight: 800;
}

.inventory-help-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: #bfccd6;
  line-height: 1.45;
}

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

.inventory-next-card {
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.inventory-next-card span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inventory-next-card strong {
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.15;
}

.inventory-next-card p {
  margin: 0;
  color: #bfccd6;
  line-height: 1.42;
}

.inventory-next-card.sell,
.inventory-row.sell {
  border-color: rgba(85, 214, 165, 0.32);
}

.inventory-next-card.hold,
.inventory-row.hold {
  border-color: rgba(241, 184, 75, 0.34);
}

.inventory-next-card.collect,
.inventory-row.collect {
  border-color: rgba(126, 182, 255, 0.3);
}

.inventory-next-card.squad,
.inventory-row.squad {
  border-color: rgba(95, 199, 223, 0.36);
}

.inventory-next-card.exchange,
.inventory-row.exchange,
.inventory-next-card.quick,
.inventory-row.quick {
  border-color: rgba(255, 101, 124, 0.28);
}

.inventory-metrics {
  border-top: 1px solid rgba(147, 164, 179, 0.12);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
}

.inventory-metrics span {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 7px;
  display: grid;
  gap: 4px;
  padding: 10px;
  background: rgba(8, 14, 22, 0.5);
}

.inventory-metrics small {
  color: #91a3b0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.inventory-metrics strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.inventory-links {
  border-top: 1px solid rgba(147, 164, 179, 0.12);
  padding-top: 12px;
}

.inventory-links a {
  border: 1px solid rgba(95, 199, 223, 0.26);
  border-radius: 999px;
  color: var(--cyan);
  padding: 7px 10px;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.inventory-links a:hover,
.inventory-links a:focus-visible {
  border-color: rgba(241, 184, 75, 0.5);
  color: var(--gold);
  outline: none;
}

.squad-page {
  width: min(1280px, calc(100% - 32px));
}

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

.squad-results-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.54fr);
}

.squad-panel,
.squad-detail {
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  background: rgba(15, 24, 33, 0.86);
  box-shadow: var(--shadow);
  padding: 16px;
}

.squad-detail {
  position: sticky;
  top: 14px;
}

.squad-detail h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.02;
}

.squad-detail > p:not(.eyebrow) {
  color: #b8c6d0;
  line-height: 1.45;
}

.squad-input-grid {
  display: grid;
  gap: 10px;
}

.squad-section {
  border: 1px solid rgba(147, 164, 179, 0.13);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.32);
  overflow: hidden;
}

.squad-section-toggle {
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.12), rgba(85, 214, 165, 0.05)),
    rgba(8, 14, 22, 0.72);
  color: var(--ink);
  padding: 13px 14px;
  text-align: left;
}

.squad-section-toggle span {
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.squad-section-toggle small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.squad-section-toggle::after {
  content: "Hide";
  border: 1px solid rgba(147, 164, 179, 0.18);
  border-radius: 999px;
  color: var(--green);
  padding: 5px 8px;
  font-size: 0.7rem;
  font-weight: 950;
}

.squad-section.is-collapsed .squad-section-toggle::after {
  content: "Show";
}

.squad-section-body {
  display: grid;
  gap: 12px;
  padding: 12px;
}

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

.squad-actions button {
  min-width: 0;
  border: 1px solid rgba(95, 199, 223, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.1), rgba(85, 214, 165, 0.05)),
    rgba(8, 14, 22, 0.64);
  color: var(--ink);
  padding: 12px;
  text-align: left;
}

.squad-actions button:hover,
.squad-actions button:focus-visible {
  border-color: rgba(95, 199, 223, 0.48);
  outline: none;
  transform: translateY(-1px);
}

.squad-actions span,
.slot-best-upgrade span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.squad-actions strong,
.slot-best-upgrade strong {
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--green);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.squad-actions small,
.slot-best-upgrade small {
  display: block;
  margin-top: 5px;
  color: #b8c6d0;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.32;
}

.squad-section.is-collapsed .squad-section-body {
  display: none;
}

.squad-group {
  border: 1px solid rgba(147, 164, 179, 0.1);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.28);
  padding: 12px;
}

.squad-group h3,
.squad-hole-group h3 {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.squad-slot {
  border: 1px solid rgba(147, 164, 179, 0.13);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  background: rgba(8, 14, 22, 0.52);
  padding: 11px;
}

.squad-slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.squad-slot-head button {
  border: 1px solid rgba(255, 101, 124, 0.22);
  border-radius: 999px;
  background: rgba(255, 101, 124, 0.08);
  color: #ffc6cf;
  padding: 5px 8px;
  font-size: 0.68rem;
  font-weight: 950;
}

.squad-slot strong,
.starter-card-read b,
.starter-suggestions strong {
  color: var(--green);
  font-size: 1rem;
}

.squad-slot label {
  display: grid;
  gap: 5px;
}

.squad-slot span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.squad-slot input,
.squad-slot select {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(147, 164, 179, 0.18);
  border-radius: 7px;
  background: rgba(8, 14, 22, 0.8);
  color: var(--ink);
  padding: 8px 9px;
}

.priority-control {
  display: grid;
  gap: 6px;
}

.priority-control > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.priority-control > div {
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 7px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(8, 14, 22, 0.8);
  padding: 4px;
}

.priority-control button {
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
}

.priority-control button:hover,
.priority-control button:focus-visible {
  background: rgba(95, 199, 223, 0.1);
  color: var(--ink);
  outline: none;
}

.priority-control button.is-active {
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.22), rgba(85, 214, 165, 0.12)),
    rgba(15, 24, 33, 0.92);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(85, 214, 165, 0.22);
}

.slot-best-upgrade {
  border: 1px solid rgba(95, 199, 223, 0.12);
  border-radius: 8px;
  background: rgba(95, 199, 223, 0.05);
  padding: 8px;
}

.starter-card-read {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  background: rgba(15, 24, 33, 0.65);
  padding: 8px;
}

.starter-card-read.has-card {
  border-color: rgba(85, 214, 165, 0.24);
  background: rgba(85, 214, 165, 0.08);
}

.starter-card-read .database-art {
  width: 48px;
  height: 56px;
  font-size: 0.9rem;
}

.starter-card-read b,
.starter-card-read em {
  overflow: hidden;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.starter-card-read em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
}

.starter-suggestions {
  display: grid;
  gap: 6px;
}

.starter-suggestions button {
  border: 1px solid rgba(147, 164, 179, 0.13);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  background: rgba(8, 14, 22, 0.68);
  color: var(--ink);
  padding: 7px;
  text-align: left;
}

.starter-suggestions button:hover,
.starter-suggestions button:focus-visible {
  border-color: rgba(95, 199, 223, 0.5);
  outline: none;
}

.starter-suggestions .database-art {
  width: 44px;
  height: 52px;
  font-size: 0.82rem;
}

.starter-suggestions strong,
.starter-suggestions small {
  overflow: hidden;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.starter-suggestions small,
.starter-suggestions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.squad-hole {
  width: 100%;
  border: 1px solid rgba(147, 164, 179, 0.13);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.08), transparent 48%),
    rgba(8, 14, 22, 0.72);
  color: var(--ink);
  min-height: 96px;
  padding: 9px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.squad-hole-group {
  margin-top: 12px;
}

.squad-hole-group:first-child {
  margin-top: 0;
}

.squad-hole-group > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.squad-hole:hover,
.squad-hole:focus-visible,
.squad-hole.is-active,
.squad-fit-card:hover,
.squad-fit-card:focus-visible,
.squad-fit-card.is-active {
  border-color: rgba(95, 199, 223, 0.5);
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.14), rgba(85, 214, 165, 0.06)),
    rgba(8, 14, 22, 0.72);
  outline: none;
}

.squad-hole::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 22, 0.95) 0%, rgba(12, 25, 38, 0.8) 54%, rgba(12, 25, 38, 0.36) 100%),
    var(--board-card-art, none);
  background-position: center, right 8px center;
  background-repeat: no-repeat;
  background-size: auto, auto 145%;
  opacity: 0;
  transform: translateX(4px) scale(1.01);
  transition: opacity 160ms ease, transform 160ms ease;
}

.squad-hole.has-card-art::before {
  opacity: 0.72;
}

.squad-hole.has-card-art:hover::before,
.squad-hole.has-card-art:focus-visible::before,
.squad-hole.has-card-art.is-active::before {
  opacity: 0.9;
  transform: translateX(0) scale(1);
}

.squad-hole::after {
  content: attr(data-position);
  position: absolute;
  right: -4px;
  bottom: -20px;
  color: rgba(238, 244, 248, 0.04);
  font-size: 4.2rem;
  font-weight: 950;
  line-height: 1;
}

.squad-hole span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(85, 214, 165, 0.12);
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 950;
  position: relative;
  z-index: 1;
}

.squad-hole strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.squad-hole em {
  overflow: hidden;
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.squad-hole small {
  display: block;
  margin-top: 3px;
  color: #b8c6d0;
  font-size: 0.72rem;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

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

.squad-fit-card {
  min-width: 0;
  border: 1px solid rgba(147, 164, 179, 0.13);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
  background: rgba(8, 14, 22, 0.52);
  color: var(--ink);
  padding: 10px;
  text-align: left;
}

.squad-fit-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.squad-fit-main small,
.squad-fit-main em,
.squad-fit-main span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.squad-fit-main strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.squad-fit-card b {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(85, 214, 165, 0.34);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(85, 214, 165, 0.12);
  color: var(--green);
  font-size: 0.95rem;
}

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

.account-roadmap {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.account-roadmap article {
  border: 1px solid rgba(147, 164, 179, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(91, 214, 255, 0.08), transparent 44%),
    rgba(8, 14, 22, 0.62);
  padding: 14px;
}

.account-roadmap span {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(85, 214, 165, 0.34);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(85, 214, 165, 0.12);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
}

.account-roadmap strong {
  display: block;
  margin: 10px 0 6px;
  color: var(--ink);
  font-size: 1rem;
}

.account-roadmap p {
  margin: 0;
  color: #b8c6d0;
  font-size: 0.84rem;
  line-height: 1.45;
}

.account-panel {
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0%, rgba(95, 199, 223, 0.08), transparent 34%),
    rgba(15, 24, 33, 0.86);
  padding: 18px;
}

.account-badge {
  border: 1px solid rgba(147, 164, 179, 0.18);
  border-radius: 999px;
  background: rgba(8, 14, 22, 0.72);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 950;
}

.account-badge.ready {
  border-color: rgba(85, 214, 165, 0.38);
  background: rgba(85, 214, 165, 0.12);
  color: var(--green);
}

.account-badge.warn {
  border-color: rgba(241, 184, 75, 0.42);
  background: rgba(241, 184, 75, 0.12);
  color: var(--gold);
}

.auth-form {
  display: grid;
  gap: 12px;
}

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

.auth-actions button:disabled,
.auth-form input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.account-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

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

.account-metrics div {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.52);
  padding: 12px;
}

.account-metrics span,
.setup-list span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-metrics strong {
  display: block;
  margin: 6px 0;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}

.account-metrics small {
  color: var(--muted);
  font-weight: 850;
}

.billing-status {
  margin-bottom: 12px;
}

.bridge-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.bridge-list div {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.5);
  padding: 12px;
}

.bridge-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.bridge-list span {
  display: block;
  margin-top: 4px;
  color: #b8c6d0;
  font-size: 0.84rem;
  line-height: 1.4;
}

.bridge-list.compact div {
  padding: 10px 12px;
}

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

.setup-list article {
  border: 1px solid rgba(147, 164, 179, 0.13);
  border-radius: 8px;
  background: rgba(8, 14, 22, 0.52);
  padding: 12px;
}

.setup-list article.is-done {
  border-color: rgba(85, 214, 165, 0.28);
  background:
    linear-gradient(135deg, rgba(85, 214, 165, 0.1), transparent 48%),
    rgba(8, 14, 22, 0.56);
}

.setup-list strong {
  display: block;
  margin: 7px 0;
  color: var(--ink);
  font-size: 1rem;
}

.setup-list p {
  margin: 0;
  color: #b8c6d0;
  font-size: 0.84rem;
  line-height: 1.4;
}

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

.position-board button {
  min-height: 112px;
  border: 1px solid rgba(147, 164, 179, 0.16);
  border-radius: 8px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.08), transparent 48%),
    rgba(15, 24, 33, 0.82);
  color: var(--ink);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.position-board button::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 19, 28, 0.96) 0%, rgba(12, 25, 38, 0.82) 48%, rgba(12, 25, 38, 0.48) 100%),
    var(--board-card-art, none);
  background-position: center, right 14px top 6px;
  background-repeat: no-repeat;
  background-size: auto, auto 152%;
  opacity: 0;
  transform: translateX(4px) scale(1.01);
  transition: opacity 160ms ease, transform 160ms ease;
}

.position-board button.has-card-art::before {
  opacity: 0.72;
}

.position-board button.has-card-art::after {
  text-shadow: 0 0 18px rgba(95, 199, 223, 0.16);
}

.position-board button.has-card-art:hover::before,
.position-board button.has-card-art:focus-visible::before,
.position-board button.has-card-art.is-active::before {
  opacity: 0.9;
  transform: translateX(0) scale(1);
}

.position-board button::after {
  content: attr(data-position);
  position: absolute;
  right: -6px;
  bottom: -22px;
  color: rgba(238, 244, 248, 0.035);
  font-size: 5.5rem;
  font-weight: 950;
  line-height: 1;
}

.position-board button span {
  position: relative;
  z-index: 1;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.position-board button strong {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  line-height: 1;
}

.position-board button:hover,
.position-board button:focus-visible,
.position-board button.is-active {
  border-color: rgba(95, 199, 223, 0.54);
  background:
    linear-gradient(135deg, rgba(95, 199, 223, 0.18), rgba(255, 101, 124, 0.08)),
    rgba(15, 24, 33, 0.92);
  outline: none;
  box-shadow: 0 0 0 3px rgba(95, 199, 223, 0.1);
}

.rankings-toolbar {
  grid-template-columns: minmax(260px, 1fr) 190px 220px 180px;
}

.rankings-shell {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

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

.ranking-row .page-result-link {
  grid-template-columns: 58px 84px minmax(0, 1fr) 120px;
  gap: 16px;
}

.ranking-row .page-card-art {
  width: 84px;
}

.ranking-row .page-result-main {
  align-self: center;
}

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

.flip-row {
  background:
    radial-gradient(circle at 86% 0%, rgba(85, 214, 165, 0.08), transparent 32%),
    rgba(13, 21, 29, 0.84);
}

.flip-row.trap {
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 101, 124, 0.1), transparent 32%),
    rgba(13, 21, 29, 0.84);
}

.flip-row .page-result-link {
  grid-template-columns: 58px 76px minmax(0, 1fr) 132px;
}

.flip-confidence strong {
  color: var(--cyan);
}

.flip-row.trap .flip-confidence strong {
  color: var(--gold);
}

.flip-metrics {
  margin-top: 12px;
  border-top: 1px solid rgba(147, 164, 179, 0.12);
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.flip-metrics span {
  border: 1px solid rgba(147, 164, 179, 0.12);
  border-radius: 7px;
  display: grid;
  gap: 4px;
  padding: 10px;
  background: rgba(8, 14, 22, 0.52);
}

.flip-metrics small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flip-metrics strong {
  color: var(--ink);
  font-size: 1rem;
}

.flip-featured .featured-pill {
  background: rgba(85, 214, 165, 0.14);
  color: var(--green);
}

.flip-featured.traps .featured-pill {
  background: rgba(255, 101, 124, 0.14);
  color: var(--red);
}

.ranking-number {
  min-width: 50px;
  border: 1px solid rgba(255, 208, 106, 0.5);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 208, 106, 0.9), rgba(255, 101, 124, 0.86));
  color: #081018;
  padding: 8px 10px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.rankings-pager {
  margin-top: 0;
}

.database-shell {
  display: grid;
  gap: 14px;
}

.database-status {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

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

.database-card {
  min-width: 0;
  border: 1px solid rgba(147, 164, 179, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 0%, rgba(95, 199, 223, 0.08), transparent 34%),
    rgba(15, 24, 33, 0.84);
  color: var(--ink);
  text-decoration: none;
  padding: 12px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.database-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--gold));
  opacity: 0.55;
}

.database-card:hover,
.database-card:focus-visible {
  border-color: rgba(95, 199, 223, 0.52);
  transform: translateY(-1px);
  outline: none;
}

.database-art {
  width: 62px;
  aspect-ratio: 5 / 7;
  grid-row: span 2;
  border-radius: 6px;
  background: linear-gradient(145deg, #172330, #25635b);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--gold);
  font-weight: 950;
}

.database-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.database-main {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.database-main small,
.database-main em,
.database-meta small {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}

.database-main strong {
  min-width: 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.database-main em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.collection-mini-read {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(241, 184, 75, 0.26);
  border-radius: 999px;
  display: inline-flex;
  background: rgba(241, 184, 75, 0.09);
  color: #f4cf87;
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.database-meta {
  min-width: 0;
  border-top: 1px solid rgba(147, 164, 179, 0.1);
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.database-meta strong {
  color: var(--green);
  font-size: 0.96rem;
}

.database-badges {
  margin: 1px 0;
}

.signal-reasons {
  grid-column: 1 / -1;
  margin-top: 12px;
  border-top: 1px solid rgba(147, 164, 179, 0.12);
  padding-top: 10px;
}

.signal-reasons summary {
  width: fit-content;
  color: var(--cyan);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 950;
}

.signal-reasons ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #aab8c3;
  font-size: 0.84rem;
  line-height: 1.4;
}

.help-card {
  min-height: 158px;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 9px;
}

.help-card span {
  color: var(--green);
}

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

.story-grid article {
  padding: 16px;
  min-height: 174px;
  position: relative;
  overflow: hidden;
}

.story-grid article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--gold));
  opacity: 0.72;
}

.feature-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  border: 1px solid rgba(95, 199, 223, 0.28);
  border-radius: 999px;
  background: rgba(95, 199, 223, 0.1);
  color: var(--cyan);
  padding: 5px 8px;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-grid h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.story-grid p,
.plan-card p,
.faq-panel p,
.site-footer span {
  margin: 0;
  color: #b8c6d0;
  line-height: 1.45;
}

.plan-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: center;
}

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

.plan-card {
  padding: 18px;
  min-height: 172px;
}

.plan-card.featured {
  border-color: rgba(85, 214, 165, 0.34);
  background:
    linear-gradient(135deg, rgba(85, 214, 165, 0.13), transparent 42%),
    rgba(15, 24, 33, 0.94);
}

.plan-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card strong {
  display: block;
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1;
}

.plan-card.featured strong {
  color: var(--green);
}

.faq-panel details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq-panel details:last-child {
  padding-bottom: 0;
}

.faq-panel summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.faq-panel details p {
  max-width: 860px;
  padding-top: 9px;
}

.site-footer {
  padding: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(150px, 1fr));
  gap: 28px;
}

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

.footer-logo {
  width: min(220px, 100%);
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.site-footer h2,
.site-footer strong {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer h2,
.site-footer p {
  margin: 0;
}

.site-footer p,
.site-footer span {
  color: #aebbc6;
  line-height: 1.45;
}

.site-footer a {
  color: #c4d0da;
  text-decoration: none;
  font-weight: 850;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green);
  outline: none;
}

.footer-bottom {
  border-top: 1px solid rgba(147, 164, 179, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand-logo {
    width: clamp(285px, 50vw, 390px);
    height: 86px;
  }

  .site-nav {
    width: 100%;
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
    padding-top: 2px;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .section-rail {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
  }

  .section-rail a {
    flex: 0 0 auto;
  }

  .hero,
  .workspace,
  .database-toolbar,
  .program-session,
  .program-session-builder,
  .program-layout,
  .pack-toolbar,
  .pack-layout,
  .squad-layout,
  .squad-results-layout {
    grid-template-columns: 1fr;
  }

  .controls {
    position: static;
  }

  .program-detail,
  .squad-detail {
    position: static;
  }

  .program-session-actions {
    justify-content: flex-start;
  }

  .selected-card {
    grid-template-columns: 82px 1fr;
  }

  .card-art {
    width: 82px;
  }

  .market-numbers {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .options-grid,
  .matches-list,
  .match-filters,
  .match-pager,
  .empty-samples,
  .account-grid,
  .account-roadmap,
  .account-metrics,
  .inventory-import,
  .inventory-next,
  .inventory-metrics,
  .program-score-grid,
  .program-guidance,
  .program-guide,
  .pack-compare,
  .squad-actions,
  .squad-input-grid,
  .squad-group-grid,
  .squad-hole-group > div,
  .squad-fit-grid,
  .setup-list,
  .watchlist-summary,
  .watchlist-list,
  .compare-grid,
  .proof-strip,
  .tool-grid,
  .help-grid,
  .glossary-grid,
  .quick-start,
  .story-grid,
  .plan-preview,
  .plans,
  .program-progress-control {
    grid-template-columns: 1fr;
  }

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

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

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

  .match-pager {
    align-items: stretch;
  }

  .match-pager label,
  .pager-buttons {
    justify-content: space-between;
  }

  .watchlist-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .watch-meta {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .watch-meta small {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at 28% 0%, rgba(95, 199, 223, 0.14), transparent 32%),
      linear-gradient(145deg, #081018 0%, #111b25 58%, #0a1419 100%);
  }

  .shell {
    width: min(1180px, calc(100% - 32px));
    padding: 12px 0 28px;
  }

  .hero {
    min-height: auto;
    gap: 16px;
    padding: 22px 0 16px;
  }

  .site-header {
    gap: 10px;
    min-height: 94px;
    padding: 8px 0 10px;
  }

  .nav-cta {
    grid-column: 1 / -1;
    width: 100%;
    margin-right: 0;
    min-height: 44px;
    padding: 10px 14px;
  }

  .brand-logo {
    width: min(300px, 74vw);
    height: 68px;
  }

  .tip::after {
    left: auto;
    right: -8px;
    transform: translateY(4px);
  }

  .tip-popover {
    left: auto;
    right: -8px;
    transform: translateY(4px);
  }

  .daily-pulse .tip-popover {
    left: -96px;
    right: auto;
  }

  .tip:hover::after,
  .tip:focus::after,
  .tip:focus-visible::after {
    transform: translateY(0);
  }

  .tip-wrap:hover .tip-popover,
  .tip-wrap:focus-within .tip-popover,
  .tip-wrap.is-open .tip-popover,
  .tip:focus + .tip-popover,
  .tip:focus-visible + .tip-popover,
  .tip-details[open] .tip-popover {
    transform: translateY(0);
  }

  .daily-pulse .tip-wrap.is-open .tip-popover {
    transform: translateY(0);
  }

  .tip::before {
    left: auto;
    right: -1px;
    transform: none;
  }

  .tip-wrap::before {
    left: auto;
    right: -1px;
    transform: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.75rem, 8vw, 2.45rem);
    line-height: 1.08;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
  }

  .tool-page {
    overflow-x: hidden;
  }

  .hero-actions {
    display: grid;
  }

  .section-rail {
    top: 6px;
    margin-top: -2px;
    border-radius: 8px;
  }

  .lede {
    max-width: 38ch;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .hero-chips {
    gap: 7px;
    margin-top: 14px;
  }

  .hero-chips span,
  .hero-chips a {
    padding: 6px 9px;
    font-size: 0.74rem;
  }

  .market-inline {
    display: flex;
    gap: 7px;
  }

  .controls,
  .results,
  .matches,
  .newest-panel,
  .tools-hub,
  .help-center {
    border-radius: 7px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
  }

  .controls,
  .results,
  .matches,
  .newest-panel,
  .tools-hub,
  .help-center {
    padding: 14px;
  }

  .workspace {
    gap: 12px;
  }

  .controls {
    gap: 13px;
  }

  input,
  select {
    min-height: 44px;
    padding: 10px 11px;
    font-size: 16px;
  }

  .search-row {
    grid-template-columns: 1fr 42px;
  }

  .search-row button {
    min-height: 44px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

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

  .results {
    min-height: 0;
  }

  .selected-card {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding-bottom: 14px;
  }

  .card-showcase {
    justify-items: stretch;
  }

  .card-art {
    width: min(190px, 68vw);
    justify-self: center;
    border-radius: 7px;
  }

  .card-action-grid {
    grid-template-columns: 1fr 1fr;
  }

  .watchlist-panel {
    padding: 14px;
  }

  .watchlist-actions {
    width: 100%;
    justify-content: space-between;
  }

  .watchlist-summary {
    gap: 8px;
  }

  .compare-panel {
    padding: 14px;
  }

  .compare-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .compare-price {
    grid-column: 2;
    text-align: left;
  }

  .card-facts {
    grid-template-columns: 1fr 1fr;
  }

  .card-intel {
    grid-template-columns: 1fr;
  }

  .card-hero-panel {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .card-hero-panel h2 {
    font-size: 2rem;
  }

  .ovr-badge {
    width: 70px;
    height: 70px;
  }

  .chips {
    gap: 6px;
  }

  .chips span,
  .tag {
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  .attribute-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .attribute-panel {
    padding: 14px;
  }

  .attribute-row {
    grid-template-columns: minmax(82px, 0.65fr) minmax(82px, 1fr) 34px;
    gap: 8px;
    font-size: 0.86rem;
  }

  .final-card,
  .predictor-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .final-card-head,
  .decision-action-strip,
  .decision-brief,
  .decision-breakdown,
  .confidence-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .confidence-panel meter {
    grid-column: 1;
  }

  .final-card-head > span,
  .predictor-card > span {
    justify-self: start;
  }

  .final-card h3,
  .predictor-card h3 {
    font-size: 1.18rem;
  }

  .callout {
    padding: 14px;
  }

  .option {
    padding: 12px;
  }

  .option header {
    align-items: center;
  }

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

  .match-actions {
    gap: 8px;
    width: 100%;
  }

  .match-actions button {
    min-height: 40px;
  }

  .match-card {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 72px;
  }

  .thumb {
    width: 42px;
  }

  .price {
    grid-column: 2;
    font-size: 0.86rem;
  }

  .newest-rail {
    grid-auto-columns: minmax(188px, 78vw);
  }

  .tool-card,
  .help-card {
    min-height: auto;
  }

  .tool-detail {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .market-lab {
    grid-template-columns: 1fr;
  }

  .lab-panel .section-head > p {
    max-width: none;
    text-align: left;
  }

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

  .signal-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .signal-price {
    grid-column: 2;
    justify-items: start;
  }

  .signal-list {
    max-height: 540px;
  }

  .lab-pager {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .lab-pager label,
  .lab-pager .pager-buttons {
    justify-content: space-between;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 6px;
  }

  .site-nav a,
  .site-nav button {
    min-height: 38px;
    padding: 8px 13px;
    white-space: nowrap;
  }

  .tool-hero {
    padding: 32px 0 18px;
  }

  .dashboard-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0 16px;
  }

  .dashboard-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .app-launcher,
  .dashboard-grid,
  .daily-pulse,
  .position-board,
  .database-grid {
    grid-template-columns: 1fr;
  }

  .daily-pulse {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer {
    padding: 20px;
  }

  .footer-bottom {
    display: grid;
  }

  .launcher-card {
    min-height: 0;
    padding: 16px;
  }

  .tool-hero h1 {
    max-width: 100%;
    font-size: clamp(1.65rem, 7vw, 2.2rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .page-toolbar {
    grid-template-columns: 1fr;
  }

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

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

  .featured-strip {
    grid-auto-flow: column;
    grid-auto-columns: minmax(185px, 74vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .page-result-row {
    padding: 12px;
  }

  .page-result-link {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }

  .page-card-art {
    width: 68px;
  }

  .ranking-row .page-result-link {
    grid-template-columns: 52px 68px minmax(0, 1fr);
  }

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

  .flip-row .page-result-link {
    grid-template-columns: 52px 68px minmax(0, 1fr);
  }

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

  .page-result-metric {
    grid-column: 2;
    justify-items: start;
  }

  .ranking-row .page-result-metric {
    grid-column: 3;
  }

  .flip-row .page-result-metric {
    grid-column: 3;
  }

  .page-result-main strong {
    font-size: 1.08rem;
  }

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