@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&display=swap');
:root {
  --clay: #b85b32;
  --clay-deep: #8e3e22;
  --clay-soft: #e2a172;
  --court-green: #143f34;
  --green-2: #1e604e;
  --cream: #f4efe3;
  --linen: #faf5e9;
  --ink: #15120f;
  --muted: #6f665b;
  --line: rgba(21, 18, 15, 0.14);
  --gold: #d8b15a;
  --chalk: #fff8ec;
  --white: #fff;
  --shadow: 0 28px 80px rgba(45, 24, 12, 0.18);
  --wrap: min(1240px, calc(100vw - 48px));
  --ease: cubic-bezier(.19, 1, .22, 1);
  --font-cn-readable: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(90deg, rgba(20,63,52,.055) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(180deg, #f8f0df 0%, #efe0cc 42%, #f6efe3 100%);
  letter-spacing: 0;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.kicker,
.tag-button,
.count-label,
.status-pill,
.library-card-kicker,
.library-card-status,
.library-data-badges span,
.recommendation-trust-strip span,
.mentor-signal-tags span,
.mentor-analysis-card span,
.mentor-analysis-card em,
.mentor-evidence-head span,
.mentor-rank-pill span,
.mentor-match-title em,
.mentor-match-tags span,
.mentor-match-evidence span,
.mentor-proof-strip span,
.profile-metric-kicker,
.profile-match-notes strong,
.profile-match-analysis span,
.admin-record-meta,
.admin-tier,
.admin-record-status em,
.knowledge-map-point strong,
.knowledge-chip,
.library-count,
.filter-head span,
.library-search span,
.profile-choice-card span,
.profile-base-card span {
  font-family: var(--font-cn-readable);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 8%, rgba(216,177,90,.28), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(184,91,50,.22), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.24), transparent 55%);
}

body::after {
  content: "SWEETRACKET / RACQUET INTELLIGENCE / CLAY LAB";
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: -1;
  color: rgba(21, 18, 15, .055);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .3em;
  writing-mode: vertical-rl;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 14px max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(21,18,15,.12);
  background: rgba(250, 245, 233, .86);
  backdrop-filter: blur(22px);
}

.wordmark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 246px;
  height: 64px;
}

.logo-lockup {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
}

.logo-lockup::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 9px;
  z-index: 0;
  width: 46px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.54), rgba(0,0,0,.22) 48%, transparent 74%);
  filter: blur(1px);
  transform: rotate(-7deg);
}

.logo-lockup img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 12px 22px rgba(45, 24, 12, .18));
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.primary-nav a,
.city-token,
.dark-button,
.light-button,
.clay-button,
.tag-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid transparent;
  padding: 10px 14px;
  border-radius: 2px;
  white-space: nowrap;
}

.primary-nav a {
  color: var(--muted);
  font-size: 14px;
}

.primary-nav a[hidden],
[data-admin-only][hidden],
[data-auth-only][hidden] {
  display: none !important;
}

.primary-nav a:hover,
.primary-nav a.active {
  border-color: rgba(21,18,15,.12);
  color: var(--ink);
  background: rgba(255,255,255,.56);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.header-mentor-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(21,18,15,.14);
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(223,255,85,.82);
  font-size: 14px;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
}

.city-token {
  color: var(--court-green);
  background: rgba(20,63,52,.08);
  border-color: rgba(20,63,52,.18);
  font-weight: 700;
}

.dark-button {
  border-color: var(--ink);
  color: var(--cream);
  background: var(--ink);
  font-weight: 800;
}

.light-button {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255,255,255,.66);
  font-weight: 800;
}

.clay-button {
  border-color: var(--clay);
  color: #fff8ed;
  background: linear-gradient(135deg, var(--clay), var(--clay-deep));
  box-shadow: 0 14px 30px rgba(184,91,50,.22);
  font-weight: 900;
}

.tag-button {
  min-height: 34px;
  border-color: rgba(21,18,15,.13);
  background: rgba(255,255,255,.5);
  color: #4c4339;
  font-size: 13px;
}

.tag-button:hover,
.tag-button.active {
  border-color: var(--clay);
  color: var(--clay-deep);
  background: rgba(184,91,50,.1);
}

.page {
  width: var(--wrap);
  margin: 0 auto;
  padding: 44px 0 86px;
}

.site-footer {
  width: var(--wrap);
  margin: 0 auto;
  padding: 0 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.footer-inner p {
  max-width: 840px;
  margin: 0;
}

.footer-inner a {
  flex: 0 0 auto;
  color: var(--court-green);
  font-weight: 900;
}

.hero {
  min-height: calc(100vh - 108px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 26px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0;
  animation: rise .8s var(--ease) both;
}

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

.kicker {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--court-green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--clay);
}

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

.hero h1 {
  margin: 0 0 18px;
  max-width: 790px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 104px);
  line-height: .88;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--clay);
}

.lead {
  max-width: 680px;
  color: #42382f;
  font-size: 18px;
  line-height: 1.78;
}

.hero-panel {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(21,18,15,.16);
  background: var(--clay);
  box-shadow: var(--shadow);
  animation: panelIn .9s var(--ease) .08s both;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-panel .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95) contrast(1.05);
  transform: scale(1.05);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-lab {
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(20,63,52,.96), rgba(42,26,17,.96)),
    var(--clay);
}

.hero-lab::before {
  content: "PURE AERO 98";
  position: absolute;
  left: 30px;
  top: 26px;
  z-index: 1;
  color: rgba(255,248,236,.13);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8vw, 118px);
  line-height: .8;
  letter-spacing: 0;
}

.hero-product {
  position: absolute;
  z-index: 2;
  right: 5%;
  top: 3%;
  width: min(62%, 460px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 36px 52px rgba(0,0,0,.42));
  transform: rotate(-16deg);
  animation: productFloat 7s ease-in-out infinite alternate;
}

@keyframes productFloat {
  from { transform: rotate(-16deg) translateY(0); }
  to { transform: rotate(-12deg) translateY(-14px); }
}

@keyframes heroDrift {
  from { transform: scale(1.05) translate3d(-1%, 0, 0); }
  to { transform: scale(1.12) translate3d(2%, -1%, 0); }
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21,18,15,.08), rgba(21,18,15,.48)),
    radial-gradient(circle at 75% 16%, rgba(255,248,236,.5), transparent 28%);
}

.hero-card {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  color: var(--cream);
}

.hero-card-main,
.hero-stat {
  border: 1px solid rgba(255,248,236,.26);
  background: rgba(21,18,15,.64);
  backdrop-filter: blur(14px);
  padding: 18px;
}

.hero-card-main strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.hero-card-main p {
  margin-bottom: 0;
  color: rgba(255,248,236,.76);
  line-height: 1.6;
}

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

.hero-stat strong {
  display: block;
  font-size: 28px;
}

.hero-stat span {
  color: rgba(255,248,236,.72);
  font-size: 12px;
}

.mentor-box {
  margin-top: 28px;
  border: 1px solid rgba(21,18,15,.14);
  background: rgba(255,248,236,.66);
  box-shadow: 0 18px 50px rgba(45,24,12,.1);
}

.ask-row {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 74px;
}

.ask-row input,
.ask-row textarea,
.search-field,
.admin-input,
.admin-select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.66);
  color: var(--ink);
  outline: none;
}

.ask-row input,
.ask-row textarea {
  border: 0;
  border-right: 1px solid var(--line);
  padding: 18px 20px;
  background: transparent;
}

.ask-row textarea {
  min-height: 96px;
  resize: vertical;
}

.ask-row button {
  min-width: 82px;
  border: 0;
  background: var(--court-green);
  color: var(--cream);
  font-size: 24px;
  font-weight: 950;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.brand-marquee {
  margin: 34px 0 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.28);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.brand-chip {
  min-width: 180px;
  padding: 18px 28px;
  border-right: 1px solid var(--line);
  font-size: 22px;
  font-weight: 900;
  color: var(--court-green);
}

.section { padding-top: 70px; }

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

.section-head h2,
.page-title h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: .98;
}

.section-head p,
.page-title p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.racket-grid,
.store-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.racket-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border: 1px solid rgba(21,18,15,.13);
  background: rgba(255,248,236,.7);
  box-shadow: 0 14px 44px rgba(45,24,12,.08);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}

.racket-card:hover {
  transform: translateY(-7px);
  border-color: rgba(184,91,50,.42);
  box-shadow: 0 28px 80px rgba(45,24,12,.18);
}

.racket-photo {
  position: relative;
  height: 300px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,248,236,.08) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(135deg, #173e34, #a14a28 72%, #d8b15a);
}

.racket-photo img {
  position: absolute;
  left: 50%;
  top: 49%;
  width: 78%;
  height: 92%;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(-9deg);
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.36));
  transition: transform .9s var(--ease), filter .9s var(--ease);
}

.racket-card:hover .racket-photo img {
  transform: translate(-50%, -54%) rotate(-5deg) scale(1.06);
  filter: drop-shadow(0 38px 44px rgba(0,0,0,.42));
}

.racket-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)),
    radial-gradient(circle at 68% 18%, rgba(255,248,236,.28), transparent 25%);
  pointer-events: none;
}

.card-brand {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  padding: 8px 10px;
  background: rgba(21,18,15,.88);
  color: var(--cream);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
}

.card-family {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: rgba(255,248,236,.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-style: italic;
}

.card-body {
  padding: 20px;
}

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

.card-title-row span {
  border: 1px solid rgba(21,18,15,.13);
  padding: 6px 8px;
  color: var(--court-green);
  background: rgba(255,255,255,.44);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-body h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1;
}

.card-body p {
  color: #453c34;
  line-height: 1.62;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin: 18px 0;
}

.spec-strip div {
  padding: 10px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.38);
}

.spec-strip div:last-child { border-right: 0; }

.spec-strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.spec-strip strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

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

.price {
  color: var(--clay-deep);
  font-size: 24px;
  font-weight: 950;
}

.page-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.library-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 20px;
}

.filter-panel,
.glass-panel,
.admin-panel,
.detail-panel,
.mentor-panel,
.store-card {
  border: 1px solid rgba(21,18,15,.13);
  background: rgba(255,248,236,.72);
  box-shadow: 0 18px 52px rgba(45,24,12,.08);
}

.filter-panel {
  position: sticky;
  top: 102px;
  align-self: start;
  padding: 18px;
}

.filter-panel h4 {
  margin: 18px 0 10px;
  color: var(--court-green);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.filter-panel h4:first-child { margin-top: 0; }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }

.library-top {
  display: grid;
  grid-template-columns: minmax(260px, 430px) 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.search-field {
  min-height: 46px;
  padding: 0 14px;
}

.court-toggle {
  display: flex;
  gap: 6px;
}

.count-label { color: var(--muted); font-size: 13px; }

.detail-hero {
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(0, 1.08fr);
  gap: 22px;
}

.detail-photo {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid rgba(21,18,15,.13);
  background: var(--clay);
  box-shadow: var(--shadow);
}

.detail-photo .detail-ambient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
  filter: contrast(1.04) saturate(.94);
}

.detail-product {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(82%, 510px);
  height: 86%;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(-10deg);
  filter: drop-shadow(0 38px 60px rgba(0,0,0,.5));
}

.detail-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,18,15,.02), rgba(21,18,15,.36));
}

.product-detail-stage::before {
  content: "";
  position: absolute;
  inset: 28px;
  z-index: 1;
  border: 1px solid rgba(255,248,236,.34);
  background:
    linear-gradient(90deg, rgba(255,248,236,.12) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(255,248,236,.09) 1px, transparent 1px) 0 0 / 42px 42px;
}

.detail-index {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-top: 1px solid rgba(255,248,236,.32);
  padding-top: 18px;
  color: var(--cream);
}

.detail-index span {
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.detail-index strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: .8;
}

.detail-panel {
  display: flex;
  flex-direction: column;
}

.detail-main { padding: 34px; }

.detail-main h1 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5vw, 86px);
  line-height: .88;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-band div {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.metric-band div:last-child { border-right: 0; }
.metric-band span { color: var(--muted); font-size: 12px; }
.metric-band strong { display: block; margin-top: 4px; font-size: 25px; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 20px;
  margin-top: 20px;
}

.detail-card {
  border: 1px solid rgba(21,18,15,.13);
  background: rgba(255,248,236,.78);
  padding: 24px;
  box-shadow: 0 16px 46px rgba(45,24,12,.08);
}

.detail-card h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.feature-list { display: grid; gap: 14px; }

.feature-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.feature-row i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--cream);
  background: var(--court-green);
  font-style: normal;
  font-weight: 950;
}

.feature-row h4 { margin: 0 0 6px; }
.feature-row p { margin: 0; color: var(--muted); line-height: 1.58; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--line);
  padding: 13px;
  text-align: left;
}

.spec-table th {
  width: 190px;
  color: var(--court-green);
  background: rgba(255,255,255,.38);
}

.radar-lab {
  position: sticky;
  top: 102px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20,63,52,.97), rgba(18,41,35,.97));
  color: var(--cream);
}

.radar-lab h3 { color: var(--cream); }

.radar-canvas-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 350px;
}

.radar-canvas {
  width: 100%;
  max-width: 360px;
  height: 320px;
}

.radar-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.radar-mode button {
  border: 1px solid rgba(255,248,236,.18);
  background: rgba(255,248,236,.08);
  color: rgba(255,248,236,.75);
  padding: 8px 10px;
}

.radar-mode button.active {
  border-color: var(--gold);
  color: var(--gold);
}

.score-bars { display: grid; gap: 9px; }
.score-bar { display: grid; grid-template-columns: 76px 1fr 32px; gap: 10px; align-items: center; font-size: 12px; }
.bar-track { height: 7px; background: rgba(255,248,236,.14); overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--clay-soft)); transform-origin: left; animation: grow .8s var(--ease) both; }
@keyframes grow { from { transform: scaleX(.1); } to { transform: scaleX(1); } }

.model-notes {
  margin-top: 18px;
  border-top: 1px solid rgba(255,248,236,.16);
  padding-top: 16px;
  color: rgba(255,248,236,.7);
  line-height: 1.62;
}

.confidence-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 18px;
}

.confidence-panel div {
  border: 1px solid rgba(255,248,236,.15);
  padding: 12px;
  background: rgba(255,248,236,.08);
}

.confidence-panel span {
  display: block;
  color: rgba(255,248,236,.62);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.confidence-panel strong {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: 22px;
}

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

.evidence-card {
  min-height: 150px;
  border: 1px solid var(--line);
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.46), rgba(255,255,255,.12)),
    rgba(255,248,236,.42);
}

.evidence-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.evidence-card strong {
  display: block;
  margin: 10px 0;
  color: var(--court-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.evidence-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.source-note p {
  margin-top: 0;
  color: rgba(246,241,232,.62);
  line-height: 1.55;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.source-links a {
  border: 1px solid rgba(246,241,232,.12);
  padding: 7px 9px;
  color: rgba(223,255,85,.82);
  background: rgba(255,255,255,.04);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.mentor-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 20px;
}

.mentor-page {
  padding-top: 28px;
}

.mentor-answer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}

.mentor-answer-main,
.mentor-upgrade-panel {
  min-height: auto;
  padding: 26px;
}

.mentor-answer-main h1 {
  max-width: 760px;
  margin: 6px 0 16px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1;
}

.mentor-refine-form {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 118px;
  align-items: center;
  min-height: 76px;
  margin: 4px 0 18px;
  border: 1px solid var(--soft-line);
  background: rgba(5,7,6,.32);
}

.mentor-refine-form input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  color: #fffaf0;
  background: transparent;
  font-size: 15px;
}

.mentor-refine-form input::placeholder {
  color: rgba(246,241,232,.48);
}

.mentor-refine-form button {
  height: 54px;
  margin-right: 10px;
  border: 1px solid rgba(223,255,85,.52);
  color: #050706;
  background: var(--signal);
  box-shadow: 0 14px 28px rgba(223,255,85,.16);
  font-size: 14px;
  font-weight: 950;
}

.mentor-empty-prompt {
  border: 1px solid var(--soft-line);
  padding: 22px;
  color: rgba(246,241,232,.66);
  background: rgba(246,241,232,.04);
}

.mentor-empty-prompt strong {
  display: block;
  color: rgba(255,250,240,.92);
  font-size: 20px;
  font-weight: 860;
}

.mentor-empty-prompt p {
  max-width: 680px;
  margin: 8px 0 0;
  line-height: 1.7;
}

.mentor-question {
  border-left: 3px solid var(--signal);
  padding: 4px 0 4px 18px;
}

.mentor-question span,
.mentor-evidence-head span {
  display: block;
  color: rgba(246,241,232,.52);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mentor-question strong {
  display: -webkit-box;
  max-width: 780px;
  overflow: hidden;
  color: rgba(255,250,240,.94);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.18;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mentor-prompt-text.prompt-short {
  font-size: clamp(28px, 2.4vw, 38px);
}

.mentor-prompt-text.prompt-medium {
  font-size: clamp(24px, 2vw, 32px);
}

.mentor-prompt-text.prompt-long {
  font-size: clamp(20px, 1.65vw, 26px);
}

.mentor-evidence-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
  border: 1px solid var(--soft-line);
}

.mentor-evidence-head,
.mentor-evidence-row {
  display: grid;
  gap: 16px;
  align-items: start;
}

.mentor-evidence-head {
  grid-template-columns: 1fr auto;
  padding: 14px;
  background: rgba(246,241,232,.045);
}

.mentor-evidence-head strong {
  color: var(--signal);
  font-size: 13px;
}

.mentor-evidence-row + .mentor-evidence-row {
  border-top: 1px solid var(--soft-line);
}

.mentor-evidence-row {
  grid-template-columns: 76px minmax(0, 1fr) 116px;
  padding: 18px 16px;
  background: linear-gradient(90deg, rgba(223,255,85,.055), rgba(246,241,232,.018) 34%, rgba(12,20,17,.28));
}

.mentor-rank-pill {
  display: grid;
  gap: 9px;
  align-content: start;
}

.mentor-rank-pill span {
  color: var(--signal);
  font-size: 12px;
  font-weight: 720;
}

.mentor-rank-pill b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 32px;
  border: 1px solid rgba(223,255,85,.3);
  color: #050706;
  background: var(--signal);
  font-size: 14px;
  font-weight: 950;
}

.mentor-match-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mentor-match-title strong {
  display: block;
  color: #fffaf0;
  font-size: 18px;
  line-height: 1.35;
}

.mentor-match-title em {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(223,255,85,.26);
  padding: 4px 8px;
  color: var(--signal);
  background: rgba(223,255,85,.08);
  font-size: 11px;
  font-style: normal;
  font-weight: 720;
}

.mentor-match-reason {
  margin: 9px 0 0;
  color: rgba(246,241,232,.86);
  font-size: 14px;
  line-height: 1.55;
}

.mentor-match-summary {
  margin: 8px 0 0;
  color: rgba(246,241,232,.58);
  font-size: 12px;
  line-height: 1.45;
}

.mentor-match-summary b {
  margin-right: 8px;
  color: rgba(246,241,232,.82);
}

.mentor-match-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.mentor-match-tags span {
  border: 1px solid rgba(246,241,232,.12);
  padding: 5px 8px;
  color: rgba(246,241,232,.78);
  background: rgba(255,255,255,.035);
  font-size: 11px;
  font-weight: 800;
}

.mentor-match-side {
  display: grid;
  gap: 10px;
  justify-items: end;
  align-content: start;
}

.mentor-match-side img {
  width: 86px;
  height: 96px;
  border: 1px solid rgba(246,241,232,.12);
  padding: 8px;
  object-fit: contain;
  background: rgba(255,255,255,.045);
}

.mentor-match-side small {
  margin: 0;
  color: rgba(246,241,232,.6);
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.mentor-upgrade-panel {
  position: sticky;
  top: 102px;
}

.mentor-upgrade-panel h2 {
  max-width: 320px;
  margin: 0 0 12px;
  color: #fffaf0;
  font-family: inherit;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.18;
}

.mentor-upgrade-copy {
  max-width: 310px;
  margin: 0;
  color: rgba(246,241,232,.64);
  font-size: 14px;
  line-height: 1.58;
}

.mentor-progress {
  height: 7px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid rgba(246,241,232,.12);
  background: rgba(255,255,255,.045);
}

.mentor-progress span {
  display: block;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, var(--signal), rgba(208,105,54,.95));
}

.mentor-report-preview {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
  border: 1px solid var(--soft-line);
}

.mentor-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(246,241,232,.045);
}

.mentor-preview-head span {
  color: rgba(246,241,232,.52);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mentor-preview-head strong {
  color: var(--signal);
  font-size: 13px;
}

.mentor-report-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  border-top: 1px solid var(--soft-line);
  padding: 12px;
}

.mentor-report-step:first-child {
  border-top: 0;
}

.mentor-report-step span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #050706;
  background: var(--signal);
  font-size: 11px;
  font-weight: 950;
}

.mentor-report-step strong {
  display: block;
  color: #fffaf0;
  font-size: 14px;
}

.mentor-report-step small {
  display: block;
  margin-top: 5px;
  color: rgba(246,241,232,.58);
  font-size: 12px;
  line-height: 1.45;
}

.mentor-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 10px;
}

.mentor-proof-strip span {
  border: 1px solid rgba(246,241,232,.12);
  padding: 6px 8px;
  color: rgba(246,241,232,.74);
  background: rgba(255,255,255,.035);
  font-size: 11px;
  font-weight: 850;
}

.mentor-privacy-note {
  display: block;
  margin-top: 8px;
  color: rgba(246,241,232,.48);
  font-size: 12px;
  line-height: 1.45;
}

.mentor-panel { min-height: 650px; }
.mentor-panel.mentor-answer-main,
.mentor-panel.mentor-upgrade-panel {
  min-height: auto;
}
.mentor-side { padding: 20px; }

.mentor-side h3 {
  margin: 6px 0 10px;
  color: var(--ink);
  font-size: 26px;
}

.mentor-query {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.mentor-signal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.mentor-signal-tags span,
.candidate-rank span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 4px 8px;
  color: var(--court-green);
  background: rgba(255,255,255,.48);
  font-size: 11px;
  font-weight: 900;
}

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

.mentor-analysis-card {
  min-height: 116px;
  border: 1px solid rgba(246,241,232,.14);
  padding: 14px;
  background: rgba(246,241,232,.045);
}

.mentor-analysis-card span {
  display: block;
  color: rgba(246,241,232,.52);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.mentor-analysis-card strong {
  display: block;
  margin-top: 8px;
  color: var(--signal);
  font-size: 18px;
  line-height: 1.18;
}

.mentor-analysis-card small {
  display: block;
  margin-top: 8px;
  color: rgba(246,241,232,.66);
  font-size: 12px;
  line-height: 1.45;
}

.mentor-analysis-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.mentor-analysis-card em {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(223,255,85,.24);
  border-radius: 999px;
  padding: 3px 8px;
  color: rgba(246,241,232,.78);
  background: rgba(5,7,6,.38);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.candidate-list { display: grid; gap: 10px; margin-top: 18px; }
.candidate-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 9px;
  background: rgba(255,255,255,.42);
}
.candidate-item img { width: 68px; height: 58px; object-fit: cover; }
.candidate-item strong { display: block; font-size: 13px; }
.candidate-item span { color: var(--muted); font-size: 12px; }

.mentor-candidate {
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: start;
}

.mentor-candidate img {
  width: 76px;
  height: 112px;
  object-fit: contain;
}

.candidate-rank {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.candidate-rank b {
  color: var(--clay-deep);
  font-size: 12px;
}

.mentor-candidate strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.mentor-candidate small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.48;
}

.chat-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mentor-intake {
  gap: 18px;
  padding: 24px;
}

.mentor-intake-head h2 {
  margin: 6px 0 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: .98;
}

.mentor-intake-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

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

.mentor-flow-step {
  min-height: 128px;
  border: 1px solid var(--line);
  padding: 14px;
  background: rgba(255,255,255,.34);
}

.mentor-flow-step span {
  color: var(--clay-deep);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 900;
}

.mentor-flow-step strong,
.mentor-flow-step small {
  display: block;
}

.mentor-flow-step strong {
  margin-top: 12px;
  color: var(--ink);
}

.mentor-flow-step small {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.42;
}

.mentor-flow-step.active {
  border-color: rgba(216,177,90,.55);
  background: rgba(216,177,90,.16);
}

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

.mentor-intake-grid label {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 12px;
  background: rgba(255,255,255,.34);
}

.mentor-intake-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mentor-intake-grid input,
.mentor-intake-grid textarea {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.mentor-intake-grid textarea {
  min-height: 88px;
  resize: vertical;
}

.mentor-register-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(216,177,90,.42);
  padding: 18px;
  background: linear-gradient(135deg, rgba(216,177,90,.24), rgba(255,255,255,.2));
}

.mentor-register-gate span {
  color: var(--clay-deep);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mentor-register-gate strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 22px;
}

.mentor-register-gate p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.mentor-gate-actions {
  display: flex;
  gap: 8px;
}

.mentor-upgrade-panel .mentor-gate-actions {
  flex-direction: column;
}

.mentor-upgrade-panel .clay-button,
.mentor-upgrade-panel .light-button {
  width: 100%;
}

.chat-window {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  min-height: 520px;
}
.message {
  max-width: 78%;
  border: 1px solid var(--line);
  padding: 16px;
  line-height: 1.7;
  background: rgba(255,255,255,.5);
}
.message.user {
  justify-self: end;
  color: var(--cream);
  background: var(--ink);
}
.message.system { justify-self: start; }
.message strong { display: block; margin-bottom: 6px; }

.compare-panel { padding: 24px; overflow-x: auto; }
.compare-table { min-width: 980px; }

.store-card { padding: 22px; }
.store-card h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}
.store-card p { color: var(--muted); line-height: 1.66; }
.store-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
}
.admin-nav {
  position: sticky;
  top: 102px;
  align-self: start;
  padding: 16px;
}
.admin-nav button {
  width: 100%;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.admin-nav-note {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(5,7,6,.22);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.admin-nav-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cream);
}
.admin-board {
  display: grid;
  gap: 18px;
}
.admin-range-row,
.admin-toolbar-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.admin-range-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-toolbar-row .admin-control {
  flex: 0 1 260px;
}
.admin-toolbar-row .admin-user-search {
  flex: 1 1 360px;
}
.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.admin-metric,
.admin-panel {
  padding: 20px;
}
.admin-metric {
  border: 1px solid rgba(21,18,15,.13);
  background: var(--court-green);
  color: var(--cream);
}
.admin-metric strong { display: block; font-size: 34px; }
.admin-metric span { color: rgba(255,248,236,.72); }

.admin-security-list,
.admin-event-list,
.admin-rec-list {
  display: grid;
  gap: 10px;
}
.admin-security-item,
.admin-event-row,
.admin-rec-row,
.admin-detail-item {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.28);
}
.admin-security-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
}
.admin-security-item strong { color: var(--court-green); }
.admin-security-item.warn strong { color: var(--gold); }
.admin-event-row {
  display: grid;
  grid-template-columns: minmax(92px, .7fr) minmax(0, 1.4fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--muted);
}
.admin-event-row strong { color: var(--cream); }
.admin-event-row time { font-size: 12px; color: rgba(255,248,236,.58); }
.admin-event-row.warn strong { color: var(--gold); }

.admin-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
}
.admin-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.admin-input,
.admin-select {
  min-height: 42px;
  padding: 0 12px;
}
.admin-input.full { grid-column: 1 / -1; min-height: 84px; padding: 12px; }
.admin-user-layout {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);
  gap: 18px;
  align-items: start;
}
.admin-user-list,
.admin-user-detail,
.admin-table-panel {
  max-height: 680px;
  overflow: auto;
}
.admin-user-list h3 span {
  color: var(--muted);
  font-size: 14px;
}
.admin-user-row {
  width: 100%;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 6px 10px;
  align-items: center;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.admin-user-row.active {
  background: rgba(223,255,85,.08);
}
.admin-user-row strong,
.admin-user-row em,
.admin-user-row small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-user-row em,
.admin-user-row small {
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
}
.admin-user-detail-head,
.admin-user-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.admin-user-detail-head p {
  margin: 4px 0 0;
  color: var(--muted);
}
.admin-user-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 14px 0;
}
.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.admin-detail-item {
  min-height: 64px;
  padding: 12px;
}
.admin-detail-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}
.admin-rec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .68fr);
  gap: 14px;
  padding: 14px;
}
.admin-rec-row p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.admin-rec-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
}
.admin-rec-meta span,
.admin-rec-meta time {
  min-height: 26px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  font-size: 12px;
}
.publish-row {
  display: grid;
  grid-template-columns: 98px 1fr auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.status-pill {
  display: inline-flex;
  justify-content: center;
  padding: 6px 9px;
  color: var(--cream);
  background: var(--clay);
  font-size: 12px;
  font-weight: 800;
}
.status-pill.review { background: var(--gold); color: var(--ink); }
.status-pill.live { background: var(--court-green); }

.flow-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.flow-node {
  min-height: 110px;
  border: 1px solid var(--line);
  padding: 14px;
  background: rgba(255,255,255,.38);
}
.flow-node strong { display: block; margin-bottom: 8px; color: var(--court-green); }
.flow-node span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.api-card {
  margin-top: 16px;
  border: 1px solid rgba(255,248,236,.16);
  padding: 16px;
  background: var(--ink);
  color: var(--cream);
}

.api-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.api-card code {
  display: block;
  color: rgba(255,248,236,.78);
  white-space: normal;
}

.admin-preview {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid var(--line);
  padding: 12px;
  background: rgba(255,255,255,.38);
}

.admin-preview img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  background: rgba(20,63,52,.08);
}

.admin-preview strong,
.admin-preview span {
  display: block;
}

.admin-preview span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.admin-open-list {
  width: 100%;
  margin-top: 14px;
}

.admin-compact-record {
  grid-template-columns: 86px 1fr minmax(170px, auto);
}

.admin-catalog-list-panel {
  padding: 0;
  overflow: hidden;
}

.admin-catalog-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.28);
}

.admin-catalog-head h3 {
  margin: 4px 0 6px;
  font-size: 24px;
}

.admin-catalog-head span {
  color: var(--muted);
  font-size: 13px;
}

.admin-catalog-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-catalog-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(150px, .7fr));
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.18);
}

.admin-control {
  display: grid;
  gap: 7px;
}

.admin-control span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-catalog-search .admin-input {
  width: 100%;
}

.admin-record-list {
  display: grid;
}

.admin-record-row {
  display: grid;
  grid-template-columns: 92px minmax(300px, 1.28fr) minmax(240px, .75fr) minmax(210px, .7fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.12);
}

.admin-record-row:first-child {
  border-top: 0;
}

.admin-record-row:nth-child(even) {
  background: rgba(255,255,255,.2);
}

.admin-record-thumb {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 7px;
  min-height: 128px;
  border: 1px solid var(--line);
  padding: 8px;
  background:
    linear-gradient(90deg, rgba(21,18,15,.055) 1px, transparent 1px) 0 0 / 18px 18px,
    rgba(255,255,255,.32);
}

.admin-record-thumb img {
  width: 100%;
  height: 100%;
  min-height: 92px;
  object-fit: contain;
  mix-blend-mode: normal;
}

.admin-record-thumb small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.admin-record-thumb.empty {
  place-items: center;
}

.admin-record-thumb.empty span {
  width: 34px;
  height: 72px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 50% 50% 44% 44%;
  color: rgba(21,18,15,.28);
}

.admin-record-main h4 {
  margin: 9px 0 3px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.22;
}

.admin-record-en {
  display: block;
  color: var(--court-green);
  font-size: 13px;
  font-weight: 900;
}

.admin-record-main p {
  max-width: 760px;
  margin: 10px 0 11px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.admin-record-meta,
.admin-record-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.admin-record-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-tier {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  color: var(--court-green);
  background: rgba(255,255,255,.28);
}

.admin-record-tags .tag-button {
  min-height: 26px;
  padding: 5px 8px;
  font-size: 11px;
  pointer-events: none;
}

.admin-record-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}

.admin-record-spec {
  min-height: 62px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.32);
}

.admin-record-spec.empty {
  grid-column: 1 / -1;
}

.admin-record-spec span,
.admin-record-source span,
.admin-record-status span,
.admin-record-pros span,
.admin-record-license span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-record-spec strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.admin-record-side {
  display: grid;
  gap: 9px;
  align-content: start;
}

.admin-record-source,
.admin-record-status,
.admin-record-pros,
.admin-record-license {
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.32);
}

.admin-record-source a,
.admin-record-source strong,
.admin-record-pros strong,
.admin-record-license strong {
  display: block;
  color: var(--court-green);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.admin-record-source small,
.admin-record-pros small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.admin-record-status div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-record-status em {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  color: var(--ink);
  background: rgba(216,177,90,.28);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

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

.legal-card,
.legal-note {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.22);
  padding: 22px;
}

.legal-card h3 {
  margin: 6px 0 12px;
  font-size: 24px;
}

.legal-card p,
.legal-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.legal-note {
  margin-top: 18px;
}

.legal-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--court-green);
  font-size: 18px;
}

.empty-state {
  padding: 54px;
  border: 1px dashed rgba(21,18,15,.22);
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,.28);
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .primary-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }
  .hero,
  .detail-hero,
  .detail-grid,
  .mentor-answer-shell,
  .mentor-layout,
  .library-layout,
  .admin-layout,
  .admin-grid,
  .admin-user-layout,
  .admin-rec-row,
  .admin-catalog-controls,
  .admin-record-row,
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .admin-catalog-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .mentor-flow,
  .mentor-analysis-panel,
  .mentor-intake-grid {
    grid-template-columns: 1fr;
  }
  .mentor-register-gate {
    grid-template-columns: 1fr;
  }
  .mentor-upgrade-panel {
    position: static;
  }
  .mentor-evidence-head,
  .mentor-evidence-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mentor-refine-form {
    grid-template-columns: 44px minmax(0, 1fr);
    padding-right: 104px;
    position: relative;
  }
  .mentor-refine-form button {
    position: absolute;
    right: 8px;
    top: 10px;
    width: 88px;
    height: 54px;
    margin-right: 0;
    font-size: 12px;
  }
  .mentor-match-side {
    grid-template-columns: 76px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
  }
  .mentor-match-side small {
    text-align: left;
  }
  .mentor-gate-actions {
    flex-wrap: wrap;
  }
  .admin-record-thumb {
    min-height: 180px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .filter-panel,
  .radar-lab,
  .admin-nav { position: static; }
  .racket-grid,
  .store-grid,
  .insight-grid,
  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root { --wrap: min(100vw - 24px, 1240px); }
  .site-header { padding: 12px; }
  .header-actions { grid-column: 1 / -1; justify-content: space-between; }
  .hero h1 { font-size: clamp(42px, 14vw, 64px); }
  .hero { min-height: auto; }
  .hero-panel, .detail-photo { min-height: 520px; }
  .hero-card,
  .page-title,
  .section-head,
  .library-top,
  .spec-strip,
  .metric-band,
  .racket-grid,
  .store-grid,
  .insight-grid,
  .admin-metrics,
  .admin-detail-grid,
  .admin-form,
  .evidence-grid,
  .flow-map {
    grid-template-columns: 1fr;
  }
  .message { max-width: 100%; }
  .ask-row { grid-template-columns: 1fr; }
  .ask-row input, .ask-row textarea { border-right: 0; border-bottom: 1px solid var(--line); }
  .mentor-answer-main,
  .mentor-upgrade-panel {
    padding: 18px;
  }
  .mentor-answer-main h1 {
    font-size: clamp(34px, 11vw, 48px);
  }
  .mentor-intake {
    padding: 16px;
  }
  .mentor-gate-actions,
  .mentor-gate-actions .clay-button,
  .mentor-gate-actions .light-button {
    width: 100%;
  }
}

/* Premium dark system pass */
:root {
  --night: #050706;
  --night-2: #0b0f0d;
  --night-3: #121714;
  --mist: rgba(246, 241, 232, .78);
  --soft-line: rgba(246, 241, 232, .14);
  --clay-hot: #c55e32;
  --signal: #dfff55;
}

body {
  color: #f6f1e8;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 112px 112px,
    linear-gradient(180deg, #050706 0%, #080a08 42%, #0d0d0b 100%);
}

body::before {
  background:
    linear-gradient(120deg, rgba(197,94,50,.18), transparent 34%),
    linear-gradient(240deg, rgba(20,63,52,.22), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent);
}

body::after {
  color: rgba(246, 241, 232, .045);
  content: "SWEETRACKET / EXTRACTED RACQUET CORE";
}

.site-header {
  grid-template-columns: 280px 1fr 268px;
  min-height: 76px;
  border-bottom: 1px solid var(--soft-line);
  background: rgba(5, 7, 6, .78);
  color: #f6f1e8;
}

.wordmark {
  width: 252px;
  height: 66px;
}

.logo-lockup img {
  filter: drop-shadow(0 0 22px rgba(223,255,85,.12)) drop-shadow(0 16px 26px rgba(0,0,0,.35));
}

.wordmark small,
.primary-nav a,
.count-label {
  color: rgba(246,241,232,.58);
}

.primary-nav a {
  border-color: transparent;
  background: transparent;
}

.primary-nav a:hover,
.primary-nav a.active {
  border-color: var(--soft-line);
  color: #fffaf0;
  background: rgba(255,255,255,.055);
}

.city-token {
  color: var(--signal);
  border-color: rgba(223,255,85,.24);
  background: rgba(223,255,85,.08);
}

.dark-button {
  border-color: rgba(246,241,232,.2);
  color: #050706;
  background: #f6f1e8;
}

.page {
  color: #f6f1e8;
}

.premium-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  background: #050706;
}

