:root {
  color-scheme: dark;
  --bg: #100d1c;
  --panel: #1a1729;
  --panel-deep: #151122;
  --line: #393249;
  --line-soft: #534366;
  --text: #f7f3fa;
  --muted: #b4acc6;
  --pink: #fb88ef;
  --cyan: #8ddcf8;
  --gold: #ffdfaa;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
button, select, textarea, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.9em; color: #f4d6fb; overflow-wrap: anywhere; }

:where(a, button, select, textarea, input):focus-visible {
  outline: 2px solid #ffb9f4;
  outline-offset: 3px;
}

.app-shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 19px 22px;
  border-right: 1px solid #332c43;
  display: flex;
  flex-direction: column;
  background: #120f20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px;
  font-size: 22px;
  font-weight: 720;
  letter-spacing: -0.06em;
}
.brand img { width: 37px; height: 37px; border-radius: 11px; }
.brand-small {
  display: block;
  color: #b2a9c7;
  font-size: 9px;
  letter-spacing: 0.24em;
  font-weight: 700;
  margin: 3px 0 0 1px;
}

.rail-label, .eyebrow, .kicker, .studio-panel label, .access-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.rail-label { margin: 48px 12px 12px; font-size: 10px; }
.rail nav { display: grid; gap: 4px; }