.premium-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.12) saturate(.88) contrast(1.18) brightness(.34);
  transform: scale(1.04);
  animation: premiumBg 20s ease-in-out infinite alternate;
}

@keyframes premiumBg {
  from { transform: scale(1.04) translate3d(-1%, 0, 0); }
  to { transform: scale(1.11) translate3d(1.4%, -1%, 0); }
}

.premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(5,7,6,.54), rgba(5,7,6,.24) 42%, rgba(5,7,6,.9)),
    linear-gradient(90deg, rgba(5,7,6,.82), rgba(5,7,6,.22) 48%, rgba(5,7,6,.78));
}

.premium-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .42;
  background:
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 50% 50% / 160px 160px,
    linear-gradient(0deg, rgba(255,255,255,.04) 1px, transparent 1px) 50% 50% / 160px 160px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 72%, transparent);
}

.premium-hero-inner {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
}

.court-line {
  position: absolute;
  z-index: 1;
  background: rgba(246,241,232,.16);
  transform-origin: center;
}

.court-line.one {
  left: 18%;
  top: 16%;
  width: 1px;
  height: 72%;
}

.court-line.two {
  left: 8%;
  right: 8%;
  top: 58%;
  height: 1px;
}

.hero-orbit-copy {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 14%;
  max-width: 680px;
  animation: rise .8s var(--ease) both;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(223,255,85,.82);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.brand-lockup {
  display: block;
  max-width: 100%;
}

.hero-orbit-copy h1,
.brand-hero {
  position: relative;
  margin: 0;
  max-width: min(760px, 62vw);
  color: #fffaf0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(76px, 10vw, 150px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .84;
  text-shadow: 0 18px 42px rgba(0,0,0,.42);
}

.brand-hero::after {
  display: none;
}

.brand-hero img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 18px 42px rgba(0,0,0,.42));
}

.hero-subtitle {
  max-width: 620px;
  margin: 16px 0 14px;
  color: var(--clay-soft);
  font-size: clamp(26px, 3.8vw, 50px);
  font-weight: 900;
  line-height: 1.08;
}

.hero-description {
  max-width: 500px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.82;
}

.hero-product-cluster {
  position: absolute;
  z-index: 3;
  right: 3%;
  top: 15%;
  width: min(39vw, 480px);
  height: 500px;
  animation: panelIn .85s var(--ease) .1s both;
}

.hero-racket-main {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 50px 70px rgba(0,0,0,.7));
  transform: rotate(-15deg);
  animation: productFloat 7s ease-in-out infinite alternate;
}

.racket-surface-specs {
  position: absolute;
  z-index: 4;
  left: 49%;
  top: 19%;
  width: 205px;
  height: 245px;
  color: #fffaf0;
  transform: rotate(-15deg);
  pointer-events: none;
  mix-blend-mode: screen;
  text-shadow: 0 2px 12px rgba(0,0,0,.78), 0 0 18px rgba(0,0,0,.5);
}

.surface-kicker,
.surface-spec span {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.surface-kicker {
  position: absolute;
  left: 38%;
  top: 17%;
  color: rgba(246,241,232,.58);
}

.surface-spec {
  position: absolute;
  min-width: 54px;
  border-top: 1px solid rgba(246,241,232,.3);
  padding-top: 5px;
  color: rgba(246,241,232,.66);
}

.surface-spec::before {
  content: "";
  position: absolute;
  top: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(223,255,85,.78);
  border-radius: 50%;
  background: rgba(223,255,85,.26);
  box-shadow: 0 0 14px rgba(223,255,85,.46);
}

.surface-spec strong {
  display: block;
  margin-top: 2px;
  color: var(--signal);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.surface-spin {
  left: 47%;
  top: 40%;
}

.surface-spin strong {
  font-size: 31px;
}

.surface-spin::before {
  right: -10px;
}

.surface-sw {
  left: 20%;
  top: 60%;
}

.surface-sw::before {
  right: -8px;
}

.surface-pattern {
  right: 12%;
  top: 62%;
}

.surface-pattern::before {
  left: -10px;
}

.command-console {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: clamp(148px, 18vh, 214px);
  width: min(880px, 78vw);
  translate: -50% 0;
  transform: none;
  animation: rise .8s var(--ease) .18s both;
}

.mentor-advisor-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 10px;
  color: rgba(246,241,232,.76);
}

.mentor-advisor-hint span {
  border: 1px solid rgba(223,255,85,.22);
  padding: 5px 7px;
  color: var(--signal);
  background: rgba(223,255,85,.08);
  font-size: 11px;
  font-weight: 900;
}

.mentor-advisor-hint strong {
  color: rgba(246,241,232,.88);
  font-size: 13px;
  font-weight: 820;
}

.console-core {
  display: grid;
  grid-template-columns: 62px 1fr 118px;
  align-items: center;
  min-height: 96px;
  margin: 0;
  border: 1px solid rgba(223,255,85,.42);
  background:
    linear-gradient(135deg, rgba(246,241,232,.32), rgba(246,241,232,.13)),
    rgba(5,7,6,.28);
  box-shadow: 0 28px 88px rgba(0,0,0,.5), 0 0 42px rgba(223,255,85,.16);
  backdrop-filter: blur(26px) saturate(1.15);
}

.spark-mark {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--signal);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .12em;
}

.console-core input {
  height: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  color: #fffaf0;
  background: transparent;
  font-size: 17px;
}

.console-core input::placeholder {
  color: rgba(246,241,232,.68);
}

.console-core:has(input[aria-invalid="true"]),
.home-lab-console:has(input[aria-invalid="true"]) {
  border-color: rgba(255, 103, 72, .82);
  box-shadow: 0 18px 58px rgba(255, 103, 72, .18), 0 0 0 1px rgba(255, 103, 72, .28) inset;
}

.mentor-prompt-error {
  margin: 10px 0 0;
  color: #ffb09b;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.console-core button {
  height: 68px;
  margin-right: 12px;
  border: 1px solid rgba(223,255,85,.48);
  color: #050706;
  background: var(--signal);
  box-shadow: 0 16px 34px rgba(223,255,85,.18);
  font-size: 15px;
  font-weight: 950;
}

.mentor-prompt-surface.is-quick-focus {
  border-color: rgba(223,255,85,.86);
  box-shadow: 0 24px 78px rgba(223,255,85,.18), 0 0 0 1px rgba(223,255,85,.34) inset;
}

.console-prompts {
  display: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.console-prompts .tag-button {
  flex: 0 1 235px;
  min-width: 0;
  max-width: 235px;
  overflow: hidden;
  text-overflow: ellipsis;
  border-color: rgba(246,241,232,.13);
  color: rgba(246,241,232,.72);
  background: rgba(5,7,6,.42);
  backdrop-filter: blur(10px);
}

.brand-rail {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 34px;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(246,241,232,.12);
  padding: 14px;
  background: rgba(5,7,6,.34);
  backdrop-filter: blur(16px);
}

.brand-rail-copy span {
  display: block;
  color: rgba(223,255,85,.78);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.brand-rail-copy strong {
  display: block;
  margin-top: 6px;
  color: rgba(255,250,240,.92);
  font-size: 16px;
  font-weight: 800;
}

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

.brand-tile {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid rgba(246,241,232,.16);
  color: rgba(255,250,240,.9);
  background: rgba(255,255,255,.055);
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}

.brand-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(223,255,85,.36);
  color: var(--signal);
  background: rgba(223,255,85,.08);
}

.brand-tile span {
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .08em;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 10px;
  border: 0;
  transform: translateX(-50%);
  color: rgba(246,241,232,.42);
  background: transparent;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 8px auto 0;
  background: rgba(246,241,232,.28);
}

.premium-lab {
  padding-top: 82px;
}

.lab-dossier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 24px;
  border: 1px solid var(--soft-line);
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(135deg, rgba(246,241,232,.09), rgba(246,241,232,.035));
  box-shadow: 0 36px 96px rgba(0,0,0,.28);
  padding: 34px;
}

.dossier-copy h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 74px);
  line-height: .95;
}

.dossier-copy p {
  max-width: 720px;
  color: var(--mist);
  line-height: 1.8;
}

.dossier-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 28px;
}

.dossier-metrics div {
  border-top: 1px solid var(--soft-line);
  padding-top: 16px;
}

.dossier-metrics strong {
  display: block;
  color: var(--signal);
  font-size: 38px;
}

.dossier-metrics span {
  color: rgba(246,241,232,.52);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dossier-radar {
  border: 1px solid rgba(246,241,232,.14);
  padding: 18px;
  background: rgba(5,7,6,.55);
}

.dossier-radar .radar-canvas {
  max-width: 100%;
}

.dossier-bars {
  display: grid;
  gap: 8px;
}

.section-head h2,
.page-title h1 {
  color: #fffaf0;
}

.section-head p,
.page-title p,
.lead,
.card-body p,
.store-card p,
.feature-row p,
.evidence-card p,
.model-notes,
.flow-node span,
.admin-preview span {
  color: rgba(246,241,232,.66);
}

.kicker {
  color: var(--signal);
}

.kicker::before {
  background: var(--clay-hot);
}

.racket-card {
  border-color: var(--soft-line);
  background: linear-gradient(180deg, rgba(246,241,232,.08), rgba(246,241,232,.035));
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.racket-card:hover {
  border-color: rgba(223,255,85,.32);
  box-shadow: 0 38px 100px rgba(0,0,0,.42);
}

.racket-photo {
  background:
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(135deg, #09110e, #1a241d 38%, #8b4026);
}

.card-brand {
  background: rgba(5,7,6,.74);
  color: #f6f1e8;
}

.card-family {
  color: rgba(246,241,232,.72);
}

.card-title-row span,
.spec-strip div,
.tag-button,
.light-button,
.search-field,
.admin-input,
.admin-select,
.candidate-item,
.mentor-flow-step,
.mentor-intake-grid label,
.mentor-register-gate,
.message.system {
  border-color: var(--soft-line);
  color: rgba(246,241,232,.74);
  background: rgba(255,255,255,.055);
}

.card-body h3,
.store-card h3,
.detail-card h3 {
  color: #fffaf0;
}

.spec-strip,
.metric-band,
.spec-table th,
.spec-table td {
  border-color: var(--soft-line);
}

.spec-strip span,
.metric-band span,
.evidence-card span,
.confidence-panel span,
.wordmark small {
  color: rgba(246,241,232,.5);
}

.spec-strip strong,
.metric-band strong,
.feature-row h4,
.candidate-item strong,
.mentor-side h3,
.mentor-intake-head h2,
.mentor-flow-step strong,
.mentor-candidate strong,
.mentor-register-gate strong,
.publish-row strong {
  color: #fffaf0;
}

.price {
  color: var(--signal);
}

.light-button {
  color: #fffaf0;
}

.light-button:hover,
.tag-button:hover,
.tag-button.active {
  border-color: rgba(223,255,85,.34);
  color: var(--signal);
  background: rgba(223,255,85,.08);
}

.filter-panel,
.glass-panel,
.admin-panel,
.detail-panel,
.mentor-panel,
.store-card,
.detail-card {
  border-color: var(--soft-line);
  background: linear-gradient(180deg, rgba(246,241,232,.075), rgba(246,241,232,.035));
  box-shadow: 0 24px 76px rgba(0,0,0,.26);
}

.filter-panel h4,
.spec-table th,
.flow-node strong,
.evidence-card strong {
  color: var(--signal);
}

.search-field,
.admin-input,
.admin-select,
.ask-row input,
.ask-row textarea,
.mentor-intake-grid input,
.mentor-intake-grid textarea {
  color: #fffaf0;
}

.search-field::placeholder,
.ask-row input::placeholder,
.ask-row textarea::placeholder,
.mentor-intake-grid input::placeholder,
.mentor-intake-grid textarea::placeholder {
  color: rgba(246,241,232,.42);
}

.mentor-query,
.mentor-candidate small,
.mentor-intake-head p,
.mentor-flow-step small,
.mentor-intake-grid span,
.mentor-register-gate p {
  color: rgba(246,241,232,.58);
}

.mentor-signal-tags span,
.candidate-rank span {
  border-color: rgba(223,255,85,.24);
  color: var(--signal);
  background: rgba(223,255,85,.08);
}

.candidate-rank b,
.mentor-flow-step span,
.mentor-register-gate span {
  color: var(--signal);
}

.mentor-flow-step.active,
.mentor-register-gate {
  border-color: rgba(223,255,85,.24);
  background: rgba(223,255,85,.075);
}

.admin-catalog-head,
.admin-catalog-controls,
.admin-record-row:nth-child(even),
.admin-record-row,
.footer-inner,
.legal-card,
.legal-note {
  border-color: var(--soft-line);
}

.admin-catalog-head,
.admin-record-row,
.legal-card,
.legal-note {
  background: rgba(246,241,232,.045);
}

.admin-catalog-controls,
.admin-record-row:nth-child(even) {
  background: rgba(246,241,232,.07);
}

.admin-catalog-head h3,
.admin-record-main h4,
.admin-record-spec strong,
.admin-record-status strong,
.legal-card h3 {
  color: #fffaf0;
}

.admin-catalog-head span,
.admin-control span,
.admin-record-main p,
.admin-record-meta,
.admin-record-spec span,
.admin-record-source span,
.admin-record-status span,
.admin-record-pros span,
.admin-record-license span,
.admin-record-source small,
.admin-record-pros small,
.footer-inner,
.legal-card p,
.legal-note p {
  color: rgba(246,241,232,.54);
}

.admin-record-en,
.admin-tier,
.admin-record-source a,
.admin-record-source strong,
.admin-record-pros strong,
.admin-record-license strong,
.footer-inner a,
.legal-note strong {
  color: var(--signal);
}

.admin-tier,
.admin-record-spec,
.admin-record-source,
.admin-record-status,
.admin-record-pros,
.admin-record-license,
.admin-record-thumb {
  border-color: var(--soft-line);
  background: rgba(5,7,6,.24);
}

.admin-record-thumb.empty span {
  color: rgba(246,241,232,.32);
}

.admin-record-status em {
  color: #050706;
  background: rgba(223,255,85,.78);
}

.library-page {
  --library-line: rgba(246,241,232,.1);
  --library-surface: rgba(13, 14, 12, .72);
  --library-panel: rgba(246,241,232,.055);
}

.library-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 22px;
  align-items: end;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--library-line);
}

.library-hero h1 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: .86;
}

.library-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(246,241,232,.64);
  line-height: 1.72;
}

.library-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--library-line);
  background: linear-gradient(180deg, rgba(246,241,232,.065), rgba(246,241,232,.025));
}

.library-metrics div {
  padding: 16px;
  border-right: 1px solid var(--library-line);
}

.library-metrics div:last-child { border-right: 0; }

.library-metrics span,
.filter-head span,
.library-search span {
  display: block;
  color: rgba(246,241,232,.48);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.library-metrics strong {
  display: block;
  margin-top: 7px;
  color: #fffaf0;
  font-size: 28px;
  line-height: 1;
}

.library-layout {
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 24px;
}

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

.library-filter-panel {
  top: 96px;
  padding: 20px;
  border-color: var(--library-line);
  background:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(180deg, rgba(13,14,12,.86), rgba(13,14,12,.56));
  backdrop-filter: blur(18px);
}

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

.library-filter-panel h4 {
  margin: 22px 0 10px;
  color: rgba(223,255,85,.84);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
}

.library-filter-panel h4::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: rgba(223,255,85,.48);
}

.library-filter-panel .filter-options {
  gap: 7px;
}

.library-filter-panel .tag-button {
  min-height: 32px;
  border-color: rgba(246,241,232,.1);
  background: rgba(255,255,255,.035);
  color: rgba(246,241,232,.66);
  font-size: 12px;
}

.filter-range {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--library-line);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.range-track {
  position: relative;
  height: 2px;
  background: rgba(246,241,232,.14);
}

.range-track b,
.range-track i {
  position: absolute;
  top: 0;
  display: block;
}

.range-track b {
  height: 2px;
  background: var(--signal);
  box-shadow: 0 0 18px rgba(223,255,85,.24);
}

.range-track i {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(5,7,6,.92);
  border-radius: 50%;
  background: var(--signal);
  transform: translate(-50%, -5px);
}

.library-top {
  grid-template-columns: minmax(280px, 460px) minmax(180px, 1fr) auto;
  gap: 12px;
  margin-bottom: 10px;
}

.library-search {
  display: block;
}

.library-search .search-field {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(246,241,232,.12);
  background: rgba(255,255,255,.055);
  border-radius: 0;
}

.library-active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.library-active span {
  border: 1px solid rgba(223,255,85,.2);
  padding: 6px 9px;
  color: rgba(223,255,85,.82);
  background: rgba(223,255,85,.06);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.library-page .racket-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.library-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(210px, .9fr);
  gap: 10px;
  min-height: 460px;
  padding: 0;
  border: 1px solid var(--library-line);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, rgba(246,241,232,.068), rgba(246,241,232,.028));
  box-shadow: 0 24px 76px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}

.library-card:hover {
  border-color: rgba(223,255,85,.22);
  box-shadow: 0 32px 90px rgba(0,0,0,.42), 0 0 42px rgba(197,94,50,.12);
}

.library-card-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.card-brand-text {
  display: block;
  margin-bottom: 8px;
  color: rgba(223,255,85,.8);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.library-card .card-title-row h3 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(30px, 2.5vw, 44px);
}

.library-card .card-title-row span {
  border-color: rgba(223,255,85,.18);
  color: var(--signal);
  background: rgba(223,255,85,.06);
}

.library-card p {
  color: rgba(246,241,232,.66);
  font-size: 14px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 6px 0 0;
}

.card-tags span {
  border: 1px solid rgba(246,241,232,.1);
  padding: 6px 8px;
  color: rgba(246,241,232,.66);
  background: rgba(255,255,255,.035);
  font-size: 11px;
}

.library-card .spec-strip {
  margin: 16px 0;
  border-color: var(--library-line);
}

.library-card .spec-strip div {
  border-color: var(--library-line);
  background: rgba(255,255,255,.035);
}

.library-card .spec-strip span {
  color: rgba(246,241,232,.46);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.library-card .spec-strip strong {
  color: #fffaf0;
}

.card-perf {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.perf-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  color: rgba(246,241,232,.58);
  font-size: 12px;
}

.perf-row div {
  height: 5px;
  background: rgba(246,241,232,.12);
  overflow: hidden;
}

.perf-row i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--clay-hot), var(--signal));
  transform-origin: left;
  animation: grow .85s var(--ease) both;
}

.perf-row b {
  color: var(--signal);
}

.library-card .card-footer {
  margin-top: 18px;
}

.compare-button.active {
  border-color: rgba(223,255,85,.44);
  color: #050706;
  background: var(--signal);
}

.library-card-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-left: 1px solid var(--library-line);
  background:
    radial-gradient(circle at 58% 18%, rgba(223,255,85,.16), transparent 30%),
    linear-gradient(160deg, rgba(20,63,52,.42), rgba(5,7,6,.2) 60%);
}

.library-card-visual img {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 49%;
  width: 92%;
  height: 74%;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(-11deg);
  filter: drop-shadow(0 34px 46px rgba(0,0,0,.56));
  transition: transform .75s var(--ease), filter .75s var(--ease);
}

.library-card:hover .library-card-visual img {
  transform: translate(-50%, -53%) rotate(-7deg) scale(1.05);
}

.library-card-visual .card-family {
  left: 18px;
  right: auto;
  bottom: 18px;
  color: rgba(246,241,232,.32);
  font-size: 26px;
}

.mini-radar {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(246,241,232,.08);
  background: rgba(5,7,6,.34);
  backdrop-filter: blur(8px);
}

.fit-score {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(223,255,85,.24);
  background: rgba(5,7,6,.62);
}

.fit-score span {
  color: rgba(246,241,232,.52);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.fit-score strong {
  color: var(--signal);
  font-size: 24px;
  line-height: 1;
}

.library-page .empty-state {
  grid-column: 1 / -1;
  border: 1px solid var(--library-line);
  padding: 34px;
  color: rgba(246,241,232,.72);
  background: rgba(255,255,255,.04);
}

.detail-photo,
.product-detail-stage::before {
  border-color: var(--soft-line);
}

.detail-panel .lead {
  color: rgba(246,241,232,.72);
}

.radar-lab {
  border-color: rgba(223,255,85,.22);
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(180deg, rgba(11,27,22,.98), rgba(5,7,6,.98));
}

.evidence-card,
.flow-node,
.admin-preview {
  border-color: var(--soft-line);
  background: rgba(255,255,255,.05);
}

.mentor-box,
.ask-row {
  border-color: var(--soft-line);
  background: rgba(255,255,255,.055);
}

.ask-row button {
  background: var(--clay-hot);
}

.message.user {
  color: #050706;
  background: var(--signal);
}

.admin-metric {
  border-color: rgba(223,255,85,.2);
  background: #0d1712;
}

.api-card {
  border-color: var(--soft-line);
  background: #050706;
}

.empty-state {
  border-color: var(--soft-line);
  color: rgba(246,241,232,.62);
  background: rgba(255,255,255,.035);
}

@media (max-width: 1020px) {
  .premium-hero-inner {
    min-height: 1080px;
  }
  .hero-orbit-copy {
    top: 9%;
  }
  .brand-hero {
    width: min(760px, 86vw);
  }
  .hero-product-cluster {
    right: auto;
    left: 50%;
    top: 32%;
    width: min(74vw, 520px);
    translate: -50% 0;
    transform: none;
  }
  .command-console {
    bottom: 182px;
    width: min(820px, 90vw);
  }
  .lab-dossier {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brand-rail {
    grid-template-columns: 1fr;
  }
  .brand-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr;
  }
  .wordmark {
    min-width: 0;
  }
  .wordmark {
    width: min(295px, calc(100vw - 24px));
    height: min(78px, calc((100vw - 24px) * .2632));
  }
  .premium-hero-inner {
    min-height: 640px;
  }
  .hero-orbit-copy {
    top: 7%;
  }
  .brand-lockup {
    display: block;
  }
  .hero-orbit-copy h1,
  .brand-hero {
    width: min(352px, 100%);
    font-size: clamp(52px, 15vw, 72px);
  }
  .hero-subtitle {
    font-size: 34px;
  }
  .hero-product-cluster {
    display: none;
  }
  .command-console {
    bottom: 205px;
  }
  .console-core {
    grid-template-columns: 44px 1fr 96px;
    min-height: 76px;
  }
  .console-core button {
    height: 54px;
    margin-right: 8px;
    font-size: 13px;
  }
  .lab-dossier,
  .dossier-metrics {
    grid-template-columns: 1fr;
  }
  .brand-rail {
    bottom: 32px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }
  .brand-rail-copy strong {
    font-size: 14px;
  }
  .brand-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brand-tile {
    min-height: 44px;
  }
}

@media (max-width: 1180px) {
  .library-hero,
  .library-layout,
  .library-top {
    grid-template-columns: 1fr;
  }
  .library-filter-panel {
    position: static;
  }
  .library-page .racket-grid {
    grid-template-columns: 1fr;
  }
  .library-card {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  }
}

@media (max-width: 720px) {
  .library-page {
    padding-top: 28px;
  }
  .library-hero h1 {
    font-size: clamp(42px, 15vw, 64px);
  }
  .library-metrics {
    grid-template-columns: 1fr;
  }
  .library-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--library-line);
  }
  .library-metrics div:last-child {
    border-bottom: 0;
  }
  .library-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .library-card-copy {
    padding: 18px;
  }
  .library-card-visual {
    order: -1;
    min-height: 300px;
    border-left: 0;
    border-bottom: 1px solid var(--library-line);
  }
  .library-card-visual img {
    height: 82%;
  }
  .mini-radar {
    width: 104px;
    height: 104px;
  }
  .library-card .spec-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .library-card .spec-strip div {
    border-bottom: 1px solid var(--library-line);
  }
  .library-card .spec-strip div:nth-child(2n) {
    border-right: 0;
  }
  .library-card .spec-strip div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .library-card .card-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .library-card .card-footer .light-button {
    width: 100%;
  }
}

@media (min-width: 1021px) {
  .command-console {
    left: 0;
    width: min(764px, calc(50vw + 120px));
    translate: 0 0;
  }
}

.library-page .library-hero {
  display: grid;
  max-width: none;
  margin-bottom: 24px;
}

.library-page .library-hero p {
  color: rgba(246,241,232,.62);
}

.library-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 520px) auto 1fr;
  align-items: end;
  gap: 12px;
  margin-bottom: 12px;
}

.library-filter-drawer {
  position: relative;
}

.library-filter-drawer summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 92px;
  border: 1px solid rgba(246,241,232,.14);
  padding: 0 16px;
  color: rgba(255,250,240,.9);
  background: rgba(255,255,255,.045);
  cursor: pointer;
  list-style: none;
}

.library-filter-drawer summary::-webkit-details-marker {
  display: none;
}

.library-filter-drawer summary::after {
  content: "+";
  margin-left: 10px;
  color: var(--signal);
}

.library-filter-drawer[open] summary::after {
  content: "-";
}

.library-filter-sheet {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  box-sizing: border-box;
  width: min(640px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: min(720px, calc(100vh - 160px));
  overflow: auto;
  border: 1px solid rgba(246,241,232,.14);
  padding: 20px;
  background: rgba(7, 9, 8, .96);
  box-shadow: 0 28px 80px rgba(0,0,0,.48);
  backdrop-filter: blur(18px);
}

.library-filter-sheet h4 {
  margin: 18px 0 9px;
  color: rgba(223,255,85,.78);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.library-filter-sheet h4:first-of-type {
  margin-top: 0;
}

.library-filter-sheet .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.library-count {
  align-self: center;
  justify-self: end;
  color: rgba(246,241,232,.55);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.library-page .racket-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.library-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  height: 100%;
  min-height: 660px;
  padding: 0;
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 0;
  background: #07100d;
  box-shadow: none;
  backdrop-filter: none;
}

.library-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246,241,232,.28);
  box-shadow: 0 24px 56px rgba(0,0,0,.24);
}

.library-card-image {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 5 / 4;
  height: auto;
  overflow: hidden;
  border-bottom: 1px solid rgba(246,241,232,.1);
  background: #0a1310;
  perspective: 900px;
}

.library-card-image.placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(246,241,232,.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(246,241,232,.035) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(circle at 50% 28%, rgba(223,255,85,.09), transparent 34%),
    #07100d;
}

.library-card-image::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 34px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.34), transparent 70%);
  filter: blur(4px);
}

.library-card-image img {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 82%;
  height: 82%;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(-8deg);
  filter: drop-shadow(0 32px 42px rgba(0,0,0,.46));
  animation:
    libraryRacketFloat 6.5s ease-in-out infinite alternate,
    racketTurntable 8s ease-in-out infinite;
  transition: transform .65s var(--ease), filter .65s var(--ease);
}

.library-card-image.reference-image img {
  width: 88%;
  height: 88%;
  animation: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 26px rgba(20,24,22,.24));
}

.library-card-image.reference-image {
  border: 10px solid #07100d;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(236,239,232,.98)),
    #f5f3ee;
  box-shadow: inset 0 0 0 1px rgba(20,24,22,.12);
}

.library-card-image.reference-image::after {
  left: 26%;
  right: 26%;
  bottom: 26px;
  background: radial-gradient(ellipse at center, rgba(20,24,22,.16), transparent 72%);
}

.library-card-image.reference-image .turntable-orbit {
  display: none;
}

.library-card-status {
  position: absolute;
  z-index: 4;
  left: 14px;
  top: 14px;
  border: 1px solid rgba(223,255,85,.24);
  padding: 6px 8px;
  color: var(--signal);
  background: rgba(5,7,6,.58);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .08em;
}

.library-card-status.review {
  border-color: rgba(216,177,90,.32);
  color: var(--gold);
}

.library-card-status.recommendable,
.archive-core-tag,
.product-archive-tags .recommendable {
  border-color: rgba(223,255,85,.34);
  background: rgba(223,255,85,.12);
  color: var(--signal);
}

.library-card-status.display-only,
.archive-extended-tag,
.product-archive-tags .display-only {
  border-color: rgba(116,211,255,.28);
  background: rgba(116,211,255,.1);
  color: #8fdcff;
}

.library-data-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: start;
  gap: 6px;
  min-height: 28px;
  margin: 0;
}

.library-data-badges span,
.recommendation-trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 5px;
  padding: 5px 7px;
  background: rgba(246,241,232,.04);
  color: rgba(246,241,232,.62);
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.library-data-badges .recommendable {
  border-color: rgba(223,255,85,.26);
  color: var(--signal);
}

.generic-racket-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  height: 100%;
  padding: 18px;
  color: rgba(246,241,232,.72);
}

.generic-racket-label {
  justify-self: end;
  max-width: 62%;
  text-align: right;
}

.generic-racket-label span,
.generic-racket-label strong {
  display: block;
}

.generic-racket-label span {
  color: rgba(223,255,85,.74);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.generic-racket-label strong {
  margin-top: 4px;
  color: rgba(255,250,240,.72);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .04em;
}

.generic-racket-blueprint {
  align-self: center;
  justify-self: center;
  width: min(58%, 190px);
  height: min(86%, 270px);
  overflow: visible;
  filter: drop-shadow(0 24px 28px rgba(0,0,0,.28));
}

.blueprint-measure {
  fill: none;
  stroke: rgba(223,255,85,.22);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blueprint-head,
.blueprint-inner,
.blueprint-throat,
.blueprint-bridge,
.blueprint-handle,
.blueprint-butt {
  fill: none;
  stroke: rgba(255,250,240,.7);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blueprint-head {
  stroke-width: 5.5;
}

.blueprint-inner {
  stroke-width: 1.2;
  stroke-dasharray: 4 7;
  opacity: .55;
}

.blueprint-throat,
.blueprint-bridge {
  stroke-width: 4;
}

.blueprint-handle,
.blueprint-butt {
  fill: rgba(255,250,240,.1);
  stroke-width: 3.5;
}

.blueprint-strings {
  stroke: rgba(223,255,85,.48);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.generic-oversize .blueprint-head {
  stroke: rgba(223,255,85,.76);
}

.generic-control .blueprint-strings {
  stroke: rgba(255,250,240,.52);
}

.generic-racket-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
}

.generic-racket-specs span {
  border: 1px solid rgba(246,241,232,.12);
  padding: 6px 8px;
  color: rgba(246,241,232,.7);
  background: rgba(255,255,255,.055);
  font-size: 10px;
  font-weight: 780;
}

.library-card:hover .library-card-image.racket-turntable img {
  animation-duration: 5.2s, 4.6s;
  filter: drop-shadow(0 40px 54px rgba(0,0,0,.52));
}

.turntable-orbit {
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 42px;
  height: 38px;
  border: 1px solid rgba(223,255,85,.14);
  border-top-color: rgba(246,241,232,.16);
  border-radius: 50%;
  transform: rotateX(68deg);
  transform-origin: center;
  opacity: .84;
}

@keyframes libraryRacketFloat {
  from { translate: 0 0; }
  to { translate: 0 -8px; }
}

@keyframes racketTurntable {
  0%, 100% { transform: translate(-50%, -50%) rotateZ(-8deg) rotateY(-14deg) scaleX(1); }
  38% { transform: translate(-50%, -51%) rotateZ(-3deg) rotateY(32deg) scaleX(.78); }
  50% { transform: translate(-50%, -51%) rotateZ(0deg) rotateY(58deg) scaleX(.54); }
  62% { transform: translate(-50%, -51%) rotateZ(-3deg) rotateY(32deg) scaleX(.78); }
}

.product-detail-stage.racket-turntable {
  perspective: 1200px;
}

.product-detail-stage.racket-turntable .detail-product {
  animation: detailRacketTurntable 9s ease-in-out infinite;
  transform-origin: center;
}

@keyframes detailRacketTurntable {
  0%, 100% { transform: translate(-50%, -50%) rotateZ(-10deg) rotateY(-10deg) scaleX(1); }
  45% { transform: translate(-50%, -50%) rotateZ(-3deg) rotateY(44deg) scaleX(.7); }
  55% { transform: translate(-50%, -50%) rotateZ(-3deg) rotateY(-32deg) scaleX(.78); }
}

.library-card-copy {
  display: grid;
  grid-template-rows: minmax(98px, auto) auto minmax(56px, auto) 34px 50px auto;
  gap: 10px;
  padding: 22px 20px 20px;
  background: #07100d;
}

.library-card-name-block {
  min-width: 0;
  overflow: hidden;
}

.library-card-kicker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(223,255,85,.78);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.library-card h3,
.library-card-title {
  display: -webkit-box;
  margin: 9px 0 0;
  max-height: 2.25em;
  overflow: hidden;
  color: #fffaf0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(21px, 1.55vw, 28px);
  font-weight: 760;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-wrap: pretty;
}

.library-card-title.long-title {
  font-size: clamp(18px, 1.28vw, 23px);
  line-height: 1.08;
}

.library-card-title.xlong-title {
  font-size: clamp(16px, 1.08vw, 20px);
  line-height: 1.1;
}

.library-card-title.xxlong-title {
  font-size: clamp(15px, .96vw, 18px);
  line-height: 1.12;
}

.library-card p,
.library-card-summary {
  margin: 0;
  color: rgba(246,241,232,.62);
  font-size: 14px;
  line-height: 1.58;
}

.library-card .library-card-title-cn {
  display: -webkit-box;
  margin: 7px 0 0;
  overflow: hidden;
  color: rgba(223,255,85,.76);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.library-card .library-card-summary {
  display: -webkit-box;
  align-self: start;
  margin-top: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.library-card .card-tags {
  align-content: start;
  align-self: start;
  gap: 6px;
  max-height: 23px;
  margin-top: 0;
  overflow: hidden;
}

.library-card .card-tags span {
  padding: 5px 6px;
  font-size: 10px;
  line-height: 1.1;
}

.library-card .spec-strip {
  display: grid;
  align-self: start;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  height: 49px;
  margin: 0;
  border-top: 1px solid rgba(246,241,232,.1);
  border-bottom: 1px solid rgba(246,241,232,.1);
  background: rgba(255,255,255,.018);
}

.library-card .spec-strip div {
  border-right: 1px solid rgba(246,241,232,.08);
  border-bottom: 0;
  padding: 9px 8px;
  background: transparent;
}

.library-card .spec-strip div:nth-child(2n) {
  border-right: 0;
}

.library-card .spec-strip div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.library-card .spec-strip span {
  display: block;
  color: rgba(246,241,232,.38);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .08em;
}

.library-card .spec-strip strong {
  display: block;
  margin-top: 5px;
  color: rgba(255,250,240,.78);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.library-card .card-footer {
  display: grid;
  align-self: end;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  margin-top: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(246,241,232,.1);
  align-items: center;
  align-self: end;
  width: 100%;
}

.library-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 0 12px;
  color: #050706;
  background: var(--signal);
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
}

.library-detail-link span {
  font-size: 20px;
  line-height: 1;
}

.library-compare-toggle {
  min-height: 40px;
  border: 0;
  padding: 0;
  color: rgba(246,241,232,.72);
  background: transparent;
  font-size: 13px;
  font-weight: 760;
  text-align: right;
  cursor: pointer;
  white-space: nowrap;
}

.library-save-toggle {
  min-height: 40px;
  border: 1px solid rgba(223,255,85,.34);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--signal);
  background: rgba(223,255,85,.06);
  font-size: 13px;
  font-weight: 860;
  white-space: nowrap;
}

.library-compare-toggle.active {
  color: rgba(223,255,85,.88);
}

.library-compare-toggle.muted {
  color: rgba(246,241,232,.46);
  cursor: default;
}

.library-detail-link[disabled] {
  border: 0;
  opacity: .62;
}

.library-load-more {
  display: block;
  width: min(360px, 100%);
  min-height: 54px;
  margin: 24px auto 0;
  border: 1px solid rgba(223,255,85,.28);
  color: var(--signal);
  background: rgba(223,255,85,.06);
  font-weight: 860;
}

@media (max-width: 1180px) {
  .library-page .racket-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .library-toolbar {
    grid-template-columns: 1fr;
  }
  .library-filter-sheet {
    position: static;
    width: 100%;
    margin-top: 10px;
  }
  .library-count {
    justify-self: start;
  }
  .library-page .racket-grid {
    grid-template-columns: 1fr;
  }
  .library-card-image {
    min-height: 0;
    height: auto;
    aspect-ratio: 5 / 4;
  }
  .library-card {
    grid-template-rows: auto 1fr;
    min-height: 0;
  }
  .library-card-copy {
    display: grid;
  }
}

.home-lab {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: #fffaf0;
  background: #050706;
}

body:has(.home-lab) {
  overflow-x: hidden;
}

.home-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246,241,232,.05) 1px, transparent 1px) 50% 50% / 84px 84px,
    linear-gradient(0deg, rgba(246,241,232,.038) 1px, transparent 1px) 50% 50% / 84px 84px;
  mask-image: radial-gradient(circle at 52% 45%, #000 0 42%, transparent 74%);
  opacity: .82;
}

.home-lab::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,6,.1), rgba(5,7,6,.86)),
    radial-gradient(circle at 50% 34%, rgba(223,255,85,.12), transparent 28%),
    radial-gradient(circle at 77% 22%, rgba(197,94,50,.16), transparent 32%);
  pointer-events: none;
}

.home-lab-bg,
.home-lab-shell,
.home-lab-scroll {
  position: relative;
  z-index: 2;
}

.home-lab-light {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(24px);
  opacity: .34;
  pointer-events: none;
}

.home-lab-light.one {
  left: -18vw;
  top: -22vw;
  background: radial-gradient(circle, rgba(223,255,85,.34), transparent 64%);
  animation: homeLabLight 14s ease-in-out infinite alternate;
}

.home-lab-light.two {
  right: -20vw;
  bottom: -25vw;
  background: radial-gradient(circle, rgba(197,94,50,.3), transparent 64%);
  animation: homeLabLight 18s ease-in-out infinite alternate-reverse;
}

.home-lab-gridline {
  position: absolute;
  background: rgba(246,241,232,.13);
  pointer-events: none;
}

.home-lab-gridline.vertical {
  left: 50%;
  top: 8%;
  width: 1px;
  height: 84%;
}

.home-lab-gridline.horizontal {
  left: 7%;
  right: 7%;
  top: 58%;
  height: 1px;
}

.home-lab-shell {
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(420px, 1.06fr) minmax(300px, .72fr);
  align-items: center;
  gap: 28px;
  width: var(--wrap);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 48px 0 76px;
}

.home-lab-copy {
  animation: homeLabRise .78s var(--ease) both;
}

.home-lab-back {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 26px;
  border: 1px solid rgba(246,241,232,.16);
  padding: 0 11px;
  color: rgba(246,241,232,.68);
  background: rgba(255,255,255,.045);
  font-size: 12px;
  font-weight: 760;
  text-decoration: none;
}

.home-lab-back:hover {
  border-color: rgba(223,255,85,.3);
  color: var(--signal);
}

.home-lab-kicker {
  margin: 0 0 14px;
  color: rgba(223,255,85,.82);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
}

.home-lab-copy h1 {
  max-width: 540px;
  margin: 0;
  color: #fffaf0;
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 820;
  line-height: .96;
  letter-spacing: 0;
  text-wrap: balance;
}

.home-lab-lead {
  max-width: 470px;
  margin: 20px 0 0;
  color: rgba(246,241,232,.68);
  font-size: 15px;
  line-height: 1.78;
}

.home-lab-advisor-hint {
  margin-top: 22px;
  margin-bottom: 0;
}

.home-lab-console {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 104px;
  align-items: center;
  width: min(560px, 100%);
  min-height: 78px;
  margin-top: 10px;
  margin-bottom: 0;
  border: 1px solid rgba(223,255,85,.36);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246,241,232,.18), rgba(246,241,232,.06)),
    rgba(5,7,6,.42);
  box-shadow: 0 22px 70px rgba(0,0,0,.38), 0 0 36px rgba(223,255,85,.12);
  backdrop-filter: blur(24px);
  animation: homeLabConsolePulse 4.6s ease-in-out infinite;
}

.home-lab-spark {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--signal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
}

.home-lab-input-wrap {
  position: relative;
  display: grid;
  min-width: 0;
  height: 100%;
  align-items: center;
}

.home-lab-input-wrap input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  color: #fffaf0;
  background: transparent;
  font-size: 15px;
}

.home-lab-input-wrap input::placeholder {
  color: transparent;
}

.home-lab-input-wrap:focus-within input::placeholder {
  color: rgba(246,241,232,.42);
}

.home-lab-typewriter {
  position: absolute;
  left: 0;
  top: 19px;
  z-index: 1;
  max-width: calc(100% - 12px);
  overflow: hidden;
  color: rgba(246,241,232,.7);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  white-space: nowrap;
  border-right: 1px solid rgba(223,255,85,.72);
  animation: homeLabTyping 4.2s steps(34, end) 1 both, homeLabCaret .9s steps(1, end) infinite;
  pointer-events: none;
}

.home-lab-input-wrap:focus-within .home-lab-typewriter,
.home-lab-input-wrap:has(input:not(:placeholder-shown)) .home-lab-typewriter {
  opacity: 0;
}

.home-lab-submit {
  width: 90px;
  height: 52px;
  border: 1px solid rgba(223,255,85,.58);
  border-radius: 8px;
  color: #050706;
  background: var(--signal);
  box-shadow: 0 15px 30px rgba(223,255,85,.18);
  font-size: 13px;
  font-weight: 950;
  animation: homeLabButtonPulse 2.8s ease-in-out infinite;
}

.home-lab-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(560px, 100%);
  margin-top: 12px;
}

.home-lab-prompts .tag-button {
  border-color: rgba(246,241,232,.12);
  color: rgba(246,241,232,.68);
  background: rgba(255,255,255,.045);
}

.home-lab-stage-wrap {
  display: grid;
  place-items: center;
  min-height: 620px;
}

.home-lab-stage {
  position: relative;
  width: min(44vw, 560px);
  min-width: 430px;
  aspect-ratio: 1 / 1.08;
  transform-style: preserve-3d;
  animation: homeLabStageIn .92s var(--ease) .08s both;
}

.home-lab-rings {
  position: absolute;
  inset: 8%;
  transform: rotateX(62deg);
  transform-style: preserve-3d;
}

.home-lab-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(246,241,232,.14);
  border-radius: 50%;
  animation: homeLabRing 7.5s linear infinite;
}

.home-lab-rings span:nth-child(2) {
  inset: 13%;
  border-color: rgba(223,255,85,.18);
  animation-duration: 9.5s;
  animation-direction: reverse;
}

.home-lab-rings span:nth-child(3) {
  inset: 26%;
  border-color: rgba(246,241,232,.12);
  animation-duration: 11s;
}

.home-lab-racket {
  position: absolute;
  left: 50%;
  top: 49%;
  width: 88%;
  height: 90%;
  object-fit: contain;
  transform-origin: center;
  filter: drop-shadow(0 54px 70px rgba(0,0,0,.72));
}

.home-lab-racket.primary {
  z-index: 4;
  animation: homeLabRacketFloat 7s ease-in-out infinite alternate, homeLabRacketTurn 9s ease-in-out infinite;
}

.home-lab-racket.ghost {
  z-index: 2;
  width: 78%;
  opacity: .12;
  filter: blur(1px) drop-shadow(0 28px 40px rgba(0,0,0,.38));
  transform: translate(-50%, -49%) rotate(12deg) scale(.92);
}

.home-lab-scan {
  position: absolute;
  left: 28%;
  top: 13%;
  z-index: 6;
  width: 44%;
  height: 74%;
  overflow: hidden;
  border-radius: 42%;
  transform: rotate(-13deg);
  pointer-events: none;
}

.home-lab-scan::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(223,255,85,.92), transparent);
  box-shadow: 0 0 18px rgba(223,255,85,.7), 0 0 44px rgba(223,255,85,.28);
  animation: homeLabScan 3.6s ease-in-out infinite;
}

.home-lab-node {
  position: absolute;
  z-index: 7;
  min-width: 104px;
  border-top: 1px solid rgba(246,241,232,.28);
  padding-top: 8px;
  color: rgba(246,241,232,.72);
  text-shadow: 0 4px 20px rgba(0,0,0,.8);
  animation: homeLabNodeIn .8s var(--ease) both;
}

.home-lab-node::before {
  content: "";
  position: absolute;
  top: -5px;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(223,255,85,.84);
  border-radius: 50%;
  background: rgba(223,255,85,.28);
  box-shadow: 0 0 18px rgba(223,255,85,.48);
}

.home-lab-node b,
.home-lab-node strong {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.home-lab-node b {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
}

.home-lab-node strong {
  margin-top: 3px;
  color: var(--signal);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.node-spin {
  left: 64%;
  top: 24%;
  animation-delay: .44s;
}

.node-spin::before {
  left: -5px;
}

.node-control {
  left: 4%;
  top: 48%;
  animation-delay: .64s;
}

.node-control::before {
  right: -6px;
}

.node-weight {
  right: 2%;
  bottom: 20%;
  animation-delay: .84s;
}

.node-weight::before {
  left: -6px;
}

.home-lab-profile {
  border: 1px solid rgba(246,241,232,.14);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(246,241,232,.11), rgba(246,241,232,.045)),
    rgba(5,7,6,.62);
  box-shadow: 0 32px 86px rgba(0,0,0,.36);
  backdrop-filter: blur(20px);
  animation: homeLabRise .78s var(--ease) .18s both;
}

.home-lab-profile-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  color: rgba(246,241,232,.52);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .12em;
}

.home-lab-profile-head strong {
  color: rgba(223,255,85,.78);
  font-weight: 600;
}

.home-lab-radar {
  display: block;
  width: 100%;
  max-width: 310px;
  height: 260px;
  margin: 0 auto;
}

.home-lab-score-list {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.home-lab-score-list div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px;
  gap: 10px;
  align-items: center;
  color: rgba(246,241,232,.62);
  font-size: 12px;
}

.home-lab-score-list i {
  display: block;
  height: 6px;
  overflow: hidden;
  background: rgba(246,241,232,.12);
}

.home-lab-score-list i::before {
  content: "";
  display: block;
  width: var(--score);
  height: 100%;
  background: linear-gradient(90deg, var(--clay-hot), var(--signal));
  transform-origin: left;
  animation: homeLabBar .9s var(--ease) .36s both;
}

.home-lab-score-list strong {
  color: var(--signal);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.home-lab-profile p {
  margin: 12px 0 0;
  border-top: 1px solid rgba(246,241,232,.12);
  padding-top: 12px;
  color: rgba(246,241,232,.64);
  font-size: 13px;
  line-height: 1.65;
}

.home-lab-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  color: rgba(246,241,232,.42);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .22em;
  transform: translateX(-50%);
}

.home-lab-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 30px;
  margin: 8px auto 0;
  background: linear-gradient(180deg, rgba(223,255,85,.74), transparent);
  animation: homeLabScrollCue 1.6s ease-in-out infinite;
}

.home-lab-followup {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: var(--wrap);
  margin: 0 auto;
  padding: 44px 0 72px;
}

.home-lab-action-card {
  min-height: 190px;
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 8px;
  padding: 22px;
  color: #fffaf0;
  background:
    linear-gradient(180deg, rgba(246,241,232,.075), rgba(246,241,232,.035)),
    rgba(5,7,6,.72);
  text-decoration: none;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}

.home-lab-action-card:hover {
  transform: translateY(-5px);
  border-color: rgba(223,255,85,.3);
  background: rgba(223,255,85,.06);
}

.home-lab-action-card span {
  display: block;
  color: rgba(223,255,85,.74);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .14em;
}

.home-lab-action-card strong {
  display: block;
  margin-top: 32px;
  font-size: 24px;
}

.home-lab-action-card p {
  margin: 12px 0 0;
  color: rgba(246,241,232,.62);
  font-size: 14px;
  line-height: 1.62;
}

@supports (animation-timeline: scroll()) {
  .home-lab-stage {
    animation: homeLabStageIn .92s var(--ease) .08s both, homeLabStageScroll linear both;
    animation-timeline: auto, scroll();
    animation-range: normal, 0 620px;
  }
}

@keyframes homeLabLight {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(8%, 5%, 0) scale(1.08); }
}