.nav-link {
  padding: 12px 13px;
  border-radius: 10px;
  font-size: 13px;
  color: #b7b0c9;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color 140ms ease, color 140ms ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: #29233b; }
.nav-link.active { box-shadow: inset 2px 0 var(--pink); }
.nav-icon { width: 16px; height: 16px; flex: none; color: #dbb4fa; }

.rail-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 18px 10px 0;
  font-size: 12px;
  color: #e5dded;
}
.rail-status { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.rail-bottom p { color: #a79fbd; margin: 8px 0 0; line-height: 1.5; font-size: 12px; }
.rail-legal { display: flex; gap: 16px; margin-top: 14px; font-size: 12px; color: #d3c6e3; }
.rail-legal a:hover { color: var(--pink); text-decoration: underline; }
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9b5ff;
  box-shadow: 0 0 10px #b58aff;
  flex: none;
}

main {
  max-width: 1520px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 0 42px;
}

.topbar {
  height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.separator { margin: 0 8px; color: #6c637c; }
.top-actions { display: flex; align-items: center; gap: 18px; }

.mobile-nav {
  display: none;
}

.source-pill {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid #6c5380;
  background: #2c203c;
  border-radius: 999px;
  color: #f6c6fb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.text-button {
  background: none;
  border: none;
  padding: 6px 2px;
  color: #ede4f2;
  font-size: 13px;
  font-weight: 640;
}
.text-button:hover, .quiet-link:hover { color: var(--pink); }

.notice {
  margin: 18px 0 0;
  padding: 13px 17px;
  border: 1px solid #6b496e;
  border-radius: 10px;
  background: #35233d;
  color: #ffe3ee;
  font-size: 13px;
  line-height: 1.5;
}
.sample-bar { margin-top: 8px; }

.hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid #5a416f;
  border-radius: 22px;
  background:
    radial-gradient(circle at 84% 47%, #8437ae55, transparent 35%),
    radial-gradient(circle at 55% 120%, #185fa566, transparent 45%),
    linear-gradient(112deg, #302043 0%, #1d1b3d 58%, #382049 100%);
  display: flex;
  align-items: center;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 95%, #ffffff0b 96%),
    linear-gradient(transparent 95%, #ffffff0b 96%);
  background-size: 50px 50px;
  mask-image: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; padding: 52px 58px; max-width: 720px; }
.kicker { color: #d9a8f6; }
.hero h1, .studio-intro h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.07;
}
.hero h1 { font-size: clamp(36px, 4.2vw, 60px); margin: 16px 0 18px; max-width: 15ch; }
.hero p, .studio-intro p {
  color: #cfc6dc;
  font-size: 15px;
  line-height: 1.65;
  max-width: 54ch;
  margin: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 28px; }

.primary-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(100deg, #ffb9f4, #d397fa);
  color: #25132d;
  font-size: 13px;
  font-weight: 760;
  box-shadow: 0 10px 30px #a752af3d;
}
.primary-button:hover { filter: brightness(1.07); transform: translateY(-1px); }
.primary-button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.primary-button span { font-size: 16px; }
.quiet-link { font-size: 13px; font-weight: 680; }
.quiet-link span { margin-left: 6px; color: var(--pink); }

.hero-art {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  height: 300px;
  width: 300px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 45px #a02bda66);
  pointer-events: none;
}
.orb-core {
  font-size: 150px;
  color: #ffe1ff;
  text-shadow: 0 0 18px #ff92e6, 0 0 65px #c120ff, 0 0 120px #42c8fa;
  transform: rotate(-12deg);
}
.orbit {
  position: absolute;
  width: 255px;
  height: 255px;
  border: 1px solid #c788dc7b;
  border-radius: 50%;
  transform: rotate(-24deg) scaleX(0.57);
}
.orbit-b { transform: rotate(53deg) scaleX(0.57); border-color: #68d8f09e; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 56px 0 20px;
}
.section-heading h2 { font-size: 28px; font-weight: 650; letter-spacing: -0.035em; margin: 8px 0 0; }
.section-heading p { font-size: 13px; color: #b7afc8; margin: 0 0 4px; max-width: 44ch; text-align: right; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.metric, .post, .insight-card, .studio-intro, .studio-panel, .analyze-output-card, .live-card, .access-card, .profile-view, .hero-copy {
  min-width: 0;
}

.studio-panel select, .studio-panel textarea, .studio-panel input, .live-match select {
  max-width: 100%;
  min-width: 0;
}

.access-card, .analysis-text, .plan #plan-text, .legal {
  overflow-wrap: anywhere;
}

.metric {
  min-height: 126px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(140deg, #211a30, #171522);
  position: relative;
  overflow: hidden;
}
.metric:before {
  content: "";
  height: 70px;
  width: 70px;
  position: absolute;
  right: -21px;
  top: -21px;
  border-radius: 50%;
  background: #e586ff12;
}
.metric-label { color: #bfb7cd; font-size: 12px; }
.metric-value { font-size: 32px; font-weight: 660; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; margin: 14px 0 4px; }
.metric-note { font-size: 11px; color: #a79fbd; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.post {
  display: flex;
  gap: 14px;
  text-align: left;
  width: 100%;
  min-height: 126px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #1a1727;
  color: inherit;
}
.post:hover, .post.selected { border-color: #e8a4e8; background: #282036; }
.post-art {
  flex: none;
  width: 82px;
  border-radius: 8px;
  background: radial-gradient(circle at 70% 22%, #fff5, transparent 25%), linear-gradient(150deg, var(--card-a), var(--card-b));
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 28px;
  color: #fff9;
}
.post-info { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.post-info strong { font-size: 13px; line-height: 1.38; font-weight: 650; }
.post-info small { color: #b5adc7; font-size: 11px; }
.post-info .post-stats { color: #d8b8e8; font-size: 11px; font-variant-numeric: tabular-nums; }

.insight-card {
  border: 1px solid #7e5986;
  border-radius: 14px;
  padding: 23px;
  background: radial-gradient(circle at 85% 0, #bb4caa2e, transparent 50%), #281f35;
  display: flex;
  flex-direction: column;
}
.insight-icon { color: #efb6fb; margin-bottom: 12px; }
.insight-card h3 { font-family: Georgia, serif; font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -0.03em; margin: 12px 0; }
.insight-card p { color: #d1c7dc; font-size: 13px; line-height: 1.6; margin: 0; }
.insight-foot { font-size: 11px; color: #b4a4c7; border-top: 1px solid #73557e; margin-top: auto; padding-top: 16px; }

/* Analyze my latest LIVE */
.live-analyze-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: stretch;
}
.analyze-form {
  border: 1px solid #5d4970;
  border-radius: 16px;
}
.analyze-form-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 6px;
}
.analyze-form-head p {
  margin: 0;
  color: #cec5db;
  font-size: 13px;
  line-height: 1.55;
}
.subtle-action {
  white-space: nowrap;
  color: var(--cyan);
  font-size: 12px;
  padding: 4px 0;
}
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 4px;
}
.char-count { font-size: 11px; color: #a9a0bd; font-variant-numeric: tabular-nums; }
.analyze-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.analyze-output-card {
  border: 1px solid #67507a;
  border-radius: 16px;
  padding: 26px;
  background: radial-gradient(circle at 90% 8%, #226b9233, transparent 48%), linear-gradient(155deg, #231b34, #171424);
  display: flex;
  flex-direction: column;
}
.analysis-empty h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 12px 0 14px;
}
.analysis-empty ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 11px;
  color: #ccc2d8;
  font-size: 13px;
  line-height: 1.6;
}
.analysis-text {
  white-space: pre-wrap;
  font-size: 13.5px;
  line-height: 1.68;
  color: #f4ecf7;
}

/* LIVE Studio preview */
.live-section { margin-top: 56px; }
.live-disclosure { max-width: 68ch; margin: 0 0 20px; color: #cec5db; font-size: 13.5px; line-height: 1.6; }
.live-controls, .live-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.live-controls { margin-bottom: 15px; }
.live-controls button, .live-filter button {
  border: 1px solid #554565;
  border-radius: 999px;
  background: #1f1a2c;
  color: #dfd6e8;
  padding: 9px 15px;
  font-size: 12px;
}
.live-controls button.active, .live-filter button.active {
  border-color: #e5a5ed;
  background: #3b254b;
  color: #fff;
}
.live-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 15px; }
.live-card {
  min-width: 0;
  border: 1px solid #554364;
  border-radius: 16px;
  background: linear-gradient(145deg, #241a34, #181522);
  padding: 24px;
}
.live-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #b8afc9;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.live-pulse {
  height: 106px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 6px;
  margin: 22px 0 18px;
  border-bottom: 1px solid #645170;
}
.live-pulse span {
  display: block;
  min-height: 8px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(0deg, #8051a8, #f0a3ed);
}
.live-stats, .live-score { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.live-stats .metric, .live-score .metric, .post, .insight-card, .studio-intro, .studio-panel, .analyze-output-card, .live-card, .access-card, .profile-view, .hero-copy {
  min-width: 0;
}

.studio-panel select, .studio-panel textarea, .studio-panel input, .live-match select {
  max-width: 100%;
  min-width: 0;
}

.access-card, .analysis-text, .plan #plan-text, .legal {
  overflow-wrap: anywhere;
}

.metric { min-height: 92px; padding: 13px; }
.live-stats .metric-value, .live-score .metric-value { font-size: 22px; margin: 8px 0 3px; }
.live-filter { margin: 22px 0 12px; }
.live-filter button { padding: 7px 12px; font-size: 11px; }
.live-events { display: grid; gap: 6px; min-height: 120px; }
.live-event { display: flex; align-items: start; gap: 12px; border-top: 1px solid #493b56; padding: 11px 0; }
.live-event p { margin: 0; color: #ddd4e6; font-size: 12.5px; line-height: 1.5; }
.event-type { min-width: 68px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; font-weight: 800; color: #f8bcf3; }
.event-type.reaction { color: #9fe0fa; }
.event-type.gift { color: #ffdc9c; }
.live-match label { display: block; margin: 24px 0 9px; color: #cec5db; font-size: 12px; }
.live-match select {
  width: 100%;
  background: #15111f;
  color: #f6edf7;
  border: 1px solid #675275;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
}
.live-score { margin: 18px 0; }
.live-action {
  border-left: 3px solid #eaa7ed;
  background: #352541;
  border-radius: 0 9px 9px 0;
  padding: 15px;
  color: #f7e7f6;
  font-size: 13px;
  line-height: 1.55;
}
.live-match .fine-print { margin-top: 16px; line-height: 1.6; }

/* Next-post studio */
.studio-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  margin-top: 60px;
  border: 1px solid #5d4970;
  border-radius: 19px;
  overflow: hidden;
  background: linear-gradient(130deg, #241a38, #171522);
}
.studio-intro {
  position: relative;
  padding: 44px 40px;
  overflow: hidden;
  background: radial-gradient(circle at 10% 110%, #7a309663, transparent 42%);
}
.studio-intro h2 { font-size: clamp(38px, 4vw, 56px); margin: 18px 0; }
.accent { color: var(--pink); }
.studio-intro p { font-size: 14px; max-width: 38ch; }
.studio-mark { position: absolute; bottom: -75px; right: 36px; font-size: 230px; line-height: 1; color: #e389ff19; pointer-events: none; }

.studio-panel {
  padding: 30px 34px;
  background: #211a30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.studio-panel label { margin-top: 4px; font-size: 11px; }
.studio-panel label span { font-weight: 500; color: #b4a9c4; }
.studio-panel select, .studio-panel textarea, .studio-panel input {
  width: 100%;
  background: #161220;
  border: 1px solid #4e4160;
  color: #f1ebf6;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 13px;
  outline: none;
}
.studio-panel select:focus, .studio-panel textarea:focus, .studio-panel input:focus { border-color: #dc9de9; }
.studio-panel textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.studio-panel textarea::placeholder, .studio-panel input::placeholder { color: #a79cb8; }
.full { width: 100%; margin-top: 6px; }

.plan {
  border: 1px solid #a279ad;
  border-radius: 10px;
  background: #30243c;
  margin-top: 10px;
  padding: 19px;
  color: #f7edf7;
}
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.plan #plan-text { white-space: pre-wrap; font-size: 13.5px; line-height: 1.68; }
.fine-print { font-size: 11.5px; line-height: 1.55; color: #b1a5c2; margin: 6px 0 0; }

/* TikTok access roadmap */
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.access-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 22px;
  background: #181426;
}
.access-configured { border-color: #5d4f7b; background: linear-gradient(160deg, #211a34, #171422); }
.access-applicable { border-color: #3d6376; background: linear-gradient(160deg, #182334, #151422); }
.access-unconfirmed { border-color: #6b5645; background: linear-gradient(160deg, #241c24, #171420); }
.access-applicable .access-tag { color: var(--cyan); }
.access-unconfirmed .access-tag { color: var(--gold); }
.access-card h3 { font-size: 18px; margin: 10px 0 12px; letter-spacing: -0.02em; }
.access-card ul { margin: 0; padding-left: 18px; display: grid; gap: 9px; color: #ccc3d8; font-size: 13px; line-height: 1.55; }

/* Profile */
.profile-view { margin-top: 22px; border: 1px solid #6c557a; border-radius: 16px; background: #231b31; padding: 23px; }
.profile-head { display: flex; align-items: center; gap: 16px; }
.profile-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.profile-head h2 { margin: 5px 0 2px; font-size: 24px; }
.profile-head p, .profile-view > p { color: #cbc2d6; font-size: 13px; line-height: 1.55; }
.profile-head p { margin: 0; }
.profile-view > p { margin: 16px 0; }
.profile-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.profile-stats .metric, .post, .insight-card, .studio-intro, .studio-panel, .analyze-output-card, .live-card, .access-card, .profile-view, .hero-copy {
  min-width: 0;
}

.studio-panel select, .studio-panel textarea, .studio-panel input, .live-match select {
  max-width: 100%;
  min-width: 0;
}

.access-card, .analysis-text, .plan #plan-text, .legal {
  overflow-wrap: anywhere;
}

.metric { min-height: 104px; padding: 14px; }
.profile-stats .metric-value { font-size: 22px; margin: 9px 0 3px; }
.profile-permissions { overflow-wrap: anywhere; border-top: 1px solid #584569; padding-top: 14px; font-size: 11.5px !important; }

/* Footer & Legal */
footer {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #a9a0ba;
  font-size: 12px;
  margin-top: 40px;
  border-top: 1px solid #2b243a;
}
footer nav { display: flex; gap: 20px; }
footer a:hover { color: var(--pink); text-decoration: underline; }

.legal { max-width: 72ch; margin: 48px auto 96px; }
.legal h1 { font-family: Georgia, serif; font-size: 48px; font-weight: 500; letter-spacing: -0.04em; margin: 12px 0 18px; }
.legal h2 { font-size: 19px; margin-top: 34px; }
.legal p, .legal li { color: #cbc2d8; font-size: 14.5px; line-height: 1.72; }
.legal a { text-decoration: underline; color: #f6c8f3; }

@media (max-width: 1120px) {
  .hero-art { right: -70px; opacity: 0.42; }
  .content-layout, .live-analyze-grid, .live-grid, .access-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .rail { height: auto; position: relative; padding: 14px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail nav, .rail-label, .rail-bottom { display: none; }
  .brand { padding: 0; }
  main { padding: 0 16px; }
  .topbar { height: auto; min-height: 60px; flex-wrap: wrap; align-items: flex-start; padding: 14px 0; gap: 10px; }
  .top-actions { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  .analyze-form-head { flex-wrap: wrap; }
  .mobile-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0 4px;
    scrollbar-width: none;
  }
  .mobile-nav::-webkit-scrollbar { display: none; }
  .mobile-nav a {
    flex: none;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #1a1628;
    color: #ded5ea;
    font-size: 12px;
  }
  .hero { min-height: 330px; margin-top: 14px; }
  .hero-copy { padding: 34px 22px; width: 100%; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); max-width: none; overflow-wrap: anywhere; }
  .hero p { font-size: 14px; }
  .hero-art { right: -130px; top: 55%; opacity: 0.2; }
  .section-heading { margin-top: 40px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading p { text-align: left; max-width: none; }
  .metrics { gap: 9px; }
  .metric, .post, .insight-card, .studio-intro, .studio-panel, .analyze-output-card, .live-card, .access-card, .profile-view, .hero-copy {
  min-width: 0;
}

.studio-panel select, .studio-panel textarea, .studio-panel input, .live-match select {
  max-width: 100%;
  min-width: 0;
}

.access-card, .analysis-text, .plan #plan-text, .legal {
  overflow-wrap: anywhere;
}

.metric { min-height: 110px; padding: 14px; }
  .metric-value { font-size: 24px; }
  .posts { grid-template-columns: 1fr; }
  .post-art { width: 74px; }
  .studio-section { grid-template-columns: 1fr; margin-top: 46px; }
  .studio-intro { padding: 30px 22px; }
  .studio-panel { padding: 22px; }
  .studio-intro h2 { font-size: 38px; }
  .analyze-output-card, .live-card { padding: 18px; }
  .live-stats, .live-score { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .live-stats .metric, .live-score .metric, .post, .insight-card, .studio-intro, .studio-panel, .analyze-output-card, .live-card, .access-card, .profile-view, .hero-copy {
  min-width: 0;
}

.studio-panel select, .studio-panel textarea, .studio-panel input, .live-match select {
  max-width: 100%;
  min-width: 0;
}

.access-card, .analysis-text, .plan #plan-text, .legal {
  overflow-wrap: anywhere;
}

.metric { padding: 9px; min-height: 88px; }
  .live-stats .metric-value, .live-score .metric-value { font-size: 18px; }
  .live-stats .metric-label, .live-score .metric-label { font-size: 10px; }
  .live-stats .metric-note, .live-score .metric-note { font-size: 9px; overflow-wrap: anywhere; }
  .live-controls button { flex: 1 1 110px; }
  .profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer { flex-wrap: wrap; padding: 22px 0; }
  .legal h1 { font-size: 38px; }
}