@keyframes homeLabRise {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes homeLabConsolePulse {
  0%, 100% { box-shadow: 0 22px 70px rgba(0,0,0,.38), 0 0 28px rgba(223,255,85,.1); }
  50% { box-shadow: 0 24px 82px rgba(0,0,0,.44), 0 0 48px rgba(223,255,85,.18); }
}

@keyframes homeLabTyping {
  from { width: 0; }
  to { width: min(100%, 335px); }
}

@keyframes homeLabCaret {
  0%, 100% { border-color: rgba(223,255,85,.72); }
  50% { border-color: transparent; }
}

@keyframes homeLabButtonPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes homeLabStageIn {
  from { opacity: 0; transform: translate3d(0, 28px, 0) scale(.96); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes homeLabStageScroll {
  to { transform: translate3d(0, -36px, 0) scale(.84); opacity: .72; }
}

@keyframes homeLabRing {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(360deg); }
}

@keyframes homeLabRacketFloat {
  from { translate: 0 0; }
  to { translate: 0 -12px; }
}

@keyframes homeLabRacketTurn {
  0%, 100% { transform: translate(-50%, -50%) rotateZ(-14deg) rotateY(-12deg) scaleX(1); }
  44% { transform: translate(-50%, -51%) rotateZ(-4deg) rotateY(42deg) scaleX(.75); }
  58% { transform: translate(-50%, -51%) rotateZ(-5deg) rotateY(-28deg) scaleX(.82); }
}

@keyframes homeLabScan {
  0%, 100% { top: -10%; opacity: 0; }
  12% { opacity: 1; }
  72% { top: 105%; opacity: 1; }
  86% { opacity: 0; }
}

@keyframes homeLabNodeIn {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes homeLabBar {
  from { transform: scaleX(.12); }
  to { transform: scaleX(1); }
}

@keyframes homeLabScrollCue {
  0%, 100% { transform: scaleY(.45); opacity: .38; }
  50% { transform: scaleY(1); opacity: .9; }
}

@media (max-width: 1180px) {
  .home-lab-shell {
    grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
  }

  .home-lab-profile {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 18px;
    align-items: center;
  }

  .home-lab-profile-head,
  .home-lab-profile p {
    grid-column: 1 / -1;
  }

  .home-lab-followup {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body:has(.home-lab) .site-header {
    grid-template-columns: 1fr;
    max-width: 100vw;
    overflow: hidden;
  }

  body:has(.home-lab) .header-actions,
  body:has(.home-lab) .primary-nav {
    justify-content: flex-start;
    max-width: calc(100vw - 24px);
    overflow: visible;
  }

  body:has(.home-lab) .primary-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: calc(100vw - 24px);
  }

  body:has(.home-lab) .primary-nav a {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 13px;
  }

  .home-lab {
    min-height: auto;
  }

  .home-lab-shell {
    grid-template-columns: 1fr;
    gap: 26px;
    width: min(1240px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    min-height: 0;
    padding: 28px 0 58px;
  }

  .home-lab-copy h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .home-lab-lead {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .home-lab-console {
    position: relative;
    grid-template-columns: 46px minmax(0, 1fr);
    width: 100%;
    max-width: calc(100vw - 24px);
    min-height: 72px;
    padding-right: 96px;
  }

  .home-lab-typewriter {
    display: none;
  }

  .home-lab-input-wrap input::placeholder {
    color: rgba(246,241,232,.52);
  }

  .home-lab-prompts .tag-button {
    flex: 1 1 100%;
    justify-content: flex-start;
    white-space: normal;
    text-align: left;
  }

  .home-lab-submit {
    position: absolute;
    right: 8px;
    top: 10px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 84px;
    height: 46px;
    font-size: 12px;
  }

  .home-lab-stage-wrap {
    min-height: 420px;
  }

  .home-lab-stage {
    width: min(100%, 430px);
    min-width: 0;
  }

  .home-lab-node {
    min-width: 84px;
  }

  .home-lab-node strong {
    font-size: 22px;
  }

  .node-control {
    left: 0;
  }

  .node-weight {
    right: 0;
  }

  .home-lab-profile {
    display: block;
  }

  .home-lab-followup {
    width: min(1240px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }

  .home-lab-radar {
    height: 260px;
  }

  .home-lab-score-list div {
    grid-template-columns: 44px minmax(0, 1fr) 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .library-card-image img,
  .product-detail-stage.racket-turntable .detail-product,
  .home-lab-light,
  .home-lab-copy,
  .home-lab-console,
  .home-lab-typewriter,
  .home-lab-submit,
  .home-lab-stage,
  .home-lab-rings span,
  .home-lab-racket.primary,
  .home-lab-scan::before,
  .home-lab-node,
  .home-lab-score-list i::before,
  .home-lab-scroll::after {
    animation: none;
  }
}

/* Mentor content sits on solid surfaces so the page grid stays in the background. */
.mentor-answer-page .mentor-panel {
  border-color: rgba(246,241,232,.16);
  background: #0b0f0d;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}

.mentor-answer-page .kicker,
.mentor-answer-page .mentor-evidence-head span,
.mentor-answer-page .mentor-rank-pill span,
.mentor-answer-page .mentor-preview-head span {
  font-weight: 680;
  letter-spacing: .06em;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.mentor-answer-page .mentor-answer-main {
  background:
    linear-gradient(180deg, #101410 0%, #0b0f0d 100%);
}

.mentor-answer-page .mentor-upgrade-panel {
  background:
    linear-gradient(180deg, #111711 0%, #090d0b 100%);
}

.mentor-answer-page .mentor-evidence-list,
.mentor-answer-page .mentor-report-preview {
  border-color: rgba(246,241,232,.16);
  background: #080b09;
}

.mentor-answer-page .mentor-evidence-head,
.mentor-answer-page .mentor-preview-head {
  background: #171c17;
}

.mentor-answer-page .mentor-evidence-row {
  background: linear-gradient(90deg, #111811 0%, #0c110e 44%, #090d0b 100%);
}

.mentor-answer-page .mentor-match-title em,
.mentor-answer-page .mentor-match-tags span,
.mentor-answer-page .mentor-match-evidence span,
.mentor-answer-page .mentor-proof-strip span,
.mentor-answer-page .mentor-progress {
  background: #141a14;
}

.mentor-answer-page .mentor-match-title em,
.mentor-answer-page .mentor-match-tags span,
.mentor-answer-page .mentor-match-evidence span,
.mentor-answer-page .mentor-proof-strip span {
  font-weight: 680;
}

.mentor-answer-page .mentor-match-side img,
.mentor-answer-page .mentor-report-step {
  background: #0e130f;
}

.mentor-match-evidence,
.recommendation-evidence-row,
.recommendation-need-row,
.recommendation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mentor-match-evidence {
  margin-top: 10px;
}

.mentor-match-evidence span,
.recommendation-evidence-row span {
  border: 1px solid rgba(246,241,232,.12);
  padding: 6px 8px;
  color: rgba(246,241,232,.72);
  font-size: 11px;
  line-height: 1;
}

.mentor-match-evidence b,
.recommendation-evidence-row b {
  margin-right: 5px;
  color: rgba(246,241,232,.46);
  font-weight: 900;
}

.mentor-match-risk {
  margin: 9px 0 0;
  color: rgba(246,241,232,.58);
  font-size: 12px;
  line-height: 1.45;
}

.mentor-match-risk b {
  margin-right: 6px;
  color: var(--signal);
}

.recommendation-need-row {
  margin: 10px 0 8px;
}

.recommendation-need-row span {
  border: 1px solid rgba(223,255,85,.18);
  padding: 5px 8px;
  background: rgba(223,255,85,.08);
  color: var(--signal);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.recommendation-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -2px 0 10px;
}

.recommendation-evidence-row {
  margin-top: 10px;
}

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

.recommendation-actions button {
  min-width: 0;
  min-height: 46px;
  border: 1px solid rgba(246,241,232,.2);
  border-radius: 8px;
  background: #141a14;
  color: rgba(246,241,232,.9);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.18;
  cursor: pointer;
  white-space: normal;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.recommendation-actions .rec-action-save {
  border-color: rgba(223,255,85,.86);
  background: #dfff55;
  color: #07100b;
}

.recommendation-actions .rec-action-trial {
  border-color: rgba(246,241,232,.34);
  background: rgba(246,241,232,.1);
  color: #fffaf0;
}

.recommendation-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(223,255,85,.72);
}

.recommendation-actions .rec-action-save:hover {
  background: #f1ff96;
  color: #07100b;
}

.recommendation-actions .rec-action-trial:hover {
  background: rgba(246,241,232,.16);
  color: var(--signal);
}

.premium-rec-actions button {
  min-height: 52px;
  font-size: 14px;
}

.compact-rec-actions button {
  min-height: 42px;
  padding: 0 10px;
  font-size: 12px;
}

.recommendation-status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 14px 0 18px;
}

.recommendation-status-row .recommendation-model-strip {
  margin: 0;
}

.recommendation-model-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 18px;
  border: 1px solid rgba(223,255,85,.2);
  border-radius: 8px;
  padding: 10px;
  background:
    linear-gradient(90deg, rgba(223,255,85,.08), rgba(246,241,232,.035) 42%, rgba(197,94,50,.08)),
    #0a0f0c;
}

.recommendation-model-strip span {
  min-width: 0;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(246,241,232,.1);
  border-radius: 7px;
  padding: 9px 10px;
  color: rgba(246,241,232,.72);
  background: rgba(5,8,7,.5);
  font-size: 12px;
  line-height: 1.35;
}

.recommendation-model-strip strong {
  color: var(--signal);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.recommendation-candidate-status b {
  color: rgba(246,241,232,.78);
  font-size: 12px;
  font-weight: 650;
}

.report-reassess-button {
  justify-self: end;
  min-width: 92px;
  min-height: 42px;
  border: 1px solid rgba(223,255,85,.38);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--signal);
  background: rgba(223,255,85,.08);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.report-reassess-button:hover {
  transform: translateY(-1px);
  border-color: rgba(223,255,85,.68);
  background: rgba(223,255,85,.14);
}

.journey-action-panel {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 980;
  width: min(780px, calc(100vw - 32px));
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(223,255,85,.36);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(120deg, rgba(223,255,85,.12), transparent 32%, rgba(197,94,50,.12)),
    #0b100d;
  color: #fffaf0;
  box-shadow: 0 22px 70px rgba(0,0,0,.46);
  transform: translateX(-50%);
}

.journey-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(246,241,232,.18);
  border-radius: 8px;
  background: rgba(246,241,232,.08);
  color: rgba(246,241,232,.78);
  font-size: 18px;
  cursor: pointer;
}

.journey-action-copy {
  padding-right: 34px;
}

.journey-action-copy h3 {
  margin: 5px 0 6px;
  color: #fffaf0;
  font-size: 21px;
  line-height: 1.18;
}

.journey-action-copy p:last-child {
  max-width: 680px;
  margin: 0;
  color: rgba(246,241,232,.72);
  font-size: 13px;
  line-height: 1.55;
}

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

.journey-action-steps span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(246,241,232,.055);
  color: rgba(246,241,232,.78);
  font-size: 12px;
  font-weight: 850;
}

.journey-action-steps b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(223,255,85,.18);
  color: var(--signal);
  font-size: 11px;
  line-height: 1;
  flex: 0 0 auto;
}

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

.journey-action-buttons button {
  min-height: 44px;
  border: 1px solid rgba(246,241,232,.2);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(246,241,232,.08);
  color: #fffaf0;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.journey-action-buttons .journey-primary {
  border-color: rgba(223,255,85,.86);
  background: #dfff55;
  color: #07100b;
}

.journey-action-buttons .journey-muted {
  color: rgba(246,241,232,.64);
}

@media (max-width: 760px) {
  .recommendation-actions,
  .premium-rec-actions,
  .compact-rec-actions,
  .profile-rec-actions {
    grid-template-columns: 1fr;
  }

  .recommendation-model-strip,
  .recommendation-status-row,
  .journey-action-steps,
  .journey-action-buttons {
    grid-template-columns: 1fr;
  }

  .report-reassess-button {
    justify-self: stretch;
    width: 100%;
  }

  .journey-action-panel {
    bottom: 12px;
    width: min(440px, calc(100vw - 20px));
    padding: 14px;
  }

  .journey-action-copy h3 {
    font-size: 18px;
  }
}

.action-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  border: 1px solid rgba(223,255,85,.28);
  padding: 12px 14px;
  background: #101610;
  color: #fffaf0;
  box-shadow: 0 18px 50px rgba(0,0,0,.34);
  font-size: 13px;
  font-weight: 800;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: clamp(36px, 7vh, 76px) 24px;
  background: rgba(5,7,6,.72);
  backdrop-filter: blur(18px);
}

body:has(.auth-overlay) {
  overflow: hidden;
}

.profile-overlay {
  align-items: center;
  overflow: hidden;
  padding: 12px 24px;
}

.auth-card,
.profile-card {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 1px solid rgba(246,241,232,.16);
  padding: 34px 30px 40px;
  color: #f6f1e8;
  background: #0b0f0d;
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
}

.auth-card.register-card {
  width: min(620px, calc(100vw - 32px));
  padding: 26px 28px 30px;
}

.profile-card {
  width: min(1280px, calc(100vw - 32px));
}

.profile-onboarding-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(780px, calc(100vh - 20px));
  max-height: calc(100vh - 32px);
  overflow: hidden;
  padding: 22px 30px 18px;
}

.profile-onboarding-card.profile-base-mode {
  width: min(960px, calc(100vw - 32px));
  height: min(690px, calc(100vh - 24px));
  min-height: 0;
  max-height: calc(100vh - 24px);
  grid-template-rows: auto minmax(0, 1fr);
  padding: 18px 22px;
  overflow: hidden;
}

.profile-onboarding-card .profile-form {
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  overflow: hidden;
}

.profile-base-mode .profile-form {
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
}

.profile-base-mode .profile-title-line {
  margin: 3px 0 0;
}

.profile-base-mode .profile-head {
  margin-bottom: 10px;
}

.profile-base-mode .profile-actions {
  position: static;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 0;
  border: 1px solid rgba(246,241,232,.18);
  padding: 8px;
  background: #090d0c;
}

.profile-onboarding-card .profile-actions {
  position: relative;
  bottom: auto;
  z-index: 1;
  align-self: end;
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(246,241,232,.16);
  color: rgba(246,241,232,.76);
  background: #111711;
  font-size: 24px;
  cursor: pointer;
}

.auth-card h2,
.profile-head h2 {
  margin: 8px 0 12px;
  color: #fffaf0;
  font-size: 30px;
  line-height: 1.12;
}

.profile-head h2 {
  margin: 0;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.register-card .auth-tabs {
  margin: 12px 0;
}

.auth-tabs button,
.profile-form .light-button {
  border: 1px solid rgba(246,241,232,.16);
  padding: 11px 12px;
  color: rgba(246,241,232,.7);
  background: #111711;
  font-weight: 900;
  cursor: pointer;
}

.auth-tabs button.active {
  color: #050706;
  background: var(--signal);
}

.auth-form,
.profile-form {
  display: grid;
  gap: 14px;
}

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

.auth-form.register-form .auth-wide,
.auth-form.register-form .form-note,
.auth-form.register-form .form-error,
.auth-form.register-form .clay-button {
  grid-column: 1 / -1;
}

.auth-form label,
.profile-fields label,
.profile-radio-field {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(246,241,232,.12);
  padding: 12px;
  background: #0e130f;
}

.profile-fields label:focus-within,
.profile-radio-field:focus-within {
  border-color: rgba(223,255,85,.46);
  background: #121811;
  box-shadow: inset 0 0 0 1px rgba(223,255,85,.1);
}

.register-form label {
  padding: 10px 12px;
}

.auth-form span,
.profile-fields span,
.profile-radio-title,
.profile-slider span {
  color: rgba(246,241,232,.56);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.auth-form input,
.profile-fields input,
.profile-fields select,
.profile-fields textarea {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fffaf0;
  background: transparent;
  font: inherit;
}

.profile-fields input:focus::placeholder,
.profile-fields textarea:focus::placeholder {
  color: transparent;
}

.profile-fields input::placeholder,
.profile-fields textarea::placeholder {
  color: rgba(212,208,199,.46);
  font-size: .92em;
  font-weight: 500;
  transition: color .16s ease;
}

.email-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.email-code-row button {
  min-height: 42px;
  border: 1px solid rgba(223,255,85,.28);
  padding: 0 14px;
  color: var(--signal);
  background: #151b13;
  font-weight: 900;
  cursor: pointer;
}

.email-code-row button:disabled {
  cursor: wait;
  opacity: .62;
}

.profile-fields textarea {
  min-height: 78px;
  resize: vertical;
}

.auth-card small {
  display: block;
  margin-top: 14px;
  color: rgba(246,241,232,.48);
  line-height: 1.5;
}

.form-error {
  margin: 0;
  border: 1px solid rgba(223,89,64,.35);
  padding: 10px 12px;
  color: #ffd2ca;
  background: #28110e;
}

.profile-missing-error {
  display: flex;
  align-items: center;
  gap: 10px 12px;
  flex-wrap: wrap;
}

.profile-missing-error > span {
  min-width: 220px;
  flex: 1 1 360px;
}

.profile-missing-links {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 6px;
}

.profile-missing-links button {
  min-height: 28px;
  border: 1px solid rgba(223,255,85,.45);
  border-radius: 999px;
  padding: 0 11px;
  color: var(--signal);
  background: rgba(223,255,85,.08);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0;
  cursor: pointer;
}

.profile-missing-links button:hover {
  border-color: rgba(223,255,85,.86);
  color: #061007;
  background: #dfff55;
}

.form-note {
  margin: 0;
  border: 1px solid rgba(223,255,85,.28);
  padding: 10px 12px;
  color: #ecffc7;
  background: #141a10;
}

.profile-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin: 6px 0 4px;
}

.profile-head .privacy-note {
  color: rgba(246,241,232,.66);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.profile-onboarding-layout {
  display: grid;
  grid-template-columns: 190px minmax(620px, 1fr) minmax(280px, 310px);
  gap: 16px;
  align-items: stretch;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.profile-stepper {
  position: sticky;
  top: 14px;
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 8px;
  height: 100%;
  min-height: 0;
}

.profile-step-pill {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  align-content: center;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(246,241,232,.12);
  padding: 10px;
  color: rgba(246,241,232,.58);
  background: #0e130f;
  text-align: left;
  cursor: pointer;
}

.profile-step-pill:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.profile-step-pill span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(246,241,232,.14);
  color: rgba(246,241,232,.56);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

.profile-step-pill strong {
  color: rgba(246,241,232,.86);
  font-size: 13px;
}

.profile-step-pill em {
  overflow: hidden;
  color: rgba(246,241,232,.42);
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-step-pill.done span {
  border-color: rgba(223,255,85,.34);
  color: var(--signal);
  background: #151d12;
}

.profile-step-pill.current {
  border-color: rgba(223,255,85,.58);
  background: #151d12;
}

.profile-step-pill.current strong,
.profile-step-pill.current span {
  color: var(--signal);
}

.profile-current-panel {
  display: grid;
  align-items: center;
  min-width: 0;
  height: 100%;
  outline: 0;
}

.profile-question-card {
  display: grid;
  grid-template-rows: auto minmax(0, auto);
  align-content: start;
  gap: 18px;
  height: 100%;
  min-height: 0;
  overflow: auto;
  border: 1px solid rgba(223,255,85,.32);
  border-radius: 8px;
  padding: clamp(18px, 2vw, 28px);
  background:
    linear-gradient(180deg, rgba(22,30,18,.96), rgba(10,14,11,.98));
  box-shadow:
    0 0 0 1px rgba(223,255,85,.06) inset,
    0 30px 80px rgba(0,0,0,.32),
    0 0 42px rgba(223,255,85,.08);
}

.profile-choice-group {
  display: grid;
  min-height: 0;
}

.profile-base-gate {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  border: 1px solid rgba(246,241,232,.18);
  padding: 14px;
  background: #090d0c;
  box-shadow: 0 24px 64px rgba(0,0,0,.34);
}

.profile-base-gate-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 0;
}

.profile-base-gate-head span {
  color: #f7f2e8;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-base-gate .profile-fields {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-height: 0;
}

.profile-intake-sections {
  display: grid;
  gap: 12px;
  padding-right: 4px;
}

.profile-intake-section {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(246,241,232,.1);
  padding: 10px;
  background: rgba(246,241,232,.035);
}

.profile-intake-section h3 {
  margin: 0;
  color: var(--signal);
  font-size: 13px;
  line-height: 1.2;
}

.profile-base-gate .profile-fields label {
  position: relative;
  grid-column: span 2;
  min-height: 54px;
  overflow: hidden;
  border: 2px solid rgba(246,241,232,.3);
  padding: 8px 10px;
  background: #050807;
  box-shadow: none;
}

.profile-base-gate .profile-fields label:hover,
.profile-base-gate .profile-radio-field:hover {
  border-color: rgba(246,241,232,.44);
  background: #070b0a;
}

.profile-base-gate .profile-fields label:focus-within,
.profile-base-gate .profile-radio-field:focus-within {
  border-color: rgba(223,255,85,.62);
  background: #070b0a;
  box-shadow:
    inset 0 0 0 1px rgba(223,255,85,.08),
    0 0 0 1px rgba(223,255,85,.1);
}

.profile-base-gate .profile-fields span,
.profile-base-gate .profile-radio-title {
  color: #fff7ea;
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
  text-shadow: none;
}

.profile-base-gate .profile-fields input,
.profile-base-gate .profile-fields select,
.profile-base-gate .profile-fields textarea {
  color: #fffaf0;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.2;
  text-shadow: none;
}

.profile-base-gate .profile-fields input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.profile-base-gate .profile-fields input[type="number"]::-webkit-inner-spin-button,
.profile-base-gate .profile-fields input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.profile-radio-field {
  position: relative;
  grid-column: span 2;
  min-width: 0;
  overflow: hidden;
  border: 2px solid rgba(246,241,232,.3);
  margin: 0;
  gap: 8px;
  padding: 10px;
  background: #050807;
  box-shadow: none;
}

.profile-radio-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 6px;
}

.profile-radio-field.wide .profile-radio-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-base-gate .profile-radio-field.wide {
  grid-column: 1 / -1;
}

.profile-radio-options label {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-column: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.profile-base-gate .profile-radio-options label {
  min-height: 0;
  grid-column: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.profile-radio-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-radio-options span {
  display: grid;
  height: 34px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(246,241,232,.26);
  color: #fff7ea;
  background: #090c0b;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 540;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 0 6px;
  text-align: center;
  text-transform: none;
  text-shadow: none;
  box-shadow: none;
  white-space: normal;
}

.profile-radio-options input:checked + span {
  border-color: rgba(223,255,85,.92);
  color: #061007;
  background:
    linear-gradient(180deg, rgba(229,255,88,.98), rgba(161,224,40,.94)),
    #dfff55;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,225,.32),
    0 0 0 1px rgba(223,255,85,.26),
    0 0 16px rgba(223,255,85,.16);
  font-weight: 600;
}

.profile-radio-options label:hover span {
  border-color: rgba(246,241,232,.42);
}

.profile-base-gate .profile-fields label.profile-field-missing,
.profile-base-gate .profile-radio-field.profile-field-missing {
  border-color: rgba(255,92,92,.82);
  background: #120807;
  box-shadow:
    inset 0 0 0 1px rgba(255,92,92,.12),
    0 0 0 1px rgba(255,92,92,.14);
}

.profile-base-gate .profile-field-missing > span,
.profile-base-gate .profile-field-missing > .profile-radio-title {
  color: #ffd9d4;
}

.profile-base-gate .profile-field-missing input::placeholder,
.profile-base-gate .profile-field-missing textarea::placeholder {
  color: rgba(255,205,198,.48);
}

.profile-base-gate .profile-fields .wide {
  grid-column: span 2;
}

.profile-base-gate .profile-fields > .profile-radio-field.wide {
  grid-column: 1 / -1;
}

.profile-base-gate .profile-fields textarea {
  height: 44px;
  min-height: 44px;
  resize: none;
}

.profile-current-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.profile-current-head.intake-card-head {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 0;
}

.profile-current-head > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 36px;
  border: 1px solid rgba(223,255,85,.26);
  background: rgba(223,255,85,.08);
  color: var(--signal);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 900;
}

.profile-current-head h3 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.12;
}

.profile-current-head h3 small {
  display: inline-grid;
  place-items: center;
  min-height: 26px;
  margin-left: 12px;
  border: 1px solid rgba(223,255,85,.28);
  border-radius: 999px;
  padding: 2px 10px;
  color: var(--signal);
  background: rgba(223,255,85,.08);
  font-size: 13px;
  font-weight: 900;
  vertical-align: .16em;
}

.profile-current-head p {
  max-width: 620px;
  margin: 5px 0 0;
  color: rgba(246,241,232,.68);
  font-size: 14px;
  line-height: 1.55;
}

.motion-court {
  position: relative;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(246,241,232,.1);
  background:
    linear-gradient(90deg, rgba(246,241,232,.06) 1px, transparent 1px) 50% 50% / 34px 100%,
    linear-gradient(180deg, rgba(223,255,85,.12), rgba(223,255,85,.02));
}

.motion-court::before,
.motion-court::after {
  content: "";
  position: absolute;
  background: var(--signal);
}

.motion-court::before {
  left: 22%;
  bottom: 10px;
  width: 10px;
  height: 22px;
  border-radius: 10px 10px 3px 3px;
  opacity: .9;
  animation: profilePlayerPulse 1.8s ease-in-out infinite;
}

.motion-court::after {
  left: 33%;
  top: 21px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(223,255,85,.7);
  animation: profileBallArc 1.8s ease-in-out infinite;
}

.motion-court i,
.motion-court b,
.motion-court span {
  position: absolute;
  display: block;
}

.motion-court i {
  left: 30%;
  bottom: 23px;
  width: 22px;
  height: 2px;
  background: rgba(246,241,232,.7);
  transform-origin: left center;
  animation: profileRacketSwing 1.8s ease-in-out infinite;
}

.motion-court b {
  right: 12%;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(246,241,232,.22);
}

.motion-court span {
  right: 14%;
  bottom: 8px;
  width: 18px;
  height: 28px;
  border: 1px solid rgba(246,241,232,.18);
}

.option-motion[data-motion="1"] .motion-court::after { animation-name: profileBallShort; }
.option-motion[data-motion="2"] .motion-court::after { animation-duration: 1.55s; }
.option-motion[data-motion="3"] .motion-court::after { animation-name: profileBallTopspin; }
.option-motion[data-motion="4"] .motion-court::after { animation-duration: 1.25s; }

.profile-radar-canvas {
  display: block;
  width: 300px;
  max-width: 100%;
  max-height: 176px;
  height: auto;
  margin: 12px auto 0;
  object-fit: contain;
}

.intake-summary-card .profile-radar-canvas {
  width: 300px;
  max-height: 176px;
  margin-top: 16px;
}

@keyframes profilePlayerPulse {
  0%, 100% { transform: translateX(0) scaleY(.96); }
  50% { transform: translateX(4px) scaleY(1.04); }
}

@keyframes profileRacketSwing {
  0%, 100% { transform: rotate(-28deg); }
  52% { transform: rotate(38deg); }
}

@keyframes profileBallArc {
  0% { transform: translate(0, 18px); opacity: .2; }
  50% { transform: translate(58px, -18px); opacity: 1; }
  100% { transform: translate(112px, 12px); opacity: .35; }
}

@keyframes profileBallShort {
  0% { transform: translate(0, 18px); opacity: .2; }
  60% { transform: translate(42px, -6px); opacity: 1; }
  100% { transform: translate(72px, 20px); opacity: .35; }
}

@keyframes profileBallTopspin {
  0% { transform: translate(0, 22px) scale(.85); opacity: .25; }
  45% { transform: translate(62px, -24px) scale(1.05); opacity: 1; }
  100% { transform: translate(120px, 8px) scale(.9); opacity: .35; }
}

.profile-builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 18px;
  align-items: start;
}

.profile-builder-main {
  display: grid;
  gap: 14px;
}

.profile-question-block {
  border: 1px solid rgba(246,241,232,.12);
  padding: 18px;
  background: #0e130f;
}

.profile-block-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 14px;
  align-items: baseline;
  margin-bottom: 14px;
}

.profile-block-head > span {
  color: var(--signal);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

.profile-block-head h3 {
  margin: 0;
  color: #fffaf0;
  font-size: 22px;
  line-height: 1.15;
}

.profile-level-block .profile-block-head h3 {
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: 0;
}

.profile-block-head p {
  grid-column: 2;
  max-width: none;
  margin: 0;
  color: rgba(246,241,232,.56);
  font-size: 13px;
}

.profile-choice-group + .profile-choice-group {
  margin-top: 16px;
  border-top: 1px solid rgba(246,241,232,.1);
  padding-top: 16px;
}

.profile-choice-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.profile-choice-title h4 {
  margin: 0;
  color: #fffaf0;
  font-size: 18px;
}

.profile-choice-title p {
  max-width: 360px;
  margin: 0;
  color: rgba(246,241,232,.46);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.profile-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-content: start;
  gap: 12px;
}

.level-choice-group .profile-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.athletic-forehand_spin .profile-choice-grid,
.athletic-stamina .profile-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.profile-choice-card {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.profile-choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-choice-card span {
  display: grid;
  gap: 7px;
  min-height: 92px;
  border: 1px solid rgba(246,241,232,.13);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255,255,255,.025);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.athletic-forehand_spin .profile-choice-card span,
.athletic-stamina .profile-choice-card span {
  min-height: 112px;
  padding: 14px;
}

.athletic-forehand_spin .profile-choice-card strong,
.athletic-stamina .profile-choice-card strong {
  font-size: 15px;
}

.athletic-forehand_spin .profile-choice-card em,
.athletic-stamina .profile-choice-card em {
  font-size: 12px;
  line-height: 1.36;
}

.profile-choice-card:hover span {
  border-color: rgba(223,255,85,.34);
  transform: translateY(-1px);
}

.profile-choice-card input:checked + span {
  border-color: rgba(223,255,85,.92);
  color: #061007;
  background:
    linear-gradient(180deg, rgba(229,255,88,.98), rgba(161,224,40,.94)),
    #dfff55;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,225,.3),
    0 0 0 1px rgba(223,255,85,.25),
    0 0 18px rgba(223,255,85,.16);
}

.profile-choice-card strong {
  color: inherit;
  font-size: 17px;
  font-weight: 560;
  line-height: 1.28;
}

.profile-choice-card em {
  color: rgba(246,241,232,.62);
  font-style: normal;
  font-size: 13px;
  font-weight: 520;
  line-height: 1.42;
}

.profile-choice-card input:checked + span strong {
  color: #061007;
  font-weight: 600;
}

.profile-choice-card input:checked + span em {
  color: rgba(6,16,7,.62);
}

.option-motion {
  display: none;
}

.profile-choice-card:hover .option-motion,
.profile-choice-card input:checked + span .option-motion {
  opacity: 1;
}

.profile-choice-card input:checked + span .option-motion {
  border-color: rgba(223,255,85,.45);
  background: #10180f;
}

.profile-live-card {
  position: sticky;
  top: 18px;
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(246,241,232,.14);
  padding: 18px;
  background: #080b09;
}

.profile-live-sticky {
  display: grid;
  height: 100%;
  min-height: 0;
  align-content: start;
  gap: 8px;
}

.profile-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 14px;
}

.profile-live-head span {
  color: var(--signal);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

.profile-dimension-map {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(246,241,232,.1);
  padding: 12px;
  background: #0e130f;
}

.profile-dimension-map strong {
  color: rgba(246,241,232,.9);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
}

.profile-dimension-map span {
  color: rgba(246,241,232,.54);
  font-size: 12px;
  line-height: 1.55;
}

.profile-actions {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  border-top: 1px solid rgba(246,241,232,.12);
  padding-top: 14px;
  background: #0b0f0d;
}

.intake-wizard-card {
  width: min(1180px, calc(100vw - 32px));
}

.intake-wizard-card.intake-quickfill-mode {
  width: min(1240px, calc(100vw - 32px));
  height: min(688px, calc(100vh - 32px));
  padding: 22px 30px 18px;
}

.intake-quickfill-mode .profile-head {
  margin-bottom: 10px;
}

.intake-quickfill-mode .profile-title-line {
  margin: 4px 0 0;
}

.intake-quickfill-mode .profile-form {
  gap: 12px;
}

.intake-wizard-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.intake-quickfill-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.intake-main {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  min-height: 0;
}

.intake-progress-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(94px, 1fr));
  gap: 6px;
  min-width: 0;
}

.intake-progress-rail .profile-step-pill {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 5px 8px;
  min-height: 52px;
  height: 52px;
  padding: 7px 8px;
}

.intake-progress-rail .profile-step-pill span {
  width: 24px;
  height: 24px;
  font-size: 10px;
}

.intake-progress-rail .profile-step-pill strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intake-progress-rail .profile-step-pill em {
  font-size: 10px;
}

.intake-step-card {
  align-content: start;
  gap: 16px;
}

.intake-step-fields {
  display: grid;
  gap: 12px;
  min-height: 0;
}

.intake-handoff {
  border: 1px solid rgba(223,255,85,.22);
  padding: 12px;
  background: rgba(223,255,85,.06);
}

.intake-handoff span,
.intake-field-note,
.intake-empty-note {
  color: rgba(246,241,232,.56);
  font-size: 12px;
  line-height: 1.45;
}

.intake-handoff span {
  display: block;
  margin-bottom: 4px;
  color: var(--signal);
  font-weight: 900;
}

.intake-handoff p,
.intake-field-note,
.intake-empty-note {
  margin: 0;
}

.intake-handoff p {
  color: rgba(246,241,232,.86);
  line-height: 1.5;
}

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

.intake-field-grid .wide {
  grid-column: 1 / -1;
}

.intake-step-card .profile-radio-field,
.intake-step-card .profile-fields label {
  border-width: 1px;
  background: rgba(5,8,7,.82);
}

.intake-step-card .profile-radio-options {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.intake-step-card .profile-radio-field.wide .profile-radio-options {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.intake-step-card .profile-radio-options span {
  min-height: 46px;
  height: auto;
  place-items: center start;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 540;
  text-align: left;
  text-shadow: none;
}

.intake-step-card .profile-radio-options span > strong {
  color: inherit;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.25;
}

.intake-step-card .profile-radio-options span > em,
.intake-step-card .profile-radio-options span > small {
  display: block;
  color: rgba(246,241,232,.5);
  font-style: normal;
  font-size: 11px;
  line-height: 1.25;
}

.intake-step-card .profile-radio-options span > em {
  margin-bottom: 3px;
  color: rgba(223,255,85,.7);
  font-weight: 560;
}

.intake-step-card .profile-radio-options input:checked + span > strong {
  color: #061007;
}

.intake-step-card .profile-radio-options input:checked + span > em {
  color: rgba(20,45,10,.72);
}

.intake-step-card .profile-radio-options input:checked + span > small {
  color: rgba(6,16,7,.66);
}

.intake-choice-cards .profile-radio-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intake-choice-cards .profile-radio-options span {
  min-height: 58px;
  align-content: center;
  gap: 2px;
  border-color: rgba(246,241,232,.14);
  background: rgba(255,255,255,.025);
}

.intake-step-card .profile-radio-field.comfort-choice .profile-radio-options,
.intake-step-card .profile-radio-field.frequency-choice .profile-radio-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intake-segmented .profile-radio-options {
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
}

.intake-segmented .profile-radio-options span {
  min-height: 38px;
  border-radius: 999px;
  justify-items: center;
  font-weight: 540;
  text-align: center;
}

.intake-step-card .profile-radio-field.four-grid .profile-radio-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.intake-goal-chips .profile-radio-options,
.intake-brand-chips .profile-radio-options {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.intake-goal-chips .profile-radio-options span,
.intake-brand-chips .profile-radio-options span {
  min-height: 36px;
  justify-items: center;
  border-radius: 999px;
  text-align: center;
}

.intake-followup-grid,
.profile-choice-followup {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(246,241,232,.1);
  padding-top: 12px;
}

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

.profile-choice-followup {
  margin-top: 12px;
}

.intake-inline-stack {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(246,241,232,.1);
  padding-top: 10px;
}

.intake-inline-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(246,241,232,.1);
  border-radius: 8px;
  padding: 6px 8px;
  background: rgba(5,8,7,.56);
}

.intake-inline-label {
  color: rgba(246,241,232,.66);
  font-size: 12px;
  font-weight: 560;
  line-height: 1.2;
}

.intake-inline-row .profile-radio-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 6px;
}

.intake-inline-row .profile-radio-options label {
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.intake-inline-row .profile-radio-options span {
  min-height: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 540;
  text-align: center;
  white-space: nowrap;
}

.intake-step-card .profile-radio-field.comfort-choice {
  min-height: 126px;
}

.intake-step-card .profile-radio-field.comfort-choice .profile-radio-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  height: 38px;
  padding: 0 10px;
}

.intake-step-card .profile-radio-field.comfort-choice .profile-radio-options span > em {
  display: inline;
  margin: 0;
  font-size: 11px;
  line-height: 1;
}

.intake-step-card .profile-radio-field.comfort-choice .profile-radio-options span > strong {
  font-size: 13px;
  font-weight: 560;
  line-height: 1.08;
}

.intake-inline-row .profile-radio-options span > em,
.intake-inline-row .profile-radio-options span > small {
  display: none;
}

.intake-inline-row.three-columns .profile-radio-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intake-inline-row.four-options .profile-radio-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.intake-inline-row.five-options .profile-radio-options {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.intake-inline-row.six-options .profile-radio-options {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.purchase-inline-stack {
  gap: 9px;
  border-top: 0;
  padding-top: 0;
}

.intake-step-purchase_plan {
  gap: 14px;
  padding: 18px clamp(18px, 2vw, 28px) 26px;
}

.intake-step-purchase_plan .profile-current-head p {
  max-width: 650px;
  font-size: 13px;
  line-height: 1.42;
}

.intake-step-purchase_plan .intake-inline-row {
  min-height: 54px;
  padding: 6px 10px;
}

.intake-step-purchase_plan .intake-inline-row.three-columns {
  min-height: 72px;
}

.intake-step-purchase_plan .intake-inline-row .profile-radio-options {
  gap: 6px 10px;
}

.intake-step-purchase_plan .intake-inline-row .profile-radio-options span {
  min-height: 28px;
  height: 28px;
}

.intake-question-insight {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(246,241,232,.1);
  padding: 10px;
  background: rgba(246,241,232,.035);
}

.intake-question-insight p {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  color: rgba(246,241,232,.68);
  font-size: 12px;
  line-height: 1.45;
}

.intake-question-insight strong {
  color: var(--signal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.intake-quickfill-panel,
.intake-deck-panel {
  min-height: 0;
}

.intake-quickfill-card {
  --intake-field-height: 76px;
  width: min(1040px, 100%);
  height: 450px;
  justify-self: center;
  align-content: start;
  gap: 18px;
  overflow: visible;
  border-color: rgba(223,255,85,.55);
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(20,41,20,.5), rgba(2,8,5,.76)),
    radial-gradient(circle at 52% 18%, rgba(128,209,42,.12), transparent 42%);
  box-shadow:
    0 24px 80px rgba(0,0,0,.42),
    0 0 72px rgba(117,188,28,.14);
}

.intake-start-head {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 64px;
  margin-bottom: 0;
}

.intake-start-head > span {
  width: 70px;
  height: 48px;
  border-color: rgba(223,255,85,.62);
  background: rgba(223,255,85,.09);
  font-size: 17px;
  letter-spacing: .02em;
}

.intake-start-head h3 {
  font-size: 31px;
  line-height: 34px;
  letter-spacing: -.045em;
}

.intake-start-head p {
  max-width: none;
  margin-top: 6px;
  color: rgba(246,241,232,.62);
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
  white-space: nowrap;
}

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

.intake-quickfill-board {
  display: grid;
  grid-template-columns: 468px 496px;
  align-items: stretch;
  gap: 24px;
  height: 316px;
  min-height: 0;
}

.intake-quickfill-section {
  display: grid;
  align-content: start;
  gap: 10px;
  height: 316px;
  min-width: 0;
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 8px;
  padding: 16px;
  background: rgba(5,8,7,.58);
}

.intake-quickfill-section h4 {
  margin: 0;
  color: var(--signal);
  font-size: 20px;
  font-weight: 950;
  line-height: 24px;
  letter-spacing: -.02em;
}

.intake-quickfill-matrix {
  display: grid;
  gap: 10px 12px;
  min-width: 0;
}

.intake-basic-matrix {
  grid-template-columns: 212px 212px;
}

.intake-racket-matrix {
  grid-template-columns: minmax(0, 1fr);
}

.intake-racket-main-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.intake-racket-main-row.has-model {
  width: auto;
  grid-template-columns: 150px 302px;
  align-items: stretch;
  gap: 12px;
}

.intake-basic-matrix .profile-radio-field,
.intake-racket-matrix .profile-radio-field,
.intake-model-field,
.intake-measure-fields,
.intake-string-fields {
  min-width: 0;
}

.intake-basic-matrix .profile-radio-field,
.intake-string-fields .profile-radio-field {
  grid-column: auto;
}

.intake-inline-options {
  height: var(--intake-field-height);
  min-height: var(--intake-field-height);
  gap: 6px;
  align-content: center;
  padding: 8px 12px;
}

.intake-inline-options .profile-radio-options {
  gap: 8px;
  grid-template-columns: repeat(auto-fit, max-content);
  justify-content: start;
}

.intake-inline-options .profile-radio-options span {
  height: 32px;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.intake-user-type,
.intake-measure-fields,
.intake-racket-status,
.intake-model-field,
.intake-string-type,
.intake-string-age {
  grid-column: 1 / -1;
}

.intake-user-type .profile-radio-options,
.intake-racket-status .profile-radio-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intake-user-type .profile-radio-options {
  grid-template-columns: repeat(3, max-content);
}

.intake-racket-status .profile-radio-options {
  display: flex;
  grid-template-columns: none;
  gap: 10px;
}

.intake-racket-status .profile-radio-options label,
.intake-racket-status .profile-radio-options span {
  width: 54px;
  min-width: 0;
}

.intake-racket-status .profile-radio-options span {
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  white-space: nowrap;
}

.intake-string-type .profile-radio-options {
  grid-template-columns: repeat(3, max-content);
}

.intake-string-age .profile-radio-options {
  grid-template-columns: repeat(4, max-content);
  column-gap: 24px;
  justify-content: start;
  width: 365px;
}

.intake-string-type .profile-radio-options span,
.intake-string-age .profile-radio-options span {
  font-size: 11px;
}

.intake-string-age .profile-radio-options span {
  width: auto;
  min-width: 82px;
  padding-inline: 12px;
}

.intake-user-type .profile-radio-options span {
  width: 82px;
}

.intake-handedness .profile-radio-options span {
  width: 74px;
}

.intake-backhand .profile-radio-options span {
  width: 52px;
}

.intake-backhand .profile-radio-options label:last-child span {
  width: 68px;
}

.intake-string-type .profile-radio-options span {
  width: 68px;
}

.intake-string-type .profile-radio-options label:last-child span {
  width: 82px;
}

.intake-string-age .profile-radio-options label:nth-child(1) span {
  width: 84px;
}

.intake-string-age .profile-radio-options label:nth-child(2) span {
  width: 102px;
}

.intake-string-age .profile-radio-options label:nth-child(3) span {
  width: 90px;
}

.intake-string-age .profile-radio-options label:nth-child(4) span {
  width: 82px;
}

.intake-measure-fields,
.intake-string-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.intake-string-row {
  grid-column: 1 / -1;
  display: grid;
  width: auto;
  grid-template-columns: 272px 180px;
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.intake-string-age {
  width: auto;
  padding-right: 0;
}

.intake-string-fields {
  grid-template-columns: minmax(0, 1fr);
}

.intake-tension-fields {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.intake-model-field {
  grid-template-columns: 1fr;
}

.intake-racket-main-row .intake-racket-status,
.intake-racket-main-row .intake-model-field,
.intake-racket-main-row .intake-model-field label {
  min-height: var(--intake-field-height);
  height: var(--intake-field-height);
}

.intake-model-field.is-disabled label {
  border-style: dashed;
  background: rgba(246,241,232,.025);
}

.intake-model-field input:disabled {
  color: rgba(246,241,232,.42);
  cursor: not-allowed;
  -webkit-text-fill-color: rgba(246,241,232,.42);
}

.intake-quickfill-card .profile-fields label,
.intake-quickfill-card .profile-radio-field {
  border-width: 1px;
  border-color: rgba(246,241,232,.12);
  background: rgba(2,7,4,.48);
}

.intake-quickfill-card .profile-fields label {
  min-height: var(--intake-field-height);
  height: var(--intake-field-height);
  gap: 6px;
  align-content: center;
  padding: 8px 12px;
}

.intake-quickfill-card .profile-fields span,
.intake-quickfill-card .profile-radio-title {
  color: rgba(246,241,232,.74);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 18px;
  text-transform: none;
}

.intake-quickfill-card .profile-fields input {
  width: 100%;
  height: 32px;
  border: 1px solid rgba(235,242,226,.12);
  padding: 0 10px;
  background: rgba(255,255,255,.025);
  font-size: 15px;
  font-weight: 800;
  line-height: 32px;
  letter-spacing: 0;
}

.intake-quickfill-card .profile-fields input::placeholder {
  font-size: 15px;
}

.intake-tension-field {
  display: grid;
  min-height: var(--intake-field-height);
  height: var(--intake-field-height);
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(2,7,4,.48);
}

.intake-tension-field > span {
  color: rgba(246,241,232,.74);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 18px;
  text-transform: none;
  white-space: nowrap;
}

.intake-tension-control {
  display: grid;
  grid-template-columns: 52px 84px;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.intake-tension-control input {
  width: 52px;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 20px;
  font-weight: 950;
  line-height: 32px;
}

.intake-tension-unknown {
  min-width: 0;
  display: grid;
  height: auto;
  min-height: 0;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.intake-quickfill-card .profile-fields label.intake-tension-unknown {
  height: auto;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.intake-tension-unknown input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.intake-tension-unknown span {
  display: grid;
  height: 32px;
  width: 100%;
  place-items: center;
  border: 1px solid rgba(246,241,232,.26);
  border-radius: 999px;
  color: #fff7ea;
  background: #090c0b;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}

.intake-tension-unknown input:checked + span {
  border-color: rgba(223,255,85,.92);
  color: #061007;
  background:
    linear-gradient(180deg, rgba(229,255,88,.98), rgba(161,224,40,.94)),
    #dfff55;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,225,.32),
    0 0 0 1px rgba(223,255,85,.26),
    0 0 16px rgba(223,255,85,.16);
  font-weight: 600;
}

.intake-racket-note {
  grid-column: 1 / -1;
  min-height: 42px;
  display: grid;
  align-items: center;
  margin: 0;
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(246,241,232,.62);
  background: rgba(246,241,232,.025);
  font-size: 12px;
  line-height: 1.45;
}

.intake-racket-empty {
  grid-column: 1 / -1;
  min-height: 76px;
  display: grid;
  align-items: center;
  margin: 0;
  border: 1px dashed rgba(246,241,232,.16);
  border-radius: 8px;
  padding: 12px 14px;
  color: rgba(246,241,232,.62);
  background: rgba(246,241,232,.025);
  font-size: 13px;
  line-height: 1.5;
}

.intake-start-summary-card {
  padding: 14px;
}

.intake-start-summary-card .profile-live-sticky {
  gap: 10px;
}

.intake-start-summary-card .intake-route-card,
.intake-start-summary-card .profile-dimension-map {
  padding: 10px;
}

.intake-start-summary-card .intake-info-list {
  gap: 4px;
}

.intake-start-summary-card .intake-info-list li {
  padding: 7px 8px;
}

.intake-deck-panel {
  --deck-spread: clamp(110px, 15vw, 190px);
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  overflow: visible;
}

.intake-deck-progress {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.intake-arrow-button,
.intake-deck-counter {
  height: 42px;
  border: 1px solid rgba(246,241,232,.18);
  color: #fffaf0;
  background: rgba(14,19,15,.9);
  box-shadow: inset 0 1px 0 rgba(246,241,232,.08);
}

.intake-arrow-button {
  width: 42px;
  display: grid;
  place-items: center;
  color: var(--signal);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}

.intake-arrow-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(223,255,85,.48);
  background: #151d12;
}

.intake-arrow-button:disabled {
  cursor: not-allowed;
  opacity: .35;
}

.intake-deck-counter {
  min-width: 112px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  color: rgba(246,241,232,.62);
  font-family: "JetBrains Mono", monospace;
  font-weight: 900;
}

.intake-deck-counter strong {
  color: var(--signal);
  font-size: 20px;
}

.intake-deck-counter b {
  color: #fffaf0;
  font-size: 15px;
}

.intake-card-stage {
  position: relative;
  min-height: 430px;
  height: min(560px, calc(100vh - 228px));
  perspective: 1200px;
  padding: 6px 0 12px;
  box-sizing: border-box;
  overflow: visible;
}

.intake-deck-card {
  position: absolute;
  top: 6px;
  left: 50%;
  width: min(560px, calc(100% - 84px));
  height: calc(100% - 18px);
  transform-style: preserve-3d;
  transition:
    transform 520ms cubic-bezier(.2,.85,.2,1),
    opacity 360ms ease,
    filter 520ms ease,
    box-shadow 520ms ease;
  will-change: transform, opacity, filter;
}

.intake-deck-card .profile-question-card {
  height: 100%;
  overflow: auto;
}

.intake-deck-card.active {
  z-index: 8;
  opacity: 1;
  pointer-events: auto;
  filter: blur(0) saturate(1);
  transform: translateX(-50%) translateY(0) scale(1) rotateY(0deg);
}

.intake-deck-card.prev {
  z-index: 5;
  opacity: .58;
  cursor: pointer;
  pointer-events: auto;
  filter: blur(.9px) saturate(.86);
  transform: translateX(calc(-50% - var(--deck-spread))) translateY(24px) scale(.9) rotateY(13deg) rotateZ(-1.4deg);
}

.intake-deck-card.next {
  z-index: 5;
  opacity: .58;
  cursor: pointer;
  pointer-events: auto;
  filter: blur(.9px) saturate(.86);
  transform: translateX(calc(-50% + var(--deck-spread))) translateY(24px) scale(.9) rotateY(-13deg) rotateZ(1.4deg);
}

.intake-deck-card.far-prev {
  z-index: 3;
  opacity: .22;
  pointer-events: none;
  filter: blur(3.4px) saturate(.66);
  transform: translateX(calc(-50% - var(--deck-spread) * 1.45)) translateY(62px) scale(.74) rotateY(22deg) rotateZ(-3deg);
}

.intake-deck-card.far-next {
  z-index: 3;
  opacity: .22;
  pointer-events: none;
  filter: blur(3.4px) saturate(.66);
  transform: translateX(calc(-50% + var(--deck-spread) * 1.45)) translateY(62px) scale(.74) rotateY(-22deg) rotateZ(3deg);
}

.intake-deck-card.hidden-left,
.intake-deck-card.hidden-right {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  filter: blur(8px);
}

.intake-deck-card.hidden-left {
  transform: translateX(calc(-50% - var(--deck-spread) * 1.85)) translateY(92px) scale(.58) rotateY(30deg);
}

.intake-deck-card.hidden-right {
  transform: translateX(calc(-50% + var(--deck-spread) * 1.85)) translateY(92px) scale(.58) rotateY(-30deg);
}

.intake-deck-card:not(.active) .profile-radio-options label,
.intake-deck-card:not(.active) .profile-choice-card,
.intake-deck-card:not(.active) input,
.intake-deck-card:not(.active) select,
.intake-deck-card:not(.active) textarea {
  pointer-events: none;
}

.intake-summary-card {
  overflow: hidden;
  transform: translateY(-12px);
}

.intake-route-card {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(223,255,85,.22);
  padding: 8px 11px;
  background: linear-gradient(180deg, rgba(223,255,85,.08), rgba(9,13,12,.72));
}

.intake-route-card span,
.intake-completeness-meter span,
.intake-confidence-card span {
  color: rgba(246,241,232,.5);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.intake-route-card strong {
  color: var(--signal);
  font-size: 14px;
  line-height: 1.18;
}

.intake-route-card p,
.intake-confidence-card p,
.intake-review-lists p {
  margin: 0;
  color: rgba(246,241,232,.58);
  font-size: 11px;
  line-height: 1.24;
}

.intake-mini-metrics {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.intake-mini-metrics span {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(246,241,232,.1);
  min-height: 32px;
  padding: 5px 9px;
  color: rgba(246,241,232,.5);
  background: #0e130f;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.intake-mini-metrics b {
  color: #fffaf0;
  font-size: 14px;
}

.intake-summary-list {
  gap: 10px;
}

.intake-info-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intake-info-list li {
  border: 1px solid rgba(246,241,232,.09);
  padding: 8px 10px;
  color: rgba(246,241,232,.68);
  background: #090d0c;
  font-size: 12px;
  line-height: 1.35;
}

.intake-review-card {
  align-content: start;
}

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

.intake-completeness-meter,
.intake-confidence-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(246,241,232,.12);
  padding: 16px;
  background: #0e130f;
}

.intake-completeness-meter strong,
.intake-confidence-card strong {
  color: #fffaf0;
  font-size: 30px;
  line-height: 1;
}

.intake-completeness-meter i {
  display: block;
  height: 8px;
  overflow: hidden;
  background: rgba(246,241,232,.12);
}

.intake-completeness-meter b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--clay), var(--signal));
}

.intake-review-lists {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.intake-review-lists section {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(246,241,232,.1);
  padding: 14px;
  background: rgba(5,8,7,.72);
}

.intake-review-lists h4 {
  margin: 0;
  color: var(--signal);
  font-size: 13px;
}

.intake-review-lists article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(246,241,232,.09);
  padding: 10px;
  background: #090d0c;
}

.intake-review-lists article strong {
  color: rgba(246,241,232,.88);
  font-size: 13px;
  line-height: 1.35;
}

.intake-actions {
  grid-template-columns: minmax(220px, 540px);
  align-items: center;
  justify-content: center;
}

.intake-quickfill-mode .intake-actions {
  grid-template-columns: 408px;
  border-top: 1px solid rgba(246,241,232,.12);
  padding-top: 14px;
}

.intake-deck-actions {
  grid-template-columns: minmax(130px, 180px) minmax(96px, 128px) minmax(130px, 180px);
  justify-content: center;
  gap: 12px;
}

.intake-deck-actions.is-review {
  grid-template-columns: minmax(130px, 180px) minmax(96px, 128px) minmax(220px, 360px);
}

.intake-nav-button {
  min-height: 44px;
  border: 1px solid rgba(246,241,232,.18);
  border-radius: 8px;
  padding: 0 18px;
  color: rgba(246,241,232,.84);
  background: rgba(14,19,15,.9);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(246,241,232,.08);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.intake-nav-button:hover {
  transform: translateY(-1px);
  border-color: rgba(223,255,85,.48);
  color: var(--signal);
  background: #151d12;
}

.intake-nav-button.primary {
  border-color: rgba(223,255,85,.42);
  color: var(--signal);
  background: rgba(223,255,85,.08);
}

.intake-actions .clay-button {
  min-height: 44px;
}

.profile-form .light-button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.profile-guide-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(246,241,232,.12);
  padding: 12px 14px;
  background: #101611;
}

.profile-guide-bar strong {
  color: #fffaf0;
  font-size: 14px;
}

.profile-guide-bar span {
  color: rgba(246,241,232,.58);
  font-size: 13px;
}

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

.profile-slider {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(246,241,232,.12);
  padding: 16px;
  background: #0e130f;
}

.profile-metric-kicker b {
  display: block;
  margin-top: 4px;
  color: rgba(246,241,232,.34);
  letter-spacing: .22em;
}

.profile-metric-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.profile-slider strong {
  color: var(--signal);
  font-size: 28px;
  line-height: 1;
}

.profile-metric-head em {
  color: rgba(246,241,232,.74);
  font-style: normal;
  line-height: 1.45;
}

.profile-slider input {
  accent-color: var(--signal);
}

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

.profile-scale span {
  border: 1px solid rgba(246,241,232,.1);
  padding: 8px;
  color: rgba(246,241,232,.56);
  background: #0a0e0b;
  font-size: 12px;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}

.profile-scale b {
  display: block;
  margin-bottom: 4px;
  color: rgba(223,255,85,.78);
  font-size: 11px;
  letter-spacing: .08em;
}

.profile-slider p {
  margin: 0;
  color: rgba(246,241,232,.46);
  font-size: 12px;
  line-height: 1.45;
}

.profile-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 6px;
  border-top: 1px solid rgba(246,241,232,.12);
  padding-top: 16px;
}

.profile-section-title span {
  color: #fffaf0;
  font-weight: 900;
}

.profile-section-title em {
  color: rgba(246,241,232,.5);
  font-style: normal;
  font-size: 13px;
}

.profile-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.profile-fields .wide {
  grid-column: span 3;
}

.intake-basic-matrix .profile-radio-field,
.profile-fields.intake-string-fields .profile-radio-field {
  grid-column: auto;
}

.intake-basic-matrix .intake-user-type,
.intake-basic-matrix .intake-measure-fields,
.intake-racket-matrix .intake-racket-status,
.intake-racket-matrix .intake-model-field,
.intake-racket-matrix .intake-string-type,
.intake-racket-matrix .intake-string-age {
  grid-column: 1 / -1;
}

.intake-racket-main-row .intake-racket-status,
.intake-racket-main-row .intake-model-field {
  grid-column: auto;
}

.intake-string-row .intake-string-type,
.intake-string-row .intake-string-fields {
  grid-column: auto;
}

.profile-fields.intake-measure-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-fields.intake-model-field {
  grid-template-columns: minmax(0, 1fr);
}

.profile-fields.intake-string-fields {
  grid-column: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.profile-fields.intake-string-fields.intake-tension-fields {
  grid-template-columns: minmax(0, 1fr);
}

.profile-fields.intake-string-fields .profile-radio-field.intake-unit-options {
  grid-column: auto;
}

.intake-quickfill-card .profile-radio-options label,
.profile-fields.intake-string-fields .profile-radio-options label {
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.profile-radio-field.intake-handedness .profile-radio-options {
  grid-template-columns: repeat(2, max-content);
}

.profile-radio-field.intake-racket-status .profile-radio-options {
  display: flex;
  grid-template-columns: none;
  gap: 10px;
  justify-content: flex-start;
}

.profile-radio-field.intake-backhand .profile-radio-options {
  grid-template-columns: repeat(3, max-content);
}

.profile-radio-field.intake-string-type .profile-radio-options {
  grid-template-columns: repeat(3, max-content);
}

.profile-radio-field.intake-string-age .profile-radio-options {
  grid-template-columns: repeat(4, max-content);
  column-gap: 24px;
  justify-content: start;
  width: 365px;
}

.profile-radio-field.intake-string-type .profile-radio-options span,
.profile-radio-field.intake-string-age .profile-radio-options span {
  font-size: 15px;
}

.profile-radio-field.intake-string-age .profile-radio-options span {
  width: auto;
  min-width: 82px;
  padding-inline: 12px;
}

@media (max-width: 980px) {
  .profile-onboarding-card {
    height: min(780px, calc(100vh - 24px));
    overflow: hidden;
  }

  .profile-onboarding-card.profile-base-mode {
    width: min(720px, calc(100vw - 32px));
    height: min(690px, calc(100vh - 24px));
    max-height: calc(100vh - 24px);
  }

  .profile-onboarding-card .profile-form {
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .profile-onboarding-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .intake-wizard-layout {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .intake-quickfill-board,
  .intake-string-row,
  .intake-racket-main-row.has-model,
  .intake-basic-matrix {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-radio-field.intake-string-type .profile-radio-options,
  .profile-radio-field.intake-string-age .profile-radio-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intake-main {
    min-height: 560px;
  }

  .intake-summary-card {
    height: auto;
    max-height: none;
    position: static;
  }

  .intake-actions {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .intake-actions:not(.intake-deck-actions) {
    grid-template-columns: minmax(220px, 540px);
  }

  .intake-deck-actions {
    grid-template-columns: minmax(120px, 170px) minmax(92px, 116px) minmax(120px, 170px);
  }

  .intake-deck-actions.is-review {
    grid-template-columns: minmax(120px, 170px) minmax(92px, 116px) minmax(200px, 320px);
  }

  .intake-actions [data-action="closeProfile"] {
    grid-column: 1 / -1;
  }

  .profile-stepper {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    height: auto;
  }

  .profile-question-card {
    height: auto;
    align-content: start;
  }

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

  .profile-live-card {
    height: auto;
    position: static;
  }

  .level-choice-group .profile-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-score-grid,
  .profile-fields {
    grid-template-columns: 1fr;
  }

  .profile-base-gate .profile-fields {
    grid-template-columns: 1fr;
  }

  .profile-base-gate {
    overflow: auto;
  }

  .profile-base-gate .profile-fields .wide {
    grid-column: 1 / -1;
  }

  .profile-base-gate .profile-fields > .profile-radio-field.wide {
    grid-column: 1 / -1;
  }

  .profile-radio-field.wide .profile-radio-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intake-step-card .profile-radio-options,
  .intake-step-card .profile-radio-field.wide .profile-radio-options,
  .intake-field-grid,
  .intake-review-grid,
  .intake-review-lists {
    grid-template-columns: 1fr;
  }

  .profile-fields .wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .auth-card.register-card {
    padding: 24px 18px 28px;
  }

  .profile-card {
    padding: 24px 18px 28px;
  }

  .profile-onboarding-card.intake-wizard-card {
    width: min(560px, calc(100vw - 16px));
    height: min(820px, calc(100vh - 16px));
    padding: 18px 14px 14px;
  }

  .profile-onboarding-card.profile-base-mode {
    padding: 18px;
  }

  .profile-base-gate {
    padding: 16px;
  }

  .profile-base-gate-head {
    display: grid;
    gap: 6px;
  }

  .profile-guide-bar,
  .profile-section-title {
    display: grid;
    align-items: start;
  }

  .profile-question-block {
    padding: 14px;
  }

  .profile-stepper {
    grid-template-columns: 1fr;
  }

  .intake-progress-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 116px;
    overflow: auto;
  }

  .profile-step-pill {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .profile-question-card {
    padding: 16px;
  }

  .intake-inline-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .intake-inline-row.three-columns .profile-radio-options,
  .intake-inline-row.four-options .profile-radio-options,
  .intake-inline-row.five-options .profile-radio-options,
  .intake-inline-row.six-options .profile-radio-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-current-head {
    grid-template-columns: 1fr;
  }

  .profile-block-head {
    grid-template-columns: 1fr;
  }

  .profile-block-head p {
    grid-column: 1;
  }

  .profile-choice-title {
    display: grid;
    align-items: start;
  }

  .profile-choice-title p {
    max-width: none;
    text-align: left;
  }

  .profile-choice-grid,
  .level-choice-group .profile-choice-grid {
    grid-template-columns: 1fr;
  }

  .profile-choice-card span {
    min-height: 0;
  }

  .profile-actions {
    grid-template-columns: 1fr;
  }

  .intake-actions {
    grid-template-columns: 1fr;
  }

  .intake-deck-actions,
  .intake-deck-actions.is-review {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intake-deck-actions .intake-deck-counter {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
  }

  .intake-deck-actions .intake-nav-button,
  .intake-deck-actions .clay-button {
    grid-row: 2;
    width: 100%;
  }

  .intake-deck-actions.is-review .clay-button {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .intake-actions .clay-button {
    order: -1;
  }

  .intake-deck-actions .clay-button {
    order: 0;
  }

  .profile-metric-head {
    grid-template-columns: 1fr;
  }

  .profile-scale {
    grid-template-columns: 1fr;
  }

  .auth-form.register-form {
    grid-template-columns: 1fr;
  }

  .auth-form.register-form > * {
    grid-column: 1 / -1;
  }

  .email-code-row {
    grid-template-columns: 1fr;
  }

  .email-code-row button {
    width: 100%;
  }
}

.mentor-full-report {
  margin-top: 18px;
  border: 1px solid rgba(246,241,232,.16);
  padding: 18px;
  background: #0b0f0d;
}

.mentor-report-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.mentor-report-title h3 {
  margin: 6px 0 0;
  color: #fffaf0;
  font-size: 26px;
}

.mentor-report-title > span {
  border: 1px solid rgba(223,255,85,.24);
  padding: 6px 10px;
  color: var(--signal);
  background: #141a14;
  font-weight: 950;
}

.mentor-ai-copy {
  margin: 14px 0 0;
  color: rgba(246,241,232,.72);
  line-height: 1.62;
}

.mentor-report-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.mentor-report-card {
  border: 1px solid rgba(246,241,232,.12);
  padding: 12px;
  background: #0e130f;
}

.mentor-report-card-head {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
}

.mentor-report-card-head img {
  width: 58px;
  height: 76px;
  object-fit: contain;
}

.mentor-report-card-head span {
  color: var(--signal);
  font-size: 11px;
  font-weight: 900;
}

.mentor-report-card-head strong {
  display: block;
  margin-top: 4px;
  color: #fffaf0;
  line-height: 1.25;
}

.mentor-report-card p,
.mentor-report-card dd {
  color: rgba(246,241,232,.64);
  font-size: 12px;
  line-height: 1.5;
}

.mentor-report-card dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.mentor-report-card dt {
  color: rgba(246,241,232,.46);
  font-size: 11px;
  font-weight: 900;
}

.mentor-report-card dd {
  margin: 2px 0 0;
}

.mentor-backup-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.mentor-backup-list span,
.mentor-backup-list strong {
  border: 1px solid rgba(246,241,232,.12);
  padding: 7px 9px;
  background: #111711;
  font-size: 12px;
}

.profile-result-page {
  width: min(1420px, calc(100vw - 40px));
  padding-top: 26px;
  color: #f6f1e8;
}

.profile-result-shell {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(246,241,232,.14);
  padding: 18px;
  background: #070a09;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}

.profile-result-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(246,241,232,.12);
  padding-bottom: 14px;
}

.profile-result-head h1 {
  margin: 4px 0 0;
  color: #fffaf0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
}

.profile-result-head > span {
  border: 1px solid rgba(223,255,85,.24);
  padding: 8px 11px;
  color: var(--signal);
  background: #10160f;
  font-weight: 900;
}

.profile-result-hero {
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(430px, 1.24fr) minmax(280px, .82fr);
  gap: 14px;
  align-items: stretch;
  min-height: 410px;
}

.profile-result-card {
  min-width: 0;
  border: 1px solid rgba(246,241,232,.14);
  background: #0b0f0d;
}

.profile-result-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px 0;
}

.profile-result-section-head h2 {
  margin: 0;
  color: #fffaf0;
  font-size: 20px;
  line-height: 1.15;
}

.profile-identity-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.profile-identity-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 14px 16px;
}

.profile-identity-list div,
.profile-principle-box,
.profile-rec-specs div {
  border: 1px solid rgba(246,241,232,.12);
  background: #070b09;
}

.profile-identity-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
}

.profile-identity-list dt,
.profile-rec-specs dt {
  color: rgba(246,241,232,.48);
  font-size: 11px;
  font-weight: 900;
}

.profile-identity-list dd,
.profile-rec-specs dd {
  margin: 0;
  color: #fffaf0;
  font-size: 13px;
  font-weight: 820;
  line-height: 1.35;
}

.profile-principle-box {
  margin: 0 16px 16px;
  padding: 12px;
}

.profile-principle-box strong {
  color: var(--signal);
  font-size: 18px;
}

.profile-principle-box p,
.profile-athlete-caption,
.profile-top-pick p,
.profile-recommendation-card p,
.profile-rec-notes span {
  color: rgba(246,241,232,.66);
  line-height: 1.55;
}

.profile-athlete-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-self: start;
  height: 430px;
  overflow: hidden;
  background: #050807;
}

.profile-athlete-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
}

.profile-athlete-caption {
  margin: 0;
  border-top: 1px solid rgba(246,241,232,.1);
  padding: 12px 16px 16px;
  color: rgba(223,255,85,.88);
  font-weight: 900;
}

.profile-top-pick {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(160px, 1fr) auto auto;
  overflow: hidden;
}

.profile-top-pick img {
  justify-self: center;
  width: 100%;
  max-width: 220px;
  height: 200px;
  object-fit: contain;
  padding: 10px 22px;
}

.profile-match-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  border-top: 1px solid rgba(246,241,232,.1);
  padding-top: 12px;
}

.profile-match-score strong {
  color: var(--signal);
  font-family: "JetBrains Mono", monospace;
  font-size: 34px;
  line-height: 1;
}

.profile-match-score span {
  color: rgba(246,241,232,.54);
  font-size: 12px;
  font-weight: 900;
}

.profile-top-pick p {
  margin: 0;
  padding: 12px 16px 16px;
  font-size: 13px;
}

.profile-result-status {
  border: 1px solid rgba(223,255,85,.18);
  padding: 13px 14px;
  color: rgba(246,241,232,.76);
  background: #0b100c;
  font-weight: 900;
}

.profile-result-status.error {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-color: rgba(223,89,64,.35);
  background: #220e0b;
}

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

.profile-recommendation-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(246,241,232,.14);
  padding: 14px;
  background: #0b0f0d;
}

.profile-rec-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.profile-rec-head span,
.profile-rec-head em {
  color: var(--signal);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.profile-rec-head strong {
  overflow: hidden;
  color: #fffaf0;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-rec-body {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(246,241,232,.1);
  background: #070b09;
}

.profile-rec-body img {
  width: 92px;
  height: 132px;
  object-fit: contain;
  padding: 8px;
}

.profile-rec-radar {
  display: block;
  width: 100%;
  height: auto;
}

.profile-rec-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

.profile-rec-specs div {
  min-height: 54px;
  padding: 8px;
}

.profile-recommendation-card p {
  margin: 0;
  font-size: 13px;
}

.profile-rec-notes {
  display: grid;
  gap: 7px;
}

.profile-rec-notes span {
  border: 1px solid rgba(246,241,232,.1);
  padding: 9px;
  background: #070b09;
  font-size: 12px;
}

.profile-result-empty {
  display: grid;
  place-items: start;
  gap: 14px;
  min-height: 360px;
  border: 1px solid rgba(246,241,232,.14);
  padding: 28px;
  color: #f6f1e8;
  background: #070a09;
}

.profile-result-empty h1 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(30px, 4vw, 52px);
}

@media (max-width: 1020px) {
  .profile-score-grid,
  .profile-fields,
  .mentor-report-cards,
  .profile-result-hero,
  .profile-recommendation-grid {
    grid-template-columns: 1fr;
  }
  .profile-fields .wide {
    grid-column: auto;
  }
  .profile-athlete-canvas {
    min-height: 300px;
  }
  .profile-athlete-panel {
    height: auto;
  }
  .profile-rec-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .profile-result-page {
    width: min(100vw - 24px, 420px);
    padding-top: 24px;
  }
  .profile-result-shell {
    padding: 12px;
  }
  .profile-result-head {
    display: grid;
    align-items: start;
  }
  .profile-identity-list div,
  .profile-rec-body {
    grid-template-columns: 1fr;
  }
  .profile-athlete-canvas {
    min-height: 260px;
  }
  .profile-rec-head {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .profile-rec-head em {
    grid-column: 1 / -1;
  }
}

.profile-result-shell {
  gap: 18px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, #080b0a 0%, #050807 100%);
}

.profile-result-head {
  padding: 2px 2px 16px;
}

.profile-two-column-report {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(430px, .78fr);
  gap: 18px;
  align-items: start;
}

.profile-left-report,
.profile-right-recs {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.profile-right-recs {
  position: sticky;
  top: 96px;
}

.profile-match-list {
  align-content: start;
}

.profile-match-list-head {
  border: 1px solid rgba(246,241,232,.16);
  border-radius: 6px;
  padding: 16px;
  background: #090d0c;
}

.profile-match-list-head h2 {
  margin: 4px 0 0;
  color: #fffaf0;
  font-size: 24px;
}

.profile-overview-panel {
  display: grid;
  overflow: hidden;
  background: #090d0c;
}

.profile-overview-panel .profile-result-section-head {
  padding-bottom: 10px;
}

.profile-player-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(330px, 1.08fr);
  gap: 14px;
  padding: 0 16px 16px;
}

.profile-summary-card,
.profile-athlete-scan-card,
.profile-radar-section,
.profile-video-sample {
  border: 1px solid rgba(246,241,232,.16);
  background: #070b09;
}

.profile-summary-card,
.profile-athlete-scan-card {
  border: 0;
  background: transparent;
}

.profile-summary-card {
  display: grid;
  align-content: start;
  padding: 10px 10px 10px 0;
}

.profile-summary-card .profile-overview-label strong {
  white-space: nowrap;
}

.profile-summary-card .profile-diagnosis-main {
  gap: 12px;
  padding: 18px 0 12px;
}

.profile-summary-card .profile-diagnosis-main p {
  color: rgba(246,241,232,.78);
  font-size: 13px;
  font-weight: normal;
  line-height: 1.68;
}

.profile-summary-card .profile-focus-tags {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: start;
  gap: 8px 10px;
  align-items: start;
  padding: 0;
  margin-top: 2px;
}

.profile-summary-card .profile-focus-tags span {
  white-space: nowrap;
}

.profile-athlete-scan-card {
  display: grid;
  grid-template-columns: minmax(210px, .92fr) minmax(150px, .58fr);
  gap: 16px;
  align-items: center;
  padding: 6px 0 8px 10px;
}

.profile-athlete-visual {
  position: relative;
  min-height: 292px;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(180deg, rgba(246,241,232,.04), transparent 34%),
    #050807;
}

.profile-scan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(223,255,85,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223,255,85,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .26;
}

.profile-athlete-svg {
  position: absolute;
  inset: 18px 12px 10px;
  width: calc(100% - 24px);
  height: calc(100% - 28px);
  filter: drop-shadow(0 0 18px rgba(223,255,85,.14));
}

.profile-athlete-svg .athlete-head,
.profile-athlete-svg .athlete-neck,
.profile-athlete-svg .athlete-core {
  fill: rgba(246,241,232,.94);
  stroke: rgba(223,255,85,.72);
  stroke-width: 2;
}

.profile-athlete-svg .athlete-chest {
  fill: rgba(223,255,85,.5);
  stroke: rgba(246,241,232,.52);
  stroke-width: 1.5;
}

.profile-athlete-svg .athlete-shadow {
  fill: none;
  stroke: rgba(246,241,232,.16);
  stroke-width: 8;
  stroke-linecap: round;
}

.profile-athlete-svg .athlete-arm,
.profile-athlete-svg .athlete-forearm,
.profile-athlete-svg .athlete-leg,
.profile-athlete-svg .athlete-shoe,
.profile-athlete-svg .athlete-racket,
.profile-athlete-svg .athlete-racket-head {
  fill: none;
  stroke: url(#athleteGlow);
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-athlete-svg .athlete-forearm {
  stroke-width: 13;
}

.profile-athlete-svg .athlete-leg {
  stroke-width: 19;
}

.profile-athlete-svg .athlete-shoe {
  stroke-width: 9;
}

.profile-athlete-svg .athlete-racket,
.profile-athlete-svg .athlete-racket-head {
  stroke-width: 5;
}

.profile-athlete-svg .athlete-swing-trail {
  fill: none;
  stroke: rgba(223,255,85,.42);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 7 9;
}

.profile-athlete-visual.aggressive .athlete-swing-trail {
  stroke-width: 4;
  stroke-dasharray: 10 7;
}

.profile-athlete-visual.building .athlete-swing-trail {
  opacity: .55;
}

.profile-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 72px;
  background: linear-gradient(180deg, transparent, rgba(223,255,85,.28), transparent);
  animation: profileScan var(--scan-speed, 3.4s) linear infinite;
}

.profile-scan-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(223,255,85,.72);
  background: rgba(223,255,85,.18);
}

.profile-scan-dot.one {
  top: 34%;
  left: 24%;
}

.profile-scan-dot.two {
  right: 18%;
  bottom: 25%;
}

.attr-label {
  position: absolute;
  color: rgba(246,241,232,.9);
  font-size: 11px;
  font-weight: 800;
  background: rgba(5,8,7,.75);
  border: 1px solid rgba(223,255,85,.2);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.attr-level {
  top: 12%;
  left: 8%;
}

.attr-body {
  top: 48%;
  right: 4%;
}

.attr-style {
  bottom: 15%;
  left: 8%;
}

.profile-radar-section {
  margin: 0 16px 16px;
  padding: 14px;
}

.profile-radar-layout {
  display: grid;
  grid-template-columns: minmax(290px, .72fr) minmax(0, .28fr);
  gap: 12px;
  align-items: stretch;
  margin-top: 12px;
}

.profile-radar-section .profile-result-radar-wrap {
  min-height: 248px;
  margin: 0;
}

.profile-radar-section .profile-radar-legend {
  align-content: stretch;
  margin: 0;
}

.profile-video-sample {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .54fr);
  gap: 14px;
  align-items: stretch;
  margin: 0 16px 16px;
  padding: 14px;
}

.profile-video-sample > div {
  display: grid;
  align-content: center;
  gap: 8px;
}

.profile-video-sample span {
  color: var(--signal);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile-video-sample strong {
  color: #fffaf0;
  font-size: 18px;
}

.profile-video-sample p {
  margin: 0;
  color: rgba(246,241,232,.72);
  font-size: 13px;
  line-height: 1.55;
}

.profile-video-sample .video-placeholder {
  display: grid;
  align-content: center;
  justify-content: center;
  gap: 8px;
  min-height: 130px;
  border: 1px dashed rgba(246,241,232,.2);
  background: rgba(246,241,232,.03);
  border-radius: 4px;
  color: rgba(246,241,232,.5);
  font-size: 12px;
}

.profile-video-sample .video-placeholder em {
  color: rgba(246,241,232,.5);
  font-style: normal;
  font-size: 12px;
}

@keyframes profileScan {
  from { transform: translateY(-120%); }
  to { transform: translateY(520%); }
}

@media (prefers-reduced-motion: reduce) {
  .profile-scan-line {
    animation: none;
    top: 44%;
  }
}

.profile-overview-panel .profile-signal-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 14px;
}

.profile-overview-panel .profile-signal-list div:last-child {
  grid-column: 1 / -1;
}

.profile-overview-grid {
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr);
  gap: 12px;
  padding: 0 16px 16px;
}

.profile-overview-radar-block,
.profile-overview-summary-block {
  min-width: 0;
  border: 1px solid rgba(246,241,232,.14);
  padding: 14px;
  background: #070b09;
}

.profile-overview-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.profile-overview-label span {
  color: var(--signal);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile-overview-label strong {
  color: #fffaf0;
  font-size: 17px;
  font-weight: 950;
}

.profile-overview-radar-block .profile-result-radar-wrap {
  min-height: 218px;
  margin: 12px 0 10px;
}

.profile-overview-radar-block .profile-result-radar {
  width: min(100%, 318px);
}

.profile-overview-radar-block .profile-radar-legend {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.profile-overview-radar-block .profile-radar-legend span {
  display: grid;
  justify-content: stretch;
  gap: 4px;
  padding: 8px 6px;
  text-align: center;
}

.profile-overview-summary-block {
  display: grid;
  align-content: start;
}

.profile-overview-summary-block .profile-diagnosis-main {
  padding: 16px 0 14px;
}

.profile-overview-summary-block .profile-focus-tags {
  padding: 0;
}

.profile-inline-video {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(246,241,232,.12);
}

.profile-inline-video-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.profile-inline-video-head span {
  color: var(--signal);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile-inline-video-head strong {
  min-width: 0;
  color: #fffaf0;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-inline-video-head a {
  border: 1px solid rgba(246,241,232,.14);
  padding: 5px 7px;
  color: rgba(246,241,232,.78);
  background: #050807;
  font-size: 11px;
  font-weight: 900;
}

.profile-inline-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(246,241,232,.14);
  background: #050807;
}

.profile-inline-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.profile-overview-summary-block .profile-inline-video {
  margin-top: 12px;
  padding-top: 0;
  padding-bottom: 14px;
  border-top: 0;
  border-bottom: 1px solid rgba(246,241,232,.12);
}

.profile-overview-summary-block .profile-diagnosis-main {
  padding-top: 14px;
}

.profile-result-composition {
  display: grid;
  grid-template-columns: minmax(300px, .95fr) minmax(460px, 1.16fr) minmax(280px, .82fr);
  gap: 16px;
  align-items: stretch;
}

.profile-diagnosis-card,
.profile-athlete-panel,
.profile-top-pick,
.profile-signal-panel,
.profile-principle-panel,
.profile-recommendation-card {
  border-radius: 6px;
  border-color: rgba(246,241,232,.18);
  background: #0a0e0d;
}

.profile-diagnosis-card {
  display: grid;
  grid-template-rows: auto auto auto auto;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(197,94,50,.18), transparent 38%),
    #0a0e0d;
}

.profile-diagnosis-main {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: 20px 18px 14px;
}

.profile-diagnosis-main span {
  width: fit-content;
  border: 1px solid rgba(223,255,85,.28);
  padding: 8px 10px;
  color: var(--signal);
  background: #11180f;
  font-weight: 950;
}

.profile-diagnosis-main p {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(16px, 1.32vw, 20px);
  font-weight: 760;
  line-height: 1.56;
}

.profile-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 16px;
}

.profile-focus-tags span {
  border: 1px solid rgba(246,241,232,.16);
  padding: 7px 9px;
  color: rgba(246,241,232,.8);
  background: #070b09;
  font-size: 12px;
  font-weight: 900;
}

.profile-user-brief {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(246,241,232,.12);
}

.profile-user-brief div {
  min-width: 0;
  border-right: 1px solid rgba(246,241,232,.1);
  padding: 12px 10px;
  background: #070b09;
}

.profile-user-brief div:last-child {
  border-right: 0;
}

.profile-user-brief small {
  display: block;
  color: rgba(246,241,232,.42);
  font-size: 10px;
  font-weight: 900;
}

.profile-user-brief strong {
  display: block;
  margin-top: 5px;
  color: #fffaf0;
  font-size: 13px;
}

.profile-profile-radar-panel {
  display: grid;
  grid-template-columns: minmax(330px, .58fr) minmax(0, .42fr);
  align-items: center;
  gap: 12px;
}

.profile-profile-radar-panel .profile-result-section-head {
  grid-column: 1 / -1;
}

.profile-result-radar-wrap {
  display: grid;
  place-items: center;
  min-height: 270px;
  border: 1px solid rgba(246,241,232,.1);
  margin: 0 0 16px 16px;
  background: #070b09;
}

.profile-result-radar {
  display: block;
  width: min(100%, 420px);
  height: auto;
}

.profile-radar-legend {
  display: grid;
  gap: 8px;
  margin: 0 16px 16px 0;
}

.profile-radar-legend span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(246,241,232,.12);
  padding: 10px 11px;
  background: #070b09;
}

.profile-radar-legend small {
  color: rgba(246,241,232,.46);
  font-size: 11px;
  font-weight: 900;
}

.profile-radar-legend strong {
  color: #fffaf0;
  font-size: 13px;
}

.profile-star-video-card {
  overflow: hidden;
}

.profile-video-frame {
  position: relative;
  margin: 16px 16px 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(246,241,232,.12);
  background: #050807;
}

.profile-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.profile-video-caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px 16px;
}

.profile-video-caption strong {
  color: var(--signal);
  font-weight: 950;
}

.profile-video-caption span {
  color: rgba(246,241,232,.66);
  font-size: 13px;
  line-height: 1.45;
}

.profile-video-caption a {
  border: 1px solid rgba(246,241,232,.14);
  padding: 7px 9px;
  color: rgba(246,241,232,.78);
  background: #070b09;
  font-size: 12px;
  font-weight: 900;
}

.profile-athlete-panel {
  height: 444px;
  background:
    radial-gradient(circle at 50% 42%, rgba(223,255,85,.08), transparent 36%),
    #050807;
}

.profile-athlete-caption {
  color: rgba(246,241,232,.86);
  background: #070b09;
}

.profile-top-pick {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  background:
    linear-gradient(180deg, rgba(223,255,85,.08), transparent 42%),
    #0a0e0d;
}

.profile-right-recs .profile-top-pick {
  min-height: 440px;
}

.profile-top-pick-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 214px;
}

.profile-top-pick-stage::before {
  content: "";
  position: absolute;
  inset: 22px 30px;
  border: 1px solid rgba(246,241,232,.08);
  background: #070b09;
}

.profile-top-pick-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 210px;
  height: 210px;
  object-fit: contain;
  padding: 12px 22px;
}

.profile-top-pick .profile-match-score {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(223,255,85,.28);
  padding: 8px 10px;
  background: #10160f;
}

.profile-top-pick .profile-match-score strong {
  font-size: 30px;
}

.profile-top-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0 16px 12px;
}

.profile-top-specs div {
  border: 1px solid rgba(246,241,232,.12);
  padding: 8px;
  background: #070b09;
}

.profile-top-specs dt {
  color: rgba(246,241,232,.42);
  font-size: 10px;
  font-weight: 900;
}

.profile-top-specs dd {
  margin: 4px 0 0;
  color: #fffaf0;
  font-size: 13px;
  font-weight: 820;
}

.profile-match-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(246,241,232,.16);
  border-radius: 6px;
  padding: 14px;
  background: #090d0c;
}

.profile-match-card.featured {
  border-color: rgba(223,255,85,.34);
  background:
    linear-gradient(180deg, rgba(223,255,85,.06), transparent 38%),
    #090d0c;
}

.profile-match-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.profile-match-card-head span {
  color: var(--signal);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

.profile-match-card-head h3 {
  margin: 0;
  color: #fffaf0;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.18;
}

.profile-match-card-head em {
  border: 1px solid rgba(223,255,85,.34);
  padding: 7px 9px;
  color: var(--signal);
  background: #10160f;
  font-style: normal;
  font-size: 18px;
  font-weight: 950;
}

.profile-match-main {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.profile-match-photo {
  display: grid;
  place-items: center;
  min-height: 194px;
  border: 1px solid rgba(246,241,232,.11);
  background: #050807;
}

.profile-match-photo img {
  width: 100%;
  max-width: 150px;
  height: 184px;
  object-fit: contain;
}

.profile-match-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.profile-match-specs div,
.profile-match-notes div {
  min-width: 0;
  border: 1px solid rgba(246,241,232,.12);
  padding: 10px;
  background: #050807;
}

.profile-match-specs dt,
.profile-match-notes span {
  display: block;
  color: rgba(246,241,232,.46);
  font-size: 10px;
  font-weight: 900;
}

.profile-match-specs dd {
  margin: 6px 0 0;
  color: #fffaf0;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.28;
}

.profile-match-summary {
  margin: 0;
  border-top: 1px solid rgba(246,241,232,.1);
  padding-top: 12px;
  color: rgba(246,241,232,.76);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.5;
}

.profile-match-analysis {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 12px;
  align-items: stretch;
}

.profile-match-notes {
  display: grid;
  gap: 8px;
}

.profile-match-notes strong {
  display: block;
  margin-top: 6px;
  color: #fffaf0;
  font-size: 12px;
  line-height: 1.42;
}

.profile-match-radar-wrap {
  display: grid;
  place-items: center;
  border: 1px solid rgba(246,241,232,.12);
  background: #050807;
}

.profile-match-radar {
  width: 100%;
  max-width: 186px;
  height: auto;
}

.profile-match-empty {
  padding: 24px;
  color: rgba(246,241,232,.7);
}

.profile-result-secondary {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: 16px;
}

.profile-signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 16px;
}

.profile-signal-list div {
  min-width: 0;
  border: 1px solid rgba(246,241,232,.12);
  padding: 9px;
  background: #070b09;
}

.profile-signal-list div:last-child {
  grid-column: 1 / -1;
}

.profile-signal-list dt {
  color: rgba(246,241,232,.42);
  font-size: 10px;
  font-weight: 900;
}

.profile-signal-list dd {
  margin: 5px 0 0;
  color: #fffaf0;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.38;
}

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

.profile-principle-list article {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid rgba(246,241,232,.12);
  padding: 12px;
  background: #070b09;
}

.profile-principle-list span {
  color: var(--signal);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

.profile-principle-list p {
  margin: 0;
  color: rgba(246,241,232,.72);
  font-size: 13px;
  line-height: 1.55;
}

.profile-recommendation-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.profile-candidate-stack {
  display: grid;
  gap: 14px;
}

.profile-candidate-stack .profile-recommendation-card {
  grid-template-columns: minmax(0, 1fr);
}

.profile-candidate-stack .profile-rec-body {
  grid-template-columns: 74px minmax(0, 1fr);
}

.profile-candidate-stack .profile-rec-body img {
  width: 74px;
  height: 106px;
}

.profile-recommendation-card {
  padding: 0;
  overflow: hidden;
}

.profile-recommendation-card .profile-rec-head,
.profile-recommendation-card p,
.profile-recommendation-card .profile-rec-notes,
.profile-recommendation-card .profile-rec-specs {
  padding-left: 14px;
  padding-right: 14px;
}

.profile-recommendation-card .profile-rec-head {
  padding-top: 14px;
}

.profile-rec-body {
  margin: 0 14px;
  border-color: rgba(246,241,232,.12);
}

.profile-rec-notes {
  padding-bottom: 14px;
}

@media (max-width: 1120px) {
  .profile-result-composition,
  .profile-result-secondary,
  .profile-recommendation-matrix,
  .profile-two-column-report,
  .profile-profile-radar-panel {
    grid-template-columns: 1fr;
  }
  .profile-right-recs {
    position: static;
  }
  .profile-result-radar-wrap,
  .profile-radar-legend {
    margin: 0 16px 16px;
  }
  .profile-athlete-panel {
    height: auto;
  }
  .profile-athlete-canvas {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .profile-user-brief,
  .profile-signal-list,
  .profile-principle-list,
  .profile-top-specs {
    grid-template-columns: 1fr;
  }
  .profile-user-brief div {
    border-right: 0;
    border-bottom: 1px solid rgba(246,241,232,.1);
  }
  .profile-diagnosis-main p {
    font-size: 16px;
  }
  .profile-result-head h1 {
    font-size: 28px;
    line-height: 1.08;
  }
  .profile-result-section-head {
    display: grid;
    align-items: start;
  }
}

.library-card-image {
  position: relative;
  overflow: hidden;
}

.library-card-hover {
  position: absolute;
  inset: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  color: #f6f1e8;
  background: #0b0f0d;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
  pointer-events: none;
}

.library-card-image:hover .library-card-hover,
.library-card-image:focus-visible .library-card-hover {
  opacity: 1;
  transform: translateY(0);
}

.library-card-hover span {
  color: var(--signal);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
}

.library-card-hover strong {
  color: #fffaf0;
  font-size: 18px;
  line-height: 1.2;
}

.library-card-hover p {
  margin: 0;
  color: rgba(246,241,232,.68);
  font-size: 12px;
  line-height: 1.45;
}

.library-card-hover dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.library-card-hover div {
  border: 1px solid rgba(246,241,232,.12);
  padding: 7px;
  background: #111711;
}

.library-card-hover dt {
  color: rgba(246,241,232,.44);
  font-size: 10px;
}

.library-card-hover dd {
  margin: 3px 0 0;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 900;
}

.library-card-hover em {
  color: var(--signal);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.product-archive-page {
  padding-top: 28px;
}

.product-archive-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 20px;
  align-items: stretch;
}

.product-gallery,
.product-archive-summary,
.product-archive-card {
  border: 1px solid rgba(246,241,232,.14);
  background: #0b0f0d;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

.product-gallery-main {
  display: grid;
  min-height: 620px;
  place-items: center;
  background: linear-gradient(90deg, #111711 0%, #f2f2f0 48%, #111711 100%);
}

.product-gallery-main img {
  max-width: min(70%, 360px);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 26px 42px rgba(0,0,0,.25));
}

.product-archive-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.product-archive-summary h1 {
  margin: 8px 0 14px;
  color: #fffaf0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: .98;
}

.product-archive-summary p {
  color: rgba(246,241,232,.68);
  line-height: 1.68;
}

.archive-data-panel {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.archive-data-panel div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(246,241,232,.12);
  background: rgba(246,241,232,.035);
}

.archive-data-panel span {
  padding: 10px;
  color: rgba(246,241,232,.48);
  font-size: 11px;
  font-weight: 900;
}

.archive-data-panel strong {
  padding: 10px;
  color: #fffaf0;
  font-size: 12px;
  line-height: 1.35;
}

.product-archive-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
}

.product-archive-tags span {
  border: 1px solid rgba(246,241,232,.12);
  padding: 7px 9px;
  color: rgba(246,241,232,.78);
  background: #111711;
  font-size: 12px;
  font-weight: 900;
}

.product-archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.product-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.product-archive-card {
  padding: 22px;
}

.product-archive-card h2 {
  margin: 0 0 16px;
  color: #fffaf0;
  font-size: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.archive-feature-grid,
.archive-pro-list {
  display: grid;
  gap: 10px;
}

.archive-feature-grid article,
.archive-pro-list article,
.archive-empty-note {
  border: 1px solid rgba(246,241,232,.12);
  padding: 14px;
  background: #0e130f;
}

.archive-feature-grid strong,
.archive-pro-list strong,
.archive-empty-note strong {
  color: #fffaf0;
}

.archive-feature-grid p,
.archive-pro-list p,
.archive-empty-note p,
.archive-muted {
  color: rgba(246,241,232,.62);
  line-height: 1.58;
}

.archive-spec-table {
  display: grid;
  border: 1px solid rgba(246,241,232,.12);
}

.archive-spec-table div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  border-top: 1px solid rgba(246,241,232,.1);
}

.archive-spec-table div:first-child {
  border-top: 0;
}

.archive-spec-table span,
.archive-spec-table strong {
  padding: 13px;
}

.archive-spec-table span {
  color: rgba(246,241,232,.48);
  background: #0e130f;
  font-size: 12px;
  font-weight: 900;
}

.archive-spec-table strong {
  color: #fffaf0;
  background: #080b09;
}

.archive-fit-risk {
  display: grid;
  gap: 10px;
}

.archive-fit-risk div {
  border: 1px solid rgba(246,241,232,.12);
  padding: 13px;
  background: #0e130f;
}

.archive-fit-risk span {
  display: block;
  margin-bottom: 9px;
  color: rgba(246,241,232,.48);
  font-size: 11px;
  font-weight: 900;
}

.archive-fit-risk strong {
  display: inline-block;
  margin: 0 6px 6px 0;
  border: 1px solid rgba(223,255,85,.18);
  padding: 6px 8px;
  color: var(--signal);
  background: rgba(223,255,85,.07);
  font-size: 12px;
}

.archive-fit-risk p {
  margin: 0;
}

@media (max-width: 1020px) {
  .product-archive-hero,
  .product-archive-grid {
    grid-template-columns: 1fr;
  }
  .product-gallery-main {
    min-height: 460px;
  }
}

/* ==========================================================================
   USER EQUIPMENT DOSSIER PAGE
   ========================================================================== */

.user-dossier-page {
  width: min(1360px, calc(100vw - 48px));
  padding: 26px 0 54px;
  color: rgba(246,241,232,.92);
}

.user-dossier-shell {
  display: grid;
  gap: 18px;
}

.dossier-empty-gate,
.user-dossier-head,
.dossier-panel,
.dossier-status {
  border: 1px solid rgba(223,255,85,.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(223,255,85,.075), transparent 42%, rgba(197,94,50,.08)),
    rgba(5,10,8,.86);
  box-shadow: 0 18px 56px rgba(0,0,0,.28);
}

.dossier-empty-gate {
  display: grid;
  gap: 14px;
  max-width: 760px;
  min-height: 360px;
  align-content: center;
  margin: 42px auto 0;
  padding: 42px;
  text-align: center;
}

.dossier-empty-gate h1,
.user-dossier-head h1,
.dossier-route-summary h2 {
  margin: 0;
  color: #fffaf0;
  letter-spacing: 0;
}

.dossier-empty-gate p,
.user-dossier-head p,
.dossier-next-panel p,
.dossier-route-summary p,
.dossier-top-pick p,
.dossier-shortlist-row p,
.dossier-racket-card p,
.dossier-feedback-item p,
.dossier-muted {
  margin: 0;
  color: rgba(246,241,232,.68);
  line-height: 1.58;
}

.user-dossier-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 30px;
}

.user-dossier-head h1 {
  font-size: 42px;
  line-height: 1.04;
}

.user-dossier-head p {
  max-width: 760px;
  margin-top: 10px;
  font-size: 15px;
}

.user-dossier-actions,
.dossier-action-row,
.dossier-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.user-dossier-actions {
  justify-content: flex-end;
  flex: 0 0 auto;
}

.dossier-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  color: var(--signal);
  font-weight: 900;
}

.dossier-status.error {
  border-color: rgba(255,96,72,.52);
  color: #ffb39e;
  background: rgba(57,16,12,.72);
}

.dossier-status button {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px;
  padding: 8px 12px;
  color: #fffaf0;
  background: rgba(255,255,255,.08);
  font-weight: 850;
}

.dossier-top-grid,
.dossier-split-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.dossier-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 18px;
  align-items: start;
}

.dossier-workspace-main,
.dossier-workspace-side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.dossier-workspace-side {
  align-content: start;
}

.dossier-panel {
  min-width: 0;
  padding: 20px;
}

.dossier-panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dossier-panel-head span,
.dossier-kpi-grid small,
.dossier-route-chip small,
.dossier-mini-list dt,
.dossier-racket-card span,
.dossier-top-pick > span,
.dossier-shortlist-row span,
.dossier-feedback-item span,
.dossier-string-note b,
.dossier-profile-grid span {
  color: rgba(246,241,232,.52);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dossier-panel-head strong {
  color: var(--signal);
  font-size: 15px;
  line-height: 1.3;
  text-align: right;
}

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

.dossier-kpi-grid span,
.dossier-route-chip,
.dossier-mini-list div,
.dossier-profile-grid article,
.dossier-string-note,
.dossier-empty {
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 8px;
  background: rgba(246,241,232,.045);
}

.dossier-kpi-grid span {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 14px;
}

.dossier-kpi-grid b {
  color: #fffaf0;
  font-size: 28px;
  line-height: 1;
}

.dossier-overview-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 18px;
  align-items: stretch;
}

.dossier-overview-main-panel,
.dossier-overview-side-panel {
  height: 100%;
}

.dossier-overview-main,
.dossier-overview-side {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.dossier-overview-main {
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
}

.dossier-overview-side {
  gap: 18px;
}

.dossier-overview-side-panel {
  display: grid;
  gap: 12px;
}

.dossier-overview-side-panel .dossier-panel-head {
  margin-bottom: 0;
}

.dossier-overview-section,
.dossier-overview-kpis,
.dossier-overview-meta {
  min-width: 0;
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 8px;
  padding: 13px;
  background: rgba(246,241,232,.045);
}

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

.dossier-overview-section h3 {
  margin: 0;
  color: #fffaf0;
  font-size: 15px;
}

.dossier-overview-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dossier-overview-facts div,
.dossier-overview-meta div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dossier-overview-facts span,
.dossier-overview-pills small,
.dossier-overview-kpis small,
.dossier-overview-meta span {
  color: rgba(246,241,232,.5);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dossier-overview-facts strong,
.dossier-overview-meta strong {
  overflow: hidden;
  color: #fffaf0;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dossier-overview-pills {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.dossier-overview-pills span {
  display: grid;
  gap: 5px;
  min-height: 54px;
  border: 1px solid rgba(246,241,232,.1);
  border-radius: 7px;
  padding: 8px;
  background: rgba(3,7,6,.48);
}

.dossier-overview-pills b {
  color: var(--signal);
  font-size: 15px;
}

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

.dossier-overview-kpis div {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
}

.dossier-overview-kpis b {
  overflow: hidden;
  color: #fffaf0;
  font-size: 24px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dossier-overview-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.dossier-text-link,
.dossier-completion-done {
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--signal);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dossier-completion-done {
  color: rgba(246,241,232,.54);
  text-decoration: none;
}

.dossier-route-chip {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 14px;
}

.dossier-route-chip strong {
  color: var(--signal);
  font-size: 20px;
}

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

.dossier-mini-list.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dossier-mini-list div {
  min-width: 0;
  padding: 12px;
}

.dossier-mini-list dt,
.dossier-mini-list dd {
  margin: 0;
}

.dossier-mini-list dd {
  overflow: hidden;
  margin-top: 7px;
  color: #fffaf0;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dossier-next-panel {
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.dossier-next-panel .dossier-panel-head strong {
  color: #fffaf0;
  font-size: 20px;
  text-align: left;
}

.dossier-action-row {
  margin-top: 6px;
}

.dossier-action-row .clay-button,
.dossier-action-row .light-button,
.user-dossier-actions .clay-button,
.user-dossier-actions .light-button {
  min-width: 136px;
}

.dossier-latest-plan {
  display: grid;
  gap: 16px;
}

.dossier-plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 16px;
}

.dossier-workspace-main .dossier-plan-grid {
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, .76fr);
}

.dossier-route-summary,
.dossier-top-pick,
.dossier-shortlist-row article,
.dossier-racket-card,
.dossier-feedback-item {
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 8px;
  background: rgba(3,7,6,.58);
}

.dossier-route-summary {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 20px;
}

.dossier-route-summary h2 {
  color: var(--signal);
  font-size: 30px;
}

.dossier-route-summary .dossier-action-row {
  flex-wrap: nowrap;
}

.dossier-route-summary .dossier-action-row .clay-button,
.dossier-route-summary .dossier-action-row .light-button {
  min-width: 0;
  padding-inline: 12px;
}

.dossier-top-pick {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.dossier-top-pick > span {
  grid-column: 1 / -1;
  color: var(--signal);
}

.dossier-top-pick img,
.dossier-racket-card img {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: rgba(246,241,232,.06);
  object-fit: contain;
}

.dossier-top-pick img {
  height: 160px;
}

.dossier-top-pick h3,
.dossier-shortlist-row strong,
.dossier-racket-card h3,
.dossier-feedback-item strong,
.dossier-profile-grid h3 {
  margin: 0;
  color: #fffaf0;
}

.dossier-top-pick h3 {
  font-size: 22px;
}

.dossier-top-pick div {
  display: grid;
  gap: 9px;
}

.dossier-top-pick div strong {
  width: fit-content;
  border: 1px solid rgba(223,255,85,.38);
  border-radius: 999px;
  padding: 5px 10px;
  color: #07100b;
  background: var(--signal);
  font-size: 14px;
}

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

.dossier-shortlist-row article {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 14px;
}

.dossier-string-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
}

.dossier-string-note span {
  color: rgba(246,241,232,.78);
  font-weight: 760;
  text-align: right;
}

.dossier-list-panel {
  min-height: 360px;
}

.dossier-workspace-side .dossier-list-panel {
  min-height: 0;
  padding: 18px;
}

.dossier-workspace-side .dossier-feedback-groups {
  grid-template-columns: 1fr;
}

.dossier-workspace-side .dossier-racket-card {
  grid-template-columns: 76px minmax(0, 1fr);
}

.dossier-workspace-side .dossier-racket-card img {
  height: 76px;
}

.dossier-workspace-side .dossier-card-actions {
  grid-column: 1 / -1;
  flex-direction: row;
}

.dossier-workspace-side .dossier-card-actions button {
  flex: 1 1 0;
}

.dossier-racket-list,
.dossier-feedback-groups {
  display: grid;
  gap: 12px;
}

.dossier-racket-card {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.dossier-racket-card img {
  height: 92px;
}

.dossier-racket-card > div:nth-child(2) {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.dossier-racket-card h3,
.dossier-racket-card p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dossier-racket-card small {
  color: rgba(246,241,232,.44);
  font-weight: 760;
}

.dossier-card-actions {
  flex-direction: column;
  align-items: stretch;
}

.dossier-card-actions button {
  min-width: 92px;
  border: 1px solid rgba(246,241,232,.16);
  border-radius: 6px;
  padding: 8px 10px;
  color: #fffaf0;
  background: rgba(246,241,232,.055);
  font-weight: 850;
}

.dossier-card-actions button:first-child {
  border-color: rgba(223,255,85,.46);
  color: var(--signal);
}

.dossier-feedback-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.dossier-feedback-groups h3 {
  margin: 0 0 10px;
  color: rgba(246,241,232,.78);
  font-size: 14px;
}

.dossier-feedback-item {
  display: grid;
  gap: 7px;
  padding: 12px;
}

.dossier-feedback-item + .dossier-feedback-item {
  margin-top: 10px;
}

.dossier-feedback-item div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dossier-feedback-item small {
  border: 1px solid rgba(223,255,85,.22);
  border-radius: 999px;
  padding: 3px 7px;
  color: var(--signal);
  background: rgba(223,255,85,.07);
  font-weight: 850;
}

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

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

.dossier-profile-grid article {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.dossier-profile-grid h3 {
  font-size: 16px;
}

.dossier-profile-grid article > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(246,241,232,.08);
  padding-top: 9px;
}

.dossier-profile-grid strong {
  overflow: hidden;
  color: #fffaf0;
  font-size: 13px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dossier-empty {
  display: grid;
  place-items: center;
  min-height: 160px;
  color: rgba(246,241,232,.6);
  font-weight: 850;
}

@media (max-width: 1120px) {
  .user-dossier-head,
  .dossier-top-grid,
  .dossier-split-grid,
  .dossier-plan-grid,
  .dossier-profile-grid {
    grid-template-columns: 1fr;
  }

  .user-dossier-head {
    display: grid;
  }
}

/* ==========================================================================
   PREMIUM DOSSIER PAGE (New Profile Redesign)
   ========================================================================== */

:root {
  --glass-bg: rgba(9, 13, 12, 0.4);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glow-primary: rgba(223, 255, 85, 0.15);
  --glow-accent: rgba(197, 94, 50, 0.2);
}

.premium-dossier-page {
  padding: 24px 0 40px;
  animation: fadeIn 0.8s ease-out;
}

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

.premium-dossier-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.premium-dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 0;
  padding-bottom: 0;
}

.premium-dossier-header h1 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px;
  line-height: 1.18;
  color: rgba(246,241,232,.94);
  font-weight: 820;
  letter-spacing: 0;
  margin: 0;
}

.decision-plan-hero {
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: stretch;
  margin: 16px 0 22px;
}

.decision-plan-lead {
  margin: 16px 0 22px;
}

.decision-route-panel,
.decision-shortlist-panel,
.decision-detail-panel,
.decision-safety-band {
  border: 1px solid rgba(223,255,85,.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223,255,85,.085), transparent 36%, rgba(197,94,50,.1)),
    rgba(6,9,8,.84);
  box-shadow: 0 18px 52px rgba(0,0,0,.34);
}

.decision-route-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
}

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

.decision-route-token {
  width: fit-content;
  border: 1px solid rgba(223,255,85,.38);
  border-radius: 6px;
  padding: 5px 8px;
  color: var(--signal);
  background: rgba(223,255,85,.08);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 950;
}

.decision-route-panel h2 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
}

.decision-route-copy,
.decision-missing-info p,
.decision-panel-body p {
  margin: 0;
  color: rgba(246,241,232,.7);
  font-size: 13px;
  line-height: 1.55;
}

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

.decision-signal-grid span,
.decision-status-strip span {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 7px;
  padding: 10px;
  background: rgba(5,8,7,.56);
}

.decision-signal-grid small,
.decision-status-strip small,
.decision-primary-action small,
.decision-string-grid small {
  color: rgba(246,241,232,.52);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.decision-signal-grid strong {
  color: var(--signal);
  font-size: 24px;
  line-height: 1;
}

.decision-signal-grid em {
  color: rgba(246,241,232,.62);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.decision-primary-action {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(197,94,50,.34);
  border-radius: 8px;
  padding: 12px;
  background: rgba(197,94,50,.1);
}

.decision-primary-action strong {
  color: #fffaf0;
  font-size: 18px;
}

.decision-missing-info {
  display: grid;
  gap: 8px;
}

.decision-missing-info > span {
  color: rgba(246,241,232,.58);
  font-size: 12px;
  font-weight: 900;
}

.decision-missing-info b,
.decision-rules b,
.decision-not-grid b {
  margin-right: 8px;
  color: var(--signal);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.decision-shortlist-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 16px;
}

.decision-shortlist-panel header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.decision-shortlist-panel header span {
  color: rgba(246,241,232,.58);
  font-size: 12px;
  font-weight: 900;
}

.decision-shortlist-panel header strong {
  color: var(--signal);
  font-size: 13px;
}

.decision-shortlist {
  display: grid;
  gap: 10px;
}

.decision-shortlist-card {
  display: grid;
  grid-template-columns: 48px 78px minmax(0, 1fr) 158px;
  gap: 12px;
  align-items: center;
  min-height: 132px;
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 8px;
  padding: 10px;
  background: rgba(5,8,7,.62);
}

.decision-shortlist-rank {
  display: grid;
  place-items: center;
  height: 42px;
  border: 1px solid rgba(223,255,85,.36);
  border-radius: 6px;
  color: #06100b;
  background: var(--signal);
  font-size: 12px;
  font-weight: 950;
}

.decision-shortlist-card img {
  width: 72px;
  height: 112px;
  object-fit: contain;
}

.decision-shortlist-copy {
  min-width: 0;
}

.decision-shortlist-copy h3 {
  margin: 0 0 5px;
  color: #fffaf0;
  font-size: 18px;
  line-height: 1.18;
}

.decision-shortlist-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(246,241,232,.68);
  font-size: 12px;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.decision-shortlist-copy > strong {
  display: block;
  margin-top: 8px;
  color: var(--signal);
}

.decision-card-actions {
  display: grid;
  gap: 7px;
}

.decision-card-actions button,
.decision-inline-entry button {
  min-height: 34px;
  border: 1px solid rgba(246,241,232,.18);
  border-radius: 7px;
  padding: 0 10px;
  color: #fffaf0;
  background: rgba(246,241,232,.08);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.decision-card-actions button:first-child {
  border-color: rgba(223,255,85,.72);
  color: #07100b;
  background: var(--signal);
}

.decision-plan-sections {
  display: grid;
  gap: 22px;
}

.decision-dossier-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.decision-detail-panel {
  overflow: hidden;
}

.decision-detail-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  color: #fffaf0;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.decision-panel-body {
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(246,241,232,.1);
  padding: 16px;
}

.decision-status-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.decision-status-strip strong {
  color: var(--signal);
  font-size: 18px;
}

.decision-candidate-list,
.decision-rules,
.decision-not-grid {
  display: grid;
  gap: 8px;
}

.decision-candidate-list {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.decision-candidate-list span,
.decision-inline-entry {
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 7px;
  padding: 9px;
  color: rgba(246,241,232,.76);
  background: rgba(246,241,232,.045);
  font-size: 12px;
}

.decision-spec-table {
  display: grid;
  border: 1px solid rgba(246,241,232,.12);
}

.decision-spec-table div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 9px 10px;
  color: rgba(246,241,232,.72);
  font-size: 12px;
}

.decision-spec-table div + div {
  border-top: 1px solid rgba(246,241,232,.1);
}

.decision-spec-table b {
  color: rgba(246,241,232,.52);
}

.decision-spec-table strong {
  color: var(--signal);
}

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

.decision-string-grid div {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 8px;
  padding: 12px;
  background: rgba(5,8,7,.48);
}

.decision-string-grid strong {
  color: #fffaf0;
  font-size: 15px;
}

.decision-string-grid span {
  color: var(--signal);
  font-size: 12px;
  line-height: 1.35;
}

.decision-feedback-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 8px;
  padding: 12px;
  background: rgba(5,8,7,.44);
}

.decision-feedback-form label {
  display: grid;
  gap: 6px;
}

.decision-feedback-form label.wide,
.decision-feedback-form button {
  grid-column: 1 / -1;
}

.decision-feedback-form span {
  color: rgba(246,241,232,.56);
  font-size: 11px;
  font-weight: 900;
}

.decision-feedback-form select,
.decision-feedback-form textarea {
  min-width: 0;
  border: 1px solid rgba(246,241,232,.16);
  border-radius: 7px;
  padding: 10px;
  color: #fffaf0;
  background: rgba(10,15,12,.9);
  font: inherit;
}

.decision-feedback-form textarea {
  min-height: 72px;
  resize: vertical;
}

.decision-feedback-result {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(223,255,85,.35);
  border-radius: 8px;
  padding: 12px;
  background: rgba(223,255,85,.08);
}

.decision-feedback-result span {
  width: fit-content;
  border-radius: 6px;
  padding: 4px 8px;
  color: #07100b;
  background: var(--signal);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 950;
}

.decision-feedback-result strong {
  color: #fffaf0;
}

.decision-feedback-result ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: rgba(246,241,232,.72);
  font-size: 12px;
}

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

.decision-not-grid h3 {
  margin: 0 0 8px;
  color: #fffaf0;
  font-size: 15px;
}

.decision-safety-band {
  padding: 14px 16px;
}

.decision-safety-band p {
  margin: 0;
  color: #ffd7cf;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1020px) {
  .decision-plan-hero,
  .decision-dossier-band,
  .decision-detail-grid {
    grid-template-columns: 1fr;
  }

  .decision-shortlist-card {
    grid-template-columns: 44px 70px minmax(0, 1fr);
  }

  .decision-card-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .decision-plan-hero {
    gap: 14px;
  }

  .decision-route-panel,
  .decision-shortlist-panel,
  .decision-panel-body {
    padding: 12px;
  }

  .decision-route-panel {
    gap: 10px;
  }

  .decision-route-panel h2 {
    font-size: 30px;
    line-height: 1.06;
  }

  .decision-status-strip,
  .decision-string-grid,
  .decision-feedback-form,
  .decision-not-grid,
  .decision-card-actions {
    grid-template-columns: 1fr;
  }

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

  .decision-signal-grid span {
    padding: 8px 7px;
  }

  .decision-signal-grid strong {
    font-size: 20px;
  }

  .decision-signal-grid small,
  .decision-signal-grid em {
    font-size: 9px;
  }

  .decision-primary-action {
    padding: 10px;
  }

  .decision-missing-info p {
    font-size: 12px;
  }

  .decision-missing-info p:nth-of-type(n+2) {
    display: none;
  }

  .decision-shortlist-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .decision-shortlist-card img {
    grid-row: span 2;
    width: 64px;
    height: 92px;
  }

  .decision-shortlist-copy h3 {
    font-size: 16px;
  }

  .decision-spec-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.premium-dossier-layout {
  --premium-main-card-height: 620px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 30px;
  align-items: start;
}

.premium-dossier-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

/* Left Panel: Glassmorphism Dossier */
.premium-dossier-glass-panel {
  position: relative;
  background: rgba(6, 9, 8, 0.82);
  border: 1px solid rgba(223, 255, 85, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: var(--premium-main-card-height);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.premium-dossier-glass-panel::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -60px;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle, rgba(197,94,50,.14) 0%, transparent 64%);
  pointer-events: none;
}

.premium-dossier-glass-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 255, 85, 0.46);
  box-shadow: 0 16px 48px rgba(223, 255, 85, 0.1);
}

.dossier-info-header {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: 104px;
  padding: 18px 24px 18px;
  border-bottom: 1px solid rgba(246,241,232,.08);
  overflow: hidden;
}

.dossier-stage-title {
  box-sizing: border-box;
  width: fit-content;
  height: 32px;
  margin: 0 0 8px 0;
  border: 1px solid rgba(223,255,85,.28);
  border-radius: 6px;
  padding: 0 12px;
  background: rgba(223,255,85,.085);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  color: rgba(255,250,240,.98);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.dossier-dot {
  color: var(--signal);
  font-size: 18px;
  line-height: 1;
}

.dossier-summary-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 12.5px;
  color: rgba(246, 241, 232, 0.84);
  line-height: 1.45;
  margin: 0;
}

.dossier-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.dossier-tags span {
  width: max-content;
  max-width: 100%;
  background: rgba(246,241,232,.06);
  border: 1px solid rgba(246,241,232,.14);
  padding: 7px 9px;
  border-radius: 6px;
  font-size: 11px;
  color: rgba(246,241,232,.88);
  line-height: 1.25;
}

.dossier-athlete-showcase {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(112px, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 12px 18px 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 22%, rgba(45,139,255,.16), transparent 30%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.42) 100%);
}

.dossier-athlete-frame {
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(223,255,85,.18);
  border-radius: 14px;
  background: rgba(0,0,0,.28);
}

.dossier-side-tags {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dossier-side-tags span,
.dossier-profile-tags span,
.dossier-recommendation-tags span {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.dossier-profile-tags,
.dossier-recommendation-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.dossier-profile-tags span {
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(98, 188, 236, .48);
  background: rgba(42, 96, 126, .36);
  color: rgba(232, 248, 255, .98);
}

.dossier-athlete-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.premium-athlete-portrait {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.premium-athlete-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(1.03) contrast(1.04);
}

.premium-athlete-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,7,.06), transparent 42%, rgba(5,8,7,.18)),
    radial-gradient(circle at 50% 38%, transparent 32%, rgba(5,8,7,.28));
  pointer-events: none;
}

.premium-athlete-racket-match {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(223,255,85,.22);
  background: rgba(5,8,7,.84);
  box-shadow: 0 10px 24px rgba(0,0,0,.32);
}

.premium-athlete-racket-match small {
  color: rgba(246,241,232,.62);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.premium-athlete-racket-match strong {
  color: #fffaf0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.premium-athlete-racket-match {
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
}

.premium-athlete-racket-match img {
  width: 50px;
  height: 66px;
  object-fit: contain;
}

.premium-athlete-racket-match div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.premium-athlete-racket-match strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Athlete Visual Rescope */
.premium-athlete-visual {
  position: relative;
  width: 260px;
  height: 320px;
  z-index: 1;
}

.premium-scan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246,241,232,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,241,232,.04) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 80%);
}

.premium-athlete-svg {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-athlete-svg path,
.premium-athlete-svg circle,
.premium-athlete-svg ellipse {
  stroke: url(#premiumAthleteGlow);
  stroke-width: 2.5;
}

.premium-athlete-shadow { stroke: rgba(246,241,232,.12) !important; stroke-width: 4 !important; }
.premium-athlete-swing-trail { stroke: var(--glow-accent) !important; stroke-dasharray: 4 8; animation: trailDash 1s linear infinite; }

@keyframes trailDash {
  to { stroke-dashoffset: -24; }
}

.premium-attr-label {
  position: absolute;
  color: rgba(246, 241, 232, 0.9);
  font-size: 10px;
  font-weight: 700;
  background: rgba(5, 8, 7, 0.6);
  border: 1px solid rgba(223, 255, 85, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 3;
  backdrop-filter: blur(4px);
  text-align: center;
}

.premium-attr-label.level { top: 12%; left: 0%; }
.premium-attr-label.body { top: 48%; right: -5%; }
.premium-attr-label.style { bottom: 15%; left: -5%; }

.premium-scan-line {
  position: absolute;
  top: 0; left: -10%; right: -10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #dfff55, transparent);
  box-shadow: 0 0 8px #dfff55;
  animation: premiumScan var(--scan-speed) linear infinite;
  z-index: 4;
}

@keyframes premiumScan {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(320px); opacity: 0; }
}

/* Right Panel: Match Cards */
.premium-dossier-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Hero Card */
.premium-hero-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(223, 255, 85, 0.3);
  border-radius: 16px;
  padding: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  height: var(--premium-main-card-height);
  display: flex;
  flex-direction: column;
}

.premium-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(223, 255, 85, 0.1);
}

.hero-card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--glow-primary) 0%, transparent 60%);
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.hero-rank-badge {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  background: #dfff55;
  color: #000;
  padding: 0 12px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-match-score {
  font-size: 28px;
  font-weight: 900;
  color: #dfff55;
  text-shadow: 0 0 20px rgba(223, 255, 85, 0.4);
}

.hero-card-main {
  display: grid;
  grid-template-columns: 176px 1fr;
  gap: 20px;
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
}

.hero-racket-visual {
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.05);
}

.hero-racket-visual img {
  width: 100%;
  max-width: 150px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.hero-racket-info h3 {
  font-size: 20px;
  color: #fffaf0;
  margin: 0 0 7px 0;
  line-height: 1.22;
}

.hero-why {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 0 0 14px 0;
}

.hero-specs-pill {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-specs-pill span {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 11px;
  color: #fff;
  display: flex;
  gap: 6px;
}

.hero-specs-pill span strong {
  display: inline;
  margin: 0;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.hero-radar-wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 14px;
  padding-top: 12px;
}

.hero-radar-wrapper span {
  color: rgba(255,255,255,0.46);
  font-size: 11px;
  font-weight: 800;
}

.premium-hero-radar {
  width: 140px;
  height: auto;
  justify-self: end;
}

.hero-advice {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 12px;
}

.advice-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.advice-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--signal);
  font-size: 11px;
  font-weight: bold;
  flex-shrink: 0;
}

.advice-item p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.advice-item p strong {
  display: inline;
  margin: 0 4px 0 0;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 800;
  line-height: inherit;
}

/* Compact Cards */
.premium-compact-recs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.premium-dossier-bottom-recs {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.premium-compact-card {
  min-height: 252px;
  background: rgba(6, 9, 8, 0.78);
  border: 1px solid rgba(246,241,232,.12);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.premium-compact-card:hover {
  transform: translateY(-3px);
  background: rgba(8, 12, 11, 0.88);
  border-color: rgba(223,255,85,.32);
  box-shadow: 0 18px 42px rgba(223,255,85,.08);
}

.compact-rank {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  color: rgba(246,241,232,.54);
  font-size: 11px;
  font-weight: 900;
}

.compact-rank span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  border: 1px solid rgba(223,255,85,.24);
  border-radius: 6px;
  padding: 0 10px;
  background: rgba(223,255,85,.07);
  color: rgba(246,241,232,.9);
}

.compact-rank strong {
  color: var(--signal);
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.compact-layout {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 112px;
  gap: 16px;
  align-items: stretch;
}

.compact-media {
  min-width: 0;
}

.compact-img-wrap {
  width: 100%;
  height: 170px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(246,241,232,.08);
  border-radius: 10px;
  overflow: hidden;
}

.compact-img-wrap img {
  width: 86%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.42));
}

.compact-info {
  min-width: 0;
}

.compact-info h4 {
  margin: 0 0 7px 0;
  color: rgba(255,250,240,.96);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
}

.compact-why {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0 0 10px 0;
  color: rgba(246,241,232,.68);
  font-size: 12px;
  line-height: 1.48;
}

.compact-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.compact-specs span {
  min-width: 0;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(246,241,232,.1);
  border-radius: 7px;
  padding: 6px 8px;
  background: rgba(255,255,255,.045);
}

.compact-specs small {
  color: rgba(246,241,232,.44);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.compact-specs strong {
  overflow: hidden;
  color: rgba(255,250,240,.9);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-guidance {
  display: grid;
  gap: 6px;
}

.compact-guidance p {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  color: rgba(246,241,232,.58);
  font-size: 11px;
  line-height: 1.42;
}

.compact-guidance strong {
  color: rgba(223,255,85,.78);
  font-size: 10px;
  line-height: 1.42;
  font-weight: 900;
}

.compact-radar-panel {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
  justify-items: center;
  border-left: 1px solid rgba(246,241,232,.08);
  padding-left: 12px;
}

.compact-radar-panel span {
  color: rgba(246,241,232,.48);
  font-size: 10px;
  font-weight: 900;
}

.premium-compact-radar {
  width: 104px;
  height: auto;
}

/* Brand classification */
.brand-lineage-page {
  min-width: 1180px;
  min-height: calc(100vh - 112px);
  padding: 24px;
  scroll-padding-top: 112px;
  background:
    linear-gradient(180deg, rgba(6, 9, 8, .96), rgba(12, 13, 11, .98)),
    url("assets/clay-racket-shoes.jpg") center/cover fixed;
}

.brand-lineage-shell {
  width: min(1480px, 100%);
  min-height: calc(100vh - 168px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.brand-lineage-sidebar,
.brand-lineage-main {
  min-width: 0;
  border: 1px solid rgba(246, 241, 232, .12);
  border-radius: 8px;
  background: rgba(7, 10, 9, .82);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.brand-lineage-sidebar {
  position: sticky;
  top: 104px;
  height: calc(100vh - 148px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
}

.brand-lineage-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-lineage-mark > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #071006;
  background: linear-gradient(135deg, var(--signal), #88d95a);
  font-weight: 820;
}

.brand-lineage-mark strong,
.brand-lineage-mark small {
  display: block;
  font-family: var(--font-cn-readable);
  letter-spacing: 0;
}

.brand-lineage-mark strong {
  color: #fffaf0;
  font-size: 15px;
  font-weight: 720;
}

.brand-lineage-mark small {
  color: rgba(246, 241, 232, .48);
  font-size: 11px;
  font-weight: 620;
}

.brand-lineage-brand-list {
  min-height: 0;
  display: grid;
  gap: 8px;
  overflow: auto;
  padding-right: 2px;
}

.brand-lineage-brand-card {
  width: 100%;
  min-height: 84px;
  display: grid;
  gap: 7px;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  padding: 11px;
  color: inherit;
  text-align: left;
  background: rgba(255, 255, 255, .04);
}

.brand-lineage-brand-card span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.brand-lineage-brand-card strong {
  color: #fffaf0;
  font-size: 14px;
  font-weight: 720;
}

.brand-lineage-brand-card small {
  flex: none;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 999px;
  padding: 4px 7px;
  color: rgba(246, 241, 232, .58);
  font-size: 10px;
  font-weight: 620;
}

.brand-lineage-brand-card em {
  color: rgba(246, 241, 232, .58);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.brand-lineage-brand-card:hover,
.brand-lineage-brand-card.active {
  border-color: rgba(223, 255, 85, .38);
  background: rgba(223, 255, 85, .08);
}

.brand-lineage-main {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}

.brand-lineage-topbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  padding: 14px;
}

.brand-lineage-overview {
  min-width: 0;
  display: grid;
}

.brand-lineage-command {
  position: relative;
  height: clamp(430px, calc(100vh - 290px), 650px);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(170px, 210px) minmax(320px, 1fr) minmax(286px, 380px);
  gap: 18px;
  scroll-margin-top: 112px;
  overflow: hidden;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  padding: 16px;
  background:
    radial-gradient(circle at 34% 50%, rgba(223, 255, 85, .08), transparent 34%),
    radial-gradient(circle at 74% 16%, rgba(121, 221, 255, .07), transparent 30%),
    linear-gradient(180deg, rgba(10, 15, 14, .98), rgba(4, 6, 6, .98));
}

.brand-lineage-command::before,
.brand-lineage-command::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.brand-lineage-command::before {
  inset: 14px;
  border: 1px solid rgba(246, 241, 232, .045);
  border-radius: 8px;
}

.brand-lineage-command::after {
  display: none;
}

.brand-lineage-core {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  align-content: stretch;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 9px;
  border: 1px solid rgba(223, 255, 85, .2);
  border-radius: 8px;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 44%, rgba(223, 255, 85, .16), transparent 45%),
    linear-gradient(180deg, rgba(223, 255, 85, .07), rgba(121, 221, 255, .035)),
    rgba(255, 255, 255, .04);
}

.brand-lineage-core > span {
  color: rgba(223, 255, 85, .72);
  font-size: 11px;
  font-weight: 760;
}

.brand-lineage-core h1 {
  margin: 0;
  color: #fffaf0;
  font-size: 38px;
  line-height: .95;
  letter-spacing: 0;
}

.brand-lineage-core p {
  margin: 0;
  color: rgba(246, 241, 232, .58);
  font-size: 12px;
  line-height: 1.55;
}

.brand-lineage-core-intro {
  align-self: start;
  border: 1px solid rgba(246, 241, 232, .08);
  border-radius: 8px;
  padding: 10px;
  background: rgba(0, 0, 0, .16);
}

.brand-lineage-core-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.brand-lineage-core-stats strong {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(246, 241, 232, .09);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  background: rgba(0, 0, 0, .2);
}

.brand-lineage-core-stats b {
  color: #fffaf0;
  font-size: 18px;
  line-height: 1;
}

.brand-lineage-core-stats span {
  color: rgba(246, 241, 232, .48);
  font-size: 10px;
  font-weight: 620;
}

.brand-lineage-topology {
  position: relative;
  z-index: 1;
  min-height: 0;
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 50%, rgba(223, 255, 85, .105), transparent 26%),
    radial-gradient(ellipse at 72% 50%, rgba(121, 221, 255, .055), transparent 58%),
    rgba(0, 0, 0, .16);
}

.brand-lineage-flow-origin {
  position: absolute;
  left: calc(10% - 39px);
  top: 50%;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(223, 255, 85, .28);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(223, 255, 85, .17), rgba(223, 255, 85, .045) 44%, transparent 68%),
    rgba(4, 7, 7, .62);
  box-shadow: inset 0 0 28px rgba(223, 255, 85, .075), 0 0 32px rgba(223, 255, 85, .08);
  transform: translateY(-50%);
}

.brand-lineage-flow-origin i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 24px rgba(223, 255, 85, .38);
}

.brand-lineage-beams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .72;
  pointer-events: none;
}

.brand-lineage-beams path {
  fill: none;
  stroke: rgba(121, 221, 255, .22);
  stroke-linecap: round;
  stroke-width: .72;
  vector-effect: non-scaling-stroke;
}

.brand-lineage-beams path.active {
  stroke: rgba(223, 255, 85, .74);
  stroke-width: 1.08;
}

.brand-lineage-node {
  position: absolute;
  right: 5%;
  top: var(--node-y);
  width: 196px;
  min-height: 60px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid color-mix(in srgb, var(--cluster-color) 34%, rgba(246, 241, 232, .08));
  border-radius: 8px;
  padding: 9px 13px;
  color: inherit;
  text-align: left;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cluster-color) 11%, transparent), rgba(255, 255, 255, .035)),
    rgba(5, 8, 8, .92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
  scroll-margin-top: 112px;
  transform: translateY(-50%);
}

.brand-lineage-node:hover,
.brand-lineage-node.active {
  border-color: color-mix(in srgb, var(--cluster-color) 72%, white 0%);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cluster-color) 18%, transparent), rgba(255, 255, 255, .045)),
    rgba(5, 8, 8, .96);
}

.brand-lineage-node span {
  color: var(--cluster-color);
  font-size: 10px;
  font-weight: 760;
}

.brand-lineage-node strong {
  color: #fffaf0;
  font-size: 18px;
  line-height: 1.05;
}

.brand-lineage-node small {
  color: rgba(246, 241, 232, .52);
  font-size: 11px;
  font-weight: 620;
}

.brand-lineage-insight {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: grid;
}

.brand-lineage-insight-card {
  height: 100%;
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 8px;
  border: 1px solid color-mix(in srgb, var(--cluster-color) 36%, rgba(246, 241, 232, .08));
  border-radius: 8px;
  padding: 12px;
  background:
    radial-gradient(circle at 82% 16%, color-mix(in srgb, var(--cluster-color) 18%, transparent), transparent 34%),
    linear-gradient(160deg, color-mix(in srgb, var(--cluster-color) 11%, transparent), rgba(255, 255, 255, .035)),
    rgba(0, 0, 0, .2);
}

.brand-lineage-insight-top {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 10px;
  align-items: start;
}

.brand-lineage-insight-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.brand-lineage-insight-copy span,
.brand-lineage-insight-relation span {
  color: var(--cluster-color);
  font-size: 11px;
  font-weight: 760;
}

.brand-lineage-insight-copy strong {
  overflow-wrap: anywhere;
  color: #fffaf0;
  font-size: 24px;
  line-height: 1.08;
}

.brand-lineage-insight-copy small {
  color: rgba(246, 241, 232, .55);
  font-size: 11px;
  line-height: 1.42;
}

.brand-lineage-insight-visual {
  width: 64px;
  height: 74px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cluster-color) 28%, rgba(246, 241, 232, .08));
  border-radius: 8px;
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--cluster-color) 15%, transparent), transparent 65%),
    rgba(0, 0, 0, .18);
}

.brand-lineage-insight-visual img,
.brand-lineage-insight-visual svg {
  max-width: 60px;
  max-height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .44));
}

.brand-lineage-insight-position,
.brand-lineage-insight-relation p {
  margin: 0;
  color: rgba(246, 241, 232, .62);
  font-size: 11px;
  line-height: 1.52;
}

.brand-lineage-model-detail {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--cluster-color) 22%, rgba(246, 241, 232, .08));
  border-radius: 8px;
  padding: 8px;
  background: color-mix(in srgb, var(--cluster-color) 7%, rgba(0, 0, 0, .2));
}

.brand-lineage-model-detail-head {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brand-lineage-model-detail-head span {
  color: var(--cluster-color);
  font-size: 10px;
  font-weight: 760;
}

.brand-lineage-model-detail-head strong {
  overflow: hidden;
  color: #fffaf0;
  font-size: 17px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-lineage-model-detail-head small {
  color: rgba(246, 241, 232, .54);
  font-size: 10px;
  line-height: 1.2;
}

.brand-lineage-insight-metrics {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(246, 241, 232, .08);
  border-radius: 8px;
  padding: 6px;
  background: rgba(0, 0, 0, .18);
}

.brand-lineage-focus-models {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.brand-lineage-focus-models button {
  min-width: 0;
  min-height: 46px;
  display: grid;
  align-content: center;
  gap: 3px;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  padding: 7px;
  color: inherit;
  text-align: left;
  background: rgba(0, 0, 0, .2);
  scroll-margin-top: 112px;
}

.brand-lineage-focus-models button:hover,
.brand-lineage-focus-models button.active {
  border-color: color-mix(in srgb, var(--cluster-color) 64%, transparent);
  background: color-mix(in srgb, var(--cluster-color) 12%, rgba(0, 0, 0, .2));
}

.brand-lineage-focus-models strong {
  overflow: hidden;
  color: #fffaf0;
  font-size: 12px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-lineage-focus-models span {
  color: rgba(246, 241, 232, .5);
  font-size: 10px;
}

.brand-lineage-insight-relation {
  display: grid;
  gap: 3px;
  border: 1px solid color-mix(in srgb, var(--cluster-color) 24%, rgba(246, 241, 232, .08));
  border-radius: 8px;
  padding: 6px;
  background: color-mix(in srgb, var(--cluster-color) 8%, rgba(0, 0, 0, .18));
}

.brand-lineage-insight-relation p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.brand-lineage-model-detail .brand-lineage-insight-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 6px;
}

.brand-lineage-model-detail .brand-lineage-score-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  justify-items: stretch;
  min-height: 34px;
}

.brand-lineage-model-detail .brand-lineage-score-row span,
.brand-lineage-model-detail .brand-lineage-score-row strong {
  min-width: 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-lineage-model-detail .brand-lineage-score-row i {
  width: 100%;
}

.brand-lineage-controls {
  display: grid;
  grid-template-columns: max-content minmax(360px, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, .035);
}

.brand-lineage-mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.brand-lineage-mode-row button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 241, 232, .11);
  border-radius: 8px;
  padding: 0 12px;
  color: rgba(246, 241, 232, .66);
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
  font-weight: 680;
  white-space: nowrap;
}

.brand-lineage-mode-row button:hover,
.brand-lineage-mode-row button.active {
  border-color: rgba(223, 255, 85, .42);
  color: #fffaf0;
  background: rgba(223, 255, 85, .1);
}

.brand-lineage-filter-row button {
  min-height: 36px;
  border: 1px solid rgba(246, 241, 232, .11);
  border-radius: 8px;
  color: rgba(246, 241, 232, .66);
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
  font-weight: 640;
}

.brand-lineage-filter-row button:hover,
.brand-lineage-filter-row button.active {
  border-color: rgba(223, 255, 85, .42);
  color: #fffaf0;
  background: rgba(223, 255, 85, .1);
}

.brand-lineage-search {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(246, 241, 232, .11);
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, .045);
}

.brand-lineage-search span {
  color: rgba(246, 241, 232, .46);
  font-size: 11px;
  font-weight: 620;
}

.brand-lineage-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  color: #fffaf0;
  background: transparent;
  outline: 0;
  font-size: 13px;
}

.brand-lineage-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.brand-lineage-filter-row button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 0 11px;
}

.brand-lineage-filter-row span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cluster-color);
}

.brand-lineage-board {
  position: relative;
  min-height: 620px;
  overflow: auto;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(223, 255, 85, .06), transparent 34%),
    linear-gradient(180deg, rgba(12, 16, 14, .96), rgba(5, 7, 6, .98));
}

.brand-lineage-orbit {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(246, 241, 232, .05);
  border-radius: 8px;
  pointer-events: none;
}

.brand-lineage-hub {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  margin: 0 auto 16px;
  display: grid;
  gap: 4px;
  justify-items: center;
  border: 1px solid rgba(223, 255, 85, .24);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  background: rgba(223, 255, 85, .075);
}

.brand-lineage-hub strong {
  color: #fffaf0;
  font-size: 20px;
}

.brand-lineage-hub span {
  color: rgba(246, 241, 232, .6);
  font-size: 12px;
}

.brand-lineage-series-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.brand-lineage-series-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, .04);
}

.brand-lineage-series-card:hover,
.brand-lineage-series-card.selected {
  border-color: color-mix(in srgb, var(--cluster-color) 72%, white 0%);
  background: color-mix(in srgb, var(--cluster-color) 10%, rgba(255, 255, 255, .04));
}

.brand-lineage-series-trigger {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  grid-template-areas:
    "cluster visual"
    "title visual"
    "body visual";
  gap: 6px 12px;
  align-items: center;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
}

.brand-lineage-cluster {
  grid-area: cluster;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 999px;
  padding: 5px 8px;
  color: rgba(246, 241, 232, .68);
  font-size: 11px;
  font-weight: 620;
}

.brand-lineage-cluster i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cluster-color);
}

.brand-lineage-series-trigger > strong {
  grid-area: title;
  overflow-wrap: anywhere;
  color: #fffaf0;
  font-size: 20px;
  line-height: 1.12;
}

.brand-lineage-series-trigger > small {
  grid-area: body;
  color: rgba(246, 241, 232, .58);
  font-size: 12px;
  line-height: 1.45;
}

.brand-lineage-racket-visual {
  grid-area: visual;
  width: 96px;
  height: 126px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-lineage-racket-visual img,
.brand-lineage-racket-visual svg {
  max-width: 92px;
  max-height: 122px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .42));
}

.brand-lineage-model-list {
  display: grid;
  gap: 6px;
}

.brand-lineage-model-list button,
.brand-lineage-river-models button {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(246, 241, 232, .09);
  border-radius: 8px;
  padding: 8px 9px;
  color: inherit;
  text-align: left;
  background: rgba(0, 0, 0, .18);
}

.brand-lineage-model-list button:hover,
.brand-lineage-river-models button:hover {
  border-color: rgba(223, 255, 85, .32);
  background: rgba(223, 255, 85, .07);
}

.brand-lineage-model-list strong,
.brand-lineage-river-models strong {
  overflow: hidden;
  color: rgba(255, 250, 240, .92);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-lineage-model-list span,
.brand-lineage-river-models span {
  color: rgba(246, 241, 232, .48);
  font-size: 11px;
  white-space: nowrap;
}

.brand-lineage-river,
.brand-lineage-path {
  min-height: 620px;
  overflow: auto;
  padding: 18px;
  background: linear-gradient(180deg, rgba(12, 16, 14, .96), rgba(5, 7, 6, .98));
}

.brand-lineage-river {
  display: grid;
  align-content: start;
  gap: 12px;
}

.brand-lineage-river-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.brand-lineage-river-series {
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid color-mix(in srgb, var(--cluster-color) 44%, transparent);
  border-radius: 8px;
  padding: 14px;
  color: inherit;
  text-align: left;
  background: color-mix(in srgb, var(--cluster-color) 10%, rgba(255, 255, 255, .04));
}

.brand-lineage-river-series strong {
  color: #fffaf0;
  font-size: 17px;
}

.brand-lineage-river-series span {
  color: rgba(246, 241, 232, .58);
  font-size: 12px;
}

.brand-lineage-river-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.brand-lineage-river-models button {
  min-height: 76px;
  grid-template-columns: 1fr;
  align-content: center;
}

.brand-lineage-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 12px;
}

.brand-lineage-path-card {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid color-mix(in srgb, var(--cluster-color) 36%, transparent);
  border-radius: 8px;
  padding: 15px;
  color: inherit;
  text-align: left;
  background: color-mix(in srgb, var(--cluster-color) 9%, rgba(255, 255, 255, .04));
}

.brand-lineage-path-card:hover {
  border-color: color-mix(in srgb, var(--cluster-color) 70%, white 0%);
  transform: translateY(-1px);
}

.brand-lineage-path-card > span {
  color: var(--cluster-color);
  font-size: 11px;
  font-weight: 700;
}

.brand-lineage-path-card > strong {
  color: #fffaf0;
  font-size: 18px;
}

.brand-lineage-path-card p {
  margin: 0;
  color: rgba(246, 241, 232, .58);
  font-size: 12px;
  line-height: 1.5;
}

.brand-lineage-path-card em {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(246, 241, 232, .09);
  border-radius: 8px;
  padding: 9px;
  color: rgba(255, 250, 240, .88);
  background: rgba(0, 0, 0, .17);
  font-size: 12px;
  font-style: normal;
}

.brand-lineage-path-card b {
  color: rgba(246, 241, 232, .48);
  font-weight: 620;
}

.brand-lineage-score-list {
  display: grid;
  gap: 9px;
}

.brand-lineage-score-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 16px;
  gap: 6px;
  align-items: center;
  min-height: 14px;
}

.brand-lineage-score-row span,
.brand-lineage-score-row strong {
  color: rgba(246, 241, 232, .66);
  font-size: 10px;
  font-weight: 620;
  line-height: 1.1;
}

.brand-lineage-score-row i {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(246, 241, 232, .1);
}

.brand-lineage-score-row b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #79ddff, var(--signal), #fdba74);
}

.brand-lineage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.brand-lineage-tags span {
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 999px;
  padding: 6px 8px;
  color: rgba(246, 241, 232, .64);
  background: rgba(255, 255, 255, .04);
  font-size: 11px;
  font-weight: 620;
}

.brand-lineage-detail-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 2px;
  border: 1px solid rgba(223, 255, 85, .28);
  border-radius: 8px;
  padding: 4px 7px;
  color: var(--signal);
  background: rgba(223, 255, 85, .07);
  font-size: 11px;
  font-weight: 700;
}

.brand-lineage-empty {
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: rgba(246, 241, 232, .58);
  background: rgba(5, 7, 6, .96);
  font-size: 14px;
}

.performance-map-page {
  min-width: 1180px;
  min-height: calc(100vh - 112px);
  padding: 18px 22px 28px;
  background:
    radial-gradient(circle at 14% 6%, rgba(223, 255, 85, .065), transparent 28%),
    radial-gradient(circle at 84% 8%, rgba(121, 221, 255, .075), transparent 30%),
    radial-gradient(circle at 74% 76%, rgba(253, 122, 95, .055), transparent 30%),
    linear-gradient(180deg, #070908 0%, #040606 100%);
}

.performance-map-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
}

.brand-performance-surface {
  display: grid;
  gap: 12px;
}

.brand-performance-hero,
.brand-performance-map-card,
.brand-performance-panel,
.brand-performance-companions article {
  min-width: 0;
  border: 1px solid rgba(246, 241, 232, .11);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 12%, rgba(223, 255, 85, .065), transparent 32%),
    linear-gradient(180deg, rgba(12, 16, 15, .96), rgba(5, 7, 6, .98));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.brand-performance-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  align-items: end;
  padding: 18px;
}

.brand-performance-title {
  display: grid;
  gap: 8px;
}

.brand-performance-title span {
  color: rgba(223, 255, 85, .78);
  font-size: 11px;
  font-weight: 760;
}

.brand-performance-title h1 {
  margin: 0;
  color: #fffaf0;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-performance-title p {
  max-width: 740px;
  margin: 0;
  color: rgba(246, 241, 232, .62);
  font-size: 13px;
  line-height: 1.55;
}

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

.brand-performance-stats strong {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, .04);
}

.brand-performance-stats b {
  color: var(--signal);
  font-size: 22px;
  line-height: 1;
}

.brand-performance-stats span {
  overflow: hidden;
  color: rgba(246, 241, 232, .55);
  font-size: 11px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-performance-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  padding: 10px;
  background:
    radial-gradient(circle at 16% 10%, rgba(223, 255, 85, .055), transparent 34%),
    rgba(255, 255, 255, .035);
}

.brand-performance-toolbar .brand-lineage-filter-row {
  min-width: 0;
}

.brand-performance-search {
  min-height: 42px;
}

.brand-performance-dashboard {
  display: grid;
  grid-template-columns: minmax(760px, 1fr) minmax(330px, 370px);
  gap: 14px;
  align-items: stretch;
}

.brand-performance-map-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(520px, clamp(520px, calc(100vh - 342px), 620px)) auto;
  background:
    radial-gradient(circle at 23% 18%, rgba(223, 255, 85, .034), transparent 28%),
    radial-gradient(circle at 73% 21%, rgba(121, 221, 255, .038), transparent 32%),
    linear-gradient(180deg, rgba(6, 10, 10, .99), rgba(3, 6, 6, .995));
}

.brand-performance-map-head {
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(246, 241, 232, .08);
  padding: 0 16px;
}

.brand-performance-map-head strong {
  color: #fffaf0;
  font-size: 15px;
  font-weight: 760;
}

.brand-performance-map-head span {
  color: rgba(246, 241, 232, .48);
  font-size: 11px;
  font-weight: 620;
}

.brand-performance-stage {
  position: relative;
  min-height: 520px;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 22% 26%, rgba(223, 255, 85, .046), transparent 28%),
    radial-gradient(ellipse at 70% 27%, rgba(121, 221, 255, .052), transparent 34%),
    radial-gradient(ellipse at 70% 72%, rgba(253, 122, 95, .044), transparent 30%),
    radial-gradient(ellipse at 38% 62%, rgba(196, 181, 253, .032), transparent 24%),
    radial-gradient(circle at 50% 52%, rgba(246, 241, 232, .018), transparent 38%),
    linear-gradient(180deg, rgba(7, 11, 11, .99), rgba(4, 7, 7, .99));
}

.brand-performance-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 241, 232, .036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 232, .036) 1px, transparent 1px),
    linear-gradient(rgba(223, 255, 85, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 221, 255, .018) 1px, transparent 1px);
  background-size: 58px 58px, 58px 58px, 174px 174px, 174px 174px;
  mask-image: radial-gradient(circle at 50% 52%, #000 38%, transparent 94%);
  opacity: .62;
  pointer-events: none;
  z-index: 0;
}

.brand-performance-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(246, 241, 232, .13) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(121, 221, 255, .11) 0 1px, transparent 1.9px),
    linear-gradient(90deg, rgba(3, 6, 6, .52), transparent 17%, transparent 83%, rgba(3, 6, 6, .52)),
    linear-gradient(180deg, rgba(3, 6, 6, .36), transparent 18%, transparent 82%, rgba(3, 6, 6, .46));
  background-size: 173px 137px, 211px 181px, auto, auto;
  background-position: 18px 21px, 87px 44px, 0 0, 0 0;
  opacity: .72;
  pointer-events: none;
  z-index: 1;
}

.brand-performance-svg,
.brand-performance-node-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.brand-performance-svg {
  z-index: 2;
}

.brand-performance-region-haze {
  fill: color-mix(in srgb, var(--tone-color) 5%, transparent);
  stroke: color-mix(in srgb, var(--tone-color) 12%, transparent);
  stroke-width: 4.2;
  filter: url(#performanceNebulaGlow);
  opacity: .52;
  vector-effect: non-scaling-stroke;
}

.brand-performance-region {
  fill: color-mix(in srgb, var(--tone-color) 3%, transparent);
  stroke: color-mix(in srgb, var(--tone-color) 34%, transparent);
  stroke-width: .32;
  filter: drop-shadow(0 0 9px color-mix(in srgb, var(--tone-color) 16%, transparent));
  opacity: .84;
  vector-effect: non-scaling-stroke;
}

.brand-performance-orbit {
  fill: none;
  stroke: color-mix(in srgb, var(--tone-color) 25%, rgba(246, 241, 232, .18));
  stroke-dasharray: 1.4 3.4;
  stroke-linecap: round;
  stroke-width: .3;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--tone-color) 14%, transparent));
  opacity: .58;
  vector-effect: non-scaling-stroke;
}

.brand-performance-link {
  fill: none;
  stroke: color-mix(in srgb, var(--tone-color, #fffaf0) 34%, rgba(246, 241, 232, .18));
  stroke-dasharray: 2 4.4;
  stroke-linecap: round;
  stroke-width: .34;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--tone-color, #fffaf0) 16%, transparent));
  opacity: .72;
}

.brand-performance-axis {
  stroke: rgba(246, 241, 232, .42);
  stroke-width: .28;
  stroke-dasharray: 0;
  filter: drop-shadow(0 0 5px rgba(246, 241, 232, .12));
  vector-effect: non-scaling-stroke;
}

.brand-performance-origin {
  fill: rgba(246, 241, 232, .56);
  filter: drop-shadow(0 0 8px rgba(246, 241, 232, .22));
}

.brand-performance-axis-label,
.brand-performance-corner {
  position: absolute;
  z-index: 2;
  color: rgba(246, 241, 232, .76);
  font-size: 13px;
  font-weight: 760;
  pointer-events: none;
}

.brand-performance-axis-label.label-top {
  left: 51%;
  top: 30px;
  transform: translateX(-50%);
}

.brand-performance-axis-label.label-bottom {
  left: 51%;
  bottom: 30px;
  transform: translateX(-50%);
}

.brand-performance-axis-label.label-left {
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
}

.brand-performance-axis-label.label-right {
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
}

.brand-performance-star-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.brand-performance-star-layer span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tone-color) 76%, #fffaf0 24%);
  box-shadow:
    0 0 10px color-mix(in srgb, var(--tone-color) 46%, transparent),
    0 0 22px color-mix(in srgb, var(--tone-color) 18%, transparent);
  opacity: .54;
  transform: translate(-50%, -50%);
}

.brand-performance-corner {
  left: var(--x);
  top: var(--y);
  color: var(--tone-color);
  opacity: .86;
}

.brand-performance-node-layer {
  z-index: 4;
}

.brand-performance-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  transform: translate(-20px, -50%);
  transition: opacity .18s ease, filter .18s ease;
}

.brand-performance-node.reverse {
  flex-direction: row-reverse;
  transform: translate(calc(-100% + 20px), -50%);
}

.brand-performance-node-badge {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  border: 1.5px solid var(--tone-color);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--tone-color) 20%, transparent), transparent 60%),
    rgba(5, 8, 8, .94);
  box-shadow:
    0 0 18px color-mix(in srgb, var(--tone-color) 28%, transparent),
    0 0 0 5px color-mix(in srgb, var(--tone-color) 7%, transparent),
    inset 0 0 12px rgba(255, 255, 255, .05);
}

.brand-performance-node.large .brand-performance-node-badge {
  width: 54px;
  height: 54px;
}

.brand-performance-node-badge img,
.brand-performance-node-badge svg {
  max-width: 46%;
  max-height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5));
}

.brand-performance-node-label {
  min-width: 104px;
  display: grid;
  gap: 2px;
  border: 1px solid color-mix(in srgb, var(--tone-color) 34%, rgba(246, 241, 232, .1));
  border-radius: 8px;
  padding: 7px 9px;
  text-align: left;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tone-color) 10%, transparent), rgba(255, 255, 255, .035)),
    rgba(5, 8, 8, .86);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .32);
  backdrop-filter: blur(10px);
}

.brand-performance-node-label strong {
  overflow: hidden;
  color: #fffaf0;
  font-size: 12px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-performance-node-label small {
  color: var(--tone-color);
  font-size: 10px;
  font-weight: 700;
}

.brand-performance-node.large .brand-performance-node-label {
  min-width: 126px;
  padding: 9px 11px;
}

.brand-performance-node.large .brand-performance-node-label strong {
  font-size: 14px;
}

.brand-performance-node:hover .brand-performance-node-label,
.brand-performance-node.active .brand-performance-node-label,
.brand-performance-node.focus-brand .brand-performance-node-label {
  border-color: color-mix(in srgb, var(--tone-color) 58%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--tone-color) 16%, transparent), rgba(255, 255, 255, .045)),
    rgba(7, 10, 10, .96);
}

.brand-performance-node:hover,
.brand-performance-node.active {
  z-index: 8;
  filter: saturate(1.08);
}

.brand-performance-node.active .brand-performance-node-badge {
  box-shadow:
    0 0 30px color-mix(in srgb, var(--tone-color) 46%, transparent),
    0 0 0 7px color-mix(in srgb, var(--tone-color) 11%, transparent),
    inset 0 0 18px rgba(255, 255, 255, .06);
}

.brand-performance-legend {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  align-items: center;
  border-top: 1px solid rgba(246, 241, 232, .08);
  padding: 8px 12px;
}

.brand-performance-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: rgba(246, 241, 232, .58);
  font-size: 11px;
  font-weight: 620;
}

.brand-performance-legend i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--tone-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--tone-color) 54%, transparent);
}

.brand-performance-panel {
  max-height: clamp(564px, calc(100vh - 298px), 664px);
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  background:
    radial-gradient(circle at 82% 7%, color-mix(in srgb, var(--tone-color) 18%, transparent), transparent 35%),
    linear-gradient(180deg, rgba(12, 16, 15, .96), rgba(5, 7, 6, .98));
}

.brand-performance-panel-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid rgba(246, 241, 232, .08);
  padding-bottom: 12px;
}

.brand-performance-panel-top span {
  color: var(--tone-color);
  font-size: 11px;
  font-weight: 760;
}

.brand-performance-panel-top h2 {
  display: grid;
  gap: 4px;
  margin: 7px 0 8px;
  color: var(--tone-color);
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-performance-panel-top h2 small {
  color: color-mix(in srgb, var(--tone-color) 82%, #fffaf0 18%);
  font-size: 18px;
}

.brand-performance-panel-top p {
  margin: 0;
  color: rgba(246, 241, 232, .56);
  font-size: 12px;
}

.brand-performance-panel-image {
  width: 92px;
  height: 124px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-performance-panel-image img,
.brand-performance-panel-image svg {
  max-width: 88px;
  max-height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .45));
}

.brand-performance-section {
  display: grid;
  gap: 9px;
  border-bottom: 1px solid rgba(246, 241, 232, .08);
  padding-bottom: 12px;
}

.brand-performance-section.compact {
  border-bottom: 0;
  padding-bottom: 0;
}

.brand-performance-section h3,
.brand-performance-link-grid strong {
  margin: 0;
  color: #fffaf0;
  font-size: 13px;
  font-weight: 760;
}

.brand-performance-section h3 small {
  color: rgba(246, 241, 232, .46);
  font-size: 11px;
  font-weight: 620;
}

.brand-performance-section p {
  margin: 0;
  color: rgba(246, 241, 232, .6);
  font-size: 12px;
  line-height: 1.62;
}

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

.brand-performance-fit-grid div,
.brand-performance-link-grid > div {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.brand-performance-fit-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-performance-fit-grid li {
  display: flex;
  gap: 7px;
  color: rgba(246, 241, 232, .66);
  font-size: 11px;
  line-height: 1.35;
}

.brand-performance-fit-grid li span {
  flex: none;
  color: var(--tone-color);
  font-weight: 760;
}

.brand-performance-score-list {
  display: grid;
  gap: 8px;
}

.brand-performance-score-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 30px;
  gap: 8px;
  align-items: center;
}

.brand-performance-score-row span,
.brand-performance-score-row strong {
  color: rgba(246, 241, 232, .66);
  font-size: 11px;
  font-weight: 620;
}

.brand-performance-score-row i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(246, 241, 232, .1);
}

.brand-performance-score-row b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tone-color), var(--signal));
  box-shadow: 0 0 12px color-mix(in srgb, var(--tone-color) 42%, transparent);
}

.brand-performance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.brand-performance-tags span {
  border: 1px solid color-mix(in srgb, var(--tone-color) 24%, rgba(246, 241, 232, .08));
  border-radius: 8px;
  padding: 5px 8px;
  color: color-mix(in srgb, var(--tone-color) 74%, #fffaf0 26%);
  background: color-mix(in srgb, var(--tone-color) 11%, rgba(255, 255, 255, .035));
  font-size: 11px;
  font-weight: 620;
}

.brand-performance-mini-line {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
}

.brand-performance-mini-line span {
  width: 24px;
  height: 32px;
  display: grid;
  place-items: center;
}

.brand-performance-mini-line img,
.brand-performance-mini-line svg {
  max-width: 24px;
  max-height: 32px;
  object-fit: contain;
}

.brand-performance-mini-line strong {
  overflow: hidden;
  color: rgba(246, 241, 232, .72);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-performance-detail-link {
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--tone-color) 32%, rgba(246, 241, 232, .08));
  border-radius: 8px;
  padding: 7px 9px;
  color: var(--tone-color);
  background: color-mix(in srgb, var(--tone-color) 9%, rgba(255, 255, 255, .035));
  font-size: 11px;
  font-weight: 760;
}

.brand-performance-cta {
  min-height: 48px;
  border: 1px solid rgba(223, 255, 85, .28);
  border-radius: 8px;
  color: #111909;
  background: linear-gradient(135deg, var(--signal), #86efac);
  font-size: 14px;
  font-weight: 820;
}

.brand-performance-note {
  margin: -4px 0 0;
  color: rgba(246, 241, 232, .46);
  text-align: center;
  font-size: 10px;
  line-height: 1.45;
}

.brand-performance-companions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.brand-performance-companions article {
  display: grid;
  gap: 12px;
  padding: 14px;
}

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

.brand-performance-companion-head h3 {
  margin: 0;
  color: #fffaf0;
  font-size: 14px;
}

.brand-performance-companion-head span {
  color: rgba(223, 255, 85, .66);
  font-size: 11px;
  font-weight: 620;
}

.brand-performance-mini-row {
  min-height: 104px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand-performance-mini {
  width: 82px;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: center;
  background: transparent;
}

.brand-performance-mini > span {
  width: 54px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--tone-color, #9ca3af) 28%, rgba(246, 241, 232, .08));
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.brand-performance-mini img,
.brand-performance-mini svg {
  max-width: 46px;
  max-height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .42));
}

.brand-performance-mini strong {
  width: 100%;
  overflow: hidden;
  color: rgba(255, 250, 240, .88);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-performance-mini small {
  width: 100%;
  overflow: hidden;
  color: rgba(246, 241, 232, .48);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-performance-mini.muted {
  opacity: .72;
}

.brand-performance-arrow {
  color: rgba(246, 241, 232, .74);
  font-size: 22px;
  line-height: 1;
}

.brand-performance-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(246, 241, 232, .58);
  font-size: 13px;
}

/* Knowledge base */
.knowledge-page {
  min-height: calc(100vh - 112px);
  padding: 36px 28px 72px;
  background:
    linear-gradient(180deg, rgba(6, 9, 8, .96), rgba(13, 14, 12, .98)),
    url("assets/clay-racket-shoes.jpg") center/cover fixed;
}

.knowledge-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.knowledge-hero,
.knowledge-tools,
.knowledge-layout,
.knowledge-map-layout,
.knowledge-index-shelf,
.knowledge-paths {
  border: 1px solid rgba(246, 241, 232, .12);
  background: rgba(7, 10, 9, .78);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.knowledge-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  padding: 22px;
  border-radius: 16px;
}

.knowledge-hero h1 {
  margin: 4px 0 10px;
  color: #fffaf0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.knowledge-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(246, 241, 232, .68);
  font-size: 15px;
  line-height: 1.58;
}

.knowledge-hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.knowledge-drawer-backdrop,
.knowledge-drawer-handle {
  display: none;
}

.knowledge-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  height: clamp(680px, calc(100vh - 116px), 780px);
  min-height: 680px;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
}

.knowledge-map-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  padding: 22px;
  border-right: 1px solid rgba(246, 241, 232, .1);
  background: linear-gradient(180deg, rgba(10, 14, 12, .98), rgba(5, 7, 6, .98));
}

.knowledge-map-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.knowledge-map-title span {
  color: rgba(223, 255, 85, .78);
  font-size: 12px;
  font-weight: 760;
}

.knowledge-map-title strong {
  color: #fffaf0;
  font-size: 18px;
  font-weight: 760;
}

.knowledge-racket-stage {
  position: relative;
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(246, 241, 232, .07), transparent 43%),
    linear-gradient(180deg, rgba(14, 18, 16, .96), rgba(7, 9, 8, .98));
}

.knowledge-racket-stage::before,
.knowledge-racket-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.knowledge-racket-stage::before {
  inset: 20px;
  border: 1px solid rgba(246, 241, 232, .045);
  border-radius: 10px;
}

.knowledge-racket-stage::after {
  display: none;
}

.knowledge-racket-aura {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(223, 255, 85, .05), transparent 48%);
}

.knowledge-racket-image {
  position: absolute;
  left: 50%;
  top: 51%;
  z-index: 2;
  width: auto;
  max-width: 50%;
  height: min(94%, 700px);
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .5)) drop-shadow(0 0 18px rgba(223, 255, 85, .16));
  pointer-events: none;
}

.knowledge-swing-arc,
.knowledge-balance-line,
.knowledge-flex-mark,
.knowledge-twist-mark {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.knowledge-swing-arc {
  right: 17%;
  bottom: 15%;
  width: 28%;
  height: 34%;
  border: 2px solid rgba(223, 255, 85, .18);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 100% 0 0;
  transform: rotate(-18deg);
}

.knowledge-swing-arc.arc-two {
  right: 20%;
  bottom: 20%;
  width: 20%;
  height: 25%;
  border-color: rgba(246, 241, 232, .1);
}

.knowledge-balance-line {
  left: 39%;
  top: 67%;
  width: 22%;
  height: 1px;
  background: rgba(121, 221, 255, .22);
}

.knowledge-balance-line b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(121, 221, 255, .9);
  border-radius: 50%;
  background: rgba(4, 8, 8, .9);
  transform: translate(-50%, -50%);
}

.knowledge-flex-mark {
  left: 58%;
  top: 26%;
  width: 8%;
  height: 14%;
  border-right: 2px solid rgba(197, 94, 50, .5);
  border-radius: 50%;
  transform: rotate(10deg);
}

.knowledge-twist-mark {
  left: 31%;
  top: 30%;
  width: 11%;
  height: 11%;
  border: 1px dashed rgba(121, 221, 255, .45);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.knowledge-swing-arc,
.knowledge-flex-mark,
.knowledge-twist-mark {
  display: none;
}

.knowledge-map-point {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  width: auto;
  min-height: 0;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: none;
  background: transparent;
  transform: none;
  pointer-events: none;
  appearance: none;
  transition: opacity 0.3s ease;
}

.knowledge-racket-stage:has(.knowledge-map-point:hover) .knowledge-map-point:not(:hover),
.knowledge-racket-stage:has(.knowledge-map-point.active) .knowledge-map-point:not(.active) {
  opacity: 0.3;
}

.knowledge-map-point.active {
  z-index: 6;
}

.knowledge-map-point.map-left {
  transform: none;
}

.knowledge-map-point::before {
  display: none;
}

.knowledge-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.knowledge-map-overlay line,
.knowledge-map-overlay polyline {
  fill: none;
  stroke: rgba(223, 255, 85, .5);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke .2s;
}

.knowledge-map-overlay line.active,
.knowledge-map-overlay polyline.active {
  stroke: rgba(223, 255, 85, 1);
  stroke-width: 1.5;
}

.knowledge-map-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(223, 255, 85, .82);
  border-radius: 50%;
  background: rgba(4, 7, 6, .92);
  box-shadow: 0 0 0 5px rgba(223, 255, 85, .08), 0 0 18px rgba(223, 255, 85, .28);
  transform: translate(-50%, -50%);
  cursor: pointer;
  pointer-events: auto;
}

.knowledge-map-point.map-left .knowledge-map-dot {
  transform: translate(-50%, -50%);
}

.knowledge-map-point.hidden-metric .knowledge-map-dot {
  border-color: rgba(121, 221, 255, .86);
  box-shadow: 0 0 0 5px rgba(121, 221, 255, .08), 0 0 18px rgba(121, 221, 255, .22);
}

.knowledge-map-label {
  position: absolute;
  top: var(--label-y);
  z-index: 5;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  width: 24%;
  min-height: 50px;
  border: 1px solid rgba(246, 241, 232, .12);
  border-radius: 8px;
  padding: 9px 10px;
  text-align: center;
  background: rgba(6, 9, 8, .7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
  transform: translateY(-50%);
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.knowledge-map-point.map-left .knowledge-map-label {
  left: 4%;
}

.knowledge-map-point.map-right .knowledge-map-label {
  right: 4%;
}

.knowledge-map-label b {
  color: #fffaf0;
  font-size: 13px;
  line-height: 1.2;
}

.knowledge-map-label small {
  color: rgba(246, 241, 232, .54);
  font-size: 11px;
  line-height: 1.3;
}

.knowledge-map-point:hover .knowledge-map-label,
.knowledge-map-point.active .knowledge-map-label,
.knowledge-map-point:focus-visible .knowledge-map-label {
  border-color: rgba(223, 255, 85, .5);
  background: rgba(223, 255, 85, .11);
}

.knowledge-map-point.active .knowledge-map-dot {
  background: var(--signal);
  box-shadow: 0 0 0 7px rgba(223, 255, 85, .12), 0 0 24px rgba(223, 255, 85, .46);
}

.knowledge-map-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.knowledge-map-shortcuts a,
.knowledge-map-shortcuts button {
  border: 1px solid rgba(246, 241, 232, .11);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(246, 241, 232, .68);
  background: rgba(255, 255, 255, .04);
  font: inherit;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.knowledge-map-shortcuts a.active,
.knowledge-map-shortcuts a:hover,
.knowledge-map-shortcuts button.active,
.knowledge-map-shortcuts button:hover {
  border-color: rgba(223, 255, 85, .42);
  color: var(--signal);
  background: rgba(223, 255, 85, .08);
}

.knowledge-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 12px;
  color: rgba(246, 241, 232, .52);
  font-size: 12px;
}

.knowledge-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.knowledge-map-legend b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
}

.knowledge-map-legend span:nth-child(2) b {
  background: #79ddff;
}

.knowledge-map-detail {
  align-self: stretch;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.knowledge-map-context {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(121, 221, 255, .22);
  border-radius: 8px;
  padding: 12px;
  background: rgba(121, 221, 255, .055);
}

.knowledge-map-context span {
  color: rgba(121, 221, 255, .78);
  font-size: 11px;
  font-weight: 760;
}

.knowledge-map-context strong {
  color: #fffaf0;
  font-size: 16px;
}

.knowledge-map-context p {
  margin: 0;
  color: rgba(246, 241, 232, .64);
  font-size: 12px;
  line-height: 1.55;
}

.knowledge-map-nudge {
  margin-top: 16px;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  padding: 12px;
  color: rgba(246, 241, 232, .58);
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
  line-height: 1.55;
}

.knowledge-tools {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 14px;
  border-radius: 12px;
}

.knowledge-search {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(246, 241, 232, .1);
  background: rgba(255, 255, 255, .045);
}

.knowledge-search span {
  color: rgba(246, 241, 232, .5);
  font-size: 11px;
  font-weight: 760;
}

.knowledge-search input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(223, 255, 85, .22);
  border-radius: 6px;
  padding: 12px 13px;
  color: #fffaf0;
  background: rgba(0, 0, 0, .26);
  font: inherit;
  outline: none;
}

.knowledge-search input:focus {
  border-color: rgba(223, 255, 85, .58);
  box-shadow: 0 0 0 3px rgba(223, 255, 85, .1);
}

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

.knowledge-tabs button {
  min-width: 0;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  padding: 12px;
  text-align: left;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.knowledge-tabs button.active,
.knowledge-tabs button:hover {
  border-color: rgba(223, 255, 85, .42);
  background: rgba(223, 255, 85, .1);
}

.knowledge-tabs strong,
.knowledge-tabs span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knowledge-tabs strong {
  color: #fffaf0;
  font-size: 14px;
  font-weight: 760;
}

.knowledge-tabs span {
  margin-top: 4px;
  color: rgba(246, 241, 232, .48);
  font-size: 11px;
}

.knowledge-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 0;
  min-height: 620px;
  border-radius: 16px;
  overflow: hidden;
}

.knowledge-index {
  min-width: 0;
  border-right: 1px solid rgba(246, 241, 232, .1);
  background: rgba(0, 0, 0, .2);
}

.knowledge-index-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid rgba(246, 241, 232, .1);
}

.knowledge-index-head span {
  color: rgba(246, 241, 232, .54);
  font-size: 12px;
  font-weight: 760;
}

.knowledge-index-head strong {
  color: var(--signal);
  font-size: 12px;
  font-weight: 760;
}

.knowledge-topic-list {
  max-height: 636px;
  overflow: auto;
  padding: 10px;
}

.knowledge-index-shelf {
  display: grid;
  border-radius: 16px;
  overflow: hidden;
}

.knowledge-index-shelf .knowledge-topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: none;
  padding: 14px;
}

.knowledge-index-shelf .knowledge-topic-item {
  margin-bottom: 0;
}

.knowledge-topic-item {
  display: grid;
  gap: 6px;
  width: 100%;
  min-width: 0;
  margin-bottom: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
}

.knowledge-topic-item:hover,
.knowledge-topic-item.active {
  border-color: rgba(223, 255, 85, .3);
  background: rgba(223, 255, 85, .075);
}

.knowledge-topic-item span {
  color: rgba(223, 255, 85, .72);
  font-size: 10px;
  font-weight: 760;
}

.knowledge-topic-item strong {
  color: #fffaf0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 760;
}

.knowledge-topic-item p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: rgba(246, 241, 232, .58);
  font-size: 12px;
  line-height: 1.5;
}

.knowledge-empty {
  padding: 18px;
  color: rgba(246, 241, 232, .54);
  font-size: 13px;
  line-height: 1.6;
}

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

.knowledge-detail {
  min-width: 0;
  padding: 24px;
}

.knowledge-detail-card {
  display: grid;
  gap: 18px;
  animation: fadeSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.knowledge-spectrum {
  margin-top: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.knowledge-spectrum-track {
  height: 6px;
  background: linear-gradient(90deg, #79DDFF, #DFFF55, #FF7B54);
  border-radius: 3px;
  position: relative;
  margin: 10px 0 8px;
}

.knowledge-spectrum-marker {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.knowledge-spectrum-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(246, 241, 232, .54);
}

.knowledge-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.knowledge-detail-head span {
  color: rgba(223, 255, 85, .8);
  font-size: 12px;
  font-weight: 760;
}

.knowledge-detail-head h2 {
  margin: 5px 0 0;
  color: #fffaf0;
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
}

.knowledge-detail-anchor,
.knowledge-related a,
.knowledge-related button,
.knowledge-path-grid a,
.knowledge-path-grid button,
.knowledge-spec-link {
  color: var(--signal);
  text-decoration: none;
}

.knowledge-detail-anchor {
  flex: none;
  border: 1px solid rgba(223, 255, 85, .24);
  border-radius: 6px;
  padding: 8px 10px;
  color: rgba(223, 255, 85, .88);
  font-size: 12px;
  line-height: 1;
}

.knowledge-summary {
  max-width: 820px;
  margin: 0;
  color: rgba(246, 241, 232, .76);
  font-size: 17px;
  line-height: 1.78;
}

.knowledge-range {
  border-left: 3px solid rgba(223, 255, 85, .66);
  padding: 10px 14px;
  color: rgba(255, 250, 240, .9);
  background: rgba(223, 255, 85, .07);
  font-size: 13px;
  line-height: 1.6;
}

.knowledge-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.knowledge-tag-row span {
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 999px;
  padding: 6px 10px;
  color: rgba(246, 241, 232, .7);
  background: rgba(255, 255, 255, .045);
  font-size: 12px;
}

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

.knowledge-section-grid section {
  min-width: 0;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, .045);
}

.knowledge-section-grid h3 {
  margin: 0 0 10px;
  color: #fffaf0;
  font-size: 14px;
}

.knowledge-section-grid p,
.knowledge-section-grid li {
  color: rgba(246, 241, 232, .66);
  font-size: 13px;
  line-height: 1.65;
}

.knowledge-section-grid p,
.knowledge-section-grid ul {
  margin: 0;
}

.knowledge-section-grid ul {
  padding-left: 18px;
}

.knowledge-related {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(246, 241, 232, .1);
  padding-top: 16px;
}

.knowledge-related span,
.knowledge-section-title span {
  color: rgba(246, 241, 232, .5);
  font-size: 12px;
  font-weight: 760;
}

.knowledge-related div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.knowledge-related a,
.knowledge-related button,
.knowledge-path-grid a,
.knowledge-path-grid button {
  border: 1px solid rgba(223, 255, 85, .2);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--signal);
  background: rgba(223, 255, 85, .06);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.knowledge-boundary-note {
  border: 1px solid rgba(197, 94, 50, .28);
  border-radius: 8px;
  padding: 12px;
  color: rgba(255, 221, 205, .84);
  background: rgba(197, 94, 50, .09);
  font-size: 12px;
  line-height: 1.55;
}

.knowledge-paths {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 16px;
}

.knowledge-section-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.knowledge-section-title strong {
  color: #fffaf0;
  font-size: 18px;
}

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

.knowledge-path-grid article {
  min-width: 0;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, .04);
}

.knowledge-path-grid h3 {
  margin: 0 0 8px;
  color: #fffaf0;
  font-size: 16px;
}

.knowledge-path-grid p {
  margin: 0 0 12px;
  color: rgba(246, 241, 232, .62);
  font-size: 13px;
  line-height: 1.62;
}

.knowledge-path-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.knowledge-spec-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.knowledge-spec-link::after {
  content: "?";
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(223, 255, 85, .28);
  border-radius: 50%;
  color: rgba(223, 255, 85, .86);
  font-size: 10px;
  line-height: 1;
}

@media (max-width: 1020px) {
  .knowledge-page {
    padding: 28px 16px 52px;
  }

  .knowledge-hero,
  .knowledge-tools,
  .knowledge-layout,
  .knowledge-map-layout,
  .knowledge-index-shelf .knowledge-topic-list,
  .knowledge-path-grid,
  .knowledge-section-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-hero-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

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

  .knowledge-layout {
    min-height: 0;
  }

  .knowledge-map-layout {
    height: auto;
    min-height: 0;
  }

  .knowledge-map-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(246, 241, 232, .1);
  }

  .knowledge-racket-stage {
    height: auto;
    min-height: 620px;
  }

  .knowledge-map-detail {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    max-height: 85vh;
    overflow-y: auto;
    background: rgba(10, 12, 11, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    visibility: hidden;
  }

  .knowledge-map-layout.drawer-open .knowledge-map-detail {
    transform: translateY(0);
    visibility: visible;
  }

  .knowledge-drawer-handle {
    display: block;
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 12px auto 0;
  }

  .knowledge-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
  }

  .knowledge-map-layout.drawer-open .knowledge-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .knowledge-index {
    border-right: 0;
    border-bottom: 1px solid rgba(246, 241, 232, .1);
  }

  .knowledge-topic-list {
    max-height: 360px;
  }

  .knowledge-detail {
    padding: 18px;
  }

  .knowledge-detail-head {
    display: grid;
  }

  .knowledge-path-grid {
    gap: 12px;
  }
}

@media (max-width: 620px) {
  .knowledge-tabs {
    grid-template-columns: 1fr;
  }

  .knowledge-tools,
  .knowledge-hero,
  .knowledge-map-panel,
  .knowledge-paths {
    padding: 14px;
  }

  .knowledge-map-title {
    display: grid;
    gap: 5px;
  }

  .knowledge-map-title strong {
    font-size: 16px;
  }

  .knowledge-racket-stage {
    min-height: 570px;
  }

  .knowledge-racket-stage::before {
    inset: 22px 16%;
  }

  .knowledge-racket-image {
    max-width: 58%;
    height: min(90%, 560px);
  }

  .knowledge-map-point::before {
    display: none;
  }

  .knowledge-map-point {
    inset: 0;
    width: auto;
    min-height: 0;
  }

  .knowledge-map-point.map-left .knowledge-map-label {
    right: auto;
    left: 2%;
  }

  .knowledge-map-point.map-right .knowledge-map-label {
    right: 2%;
    left: auto;
  }

  .knowledge-map-label {
    display: none !important;
  }
  .knowledge-map-overlay {
    display: none !important;
  }

  .knowledge-map-shortcuts a,
  .knowledge-map-shortcuts button {
    padding: 7px 9px;
    font-size: 11px;
  }

  .knowledge-section-grid {
    gap: 10px;
  }

  .knowledge-detail-head h2 {
    font-size: 26px;
  }
}

/* Final readability pass: small Chinese UI labels should stay crisp on dark panels. */
:is(
  .kicker,
  .tag-button,
  .count-label,
  .status-pill,
  .library-card-kicker,
  .library-card-status,
  .library-data-badges span,
  .recommendation-trust-strip span,
  .mentor-signal-tags span,
  .mentor-analysis-card span,
  .mentor-analysis-card em,
  .mentor-analysis-card small,
  .mentor-evidence-head span,
  .mentor-preview-head span,
  .mentor-rank-pill span,
  .mentor-match-title em,
  .mentor-match-tags span,
  .mentor-match-evidence span,
  .mentor-proof-strip span,
  .profile-metric-kicker,
  .profile-match-notes strong,
  .profile-match-analysis span,
  .admin-record-meta,
  .admin-tier,
  .admin-record-status em,
  .knowledge-map-point strong,
  .knowledge-chip,
  .library-count,
  .filter-head span,
  .library-search span,
  .profile-choice-card span,
  .profile-base-card span
) {
  font-family: var(--font-cn-readable);
  font-weight: 620;
  letter-spacing: 0;
  text-shadow: none;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:is(.kicker, .library-card-kicker, .filter-head span, .library-search span, .library-count) {
  font-weight: 640;
  letter-spacing: .04em;
}

:is(.mentor-analysis-card strong, .mentor-match-title strong, .profile-match-notes strong) {
  font-family: var(--font-cn-readable);
  font-weight: 720;
  letter-spacing: 0;
  text-shadow: none;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

:is(.mentor-analysis-card span, .mentor-analysis-card em, .mentor-signal-tags span) {
  color: rgba(246,241,232,.72);
}

.mentor-answer-page .mentor-evidence-head span,
.mentor-answer-page .mentor-preview-head span,
.mentor-answer-page .mentor-rank-pill span {
  font-family: var(--font-cn-readable);
  font-weight: 620;
  letter-spacing: 0;
  text-shadow: none;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

/* Lineage style migration: applies the premium #brands visual language to Mentor and Library. */
.mentor-answer-page,
.library-page {
  min-height: calc(100vh - 112px);
  padding: 24px;
  color: #fffaf0;
  background:
    linear-gradient(180deg, rgba(6, 9, 8, .96), rgba(12, 13, 11, .98)),
    url("assets/clay-racket-shoes.jpg") center/cover fixed;
}

.mentor-answer-shell,
.library-main {
  width: min(1480px, 100%);
  margin: 0 auto;
}

.mentor-answer-shell {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 14px;
}

.mentor-answer-page .mentor-panel,
.library-main {
  min-width: 0;
  border: 1px solid rgba(246, 241, 232, .12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 34% 50%, rgba(223, 255, 85, .08), transparent 34%),
    radial-gradient(circle at 74% 16%, rgba(121, 221, 255, .07), transparent 30%),
    linear-gradient(180deg, rgba(10, 15, 14, .98), rgba(4, 6, 6, .98));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.mentor-answer-page .mentor-panel {
  padding: 18px;
}

.mentor-answer-page .mentor-answer-main,
.mentor-answer-page .mentor-upgrade-panel {
  background:
    radial-gradient(circle at 12% 10%, rgba(223, 255, 85, .08), transparent 28%),
    linear-gradient(180deg, rgba(12, 17, 15, .96), rgba(5, 7, 6, .98));
}

.mentor-answer-page .kicker {
  margin: 0 0 10px;
  color: rgba(223, 255, 85, .72);
  font-size: 11px;
  font-weight: 760;
}

.mentor-answer-page .mentor-question {
  border: 1px solid rgba(223, 255, 85, .2);
  border-radius: 8px;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 44%, rgba(223, 255, 85, .14), transparent 45%),
    linear-gradient(180deg, rgba(223, 255, 85, .07), rgba(121, 221, 255, .035)),
    rgba(255, 255, 255, .04);
}

.mentor-answer-page .mentor-question strong {
  color: #fffaf0;
}

.mentor-answer-page .mentor-signal-tags {
  margin-top: 10px;
}

.mentor-answer-page .mentor-signal-tags span,
.mentor-answer-page .mentor-match-tags span,
.mentor-answer-page .mentor-match-evidence span,
.mentor-answer-page .mentor-proof-strip span,
.library-active span,
.library-card .card-tags span,
.library-data-badges span {
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  color: rgba(246, 241, 232, .66);
  background: rgba(255, 255, 255, .04);
}

.mentor-answer-page .mentor-signal-tags span:first-child,
.mentor-answer-page .mentor-match-title em,
.library-data-badges .recommendable {
  border-color: rgba(223, 255, 85, .34);
  color: var(--signal);
  background: rgba(223, 255, 85, .09);
}

.mentor-answer-page .mentor-analysis-panel {
  gap: 8px;
  margin-top: 12px;
}

.mentor-answer-page .mentor-analysis-card,
.mentor-answer-page .mentor-report-step {
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 255, 85, .075), rgba(255, 255, 255, .035)),
    rgba(0, 0, 0, .18);
}

.mentor-answer-page .mentor-analysis-card strong {
  color: #fffaf0;
}

.mentor-answer-page .mentor-analysis-card em {
  border-radius: 8px;
}

.mentor-answer-page .mentor-evidence-list {
  gap: 8px;
  margin-top: 14px;
  border: 0;
  background: transparent;
}

.mentor-answer-page .mentor-evidence-head,
.mentor-answer-page .mentor-preview-head {
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.mentor-answer-page .mentor-evidence-row {
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 18%, rgba(121, 221, 255, .07), transparent 28%),
    linear-gradient(135deg, rgba(223, 255, 85, .07), rgba(255, 255, 255, .03)),
    rgba(5, 8, 8, .92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

.mentor-answer-page .mentor-evidence-row + .mentor-evidence-row {
  border-top: 1px solid rgba(246, 241, 232, .1);
}

.mentor-answer-page .mentor-rank-pill b,
.mentor-answer-page .mentor-report-step span {
  border: 1px solid rgba(223, 255, 85, .34);
  border-radius: 8px;
  color: var(--signal);
  background: rgba(223, 255, 85, .1);
}

.mentor-answer-page .mentor-match-side img {
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(223, 255, 85, .12), transparent 58%),
    rgba(0, 0, 0, .18);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .42));
}

.mentor-answer-page .mentor-progress {
  border-radius: 999px;
  background: rgba(246, 241, 232, .1);
}

.mentor-answer-page .mentor-progress span {
  border-radius: inherit;
  background: linear-gradient(90deg, #79ddff, var(--signal), #fdba74);
}

.mentor-answer-page .mentor-report-preview {
  border: 0;
  background: transparent;
}

.mentor-answer-page .clay-button,
.mentor-answer-page .light-button {
  border-radius: 8px;
}

.mentor-answer-page .light-button {
  border-color: rgba(246, 241, 232, .12);
  color: rgba(246, 241, 232, .72);
  background: rgba(255, 255, 255, .04);
}

.library-main {
  padding: 14px;
}

.library-toolbar {
  grid-template-columns: minmax(360px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(246, 241, 232, .1);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, .035);
}

.library-search {
  min-width: 0;
  display: grid;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(246, 241, 232, .11);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(255, 255, 255, .045);
}

.library-search .search-field {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0;
  color: #fffaf0;
  background: transparent;
  outline: 0;
}

.library-filter-drawer summary,
.library-count,
.library-load-more {
  border-radius: 8px;
}

.library-filter-drawer summary {
  min-height: 38px;
  border-color: rgba(246, 241, 232, .11);
  color: rgba(246, 241, 232, .72);
  background: rgba(255, 255, 255, .04);
}

.library-filter-drawer[open] summary,
.library-filter-drawer summary:hover {
  border-color: rgba(223, 255, 85, .34);
  color: #fffaf0;
  background: rgba(223, 255, 85, .08);
}

.library-count {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 241, 232, .1);
  padding: 0 12px;
  color: rgba(246, 241, 232, .62);
  background: rgba(0, 0, 0, .16);
}

.library-filter-sheet {
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(223, 255, 85, .08), transparent 30%),
    linear-gradient(180deg, rgba(10, 15, 14, .98), rgba(4, 6, 6, .98));
}

.library-page .racket-grid {
  gap: 14px;
}

.library-card {
  min-height: 640px;
  overflow: hidden;
  border-color: rgba(246, 241, 232, .1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 16%, rgba(121, 221, 255, .07), transparent 34%),
    linear-gradient(160deg, rgba(223, 255, 85, .055), rgba(255, 255, 255, .032)),
    rgba(0, 0, 0, .2);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .26);
}

.library-card:hover {
  border-color: rgba(223, 255, 85, .34);
  box-shadow: 0 26px 58px rgba(0, 0, 0, .32);
  transform: translateY(-2px);
}

.library-card-image {
  border-bottom-color: rgba(246, 241, 232, .08);
  background:
    radial-gradient(circle at 50% 36%, rgba(223, 255, 85, .1), transparent 38%),
    radial-gradient(circle at 74% 18%, rgba(121, 221, 255, .08), transparent 32%),
    rgba(4, 7, 7, .68);
}

.library-card-image.reference-image {
  border: 1px solid rgba(246, 241, 232, .1);
  background:
    radial-gradient(circle at 50% 40%, rgba(223, 255, 85, .1), transparent 52%),
    rgba(4, 7, 7, .82);
}

.library-card-copy {
  background:
    linear-gradient(180deg, rgba(7, 10, 9, .86), rgba(4, 7, 7, .96));
}

.library-card-kicker {
  color: rgba(223, 255, 85, .76);
}

.library-card h3,
.library-card-title {
  color: #fffaf0;
  font-family: var(--font-cn-readable);
  letter-spacing: 0;
}

.library-card .library-card-title-cn {
  color: rgba(223, 255, 85, .76);
}

.library-card .spec-strip {
  border: 1px solid rgba(246, 241, 232, .08);
  border-radius: 8px;
  background: rgba(0, 0, 0, .18);
}

.library-card .spec-strip div {
  border-right-color: rgba(246, 241, 232, .08);
}

.library-detail-link {
  border: 1px solid rgba(223, 255, 85, .34);
  border-radius: 8px;
  color: var(--signal);
  background: rgba(223, 255, 85, .08);
}

.library-save-toggle,
.library-compare-toggle.muted {
  border-radius: 8px;
}

.library-save-toggle:hover,
.library-detail-link:hover,
.library-load-more:hover {
  border-color: rgba(223, 255, 85, .48);
  background: rgba(223, 255, 85, .12);
}

.library-load-more {
  background: rgba(223, 255, 85, .06);
}

@media (max-width: 1180px) {
  .mentor-answer-shell,
  .library-toolbar {
    grid-template-columns: 1fr;
  }

  .library-count {
    justify-self: stretch;
  }
}

/* Global Lineage system migration: extends the premium #brands language across the site. */
:root {
  --sr-bg: rgba(4, 6, 6, .98);
  --sr-panel: rgba(7, 10, 9, .86);
  --sr-card: rgba(255, 255, 255, .045);
  --sr-line: rgba(246, 241, 232, .12);
  --sr-line-soft: rgba(246, 241, 232, .08);
  --sr-text: #fffaf0;
  --sr-muted: rgba(246, 241, 232, .62);
  --sr-faint: rgba(246, 241, 232, .42);
  --sr-cyan: #79ddff;
  --sr-amber: #fdba74;
  --sr-green: #86efac;
  --sr-purple: #c4b5fd;
  --sr-radius: 8px;
}

body {
  overflow-x: hidden;
  color: var(--sr-text);
  background:
    radial-gradient(circle at 12% 7%, rgba(223, 255, 85, .09), transparent 25%),
    radial-gradient(circle at 84% 14%, rgba(121, 221, 255, .08), transparent 27%),
    radial-gradient(circle at 50% 110%, rgba(253, 186, 116, .07), transparent 35%),
    linear-gradient(180deg, #050706 0%, #080a08 48%, #0c0d0b 100%);
}

body::before {
  background:
    radial-gradient(circle at 17% 16%, rgba(223, 255, 85, .08), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(121, 221, 255, .07), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 240, .035), transparent 44%);
}

body::after {
  color: rgba(246, 241, 232, .035);
}

.site-header {
  grid-template-columns: 280px minmax(0, 1fr) max-content;
  min-height: 78px;
  border-bottom: 1px solid var(--sr-line);
  background:
    radial-gradient(circle at 18% 0%, rgba(223, 255, 85, .07), transparent 30%),
    rgba(5, 7, 6, .84);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.primary-nav {
  justify-self: center;
  border: 1px solid var(--sr-line-soft);
  border-radius: var(--sr-radius);
  padding: 5px;
  background: rgba(255, 255, 255, .035);
}

.primary-nav a,
.dark-button,
.light-button,
.clay-button,
.tag-button,
.city-token {
  border-radius: var(--sr-radius);
}

.primary-nav a {
  min-height: 38px;
  color: var(--sr-muted);
  font-family: var(--font-cn-readable);
  font-weight: 680;
}

.primary-nav a:hover,
.primary-nav a.active {
  border-color: rgba(223, 255, 85, .32);
  color: var(--sr-text);
  background: rgba(223, 255, 85, .08);
}

.header-actions .dark-button,
.dark-button {
  border-color: rgba(223, 255, 85, .36);
  color: #07100d;
  background: var(--signal);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
}

.header-mentor-cta {
  border-color: rgba(246, 241, 232, .16);
  border-radius: var(--sr-radius);
  color: var(--signal);
  background: rgba(255, 255, 255, .045);
  box-shadow: none;
}

.header-mentor-cta:hover {
  border-color: rgba(223, 255, 85, .42);
  background: rgba(223, 255, 85, .09);
}

.light-button,
.tag-button {
  border-color: var(--sr-line);
  color: var(--sr-muted);
  background: rgba(255, 255, 255, .045);
}

.light-button:hover,
.tag-button:hover,
.tag-button.active {
  border-color: rgba(223, 255, 85, .34);
  color: var(--sr-text);
  background: rgba(223, 255, 85, .08);
}

.clay-button {
  border-color: rgba(223, 255, 85, .4);
  color: #07100d;
  background: linear-gradient(135deg, var(--signal), #b6ef3e);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .24);
}

.page {
  width: min(1480px, calc(100vw - 40px));
  padding: 28px 0 72px;
  color: var(--sr-text);
}

.site-footer {
  width: min(1480px, calc(100vw - 40px));
}

.footer-inner {
  border-top: 1px solid var(--sr-line-soft);
  color: var(--sr-faint);
}

.footer-inner a {
  color: var(--signal);
}

.page-title,
.section-head {
  color: var(--sr-text);
}

.page-title h1,
.section-head h2,
.detail-main h1,
.product-archive-summary h1,
.profile-result-head h1,
.premium-dossier-header h1,
.dossier-route-summary h2,
.user-dossier-head h1,
.dossier-empty-gate h1 {
  color: var(--sr-text);
  letter-spacing: 0;
  text-shadow: none;
}

.page-title p,
.section-head p,
.detail-main p,
.product-archive-summary p,
.legal-card p,
.legal-note p,
.store-card p,
.profile-result-head p,
.profile-recommendation-card p,
.profile-match-summary,
.dossier-route-summary p,
.dossier-next-panel p,
.dossier-muted {
  color: var(--sr-muted);
}

:is(
  .filter-panel,
  .glass-panel,
  .admin-panel,
  .detail-panel,
  .detail-card,
  .store-card,
  .legal-card,
  .legal-note,
  .compare-panel,
  .product-archive-summary,
  .product-archive-card,
  .dossier-panel,
  .dossier-status,
  .dossier-empty-gate,
  .user-dossier-head,
  .dossier-route-summary,
  .dossier-top-pick,
  .dossier-shortlist-row article,
  .dossier-racket-card,
  .dossier-feedback-item,
  .profile-result-card,
  .profile-identity-card,
  .profile-diagnosis-card,
  .profile-athlete-panel,
  .profile-top-pick,
  .profile-signal-panel,
  .profile-principle-panel,
  .profile-recommendation-card,
  .profile-match-card,
  .profile-profile-radar-panel,
  .profile-star-video-card,
  .profile-inline-video,
  .premium-dossier-glass-panel,
  .decision-detail-panel,
  .journey-action-panel,
  .profile-card,
  .profile-onboarding-card,
  .profile-question-card,
  .profile-live-card,
  .profile-base-gate
) {
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  background:
    radial-gradient(circle at 18% 12%, rgba(223, 255, 85, .065), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(121, 221, 255, .055), transparent 28%),
    linear-gradient(180deg, rgba(11, 15, 13, .96), rgba(5, 7, 6, .97));
  box-shadow: 0 22px 62px rgba(0, 0, 0, .24);
}

:is(
  .admin-metric,
  .admin-detail-item,
  .admin-security-item,
  .admin-event-row,
  .admin-rec-row,
  .evidence-card,
  .confidence-panel,
  .metric-band,
  .spec-strip,
  .archive-data-panel,
  .archive-spec-table div,
  .archive-feature-grid article,
  .archive-fit-risk div,
  .profile-identity-list div,
  .profile-principle-box,
  .profile-rec-specs div,
  .profile-user-brief div,
  .profile-signal-list div,
  .profile-principle-list article,
  .profile-top-specs div,
  .profile-match-specs div,
  .profile-match-notes div,
  .dossier-kpi-grid span,
  .dossier-route-chip,
  .dossier-mini-list div,
  .dossier-profile-grid article,
  .dossier-string-note,
  .dossier-overview-facts div,
  .dossier-overview-meta div,
  .dossier-overview-kpis div,
  .flow-node,
  .api-card
) {
  border-color: var(--sr-line-soft);
  border-radius: var(--sr-radius);
  color: var(--sr-text);
  background: rgba(255, 255, 255, .04);
}

input,
textarea,
select,
.admin-input,
.admin-select,
.search-field {
  color: var(--sr-text);
  border-color: var(--sr-line);
  border-radius: var(--sr-radius);
  background: rgba(255, 255, 255, .045);
}

input::placeholder,
textarea::placeholder {
  color: rgba(246, 241, 232, .4);
}

input:focus,
textarea:focus,
select:focus,
.admin-input:focus,
.admin-select:focus {
  border-color: rgba(223, 255, 85, .38);
  outline: none;
  box-shadow: 0 0 0 3px rgba(223, 255, 85, .08);
}

.empty-state {
  border: 1px dashed rgba(246, 241, 232, .16);
  border-radius: var(--sr-radius);
  color: var(--sr-muted);
  background: rgba(255, 255, 255, .035);
}

.kicker,
.eyebrow,
.library-card-kicker,
.profile-result-head > span,
.profile-result-section-head span,
.dossier-panel-head span,
.knowledge-section-title span,
.admin-record-meta,
.admin-tier {
  color: rgba(223, 255, 85, .78);
  letter-spacing: .04em;
}

.status-pill,
.count-label,
.library-data-badges span,
.recommendation-trust-strip span,
.product-archive-tags span,
.profile-focus-tags span,
.profile-radar-legend span,
.dossier-tags span,
.dossier-side-tags span,
.dossier-profile-tags span,
.dossier-recommendation-tags span {
  border: 1px solid var(--sr-line-soft);
  border-radius: var(--sr-radius);
  color: var(--sr-muted);
  background: rgba(255, 255, 255, .04);
}

.status-pill.active,
.archive-core-tag,
.recommendable,
.compare-button.active,
.profile-match-card.featured {
  border-color: rgba(223, 255, 85, .34);
  color: var(--signal);
  background: rgba(223, 255, 85, .08);
}

.premium-hero {
  background:
    radial-gradient(circle at 50% 44%, rgba(223, 255, 85, .08), transparent 34%),
    linear-gradient(180deg, #050706, #080a08);
}

.premium-hero::after {
  opacity: .18;
}

.command-console,
.brand-rail,
.racket-surface-specs {
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  background:
    radial-gradient(circle at 14% 16%, rgba(223, 255, 85, .08), transparent 36%),
    linear-gradient(180deg, rgba(10, 15, 14, .9), rgba(4, 6, 6, .88));
  box-shadow: 0 22px 62px rgba(0, 0, 0, .28);
}

.console-core,
.home-lab-console,
.mentor-box,
.ask-row {
  border-color: var(--sr-line);
  border-radius: var(--sr-radius);
  background: rgba(255, 255, 255, .045);
}

.console-core input,
.home-lab-console input,
.ask-row input,
.ask-row textarea {
  color: var(--sr-text);
  background: transparent;
}

.console-core button,
.home-lab-submit,
.ask-row button {
  color: #07100d;
  background: var(--signal);
}

.brand-tile,
.surface-spec,
.home-lab-action-card,
.home-lab-profile,
.home-lab-stage {
  border-color: var(--sr-line);
  border-radius: var(--sr-radius);
  background: rgba(255, 255, 255, .045);
}

.brand-tile:hover,
.home-lab-action-card:hover {
  border-color: rgba(223, 255, 85, .34);
  color: var(--sr-text);
  background: rgba(223, 255, 85, .08);
}

.detail-hero,
.product-archive-hero {
  gap: 14px;
}

.detail-photo,
.product-gallery-main {
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  background:
    radial-gradient(circle at 50% 38%, rgba(223, 255, 85, .11), transparent 42%),
    radial-gradient(circle at 76% 14%, rgba(121, 221, 255, .08), transparent 28%),
    linear-gradient(180deg, rgba(11, 15, 13, .96), rgba(5, 7, 6, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.detail-index,
.metric-band,
.archive-data-panel {
  border-color: var(--sr-line-soft);
  border-radius: var(--sr-radius);
  background: rgba(255, 255, 255, .04);
}

.metric-band div,
.archive-data-panel div {
  border-color: var(--sr-line-soft);
}

.metric-band span,
.archive-data-panel span,
.spec-table th,
.archive-spec-table span,
.profile-rec-specs dt,
.profile-match-specs dt,
.dossier-mini-list dt,
.dossier-profile-grid span {
  color: var(--sr-faint);
}

.metric-band strong,
.archive-data-panel strong,
.archive-spec-table strong,
.profile-rec-specs dd,
.profile-match-specs dd,
.dossier-mini-list dd,
.dossier-profile-grid strong {
  color: var(--sr-text);
}

.spec-table {
  border-color: var(--sr-line);
  border-radius: var(--sr-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .025);
}

.spec-table th,
.spec-table td {
  border-color: var(--sr-line-soft);
  color: var(--sr-muted);
}

.spec-table th {
  color: var(--sr-text);
  background: rgba(223, 255, 85, .055);
}

.score-bars div i,
.profile-slider input::-webkit-slider-thumb,
.knowledge-spectrum-track,
.mentor-progress span {
  background: linear-gradient(90deg, var(--sr-cyan), var(--signal), var(--sr-amber));
}

.score-bars div i {
  border-radius: 999px;
}

.compare-panel {
  padding: 14px;
}

.compare-table {
  border: 1px solid var(--sr-line-soft);
}

.compare-page {
  color: var(--sr-text);
}

.compare-workbench-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.compare-workbench-head .page-title {
  margin-bottom: 0;
}

.compare-capacity {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  border: 1px solid rgba(223, 255, 85, .24);
  border-radius: var(--sr-radius);
  padding: 10px 14px;
  background: rgba(223, 255, 85, .075);
  color: var(--signal);
  font-family: "JetBrains Mono", monospace;
}

.compare-capacity span {
  font-size: 24px;
  font-weight: 760;
  line-height: 1;
}

.compare-capacity small {
  color: var(--sr-muted);
  font-size: 12px;
  font-weight: 700;
}

.compare-empty-state {
  display: grid;
  gap: 18px;
  place-items: start;
  min-height: 260px;
  padding: 28px;
}

.compare-empty-state h2 {
  margin: 0;
  color: var(--sr-text);
  font-size: 30px;
  line-height: 1.12;
}

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

.compare-single-note {
  margin-bottom: 12px;
  border: 1px solid rgba(121, 221, 255, .2);
  border-radius: var(--sr-radius);
  padding: 12px 14px;
  color: rgba(246, 241, 232, .72);
  background: rgba(121, 221, 255, .065);
  font-size: 13px;
  font-weight: 720;
}

.compare-racket-head {
  display: grid;
  gap: 9px;
  justify-items: center;
  min-width: 180px;
}

.compare-racket-head img {
  width: 112px;
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .28));
}

.compare-racket-head a {
  display: grid;
  gap: 3px;
  justify-items: center;
  color: var(--sr-text);
  text-decoration: none;
}

.compare-racket-head span {
  color: var(--sr-faint);
  font-size: 11px;
  font-weight: 760;
}

.compare-racket-head strong {
  max-width: 210px;
  color: var(--sr-text);
  font-size: 14px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.compare-racket-head button,
.compare-limit-list button,
.compare-limit-actions button,
.mentor-compare-button,
.dossier-compare-button {
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  color: var(--sr-muted);
  background: rgba(255, 255, 255, .045);
}

.compare-racket-head button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 760;
}

.compare-racket-head button:hover,
.compare-limit-list button:hover,
.compare-limit-actions button:hover,
.mentor-compare-button:hover,
.dossier-compare-button:hover {
  border-color: rgba(223, 255, 85, .36);
  color: var(--signal);
  background: rgba(223, 255, 85, .08);
}

.compare-toggle.active,
.rec-action-compare.active,
.mentor-compare-button.active,
.dossier-compare-button.active {
  border-color: rgba(223, 255, 85, .52);
  color: var(--signal);
  background: rgba(223, 255, 85, .09);
}

.recommendation-actions {
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.recommendation-actions .rec-action-compare {
  border-color: rgba(121, 221, 255, .26);
  background: rgba(121, 221, 255, .07);
  color: rgba(246, 241, 232, .88);
}

.recommendation-actions .rec-action-compare:hover {
  color: var(--signal);
  background: rgba(223, 255, 85, .08);
}

.mentor-compare-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 820;
}

.dossier-compare-button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 820;
}

.compare-limit-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 65;
  display: grid;
  gap: 14px;
  width: min(420px, calc(100vw - 32px));
  border: 1px solid rgba(246, 241, 232, .14);
  border-radius: var(--sr-radius);
  padding: 18px;
  color: var(--sr-text);
  background:
    radial-gradient(circle at 18% 16%, rgba(223, 255, 85, .08), transparent 32%),
    linear-gradient(180deg, rgba(10, 15, 14, .98), rgba(5, 7, 6, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

.compare-limit-copy h3 {
  margin: 4px 0 6px;
  color: var(--sr-text);
  font-size: 22px;
  line-height: 1.12;
}

.compare-limit-copy p:last-child {
  margin: 0;
  color: var(--sr-muted);
  line-height: 1.5;
}

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

.compare-limit-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--sr-line-soft);
  border-radius: var(--sr-radius);
  padding: 10px;
  background: rgba(255, 255, 255, .035);
}

.compare-limit-list span {
  display: block;
  color: var(--sr-faint);
  font-size: 11px;
  font-weight: 760;
}

.compare-limit-list strong {
  display: block;
  margin-top: 2px;
  color: var(--sr-text);
  font-size: 13px;
  line-height: 1.22;
}

.compare-limit-list button,
.compare-limit-actions button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 820;
}

.compare-limit-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.knowledge-page {
  width: min(1480px, calc(100vw - 40px));
  color: var(--sr-text);
  background:
    radial-gradient(circle at 22% 20%, rgba(223, 255, 85, .075), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(121, 221, 255, .07), transparent 28%),
    linear-gradient(180deg, rgba(5, 7, 6, .98), rgba(8, 10, 8, .98));
}

.knowledge-shell {
  gap: 14px;
}

:is(
  .knowledge-map-layout,
  .knowledge-tools,
  .knowledge-index-shelf,
  .knowledge-paths,
  .knowledge-map-panel,
  .knowledge-detail-card,
  .knowledge-topic-item,
  .knowledge-section-grid section,
  .knowledge-path-grid article,
  .knowledge-map-context,
  .knowledge-range,
  .knowledge-boundary-note
) {
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  background:
    radial-gradient(circle at 18% 16%, rgba(223, 255, 85, .065), transparent 32%),
    linear-gradient(180deg, rgba(10, 15, 14, .92), rgba(5, 7, 6, .96));
}

.knowledge-racket-stage {
  border: 1px solid var(--sr-line-soft);
  border-radius: var(--sr-radius);
  background:
    radial-gradient(circle at 50% 40%, rgba(223, 255, 85, .1), transparent 42%),
    rgba(255, 255, 255, .03);
}

.knowledge-search {
  border-color: var(--sr-line);
  border-radius: var(--sr-radius);
  background: rgba(255, 255, 255, .045);
}

.knowledge-tabs button,
.knowledge-map-shortcuts button,
.knowledge-related button,
.knowledge-path-grid button {
  border-radius: var(--sr-radius);
  border-color: var(--sr-line-soft);
  color: var(--sr-muted);
  background: rgba(255, 255, 255, .04);
}

.knowledge-tabs button.active,
.knowledge-tabs button:hover,
.knowledge-map-shortcuts button.active,
.knowledge-map-shortcuts button:hover,
.knowledge-topic-item.active,
.knowledge-topic-item:hover,
.knowledge-related button:hover,
.knowledge-path-grid button:hover {
  border-color: rgba(223, 255, 85, .34);
  color: var(--sr-text);
  background: rgba(223, 255, 85, .08);
}

.knowledge-map-label {
  border-radius: var(--sr-radius);
  border-color: var(--sr-line);
  background: rgba(5, 7, 6, .82);
}

.knowledge-map-dot,
.knowledge-spectrum-marker {
  background: var(--signal);
  box-shadow: 0 0 28px rgba(223, 255, 85, .44);
}

.knowledge-map-overlay line,
.knowledge-map-overlay polyline {
  stroke: rgba(246, 241, 232, .18);
}

.knowledge-map-overlay line.active,
.knowledge-map-overlay polyline.active {
  stroke: var(--signal);
}

/* Knowledge detail softening: keep the right-side reader calm and roomy. */
.knowledge-page .knowledge-map-layout {
  border: 0;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .035);
}

.knowledge-map-detail {
  padding: 30px 32px 32px;
  background:
    radial-gradient(circle at 12% 0%, rgba(223, 255, 85, .06), transparent 34%),
    linear-gradient(180deg, rgba(8, 12, 11, .8), rgba(5, 7, 6, .92));
}

.knowledge-map-detail .knowledge-detail-card {
  border: 0;
  border-radius: 0;
  padding: 0 4px 2px;
  background: transparent;
  box-shadow: none;
}

.knowledge-map-detail .knowledge-detail-head {
  padding-top: 4px;
  padding-bottom: 2px;
}

.knowledge-map-detail .knowledge-detail-head h2 {
  max-width: 13em;
}

.knowledge-map-detail .knowledge-detail-anchor {
  margin-top: 2px;
  border-color: rgba(223, 255, 85, .18);
  background: rgba(223, 255, 85, .055);
}

.knowledge-map-detail .knowledge-summary {
  max-width: none;
  margin-top: 2px;
  padding: 16px 18px;
  border-left: 2px solid rgba(223, 255, 85, .42);
  border-radius: var(--sr-radius);
  color: rgba(255, 250, 240, .84);
  background: linear-gradient(90deg, rgba(223, 255, 85, .075), rgba(255, 255, 255, .025));
  line-height: 1.74;
}

.knowledge-map-detail .knowledge-map-context,
.knowledge-map-detail .knowledge-range,
.knowledge-map-detail .knowledge-boundary-note,
.knowledge-map-detail .knowledge-section-grid section {
  border-color: rgba(246, 241, 232, .075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .024));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.knowledge-map-detail .knowledge-map-context,
.knowledge-map-detail .knowledge-range {
  padding: 14px 16px;
}

.knowledge-map-detail .knowledge-section-grid {
  gap: 12px;
}

.knowledge-map-detail .knowledge-section-grid section {
  padding: 17px 16px 18px;
}

.knowledge-map-detail .knowledge-section-grid h3 {
  margin-bottom: 12px;
}

@media (max-width: 1020px) {
  .knowledge-map-detail {
    padding: 20px 18px 24px;
  }

  .knowledge-map-detail .knowledge-detail-card {
    padding: 0;
  }
}

.profile-result-page,
.user-dossier-page,
.premium-dossier-page,
.product-archive-page {
  color: var(--sr-text);
  background:
    radial-gradient(circle at 18% 12%, rgba(223, 255, 85, .08), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(121, 221, 255, .065), transparent 28%),
    linear-gradient(180deg, rgba(5, 7, 6, .98), rgba(8, 10, 8, .98));
}

.profile-result-shell,
.user-dossier-shell,
.premium-dossier-shell {
  width: min(1480px, 100%);
}

.profile-result-head,
.premium-dossier-header {
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  padding: 18px;
  background:
    radial-gradient(circle at 16% 16%, rgba(223, 255, 85, .08), transparent 30%),
    rgba(255, 255, 255, .035);
}

.profile-match-score,
.profile-result-status,
.profile-top-pick-stage,
.profile-match-photo,
.dossier-athlete-frame {
  border-color: var(--sr-line-soft);
  border-radius: var(--sr-radius);
  background:
    radial-gradient(circle at 50% 38%, rgba(223, 255, 85, .1), transparent 42%),
    rgba(255, 255, 255, .035);
}

.profile-match-score strong,
.profile-result-status strong,
.profile-match-card-head h3,
.profile-top-pick h3,
.dossier-top-pick h3,
.dossier-shortlist-row strong,
.dossier-racket-card h3 {
  color: var(--sr-text);
}

.profile-match-score span,
.profile-result-status span,
.profile-match-card-head span,
.profile-rec-notes span,
.dossier-top-pick > span,
.dossier-shortlist-row span,
.dossier-racket-card span,
.dossier-feedback-item span {
  color: var(--sr-muted);
}

.profile-choice-card span,
.profile-radio-options span,
.profile-fields label,
.profile-radio-field,
.profile-step-pill {
  border-radius: var(--sr-radius);
  border-color: var(--sr-line-soft);
  color: var(--sr-muted);
  background: rgba(255, 255, 255, .04);
}

.profile-choice-card:hover span,
.profile-choice-card input:checked + span,
.profile-radio-options input:checked + span,
.profile-step-pill.current {
  border-color: rgba(223, 255, 85, .36);
  color: var(--sr-text);
  background: rgba(223, 255, 85, .08);
}

.profile-fields input,
.profile-fields select,
.profile-fields textarea {
  border-radius: var(--sr-radius);
  color: var(--sr-text);
  background: rgba(255, 255, 255, .04);
}

.auth-overlay,
.profile-overlay {
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(18px);
}

.auth-card {
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  background:
    radial-gradient(circle at 18% 12%, rgba(223, 255, 85, .08), transparent 30%),
    linear-gradient(180deg, rgba(10, 15, 14, .98), rgba(5, 7, 6, .98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .38);
}

.journey-action-panel {
  color: var(--sr-text);
}

.journey-close {
  border-radius: var(--sr-radius);
  color: var(--sr-muted);
  background: rgba(255, 255, 255, .045);
}

.admin-layout {
  gap: 14px;
}

.admin-nav,
.admin-board,
.admin-table-panel,
.admin-user-list,
.admin-user-detail {
  border-color: var(--sr-line);
}

.admin-user-row,
.admin-control,
.admin-catalog-controls,
.admin-record-row {
  border-radius: var(--sr-radius);
  border-color: var(--sr-line-soft);
  color: var(--sr-muted);
  background: rgba(255, 255, 255, .04);
}

.admin-user-row.active,
.admin-user-row:hover {
  border-color: rgba(223, 255, 85, .34);
  color: var(--sr-text);
  background: rgba(223, 255, 85, .08);
}

.legal-grid,
.store-grid,
.insight-grid {
  gap: 14px;
}

.legal-note strong,
.store-card h3,
.legal-card h3,
.detail-card h3,
.product-archive-card h2,
.knowledge-detail-head h2,
.knowledge-path-grid h3,
.knowledge-section-grid h3 {
  color: var(--sr-text);
}

.knowledge-summary,
.knowledge-section-grid p,
.knowledge-section-grid li,
.knowledge-path-grid p,
.knowledge-topic-item p,
.knowledge-map-context p,
.knowledge-boundary-note {
  color: var(--sr-muted);
}

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

  .primary-nav {
    justify-self: stretch;
  }
}
