:root {
  --ss-forest: #123D2B;
  --ss-forest-deep: #0C3022;
  --ss-green: #2F6845;
  --ss-pine: var(--ss-forest);
  --ss-fairway: var(--ss-green);
  --ss-sage: #7FAE6E;
  --ss-mist: #E8EDE1;
  --ss-cream: #F4EFE3;
  --ss-cream-soft: #FAF7EF;
  --ss-off-white: var(--ss-cream-soft);
  --ss-line: rgba(18, 61, 43, 0.16);
  --ss-ink: var(--ss-forest-deep);
  --ss-bg: var(--ss-off-white);
  --ss-surface: var(--ss-cream-soft);
  --ss-surface-warm: var(--ss-cream);
  --ss-text: var(--ss-pine);
  --ss-muted: #657469;
  --ss-border: rgba(18, 61, 43, 0.16);
  --ss-shadow: rgba(12, 48, 34, 0.08);
  --ss-primary: var(--ss-pine);
  --ss-primary-hover: var(--ss-forest-deep);
  --ss-accent: var(--ss-sage);
  --ss-radius-card: 20px;
  --ss-radius-pill: 999px;
  --ss-shadow-soft: 0 12px 28px var(--ss-shadow);
  --ink: var(--ss-forest-deep);
  --forest: var(--ss-forest);
  --fairway: var(--ss-green);
  --fairway-light: var(--ss-sage);
  --rough: #2f4d34;
  --green: var(--ss-sage);
  --sand: #e4d2aa;
  --sand-deep: #c7ab77;
  --paper: var(--ss-cream);
  --paper-deep: #e5dccb;
  --line: var(--ss-border);
  --line-strong: rgba(18, 61, 43, 0.26);
  --text-soft: var(--ss-muted);
  --white: var(--ss-surface);
  --success: #2c6a3d;
  --danger: #8a4132;
  --shadow: 0 12px 28px var(--ss-shadow);
  --ui-font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --label-font: var(--ui-font);
  --mono-font: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Landing — Sport variant accents */
  --ss-lime: #d3f000;
  --ss-lime-text: #191e00;
  --ss-mint: #c3ecd1;
  --ss-mint-soft: #7fb89a;
  --ss-blood: #ff5b3a;
  --ss-ink-deep: #04150d;
  --ss-line-mint: rgba(195, 236, 209, 0.18);
  --ss-line-mint-strong: rgba(195, 236, 209, 0.32);
}

/* Journal */
.app-shell--journal,
html[data-theme] .app-shell--journal {
  --journal-bg: #000000;
  --journal-panel: #001d0f;
  --journal-ink: #ffffff;
  --journal-muted: var(--ss-mint);
  --journal-soft: var(--ss-mint-soft);
  --journal-line: var(--ss-line-mint);
  --journal-line-strong: var(--ss-line-mint-strong);
  --journal-accent: var(--ss-lime);
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(0, 29, 15, 0.94), #000000 34rem),
    #000000;
  color: var(--journal-ink);
}

.app-shell--journal .app-shell-topbar {
  background: rgba(0, 29, 15, 0.94);
  border-bottom: 1px solid var(--journal-line);
}

.app-shell--journal .app-shell-main {
  padding: 0;
}

.journal-index-page,
.journal-article-page {
  width: min(100%, 52rem);
  margin: 0 auto;
  padding: clamp(3.25rem, 8vw, 6.5rem) 1.25rem;
}

.journal-index-header,
.journal-article-header {
  display: grid;
  gap: 1.05rem;
  margin-bottom: clamp(2.5rem, 7vw, 4.75rem);
}

.journal-kicker,
.journal-meta {
  margin: 0;
  color: var(--journal-soft);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.journal-kicker {
  color: var(--journal-accent);
}

.journal-kicker::before {
  content: "// ";
}

.journal-index-header h1,
.journal-article-header h1 {
  margin: 0;
  color: var(--journal-ink);
  font-family: var(--ui-font);
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.9;
  text-wrap: balance;
  text-transform: uppercase;
}

.journal-article-header h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.45rem);
  line-height: 0.94;
}

.journal-index-header p:not(.journal-kicker),
.journal-article-hook {
  max-width: 43rem;
  margin: 0;
  color: var(--journal-muted);
  font-family: var(--ui-font);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.journal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
}

.journal-meta span:not(:first-child)::before {
  content: "/";
  margin-right: 0.8rem;
  color: var(--journal-accent);
}

.journal-index-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--journal-line);
}

.journal-index-item {
  display: grid;
  gap: 0.65rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--journal-line);
}

.journal-index-item h2,
.journal-empty-state h2 {
  margin: 0;
  color: var(--journal-ink);
  font-family: var(--ui-font);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  text-transform: uppercase;
}

.journal-index-item h2 a {
  color: inherit;
  text-decoration: none;
}

.journal-index-item h2 a:hover,
.journal-index-item h2 a:focus-visible,
.journal-footer-links a:hover,
.journal-footer-links a:focus-visible {
  color: var(--journal-accent);
}

.journal-index-item p:not(.journal-meta),
.journal-empty-state p {
  max-width: 40rem;
  margin: 0;
  color: var(--journal-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.journal-empty-state {
  display: grid;
  gap: 0.6rem;
  padding: 2.5rem 0;
}

.journal-preview-banner {
  margin: 1rem auto 0;
  width: min(46rem, calc(100% - 2.5rem));
  border: 1px solid var(--journal-accent);
  border-radius: 0;
  padding: 0.7rem 0.9rem;
  background: rgba(211, 240, 0, 0.08);
  color: var(--journal-accent);
  font-family: var(--mono-font);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.journal-body {
  --lexxy-color-ink: var(--journal-ink);
  --lexxy-color-link: var(--journal-accent);
  --lexxy-content-margin: 1.25rem;
  margin: clamp(2.5rem, 7vw, 4.5rem) 0;
  color: rgba(249, 249, 255, 0.94);
  font-family: var(--ui-font);
  font-size: clamp(1.12rem, 2vw, 1.22rem);
  line-height: 1.68;
}

.journal-body > *:first-child {
  margin-top: 0;
}

.journal-body p,
.journal-body li,
.journal-body blockquote {
  font-size: inherit;
  line-height: inherit;
}

.journal-body h2,
.journal-body h3 {
  color: var(--journal-ink);
  font-family: var(--ui-font);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.16;
  text-transform: uppercase;
}

.journal-body h2 {
  margin-top: 2.6rem;
  font-size: 1.55rem;
}

.journal-body h3 {
  margin-top: 2.1rem;
  font-size: 1.22rem;
}

.journal-body a {
  color: var(--journal-accent);
  text-decoration-color: rgba(211, 240, 0, 0.5);
  text-underline-offset: 0.18em;
}

.journal-body blockquote {
  border-left-color: var(--journal-accent);
  color: var(--journal-muted);
}

.journal-body code {
  border-radius: 0;
  padding: 0.12em 0.28em;
  background: rgba(195, 236, 209, 0.1);
  font-family: var(--mono-font);
  font-size: 0.9em;
}

.journal-body pre {
  overflow-x: auto;
  border: 1px solid var(--journal-line);
  border-radius: 0;
  padding: 1rem;
  background: var(--journal-panel);
}

.journal-body hr {
  border: 0;
  border-top: 1px solid var(--journal-line);
  margin: 2.5rem 0;
}

.journal-body figure {
  margin-inline: 0;
}

.journal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

.journal-article-footer {
  display: grid;
  gap: 1.35rem;
  padding-top: 2rem;
  border-top: 1px solid var(--journal-line);
}

.journal-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--journal-line-strong);
  border-radius: 0;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.05), transparent 72%),
    var(--journal-panel);
}

.journal-cta p {
  margin: 0;
  color: var(--journal-muted);
  font-family: var(--mono-font);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.journal-cta-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  border: 1px solid var(--journal-accent);
  border-radius: 0;
  padding: 0.75rem 0.95rem;
  background: var(--journal-accent);
  color: var(--ss-lime-text);
  font-family: var(--mono-font);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.journal-cta-link:hover,
.journal-cta-link:focus-visible {
  background: var(--ss-lime-hover, #eeff52);
  border-color: var(--ss-lime-hover, #eeff52);
  color: var(--ss-lime-text);
  text-decoration: none;
}

.journal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono-font);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.journal-footer-links a {
  color: var(--journal-soft);
  text-decoration: none;
}

@media (max-width: 640px) {
  .journal-index-page,
  .journal-article-page {
    padding-inline: 1rem;
  }

  .journal-index-header h1,
  .journal-article-header h1 {
    font-size: clamp(2.35rem, 14vw, 3.2rem);
  }

  .journal-body {
    font-size: 1.12rem;
  }

  .journal-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .journal-cta-link {
    width: 100%;
  }

  .journal-meta span:not(:first-child)::before {
    margin-right: 0.55rem;
  }
}

/* Landing page redesign */
.landing-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.landing-page {
  min-height: 0;
  background: #001d0f;
}

.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 5rem;
  padding: 0 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 29, 15, 0.08);
}

.landing-header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.app-header-logo {
  flex: 1 1 auto;
  min-width: 0;
}

.app-header-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex: 0 0 auto;
  min-width: 0;
}

.app-header-link,
.app-join-summary {
  white-space: nowrap;
}

.app-header-label-short {
  display: none;
}

.app-join-menu {
  position: relative;
  flex: 0 0 auto;
}

.app-join-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.68rem 1rem;
  border-radius: 8px;
  background: #d3f000;
  color: #191e00;
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  list-style: none;
  box-shadow: 0 10px 16px rgba(87, 100, 0, 0.18);
}

.app-join-summary::-webkit-details-marker {
  display: none;
}

.app-join-summary::marker {
  content: "";
}

.app-join-summary:hover,
.app-join-menu[open] .app-join-summary {
  background: #e2fb1e;
  color: #191e00;
}

.app-header .app-join-summary,
.app-header .app-join-summary:hover {
  box-shadow: none;
}

.app-join-popover {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 0.85rem;
  width: min(22rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(22, 49, 38, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 20px 44px rgba(18, 61, 43, 0.18);
}

.app-join-menu:not([open]) .app-join-popover {
  display: none;
}

.app-join-copy {
  display: grid;
  gap: 0.3rem;
}

.app-join-title,
.app-join-text {
  margin: 0;
}

.app-join-title {
  color: var(--forest);
  font-family: var(--ui-font);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.app-join-text {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.app-join-popover .email-signup-field {
  grid-template-columns: 1fr;
}

.app-join-popover .email-signup-submit {
  width: 100%;
  border-radius: 8px;
  background: #d3f000;
  color: #191e00;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 16px rgba(87, 100, 0, 0.16);
}

.app-join-popover .email-signup-submit:hover {
  background: #e2fb1e;
  color: #191e00;
}

/* App shell navigation */
.app-shell {
  min-height: 100vh;
  background: #f9faf7;
}

.app-shell--landing .app-shell-main {
  background: #000000;
}

.app-shell--auth_unlock .app-shell-main {
  background: #001d0f;
}

.app-shell--history .app-shell-main,
.app-shell--session .app-shell-main {
  background:
    linear-gradient(180deg, rgba(250, 247, 239, 0.98), rgba(244, 239, 227, 0.98));
}

.app-shell-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(10rem, auto) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 5rem;
  padding: 0 1.5rem;
  border-bottom: 1px solid rgba(6, 78, 59, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.app-shell-brand {
  min-width: 0;
  text-decoration: none;
}

.app-shell-brand .brand-logo {
  height: 34px;
}

.app-nav-icon {
  flex: 0 0 auto;
  width: 1.14rem;
  height: 1.14rem;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  min-width: 0;
}

.app-shell-cta,
.app-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #d3f000;
  color: #191e00;
  cursor: pointer;
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(87, 100, 0, 0.18);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.app-shell-cta:hover,
.app-nav-button:hover {
  background: #e2fb1e;
  color: #191e00;
  box-shadow: 0 14px 24px rgba(87, 100, 0, 0.24);
  transform: translateY(-1px);
}

.app-nav-button--compact {
  min-height: 2.75rem;
  padding: 0.78rem 1rem;
  font-size: 0.78rem;
}

.app-nav-button--flat,
.app-nav-button--flat:hover {
  box-shadow: none;
}

.app-nav-button--secondary {
  border-color: rgba(6, 78, 59, 0.12);
  background: rgba(255, 253, 248, 0.88);
  color: #022c22;
  box-shadow: none;
}

.app-nav-button--secondary:hover {
  border-color: rgba(6, 78, 59, 0.24);
  background: rgba(232, 237, 225, 0.92);
  color: #022c22;
  box-shadow: 0 10px 18px rgba(18, 61, 43, 0.08);
}

.app-nav-button-form {
  display: inline-flex;
  margin: 0;
  min-width: 0;
}

.app-nav-button-form .app-nav-button {
  width: 100%;
}

.app-usage-card {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  padding: 0.45rem 0.5rem 0.45rem 0.75rem;
  border: 1px solid rgba(6, 78, 59, 0.1);
  border-radius: 8px;
  background: rgba(250, 247, 239, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.app-usage-card-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.app-usage-kicker,
.app-usage-title,
.app-usage-note {
  margin: 0;
}

.app-usage-kicker {
  color: rgba(18, 61, 43, 0.54);
  font-family: var(--label-font);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.app-usage-title {
  overflow: hidden;
  color: #022c22;
  font-family: var(--label-font);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-usage-note {
  color: rgba(18, 61, 43, 0.68);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.32;
}

.app-usage-card--desktop {
  gap: 0.68rem;
  max-width: min(23rem, 42vw);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.app-usage-card--desktop .app-usage-card-copy {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
}

.app-usage-card--desktop .app-usage-kicker,
.app-usage-card--desktop .app-usage-note {
  display: none;
}

.app-usage-card--desktop .app-usage-title {
  color: rgba(18, 61, 43, 0.72);
  font-size: 0.8rem;
  font-weight: 760;
}

.app-usage-action-slot {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 0;
}

.app-shell-account {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  max-width: 14rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(6, 78, 59, 0.1);
  border-radius: 8px;
  background: rgba(250, 247, 239, 0.84);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.app-shell-account:hover {
  background: rgba(232, 237, 225, 0.9);
  border-color: rgba(6, 78, 59, 0.2);
  transform: translateY(-1px);
}

.avatar {
  --avatar-size: 40px;

  display: block;
  width: var(--avatar-size);
  height: var(--avatar-size);
  flex: 0 0 var(--avatar-size);
  border-radius: 9999px;
  overflow: hidden;
}

.avatar > img,
.avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.avatar--stock .avatar-image {
  transform: scale(1.36);
  transform-origin: center;
}

.app-shell-account-avatar {
  --avatar-size: 2rem;

  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #022c22;
  color: #ffffff;
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 850;
}

.app-shell-account-avatar--image {
  display: block;
  box-sizing: border-box;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.app-shell-account-avatar--stock {
  padding: 0;
}

.app-shell-account-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.app-shell-account-name {
  overflow: hidden;
  color: #022c22;
  font-family: var(--label-font);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-account-menu {
  position: relative;
  flex: 0 0 auto;
}

.app-account-menu--mobile {
  display: none;
}

.app-account-menu-summary {
  grid-template-columns: auto minmax(0, 1fr) auto;
  cursor: pointer;
  list-style: none;
}

.app-account-menu-summary::-webkit-details-marker,
.app-account-menu-summary::marker {
  display: none;
  content: "";
}

.app-account-menu[open] .app-account-menu-summary {
  border-color: var(--ss-app-border, rgba(6, 78, 59, 0.24));
  background: var(--ss-app-surface-raised, rgba(232, 237, 225, 0.92));
}

.app-account-menu-caret {
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.1rem;
  border: solid var(--ss-app-text-muted, rgba(18, 61, 43, 0.58));
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translateY(-0.08rem);
  transition: transform 160ms ease;
}

.app-account-menu[open] .app-account-menu-caret {
  transform: rotate(225deg) translate(-0.1rem, -0.02rem);
}

.app-account-menu-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  z-index: 70;
  display: grid;
  gap: 0.45rem;
  width: min(20rem, calc(100vw - 2rem));
  padding: 0.55rem;
  border: 1px solid rgba(6, 78, 59, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 22px 48px rgba(18, 61, 43, 0.2);
}

.app-account-menu:not([open]) .app-account-menu-panel {
  display: none;
}

.app-account-menu-list {
  display: grid;
  gap: 0.12rem;
}

.app-account-menu-section {
  margin: 0.35rem 0 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(6, 78, 59, 0.1);
}

.app-account-menu-appearance {
  display: grid;
  gap: 0.55rem;
}

.app-account-appearance-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.68rem;
  align-items: center;
  padding: 0.2rem 0.75rem 0;
  color: #022c22;
}

.app-account-appearance-heading .app-nav-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: rgba(18, 61, 43, 0.72);
}

.app-account-appearance-heading strong {
  display: block;
  min-width: 0;
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.1;
}

.app-account-appearance-segment {
  padding: 0 0.75rem 0.2rem;
}

.app-account-menu-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.68rem;
  align-items: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.66rem 0.75rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #022c22;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.app-account-menu-item:hover {
  background: rgba(232, 237, 225, 0.72);
  color: #022c22;
}

.app-account-menu-item .app-nav-icon {
  width: 1.2rem;
  height: 1.2rem;
  color: rgba(18, 61, 43, 0.72);
}

.app-account-menu-item strong,
.app-account-menu-item small {
  display: block;
  min-width: 0;
}

.app-account-menu-item strong {
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.1;
}

.app-account-menu-item small {
  margin-top: 0.16rem;
  color: rgba(18, 61, 43, 0.62);
  font-size: 0.76rem;
  font-weight: 620;
  line-height: 1.25;
}

.app-account-sign-out-form {
  margin: 0.35rem 0 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(6, 78, 59, 0.1);
}

.app-account-menu-item--danger {
  color: #62352f;
}

.app-account-menu-item--danger .app-nav-icon,
.app-account-menu-item--danger small {
  color: rgba(98, 53, 47, 0.68);
}

.app-account-menu-item--danger:hover {
  background: rgba(98, 53, 47, 0.08);
  color: #62352f;
}

.app-shell-join-menu {
  position: relative;
  flex: 0 0 auto;
}

.app-shell-join-menu .app-join-summary {
  white-space: nowrap;
}

.app-shell-main {
  min-width: 0;
  overflow-x: hidden;
}

.app-shell--landing .landing-hero {
  min-height: calc(100vh - 5rem);
}

.app-shell .practice-history-page {
  min-height: calc(100vh - 5rem);
}

.app-shell--session .range-shell.is-live,
.app-shell--session .range-shell.is-complete {
  padding-top: 1.25rem;
}

.app-mobile-menu {
  display: none;
  position: relative;
}

.app-mobile-menu-summary::-webkit-details-marker,
.app-mobile-menu-summary::marker {
  display: none;
  content: "";
}

.app-mobile-menu .app-mobile-menu-summary {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  border-radius: 8px;
  list-style: none;
  user-select: none;
}

.app-mobile-menu-avatar {
  --avatar-size: 2.12rem;

  width: 2.12rem;
  height: 2.12rem;
  border: 1px solid var(--ss-app-border-strong);
  background: var(--ss-app-surface);
  color: var(--ss-app-text);
}

.app-mobile-menu-icon,
.app-mobile-menu-icon::before,
.app-mobile-menu-icon::after {
  display: block;
  width: 1.12rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.app-mobile-menu-icon {
  position: relative;
}

.app-mobile-menu-icon::before,
.app-mobile-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.app-mobile-menu-icon::before {
  top: -0.36rem;
}

.app-mobile-menu-icon::after {
  top: 0.36rem;
}

.app-mobile-menu-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  z-index: 60;
  display: grid;
  gap: 1rem;
  width: min(22rem, calc(100vw - 1rem));
  padding: 1rem;
  border: 1px solid rgba(6, 78, 59, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 20px 44px rgba(18, 61, 43, 0.2);
}

.app-mobile-menu:not([open]) .app-mobile-menu-panel {
  display: none;
}

.app-mobile-menu-heading {
  display: grid;
  gap: 0.18rem;
}

.app-mobile-menu-heading p {
  margin: 0;
}

.app-mobile-menu-footer,
.app-mobile-join,
.app-mobile-menu-actions {
  display: grid;
  gap: 0.75rem;
}

.app-usage-card--mobile {
  align-items: stretch;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.9rem;
  border: 0;
  background: linear-gradient(180deg, rgba(250, 247, 239, 0.94), rgba(232, 237, 225, 0.86));
  box-shadow: inset 0 0 0 1px rgba(6, 78, 59, 0.1);
}

.app-usage-card--mobile .app-usage-title {
  white-space: normal;
}

.app-usage-card--mobile .app-usage-action-slot,
.app-mobile-menu-actions .app-nav-button-form,
.app-mobile-menu-actions .app-nav-button,
.app-usage-card--mobile .app-nav-button-form,
.app-usage-card--mobile .app-nav-button {
  width: 100%;
}

.app-mobile-menu-panel .app-shell-account {
  max-width: none;
}

.app-mobile-join .email-signup-field {
  grid-template-columns: 1fr;
}

.app-mobile-join .email-signup-submit {
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 1080px) {
  .app-shell-topbar {
    grid-template-columns: minmax(9rem, auto) minmax(0, 1fr);
    gap: 0.65rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .app-shell-account {
    max-width: 10rem;
  }
}

@media (max-width: 820px) {
  .app-shell-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 4.5rem;
    padding: 0 max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
  }

  .app-shell-topbar-actions {
    display: none;
  }

  .app-account-menu--mobile {
    display: block;
  }

  .app-account-menu--mobile .app-account-menu-summary {
    grid-template-columns: auto;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    max-width: none;
    padding: 0.35rem;
  }

  .app-account-menu--mobile .app-shell-account-copy,
  .app-account-menu--mobile .app-account-menu-caret {
    display: none;
  }

  .app-account-menu--mobile .app-account-menu-panel {
    top: calc(100% + 0.75rem);
    width: min(21rem, calc(100vw - 2rem));
  }

  .app-mobile-menu {
    display: block;
  }

  .app-shell-brand .brand-logo {
    height: 30px;
  }

  .app-shell--landing .landing-hero {
    min-height: calc(100vh - 4.5rem);
  }

  .app-shell .practice-history-page {
    min-height: calc(100vh - 4.5rem);
  }

  .new-round-page,
  .new-round-shell {
    min-height: calc(100vh - 4.5rem);
  }

  .app-shell--session .range-shell.is-live,
  .app-shell--session .range-shell.is-complete {
    padding-top: 0;
  }
}

.landing-logo {
  max-width: min(14rem, 72vw);
}

.landing-logo .brand-logo {
  height: 34px;
}

.landing-hero {
  position: relative;
  min-height: clamp(34rem, 78svh, 44rem);
  display: flex;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #020804;
  isolation: isolate;
}

.landing-hero::before {
  display: none;
}

.landing-hero-media,
.landing-hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.landing-hero-media {
  z-index: -2;
  overflow: hidden;
}

.landing-hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.03);
  opacity: 0.94;
  transform: scale(1.01);
}

.landing-hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.76) 35%, rgba(0, 0, 0, 0.14) 68%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.56) 100%);
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 72%, #000000 100%);
}

.landing-hero-grid {
  width: min(1280px, 100%);
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4rem) 1.5rem;
  grid-template-columns: minmax(0, 35rem) minmax(260px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.landing-hero-copy {
  max-width: 34rem;
  gap: 1.05rem;
  padding: 0;
}

.landing-hero-copy::after {
  display: none;
}

.landing-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid var(--ss-lime);
  border-radius: 0;
  background: transparent;
  color: var(--ss-lime);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ss-blood);
  box-shadow: 0 0 0 0 rgba(255, 91, 58, 0.6);
  animation: ss-pulse 1.4s infinite;
}

@keyframes ss-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 91, 58, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 91, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 91, 58, 0); }
}

.landing-shell .landing-hero-title {
  max-width: 9ch;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: 6.25rem;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-hero-title-accent {
  color: var(--ss-lime);
}

.landing-hero .hero-copy {
  max-width: 31rem;
  color: #a7d0b6;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.6;
}

.landing-hero .hero-support-line,
.landing-hero .hero-ritual-line {
  max-width: 23rem;
  margin: 0;
  color: var(--ss-lime);
  font-family: var(--ui-font);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-setup-panel {
  position: relative;
  width: 100%;
  padding: clamp(1rem, 2.4vw, 1.45rem);
  border-radius: 0;
  border: 1px solid rgba(193, 200, 193, 0.78);
  border-top: 2px solid var(--ss-lime);
  background: rgba(249, 249, 255, 0.96);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.32);
}

.landing-setup-panel .panel-label {
  display: block;
  font-family: var(--mono-font);
  color: #5b6900;
  letter-spacing: 0.16em;
}

.landing-setup-panel .panel-label::before {
  content: "// ";
  color: var(--ss-lime-text);
  opacity: 0.55;
}

.landing-setup-panel .hero-setup-title {
  color: #001d0f;
  font-family: var(--ui-font);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.landing-setup-panel .setup-helper,
.landing-setup-panel .hero-start-note {
  color: #414843;
}

.landing-setup-panel .shot-count-input,
.landing-setup-panel .voice-select,
.landing-setup-panel .setup-game-select,
.landing-setup-panel .club-select,
.landing-setup-panel .handedness-option-copy {
  border-radius: 0;
  border-color: #c1c8c1;
  background-color: #ffffff;
}

.landing-setup-panel .handedness-option input:checked + .handedness-option-copy {
  border-color: #001d0f;
  background: #eef7d4;
  box-shadow: inset 0 0 0 1px #001d0f;
}

.landing-setup-panel .hero-start-button,
.landing-final-button {
  border-radius: 0;
  background: var(--ss-lime);
  color: var(--ss-lime-text);
  box-shadow: 0 10px 16px rgba(87, 100, 0, 0.22);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.landing-setup-panel .hero-start-button:hover,
.landing-final-button:hover {
  background: #e2fb1e;
  color: var(--ss-lime-text);
}

.landing-setup-panel .preview-voice-button {
  min-height: 3.05rem;
  border-radius: 0;
  color: #001d0f;
  background: #eef7d4;
  border-color: #c1c8c1;
}

.landing-hero-actions {
  display: flex;
  width: min(100%, 22rem);
  margin-top: 1.35rem;
  min-width: 0;
}

.landing-hero-actions .landing-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.5rem;
  padding: 1rem 1.45rem;
  border-radius: 0;
  background: var(--ss-lime);
  color: var(--ss-lime-text);
  box-shadow: 0 10px 16px rgba(87, 100, 0, 0.22);
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  touch-action: manipulation;
}

.landing-hero-actions .landing-cta-button:hover,
.landing-hero-actions .landing-cta-button:focus-visible {
  background: #e2fb1e;
  color: var(--ss-lime-text);
}

.landing-hero-start-note {
  width: min(100%, 22rem);
  margin: 0.68rem 0 0;
  color: #d7eadc;
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.35;
  text-align: left;
}

.landing-hero-secondary-link {
  width: min(100%, 22rem);
  margin: 0.45rem 0 0;
  color: #c3ecd1;
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.35;
  text-align: left;
}

.landing-hero-secondary-link a {
  color: var(--ss-lime);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.landing-hero-secondary-link a:hover,
.landing-hero-secondary-link a:focus-visible {
  color: #e2fb1e;
}

.landing-product-sections {
  content-visibility: visible;
  contain-intrinsic-size: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.landing-section {
  width: 100%;
  padding: clamp(4.5rem, 8vw, 6rem) 1.5rem;
}

.landing-section-heading,
.landing-comparison-grid,
.landing-feature-grid,
.landing-product-loop,
.landing-habits-grid,
.landing-final-card {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.landing-section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.landing-section-heading--center {
  justify-items: center;
  text-align: center;
}

.landing-product-sections {
  background: #000000;
}

.landing-section-heading .panel-label {
  font-family: var(--mono-font);
  color: var(--ss-lime);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
}

.landing-section-heading .panel-label::before {
  content: "// ";
  opacity: 0.7;
}

.landing-section-heading .practice-guide-title {
  max-width: 18ch;
  font-family: var(--ui-font);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff;
}

.landing-section-heading .practice-guide-copy {
  max-width: 42rem;
  color: var(--ss-mint);
}

.landing-comparison-section,
.landing-final-section {
  background: #000000;
  border-top: 1px solid var(--ss-line-mint);
}

.landing-product-loop-section {
  background: #000000;
  border-top: 1px solid var(--ss-line-mint);
}

.landing-product-loop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 27rem);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.landing-product-copy {
  display: grid;
  gap: 1.5rem;
}

.landing-product-copy .landing-section-heading {
  width: 100%;
  margin: 0;
}

.landing-product-steps {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--ss-line-mint);
}

.landing-product-step {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.35rem 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--ss-line-mint);
}

.landing-product-step h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-product-step p {
  grid-column: 2;
  margin: 0;
  color: var(--ss-mint);
  line-height: 1.55;
}

.landing-step-number {
  grid-row: span 2;
  color: var(--ss-lime);
  font-family: var(--mono-font);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0;
}

.landing-product-shot {
  width: min(100%, 27rem);
  margin: 0;
  justify-self: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.landing-product-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.landing-comparison-section .practice-guide-title,
.landing-final-section .practice-guide-title {
  color: #ffffff;
}

.landing-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--ss-line-mint);
  border-radius: 0;
  background: var(--ss-line-mint);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.landing-compare-card {
  display: grid;
  align-content: start;
  gap: 1.5rem;
  min-height: 22rem;
  padding: clamp(2rem, 5vw, 3rem);
}

.landing-compare-card h3,
.landing-feature-card h3 {
  margin: 0;
  font-family: var(--ui-font);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-compare-card--light {
  background: #000000;
  color: var(--ss-mint);
}

.landing-compare-card--light h3 {
  color: #ffffff;
}

.landing-compare-card--dark {
  background: linear-gradient(180deg, rgba(211, 240, 0, 0.08), transparent 60%), #000000;
  border-left: 1px solid var(--ss-lime);
  color: #ffffff;
}

.landing-compare-card--dark h3 {
  color: var(--ss-lime);
}

.landing-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0;
  border: 1px solid var(--ss-line-mint);
}

.landing-icon-badge img {
  width: 1.15rem;
  height: 1.15rem;
}

.landing-icon-badge--miss {
  background: rgba(255, 91, 58, 0.14);
  border-color: rgba(255, 91, 58, 0.55);
}

.landing-icon-badge--play {
  background: var(--ss-lime);
  border-color: var(--ss-lime);
}

.landing-check-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ss-mint);
  line-height: 1.45;
}

.landing-check-list--muted li {
  color: var(--ss-mint);
  opacity: 0.62;
}

.landing-check-list img {
  flex: 0 0 auto;
  width: 0.82rem;
  max-height: 0.82rem;
  margin-top: 0.3rem;
}

.landing-feature-section {
  background: #000000;
  border-top: 1px solid var(--ss-line-mint);
}

.landing-habits-section {
  background: #000000;
  border-top: 1px solid var(--ss-line-mint);
}

.landing-journal-section {
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.05), transparent 58%),
    #001d0f;
  border-top: 1px solid var(--ss-line-mint);
}

.landing-journal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.landing-journal-heading {
  width: 100%;
  margin: 0;
  align-content: start;
}

.landing-journal-heading .practice-guide-title {
  max-width: 12ch;
}

.landing-journal-copy {
  max-width: 34rem;
}

.landing-journal-index-link {
  justify-self: start;
  margin-top: 0.25rem;
}

.landing-journal-list {
  display: grid;
  border-top: 1px solid var(--ss-line-mint);
}

.landing-journal-item {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
  border-bottom: 1px solid var(--ss-line-mint);
}

.landing-journal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: 0;
  color: var(--ss-mint-soft);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-journal-meta span::before {
  content: "// ";
  color: var(--ss-lime);
}

.landing-journal-item h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-journal-item h3 a {
  color: inherit;
  text-decoration: none;
}

.landing-journal-item h3 a:hover,
.landing-journal-item h3 a:focus-visible {
  color: var(--ss-lime);
}

.landing-journal-item p:not(.landing-journal-meta) {
  max-width: 42rem;
  margin: 0;
  color: var(--ss-mint);
  line-height: 1.55;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 1.5rem;
}

.landing-habits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.landing-feature-card {
  display: grid;
  gap: 1.5rem;
  min-height: 15rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 0;
  border: 1px solid var(--ss-line-mint);
  background: #000000;
  color: var(--ss-mint);
}

.landing-feature-card h3 {
  color: #ffffff;
}

.landing-feature-card p {
  margin: 0;
  color: var(--ss-mint);
  font-size: 1rem;
  line-height: 1.55;
}

.landing-habit-card {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-height: 12rem;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border: 1px solid var(--ss-line-mint);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(195, 236, 209, 0.04), transparent), #000000;
  box-shadow: none;
}

.landing-habit-card h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-habit-card p {
  margin: 0;
  color: var(--ss-mint);
  font-size: 0.95rem;
  line-height: 1.55;
}

.landing-feature-card--large {
  grid-row: span 2;
  background: linear-gradient(180deg, rgba(211, 240, 0, 0.08), transparent 60%), #000000;
  border-color: var(--ss-lime);
  align-content: start;
}

.landing-feature-card--large h3 {
  color: var(--ss-lime);
}

.landing-feature-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 0;
  background: var(--ss-lime);
}

.landing-feature-icon img {
  width: 1.125rem;
  height: 1.125rem;
}

.landing-score-preview {
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
  padding: 1rem;
  border: 1px solid var(--ss-line-mint);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.03);
}

.landing-score-preview span {
  display: block;
  height: 0.75rem;
  border-radius: 0;
  background: var(--ss-lime);
}

.landing-score-preview span:nth-child(2) {
  width: 72%;
  background: var(--ss-mint);
}

.landing-score-preview span:nth-child(3) {
  width: 46%;
  background: var(--ss-line-mint-strong);
}

.landing-feature-card--voice {
  background: linear-gradient(180deg, rgba(211, 240, 0, 0.08), transparent 60%), #000000;
  border-color: var(--ss-lime);
  color: #ffffff;
  align-content: space-between;
}

.landing-feature-card--voice h3 {
  color: var(--ss-lime);
}

.landing-feature-card--voice p {
  color: var(--ss-mint);
}

.landing-feature-card--pressure {
  background: #000000;
  color: #ffffff;
  align-content: space-between;
}

.landing-feature-card--pressure p {
  color: var(--ss-mint);
}

.landing-feature-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.landing-feature-meta img {
  width: 1.4rem;
  height: 1.4rem;
}

.landing-feature-meta span {
  color: var(--ss-mint);
  font-family: var(--mono-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-feature-meta span::before {
  content: "// ";
  color: var(--ss-lime);
  opacity: 0.85;
}

.landing-final-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  max-width: 46rem;
  padding: clamp(2.5rem, 7vw, 4rem);
  border: 1px solid var(--ss-lime);
  border-radius: 0;
  background:
    radial-gradient(80% 60% at 80% 20%, rgba(211, 240, 0, 0.12), transparent 60%),
    #000000;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.landing-final-card h2 {
  max-width: 11ch;
  margin: 0;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.landing-final-card h2 span:last-child,
.landing-final-card h2 .landing-hero-title-accent {
  color: var(--ss-lime);
}

.landing-final-card p {
  max-width: 26rem;
  margin: 0;
  color: var(--ss-mint);
  line-height: 1.55;
}

.landing-final-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
}

.landing-final-note {
  color: var(--ss-mint-soft) !important;
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-final-note::before {
  content: "// ";
  color: var(--ss-lime);
  opacity: 0.8;
}

.site-footer {
  background: #001d0f;
  color: #f9f9ff;
}

.site-footer-inner {
  display: grid;
  gap: 1rem;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 1.45rem 1.5rem 1.35rem;
}

.site-footer-meta {
  display: grid;
  justify-items: center;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(195, 236, 209, 0.18);
  color: #9fb8a8;
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
}

.site-footer-meta p {
  margin: 0;
}

.site-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.2rem;
  padding-top: 0.25rem;
}

.site-footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  border-top: 1px solid rgba(195, 236, 209, 0.14);
  color: rgba(249, 249, 255, 0.9);
  font-family: var(--label-font);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, transform 160ms ease;
}

.site-footer-nav a:hover {
  color: #d3f000;
  transform: translateX(2px);
}

.site-footer-nav a:active {
  color: #d3f000;
}

.site-footer-nav a:focus-visible {
  color: #d3f000;
  outline: 2px solid #d3f000;
  outline-offset: 4px;
}

@media (min-width: 760px) {
  .site-footer-inner {
    gap: 1rem;
    padding: 1.5rem 1.5rem 1.35rem;
  }

  .site-footer-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    justify-content: center;
    align-items: center;
    padding-top: 0.1rem;
  }

  .site-footer-nav a {
    min-height: 1.45rem;
    border-top: 0;
  }

  .site-footer-meta {
    justify-content: center;
  }
}

.site-page {
  position: relative;
  min-height: calc(100vh - 5rem);
  overflow: hidden;
  background: #f9f9ff;
  color: #001d0f;
}

.site-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 29, 15, 0.04), rgba(0, 29, 15, 0) 18rem),
    repeating-linear-gradient(90deg, rgba(0, 29, 15, 0.035) 0 1px, transparent 1px 72px);
}

.site-page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem) 1.5rem;
}

.site-page-hero,
.site-page-panel {
  border-radius: 8px;
}

.site-page-hero {
  position: relative;
  display: grid;
  gap: 0.85rem;
  overflow: hidden;
  padding: clamp(1.4rem, 6vw, 2.5rem);
  border: 1px solid rgba(193, 200, 193, 0.38);
  background: #001d0f;
  color: #ffffff;
  box-shadow: 0 20px 42px rgba(0, 29, 15, 0.16);
}

.site-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 29, 15, 0) 0%, rgba(211, 240, 0, 0.08) 100%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 22px);
}

.site-page-hero > * {
  position: relative;
  z-index: 1;
}

.site-page-kicker,
.site-page-hero h1,
.site-page-lede,
.site-page-section h2,
.site-page-section p,
.site-page-list {
  margin: 0;
}

.site-page-hero .site-page-kicker {
  color: #d3f000;
}

.site-page-hero h1 {
  max-width: 13ch;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: clamp(2.35rem, 11vw, 4.75rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
}

.site-page-lede {
  max-width: 42rem;
  color: #c3ecd1;
  font-size: clamp(1rem, 2.4vw, 1.16rem);
  line-height: 1.58;
}

.site-page-panel {
  overflow: hidden;
  border: 1px solid #c1c8c1;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 29, 15, 0.06);
}

.site-page-section {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.1rem, 4vw, 1.65rem);
}

.site-page-section + .site-page-section {
  border-top: 1px solid rgba(193, 200, 193, 0.66);
}

.site-page-section h2 {
  color: #001d0f;
  font-family: var(--ui-font);
  font-size: clamp(1.3rem, 4vw, 1.85rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0;
}

.site-page-section p,
.site-page-list {
  color: #414843;
  font-size: 1rem;
  line-height: 1.58;
}

.site-page-list {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.15rem;
}

.site-page-meta {
  color: #5b6900 !important;
  font-family: var(--label-font);
  font-size: 0.72rem !important;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.site-page-link {
  color: #001d0f;
  font-weight: 850;
  text-decoration-color: rgba(91, 105, 0, 0.38);
  text-underline-offset: 0.2rem;
}

.site-page-link:hover,
.site-page-link:focus-visible {
  color: #5b6900;
  text-decoration-color: #d3f000;
}

@media (min-width: 760px) {
  .site-page-shell {
    gap: 1.25rem;
  }

  .site-page-section {
    padding: clamp(1.5rem, 4vw, 2.2rem);
  }
}

@media (max-width: 980px) {
  .landing-hero {
    align-items: stretch;
  }

  .landing-hero-image {
    object-position: 58% center;
  }

  .landing-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "panel";
    align-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .landing-shell .landing-hero-title {
    font-size: 5rem;
  }

  .landing-setup-panel {
    max-width: 32rem;
  }

  .landing-product-loop {
    grid-template-columns: 1fr;
  }

  .landing-product-shot {
    width: min(22rem, 92vw);
  }

  .landing-feature-grid {
    grid-template-columns: 1fr;
  }

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

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

  .landing-feature-card--large {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .landing-header {
    min-height: 5rem;
  }

  .landing-shell {
    padding: 0;
  }

  .landing-hero {
    min-height: clamp(34rem, 78svh, 41rem);
  }

  .landing-hero-scrim {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.74) 52%, rgba(0, 0, 0, 0.34) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.78) 100%);
  }

  .landing-hero-grid {
    min-height: inherit;
    padding: 3.2rem 1.5rem 3rem;
    gap: 2rem;
  }

  .landing-shell .landing-hero-title {
    max-width: 10ch;
    font-size: 3.7rem;
  }

  .landing-hero .hero-copy {
    font-size: 1rem;
  }

  .landing-hero .hero-support-line,
  .landing-hero .hero-ritual-line {
    max-width: 18rem;
    font-size: 1.12rem;
  }

  .landing-setup-panel .hero-start-button {
    width: 100%;
  }

  .landing-cta-button {
    width: 100%;
  }

  .landing-journal-index-link {
    width: 100%;
  }

  .landing-comparison-grid {
    grid-template-columns: 1fr;
  }

  .landing-product-step {
    grid-template-columns: 2.75rem minmax(0, 1fr);
  }

  .landing-habits-grid {
    grid-template-columns: 1fr;
  }

  .landing-compare-card {
    min-height: auto;
  }

  .landing-habit-card {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .landing-header,
  .landing-section,
  .landing-hero-grid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .landing-logo .brand-logo {
    height: 30px;
  }

  .landing-setup-panel {
    padding: 1rem;
  }

  .landing-shell .landing-hero-title {
    font-size: 3.2rem;
  }

  .landing-section-heading .practice-guide-title,
  .landing-final-card h2 {
    overflow-wrap: anywhere;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ss-bg);
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
  color: var(--ink);
  font-family: var(--ui-font);
  background:
    linear-gradient(180deg, var(--ss-cream-soft) 0%, var(--ss-cream) 58%, var(--ss-mist) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 61, 43, 0.045), transparent 18%);
}

button,
select,
input {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 2px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  background: var(--forest);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(calc(-100% - 1.5rem));
  transition: transform 120ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  outline: 3px solid var(--fairway-light);
  outline-offset: 3px;
  transform: translateY(0);
}

.range-shell [hidden] {
  display: none !important;
}

.range-shell {
  width: min(1120px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.new-round-page {
  position: relative;
  min-height: calc(100vh - 5rem);
  overflow: hidden;
  background: #001d0f;
  isolation: isolate;
}

.new-round-hero-media,
.new-round-hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.new-round-hero-media {
  z-index: -2;
  overflow: hidden;
}

.new-round-hero-media .landing-hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.08) saturate(0.72);
  opacity: 0.58;
  transform: scale(1.01);
}

.new-round-hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 29, 15, 0.96) 0%, rgba(0, 29, 15, 0.84) 45%, rgba(0, 29, 15, 0.46) 100%),
    linear-gradient(180deg, rgba(0, 29, 15, 0.14), rgba(0, 29, 15, 0.8));
}

.new-round-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 253, 248, 0.055) 0 1px, transparent 1px 88px);
  opacity: 0.45;
}

.new-round-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100vh - 5rem);
  width: min(1180px, calc(100% - 2rem));
  align-items: center;
  padding: clamp(2rem, 6vw, 4.5rem) 0;
}

.new-round-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  grid-template-areas: "copy panel";
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: 100%;
}

.new-round-copy {
  grid-area: copy;
  display: grid;
  gap: 1rem;
  max-width: 37rem;
  min-width: 0;
}

.new-round-eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 1.25rem;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #d3f000;
  color: #5b6900;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.new-round-title {
  max-width: 11ch;
  margin: 0;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: clamp(3rem, 6vw, 5.35rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
}

.new-round-copy-text {
  max-width: 34rem;
  margin: 0;
  color: #c3ecd1;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.6;
}

.new-round-proof-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 38rem;
  margin: 0.3rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid rgba(255, 253, 248, 0.22);
  list-style: none;
}

.new-round-proof-list li {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.new-round-proof-list strong {
  color: #d3f000;
  font-family: var(--label-font);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 850;
  line-height: 1;
}

.new-round-proof-list span {
  color: rgba(255, 253, 248, 0.72);
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  width: fit-content;
  margin: 0;
  min-height: 1.65rem;
  padding: 0.34rem 0.62rem;
  border: 1px solid rgba(211, 240, 0, 0.42);
  border-radius: 999px;
  background: rgba(211, 240, 0, 0.12);
  color: #d3f000;
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: #d3f000;
  box-shadow: 0 0 0 4px rgba(211, 240, 0, 0.14);
}

.new-round-live-preview {
  display: grid;
  gap: 0.9rem;
  max-width: 38rem;
  margin-top: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(195, 236, 209, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 14, 7, 0.88), rgba(0, 29, 15, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 248, 0.08),
    0 20px 45px rgba(0, 0, 0, 0.18);
}

.live-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.live-preview-ball {
  color: rgba(255, 253, 248, 0.72);
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-preview-main {
  display: grid;
  gap: 0.34rem;
}

.live-preview-kicker,
.live-preview-title,
.live-preview-consequence,
.live-preview-stats,
.new-round-flow {
  margin: 0;
}

.live-preview-kicker {
  color: #c3ecd1;
  font-family: var(--label-font);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-preview-title {
  max-width: 18ch;
  color: #fffdf8;
  font-family: var(--ui-font);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 880;
  line-height: 0.98;
  text-wrap: balance;
}

.live-preview-consequence {
  width: fit-content;
  max-width: 100%;
  padding: 0.54rem 0.68rem;
  border-left: 2px solid #d3f000;
  background: rgba(211, 240, 0, 0.1);
  color: #f5f8dc;
  font-size: 0.88rem;
  line-height: 1.35;
}

.live-preview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.live-preview-stats div {
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid rgba(195, 236, 209, 0.14);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.07);
}

.live-preview-stats dt {
  margin: 0 0 0.22rem;
  color: rgba(195, 236, 209, 0.72);
  font-family: var(--label-font);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-preview-stats dd {
  margin: 0;
  color: #fffdf8;
  font-family: var(--label-font);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.1;
}

.new-round-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 38rem;
  padding: 0;
  list-style: none;
}

.new-round-flow li {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.78);
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.new-round-panel-only {
  display: grid;
  justify-self: center;
  width: min(34rem, 100%);
}

.new-round-setup-panel,
.new-round-panel-only > .landing-setup-panel {
  width: 100%;
  border-radius: 8px;
  border-color: rgba(193, 200, 193, 0.78);
  background: rgba(249, 249, 255, 0.96);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.26);
}

.new-round-setup-panel {
  grid-area: panel;
}

.new-round-setup-panel .panel-label,
.new-round-panel-only > .landing-setup-panel .panel-label {
  display: block;
  color: #5b6900;
}

.new-round-setup-panel .hero-setup-title {
  color: #001d0f;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
}

.new-round-setup-panel .setup-helper,
.new-round-setup-panel .hero-start-note {
  color: #414843;
}

.new-round-setup-panel .shot-count-input,
.new-round-setup-panel .voice-select,
.new-round-setup-panel .setup-game-select,
.new-round-setup-panel .club-select,
.new-round-setup-panel .handedness-option-copy,
.new-round-setup-panel .advanced-settings,
.new-round-setup-panel .setup-toggle-option {
  border-radius: 8px;
  border-color: #c1c8c1;
  background-color: #ffffff;
}

.new-round-setup-panel .advanced-settings-summary {
  border-radius: 7px;
}

.new-round-setup-panel .handedness-option input:checked + .handedness-option-copy,
.new-round-setup-panel .club-bag-input:checked + .club-bag-chip {
  border-color: #001d0f;
  background: #eef7d4;
  box-shadow: inset 0 0 0 1px #001d0f;
}

.new-round-setup-panel .club-bag-chip {
  border-radius: 8px;
  background: #ffffff;
}

.new-round-setup-panel .saved-bag-summary {
  border-radius: 8px;
  border-color: #c1c8c1;
  background-color: #ffffff;
}

.new-round-setup-panel .saved-bag-chip {
  border-radius: 8px;
  background: #eef7d4;
  border-color: rgba(0, 29, 15, 0.32);
}

.new-round-setup-panel .hero-start-button {
  border-radius: 8px;
  background: #d3f000;
  color: #191e00;
  box-shadow: 0 10px 16px rgba(87, 100, 0, 0.2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.new-round-setup-panel .hero-start-button:hover {
  background: #e2fb1e;
  color: #191e00;
}

.new-round-setup-panel .preview-voice-button {
  border-radius: 8px;
  border-color: #c1c8c1;
  background: #eef7d4;
  color: #001d0f;
}

.range-hero,
.coach-panel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.range-hero {
  padding: clamp(1rem, 2.2vw, 1.45rem);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.8), rgba(242, 237, 227, 0.94));
  border: 1px solid rgba(24, 64, 43, 0.12);
}

.range-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 64, 43, 0.06), transparent 24%);
  pointer-events: none;
}

.coach-panel {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(244, 238, 223, 0.98));
  border: 1px solid rgba(24, 64, 43, 0.1);
}

.coach-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(127, 174, 110, 0.08), transparent 18%);
}

.hero-grid,
.voice-toolbar,
.coach-layout,
.coach-main-layout,
.result-controls,
.shot-details,
.decision-grid,
.session-metrics,
.sidebar-metrics,
.club-breakdown-list,
.session-scorecard-scroll,
.session-scorecard-grid {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  grid-template-areas: "copy panel";
  gap: 1rem 1.25rem;
  align-items: start;
}

.hero-copy-block {
  grid-area: copy;
  display: grid;
  gap: 0.62rem;
  max-width: 34rem;
  padding: 0.45rem 0 0;
  align-content: start;
}

.brand-masthead {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 0;
  line-height: 1;
  text-decoration: none;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  line-height: 1;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 32px;
  width: auto;
  filter: none;
  box-shadow: none;
  text-shadow: none;
}

.brand-logo--compact {
  display: none;
}

.brand-logo--theme-dark {
  display: none;
}

.brand-masthead-compact {
  flex: 1 1 auto;
}

.brand-mark {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
}

.hero-setup-panel {
  grid-area: panel;
  display: grid;
  gap: 0.82rem;
  align-content: start;
  padding: clamp(0.9rem, 2vw, 1.18rem);
  border-radius: 18px;
  background: rgba(250, 247, 239, 0.82);
  border: 1px solid var(--line);
  box-shadow: none;
}

.setup-round-form,
.pre-round-save-step {
  display: grid;
  gap: 0.82rem;
}

.pre-round-save-step .email-signup-submit {
  min-width: 8.8rem;
}

.pre-round-save-actions {
  display: grid;
  margin-top: -0.08rem;
}

.pre-round-skip-button {
  width: 100%;
  min-height: 3rem;
  font-family: var(--label-font);
  font-size: 0.9rem;
  font-weight: 760;
}

.pre-round-offer-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.pre-round-offer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 18, 0.56);
  backdrop-filter: blur(8px);
}

.pre-round-offer-card {
  position: relative;
  width: min(31rem, 100%);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid rgba(244, 239, 227, 0.74);
  border-radius: 18px;
  background: rgba(250, 247, 239, 0.96);
  box-shadow: 0 22px 64px rgba(10, 24, 18, 0.26);
}

.pre-round-offer-card .panel-label {
  display: block;
}

.pre-round-offer-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.active-round-prompt {
  display: grid;
}

.active-round-prompt-card {
  gap: 1.25rem;
  width: min(33rem, 100%);
  padding: clamp(1.25rem, 4vw, 1.7rem);
  border-radius: 8px;
  border-color: rgba(18, 61, 43, 0.16);
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(10, 24, 18, 0.28);
}

.active-round-prompt-copy,
.active-round-prompt-actions {
  display: grid;
  gap: 0.9rem;
}

.active-round-prompt-copy {
  gap: 0.85rem;
}

.active-round-prompt-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.active-round-prompt-card .panel-label {
  margin: 0;
  color: #5b6900;
}

.active-round-prompt-count {
  margin: 0;
  flex: 0 0 auto;
  color: rgba(18, 61, 43, 0.62);
  font-family: var(--label-font);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.active-round-prompt-card .email-unlock-title {
  color: #001d0f;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.active-round-prompt-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
  margin-top: 0.65rem;
}

.active-round-prompt-actions form {
  display: grid;
}

.active-round-prompt .active-round-prompt-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  border-radius: 8px;
  font-family: var(--label-font);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: none;
}

.active-round-prompt .active-round-prompt-action--continue {
  background: #d3f000;
  color: #191e00;
  box-shadow: 0 10px 16px rgba(87, 100, 0, 0.18);
}

.active-round-prompt .active-round-prompt-action--continue:hover {
  background: #e2fb1e;
  color: #191e00;
  box-shadow: 0 12px 20px rgba(87, 100, 0, 0.2);
}

.active-round-prompt .active-round-prompt-action--abandon {
  border-color: rgba(138, 65, 50, 0.2);
  background: rgba(255, 253, 248, 0.98);
  color: #8a4132;
}

.active-round-prompt .active-round-prompt-action--abandon:hover {
  border-color: rgba(138, 65, 50, 0.3);
  background: #f7eee9;
  color: #7a392d;
}

.active-round-prompt-note {
  margin: 0.55rem 0 0;
  color: rgba(65, 72, 67, 0.86);
  font-size: 0.84rem;
  line-height: 1.38;
}

@media (max-width: 520px) {
  .active-round-prompt-actions {
    grid-template-columns: 1fr;
  }
}

.hero-setup-heading {
  display: grid;
  gap: 0.45rem;
}

.hero-setup-heading .panel-label {
  display: none;
}

.preview-voice-button svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-setup-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--ui-font);
  font-size: clamp(1.22rem, 1.8vw, 1.52rem);
  font-weight: 750;
  line-height: 1.1;
}

.setup-helper {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.38;
}

.setup-game-summary {
  display: grid;
  gap: 0.24rem;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(18, 61, 43, 0.13);
  border-radius: 8px;
  background: rgba(244, 239, 227, 0.56);
}

.setup-game-summary span {
  color: rgba(18, 61, 43, 0.64);
  font-family: var(--label-font);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.setup-game-summary strong {
  color: #001d0f;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.1;
}

.setup-game-summary p {
  margin: 0;
  color: rgba(18, 61, 43, 0.72);
  font-size: 0.8rem;
  line-height: 1.36;
}

.free-usage-meter {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.28rem;
  padding: 0.82rem;
  border: 1px solid rgba(18, 61, 43, 0.12);
  border-radius: 8px;
  background: rgba(244, 239, 227, 0.54);
}

.free-usage-meter--compact {
  margin-top: 0.85rem;
  background: rgba(255, 253, 248, 0.58);
}

.free-usage-meter-heading {
  display: grid;
  gap: 0.2rem;
}

.free-usage-meter-heading p:last-child,
.free-usage-meter-note {
  margin: 0;
  color: rgba(18, 61, 43, 0.74);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.free-usage-meter-bars {
  display: grid;
  gap: 0.48rem;
}

.free-usage-meter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 8rem) auto;
  align-items: center;
  gap: 0.55rem;
  color: rgba(18, 61, 43, 0.78);
  font-size: 0.76rem;
  font-weight: 720;
}

.free-usage-meter-row meter {
  width: 100%;
  height: 0.56rem;
}

.free-usage-meter-row meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: rgba(18, 61, 43, 0.14);
}

.free-usage-meter-row meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: var(--ss-fairway);
}

.free-usage-meter-row meter::-moz-meter-bar {
  border-radius: 999px;
  background: var(--ss-fairway);
}

.free-usage-meter-row strong {
  color: var(--forest);
  font-size: 0.78rem;
}

.eyebrow,
.panel-label,
.picker-label,
.scene-kicker,
.detail-label,
.focus-label,
.hero-ritual-list span,
.shot-step {
  margin: 0;
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.range-hero h1,
.coach-panel h2,
.shot-card h3 {
  margin: 0;
  line-height: 1.02;
}

.range-hero .hero-headline {
  max-width: 17ch;
  color: var(--ink);
  font-size: clamp(2rem, 3.9vw, 3.65rem);
  line-height: 1;
  text-wrap: balance;
}

.hero-headline span {
  display: block;
}

.hero-copy-mobile {
  display: none;
}

.hero-copy-block::after {
  content: "";
  display: block;
  width: min(100%, 36rem);
  height: 1px;
  margin-top: 0.18rem;
  background: linear-gradient(90deg, rgba(18, 61, 43, 0.28), rgba(18, 61, 43, 0.04));
}

.hero-copy,
.scene-copy,
.setup-line,
.panel-note,
.feedback-copy,
.shot-details dd,
.voice-note,
.setup-feedback,
.club-note,
.shot-card p,
.detail-copy,
.focus-copy,
.hero-ritual-list p {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-copy {
  margin: 0;
  max-width: 31rem;
}

.hero-support-line {
  margin: 0.1rem 0 0;
  color: var(--ss-fairway);
  font-family: var(--label-font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-ritual-line {
  margin: -0.18rem 0 0;
  color: rgba(18, 61, 43, 0.68);
  font-family: var(--label-font);
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-start-note {
  margin: -0.04rem 0 0;
  color: rgba(18, 61, 43, 0.66);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
}

.hero-sidecar {
  display: grid;
}

.hero-hole-card {
  padding: 1.2rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(245, 239, 223, 0.92), rgba(232, 215, 180, 0.58));
  border: 1px solid rgba(199, 171, 119, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-hole-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-hole-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(22, 49, 38, 0.12);
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-hole-visual {
  position: relative;
  margin-top: 1rem;
  height: 240px;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #31563a 0%, #456d46 35%, #5b8652 70%, #8db17d 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-hole-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 26px, rgba(255, 255, 255, 0) 26px 52px),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.15), transparent 24%);
}

.hole-tee,
.hole-fairway,
.hole-bunker,
.hole-green,
.hole-pin,
.hole-landing-ring {
  position: absolute;
}

.hole-tee {
  left: 50%;
  bottom: 22px;
  width: 82px;
  height: 18px;
  margin-left: -41px;
  border-radius: 999px;
  background: #214736;
  box-shadow: 0 0 0 4px rgba(255, 253, 248, 0.18);
}

.hole-fairway {
  left: 50%;
  bottom: 30px;
  width: 132px;
  height: 188px;
  margin-left: -66px;
  border-radius: 55% 55% 42% 42% / 38% 38% 62% 62%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 16px, rgba(255, 255, 255, 0) 16px 32px),
    linear-gradient(180deg, #8fb477 0%, #7ba068 30%, #688c58 60%, #5a7d4d 100%);
  transform: translateX(-50%);
}

.hole-bunker {
  width: 74px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, #eddcb9, #cfb07b);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.35);
}

.hole-bunker-left {
  left: 56px;
  top: 78px;
  transform: rotate(-18deg);
}

.hole-bunker-right {
  right: 48px;
  top: 118px;
  transform: rotate(16deg);
}

.hole-green {
  left: 50%;
  top: 18px;
  width: 148px;
  height: 88px;
  margin-left: -74px;
  border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(180deg, #b7d2a2, #9dbc89);
  border: 2px solid rgba(255, 253, 248, 0.48);
}

.hole-pin {
  left: 50%;
  top: 26px;
  width: 3px;
  height: 62px;
  margin-left: -1px;
  background: var(--white);
}

.hole-pin::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 28px;
  height: 18px;
  clip-path: polygon(0 0, 100% 30%, 0 100%);
  background: #1e5f33;
}

.hole-landing-ring {
  left: 50%;
  top: 104px;
  width: 120px;
  height: 120px;
  margin-left: -60px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 253, 248, 0.58);
}

.hero-ritual-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.hero-ritual-list li {
  padding: 0.95rem 1rem 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.58), rgba(247, 241, 227, 0.5));
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.06);
}

.hero-ritual-list p {
  margin: 0.4rem 0 0;
}

.shot-count-picker {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.setup-game-picker {
  position: relative;
  display: grid;
  gap: 0.58rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.setup-game-menu {
  position: relative;
  margin: 0;
}

.setup-game-menu-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.05rem;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(18, 61, 43, 0.13);
  border-radius: 8px;
  background: rgba(244, 239, 227, 0.56);
  color: var(--forest);
  cursor: pointer;
  list-style: none;
}

.setup-game-menu-summary::-webkit-details-marker {
  display: none;
}

.setup-game-menu-summary::marker {
  content: "";
}

.setup-game-menu-selected,
.setup-game-menu-option {
  display: grid;
  gap: 0.24rem;
  min-width: 0;
}

.setup-game-menu-selected strong,
.setup-game-menu-option strong {
  color: #001d0f;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.1;
}

.setup-game-menu-selected span,
.setup-game-menu-option span {
  color: rgba(18, 61, 43, 0.72);
  font-size: 0.8rem;
  line-height: 1.36;
}

.setup-game-menu-chevron {
  width: 0.72rem;
  height: 0.45rem;
  background: currentColor;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transition: transform 160ms ease;
}

.setup-game-menu[open] .setup-game-menu-chevron {
  transform: rotate(180deg);
}

.setup-game-menu-options {
  position: absolute;
  top: calc(100% + 0.42rem);
  right: 0;
  left: 0;
  z-index: 12;
  display: grid;
  gap: 0.42rem;
  padding: 0.42rem;
  border: 1px solid rgba(18, 61, 43, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 16px 34px rgba(10, 24, 18, 0.18);
}

.setup-game-menu-option {
  width: 100%;
  padding: 0.72rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.setup-game-menu-option:hover,
.setup-game-menu-option:focus-visible,
.setup-game-menu-option.is-selected {
  border-color: rgba(18, 61, 43, 0.2);
  background: rgba(244, 239, 227, 0.62);
  outline: none;
}

.handedness-picker {
  display: grid;
  gap: 0.58rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.handedness-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.handedness-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.handedness-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.handedness-option-copy {
  display: flex;
  min-height: 3.05rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(244, 239, 227, 0.72);
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.9rem;
  font-weight: 720;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.handedness-option:hover .handedness-option-copy {
  transform: translateY(-1px);
  background: rgba(246, 243, 235, 0.98);
}

.handedness-option input:checked + .handedness-option-copy {
  background: #f0f7ec;
  border-color: rgba(22, 49, 38, 0.72);
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.5);
}

.handedness-option input:focus-visible + .handedness-option-copy {
  outline: none;
  border-color: rgba(93, 128, 86, 0.42);
  box-shadow: 0 0 0 4px rgba(175, 196, 154, 0.28);
}

.setup-preference {
  display: grid;
  gap: 0.58rem;
}

.advanced-settings {
  border-radius: 14px;
  border: 1px solid rgba(22, 49, 38, 0.12);
  background: rgba(244, 239, 227, 0.56);
}

.advanced-settings-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.05rem;
  padding: 0.72rem 0.88rem;
  color: var(--forest);
  cursor: pointer;
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  list-style: none;
  border-radius: 13px;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.advanced-settings-summary::-webkit-details-marker {
  display: none;
}

.advanced-settings-summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(175, 196, 154, 0.28);
}

.advanced-settings-summary:hover,
.advanced-settings[open] .advanced-settings-summary {
  background: rgba(255, 253, 248, 0.42);
}

.advanced-settings-label {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
}

.advanced-settings-cog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.78rem;
  height: 1.78rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 49, 38, 0.14);
  background: rgba(255, 253, 248, 0.76);
  color: var(--forest);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.42);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.advanced-settings-cog svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.advanced-settings-summary:hover .advanced-settings-cog,
.advanced-settings[open] .advanced-settings-cog {
  border-color: rgba(22, 49, 38, 0.24);
  background: rgba(240, 247, 236, 0.92);
  transform: rotate(18deg);
}

.advanced-settings-chevron {
  width: 0.58rem;
  height: 0.58rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.advanced-settings[open] .advanced-settings-chevron {
  transform: rotate(225deg);
}

.advanced-settings-panel {
  display: grid;
  gap: 0.9rem;
  padding: 0 0.88rem 0.9rem;
}

.setup-preference-heading {
  display: flex;
  align-items: center;
  gap: 0.38rem;
}

.setup-preference-heading .picker-label {
  margin: 0;
}

.setup-info-popover {
  position: relative;
}

.setup-info-popover summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.34rem;
  height: 1.34rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 49, 38, 0.24);
  background: rgba(255, 253, 248, 0.72);
  color: var(--forest);
  cursor: pointer;
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 820;
  list-style: none;
}

.setup-info-popover summary::-webkit-details-marker {
  display: none;
}

.setup-info-popover summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(175, 196, 154, 0.28);
}

.setup-info-popover p {
  position: absolute;
  z-index: 10;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(17rem, calc(100vw - 3rem));
  margin: 0;
  padding: 0.72rem 0.82rem;
  border-radius: 8px;
  border: 1px solid rgba(22, 49, 38, 0.14);
  background: rgba(255, 253, 248, 0.98);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(22, 49, 38, 0.16);
  font-size: 0.86rem;
  line-height: 1.4;
}

.setup-toggle-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.74rem;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.68rem 0.78rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(244, 239, 227, 0.72);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.setup-toggle-option:hover {
  transform: translateY(-1px);
  background: rgba(246, 243, 235, 0.98);
}

.setup-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.setup-toggle-control {
  position: relative;
  display: inline-flex;
  width: 2.55rem;
  height: 1.44rem;
  border-radius: 999px;
  background: rgba(22, 49, 38, 0.18);
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.14);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.setup-toggle-control::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.04rem;
  height: 1.04rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(22, 49, 38, 0.18);
  transition: transform 160ms ease;
}

.setup-toggle-input:checked + .setup-toggle-control {
  background: rgba(67, 116, 72, 0.84);
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.2);
}

.setup-toggle-input:checked + .setup-toggle-control::before {
  transform: translateX(1.12rem);
}

.setup-toggle-input:checked ~ .setup-toggle-copy .setup-toggle-title {
  color: var(--forest);
}

.setup-toggle-state-on {
  display: none;
}

.setup-toggle-input:checked ~ .setup-toggle-copy .setup-toggle-state-off {
  display: none;
}

.setup-toggle-input:checked ~ .setup-toggle-copy .setup-toggle-state-on {
  display: inline;
}

.setup-toggle-input:focus-visible + .setup-toggle-control {
  box-shadow: 0 0 0 4px rgba(175, 196, 154, 0.28), inset 0 0 0 1px rgba(22, 49, 38, 0.2);
}

.setup-toggle-copy {
  display: grid;
  gap: 0.16rem;
}

.setup-toggle-title {
  color: var(--ink);
  font-family: var(--label-font);
  font-size: 0.92rem;
  font-weight: 780;
}

.setup-toggle-description {
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.35;
}

.club-bag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.club-bag-option {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.club-bag-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.club-bag-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.05rem;
  min-height: 2.2rem;
  padding: 0.48rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 49, 38, 0.14);
  background: rgba(255, 253, 248, 0.78);
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 760;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.club-bag-option:hover .club-bag-chip {
  transform: translateY(-1px);
  background: rgba(255, 253, 248, 0.98);
}

.club-bag-input:checked + .club-bag-chip {
  background: #f0f7ec;
  border-color: rgba(22, 49, 38, 0.72);
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.34);
}

.club-bag-input:focus-visible + .club-bag-chip {
  outline: none;
  box-shadow: 0 0 0 4px rgba(175, 196, 154, 0.28);
}

.saved-bag-summary {
  display: grid;
  gap: 0.64rem;
  padding: 0.68rem 0.78rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(244, 239, 227, 0.72);
}

.saved-bag-clubs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.saved-bag-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0.4rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 49, 38, 0.14);
  background: rgba(255, 253, 248, 0.82);
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 760;
}

.saved-bag-link {
  justify-self: start;
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 780;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.saved-bag-link:hover {
  color: var(--rough);
}

.shot-count-entry {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.58rem;
}

.shot-count-entry-copy,
.shot-count-note {
  margin: 0;
  color: var(--text-soft);
}

.shot-count-entry-copy {
  font-family: var(--display-font);
  font-size: 0.92rem;
  line-height: 1.45;
}

.shot-count-input {
  width: 100%;
  min-height: 3.05rem;
  padding: 0.68rem 0.88rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(244, 239, 227, 0.72);
  color: var(--ink);
  font-family: var(--label-font);
  font-size: 1rem;
  font-weight: 720;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.04);
}

.shot-count-input::placeholder {
  color: rgba(22, 49, 38, 0.28);
}

.shot-count-input::-webkit-outer-spin-button,
.shot-count-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.shot-count-input[type="number"] {
  -moz-appearance: textfield;
}

.shot-count-input:hover {
  transform: translateY(-1px);
  background: rgba(246, 243, 235, 0.98);
}

.shot-count-input:focus {
  outline: none;
  border-color: rgba(93, 128, 86, 0.42);
  box-shadow: 0 0 0 4px rgba(175, 196, 154, 0.28);
}

.shot-count-input:invalid {
  border-color: rgba(138, 65, 50, 0.4);
}

.shot-count-note {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.input-shell {
  position: relative;
  display: block;
}

.input-shell .shot-count-input {
  padding-right: 4rem;
}

.input-shell-badge {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  min-height: 2.15rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.08);
  color: rgba(22, 49, 38, 0.68);
  font-family: var(--label-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.setup-feedback,
.feedback-copy {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(22, 49, 38, 0.12);
}

.setup-feedback {
  position: relative;
  min-height: 5.4rem;
  padding: 1.1rem 1.25rem 1.1rem 3.5rem;
  background: rgba(240, 236, 226, 0.96);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.05);
}

.setup-feedback::before {
  content: "i";
  position: absolute;
  top: 1.25rem;
  left: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(22, 49, 38, 0.65);
  color: rgba(22, 49, 38, 0.78);
  font-family: var(--label-font);
  font-size: 0.88rem;
  font-weight: 700;
}

.feedback-copy {
  background:
    linear-gradient(90deg, rgba(63, 106, 71, 0.08), rgba(255, 253, 248, 0.88));
  color: var(--ink);
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.58rem;
  margin-top: 0.35rem;
}

.hero-setup-panel .hero-actions {
  margin-top: 0.25rem;
}

.hero-setup-panel .primary-button {
  width: 100%;
}

.hero-start-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.28rem;
  padding: 0.78rem 1.12rem;
  font-family: var(--label-font);
  font-size: 0.98rem;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.hero-start-button::after {
  content: "";
  width: 0.58rem;
  height: 0.58rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.club-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 280px) auto 1fr;
  align-items: end;
  gap: 0.9rem 1rem;
}

.voice-picker-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.2rem;
  align-items: end;
  gap: 0.62rem;
  min-width: 0;
}

.profile-field {
  display: grid;
  gap: 0.58rem;
}

.club-toolbar {
  margin-top: 1.2rem;
}

.voice-picker,
.club-picker {
  display: grid;
  gap: 0.58rem;
  min-width: 0;
}

.voice-select,
.setup-game-select,
.club-select {
  width: 100%;
  min-height: 3.05rem;
  padding: 0.68rem 2.6rem 0.68rem 0.88rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(244, 239, 227, 0.72);
  color: var(--ink);
  font-family: var(--label-font);
  font-size: 1rem;
  font-weight: 720;
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.04);
}

.voice-select {
  appearance: none;
  min-width: 0;
  text-overflow: ellipsis;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(22, 49, 38, 0.58) 50%),
    linear-gradient(135deg, rgba(22, 49, 38, 0.58) 50%, transparent 50%);
  background-position:
    calc(100% - 1.55rem) calc(50% - 0.18rem),
    calc(100% - 1.1rem) calc(50% - 0.18rem);
  background-size: 0.55rem 0.55rem;
  background-repeat: no-repeat;
}

.setup-game-select {
  appearance: none;
  background-image: none;
}

.voice-select:hover,
.setup-game-select:hover,
.club-select:hover {
  background-color: rgba(246, 243, 235, 0.98);
}

.voice-select:focus,
.setup-game-select:focus,
.club-select:focus {
  outline: none;
  border-color: rgba(93, 128, 86, 0.42);
  box-shadow: 0 0 0 4px rgba(175, 196, 154, 0.28);
}

.voice-note,
.club-note {
  margin: 0;
}

.voice-note {
  min-height: 1.7em;
  color: var(--forest);
  font-size: 0.96rem;
}

.hero-setup-panel .voice-note {
  display: none;
}

.club-note {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(241, 235, 222, 0.72));
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.06);
}

.club-decision-panel .club-note {
  grid-column: 1 / -1;
  border-radius: 8px;
}

.primary-button,
.ghost-button,
.success-button,
.danger-button {
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0.95rem 1.35rem;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.primary-button {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(18, 61, 43, 0.14);
}

.ghost-button {
  background: rgba(255, 253, 248, 0.82);
  color: var(--forest);
  border-color: rgba(22, 49, 38, 0.14);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.05rem;
  padding: 0;
  border-radius: 12px;
  background: rgba(232, 237, 225, 0.95);
  color: var(--forest);
  border-color: rgba(143, 173, 122, 0.4);
  box-shadow: none;
}

.success-button {
  background: rgba(44, 106, 61, 0.08);
  border-color: rgba(44, 106, 61, 0.18);
  color: var(--success);
}

.danger-button {
  background: rgba(138, 65, 50, 0.08);
  border-color: rgba(138, 65, 50, 0.16);
  color: var(--danger);
}

.danger-button-penalty {
  background: rgba(125, 80, 36, 0.1);
  border-color: rgba(125, 80, 36, 0.18);
  color: #7d5024;
}

.primary-button:hover,
.ghost-button:hover,
.success-button:hover,
.danger-button:hover {
  transform: translateY(-1px);
}

.icon-button:hover {
  box-shadow: 0 12px 24px rgba(22, 49, 38, 0.08);
}

.primary-button:focus-visible,
.ghost-button:focus-visible,
.success-button:focus-visible,
.danger-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(175, 196, 154, 0.28);
}

.primary-button:hover {
  box-shadow: 0 14px 28px rgba(33, 71, 54, 0.22);
}

.primary-button:disabled,
.ghost-button:disabled,
.success-button:disabled,
.danger-button:disabled,
.shot-count-input:disabled,
.club-select:disabled,
.voice-select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.coach-layout {
  display: grid;
  margin-top: 0.85rem;
  gap: 0.85rem;
  min-width: 0;
  max-width: 100%;
}

.coach-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.coach-panel {
  padding: 1rem;
}

.session-scorecard-panel {
  padding: 1.2rem 1.25rem 1.35rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 22px;
  border: 1px solid rgba(22, 49, 38, 0.12);
  background:
    linear-gradient(180deg, rgba(247, 241, 227, 0.92), rgba(239, 232, 218, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.session-scorecard-scroll {
  margin-top: 1rem;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.2rem;
  -webkit-overflow-scrolling: touch;
}

.session-scorecard-grid {
  --scorecard-columns: 1;
  display: grid;
  gap: 0.5rem;
  min-width: max-content;
}

.session-scorecard-row {
  display: grid;
  grid-template-columns: 88px repeat(var(--scorecard-columns), minmax(72px, 1fr));
  gap: 0.35rem;
  min-width: max-content;
}

.session-scorecard-label,
.session-scorecard-cell {
  min-height: 62px;
  padding: 0.55rem 0.4rem;
  border-radius: 16px;
  border: 1px solid rgba(22, 49, 38, 0.12);
}

.session-scorecard-label {
  position: sticky;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(236, 227, 202, 0.9), rgba(244, 238, 223, 0.94));
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 1px 0 0 rgba(22, 49, 38, 0.08);
}

.session-scorecard-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(242, 236, 223, 0.86));
  color: var(--ink);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.session-scorecard-cell.is-shots {
  min-height: 72px;
}

.session-scorecard-cell.is-result {
  min-height: 50px;
}

.session-scorecard-cell.is-current {
  background:
    linear-gradient(180deg, rgba(224, 236, 208, 0.98), rgba(247, 243, 232, 0.96));
  box-shadow: inset 0 0 0 1px rgba(63, 106, 71, 0.14);
}

.session-scorecard-cell.is-great {
  background:
    linear-gradient(180deg, rgba(221, 239, 221, 0.96), rgba(247, 250, 244, 0.95));
  box-shadow: inset 0 0 0 1px rgba(44, 106, 61, 0.14);
}

.session-scorecard-cell.is-playable {
  background:
    linear-gradient(180deg, rgba(234, 240, 221, 0.96), rgba(249, 250, 244, 0.95));
  box-shadow: inset 0 0 0 1px rgba(109, 137, 64, 0.14);
}

.session-scorecard-cell.is-miss {
  background:
    linear-gradient(180deg, rgba(245, 233, 228, 0.96), rgba(252, 247, 245, 0.95));
  box-shadow: inset 0 0 0 1px rgba(138, 65, 50, 0.1);
}

.session-scorecard-cell.is-penalty {
  background:
    linear-gradient(180deg, rgba(246, 238, 224, 0.96), rgba(251, 247, 241, 0.95));
  box-shadow: inset 0 0 0 1px rgba(125, 80, 36, 0.12);
}

.session-scorecard-cell.is-pending {
  color: rgba(22, 49, 38, 0.78);
}

.session-scorecard-shot-number,
.session-scorecard-club,
.session-scorecard-result {
  font-family: var(--label-font);
}

.session-scorecard-shot-meta {
  display: grid;
  justify-items: center;
  gap: 0.12rem;
}

.session-scorecard-shot-number {
  font-size: 0.88rem;
  font-weight: 700;
}

.session-scorecard-yardage {
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.session-scorecard-club {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.05;
}

.session-scorecard-result {
  min-height: 1.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
}

.scorecard-panel {
  position: sticky;
  top: 1rem;
  align-self: start;
  background:
    linear-gradient(180deg, rgba(245, 239, 223, 0.98), rgba(229, 221, 200, 0.96));
}

.ledger-stripe {
  height: 10px;
  margin-top: 1rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--rough) 0 16%, var(--fairway) 16% 34%, var(--green) 34% 52%, var(--sand) 52% 68%, var(--fairway-light) 68% 100%);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.panel-heading-copy {
  max-width: 40ch;
  min-width: 0;
}

.panel-heading-tight {
  margin-bottom: 0.9rem;
}

.panel-heading-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.panel-note {
  margin: 0.28rem 0 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  background: rgba(63, 106, 71, 0.1);
  border: 1px solid rgba(63, 106, 71, 0.18);
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.inline-ghost-button {
  padding: 0.68rem 1rem;
}

.session-stepbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
}

.status-pill-subtle {
  background: rgba(255, 253, 248, 0.88);
  border-color: rgba(22, 49, 38, 0.12);
}

.shot-hud {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  margin-top: 0.15rem;
  min-width: 0;
}

.shot-hud-copy {
  display: grid;
  gap: 0.42rem;
  max-width: 62ch;
  min-width: 0;
}

.wind-visual,
.elevation-visual {
  position: absolute;
  left: 0.82rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
  max-width: calc(100% - 1.64rem);
  padding: 0.24rem 0.34rem;
  border: 1px solid rgba(255, 253, 248, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.62), rgba(237, 231, 215, 0.36));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 12px 30px rgba(22, 49, 38, 0.14);
  backdrop-filter: blur(16px) saturate(1.24);
}

.wind-visual {
  bottom: 3.1rem;
}

.elevation-visual {
  bottom: 0.82rem;
}

.wind-arrow,
.elevation-mark {
  --wind-arrow-turn: 0deg;
  position: relative;
  display: inline-block;
  width: 1.12rem;
  height: 1.12rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.72), rgba(255, 253, 248, 0.3) 54%, rgba(237, 231, 215, 0.2));
  box-shadow:
    inset 0 0 0 1px rgba(255, 253, 248, 0.34),
    inset 0 -5px 10px rgba(22, 49, 38, 0.08);
}

.wind-arrow::before,
.elevation-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.64rem;
  height: 0.64rem;
  background: var(--forest);
  clip-path: polygon(50% 0, 92% 42%, 67% 42%, 67% 100%, 33% 100%, 33% 42%, 8% 42%);
}

.wind-arrow::before {
  transform: translate(-50%, -50%) rotate(var(--wind-arrow-turn));
  transform-origin: 50% 50%;
}

.elevation-mark::before {
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
}

.elevation-visual[data-elevation-direction="down"] .elevation-mark::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.elevation-visual[data-elevation-direction="level"] .elevation-mark::before {
  width: 0.62rem;
  height: 0.18rem;
  border-radius: 999px;
  clip-path: none;
}

.wind-copy,
.elevation-copy {
  display: block;
  min-width: 0;
}

.wind-speed,
.elevation-label {
  display: block;
  white-space: nowrap;
  color: var(--forest);
  font-family: var(--display-font);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.shot-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(22, 49, 38, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(237, 231, 215, 0.78));
}

.shot-visual.is-pending-image {
  display: grid;
  min-height: 220px;
  place-items: center;
}

.shot-visual.is-pending-image::before {
  content: "Image pending";
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shot-visual-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
}

.shot-visual.is-pending-image .shot-visual-image,
.shot-visual.is-pending-image .wind-visual,
.shot-visual.is-pending-image .elevation-visual {
  display: none;
}

.shot-readout,
.shot-readout-detail {
  margin: 0;
}

.shot-readout {
  color: var(--forest);
  font-family: var(--display-font);
  font-size: clamp(1.12rem, 1.62vw, 1.42rem);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.shot-yardage-line,
.shot-stakes-line {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.shot-yardage-line {
  width: fit-content;
  max-width: 100%;
  padding: 0.28rem 0.48rem;
  border: 1px solid rgba(0, 29, 15, 0.14);
  border-radius: 999px;
  background: rgba(238, 247, 212, 0.82);
  color: #001d0f;
  font-family: var(--label-font);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.shot-stakes-line {
  max-width: 68ch;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 680;
  line-height: 1.42;
}

.shot-yardage-line:empty,
.shot-stakes-line:empty {
  display: none;
}

.shot-readout-detail {
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.current-shot-panel .scene-copy {
  margin-top: 0;
  max-width: 58ch;
  padding: 0.62rem 0.72rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(250, 247, 239, 0.72);
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.45;
}

.scene-copy:empty {
  display: none;
}

.current-shot-title {
  margin: 0.18rem 0 0;
  color: var(--forest);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.round-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0;
  min-width: 0;
  max-width: 100%;
}

.round-topbar-copy {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  justify-content: space-between;
  flex: 1 1 auto;
  width: 100%;
  flex-wrap: nowrap;
  min-width: 0;
}

.round-live-badge {
  min-height: 1.65rem;
  padding: 0.34rem 0.62rem;
  color: #001d0f;
  background: #d3f000;
  border-color: #d3f000;
}

.round-live-badge .live-dot {
  background: #001d0f;
  box-shadow: 0 0 0 4px rgba(0, 29, 15, 0.1);
}

.round-topbar-copy .panel-label {
  margin: 0;
}

.round-progress-pill {
  margin: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  min-height: 1.65rem;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: rgba(33, 71, 54, 0.08);
  border: 1px solid rgba(33, 71, 54, 0.14);
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.round-menu {
  position: relative;
  flex: 0 0 auto;
}

.round-menu-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 1.65rem;
  min-height: 1.65rem;
  padding: 0;
  border-radius: 999px;
  list-style: none;
}

.round-menu-summary::-webkit-details-marker,
.round-menu-summary::marker {
  display: none;
  content: "";
}

.round-menu-cog {
  width: 1.38rem;
  height: 1.38rem;
  border-color: rgba(33, 71, 54, 0.18);
}

.round-menu-cog svg {
  width: 0.82rem;
  height: 0.82rem;
}

.round-menu[open] .round-menu-cog {
  transform: rotate(18deg);
}

.round-menu-panel {
  position: absolute;
  top: calc(100% + 0.58rem);
  right: 0;
  z-index: 40;
  display: grid;
  width: min(22rem, calc(100vw - 2rem));
  padding: 0.66rem;
  border: 1px solid rgba(22, 49, 38, 0.14);
  background: rgba(255, 253, 248, 0.98);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(22, 49, 38, 0.18);
}

.round-menu-actions,
.round-end-confirmation,
.round-settings-form {
  display: grid;
  gap: 0.48rem;
}

.round-end-confirmation[hidden] {
  display: none;
}

.round-menu-action {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-height: 2.75rem;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(22, 49, 38, 0.12);
  background: rgba(244, 239, 227, 0.72);
  color: var(--forest);
  cursor: pointer;
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 760;
  text-align: left;
}

.round-menu-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid currentColor;
  color: currentColor;
}

.round-menu-action-icon svg {
  display: block;
  width: 0.96rem;
  height: 0.96rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.round-menu-action > span:last-child {
  min-width: 0;
}

.round-menu-action:hover {
  background: rgba(240, 247, 236, 0.94);
}

.round-menu-action-danger {
  color: var(--danger);
}

.round-end-confirmation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.42rem;
}

.round-end-cancel,
.round-end-confirm {
  min-height: 2.55rem;
  padding: 0.62rem 0.72rem;
  border-radius: 0;
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 820;
}

.round-end-confirm {
  border: 1px solid rgba(157, 60, 36, 0.32);
  background: rgba(157, 60, 36, 0.08);
  color: var(--danger);
  cursor: pointer;
}

.round-end-confirm:hover,
.round-end-confirm:focus-visible {
  border-color: rgba(157, 60, 36, 0.54);
  background: rgba(157, 60, 36, 0.14);
}

.round-settings-heading {
  display: grid;
  gap: 0.22rem;
  padding: 0.1rem 0.08rem 0.2rem;
}

.round-settings-title,
.round-settings-note {
  margin: 0;
}

.round-settings-title {
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.round-settings-note {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.round-settings-field,
.round-settings-fieldset {
  display: grid;
  gap: 0.34rem;
}

.round-settings-field span,
.round-settings-fieldset legend {
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.round-settings-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.round-settings-input {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.56rem 0.68rem;
  border: 1px solid rgba(22, 49, 38, 0.14);
  background: #ffffff;
  color: var(--ink);
  font-family: var(--label-font);
  font-size: 0.94rem;
  font-weight: 720;
}

.round-settings-input:focus,
.round-menu-action:focus-visible,
.round-end-confirm:focus-visible,
.round-settings-toggle input:focus-visible + span,
.round-settings-segment-option input:focus-visible + span {
  outline: 2px solid rgba(93, 128, 86, 0.48);
  outline-offset: 2px;
}

.round-settings-segment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.34rem;
}

.round-settings-segment-option {
  position: relative;
  cursor: pointer;
}

.round-settings-segment-option input,
.round-settings-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.round-settings-segment-option span,
.round-settings-toggle span {
  display: flex;
  align-items: center;
  min-height: 2.45rem;
  border: 1px solid rgba(22, 49, 38, 0.14);
  background: rgba(244, 239, 227, 0.72);
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.76rem;
  font-weight: 760;
}

.round-settings-segment-option span {
  justify-content: center;
  padding: 0.58rem 0.54rem;
}

.round-settings-toggle {
  position: relative;
  cursor: pointer;
}

.round-settings-toggle span {
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.58rem 0.7rem;
}

.round-settings-toggle span::after {
  content: "";
  width: 0.94rem;
  height: 0.94rem;
  border: 1px solid currentColor;
  background: transparent;
}

.round-settings-segment-option input:checked + span,
.round-settings-toggle input:checked + span {
  border-color: rgba(22, 49, 38, 0.6);
  background: #f0f7ec;
  color: var(--forest);
}

.round-settings-toggle input:checked + span::after {
  background: currentColor;
  box-shadow: inset 0 0 0 3px #f0f7ec;
}

.round-settings-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.42rem;
  margin-top: 0.14rem;
}

.round-settings-cancel,
.round-settings-submit {
  min-height: 2.55rem;
  padding: 0.62rem 0.72rem;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 820;
}

.transport-controls {
  min-width: 0;
  max-width: 100%;
}

.live-round-stack,
.summary-panel {
  display: grid;
  gap: 0.68rem;
  margin-top: 0.72rem;
  min-width: 0;
  max-width: 100%;
}

.transport-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.62rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(250, 247, 239, 0.78);
  box-shadow: none;
}

.transport-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  align-items: stretch;
}

.transport-primary-button {
  position: relative;
  width: 100%;
  min-height: 3.2rem;
  padding: 0.58rem 0.86rem 0.58rem 3.15rem;
  text-align: left;
  font-family: var(--label-font);
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0.02em;
  background: var(--forest);
}

.transport-primary-button::before {
  content: "↺";
  position: absolute;
  left: 0.58rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.16);
  border: 1px solid rgba(255, 253, 248, 0.22);
  color: var(--white);
  font-family: var(--label-font);
  font-size: 1rem;
  font-weight: 700;
}

.transport-primary-button::after {
  content: "Ready on demand";
  display: block;
  margin-top: 0.18rem;
  color: rgba(255, 253, 248, 0.78);
  font-family: var(--label-font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.transport-primary-button.is-playing::before {
  content: "II";
}

.transport-primary-button.is-playing::after {
  content: "Audio playing";
}

.transport-primary-button.is-paused::before {
  content: "▶";
}

.transport-primary-button.is-paused::after {
  content: "Audio paused";
}

.transport-primary-button.is-loading::before {
  content: "…";
  animation: transport-pulse 900ms ease-in-out infinite;
}

@keyframes transport-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.club-decision-panel,
.shot-log-panel,
.summary-panel,
.club-breakdown-item,
.session-metrics div {
  border-radius: 16px;
  border: 1px solid var(--line);
}

.club-decision-panel,
.shot-log-panel,
.summary-panel {
  padding: 0.7rem;
  box-shadow: none;
}

.club-decision-panel {
  background: rgba(250, 247, 239, 0.78);
}

.shot-log-panel {
  background: rgba(250, 247, 239, 0.78);
}

.summary-panel {
  background: rgba(250, 247, 239, 0.78);
}

.summary-round-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.55rem);
  border-radius: 18px;
  background: var(--forest);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 248, 0.18),
    0 12px 28px rgba(12, 48, 34, 0.12);
}

.summary-round-card .panel-label,
.summary-round-card .summary-title,
.summary-round-card .summary-copy {
  color: var(--white);
}

.summary-round-card .panel-label,
.summary-score-label,
.summary-stat-grid dt {
  color: rgba(255, 253, 248, 0.78);
}

.summary-round-card .summary-title {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.06;
}

.summary-round-card .summary-copy {
  max-width: 58ch;
  color: rgba(255, 253, 248, 0.82);
}

.summary-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.summary-score-main,
.summary-score-notes,
.summary-stat-grid div {
  min-width: 0;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.12);
}

.summary-score-main {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 1rem;
}

.summary-score-label {
  margin: 0;
  font-family: var(--label-font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.summary-score {
  margin: 0.1rem 0 0;
  color: var(--white);
  font-family: var(--label-font);
  font-size: clamp(3.25rem, 10vw, 6.3rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

.summary-score-notes {
  display: grid;
  align-content: center;
  gap: 0.55rem;
  padding: 1rem;
}

.summary-verdict,
.summary-next-cue {
  margin: 0;
  overflow-wrap: anywhere;
}

.summary-verdict {
  color: var(--white);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.2;
}

.summary-next-cue {
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.98rem;
  line-height: 1.5;
}

.summary-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
}

.summary-stat-grid div {
  padding: 0.85rem;
}

.summary-stat-grid dt {
  margin-bottom: 0.35rem;
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-stat-grid dd {
  margin: 0;
  color: var(--white);
  font-family: var(--label-font);
  font-size: clamp(0.98rem, 2vw, 1.2rem);
  font-weight: 800;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

.summary-play-again-button {
  min-width: min(100%, 12rem);
  min-height: 3.1rem;
  background:
    linear-gradient(180deg, #fffdf8, #e8d7b4);
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(17, 31, 23, 0.14);
}

.summary-history-button {
  min-height: 3.1rem;
  border-color: rgba(255, 253, 248, 0.28);
  background: rgba(255, 253, 248, 0.12);
  color: var(--white);
}

.summary-coach-read {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.12);
}

.summary-coach-label {
  margin: 0 0 0.24rem;
  color: rgba(255, 253, 248, 0.72);
  font-family: var(--label-font);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.summary-coach-copy,
.summary-pattern-alert {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.45;
}

.summary-coach-copy--strong {
  font-weight: 820;
}

.summary-adaptive-form {
  display: contents;
}

.summary-adaptive-button {
  width: 100%;
}

.summary-pattern-alert {
  padding: 0.8rem 0.85rem;
  border-radius: 8px;
  background: rgba(211, 240, 0, 0.14);
  color: rgba(255, 253, 248, 0.92);
}

.current-shot-panel .club-toolbar {
  margin-top: 0;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0.8rem;
  min-width: 0;
  max-width: 100%;
}

.current-shot-panel .club-note {
  font-size: 0.96rem;
  padding-top: 0.1rem;
}

.summary-intro {
  display: grid;
  gap: 0.35rem;
}

.summary-title {
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  line-height: 1.16;
}

.summary-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.email-capture {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  min-width: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(18, 61, 43, 0.14);
}

.email-capture-copy {
  display: grid;
  gap: 0.36rem;
  min-width: 0;
}

.email-capture-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--ui-font);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  font-weight: 760;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.email-capture-text {
  max-width: 54ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.email-signup-form-shell,
.email-signup-form {
  min-width: 0;
}

.email-signup-form {
  display: grid;
  gap: 0.45rem;
}

.email-signup-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  min-width: 0;
}

.email-signup-input {
  width: 100%;
  min-height: 3.05rem;
  min-width: 0;
  padding: 0.68rem 0.88rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(244, 239, 227, 0.72);
  color: var(--ink);
  font-family: var(--label-font);
  font-size: 1rem;
  font-weight: 680;
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.email-signup-input::placeholder {
  color: rgba(22, 49, 38, 0.36);
}

.email-signup-input:focus {
  outline: none;
  border-color: rgba(93, 128, 86, 0.42);
  box-shadow: 0 0 0 4px rgba(175, 196, 154, 0.28);
}

.email-signup-input[aria-invalid="true"] {
  border-color: #a54636;
  background: #fffdfb;
  box-shadow: inset 0 0 0 1px rgba(165, 70, 54, 0.24), 0 0 0 3px rgba(165, 70, 54, 0.08);
}

.email-signup-input[aria-invalid="true"]:focus {
  border-color: #8e372a;
  box-shadow: inset 0 0 0 1px rgba(165, 70, 54, 0.28), 0 0 0 3px rgba(165, 70, 54, 0.13);
}

.email-signup-submit {
  min-height: 3.05rem;
  padding: 0.68rem 1rem;
  font-family: var(--label-font);
  font-size: 0.9rem;
  font-weight: 760;
  white-space: nowrap;
}

.email-signup-error,
.email-signup-success {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.email-signup-error {
  color: var(--danger);
}

.email-signup-success {
  color: var(--forest);
  font-weight: 700;
}

.email-signup-form-shell--success {
  align-self: stretch;
  display: grid;
  align-content: center;
  min-height: 3.05rem;
}

.email-unlock-card {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.email-unlock-card.landing-setup-panel {
  width: 100%;
}

.email-unlock-card--inline {
  gap: 0.85rem;
  margin: -0.1rem 0 1rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(18, 61, 43, 0.12);
}

.email-unlock-card--post-session {
  gap: 0.9rem;
}

.email-unlock-copy {
  display: grid;
  gap: 0.38rem;
}

.email-unlock-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--ui-font);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 780;
  line-height: 1.08;
}

.email-unlock-text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.48;
}

.email-unlock-text strong {
  color: var(--ink);
  font-weight: 850;
}

.email-unlock-status {
  display: grid;
  gap: 0.24rem;
  padding: 0.72rem 0.85rem;
  border-radius: 8px;
  background: rgba(232, 237, 225, 0.74);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 730;
  line-height: 1.32;
}

.email-unlock-status strong {
  color: var(--ink);
  font-family: var(--label-font);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-unlock-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.email-unlock-benefits li {
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(18, 61, 43, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: rgba(18, 61, 43, 0.76);
  font-family: var(--label-font);
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-unlock-form {
  gap: 0.62rem;
}

.email-unlock-form .email-signup-field {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
}

.email-unlock-form .email-signup-input,
.email-unlock-form .email-signup-submit {
  min-height: 3.15rem;
  border-radius: 8px;
}

.email-unlock-form .email-signup-submit {
  width: 100%;
  background: #d3f000;
  color: #191e00;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(87, 100, 0, 0.18);
}

.email-unlock-form .email-signup-submit:hover {
  background: #e2fb1e;
  color: #191e00;
}

.email-unlock-actions {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.email-unlock-actions .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.summary-panel .email-capture {
  gap: 0.8rem;
  padding-top: 1rem;
  border-top-color: rgba(255, 253, 248, 0.2);
}

html[data-theme] .summary-panel .email-capture-title,
html[data-theme] .summary-panel .email-capture-text,
html[data-theme] .summary-panel .email-unlock-title,
html[data-theme] .summary-panel .email-signup-success {
  color: var(--white);
}

html[data-theme] .summary-panel .email-capture-text,
html[data-theme] .summary-panel .email-unlock-text {
  color: rgba(255, 253, 248, 0.78);
}

html[data-theme] .summary-panel .email-unlock-status,
html[data-theme] .summary-panel .email-unlock-benefits li {
  border-color: rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.1);
  color: rgba(255, 253, 248, 0.82);
}

html[data-theme] .summary-panel .email-unlock-status strong {
  color: var(--white);
}

.summary-panel .email-signup-input {
  background: rgba(255, 253, 248, 0.92);
  border-color: rgba(255, 253, 248, 0.24);
}

.summary-panel .email-signup-submit {
  background: #d3f000;
  color: #191e00;
  box-shadow: 0 12px 24px rgba(17, 31, 23, 0.14);
}

.summary-panel .email-signup-error {
  color: #f3c7bc;
}

.summary-panel .results-gate .email-unlock-card {
  padding: 1.25rem 1.1rem;
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 14px;
  background: rgba(20, 30, 24, 0.55);
}

html[data-theme] .summary-panel .results-gate .email-unlock-actions .ghost-button {
  background: rgba(255, 253, 248, 0.06);
  border-color: rgba(255, 253, 248, 0.32);
  color: rgba(255, 253, 248, 0.92);
}

html[data-theme] .summary-panel .results-gate .email-unlock-actions .ghost-button:hover {
  background: rgba(255, 253, 248, 0.14);
  border-color: rgba(255, 253, 248, 0.5);
}

.summary-panel .post-session-deep-pitch {
  text-align: center;
  color: rgba(255, 253, 248, 0.92);
}

.summary-panel .post-session-deep-headline {
  color: rgba(255, 253, 248, 0.92);
}

.summary-panel .post-session-guest-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.15rem;
  border: 1px solid rgba(255, 253, 248, 0.26);
  color: rgba(255, 253, 248, 0.85);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-panel .post-session-guest-link:hover {
  border-color: rgba(255, 253, 248, 0.5);
  color: var(--white);
}

.range-shell.is-results-locked .summary-revealed-content {
  display: none !important;
}

.range-shell.is-deep-locked .summary-deep-content {
  display: none !important;
}

.range-shell:not(.is-deep-locked) .results-gate {
  display: none !important;
}

.post-session-deep-pitch {
  margin-bottom: 0.75rem;
  text-align: center;
}

.post-session-deep-headline {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0.25rem 0 0;
  color: inherit;
}

.post-session-guest-actions {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: 1fr;
}

.post-session-guest-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 0.95rem;
}

.auth-page {
  min-height: calc(100dvh - 96px);
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 72px) 20px;
}

.auth-panel {
  width: min(100%, 520px);
}

.auth-unlock-page,
.auth-unlock-hero {
  min-height: calc(100vh - 5rem);
}

.auth-unlock-grid {
  align-items: center;
}

.auth-form,
.auth-provider-actions,
.auth-gate-actions {
  display: grid;
  gap: 12px;
}

.auth-provider-actions {
  margin: 18px 0;
}

.auth-provider-actions form,
.profile-actions form {
  margin: 0;
}

.profile-practice-insights {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.auth-provider-button {
  width: 100%;
}

.auth-secondary-link {
  color: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.72;
}

.account-page {
  position: relative;
  min-height: calc(100vh - 5rem);
  overflow: hidden;
  background: #f9f9ff;
}

.account-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 29, 15, 0.04), rgba(0, 29, 15, 0) 18rem),
    repeating-linear-gradient(90deg, rgba(0, 29, 15, 0.035) 0 1px, transparent 1px 72px);
}

.account-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem) 1.5rem;
}

.account-hero,
.account-panel,
.onboarding-steps {
  border-radius: 8px;
}

.account-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem) auto;
  gap: 1rem;
  align-items: stretch;
  overflow: hidden;
  padding: clamp(1.35rem, 4vw, 2.25rem);
  border: 1px solid rgba(193, 200, 193, 0.38);
  background: #001d0f;
  color: #ffffff;
  box-shadow: 0 20px 42px rgba(0, 29, 15, 0.16);
}

.account-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 29, 15, 0) 0%, rgba(211, 240, 0, 0.08) 100%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 22px);
}

.account-hero h1,
.account-hero p,
.account-hero .panel-label {
  margin: 0;
}

.account-hero .panel-label {
  color: #d3f000;
}

.account-hero h1,
.account-section-heading h2 {
  font-family: var(--ui-font);
  letter-spacing: 0;
}

.account-hero h1 {
  max-width: 12ch;
  color: #ffffff;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 850;
  line-height: 1.02;
}

.account-hero p {
  max-width: 32rem;
  color: #c3ecd1;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.55;
}

.account-hero-copy,
.account-form,
.account-section-heading {
  display: grid;
}

.account-hero-copy,
.account-hero-insight,
.account-hero-action {
  position: relative;
  z-index: 1;
}

.account-hero-copy {
  align-content: center;
  gap: 0.75rem;
}

.account-hero-insight {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.account-hero-insight--profile {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.account-hero--profile {
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem);
}

.account-hero-avatar {
  --avatar-size: 4.4rem;

  width: 4.4rem;
  height: 4.4rem;
  border-radius: 999px;
  background: #d3f000;
  color: #191e00;
  font-family: var(--label-font);
  font-weight: 850;
}

.account-hero-avatar--image {
  display: block;
  box-sizing: border-box;
  aspect-ratio: 1;
  padding: 0;
  background: #ffffff;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}

.account-hero-avatar--stock {
  padding: 0;
}

.account-hero-insight-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.account-hero-insight-copy span,
.account-hero-insight--bag span,
.account-hero-insight--bag small {
  color: rgba(255, 253, 248, 0.72);
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.account-hero-insight-copy strong {
  overflow: hidden;
  color: #ffffff;
  font-family: var(--label-font);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.12;
  text-overflow: ellipsis;
}

.account-hero-insight-copy small {
  color: #c3ecd1;
  font-size: 0.84rem;
  font-weight: 650;
}

.account-hero-insight--bag {
  justify-items: start;
  gap: 0.22rem;
}

.account-hero-insight--bag strong {
  color: #ffffff;
  font-family: var(--label-font);
  font-size: clamp(3rem, 8vw, 4.8rem);
  font-weight: 850;
  line-height: 0.95;
}

.account-hero-insight--bag small {
  color: #c3ecd1;
}

.account-hero--bag {
  grid-template-columns: minmax(0, 1fr) minmax(8.8rem, 11.5rem) auto;
  padding: clamp(1rem, 3vw, 1.45rem);
}

.account-hero--bag h1 {
  max-width: none;
  font-size: clamp(2.05rem, 7vw, 3.25rem);
}

.account-hero--bag p {
  max-width: 30rem;
}

.account-hero--bag .account-hero-insight {
  padding: 0.85rem;
}

.account-hero--bag .account-hero-insight--bag strong {
  font-size: clamp(2.1rem, 6vw, 3.2rem);
}

.account-hero-action {
  align-self: start;
  background: rgba(255, 253, 248, 0.12);
  color: #ffffff;
  border-color: rgba(255, 253, 248, 0.24);
}

.account-hero-action:hover {
  background: rgba(255, 253, 248, 0.2);
  color: #ffffff;
}

.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.55rem;
  border: 1px solid #c1c8c1;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 29, 15, 0.06);
  list-style: none;
}

.onboarding-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.58rem;
  align-items: center;
  min-width: 0;
  min-height: 3rem;
  padding: 0.58rem 0.7rem;
  border-radius: 8px;
  color: #414843;
}

.onboarding-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #e8ede1;
  color: #001d0f;
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 850;
}

.onboarding-step strong {
  overflow: hidden;
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.onboarding-step.is-active {
  background: #eef7d4;
  color: #001d0f;
}

.onboarding-step.is-active span {
  background: #d3f000;
  color: #191e00;
}

.onboarding-step.is-complete span {
  background: #001d0f;
  color: #ffffff;
}

.account-form {
  gap: 1rem;
  margin-top: 1rem;
}

.account-panel {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1rem, 3vw, 1.45rem);
  border: 1px solid #c1c8c1;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 29, 15, 0.06);
}

.account-section-heading {
  gap: 0.4rem;
  max-width: 42rem;
}

.account-section-heading h2 {
  margin: 0;
  color: #001d0f;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 850;
  line-height: 1.08;
}

.account-section-heading p:not(.panel-label) {
  margin: 0;
  color: #414843;
  font-size: 0.94rem;
  line-height: 1.5;
}

.account-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.avatar-picker {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.avatar-options {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.avatar-option {
  position: relative;
  display: block;
}

.avatar-option-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.avatar-option-card {
  display: grid;
  place-items: center;
  justify-items: center;
  aspect-ratio: 1;
  min-height: 0;
  padding: 0.55rem;
  border: 1px solid rgba(22, 49, 38, 0.12);
  border-radius: 8px;
  background: rgba(244, 239, 227, 0.6);
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.avatar-option-card:hover {
  transform: translateY(-1px);
  background: rgba(246, 243, 235, 0.98);
}

.avatar-option-input:checked + .avatar-option-card {
  border-color: #001d0f;
  background: #eef7d4;
  box-shadow: inset 0 0 0 1px #001d0f;
}

.avatar-option-input:focus-visible + .avatar-option-card {
  outline: none;
  box-shadow: 0 0 0 4px rgba(175, 196, 154, 0.28);
}

.avatar-option-image {
  display: block;
  box-sizing: border-box;
  width: min(5rem, 100%);
  height: min(5rem, 100%);
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}

.avatar-option-image--stock {
  padding: 0;
}

.stock-avatar-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.36);
  transform-origin: center;
}

.profile-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.account-file-input {
  width: 100%;
  min-height: 3.05rem;
  padding: 0.72rem;
  border: 1px solid #c1c8c1;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--label-font);
  font-weight: 700;
}

.account-file-input::file-selector-button {
  margin-right: 0.7rem;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 6px;
  background: #eef7d4;
  color: #001d0f;
  cursor: pointer;
  font-family: var(--label-font);
  font-weight: 850;
}

.account-check-option {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.05rem;
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.86rem;
  font-weight: 740;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

.account-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.account-page .primary-button,
.account-page .ghost-button {
  border-radius: 8px;
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-page .primary-button {
  background: #d3f000;
  color: #191e00;
  box-shadow: 0 10px 18px rgba(87, 100, 0, 0.18);
}

.account-page .primary-button:hover {
  background: #e2fb1e;
  color: #191e00;
}

.account-page .ghost-button {
  border-color: rgba(0, 29, 15, 0.12);
  background: #ffffff;
  color: #001d0f;
}

.account-page .ghost-button:hover {
  border-color: rgba(0, 29, 15, 0.24);
  background: #eef7d4;
  color: #001d0f;
}

.account-page .account-hero-action {
  background: rgba(255, 253, 248, 0.12);
  color: #ffffff;
  border-color: rgba(255, 253, 248, 0.24);
}

.account-page .account-hero-action:hover {
  background: rgba(255, 253, 248, 0.2);
  color: #ffffff;
}

.bag-club-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.bag-list-header {
  display: grid;
  grid-template-columns: minmax(6rem, 0.8fr) minmax(7rem, 1fr);
  gap: 0.55rem;
  padding: 0 0.55rem;
  color: rgba(18, 61, 43, 0.58);
  font-family: var(--label-font);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bag-club-row {
  display: grid;
  grid-template-columns: minmax(6rem, 0.8fr) minmax(7rem, 1fr);
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
  padding: 0.58rem;
  border: 1px solid #c1c8c1;
  border-radius: 8px;
  background: #f9f9ff;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.bag-club-row:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 29, 15, 0.06);
}

.bag-club-row.is-selected {
  border-color: #001d0f;
  background: #ffffff;
  box-shadow: inset 3px 0 0 #d3f000;
}

.bag-club-select {
  display: block;
}

.bag-club-select .club-bag-chip {
  width: 100%;
  min-height: 2.75rem;
  border-radius: 8px;
}

.bag-club-select .club-bag-input:checked + .club-bag-chip {
  border-color: #001d0f;
  background: #001d0f;
  color: #ffffff;
  box-shadow: none;
}

.bag-yardage-field {
  min-width: 0;
}

.bag-yardage-input-shell {
  position: relative;
  display: block;
  min-width: 0;
}

.bag-yardage-input-shell .shot-count-input {
  padding-right: 3.2rem;
}

.bag-yardage-unit {
  position: absolute;
  top: 50%;
  right: 0.82rem;
  color: rgba(18, 61, 43, 0.48);
  font-family: var(--label-font);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-50%);
  pointer-events: none;
}

.bag-row-error {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 700;
}

.bag-club-row.has-error {
  border-color: rgba(138, 65, 50, 0.32);
  background: rgba(255, 246, 240, 0.82);
}

.bag-current-grid,
.bag-family-rail,
.bag-add-groups,
.bag-add-options {
  display: grid;
  min-width: 0;
}

.bag-current-grid {
  overflow: hidden;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--ss-app-border);
  background: var(--ss-app-surface);
}

.bag-current-club-card,
.bag-add-option,
.bag-empty-state,
.profile-bag-panel,
.profile-bag-club {
  border: 1px solid var(--ss-app-border);
  background: var(--ss-app-surface);
  color: var(--ss-app-text);
}

.bag-current-club-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7.8rem, 0.62fr) auto;
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
  padding: 0.72rem;
  border: 0;
  border-bottom: 1px solid var(--ss-app-border);
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.bag-current-club-card:last-child {
  border-bottom: 0;
}

.bag-current-club-card:has(.bag-presence-input:not(:checked)) {
  opacity: 0.58;
  background: var(--ss-app-surface-soft);
}

.bag-current-club-heading {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.bag-current-club-label {
  overflow: hidden;
  color: var(--ss-app-text);
  font-family: var(--label-font);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bag-current-club-family,
.bag-add-group h3,
.profile-bag-club small {
  color: var(--ss-app-text-soft);
  font-family: var(--mono-font);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.bag-yardage-field--card .shot-count-input,
.bag-yardage-field--add .shot-count-input {
  min-height: 2.6rem;
}

.bag-drop-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 2.6rem;
  min-width: 4.9rem;
  padding: 0 0.72rem;
  border: 1px solid var(--ss-app-border);
  background: var(--ss-app-surface-soft);
  color: var(--ss-app-text);
  cursor: pointer;
  font-family: var(--mono-font);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.bag-presence-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.bag-drop-text--restore {
  display: none;
}

.bag-drop-toggle:has(.bag-presence-input:not(:checked)) {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.12);
  color: var(--ss-lime);
}

.bag-drop-toggle:has(.bag-presence-input:not(:checked)) .bag-drop-text--drop {
  display: none;
}

.bag-drop-toggle:has(.bag-presence-input:not(:checked)) .bag-drop-text--restore {
  display: inline;
}

.bag-drop-toggle:has(.bag-presence-input:focus-visible) {
  outline: 2px solid var(--ss-app-focus);
  outline-offset: 2px;
}

.bag-empty-state {
  padding: 0.85rem 1rem;
}

.bag-empty-state p {
  margin: 0;
  color: var(--ss-app-text-muted);
}

.bag-family-rail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.bag-family-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.16rem 0.5rem;
  align-items: center;
  min-height: 4rem;
  padding: 0.72rem;
  border: 1px solid var(--ss-app-border);
  background: var(--ss-app-surface);
  color: var(--ss-app-text);
  cursor: pointer;
  text-decoration: none;
}

.bag-family-card:hover,
.bag-family-card:focus-visible {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.08);
  color: var(--ss-app-text);
  outline: none;
}

.bag-family-plus {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--ss-lime);
  background: var(--ss-lime);
  color: var(--ss-lime-text);
  font-family: var(--mono-font);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.bag-family-name {
  overflow: hidden;
  color: inherit;
  font-family: var(--label-font);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bag-family-count {
  color: var(--ss-app-text-soft);
  font-family: var(--mono-font);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.bag-family-options {
  grid-column: 2;
  color: var(--ss-lime);
  font-family: var(--mono-font);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.bag-add-groups {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.bag-add-group-details {
  display: grid;
  min-width: 0;
  border: 0;
  background: transparent;
}

.bag-add-group-details[open] {
  grid-column: 1 / -1;
  border: 1px solid var(--ss-app-border);
  background: var(--ss-app-surface);
}

.bag-add-group-summary {
  list-style: none;
}

.bag-add-group-summary::-webkit-details-marker {
  display: none;
}

.bag-add-group-summary::marker {
  content: "";
}

.bag-add-group-details[open] .bag-family-card {
  border: 0;
  border-bottom: 1px solid var(--ss-app-border);
  background: var(--ss-app-surface-soft);
}

.bag-add-group-details[open] .bag-family-plus {
  background: transparent;
  color: var(--ss-lime);
}

.bag-add-group-details[open] .bag-add-options {
  border-top: 0;
}

.bag-add-options {
  grid-template-columns: 1fr;
  gap: 0;
}

.bag-add-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7.8rem, 0.62fr) auto;
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
  padding: 0.64rem 0.72rem;
  border: 0;
  border-bottom: 1px solid var(--ss-app-border);
}

.bag-add-option:last-child {
  border-bottom: 0;
}

.bag-add-club-heading {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.bag-add-club-label {
  overflow: hidden;
  color: var(--ss-app-text);
  font-family: var(--label-font);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bag-add-club-family {
  overflow: hidden;
  color: var(--ss-app-text-soft);
  font-family: var(--mono-font);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.bag-add-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 2.6rem;
  min-width: 4.3rem;
  padding: 0 0.62rem;
  border: 1px solid var(--ss-lime);
  background: var(--ss-lime);
  color: var(--ss-lime-text);
  cursor: pointer;
  font-family: var(--mono-font);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.bag-add-text--added {
  display: none;
}

.bag-add-toggle:has(.club-bag-input:checked) {
  border-color: var(--ss-app-border);
  background: var(--ss-app-surface-soft);
  color: var(--ss-app-text);
}

.bag-add-toggle:has(.club-bag-input:checked) .bag-add-text--add {
  display: none;
}

.bag-add-toggle:has(.club-bag-input:checked) .bag-add-text--added {
  display: inline;
}

.bag-add-toggle:has(.club-bag-input:focus-visible) {
  outline: 2px solid var(--ss-app-focus);
  outline-offset: 2px;
}

.bag-add-option:has(.club-bag-input:checked) {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.08);
}

.profile-bag-panel {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: clamp(0.9rem, 2.6vw, 1.25rem);
}

.profile-bag-heading {
  display: flex;
  gap: 1rem;
  align-items: start;
  justify-content: space-between;
  min-width: 0;
}

.profile-bag-heading h2,
.profile-bag-heading p {
  margin: 0;
}

.profile-bag-heading h2 {
  color: var(--ss-app-text);
  font-family: var(--ui-font);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.profile-bag-action {
  flex: 0 0 auto;
  min-height: 2.55rem;
  white-space: nowrap;
}

.profile-bag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.15rem, 1fr));
  gap: 0.42rem;
}

.profile-bag-club {
  position: relative;
  display: grid;
  align-content: center;
  gap: 0.08rem;
  min-width: 0;
  min-height: 3.8rem;
  padding: 0.48rem 0.52rem 0.44rem 0.64rem;
  overflow: hidden;
}

.profile-bag-club::before {
  content: "";
  position: absolute;
  top: 0.52rem;
  bottom: 0.52rem;
  left: 0.36rem;
  width: 2px;
  background: var(--ss-lime);
}

.profile-bag-club-label {
  overflow: hidden;
  color: var(--ss-app-text);
  font-family: var(--mono-font);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-bag-club strong {
  color: var(--ss-lime);
  font-family: var(--ui-font);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

.profile-bag-empty {
  margin: 0;
  color: var(--ss-app-text-muted);
}

html[data-theme="light"] .bag-add-group h3,
html[data-theme="light"] .bag-add-group-summary::before,
html[data-theme="light"] .bag-family-card:hover .bag-family-name,
html[data-theme="light"] .bag-family-card:focus-visible .bag-family-name,
html[data-theme="light"] .profile-bag-club strong {
  color: #5b6900;
}

html[data-theme="light"] .profile-bag-club::before {
  background: #5b6900;
}

html[data-theme="light"] .account-section-heading h2,
html[data-theme="light"] .account-hero-insight-copy strong,
html[data-theme="light"] .practice-history-section-heading h2,
html[data-theme="light"] .practice-session-card h3,
html[data-theme="light"] .practice-history-empty h3 {
  color: var(--ss-app-text);
}

html[data-theme="light"] .account-hero-insight-copy span,
html[data-theme="light"] .account-hero-insight--bag span,
html[data-theme="light"] .account-hero-insight--bag small {
  color: var(--ss-app-text-soft);
}

html[data-theme="light"] .bag-drop-toggle:has(.bag-presence-input:not(:checked)) {
  border-color: #5b6900;
  background: rgba(91, 105, 0, 0.08);
  color: #5b6900;
}

.account-page .shot-count-input,
.account-page .handedness-option-copy {
  border-radius: 8px;
  border-color: #c1c8c1;
  background-color: #ffffff;
}

.account-page .shot-count-input[aria-invalid="true"],
.account-page .auth-field.is-invalid .shot-count-input {
  border-color: rgba(138, 65, 50, 0.46);
  box-shadow: 0 0 0 4px rgba(138, 65, 50, 0.1);
}

.account-page .handedness-option input:checked + .handedness-option-copy {
  border-color: #001d0f;
  background: #eef7d4;
  box-shadow: inset 0 0 0 1px #001d0f;
}

.setup-error {
  margin: 0;
  padding: 0.78rem 0.88rem;
  border: 1px solid rgba(138, 65, 50, 0.28);
  border-radius: 8px;
  background: rgba(255, 246, 240, 0.92);
  color: #6f2e20;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.38;
}

.auth-form-error {
  display: grid;
  gap: 0.28rem;
  border-left-width: 4px;
  box-shadow: 0 10px 22px rgba(93, 36, 25, 0.08);
}

.auth-form-error[hidden] {
  display: none;
}

.auth-form-error-title {
  color: #5a2118;
  font-family: var(--label-font);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.auth-form-error-copy {
  color: #123d2b;
  font-weight: 760;
}

.flash-stack {
  width: min(100%, 520px);
  display: grid;
  gap: 8px;
}

.flash-stack--global {
  position: relative;
  z-index: 40;
  width: 100%;
  max-width: none;
  margin: 0;
  gap: 0;
}

.flash-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(0, 29, 15, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  color: #001d0f;
  box-shadow: 0 16px 30px rgba(17, 31, 23, 0.16);
  font-size: 0.94rem;
  font-weight: 700;
  opacity: 1;
  transition: opacity 220ms ease;
}

.flash-stack--global .flash-message {
  width: 100%;
  min-height: 3rem;
  padding: 0.82rem clamp(1rem, 3vw, 1.5rem);
  border-right: 0;
  border-left: 0;
}

.flash-message.is-dismissing {
  opacity: 0;
}

.flash-message-copy {
  margin: 0;
  min-width: 0;
}

.flash-message-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: -0.35rem -0.45rem -0.35rem 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.flash-message-dismiss:hover,
.flash-message-dismiss:focus-visible {
  border-color: currentColor;
}

.flash-message--alert {
  border-color: rgba(125, 33, 18, 0.24);
}

@media (prefers-reduced-motion: reduce) {
  .flash-message {
    transition: none;
  }
}

.app-shell-live-card-wrap {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.app-shell--landing .app-shell-live-card-wrap {
  width: 100%;
  padding: 0;
}

.app-shell--landing .global-active-round-card {
  min-height: 3.25rem;
  padding: 0.62rem clamp(1rem, 3vw, 1.5rem);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.global-active-round-card {
  display: flex;
  align-items: center;
  gap: 0.56rem;
  width: 100%;
  min-height: 3rem;
  margin: 0;
  padding: 0.46rem 0.5rem 0.46rem 0.62rem;
  border: 1px solid rgba(211, 240, 0, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(0, 14, 7, 0.96), rgba(0, 29, 15, 0.94));
  color: #fffdf8;
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 253, 248, 0.08);
}

.global-active-round-card__signal {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: transparent;
}

.global-active-round-card__pulse {
  position: relative;
  display: block;
  width: 0.54rem;
  height: 0.54rem;
  border-radius: 999px;
  background: var(--active-round-pulse-color, #d3f000);
  box-shadow: 0 0 0 0 var(--active-round-pulse-shadow, rgba(211, 240, 0, 0.42));
  animation: recording-pulse 1.55s ease-out infinite;
}

.global-active-round-card__pulse::after {
  content: "";
  position: absolute;
  inset: -0.36rem;
  border: 1px solid var(--active-round-pulse-ring, rgba(211, 240, 0, 0.28));
  border-radius: inherit;
  animation: recording-ring 1.55s ease-out infinite;
}

.global-active-round-card__copy {
  display: flex;
  align-items: baseline;
  gap: 0.48rem;
  flex: 1 1 auto;
  min-width: 0;
}

.global-active-round-card__kicker,
.global-active-round-card__title,
.global-active-round-card__meta {
  margin: 0;
}

.global-active-round-card__kicker {
  flex: 0 0 auto;
  color: #d3f000;
  font-family: var(--label-font);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.global-active-round-card__title {
  color: #fffdf8;
  font-family: var(--label-font);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.12;
}

.global-active-round-card__meta {
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.78rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-active-round-card__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.global-active-round-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.48rem 0.62rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--label-font);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.global-active-round-card__button--primary {
  background: #d3f000;
  color: #191e00;
}

.global-active-round-card__button--secondary {
  border-color: rgba(255, 253, 248, 0.22);
  background: rgba(255, 253, 248, 0.1);
  color: #fffdf8;
}

.has-pre-round-modal-open .global-active-round-card {
  opacity: 0;
  pointer-events: none;
}

@keyframes recording-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--active-round-pulse-shadow, rgba(211, 240, 0, 0.44));
  }

  70% {
    box-shadow: 0 0 0 0.72rem var(--active-round-pulse-fade, rgba(211, 240, 0, 0));
  }

  100% {
    box-shadow: 0 0 0 0 var(--active-round-pulse-fade, rgba(211, 240, 0, 0));
  }
}

@keyframes recording-ring {
  0% {
    transform: scale(0.76);
    opacity: 0.76;
  }

  80% {
    transform: scale(1.26);
    opacity: 0;
  }

  100% {
    transform: scale(1.26);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .app-shell-live-card-wrap {
    padding-right: 0;
    padding-left: 0;
  }

  .global-active-round-card {
    gap: 0.42rem;
    min-height: 2.75rem;
    padding: 0.38rem 0.42rem 0.38rem 0.5rem;
  }

  .global-active-round-card__copy {
    gap: 0.34rem;
  }

  .global-active-round-card__kicker {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .global-active-round-card__meta {
    font-size: 0.72rem;
  }

  .global-active-round-card__button {
    min-height: 1.85rem;
    padding: 0.42rem 0.5rem;
    font-size: 0.61rem;
  }
}

.scene-copy {
  margin: 0;
  max-width: 55ch;
  overflow-wrap: anywhere;
}

.session-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0;
}

.session-metrics div,
.club-breakdown-item {
  padding: 1rem;
  background: rgba(255, 253, 248, 0.82);
}

.session-metrics dt {
  margin-bottom: 0.35rem;
  color: var(--text-soft);
  font-family: var(--label-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.session-metrics dd {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
}

.result-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.7rem;
}

.shot-log-groups {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.shot-log-group {
  display: grid;
  gap: 0.25rem;
}

.next-shot-cue {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(22, 49, 38, 0.1);
  background: rgba(248, 245, 237, 0.92);
}

.shot-tries-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.shot-tries-label {
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shot-tries-stepper {
  display: grid;
  grid-template-columns: 2.6rem 4.2rem 2.6rem;
  gap: 0.4rem;
  align-items: center;
}

.shot-tries-button,
.shot-tries-input {
  min-height: 2.6rem;
  border-radius: 12px;
}

.shot-tries-button {
  padding: 0;
  font-size: 1rem;
}

.shot-tries-input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  font-family: var(--label-font);
  font-size: 1rem;
  font-weight: 760;
  text-align: center;
}

.shot-tries-input::-webkit-outer-spin-button,
.shot-tries-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.shot-tries-input[type="number"] {
  -moz-appearance: textfield;
}

.next-shot-button {
  width: 100%;
  min-height: auto;
  padding-block: 0.75rem;
}

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

.shot-log-group-label {
  margin: 0;
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shot-log-group-heading {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.shot-log-info-popover summary {
  width: 1.22rem;
  height: 1.22rem;
  font-size: 0.62rem;
}

.shot-log-info-popover p {
  left: 0;
  right: auto;
  width: min(13rem, calc(100vw - 3rem));
  text-transform: none;
}

.assessment-button {
  --assessment-accent: var(--forest);
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-height: 4.8rem;
  padding: 0.8rem 0.85rem;
  font-weight: 700;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(242, 236, 223, 0.92));
  border-color: rgba(22, 49, 38, 0.12);
  color: var(--forest);
  border-radius: 20px;
}

.assessment-button[data-range-coach-assessment-field="result"][data-range-coach-assessment-value="great"] {
  --assessment-accent: var(--success);
}

.assessment-button[data-range-coach-assessment-field="result"][data-range-coach-assessment-value="playable"] {
  --assessment-accent: var(--fairway);
}

.assessment-button[data-range-coach-assessment-field="result"][data-range-coach-assessment-value="miss"] {
  --assessment-accent: #8f6a2d;
}

.assessment-button[data-range-coach-assessment-field="result"][data-range-coach-assessment-value="penalty"] {
  --assessment-accent: var(--danger);
}

.assessment-mark {
  position: relative;
  display: block;
  width: 3.2rem;
  height: 2.7rem;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.82), rgba(232, 224, 205, 0.72));
  border: 1px solid rgba(22, 49, 38, 0.1);
  overflow: hidden;
  color: var(--assessment-accent);
}

.assessment-mark::before,
.assessment-mark::after {
  content: "";
  position: absolute;
}

.assessment-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.assessment-label,
.assessment-note {
  display: block;
  overflow-wrap: anywhere;
}

.assessment-label {
  color: var(--forest);
  font-size: 1.06rem;
  line-height: 1.05;
}

.assessment-note {
  color: rgba(22, 49, 38, 0.62);
  font-family: var(--label-font);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.assessment-button[data-range-coach-assessment-field="shape"] .assessment-mark,
.assessment-button[data-range-coach-assessment-field="strike"] .assessment-mark {
  background:
    linear-gradient(180deg, rgba(245, 239, 223, 0.84), rgba(255, 253, 248, 0.78));
}

.result-controls-target {
  --target-cell-size: clamp(3rem, 13vw, 4.5rem);
  --target-side-rail-size: clamp(1.75rem, 5vw, 2.35rem);
  --target-rail-height: clamp(1.45rem, 4vw, 1.85rem);
  --target-miss-empty-row-size: clamp(1.75rem, 6vw, 2.4rem);
  --target-grid-gap: 0.32rem;

  grid-template-columns: var(--target-side-rail-size) repeat(3, var(--target-cell-size)) var(--target-side-rail-size);
  grid-template-rows: var(--target-rail-height) repeat(3, var(--target-cell-size)) var(--target-rail-height);
  justify-content: center;
  gap: var(--target-grid-gap);
  width: 100%;
}

.shot-result-selector {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.shot-result-selector.is-result-mode-no-penalty {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shot-result-selector__option {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 0.24rem;
  min-height: 5.55rem;
  padding: 0.6rem 0.42rem 0.55rem;
  border-radius: 14px;
  background: var(--white);
  border-color: rgba(22, 49, 38, 0.16);
  color: var(--forest);
  text-align: center;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.shot-result-selector__option:hover {
  transform: none;
  box-shadow: none;
}

.shot-result-selector__option.is-selected {
  background: #f0f7ec;
  border-color: rgba(22, 49, 38, 0.72);
  box-shadow: none;
}

.shot-result-selector__icon {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  background: currentColor;
  color: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.shot-result-selector__icon--great {
  mask-image: url("/assets/result_great-ba25271e.svg");
  -webkit-mask-image: url("/assets/result_great-ba25271e.svg");
}

.shot-result-selector__icon--playable {
  mask-image: url("/assets/result_playable-101e081a.svg");
  -webkit-mask-image: url("/assets/result_playable-101e081a.svg");
}

.shot-result-selector__icon--miss {
  mask-image: url("/assets/result_miss-da5cdf2e.svg");
  -webkit-mask-image: url("/assets/result_miss-da5cdf2e.svg");
}

.shot-result-selector__icon--penalty {
  mask-image: url("/assets/result_penalty-48e6a2cd.svg");
  -webkit-mask-image: url("/assets/result_penalty-48e6a2cd.svg");
}

.shot-result-selector__label {
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1;
  overflow-wrap: anywhere;
}

.target-result-selector__option {
  --assessment-accent: var(--forest);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: 0.14rem;
  min-height: 0;
  height: 100%;
  padding: 0.22rem;
  border-radius: 14px;
  background: var(--white);
  border-color: rgba(22, 49, 38, 0.16);
  color: #111;
  text-align: center;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 0;
  width: 100%;
}

.target-result-selector__option:hover {
  transform: none;
  box-shadow: none;
}

.target-result-selector__option.is-selected {
  background: #f0f7ec;
  border-color: rgba(22, 49, 38, 0.72);
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.5);
}

.target-result-selector__icon {
  display: block;
  width: 2.05rem;
  height: 2.05rem;
  background: currentColor;
  color: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.target-result-selector__label {
  color: var(--forest);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.05;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: normal;
}

.target-result-selector__option--far-long,
.target-result-selector__option--far-short,
.target-result-selector__option--far-left,
.target-result-selector__option--far-right {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.target-result-selector__option--far-long {
  grid-column: 1 / -1;
  grid-row: 1;
}

.target-result-selector__option--far-short {
  grid-column: 1 / -1;
  grid-row: 5;
}

.target-result-selector__option--far-left {
  grid-column: 1;
  grid-row: 2 / 5;
}

.target-result-selector__option--far-right {
  grid-column: 5;
  grid-row: 2 / 5;
}

.target-result-selector__option--long-left {
  grid-column: 2;
  grid-row: 2;
}

.target-result-selector__option--long {
  grid-column: 3;
  grid-row: 2;
}

.target-result-selector__option--long-right {
  grid-column: 4;
  grid-row: 2;
}

.target-result-selector__option--left {
  grid-column: 2;
  grid-row: 3;
}

.target-result-selector__option--on-target {
  grid-column: 3;
  grid-row: 3;
}

.target-result-selector__option--right {
  grid-column: 4;
  grid-row: 3;
}

.target-result-selector__option--short-left {
  grid-column: 2;
  grid-row: 4;
}

.target-result-selector__option--short {
  grid-column: 3;
  grid-row: 4;
}

.target-result-selector__option--short-right {
  grid-column: 4;
  grid-row: 4;
}

.target-result-selector__option--far-long .target-result-selector__icon,
.target-result-selector__option--far-short .target-result-selector__icon,
.target-result-selector__option--far-left .target-result-selector__icon,
.target-result-selector__option--far-right .target-result-selector__icon {
  display: none;
}

.target-result-selector__option--far-long .target-result-selector__label,
.target-result-selector__option--far-short .target-result-selector__label,
.target-result-selector__option--far-left .target-result-selector__label,
.target-result-selector__option--far-right .target-result-selector__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  font-size: 0.54rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
  word-break: normal;
}

.target-result-selector__option--far-left .target-result-selector__label,
.target-result-selector__option--far-right .target-result-selector__label {
  width: max-content;
  max-width: none;
  transform: rotate(-90deg);
  transform-origin: center;
  white-space: nowrap;
}

.target-result-selector.is-target-mode-stripe {
  grid-template-columns: repeat(3, var(--target-cell-size));
  grid-template-rows: repeat(3, var(--target-cell-size));
}

.target-result-selector.is-target-mode-stripe .target-result-selector__option--long-left {
  grid-column: 1;
  grid-row: 1;
}

.target-result-selector.is-target-mode-stripe .target-result-selector__option--long {
  grid-column: 2;
  grid-row: 1;
}

.target-result-selector.is-target-mode-stripe .target-result-selector__option--long-right {
  grid-column: 3;
  grid-row: 1;
}

.target-result-selector.is-target-mode-stripe .target-result-selector__option--left {
  grid-column: 1;
  grid-row: 2;
}

.target-result-selector.is-target-mode-stripe .target-result-selector__option--on-target {
  grid-column: 2;
  grid-row: 2;
}

.target-result-selector.is-target-mode-stripe .target-result-selector__option--right {
  grid-column: 3;
  grid-row: 2;
}

.target-result-selector.is-target-mode-stripe .target-result-selector__option--short-left {
  grid-column: 1;
  grid-row: 3;
}

.target-result-selector.is-target-mode-stripe .target-result-selector__option--short {
  grid-column: 2;
  grid-row: 3;
}

.target-result-selector.is-target-mode-stripe .target-result-selector__option--short-right {
  grid-column: 3;
  grid-row: 3;
}

.target-result-selector.is-target-mode-miss,
.target-result-selector.is-target-mode-penalty {
  grid-template-columns: var(--target-side-rail-size) repeat(3, var(--target-cell-size)) var(--target-side-rail-size);
  grid-template-rows: var(--target-rail-height) repeat(3, var(--target-miss-empty-row-size)) var(--target-rail-height);
}

.target-result-selector.is-target-mode-miss .target-result-selector__option--far-long,
.target-result-selector.is-target-mode-penalty .target-result-selector__option--far-long {
  grid-column: 1 / -1;
  grid-row: 1;
}

.target-result-selector.is-target-mode-miss .target-result-selector__option--far-left,
.target-result-selector.is-target-mode-penalty .target-result-selector__option--far-left {
  grid-column: 1;
  grid-row: 2 / 5;
}

.target-result-selector.is-target-mode-miss .target-result-selector__option--far-right,
.target-result-selector.is-target-mode-penalty .target-result-selector__option--far-right {
  grid-column: 5;
  grid-row: 2 / 5;
}

.target-result-selector.is-target-mode-miss .target-result-selector__option--far-short,
.target-result-selector.is-target-mode-penalty .target-result-selector__option--far-short {
  grid-column: 1 / -1;
  grid-row: 5;
}

.target-result-selector__icon--long-left {
  mask-image: url("/assets/target_result_long_left-ff96be2a.svg");
  -webkit-mask-image: url("/assets/target_result_long_left-ff96be2a.svg");
}

.target-result-selector__icon--long {
  mask-image: url("/assets/target_result_long-a2eab4aa.svg");
  -webkit-mask-image: url("/assets/target_result_long-a2eab4aa.svg");
}

.target-result-selector__icon--long-right {
  mask-image: url("/assets/target_result_long_right-8e7878ff.svg");
  -webkit-mask-image: url("/assets/target_result_long_right-8e7878ff.svg");
}

.target-result-selector__icon--left {
  mask-image: url("/assets/target_result_left-8013d059.svg");
  -webkit-mask-image: url("/assets/target_result_left-8013d059.svg");
}

.target-result-selector__icon--on-target {
  mask-image: url("/assets/target_result_on_target-6161062e.svg");
  -webkit-mask-image: url("/assets/target_result_on_target-6161062e.svg");
}

.target-result-selector__icon--right {
  mask-image: url("/assets/target_result_right-bc7249b0.svg");
  -webkit-mask-image: url("/assets/target_result_right-bc7249b0.svg");
}

.target-result-selector__icon--short-left {
  mask-image: url("/assets/target_result_short_left-9da91a44.svg");
  -webkit-mask-image: url("/assets/target_result_short_left-9da91a44.svg");
}

.target-result-selector__icon--short {
  mask-image: url("/assets/target_result_short-61a1d5de.svg");
  -webkit-mask-image: url("/assets/target_result_short-61a1d5de.svg");
}

.target-result-selector__icon--short-right {
  mask-image: url("/assets/target_result_short_right-06d282a8.svg");
  -webkit-mask-image: url("/assets/target_result_short_right-06d282a8.svg");
}

.shot-shape-selector {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.shot-shape-selector__option {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0.18rem;
  min-height: 4.1rem;
  padding: 0.42rem 0.25rem 0.45rem;
  border-radius: 14px;
  background: var(--white);
  border-color: rgba(22, 49, 38, 0.16);
  color: #111;
  text-align: center;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.shot-shape-selector__option:hover {
  transform: none;
  box-shadow: none;
}

.shot-shape-selector__option.is-selected {
  background: #f0f7ec;
  border-color: rgba(22, 49, 38, 0.72);
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.5);
}

.shot-shape-selector__icon-wrap {
  display: grid;
  place-items: center;
  width: 2.95rem;
  height: 2.95rem;
}

.shot-shape-selector__icon {
  display: block;
  width: 2.875rem;
  height: 2.875rem;
  object-fit: contain;
}

.range-shell.is-left-handed .shot-shape-selector__icon {
  transform: scaleX(-1);
}

.shot-shape-selector__label {
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  overflow-wrap: anywhere;
}

.strike-pattern-selector {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.strike-pattern-selector__option {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: center;
  gap: 0.16rem;
  min-height: 4.85rem;
  padding: 0.42rem 0.32rem 0.48rem;
  border-radius: 14px;
  background: var(--white);
  border-color: rgba(22, 49, 38, 0.16);
  color: #111;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.strike-pattern-selector__option:hover {
  transform: none;
  box-shadow: none;
}

.strike-pattern-selector__option.is-selected {
  background: #f0f7ec;
  border-color: rgba(22, 49, 38, 0.72);
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.5);
}

.strike-pattern-selector__icon {
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  color: currentColor;
}

.strike-pattern-selector__icon img,
.strike-pattern-selector__svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scaleX(-1);
}

.strike-pattern-selector__svg {
  color: currentColor;
}

.strike-pattern-selector__ball {
  fill: currentColor;
}

.range-shell.is-left-handed .strike-pattern-selector__icon img,
.range-shell.is-left-handed .strike-pattern-selector__svg {
  transform: none;
}

.strike-pattern-selector__label {
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  overflow-wrap: anywhere;
  text-align: center;
}

.assessment-button.is-selected {
  background:
    linear-gradient(180deg, rgba(223, 235, 205, 0.98), rgba(255, 253, 248, 0.96));
  border-color: color-mix(in srgb, var(--assessment-accent) 48%, rgba(22, 49, 38, 0.12));
  box-shadow: 0 10px 22px rgba(44, 106, 61, 0.1);
}

.assessment-button.is-selected .assessment-mark {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--assessment-accent) 18%, rgba(255, 253, 248, 0.92)), rgba(255, 253, 248, 0.82));
  border-color: color-mix(in srgb, var(--assessment-accent) 38%, rgba(22, 49, 38, 0.1));
}

.shot-result-selector__option.is-selected {
  background: #f0f7ec;
  border-color: rgba(22, 49, 38, 0.72);
  box-shadow: none;
}

.assessment-button.is-disabled-by-result {
  background: rgba(244, 239, 227, 0.68);
  border-color: rgba(22, 49, 38, 0.08);
  color: rgba(22, 49, 38, 0.48);
}

.assessment-button.is-disabled-by-result .assessment-mark {
  opacity: 0.58;
}

.summary-patterns {
  display: grid;
  gap: 0.75rem;
  margin-top: 0;
}

.penalty-summary {
  margin-top: 0;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(125, 80, 36, 0.08);
  border: 1px solid rgba(125, 80, 36, 0.12);
  color: rgba(74, 48, 21, 0.9);
}

.compact-shot-list,
.club-breakdown-list {
  list-style: none;
  padding: 0;
}

.compact-shot-list {
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.shot-card {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(238, 232, 217, 0.82));
  border: 1px solid rgba(22, 49, 38, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.compact-shot-card h3 {
  font-size: 1.12rem;
}

.shot-card p {
  margin: 0.4rem 0 0;
  font-size: 0.96rem;
}

.shot-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.shot-result {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(63, 106, 71, 0.08);
  color: var(--forest);
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 700;
}

.shot-card.is-active {
  border-color: rgba(63, 106, 71, 0.3);
  background:
    linear-gradient(180deg, rgba(223, 234, 200, 0.95), rgba(247, 243, 232, 0.95));
  transform: translateX(4px);
}

.shot-card.is-hit {
  border-color: rgba(44, 106, 61, 0.22);
  background:
    linear-gradient(180deg, rgba(224, 240, 222, 0.92), rgba(248, 251, 244, 0.94));
}

.shot-card.is-miss {
  border-color: rgba(138, 65, 50, 0.16);
  background:
    linear-gradient(180deg, rgba(245, 233, 228, 0.94), rgba(252, 247, 245, 0.94));
}

.club-breakdown-panel {
  margin-top: 1.25rem;
}

.club-breakdown-list {
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.club-breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.club-breakdown-label,
.club-breakdown-value {
  font-family: var(--label-font);
}

.club-breakdown-label {
  font-weight: 700;
}

.club-breakdown-value {
  color: var(--text-soft);
  text-align: right;
}

.now-playing {
  min-height: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.practice-guide-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 32rem;
  width: min(1120px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto 4rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  border-top: 1px solid var(--line);
}

.range-shell.is-live + .practice-guide-section,
.range-shell.is-complete + .practice-guide-section {
  display: none;
}

.practice-guide-inner {
  display: grid;
  gap: 0.85rem;
}

.practice-guide-title {
  max-width: 15ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  font-weight: 760;
  line-height: 1.04;
}

.practice-guide-copy {
  max-width: 52rem;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.62;
}

.practice-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 0.75rem;
}

.practice-guide-item {
  display: grid;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(18, 61, 43, 0.18);
}

.practice-guide-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.22;
}

.practice-guide-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.55;
}

.range-shell.is-live,
.range-shell.is-complete {
  width: min(980px, calc(100% - 1rem));
  max-width: 100%;
  padding-top: 1rem;
}

.range-shell.is-live .coach-panel {
  border-color: rgba(0, 29, 15, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(244, 239, 227, 0.96));
  box-shadow:
    0 24px 55px rgba(12, 48, 34, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.range-shell.is-live .club-decision-panel {
  border-color: rgba(0, 29, 15, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(238, 247, 212, 0.72));
}

.range-shell.is-live .club-picker {
  gap: 0.42rem;
}

.range-shell.is-live .club-select {
  border-radius: 8px;
  border-color: rgba(0, 29, 15, 0.24);
  background-color: #fffdf8;
}

.range-shell.is-live .shot-log-panel {
  border-color: rgba(0, 29, 15, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(250, 247, 239, 0.96), rgba(255, 253, 248, 0.88));
}

.range-shell.is-live .shot-log-group-label {
  color: #001d0f;
}

.range-shell.is-live .range-hero,
.range-shell.is-complete .range-hero {
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  border-width: 0;
  box-shadow: none;
}

.range-shell.is-live .coach-layout,
.range-shell.is-complete .coach-layout {
  margin-top: 0;
}

@media (min-width: 720px) {
  .result-controls-assessment {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .result-controls-result {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .result-controls-target {
    --target-cell-size: clamp(3.2rem, 7vw, 4.5rem);
  }

  .result-controls-shape {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .result-controls-strike {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .current-shot-panel .club-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .current-shot-panel .club-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .practice-guide-grid {
    grid-template-columns: 1fr;
  }

  .transport-controls {
    grid-template-columns: 1fr;
  }

  .transport-primary-button {
    width: 100%;
  }

  .next-shot-cue {
    align-items: stretch;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .new-round-grid,
  .coach-main-layout,
  .club-toolbar,
  .decision-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-areas:
      "copy"
      "panel";
    gap: 1.1rem;
  }

  .range-hero .hero-headline {
    max-width: 100%;
  }

  .hero-copy-block {
    max-width: none;
    padding-top: 0;
  }

  .new-round-shell {
    width: min(720px, calc(100% - 2rem));
    align-items: start;
  }

  .new-round-grid {
    grid-template-areas:
      "copy"
      "panel";
    gap: 1.35rem;
  }

  .new-round-copy {
    max-width: 42rem;
  }

  .new-round-title {
    max-width: 12ch;
  }

  .shot-hud {
    grid-template-columns: 1fr;
  }

  .scorecard-panel {
    position: static;
  }

  .now-playing {
    min-height: auto;
  }

  .voice-picker-wrap {
    grid-template-columns: minmax(0, 1fr) 4.8rem;
  }

}

@media (max-width: 640px) {
  .range-shell,
  .range-shell.is-live,
  .range-shell.is-complete {
    width: min(100% - 1rem, 100%);
    padding: 1rem 0 2rem;
  }

  .range-hero,
  .coach-panel {
    border-radius: 18px;
  }

  .range-hero {
    padding: 0.92rem;
  }

  .new-round-shell {
    width: min(100% - 1rem, 100%);
    padding: 1rem 0 2rem;
  }

  .new-round-grid {
    gap: 1rem;
  }

  .new-round-copy {
    gap: 0.68rem;
    padding: 0.35rem 0.35rem 0;
  }

  .new-round-title {
    max-width: 11ch;
    font-size: clamp(2.28rem, 12vw, 3.2rem);
  }

  .new-round-copy-text {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .new-round-proof-list {
    gap: 0.5rem;
    padding-top: 0.75rem;
  }

  .new-round-proof-list span {
    font-size: 0.6rem;
  }

  .new-round-live-preview {
    gap: 0.72rem;
    padding: 0.82rem;
  }

  .live-preview-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.48rem;
  }

  .live-preview-stats {
    grid-template-columns: 1fr;
  }

  .new-round-flow {
    gap: 0.36rem;
  }

  .new-round-flow li {
    min-height: 1.82rem;
    font-size: 0.6rem;
  }

  .coach-panel {
    padding: 0.95rem;
  }

  .range-shell.is-live {
    width: 100%;
    padding-top: 0;
  }

  .range-shell.is-live .coach-panel {
    padding: 0.58rem 0.92rem 1.65rem;
    border-inline: 0;
    border-radius: 0;
  }

  .range-shell.is-live .round-topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 0.32rem;
    margin-top: 0;
    padding-bottom: 0.34rem;
  }

  .range-shell.is-live .round-topbar-copy {
    gap: 0.38rem;
    justify-content: space-between;
  }

  .range-shell.is-live .round-live-badge,
  .range-shell.is-live .round-progress-pill,
  .range-shell.is-live .round-menu-summary {
    flex: 0 0 auto;
    min-height: 1.38rem;
    padding: 0.22rem 0.42rem;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .range-shell.is-live .round-menu-summary {
    width: 1.9rem;
  }

  .range-shell.is-live .round-menu-cog {
    width: 1.1rem;
    height: 1.1rem;
  }

  .range-shell.is-live .round-menu-cog svg {
    width: 0.7rem;
    height: 0.7rem;
  }

  .range-shell.is-live .round-live-badge {
    gap: 0.3rem;
  }

  .range-shell.is-live .round-live-badge .live-dot {
    width: 0.34rem;
    height: 0.34rem;
    box-shadow: 0 0 0 2px rgba(255, 91, 58, 0.26);
  }

  .range-shell.is-live .live-round-stack {
    gap: 0.46rem;
    margin-top: 0.3rem;
  }

  .range-shell.is-live .shot-hud {
    margin-top: 0;
  }

  .range-shell.is-live .shot-hud-copy {
    gap: 0.28rem;
  }

  .range-shell.is-live .shot-yardage-line {
    padding: 0.2rem 0.36rem;
    font-size: 0.62rem;
    line-height: 1.08;
  }

  .range-shell.is-live .shot-readout {
    font-size: 1.05rem;
    line-height: 1.08;
  }

  .range-shell.is-live .shot-stakes-line {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .range-shell.is-live .current-shot-panel .scene-copy {
    display: -webkit-box;
    overflow: hidden;
    padding: 0.42rem 0.52rem;
    font-size: 0.76rem;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .range-shell.is-live .current-shot-panel .scene-copy:empty {
    display: none;
  }

  .range-shell.is-live .shot-visual {
    order: -1;
    margin: 0 -0.92rem 0.12rem;
    border-inline: 0;
    border-radius: 0;
    box-shadow: 0 14px 34px rgba(17, 31, 23, 0.16);
  }

  .range-shell.is-live .shot-visual-image {
    aspect-ratio: auto;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  .range-shell.is-live .wind-visual {
    bottom: 2.84rem;
    left: max(0.75rem, env(safe-area-inset-left));
  }

  .range-shell.is-live .elevation-visual {
    bottom: 0.75rem;
    left: max(0.75rem, env(safe-area-inset-left));
  }

  .range-shell.is-live .transport-panel {
    margin-inline: -0.92rem;
    padding: 0.72rem 0.92rem;
    border-inline: 0;
    border-radius: 0;
  }

  .hero-copy-block {
    gap: 0.6rem;
  }

  .hero-copy-desktop {
    display: none;
  }

  .hero-copy-mobile {
    display: block;
  }

  .range-hero .hero-headline {
    font-size: clamp(1.92rem, 7.3vw, 2.55rem);
  }

  .hero-support-line {
    font-size: 0.77rem;
    letter-spacing: 0.13em;
  }

  .hero-setup-panel {
    padding: 0.88rem;
  }

  .email-capture {
    gap: 0.75rem;
  }

  .email-signup-field {
    grid-template-columns: 1fr;
  }

  .email-signup-submit {
    width: 100%;
    white-space: normal;
  }

  .email-unlock-actions {
    grid-template-columns: 1fr;
  }

  .panel-heading,
  .panel-heading-actions,
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .shot-count-input,
  .result-controls button,
  .transport-primary-button {
    width: 100%;
  }

  .round-topbar,
  .transport-controls,
  .shot-details,
  .summary-scoreboard,
  .session-metrics,
  .result-controls {
    grid-template-columns: 1fr;
  }

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

  .summary-actions,
  .summary-play-again-button {
    width: 100%;
  }

  .shot-log-panel .result-controls-assessment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shot-log-panel .result-controls-result {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.28rem;
  }

  .shot-log-panel .result-controls-result.is-result-mode-no-penalty {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shot-result-selector {
    gap: 0.28rem;
  }

  .shot-result-selector__option {
    gap: 0.14rem;
    min-height: 3.7rem;
    padding: 0.38rem 0.1rem 0.34rem;
    border-radius: 12px;
  }

  .shot-result-selector__icon {
    width: 1.85rem;
    height: 1.85rem;
  }

  .shot-result-selector__label {
    font-size: 0.58rem;
    line-height: 1;
  }

  .shot-log-panel .result-controls-target {
    --target-cell-size: clamp(2.85rem, 15vw, 3.6rem);
    --target-side-rail-size: clamp(1.55rem, 6vw, 1.95rem);
    --target-rail-height: clamp(1.26rem, 5vw, 1.55rem);
    --target-miss-empty-row-size: clamp(1.45rem, 6vw, 1.9rem);
    --target-grid-gap: 0.32rem;

    gap: var(--target-grid-gap);
    width: 100%;
  }

  .target-result-selector {
    gap: 0.36rem;
  }

  .target-result-selector__option {
    min-height: 0;
    padding: 0.18rem 0.08rem;
    border-radius: 12px;
  }

  .target-result-selector__icon {
    width: 1.55rem;
    height: 1.55rem;
  }

  .target-result-selector__label {
    font-size: 0.54rem;
  }

  .target-result-selector__option--far-long .target-result-selector__label,
  .target-result-selector__option--far-short .target-result-selector__label,
  .target-result-selector__option--far-left .target-result-selector__label,
  .target-result-selector__option--far-right .target-result-selector__label {
    font-size: 0.54rem;
  }

  .shot-log-panel .shot-shape-selector {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .shot-shape-selector {
    gap: 0.36rem;
  }

  .shot-shape-selector__option {
    min-height: 4rem;
    padding: 0.32rem 0.1rem;
    border-radius: 12px;
  }

  .shot-shape-selector__icon-wrap {
    width: 2.875rem;
    height: 2.875rem;
  }

  .shot-shape-selector__icon {
    width: 2.875rem;
    height: 2.875rem;
  }

  .shot-shape-selector__label {
    font-size: 0.72rem;
  }

  .shot-log-panel .strike-pattern-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.36rem;
  }

  .strike-pattern-selector__option {
    min-height: 4.95rem;
    padding: 0.28rem 0.1rem 0.34rem;
    border-radius: 12px;
  }

  .strike-pattern-selector__icon {
    width: 3rem;
    height: 3rem;
  }

  .strike-pattern-selector__label {
    font-size: 0.7rem;
  }

  .hero-hole-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .session-scorecard-panel {
    padding: 1rem;
  }

  .session-scorecard-row {
    grid-template-columns: 80px repeat(var(--scorecard-columns), minmax(68px, 1fr));
  }

  .session-scorecard-label,
  .session-scorecard-cell {
    min-height: 58px;
    padding: 0.5rem 0.35rem;
    border-radius: 14px;
  }

  .club-breakdown-item {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .brand-logo {
    height: 30px;
  }

  .brand-logo--standard {
    display: none;
  }

  .brand-logo--compact {
    display: block;
  }

  .shot-result-selector {
    gap: 0.36rem;
  }

  .shot-result-selector__option {
    min-height: 5rem;
    padding: 0.5rem 0.2rem 0.46rem;
  }

  .shot-result-selector__icon {
    width: 2.95rem;
    height: 2.95rem;
  }

  .shot-result-selector__label {
    font-size: 0.64rem;
  }

  .target-result-selector {
    gap: 0.28rem;
  }

  .target-result-selector__option {
    min-height: 2.85rem;
  }

  .target-result-selector__icon {
    width: 1.95rem;
    height: 1.95rem;
  }

  .target-result-selector__label {
    font-size: 0.62rem;
  }

  .shot-shape-selector {
    gap: 0.28rem;
  }

  .shot-shape-selector__option {
    min-height: 3.45rem;
  }

  .shot-shape-selector__icon-wrap,
  .shot-shape-selector__icon {
    width: 2.55rem;
    height: 2.55rem;
  }

  .shot-shape-selector__label {
    font-size: 0.62rem;
  }

  .strike-pattern-selector {
    gap: 0.28rem;
  }

  .strike-pattern-selector__option {
    min-height: 4.55rem;
  }

  .strike-pattern-selector__icon {
    width: 2.7rem;
    height: 2.7rem;
  }

  .strike-pattern-selector__label {
    font-size: 0.66rem;
  }
}

/* Landing cascade guard: keep the redesign from inheriting the game shell rules. */
.landing-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.landing-shell .landing-hero {
  min-height: calc(100vh - 8rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #001d0f;
}

.landing-shell .landing-hero::before,
.landing-shell .landing-hero-copy::after {
  display: none;
}

.landing-shell .landing-hero-grid {
  width: min(1280px, 100%);
  min-height: calc(100vh - 8rem);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4rem) 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  grid-template-areas: "copy panel";
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.landing-shell .landing-hero-copy {
  max-width: 36rem;
  gap: 1rem;
  padding: 0;
}

.range-shell.landing-shell .landing-hero {
  background: #00160b;
}

.range-shell.landing-shell .landing-hero-media {
  background:
    linear-gradient(90deg, #00160b 0%, rgba(0, 22, 11, 0.9) 28%, rgba(0, 22, 11, 0.34) 100%),
    #00160b;
}

.range-shell.landing-shell .landing-hero-media::before {
  content: "";
  position: absolute;
  inset: -2rem;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 62% at 78% 18%, rgba(211, 240, 0, 0.16), transparent 62%),
    linear-gradient(90deg, #00160b 0%, rgba(0, 22, 11, 0.88) 42%, rgba(0, 22, 11, 0.2) 100%);
  filter: saturate(0.9) contrast(1.04);
  opacity: 0.7;
}

.landing-hero-picture {
  display: contents;
}

.range-shell.landing-shell .landing-hero-image {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 1;
  filter: saturate(1.04) contrast(1.02);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 4%, #000 14%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 4%, #000 14%);
}

.range-shell.landing-shell .landing-hero-scrim {
  background:
    linear-gradient(90deg, rgba(0, 22, 11, 0.94) 0%, rgba(0, 22, 11, 0.78) 34%, rgba(0, 22, 11, 0.26) 58%, rgba(0, 22, 11, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 22, 11, 0.2) 0%, rgba(0, 22, 11, 0.36) 72%, rgba(0, 22, 11, 0.62) 100%);
}

.range-shell.landing-shell .landing-hero::after {
  background: linear-gradient(180deg, transparent 68%, rgba(0, 18, 9, 0.54) 88%, var(--ss-app-bg) 100%);
  opacity: 1;
}

.range-shell.landing-shell .landing-hero-copy {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.46);
}

.landing-shell .landing-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid var(--ss-lime);
  border-radius: 0;
  background: transparent;
  color: var(--ss-lime);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-shell .landing-eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ss-blood);
  box-shadow: 0 0 0 0 rgba(255, 91, 58, 0.6);
  animation: ss-pulse 1.4s infinite;
}

.landing-shell .landing-hero-title {
  max-width: 14ch;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: clamp(3rem, 6.6vw, 6rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-shell .landing-hero-title span {
  display: inline;
}

.landing-shell .landing-hero-title-accent {
  color: var(--ss-lime);
}

.landing-shell .landing-hero-title--conversion {
  max-width: 11.5ch;
  font-size: clamp(3.1rem, 5.8vw, 5.4rem);
  line-height: 0.94;
  text-transform: none;
  text-wrap: balance;
}

.landing-shell .landing-hero-title--conversion span {
  display: block;
}

.landing-shell .landing-setup-panel {
  position: relative;
  width: 100%;
  padding: clamp(1rem, 2.4vw, 1.45rem);
  border-radius: 0;
  border: 1px solid rgba(193, 200, 193, 0.78);
  border-top: 2px solid var(--ss-lime);
  background: rgba(249, 249, 255, 0.96);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.32);
}

.landing-shell .landing-setup-panel .panel-label {
  display: block;
  font-family: var(--mono-font);
  color: #5b6900;
  letter-spacing: 0.16em;
}

.landing-shell .landing-setup-panel .panel-label::before {
  content: "// ";
  color: var(--ss-lime-text);
  opacity: 0.55;
}

.landing-shell + .landing-product-sections,
.landing-product-sections {
  content-visibility: visible;
  contain-intrinsic-size: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.auth-unlock-page {
  background: #001d0f;
}

.auth-unlock-page .landing-hero-scrim {
  background:
    linear-gradient(90deg, #001d0f 0%, rgba(0, 29, 15, 0.9) 48%, rgba(0, 29, 15, 0.3) 100%),
    linear-gradient(180deg, rgba(0, 29, 15, 0.16), rgba(0, 29, 15, 0.78));
}

.auth-unlock-page .landing-hero-grid {
  min-height: calc(100vh - 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
}

.auth-unlock-copy {
  max-width: 38rem;
}

.auth-unlock-copy .hero-copy {
  color: #c3ecd1;
}

.auth-unlock-panel-wrap {
  display: grid;
  align-items: center;
  min-width: 0;
}

.email-unlock-card--landing {
  position: relative;
  gap: 1rem;
  overflow: hidden;
}

.email-unlock-card--landing::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #d3f000, #c3ecd1);
  pointer-events: none;
}

.email-unlock-card--landing .email-unlock-copy {
  padding-top: 0.25rem;
}

.email-unlock-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.email-unlock-heading-row > div {
  min-width: 0;
}

.email-unlock-top-skip {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: rgba(18, 61, 43, 0.72);
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-underline-offset: 0.2rem;
}

.email-unlock-top-skip:hover {
  color: #001d0f;
}

.pre-round-top-skip {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.email-unlock-card--landing .email-unlock-title {
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1.08;
}

.email-unlock-card--landing .email-unlock-text {
  font-size: 0.98rem;
}

.email-unlock-card--landing .email-unlock-status {
  border: 1px solid rgba(18, 61, 43, 0.12);
  background: #001d0f;
  color: #c3ecd1;
}

.email-unlock-card--landing .email-unlock-status strong {
  color: #d3f000;
}

.email-unlock-card--landing .email-unlock-benefits li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-color: rgba(18, 61, 43, 0.12);
  color: #163126;
  font-size: 0.78rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.email-unlock-card--landing .email-unlock-benefits {
  display: grid;
  gap: 0.58rem;
}

.email-unlock-card--landing .email-unlock-benefits li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #d3f000;
  box-shadow: 0 0 0 3px rgba(211, 240, 0, 0.18);
}

.email-unlock-sign-in-copy {
  margin: -0.12rem 0 0;
  color: rgba(18, 61, 43, 0.72);
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: center;
}

.email-unlock-sign-in-copy a {
  color: #001d0f;
  font-weight: 820;
  text-underline-offset: 0.18rem;
}

.app-shell--membership {
  background: #f9f9ff;
}

.membership-page {
  min-height: 0;
  background: #001d0f;
  color: #001d0f;
}

.membership-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 46rem;
  overflow: hidden;
}

.membership-hero--plans {
  min-height: calc(100svh - 5rem);
}

.membership-hero--payment {
  min-height: calc(100svh - 5rem);
  align-items: center;
  padding: 3rem 1rem;
}

.membership-hero-media,
.membership-hero-scrim {
  position: absolute;
  inset: 0;
}

.membership-hero-media {
  z-index: -2;
}

.membership-hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 29, 15, 0.92) 0%, rgba(0, 29, 15, 0.78) 46%, rgba(0, 29, 15, 0.24) 100%),
    linear-gradient(180deg, rgba(0, 29, 15, 0.12), rgba(0, 29, 15, 0.82));
}

.membership-hero-inner,
.membership-section-inner,
.membership-offer-card,
.membership-final-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.membership-hero-inner {
  display: grid;
  align-items: center;
  padding: 5rem 1.5rem;
}

.membership-hero--plans .membership-hero-inner {
  align-content: center;
  gap: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.membership-hero-copy {
  display: grid;
  gap: 1.15rem;
  max-width: 45rem;
  color: #ffffff;
}

.membership-hero--plans .membership-hero-copy {
  max-width: 54rem;
}

.membership-hero-title {
  max-width: 11ch;
  margin: 0;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: 2.8rem;
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

.membership-hero--plans .membership-hero-title {
  max-width: 15ch;
}

.membership-hero-subhead {
  max-width: 42rem;
  margin: 0;
  color: #dff2e4;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.55;
}

.membership-current-plan {
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(211, 240, 0, 0.3);
  border-radius: 8px;
  background: rgba(211, 240, 0, 0.12);
  color: #e9f7d7;
  font-size: 0.9rem;
  line-height: 1.35;
}

.membership-current-plan strong {
  color: #ffffff;
}

.membership-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.membership-checkout-form {
  display: inline-flex;
  margin: 0;
}

.membership-checkout-form--plan {
  display: grid;
  width: 100%;
}

.membership-primary-cta,
.membership-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  border-radius: 8px;
  padding: 0.95rem 1.15rem;
  text-align: center;
  text-decoration: none;
}

.membership-section {
  padding: 4.5rem 1.5rem;
}

.membership-section-heading {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  margin-bottom: 2.25rem;
}

.membership-section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.membership-section-heading h2,
.membership-offer-copy h2,
.membership-final-inner h2 {
  margin: 0;
  color: #001d0f;
  font-family: var(--ui-font);
  font-size: 2.25rem;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.membership-section-heading p,
.membership-offer-copy p,
.membership-plan-copy p,
.membership-final-inner p {
  margin: 0;
  color: #414843;
  font-size: 1rem;
  line-height: 1.55;
}

.membership-value-section,
.membership-comparison-section {
  background: #f9f9ff;
}

.membership-value-grid {
  display: grid;
  gap: 1rem;
}

.membership-value-card,
.membership-comparison-card {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #c1c8c1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 29, 15, 0.06);
}

.membership-value-card h3,
.membership-comparison-card h3 {
  margin: 0;
  font-family: var(--ui-font);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
}

.membership-value-card p {
  margin: 0;
  color: #414843;
  line-height: 1.5;
}

.membership-offer-section {
  background: #ffffff;
}

.membership-plan-grid {
  display: grid;
  gap: 1rem;
}

.membership-plan-grid--hero {
  width: 100%;
}

.membership-plan-card {
  display: grid;
  gap: 1.15rem;
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #c1c8c1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(0, 29, 15, 0.08);
}

.membership-plan-card--casual,
.membership-plan-card--monthly,
.membership-plan-card--founders {
  border-color: rgba(211, 240, 0, 0.28);
  background: #0d3321;
  color: #ffffff;
}

.membership-plan-card--casual {
  background: #16412d;
}

.membership-plan-card--founders {
  background: #061f17;
  box-shadow: 0 22px 44px rgba(0, 29, 15, 0.18);
}

.membership-plan-card--featured-free {
  border-color: var(--ss-lime);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.12), transparent 62%),
    #123d2b;
}

.membership-plan-card--coming-soon {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 58%),
    #061f17;
}

.membership-payment-card {
  display: grid;
  gap: 1.15rem;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid rgba(211, 240, 0, 0.28);
  border-radius: 8px;
  background: #061f17;
  color: #ffffff;
  box-shadow: 0 22px 44px rgba(0, 29, 15, 0.26);
}

.membership-payment-card .membership-plan-copy h1 {
  margin: 0;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: 2rem;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.membership-payment-card .membership-plan-copy p,
.membership-payment-card .membership-benefit-list li {
  color: #dff2e4;
}

.membership-back-link {
  width: max-content;
  max-width: 100%;
  color: #d3f000;
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.membership-plan-copy {
  display: grid;
  gap: 0.65rem;
}

.membership-plan-copy h3 {
  margin: 0;
  color: #001d0f;
  font-family: var(--ui-font);
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.membership-plan-card--casual .membership-plan-copy h3,
.membership-plan-card--casual .membership-plan-copy p,
.membership-plan-card--monthly .membership-plan-copy h3,
.membership-plan-card--monthly .membership-plan-copy p,
.membership-plan-card--founders .membership-plan-copy h3,
.membership-plan-card--founders .membership-plan-copy p {
  color: #ffffff;
}

.membership-plan-card .membership-benefit-list li {
  color: #414843;
}

.membership-plan-card--casual .membership-benefit-list li,
.membership-plan-card--monthly .membership-benefit-list li,
.membership-plan-card--founders .membership-benefit-list li {
  color: #dff2e4;
}

.membership-plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: end;
  justify-self: stretch;
  min-height: 3.15rem;
  border-radius: 999px;
  background: #d3f000;
  color: #191e00;
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(87, 100, 0, 0.18);
}

.membership-plan-cta:hover,
.membership-plan-cta:focus-visible {
  background: #e2fb1e;
  color: #191e00;
  text-decoration: none;
}

.membership-plan-card--casual .membership-plan-cta {
  border-color: rgba(255, 253, 248, 0.2);
  background: rgba(255, 253, 248, 0.92);
  color: #022c22;
  box-shadow: none;
}

.membership-plan-card--casual .membership-plan-cta:hover,
.membership-plan-card--casual .membership-plan-cta:focus-visible {
  background: #ffffff;
  color: #022c22;
}

.membership-plan-note,
.membership-founders-meter {
  margin: 0;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.membership-plan-note {
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(211, 240, 0, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #dff2e4;
}

.membership-plan-notify-link {
  color: inherit;
  font-weight: 800;
  text-decoration-color: rgba(211, 240, 0, 0.42);
  text-underline-offset: 0.18rem;
}

.membership-plan-notify-link:hover,
.membership-plan-notify-link:focus-visible {
  color: var(--ss-lime);
  text-decoration-color: var(--ss-lime);
}

.membership-founders-meter {
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(211, 240, 0, 0.36);
  background: rgba(211, 240, 0, 0.14);
  color: #f7ffd4;
  font-family: var(--label-font);
  font-weight: 840;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.membership-offer-card {
  display: grid;
  gap: 1.4rem;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid #c1c8c1;
  border-radius: 8px;
  background: #0d3321;
  color: #ffffff;
  box-shadow: 0 22px 48px rgba(0, 29, 15, 0.18);
}

.membership-offer-copy {
  display: grid;
  gap: 0.65rem;
}

.membership-offer-copy .panel-label {
  color: #d3f000;
}

.membership-offer-copy h2,
.membership-offer-copy p {
  color: #ffffff;
}

.membership-price {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(211, 240, 0, 0.34);
  border-radius: 8px;
  background: rgba(211, 240, 0, 0.12);
  color: #d3f000;
  font-family: var(--label-font);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.membership-benefit-list,
.membership-comparison-card ul {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.membership-benefit-list li,
.membership-comparison-card li {
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.45;
}

.membership-benefit-list li {
  color: #dff2e4;
}

.membership-benefit-list li::before,
.membership-comparison-card li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #d3f000;
}

.membership-waitlist-form-wrap {
  display: grid;
  gap: 0.75rem;
}

.membership-waitlist-form {
  display: grid;
  gap: 0.75rem;
}

.membership-signup-form {
  display: grid;
  gap: 0.75rem;
}

.membership-email-field {
  display: grid;
}

.membership-email-input,
.membership-waitlist-submit {
  min-height: 3.15rem;
  border-radius: 8px;
}

.membership-email-input[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.16);
}

.membership-account-note {
  margin: 0;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(211, 240, 0, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #dff2e4;
  line-height: 1.4;
}

.membership-account-note strong {
  color: #ffffff;
}

.membership-free-signup {
  display: grid;
  gap: 0.62rem;
}

.membership-waitlist-success {
  padding: 1rem;
  border: 1px solid rgba(211, 240, 0, 0.36);
  border-radius: 8px;
  background: rgba(211, 240, 0, 0.14);
}

.membership-signup-success {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #a8d45f;
  border-radius: 8px;
  background: #eef7d4;
}

.membership-waitlist-success p {
  margin: 0;
  color: #ffffff;
  font-weight: 780;
  line-height: 1.45;
}

.membership-signup-success p {
  margin: 0;
  color: #001d0f;
  font-weight: 780;
  line-height: 1.45;
}

.membership-signup-note {
  margin: 0;
  color: #c3ecd1;
  font-size: 0.82rem;
  line-height: 1.4;
}

.membership-pro-billing {
  display: grid;
  gap: 0.55rem;
  margin: 0.25rem 0 0.25rem;
}

.membership-billing-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(211, 240, 0, 0.32);
  border-radius: 999px;
  background: rgba(6, 31, 23, 0.55);
  width: max-content;
  max-width: 100%;
}

.membership-billing-toggle-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #dff2e4;
  font-family: var(--label-font);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.membership-billing-toggle-option:hover,
.membership-billing-toggle-option:focus-visible {
  color: #ffffff;
  outline: none;
}

.membership-billing-toggle-option.is-active {
  background: var(--ss-lime);
  color: #001d0f;
}

.membership-billing-toggle-badge {
  display: inline-flex;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(0, 29, 15, 0.18);
  color: inherit;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.membership-billing-toggle-option:not(.is-active) .membership-billing-toggle-badge {
  background: rgba(211, 240, 0, 0.18);
  color: var(--ss-lime);
}

.membership-price-period {
  margin-left: 0.15rem;
  font-size: 0.7em;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.membership-price-note {
  margin: 0;
  color: #c3ecd1;
  font-size: 0.78rem;
  line-height: 1.4;
}

.membership-faq {
  display: grid;
  gap: 0.6rem;
  margin-top: 2.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(211, 240, 0, 0.22);
  border-radius: 8px;
  background: rgba(6, 31, 23, 0.55);
}

.membership-faq-title {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.membership-faq-item {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(211, 240, 0, 0.16);
  color: #dff2e4;
}

.membership-faq-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.membership-faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
}

.membership-faq-item summary::-webkit-details-marker {
  display: none;
}

.membership-faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--ss-lime);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.membership-faq-item[open] summary::after {
  content: "\2212";
}

.membership-faq-item p {
  margin: 0.65rem 0 0;
  color: #dff2e4;
  font-size: 0.95rem;
  line-height: 1.5;
}

.membership-offer-support {
  margin: 0;
  color: #c3ecd1;
  font-size: 0.9rem;
  line-height: 1.45;
}

.membership-comparison-grid {
  display: grid;
  gap: 1rem;
}

.membership-comparison-card--founding {
  background: #eef7d4;
}

.membership-comparison-card li {
  color: #414843;
}

.membership-final-section {
  background: #ffffff;
}

.membership-final-inner {
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 44rem;
  text-align: center;
}

.membership-final-inner h2 {
  max-width: 11ch;
}

.membership-final-inner p {
  max-width: 31rem;
}

@media (min-width: 760px) {
  .membership-hero {
    min-height: 42rem;
  }

  .membership-hero--plans {
    min-height: calc(100svh - 5rem);
  }

  .membership-hero--payment {
    min-height: calc(100svh - 5rem);
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .membership-hero-inner {
    padding: 6rem 2rem;
  }

  .membership-hero--plans .membership-hero-inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .membership-hero-title {
    font-size: 3.75rem;
  }

  .membership-section {
    padding: 5.5rem 2rem;
  }

  .membership-section-heading h2,
  .membership-offer-copy h2,
  .membership-final-inner h2 {
    font-size: 3rem;
  }

  .membership-plan-copy h3 {
    font-size: 1.65rem;
  }

  .membership-value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .membership-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .membership-plan-grid--hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 56rem;
  }

  .membership-offer-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    padding: 2rem;
  }

  .membership-waitlist-form-wrap,
  .membership-waitlist-success,
  .membership-offer-support {
    grid-column: 1 / -1;
  }

  .membership-waitlist-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .membership-waitlist-form .auth-form-error,
  .membership-account-note {
    grid-column: 1 / -1;
  }

  .membership-waitlist-submit {
    min-width: 18rem;
  }

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

@media (max-width: 640px) {
  .membership-hero {
    min-height: auto;
  }

  .membership-hero--plans {
    min-height: auto;
  }

  .membership-hero--payment {
    min-height: auto;
  }

  .membership-hero-scrim {
    background:
      linear-gradient(180deg, rgba(0, 29, 15, 0.7) 0%, rgba(0, 29, 15, 0.94) 100%),
      linear-gradient(90deg, rgba(0, 29, 15, 0.88), rgba(0, 29, 15, 0.42));
  }

  .membership-hero-inner,
  .membership-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .membership-hero-actions,
  .membership-primary-cta,
  .membership-secondary-cta {
    width: 100%;
  }

  .membership-section-heading h2,
  .membership-offer-copy h2,
  .membership-final-inner h2 {
    font-size: 2rem;
  }
}

.landing-shell.auth-card-page {
  min-height: calc(100svh - 4.5rem);
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 7vw, 4rem) 1rem;
  background: #001d0f;
}

.auth-card-panel-wrap {
  display: grid;
  width: min(100%, 30rem);
  min-width: 0;
}

.auth-card-panel-wrap--wide {
  width: min(100%, 34rem);
}

.auth-card-panel {
  position: relative;
  grid-area: auto;
  width: 100%;
  gap: 1rem;
  overflow: hidden;
}

.auth-card-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #d3f000, #c3ecd1);
  pointer-events: none;
}

.auth-card-heading {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.28rem;
}

.auth-card-kicker {
  margin: 0;
}

.auth-card-heading .hero-setup-title {
  font-size: clamp(1.75rem, 6vw, 2.15rem);
  font-weight: 850;
  line-height: 1.08;
}

.auth-card-panel .auth-form {
  gap: 0.75rem;
}

.auth-card-panel .auth-field span {
  color: #5b6900;
  font-family: var(--label-font);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.auth-card-panel .auth-field input {
  width: 100%;
  min-height: 3.05rem;
  min-width: 0;
  padding: 0.68rem 0.88rem;
  border: 1px solid #c1c8c1;
  border-radius: 8px;
  background: #ffffff;
  color: #001d0f;
  font-family: var(--label-font);
  font-size: 1rem;
  font-weight: 720;
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.auth-card-panel .auth-field input:focus {
  outline: none;
  border-color: #001d0f;
  box-shadow: 0 0 0 4px rgba(211, 240, 0, 0.26);
}

.auth-card-panel .auth-field.is-invalid input,
.auth-card-panel .auth-field input[aria-invalid="true"] {
  border-color: #a54636;
  background: #fffdfb;
  box-shadow: inset 0 0 0 1px rgba(165, 70, 54, 0.24), 0 0 0 3px rgba(165, 70, 54, 0.08);
}

.auth-card-panel .auth-field.is-invalid input:focus,
.auth-card-panel .auth-field input[aria-invalid="true"]:focus {
  border-color: #8e372a;
  box-shadow: inset 0 0 0 1px rgba(165, 70, 54, 0.28), 0 0 0 3px rgba(165, 70, 54, 0.13);
}

.auth-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.auth-card-submit,
.auth-card-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.15rem;
  border-radius: 8px;
  font-family: var(--label-font);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.auth-card-submit {
  background: #d3f000;
  color: #191e00;
  box-shadow: 0 10px 16px rgba(87, 100, 0, 0.2);
}

.auth-card-submit:hover {
  background: #e2fb1e;
  color: #191e00;
}

.auth-card-note {
  margin: -0.1rem 0 0;
  color: rgba(18, 61, 43, 0.72);
  font-size: 0.82rem;
  line-height: 1.38;
}

.landing-shell.auth-sign-in-page {
  min-height: calc(100svh - 4.5rem);
  display: grid;
  place-items: start center;
  padding: clamp(0.85rem, 2.6vw, 1.5rem) 1rem clamp(1.5rem, 7vw, 4rem);
  background: #001d0f;
}

.auth-sign-in-panel-wrap {
  display: grid;
  width: min(100%, 30rem);
  min-width: 0;
}

.auth-sign-in-panel {
  position: relative;
  grid-area: auto;
  width: 100%;
  gap: 1rem;
  overflow: hidden;
}

.auth-sign-in-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #d3f000, #c3ecd1);
  pointer-events: none;
}

.auth-sign-in-heading {
  display: grid;
  padding-top: 0.28rem;
}

.auth-sign-in-heading .hero-setup-title {
  font-size: clamp(1.75rem, 6vw, 2.15rem);
  font-weight: 850;
  line-height: 1.08;
}

.auth-sign-in-panel .auth-provider-actions {
  gap: 0.65rem;
  margin: 0.1rem 0 0;
}

.auth-sign-in-panel .auth-provider-button,
.auth-sign-in-panel .auth-sign-in-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.05rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.auth-sign-in-panel .auth-form {
  gap: 0.75rem;
}

.auth-sign-in-panel .auth-field span {
  color: #5b6900;
  font-family: var(--label-font);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.auth-sign-in-panel .auth-field input {
  width: 100%;
  min-height: 3.05rem;
  min-width: 0;
  padding: 0.68rem 0.88rem;
  border: 1px solid #c1c8c1;
  border-radius: 8px;
  background: #ffffff;
  color: #001d0f;
  font-family: var(--label-font);
  font-size: 1rem;
  font-weight: 720;
  box-shadow: inset 0 0 0 1px rgba(22, 49, 38, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.auth-sign-in-panel .auth-field input:focus {
  outline: none;
  border-color: #001d0f;
  box-shadow: 0 0 0 4px rgba(211, 240, 0, 0.26);
}

.auth-sign-in-panel .auth-field.is-invalid input,
.auth-sign-in-panel .auth-field input[aria-invalid="true"] {
  border-color: #a54636;
  background: #fffdfb;
  box-shadow: inset 0 0 0 1px rgba(165, 70, 54, 0.24), 0 0 0 3px rgba(165, 70, 54, 0.08);
}

.auth-sign-in-panel .auth-field.is-invalid input:focus,
.auth-sign-in-panel .auth-field input[aria-invalid="true"]:focus {
  border-color: #8e372a;
  box-shadow: inset 0 0 0 1px rgba(165, 70, 54, 0.28), 0 0 0 3px rgba(165, 70, 54, 0.13);
}

.auth-sign-in-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.auth-sign-in-submit {
  min-height: 3.15rem;
  border-radius: 8px;
  background: #d3f000;
  color: #191e00;
  font-family: var(--label-font);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 16px rgba(87, 100, 0, 0.2);
}

.auth-sign-in-submit:hover {
  background: #e2fb1e;
  color: #191e00;
}

.auth-sign-in-panel .auth-secondary-link {
  justify-self: center;
  color: rgba(18, 61, 43, 0.72);
  font-size: 0.82rem;
  font-weight: 820;
  text-underline-offset: 0.18rem;
}

@media (min-width: 981px) {
  .landing-shell.auth-card-page {
    min-height: calc(100vh - 5rem);
    padding: clamp(3rem, 6vw, 4rem) 1.5rem;
  }

  .auth-card-panel-wrap {
    width: min(100%, 430px);
  }

  .auth-card-panel-wrap--wide {
    width: min(100%, 500px);
  }

  .auth-card-actions--split {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, auto);
    align-items: stretch;
  }

  .landing-shell.auth-sign-in-page {
    min-height: calc(100vh - 5rem);
    padding: clamp(1rem, 3vw, 2rem) 1.5rem clamp(3rem, 6vw, 4rem);
  }

  .auth-sign-in-panel-wrap {
    width: min(100%, 430px);
  }

  .auth-sign-in-actions {
    grid-template-columns: minmax(0, 1fr) minmax(8rem, auto);
    align-items: stretch;
  }
}

.practice-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  padding: 0 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 29, 15, 0.08);
}

.practice-history-nav {
  display: flex;
  justify-content: flex-end;
}

.practice-history-page {
  position: relative;
  min-height: calc(100vh - 5rem);
  overflow: hidden;
  background: #f9f9ff;
}

.practice-history-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 29, 15, 0.04), rgba(0, 29, 15, 0) 18rem),
    repeating-linear-gradient(90deg, rgba(0, 29, 15, 0.035) 0 1px, transparent 1px 72px);
}

.practice-history-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem) 1.5rem;
}

.practice-history-empty,
.practice-history-hero,
.practice-history-summary-card,
.practice-session-card {
  border-radius: 8px;
}

.practice-history-empty {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #ffffff;
  border: 1px solid #c1c8c1;
  box-shadow: 0 16px 34px rgba(0, 29, 15, 0.08);
}

.practice-history-empty h1,
.practice-history-empty h3,
.practice-history-hero h1,
.practice-history-section-heading h2,
.practice-session-card h3 {
  margin: 0;
  color: #001d0f;
  font-family: var(--ui-font);
  letter-spacing: 0;
}

.practice-history-empty p,
.practice-history-hero p,
.practice-history-note,
.practice-session-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.practice-history-empty-button {
  width: fit-content;
}

.practice-history-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  gap: 1rem;
  align-items: stretch;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(193, 200, 193, 0.38);
  background: #001d0f;
  color: #ffffff;
  box-shadow: 0 20px 42px rgba(0, 29, 15, 0.16);
}

.practice-history-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 29, 15, 0) 0%, rgba(211, 240, 0, 0.08) 100%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 22px);
}

.practice-history-hero h1,
.practice-history-hero p,
.practice-history-hero .panel-label {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.practice-history-hero .panel-label {
  color: #d3f000;
}

.practice-history-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 850;
  line-height: 1.02;
}

.practice-history-hero p {
  color: #c3ecd1;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.practice-history-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 0.75rem;
  max-width: 44rem;
}

.practice-history-hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.7rem;
}

.practice-history-hero-stat {
  display: grid;
  align-content: center;
  gap: 0.24rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.12);
  border: 1px solid rgba(255, 253, 248, 0.18);
}

.practice-history-hero-stat span,
.practice-history-hero-mini-stats span,
.practice-history-metrics dt,
.practice-session-card-stats dt,
.practice-session-date {
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.practice-history-hero-stat span {
  color: rgba(255, 253, 248, 0.72);
}

.practice-history-hero-stat strong {
  color: #ffffff;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 0.95;
}

.practice-history-hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.practice-history-hero-mini-stats div {
  display: grid;
  gap: 0.24rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.08);
}

.practice-history-hero-mini-stats span {
  color: rgba(255, 253, 248, 0.66);
}

.practice-history-hero-mini-stats strong {
  color: #ffffff;
  font-family: var(--label-font);
  font-size: 1.7rem;
  font-weight: 850;
  line-height: 1;
}

.practice-bag-analysis-toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.practice-bag-analysis-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.5rem;
  margin-top: 0.7rem;
  padding: 0.72rem 0.9rem;
  border-radius: 8px;
  background: #d3f000;
  color: #191e00;
  font-family: var(--label-font);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 16px rgba(87, 100, 0, 0.18);
}

.practice-bag-analysis-link:hover {
  background: #e2fb1e;
  color: #191e00;
}

.practice-bag-analysis-section {
  display: none;
}

.practice-bag-analysis-toggle:checked ~ .practice-bag-analysis-section {
  display: block;
}

.practice-history-coach-read {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #c1c8c1;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 29, 15, 0.06);
}

.practice-coach-read-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: 1rem;
}

.practice-coach-read-copy {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.practice-coach-read-copy p,
.practice-coach-note-block {
  margin: 0;
}

.practice-coach-note-block {
  display: grid;
  gap: 0.45rem;
}

.practice-coach-note {
  width: 100%;
  min-height: 8rem;
  resize: vertical;
  padding: 0.85rem;
  border: 1px solid rgba(18, 61, 43, 0.18);
  border-radius: 8px;
  background: #f9faf7;
  color: var(--forest);
  font: inherit;
  line-height: 1.45;
}

.practice-coach-actions {
  display: flex;
  justify-content: flex-start;
}

.practice-coach-actions form {
  margin: 0;
}

.practice-session-picker,
.practice-activity-section {
  margin-top: clamp(1.1rem, 3vw, 1.8rem);
}

.practice-game-picker {
  display: grid;
  gap: clamp(0.95rem, 3vw, 1.35rem);
}

.practice-session-picker .practice-history-section-heading {
  margin-bottom: 0.8rem;
}

.practice-session-picker .practice-history-section-heading h1 {
  margin: 0;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: clamp(1.7rem, 7vw, 2.65rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

.practice-game-options-heading {
  display: grid;
  gap: 0.25rem;
}

.practice-game-options-heading span {
  color: #d3f000;
  font-family: var(--label-font);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.practice-game-options-heading p {
  max-width: 44rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.42;
}

.practice-session-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.practice-game-recommendation {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 1.25rem);
  border: 1px solid rgba(211, 240, 0, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(4, 21, 13, 0.98), rgba(18, 61, 43, 0.92));
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.practice-game-recommendation-copy {
  display: grid;
  gap: 0.5rem;
}

.practice-game-recommendation span {
  display: inline-flex;
  width: fit-content;
  padding: 0.22rem 0.48rem;
  border: 1px solid rgba(211, 240, 0, 0.62);
  border-radius: 999px;
  background: rgba(211, 240, 0, 0.14);
  color: #d3f000;
  font-family: var(--label-font);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.practice-game-recommendation h2 {
  margin: 0;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: clamp(1.55rem, 7vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

.practice-game-recommendation p {
  max-width: 54rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  line-height: 1.45;
}

.practice-game-recommendation-action {
  width: 100%;
  min-height: 3.25rem;
}

.practice-session-type-card {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
  min-height: 7rem;
  padding: 0.92rem;
  border: 1px solid rgba(193, 200, 193, 0.42);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 29, 15, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.practice-session-type-card[data-practice-game-card] {
  cursor: pointer;
}

.practice-session-type-card[data-practice-game-card]:focus-visible {
  outline: 3px solid rgba(211, 240, 0, 0.72);
  outline-offset: 3px;
}

.practice-session-type-card.is-selected {
  border-color: #d3f000;
  box-shadow: 0 18px 38px rgba(0, 29, 15, 0.12), 0 0 0 2px rgba(211, 240, 0, 0.34);
}

.practice-session-type-header {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.practice-session-type-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.practice-session-type-copy {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-width: 0;
}

.practice-session-type-card h3 {
  margin: 0;
  color: #001d0f;
  font-family: var(--ui-font);
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
}

.practice-session-type-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.42;
}

.practice-activity-summary span,
.practice-activity-legend {
  font-family: var(--label-font);
  font-size: 0.64rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.practice-activity-summary span {
  color: rgba(18, 61, 43, 0.62);
}

.practice-session-type-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.3rem;
  padding: 0.22rem 0.48rem;
  border: 1px solid rgba(18, 61, 43, 0.18);
  border-radius: 999px;
  background: #f4f7e3;
  color: #123d2b;
  font-family: var(--label-font);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.practice-session-type-status--recommended {
  border-color: rgba(211, 240, 0, 0.62);
  background: #d3f000;
  color: #191e00;
}

.practice-session-type-actions {
  display: grid;
  gap: 0.5rem;
}

.practice-session-type-form {
  margin: 0;
}

.practice-session-type-start,
.practice-session-type-customize {
  width: 100%;
}

@media (min-width: 720px) {
  .practice-game-recommendation {
    grid-template-columns: minmax(0, 1fr) minmax(10rem, 13rem);
    align-items: end;
  }

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

@media (min-width: 1120px) {
  .practice-session-card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .practice-session-type-card.is-selected {
    transform: translateY(-2px);
  }
}

.practice-activity-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #c1c8c1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 29, 15, 0.06);
}

.practice-activity-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 10rem));
  gap: 0.7rem;
}

.practice-activity-summary div {
  display: grid;
  gap: 0.22rem;
  padding: 0.75rem;
  border: 1px solid rgba(193, 200, 193, 0.48);
  border-radius: 8px;
  background: #f9faf7;
}

.practice-activity-summary strong {
  color: #001d0f;
  font-family: var(--label-font);
  font-size: 1.55rem;
  font-weight: 850;
  line-height: 1;
}

.practice-activity-grid-wrap {
  overflow-x: auto;
  padding-bottom: 0.2rem;
  -webkit-overflow-scrolling: touch;
}

.practice-activity-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 0.82rem;
  gap: 0.22rem;
  width: max-content;
}

.practice-activity-week {
  display: grid;
  grid-template-rows: repeat(7, 0.82rem);
  gap: 0.22rem;
}

.practice-activity-day {
  display: block;
  width: 0.82rem;
  height: 0.82rem;
  border: 1px solid rgba(18, 61, 43, 0.08);
  border-radius: 3px;
  background: #e9eee6;
}

.practice-activity-day--level-1 {
  background: #c3ecd1;
}

.practice-activity-day--level-2 {
  background: #7fae6e;
}

.practice-activity-day--level-3 {
  background: #2f6845;
}

.practice-activity-day--level-4 {
  background: #123d2b;
}

.practice-activity-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.32rem;
  color: rgba(18, 61, 43, 0.62);
}

.practice-activity-legend .practice-activity-day {
  flex: 0 0 auto;
}

.practice-history-snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.practice-history-summary-card,
.practice-session-card {
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #c1c8c1;
  box-shadow: 0 14px 30px rgba(0, 29, 15, 0.06);
}

.practice-history-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.practice-history-card-heading span {
  color: rgba(18, 61, 43, 0.52);
  font-family: var(--label-font);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.practice-history-metrics,
.practice-session-card-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.85rem 0;
}

.practice-history-metrics div,
.practice-session-card-stats div {
  min-width: 0;
  padding: 0.7rem;
  border-radius: 8px;
  background: #f0f3ff;
  border: 1px solid rgba(193, 200, 193, 0.48);
}

.practice-history-metrics dt,
.practice-session-card-stats dt,
.practice-session-date {
  color: rgba(18, 61, 43, 0.68);
}

.practice-history-metrics dd,
.practice-session-card-stats dd {
  margin: 0.22rem 0 0;
  color: #001d0f;
  font-family: var(--label-font);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1;
}

.practice-history-section {
  margin-top: clamp(1.4rem, 4vw, 2.4rem);
}

.practice-history-section-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.practice-history-section-heading .panel-label {
  color: #5b6900;
}

.practice-history-section-heading h2 {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 850;
  line-height: 1.08;
}

.practice-history-page .primary-button,
.practice-history-page .ghost-button {
  border-radius: 8px;
  font-family: var(--label-font);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.practice-history-page .primary-button {
  background: #d3f000;
  color: #191e00;
  box-shadow: 0 10px 18px rgba(87, 100, 0, 0.18);
}

.practice-history-page .primary-button:hover {
  background: #e2fb1e;
  color: #191e00;
}

.practice-history-page .ghost-button {
  border-color: rgba(0, 29, 15, 0.12);
  background: #ffffff;
  color: #001d0f;
}

.practice-history-page .ghost-button:hover {
  border-color: rgba(0, 29, 15, 0.24);
  background: #eef7d4;
  color: #001d0f;
}

.practice-session-list {
  display: grid;
  gap: 0.8rem;
}

.practice-session-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.9fr) auto;
  gap: 1rem;
  align-items: center;
}

.practice-club-commentary {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: #eef7d4;
  border: 1px solid rgba(91, 105, 0, 0.16);
}

.practice-club-commentary p {
  margin: 0;
  color: var(--forest);
  font-size: 0.95rem;
  line-height: 1.45;
}

.practice-club-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #c1c8c1;
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.practice-club-table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
}

.practice-club-table th,
.practice-club-table td {
  padding: 0.68rem 0.8rem;
  border-bottom: 1px solid rgba(22, 49, 38, 0.08);
  text-align: left;
  vertical-align: middle;
}

.practice-club-table thead th {
  background: #f0f3ff;
  color: rgba(18, 61, 43, 0.68);
  font-family: var(--label-font);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.practice-club-table tbody th {
  color: var(--forest);
  font-family: var(--label-font);
  font-weight: 800;
}

.practice-club-table td {
  color: var(--ink);
  font-size: 0.94rem;
}

.practice-club-table tr:last-child th,
.practice-club-table tr:last-child td {
  border-bottom: 0;
}

.practice-club-table .is-untested th,
.practice-club-table .is-untested td {
  color: rgba(18, 61, 43, 0.46);
}

.practice-session-card--active {
  grid-template-columns: minmax(0, 1fr) auto;
  background: #eef7d4;
}

.practice-session-card-main {
  min-width: 0;
}

.practice-card-link {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .practice-session-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-session-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .practice-card-link {
    justify-self: start;
  }

  .landing-shell .landing-hero {
    align-items: stretch;
  }

  .range-shell.landing-shell .landing-hero-image {
    object-position: right center;
  }

  .landing-shell .landing-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "panel";
    align-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 720px) {
  .practice-history-header,
  .landing-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .app-header {
    gap: 0.65rem;
  }

  .app-header-nav {
    gap: 0.4rem;
  }

  .app-header .inline-ghost-button,
  .app-join-summary {
    min-height: 2.45rem;
    padding: 0.58rem 0.7rem;
    font-size: 0.74rem;
  }

  .app-header-label-full {
    display: none;
  }

  .app-header-label-short {
    display: inline;
  }

  .app-join-popover {
    width: min(20rem, calc(100vw - 2rem));
  }

  .practice-history-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .account-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .account-hero,
  .account-field-grid,
  .profile-upload-row,
  .bag-club-list,
  .bag-current-grid {
    grid-template-columns: 1fr;
  }

  .account-hero-action {
    justify-self: start;
  }

  .avatar-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .practice-history-hero,
  .practice-history-snapshot {
    grid-template-columns: 1fr;
  }

  .practice-session-card-grid,
  .practice-activity-summary {
    grid-template-columns: 1fr;
  }

  .practice-coach-read-grid {
    grid-template-columns: 1fr;
  }

  .practice-history-hero-stats {
    max-width: 28rem;
  }

  .practice-history-metrics,
  .practice-session-card-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-shell,
  .landing-shell.is-live,
  .landing-shell.is-complete {
    width: 100%;
    padding: 0;
  }

  .landing-shell .landing-hero {
    min-height: auto;
    padding: 0;
    border-radius: 0;
  }

  .range-shell.landing-shell .landing-hero {
    min-height: clamp(27rem, 66svh, 32rem);
  }

  .range-shell.landing-shell .landing-hero-media {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .range-shell.landing-shell .landing-hero-image {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top right;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .range-shell.landing-shell .landing-hero-scrim {
    background:
      linear-gradient(90deg, rgba(0, 22, 11, 0.9) 0%, rgba(0, 22, 11, 0.66) 54%, rgba(0, 22, 11, 0.24) 100%),
      linear-gradient(180deg, rgba(0, 22, 11, 0.16) 0%, rgba(0, 22, 11, 0.3) 30%, rgba(0, 22, 11, 0.92) 48%, rgba(0, 22, 11, 0.98) 100%);
  }

  .landing-shell .landing-hero-grid {
    min-height: inherit;
    padding: clamp(3.75rem, 16vw, 5rem) 1.5rem 1.75rem;
    gap: 1.35rem;
    align-content: start;
  }

  .app-shell--landing:has(.app-shell-live-card-wrap) .landing-shell .landing-hero-grid {
    padding-top: clamp(3.25rem, 14vw, 4.5rem);
  }

  .landing-shell .landing-hero-title {
    max-width: 10ch;
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }
}

@media (max-width: 420px) {
  .app-header-nav {
    gap: 0.35rem;
  }

  .app-header .inline-ghost-button,
  .app-join-summary {
    padding-left: 0.58rem;
    padding-right: 0.58rem;
  }

  .landing-shell .landing-hero-grid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

  .onboarding-steps {
    grid-template-columns: 1fr;
  }

  .bag-list-header {
    display: none;
  }

  .bag-club-row {
    grid-template-columns: minmax(5.8rem, 0.8fr) minmax(6.4rem, 1fr);
  }

  .bag-current-club-card {
    grid-template-columns: minmax(0, 1fr) minmax(6.6rem, 0.86fr) auto;
    gap: 0.45rem;
    padding: 0.5rem;
  }

  .bag-drop-toggle {
    min-width: 4.35rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.6rem;
  }

  .bag-add-options {
    grid-template-columns: 1fr;
  }

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

  .bag-add-group-details[open] {
    grid-column: 1 / -1;
  }

  .bag-family-card {
    min-height: 3.7rem;
    padding: 0.62rem;
  }

  .bag-family-plus {
    width: 1.8rem;
    height: 1.8rem;
  }

  .profile-bag-panel {
    gap: 0.62rem;
    padding: 0.75rem;
  }

  .profile-bag-heading {
    align-items: center;
  }

  .profile-bag-heading h2 {
    font-size: 1rem;
  }

  .profile-bag-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.34rem;
  }

  .profile-bag-club {
    min-height: 3.3rem;
    padding: 0.42rem 0.44rem 0.38rem 0.58rem;
  }

  .profile-bag-club-label {
    font-size: 0.6rem;
  }

  .profile-bag-club strong {
    font-size: 1.02rem;
  }
}

@media (max-width: 340px) {
  .bag-club-row,
  .bag-current-club-card,
  .bag-add-option {
    grid-template-columns: 1fr;
  }

  .bag-drop-toggle {
    justify-self: start;
  }
}

@media (max-width: 980px) {
  .auth-unlock-page .landing-hero-grid {
    grid-template-columns: 1fr;
  }

  .auth-unlock-panel-wrap {
    width: min(32rem, 100%);
  }
}

@media (max-width: 720px) {
  .email-unlock-card--landing .email-unlock-title {
    font-size: 1.32rem;
  }

  .email-unlock-heading-row {
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Stripeshow Sport rollout
   -------------------------------------------------------------------------- */

:root {
  --ss-black: #000000;
  --ss-ink-deep: #04150d;
  --ss-lime: #d3f000;
  --ss-lime-hover: #e2fb1e;
  --ss-lime-text: #191e00;
  --ss-mint: #c3ecd1;
  --ss-mint-soft: #7fb89a;
  --ss-blood: #ff5b3a;
  --ss-line-mint: rgba(195, 236, 209, 0.18);
  --ss-line-mint-strong: rgba(195, 236, 209, 0.32);
  --ss-dark-wash:
    radial-gradient(90% 70% at 84% 0%, rgba(211, 240, 0, 0.1), transparent 58%),
    radial-gradient(75% 55% at 8% 100%, rgba(47, 104, 69, 0.38), transparent 62%),
    #04150d;
  --ss-grid:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 32px);

  --ink: #ffffff;
  --forest: #ffffff;
  --rough: var(--ss-mint-soft);
  --green: var(--ss-lime);
  --sand: var(--ss-blood);
  --paper: var(--ss-black);
  --paper-deep: #050806;
  --line: var(--ss-line-mint);
  --line-strong: var(--ss-line-mint-strong);
  --text-soft: var(--ss-mint);
  --white: #ffffff;
  --success: var(--ss-lime);
  --danger: var(--ss-blood);
  --shadow: none;
  --display-font: var(--ui-font);
  --label-font: var(--mono-font);
}

html {
  background: var(--ss-black);
}

body {
  background: var(--ss-black);
  color: #ffffff;
}

main {
  background: var(--ss-black);
}

.app-shell,
.app-shell-main,
.app-shell--history .app-shell-main,
.app-shell--session .app-shell-main,
.app-shell--new_round .app-shell-main,
.app-shell--account .app-shell-main,
.app-shell--content .app-shell-main,
.app-shell--membership .app-shell-main,
.app-shell--auth_unlock .app-shell-main {
  background: var(--ss-black);
}

.panel-label,
.picker-label,
.scene-kicker,
.detail-label,
.focus-label,
.shot-step,
.practice-session-date,
.membership-price,
.membership-founders-meter,
.global-active-round-card__kicker,
.app-usage-kicker {
  color: var(--ss-lime);
  font-family: var(--mono-font);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-label::before {
  content: "// ";
  opacity: 0.72;
}

.landing-eyebrow::before,
.round-live-badge .live-dot,
.global-active-round-card__pulse,
.global-active-round-card__pulse::after {
  content: "";
}

.primary-button,
.ghost-button,
.success-button,
.danger-button,
.app-nav-button,
.app-shell-cta,
.app-join-summary,
.membership-plan-cta,
.global-active-round-card__button,
.landing-final-button,
.hero-start-button,
.auth-card-submit,
.auth-sign-in-submit,
.email-signup-submit,
.membership-signup-submit,
.membership-waitlist-submit,
.practice-bag-analysis-link {
  border-radius: 0;
  font-family: var(--mono-font);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: none;
  box-shadow: none;
}

.primary-button,
.app-nav-button,
.app-shell-cta,
.app-join-summary,
.membership-plan-cta,
.global-active-round-card__button--primary,
.landing-final-button,
.hero-start-button,
.auth-card-submit,
.auth-sign-in-submit,
.email-signup-submit,
.membership-signup-submit,
.membership-waitlist-submit,
.practice-bag-analysis-link {
  border-color: var(--ss-lime);
  background: var(--ss-lime);
  color: var(--ss-lime-text);
}

.primary-button:hover,
.app-nav-button:hover,
.app-shell-cta:hover,
.app-join-summary:hover,
.membership-plan-cta:hover,
.global-active-round-card__button--primary:hover,
.landing-final-button:hover,
.hero-start-button:hover,
.auth-card-submit:hover,
.auth-sign-in-submit:hover,
.email-signup-submit:hover,
.membership-signup-submit:hover,
.membership-waitlist-submit:hover,
.practice-bag-analysis-link:hover {
  border-color: var(--ss-lime-hover);
  background: var(--ss-lime-hover);
  color: var(--ss-lime-text);
  transform: none;
  box-shadow: none;
}

.ghost-button,
.app-nav-button--secondary,
.inline-ghost-button,
.global-active-round-card__button--secondary,
.auth-provider-button,
.membership-plan-card--casual .membership-plan-cta {
  border-color: var(--ss-line-mint);
  background: transparent;
  color: #ffffff;
}

.ghost-button:hover,
.app-nav-button--secondary:hover,
.inline-ghost-button:hover,
.global-active-round-card__button--secondary:hover,
.auth-provider-button:hover,
.membership-plan-card--casual .membership-plan-cta:hover {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.06);
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.primary-button:focus-visible,
.ghost-button:focus-visible,
.app-nav-button:focus-visible,
.email-signup-submit:focus-visible,
.shot-count-input:focus,
.voice-select:focus,
.setup-game-select:focus,
.club-select:focus,
.profile-field input:focus,
.profile-field select:focus,
.profile-field textarea:focus,
.auth-field input:focus,
.account-file-input:focus,
.practice-coach-note:focus {
  outline: 2px solid var(--ss-lime);
  outline-offset: 2px;
  box-shadow: none;
}

.app-shell-topbar {
  border-bottom-color: rgba(4, 21, 13, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.app-shell-brand .brand-logo {
  height: 32px;
}

.app-usage-card,
.app-shell-account,
.app-account-menu-panel,
.app-mobile-menu-panel,
.app-join-popover {
  border-radius: 0;
  border-color: rgba(4, 21, 13, 0.14);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

.app-usage-title,
.app-usage-note,
.app-shell-account-name,
.app-account-menu-item,
.app-account-menu-item strong,
.app-mobile-menu-panel,
.app-join-title,
.app-join-text {
  color: #04150d;
}

.app-nav-button--secondary,
.app-shell-topbar .ghost-button,
.app-mobile-menu .app-mobile-menu-summary {
  border-color: rgba(4, 21, 13, 0.14);
  background: #ffffff;
  color: #04150d;
}

.app-nav-button--secondary:hover,
.app-shell-topbar .ghost-button:hover,
.app-mobile-menu .app-mobile-menu-summary:hover {
  border-color: #04150d;
  background: #f7f8f4;
  color: #04150d;
}

.flash-message,
.global-active-round-card {
  border-radius: 0;
}

.skip-link {
  top: -20rem;
  border-color: var(--ss-lime);
  border-radius: 0;
  background: #04150d;
  color: #ffffff;
  transform: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
  outline-color: var(--ss-lime);
  transform: none;
}

.flash-message {
  border-color: var(--ss-lime);
  background: #000000;
  color: #ffffff;
  box-shadow: none;
}

.flash-message--alert {
  border-color: var(--ss-blood);
}

.global-active-round-card {
  --active-round-pulse-color: var(--ss-blood);
  --active-round-pulse-shadow: rgba(255, 91, 58, 0.38);
  --active-round-pulse-ring: rgba(255, 91, 58, 0.24);
  --active-round-pulse-fade: rgba(255, 91, 58, 0);
  border-color: var(--ss-lime);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.07), transparent 62%),
    #000000;
}

.global-active-round-card__signal {
  border-radius: 999px;
  background: transparent;
}

.global-active-round-card__pulse {
  background: var(--active-round-pulse-color);
}

.global-active-round-card__title {
  font-family: var(--ui-font);
  font-weight: 900;
  text-transform: none;
}

.global-active-round-card__meta {
  color: var(--ss-mint);
}

.site-footer {
  border-top: 1px solid var(--ss-line-mint);
  background: #000000;
  color: var(--ss-mint);
}

.site-footer-nav a {
  color: var(--ss-mint);
  font-family: var(--mono-font);
}

.site-footer-nav a:hover,
.site-footer-nav a:focus-visible {
  color: var(--ss-lime);
  transform: none;
}

.landing-page,
.landing-product-sections,
.landing-section,
.landing-comparison-section,
.landing-feature-section,
.landing-habits-section,
.landing-final-section {
  background: #000000;
}

.landing-hero {
  background: var(--ss-dark-wash);
}

.landing-hero-scrim {
  background:
    linear-gradient(90deg, rgba(4, 21, 13, 0.98) 0%, rgba(4, 21, 13, 0.92) 48%, rgba(4, 21, 13, 0.52) 100%),
    radial-gradient(120% 80% at 80% -20%, rgba(211, 240, 0, 0.1), transparent 60%),
    radial-gradient(80% 60% at 20% 100%, rgba(47, 104, 69, 0.45), transparent 60%);
}

.landing-hero::after,
.new-round-page::after,
.site-page::before,
.account-page::before,
.practice-history-page::before,
.membership-hero-scrim::after,
.auth-unlock-hero::after {
  background: var(--ss-grid);
  opacity: 0.52;
}

.landing-shell .landing-hero-title,
.landing-section-heading .practice-guide-title,
.landing-final-card h2,
.membership-hero-title,
.practice-history-hero h1,
.account-hero h1,
.site-page-hero h1,
.new-round-title {
  font-family: var(--ui-font);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.landing-shell .landing-hero-title.landing-hero-title--conversion {
  text-transform: none;
}

.landing-hero-title-accent,
.landing-final-card h2 span:last-child,
.landing-final-card h2 .landing-hero-title-accent {
  color: var(--ss-lime);
}

.landing-hero .hero-copy,
.landing-section-heading .practice-guide-copy,
.landing-feature-card p,
.landing-habit-card p,
.landing-check-list li,
.landing-final-card p {
  color: var(--ss-mint);
}

.landing-setup-panel,
.hero-setup-panel,
.email-unlock-card,
.profile-gate-panel,
.access-gate-panel,
.round-auth-gate-panel,
.auth-panel,
.auth-card-panel,
.auth-sign-in-panel,
.membership-payment-card {
  border-radius: 0;
  border: 1px solid rgba(195, 236, 209, 0.38);
  border-top: 2px solid var(--ss-lime);
  background: rgba(249, 249, 255, 0.97);
  box-shadow: none;
}

.landing-setup-panel .hero-setup-title,
.hero-setup-panel .hero-setup-title,
.email-unlock-title,
.auth-card-heading .hero-setup-title,
.auth-sign-in-heading .hero-setup-title {
  color: #04150d;
  font-family: var(--ui-font);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.landing-setup-panel .setup-helper,
.hero-setup-panel .setup-helper,
.email-unlock-text,
.email-unlock-status,
.email-unlock-benefits li,
.auth-card-note,
.auth-sign-in-panel .auth-secondary-link,
.email-unlock-sign-in-copy,
.email-unlock-sign-in-copy a {
  color: #414843;
}

.shot-count-input,
.voice-select,
.setup-game-select,
.club-select,
.handedness-option-copy,
.setup-toggle-option,
.advanced-settings,
.saved-bag-summary,
.club-bag-chip,
.saved-bag-chip,
.account-file-input,
.practice-coach-note,
.email-signup-input,
.membership-email-input,
.profile-field input,
.profile-field select,
.profile-field textarea,
.auth-field input,
.input-shell-badge,
.shot-tries-input {
  border-radius: 0;
  border-color: rgba(4, 21, 13, 0.18);
  background-color: #ffffff;
  color: #04150d;
  box-shadow: none;
}

.shot-count-input:hover,
.voice-select:hover,
.setup-game-select:hover,
.club-select:hover,
.handedness-option:hover .handedness-option-copy,
.setup-toggle-option:hover,
.club-bag-option:hover .club-bag-chip {
  background-color: #ffffff;
  transform: none;
}

.handedness-option input:checked + .handedness-option-copy,
.setup-toggle-input:checked ~ .setup-toggle-copy .setup-toggle-title,
.club-bag-input:checked + .club-bag-chip,
.avatar-option-input:checked + .avatar-option-card,
.account-page .handedness-option input:checked + .handedness-option-copy {
  border-color: #04150d;
  background: var(--ss-lime);
  color: var(--ss-lime-text);
  box-shadow: none;
}

.advanced-settings-summary,
.setup-toggle-title,
.setup-toggle-description,
.shot-count-entry-copy,
.shot-count-note,
.free-usage-meter-note,
.free-usage-meter-heading p:last-child,
.saved-bag-link {
  color: #04150d;
  font-family: var(--mono-font);
}

.landing-comparison-grid,
.landing-feature-card,
.landing-habit-card,
.landing-final-card,
.landing-compare-card,
.landing-score-preview {
  border-radius: 0;
  box-shadow: none;
}

.landing-comparison-grid {
  border-color: var(--ss-line-mint);
  background: var(--ss-line-mint);
}

.landing-compare-card--light,
.landing-feature-card,
.landing-habit-card,
.landing-feature-card--pressure {
  background: #000000;
  color: var(--ss-mint);
}

.landing-compare-card--dark,
.landing-feature-card--large,
.landing-feature-card--voice,
.landing-final-card {
  border-color: var(--ss-lime);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.08), transparent 60%),
    #000000;
}

.landing-compare-card h3,
.landing-feature-card h3,
.landing-habit-card h3 {
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0;
}

.landing-compare-card--dark h3,
.landing-feature-card--large h3,
.landing-feature-card--voice h3 {
  color: var(--ss-lime);
}

.landing-icon-badge,
.landing-feature-icon,
.landing-feature-meta img,
.avatar-option-card,
.onboarding-steps,
.onboarding-step,
.free-usage-meter,
.setup-error,
.pre-round-offer-card,
.active-round-prompt-card {
  border-radius: 0;
  box-shadow: none;
}

.landing-feature-icon,
.landing-icon-badge--play {
  background: var(--ss-lime);
  color: var(--ss-lime-text);
}

.landing-icon-badge--miss {
  background: rgba(255, 91, 58, 0.14);
  border-color: rgba(255, 91, 58, 0.55);
}

.new-round-page,
.range-shell,
.range-shell.is-live,
.range-shell.is-complete {
  background: var(--ss-black);
}

.new-round-hero-scrim {
  background:
    linear-gradient(90deg, rgba(4, 21, 13, 0.96), rgba(4, 21, 13, 0.74)),
    radial-gradient(120% 80% at 80% -20%, rgba(211, 240, 0, 0.11), transparent 60%);
}

.new-round-setup-panel,
.new-round-panel-only > .landing-setup-panel {
  border-radius: 0;
  border-top: 2px solid var(--ss-lime);
  background: rgba(249, 249, 255, 0.97);
}

.range-shell.is-live,
.range-shell.is-complete {
  width: min(1120px, calc(100% - 1rem));
}

.range-shell.is-live .coach-panel,
.range-shell.is-complete .coach-panel,
.current-shot-panel,
.summary-panel,
.session-scorecard-panel {
  border-radius: 0;
  border: 1px solid var(--ss-line-mint);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.04), transparent 50%),
    #000000;
  color: #ffffff;
  box-shadow: none;
}

.coach-panel::before,
.range-shell.is-live .coach-panel::before {
  display: none;
}

.round-topbar {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ss-line-mint);
}

.round-live-badge {
  border-radius: 0;
  border-color: var(--ss-blood);
  background: transparent;
  color: var(--ss-blood);
  font-family: var(--mono-font);
}

.round-live-badge .live-dot {
  background: var(--ss-blood);
  box-shadow: 0 0 0 0 rgba(255, 91, 58, 0.55);
  animation: ss-pulse 1.4s infinite;
}

.round-progress-pill,
.round-menu-summary,
.shot-yardage-line,
.status-pill,
.status-pill-subtle {
  border-radius: 0;
  border-color: var(--ss-line-mint);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ss-mint);
  font-family: var(--mono-font);
}

.round-menu-summary {
  color: var(--ss-mint);
}

.round-menu-summary:hover,
.round-menu[open] .round-menu-summary {
  border-color: var(--ss-line-mint-strong);
  background: rgba(255, 255, 255, 0.075);
}

.round-menu-cog {
  border-color: var(--ss-line-mint);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ss-mint);
}

.round-menu-panel {
  border-color: var(--ss-line-mint);
  background: #000000;
  color: #ffffff;
  box-shadow: none;
}

.round-menu-action,
.round-settings-input,
.round-settings-segment-option span,
.round-settings-toggle span {
  border-radius: 0;
  border-color: var(--ss-line-mint);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
}

.round-menu-action:hover,
.round-settings-segment-option input:checked + span,
.round-settings-toggle input:checked + span {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.12);
  color: var(--ss-lime);
}

.round-menu-action-danger {
  color: var(--ss-blood);
}

.round-settings-title,
.round-settings-field span,
.round-settings-fieldset legend {
  color: var(--ss-lime);
  font-family: var(--mono-font);
}

.round-settings-note {
  color: var(--ss-mint);
}

.round-settings-toggle input:checked + span::after {
  background: currentColor;
  box-shadow: inset 0 0 0 3px #000000;
}

.shot-readout {
  color: #ffffff;
  font-family: var(--ui-font);
  font-weight: 900;
  letter-spacing: 0;
}

.shot-yardage-line {
  width: fit-content;
  border-color: var(--ss-lime);
  color: var(--ss-lime);
}

.shot-stakes-line,
.scene-copy,
.shot-readout-detail,
.panel-note,
.summary-copy,
.summary-verdict,
.summary-next-cue,
.summary-coach-copy,
.summary-coach-reason,
.club-note,
.voice-note {
  color: var(--ss-mint);
}

.current-shot-panel .scene-copy,
.transport-panel,
.club-decision-panel,
.shot-log-panel,
.next-shot-cue,
.results-gate,
.summary-score-main,
.summary-score-notes,
.summary-stat-grid div,
.session-metrics div,
.club-breakdown-item {
  border-radius: 0;
  border: 1px solid var(--ss-line-mint);
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  box-shadow: none;
}

.transport-primary-button {
  border-radius: 0;
  border: 1px solid var(--ss-lime);
  background: var(--ss-lime);
  color: var(--ss-lime-text);
  font-family: var(--mono-font);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.transport-primary-button::before {
  border-radius: 0;
  border-color: rgba(25, 30, 0, 0.18);
  background: rgba(25, 30, 0, 0.08);
  color: var(--ss-lime-text);
}

.transport-primary-button::after {
  color: rgba(25, 30, 0, 0.68);
  font-family: var(--mono-font);
}

.club-picker .picker-label,
.shot-log-group-label,
.summary-score-label,
.summary-stat-grid dt,
.session-metrics dt {
  color: var(--ss-lime);
  font-family: var(--mono-font);
}

.range-shell.is-live .club-select,
.range-shell.is-live .club-decision-panel .club-select {
  border-color: var(--ss-line-mint);
  background-color: #ffffff;
  color: #04150d;
}

.range-shell.is-live .transport-panel,
.range-shell.is-live .club-decision-panel,
.range-shell.is-live .shot-log-panel,
.range-shell.is-live .next-shot-cue,
.range-shell.is-complete .summary-panel {
  border-radius: 0;
  border-color: var(--ss-line-mint);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.04), transparent 56%),
    #000000;
  color: #ffffff;
  box-shadow: none;
}

.range-shell.is-live .shot-log-group-label {
  color: var(--ss-lime);
}

.range-shell.is-live .shot-log-panel .assessment-button,
.range-shell.is-live .shot-log-panel .shot-result-selector__option,
.range-shell.is-live .shot-log-panel .target-result-selector__option,
.range-shell.is-live .shot-log-panel .shot-shape-selector__option,
.range-shell.is-live .shot-log-panel .strike-pattern-selector__option {
  border-radius: 0;
  border-color: var(--ss-line-mint);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
  box-shadow: none;
}

.range-shell.is-live .shot-log-panel .assessment-button:hover,
.range-shell.is-live .shot-log-panel .shot-result-selector__option:hover,
.range-shell.is-live .shot-log-panel .target-result-selector__option:hover,
.range-shell.is-live .shot-log-panel .shot-shape-selector__option:hover,
.range-shell.is-live .shot-log-panel .strike-pattern-selector__option:hover {
  border-color: var(--ss-line-mint-strong);
  background: rgba(255, 255, 255, 0.075);
}

.range-shell.is-live .shot-log-panel .assessment-button.is-selected,
.range-shell.is-live .shot-log-panel .shot-result-selector__option.is-selected,
.range-shell.is-live .shot-log-panel .target-result-selector__option.is-selected,
.range-shell.is-live .shot-log-panel .shot-shape-selector__option.is-selected,
.range-shell.is-live .shot-log-panel .strike-pattern-selector__option.is-selected {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.12);
  color: var(--ss-lime);
  box-shadow: inset 0 0 0 1px var(--ss-lime);
}

.range-shell.is-live .shot-log-panel .shot-result-selector__label,
.range-shell.is-live .shot-log-panel .target-result-selector__label,
.range-shell.is-live .shot-log-panel .shot-shape-selector__label,
.range-shell.is-live .shot-log-panel .strike-pattern-selector__label {
  color: currentColor;
}

.range-shell.is-live .shot-log-panel .shot-shape-selector__icon,
.range-shell.is-live .shot-log-panel .strike-pattern-selector__icon img {
  filter: invert(1);
  opacity: 0.82;
}

.range-shell.is-live .shot-log-panel .shot-shape-selector__option.is-selected .shot-shape-selector__icon,
.range-shell.is-live .shot-log-panel .strike-pattern-selector__option.is-selected .strike-pattern-selector__icon img {
  filter: brightness(0) saturate(100%) invert(90%) sepia(91%) saturate(1065%) hue-rotate(12deg) brightness(105%) contrast(105%);
  opacity: 1;
}

.assessment-button,
.shot-result-selector__option,
.target-result-selector__option,
.shot-shape-selector__option,
.strike-pattern-selector__option {
  border-radius: 0;
  border-color: var(--ss-line-mint);
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  box-shadow: none;
}

.assessment-button:hover,
.shot-result-selector__option:hover,
.target-result-selector__option:hover,
.shot-shape-selector__option:hover,
.strike-pattern-selector__option:hover {
  border-color: var(--ss-line-mint-strong);
  background: rgba(255, 255, 255, 0.06);
  transform: none;
}

.assessment-button.is-selected,
.shot-result-selector__option.is-selected,
.target-result-selector__option.is-selected,
.shot-shape-selector__option.is-selected,
.strike-pattern-selector__option.is-selected {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.12);
  color: var(--ss-lime);
  box-shadow: inset 0 0 0 1px var(--ss-lime);
}

.shot-result-selector__icon,
.target-result-selector__icon,
.shot-shape-selector__icon-wrap,
.strike-pattern-selector__icon {
  border-radius: 0;
}

.shot-result-selector__label,
.target-result-selector__label,
.shot-shape-selector__label,
.strike-pattern-selector__label {
  color: currentColor;
  font-family: var(--mono-font);
  font-weight: 800;
  letter-spacing: 0.06em;
  max-width: 100%;
  overflow-wrap: normal;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  word-break: normal;
}

.range-shell.is-live .shot-log-panel .shot-shape-selector__label {
  font-size: 0.56rem;
  letter-spacing: 0.025em;
}

.target-result-selector__label {
  overflow-wrap: anywhere;
  white-space: normal;
}

.target-result-selector__option--far-long .target-result-selector__label,
.target-result-selector__option--far-short .target-result-selector__label,
.target-result-selector__option--far-left .target-result-selector__label,
.target-result-selector__option--far-right .target-result-selector__label {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: normal;
}

.shot-visual {
  border-radius: 0;
  border-color: var(--ss-line-mint);
  background: #000000;
}

@media (max-width: 640px) {
  .range-shell.is-live .round-menu-panel {
    position: fixed;
    top: calc(4.25rem + env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    left: max(0.75rem, env(safe-area-inset-left));
    width: auto;
  }

  .range-shell.is-live .round-settings-actions {
    grid-template-columns: 1fr;
  }

  .range-shell.is-live .shot-log-panel .shot-result-selector__label,
  .range-shell.is-live .shot-log-panel .target-result-selector__label,
  .range-shell.is-live .shot-log-panel .shot-shape-selector__label,
  .range-shell.is-live .shot-log-panel .strike-pattern-selector__label {
    letter-spacing: 0.025em;
  }

  .range-shell.is-live .shot-log-panel .shot-result-selector__label {
    font-size: 0.55rem;
  }

  .range-shell.is-live .shot-log-panel .shot-shape-selector__label {
    font-size: 0.56rem;
  }

  .range-shell.is-live .shot-log-panel .strike-pattern-selector__label {
    font-size: 0.66rem;
  }

  .range-shell.is-live .shot-log-panel .strike-pattern-selector__option {
    gap: 0.22rem;
  }

  .range-shell.is-live .shot-log-panel .strike-pattern-selector__icon {
    width: clamp(2.28rem, 10vw, 2.55rem);
    height: clamp(2.28rem, 10vw, 2.55rem);
  }
}

@media (max-width: 380px) {
  .range-shell.is-live .shot-log-panel .shot-result-selector__label,
  .range-shell.is-live .shot-log-panel .shot-shape-selector__label {
    font-size: 0.52rem;
    letter-spacing: 0.015em;
  }
}

.wind-visual,
.elevation-visual {
  border-radius: 0;
  border-color: var(--ss-line-mint);
  background: rgba(0, 0, 0, 0.72);
  box-shadow: none;
}

.wind-speed,
.elevation-label {
  color: #ffffff;
  font-family: var(--mono-font);
}

.summary-round-card {
  border-radius: 0;
  border: 1px solid var(--ss-lime);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.08), transparent 60%),
    #000000;
  box-shadow: none;
}

.summary-score {
  color: var(--ss-lime);
  font-family: var(--mono-font);
}

.session-scorecard-label,
.session-scorecard-cell {
  border-radius: 0;
  border-color: var(--ss-line-mint);
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  box-shadow: none;
}

.session-scorecard-label {
  background: #000000;
  color: var(--ss-lime);
}

.session-scorecard-cell.is-current,
.session-scorecard-cell.is-great,
.session-scorecard-cell.is-playable {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.1);
}

.session-scorecard-cell.is-miss,
.session-scorecard-cell.is-penalty {
  border-color: rgba(255, 91, 58, 0.55);
  background: rgba(255, 91, 58, 0.08);
}

.practice-history-page,
.account-page,
.site-page {
  background: var(--ss-black);
  color: #ffffff;
}

.practice-history-shell,
.account-shell,
.site-page-shell {
  width: min(1120px, 100%);
}

.practice-history-empty,
.practice-history-hero,
.practice-history-coach-read,
.practice-history-summary-card,
.practice-session-card,
.practice-club-table-wrap,
.practice-club-commentary,
.account-hero,
.account-panel,
.site-page-hero,
.site-page-panel,
.membership-plan-card,
.membership-payment-card {
  border-radius: 0;
  box-shadow: none;
}

.practice-history-hero,
.account-hero,
.site-page-hero {
  border-color: var(--ss-line-mint);
  background: var(--ss-dark-wash);
}

.practice-history-hero::before,
.account-hero::before,
.site-page-hero::before {
  background: var(--ss-grid);
  opacity: 0.48;
}

.practice-history-empty,
.practice-history-coach-read,
.practice-history-summary-card,
.practice-session-card,
.practice-club-table-wrap,
.practice-club-commentary,
.site-page-panel {
  border: 1px solid var(--ss-line-mint);
  background: #000000;
}

.practice-history-empty h1,
.practice-history-empty h3,
.practice-history-hero h1,
.practice-history-section-heading h2,
.practice-session-card h3,
.site-page-section h2,
.site-page-hero h1 {
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.practice-history-empty p,
.practice-history-hero p,
.practice-session-card p,
.practice-club-commentary p,
.site-page-section p,
.site-page-list,
.site-page-lede,
.site-page-meta {
  color: var(--ss-mint);
}

.practice-history-hero-stat,
.practice-history-hero-mini-stats div,
.practice-history-metrics div,
.practice-session-card-stats div {
  border-radius: 0;
  border: 1px solid var(--ss-line-mint);
  background: rgba(255, 255, 255, 0.035);
}

.practice-history-hero-stat strong,
.practice-history-hero-mini-stats strong,
.practice-history-metrics dd,
.practice-session-card-stats dd {
  color: var(--ss-lime);
  font-family: var(--mono-font);
}

.practice-history-metrics dt,
.practice-session-card-stats dt,
.practice-history-card-heading span,
.practice-session-date,
.practice-club-table thead th {
  color: var(--ss-mint-soft);
  font-family: var(--mono-font);
}

.practice-club-table {
  color: #ffffff;
}

.practice-club-table thead th {
  background: rgba(255, 255, 255, 0.04);
}

.practice-club-table th,
.practice-club-table td {
  border-bottom-color: var(--ss-line-mint);
}

.practice-club-table tbody th,
.practice-club-table td {
  color: #ffffff;
}

.practice-club-table .is-untested th,
.practice-club-table .is-untested td {
  color: var(--ss-mint-soft);
}

.account-panel,
.onboarding-steps {
  border: 1px solid var(--ss-line-mint);
  background: #000000;
}

.account-section-heading h2,
.account-hero h1 {
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.account-section-heading p:not(.panel-label),
.account-hero p,
.account-hero-insight-copy small {
  color: var(--ss-mint);
}

.account-hero-insight,
.onboarding-step,
.bag-club-row,
.avatar-option-card {
  border-radius: 0;
  border-color: var(--ss-line-mint);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.onboarding-step strong,
.onboarding-step span,
.account-check-option,
.bag-list-header,
.bag-row-error {
  font-family: var(--mono-font);
}

.onboarding-step span {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ss-mint);
}

.onboarding-step.is-active,
.onboarding-step.is-complete {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.1);
  color: #ffffff;
}

.onboarding-step.is-active span,
.onboarding-step.is-complete span {
  background: var(--ss-lime);
  color: var(--ss-lime-text);
}

.bag-club-row.is-selected {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.08);
  box-shadow: none;
}

.bag-club-select .club-bag-input:checked + .club-bag-chip {
  border-color: var(--ss-lime);
  background: var(--ss-lime);
  color: var(--ss-lime-text);
}

.bag-yardage-unit {
  color: #04150d;
  font-family: var(--mono-font);
}

.membership-page {
  background: var(--ss-black);
}

.membership-hero-scrim {
  background:
    linear-gradient(90deg, rgba(4, 21, 13, 0.98) 0%, rgba(4, 21, 13, 0.9) 50%, rgba(4, 21, 13, 0.58) 100%),
    radial-gradient(120% 80% at 80% -20%, rgba(211, 240, 0, 0.1), transparent 60%);
}

.membership-plan-card,
.membership-plan-card--casual,
.membership-plan-card--monthly,
.membership-plan-card--founders,
.membership-payment-card {
  border-color: var(--ss-line-mint);
  background: #000000;
  color: #ffffff;
}

.membership-plan-card--founders,
.membership-payment-card {
  border-color: var(--ss-lime);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.08), transparent 60%),
    #000000;
}

.membership-plan-copy h3,
.membership-payment-card .membership-plan-copy h1 {
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0;
}

.membership-plan-copy p,
.membership-benefit-list li,
.membership-signup-note,
.membership-payment-card .membership-plan-copy p,
.membership-payment-card .membership-benefit-list li {
  color: var(--ss-mint);
}

.membership-benefit-list li::before,
.membership-comparison-card li::before {
  border-radius: 0;
  background: var(--ss-lime);
}

.membership-price,
.membership-founders-meter,
.membership-plan-note,
.membership-account-note,
.membership-signup-success {
  border-radius: 0;
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.1);
}

.membership-signup-success p,
.membership-account-note,
.membership-plan-note {
  color: #ffffff;
}

.auth-card-page,
.auth-sign-in-page,
.auth-unlock-page {
  background: var(--ss-dark-wash);
}

.auth-card-panel::before,
.auth-sign-in-panel::before {
  background: var(--ss-lime);
}

.auth-provider-actions .ghost-button,
.auth-sign-in-panel .auth-provider-button,
.auth-card-secondary-action,
.auth-sign-in-join,
.email-unlock-actions .ghost-button {
  border-color: rgba(4, 21, 13, 0.18);
  background: #ffffff;
  color: #04150d;
}

.auth-provider-actions .ghost-button:hover,
.auth-sign-in-panel .auth-provider-button:hover,
.auth-card-secondary-action:hover,
.auth-sign-in-join:hover,
.email-unlock-actions .ghost-button:hover {
  border-color: #04150d;
  background: #f7f8f4;
  color: #04150d;
}

.setup-error,
.auth-form-error {
  border-radius: 0;
  border-color: rgba(255, 91, 58, 0.46);
  background: rgba(255, 91, 58, 0.08);
  color: #5a2118;
  box-shadow: none;
}

.auth-form-error-title {
  font-family: var(--mono-font);
}

.active-round-prompt-card .email-unlock-title {
  text-transform: none;
}

.site-page {
  min-height: calc(100vh - 5rem);
}

.site-page-hero {
  border-color: var(--ss-lime);
}

.site-page-hero h1 {
  width: 100%;
  max-width: min(100%, 18ch);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.site-page-panel--legal {
  max-width: 100%;
}

.site-page-section + .site-page-section {
  border-top-color: var(--ss-line-mint);
}

.site-page-link {
  color: var(--ss-lime);
  text-decoration-color: rgba(211, 240, 0, 0.5);
}

.site-page-link:hover,
.site-page-link:focus-visible {
  color: var(--ss-lime-hover);
}

.users-index-page {
  min-height: calc(100vh - 5rem);
  padding: clamp(1.5rem, 5vw, 4rem) 1rem;
  background: var(--ss-black);
  color: #ffffff;
}

.users-index-shell {
  display: grid;
  gap: 1rem;
  width: min(960px, 100%);
  margin: 0 auto;
}

.users-index-page h1 {
  margin: 0;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.users-index-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ss-line-mint);
  background: #000000;
}

.users-index-page table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
}

.users-index-page th,
.users-index-page td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--ss-line-mint);
  color: #ffffff;
  text-align: left;
}

.users-index-page thead th {
  color: var(--ss-lime);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.users-index-page tbody tr:last-child td {
  border-bottom: 0;
}

@media (min-width: 760px) {
  .membership-plan-grid--hero {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-feature-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  }
}

@media (max-width: 980px) {
  .practice-history-hero,
  .account-hero,
  .practice-coach-read-grid,
  .practice-history-snapshot,
  .membership-plan-grid,
  .membership-plan-grid--hero {
    grid-template-columns: 1fr;
  }

  .range-shell.is-live,
  .range-shell.is-complete {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .app-shell-topbar {
    min-height: 4.25rem;
  }

  .range-shell,
  .range-shell.is-live,
  .range-shell.is-complete {
    width: 100%;
    padding: 0;
  }

  .range-shell.is-live .coach-panel,
  .range-shell.is-complete .coach-panel {
    border-right: 0;
    border-left: 0;
  }

  .landing-shell .landing-hero-grid,
  .new-round-shell,
  .practice-history-shell,
  .account-shell,
  .site-page-shell {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .shot-result-selector,
  .target-result-selector,
  .shot-shape-selector,
  .strike-pattern-selector,
  .result-controls-assessment,
  .practice-history-metrics,
  .practice-session-card-stats,
  .bag-club-list,
  .avatar-options {
    grid-template-columns: 1fr;
  }

  .account-page .avatar-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shot-log-panel .result-controls-result {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shot-log-panel .result-controls-result.is-result-mode-no-penalty {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shot-result-selector__option,
  .target-result-selector__option,
  .shot-shape-selector__option,
  .strike-pattern-selector__option {
    min-height: 4.4rem;
  }

  .target-result-selector {
    --target-cell-size: clamp(2.85rem, 15vw, 3.6rem);
    --target-side-rail-size: clamp(1.55rem, 6vw, 1.95rem);
    --target-rail-height: clamp(1.26rem, 5vw, 1.55rem);
    --target-miss-empty-row-size: clamp(1.45rem, 6vw, 1.9rem);
    --target-grid-gap: 0.32rem;

    grid-template-columns: var(--target-side-rail-size) repeat(3, var(--target-cell-size)) var(--target-side-rail-size);
    grid-template-rows: var(--target-rail-height) repeat(3, var(--target-cell-size)) var(--target-rail-height);
    justify-content: center;
    gap: var(--target-grid-gap);
  }

  .target-result-selector__option {
    min-height: 0;
    padding: 0.18rem 0.08rem;
  }

  .target-result-selector__icon {
    width: 1.55rem;
    height: 1.55rem;
  }

  .target-result-selector__label {
    font-size: 0.54rem;
  }

  .target-result-selector.is-target-mode-stripe {
    grid-template-columns: repeat(3, var(--target-cell-size));
    grid-template-rows: repeat(3, var(--target-cell-size));
  }

  .target-result-selector.is-target-mode-miss,
  .target-result-selector.is-target-mode-penalty {
    grid-template-columns: var(--target-side-rail-size) repeat(3, var(--target-cell-size)) var(--target-side-rail-size);
    grid-template-rows: var(--target-rail-height) repeat(3, var(--target-miss-empty-row-size)) var(--target-rail-height);
  }

  .membership-hero-inner,
  .membership-hero--plans .membership-hero-inner {
    padding: 3rem 1rem;
  }
}

@media (max-width: 420px) {
  .landing-shell .landing-hero-title,
  .practice-history-hero h1,
  .account-hero h1,
  .membership-hero-title {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .site-page-hero h1 {
    font-size: clamp(2rem, 9.6vw, 2.8rem);
  }

  .account-page .avatar-option-image {
    width: min(4.5rem, 100%);
    height: min(4.5rem, 100%);
  }

  .app-shell-brand .brand-logo {
    height: 28px;
  }
}

/* --------------------------------------------------------------------------
   Appearance modes
   -------------------------------------------------------------------------- */

:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --ss-black: #04150d;
  --ss-ink-deep: #04150d;
  --ss-lime: #d3f000;
  --ss-lime-hover: #e2fb1e;
  --ss-lime-text: #191e00;
  --ss-mint: #c3ecd1;
  --ss-mint-soft: #8fbea3;
  --ss-blood: #ff5b3a;
  --ss-line-mint: rgba(195, 236, 209, 0.22);
  --ss-line-mint-strong: rgba(195, 236, 209, 0.42);
  --ss-app-bg: #04150d;
  --ss-app-bg-strong: #000000;
  --ss-app-surface: #000000;
  --ss-app-surface-soft: rgba(255, 255, 255, 0.045);
  --ss-app-surface-raised: rgba(5, 8, 6, 0.96);
  --ss-app-panel-light: rgba(249, 249, 255, 0.97);
  --ss-app-text: #ffffff;
  --ss-app-text-muted: var(--ss-mint);
  --ss-app-text-soft: var(--ss-mint-soft);
  --ss-app-border: var(--ss-line-mint);
  --ss-app-border-strong: var(--ss-line-mint-strong);
  --ss-app-control-bg: #ffffff;
  --ss-app-control-text: #04150d;
  --ss-app-nav-bg: rgba(4, 21, 13, 0.94);
  --ss-app-nav-text: #ffffff;
  --ss-app-focus: var(--ss-lime);
  --ink: var(--ss-app-text);
  --forest: var(--ss-app-text);
  --rough: var(--ss-mint-soft);
  --green: var(--ss-lime);
  --sand: var(--ss-blood);
  --paper: var(--ss-app-surface);
  --paper-deep: #050806;
  --line: var(--ss-app-border);
  --line-strong: var(--ss-app-border-strong);
  --text-soft: var(--ss-app-text-muted);
  --white: #ffffff;
  --success: var(--ss-lime);
  --danger: var(--ss-blood);
}

html[data-theme="light"] {
  color-scheme: light;
  --ss-black: #faf7ef;
  --ss-ink-deep: #04150d;
  --ss-lime: #d3f000;
  --ss-lime-hover: #e2fb1e;
  --ss-lime-text: #191e00;
  --ss-mint: #315943;
  --ss-mint-soft: #66786d;
  --ss-blood: #a6402d;
  --ss-line-mint: rgba(18, 61, 43, 0.16);
  --ss-line-mint-strong: rgba(18, 61, 43, 0.32);
  --ss-app-bg: #faf7ef;
  --ss-app-bg-strong: #f4efe3;
  --ss-app-surface: #fffdf8;
  --ss-app-surface-soft: rgba(18, 61, 43, 0.045);
  --ss-app-surface-raised: #ffffff;
  --ss-app-panel-light: rgba(255, 253, 248, 0.98);
  --ss-app-text: #04150d;
  --ss-app-text-muted: #3f5147;
  --ss-app-text-soft: #657469;
  --ss-app-border: rgba(18, 61, 43, 0.16);
  --ss-app-border-strong: rgba(18, 61, 43, 0.32);
  --ss-app-control-bg: #ffffff;
  --ss-app-control-text: #04150d;
  --ss-app-nav-bg: rgba(255, 255, 255, 0.94);
  --ss-app-nav-text: #04150d;
  --ss-app-focus: #5b6900;
  --ink: var(--ss-app-text);
  --forest: var(--ss-app-text);
  --rough: #315943;
  --green: #5b6900;
  --sand: #c7ab77;
  --paper: var(--ss-app-bg-strong);
  --paper-deep: #e8ede1;
  --line: var(--ss-app-border);
  --line-strong: var(--ss-app-border-strong);
  --text-soft: var(--ss-app-text-muted);
  --white: #ffffff;
  --success: #2c6a3d;
  --danger: var(--ss-blood);
}

html[data-theme] html,
html[data-theme] body,
html[data-theme] main,
html[data-theme] .app-shell,
html[data-theme] .app-shell-main,
html[data-theme] .app-shell--history .app-shell-main,
html[data-theme] .app-shell--session .app-shell-main,
html[data-theme] .app-shell--new_round .app-shell-main,
html[data-theme] .app-shell--account .app-shell-main,
html[data-theme] .app-shell--content .app-shell-main,
html[data-theme] .app-shell--membership .app-shell-main,
html[data-theme] .app-shell--auth_unlock .app-shell-main,
html[data-theme] .landing-page,
html[data-theme] .landing-product-sections,
html[data-theme] .landing-section,
html[data-theme] .landing-comparison-section,
html[data-theme] .landing-feature-section,
html[data-theme] .landing-habits-section,
html[data-theme] .landing-final-section,
html[data-theme] .new-round-page,
html[data-theme] .practice-history-page,
html[data-theme] .account-page,
html[data-theme] .site-page,
html[data-theme] .membership-page,
html[data-theme] .users-index-page,
html[data-theme] .range-shell,
html[data-theme] .range-shell.is-live,
html[data-theme] .range-shell.is-complete {
  background: var(--ss-app-bg);
  color: var(--ss-app-text);
}

html[data-theme] body::before {
  background: none;
}

html[data-theme] {
  background: var(--ss-app-bg);
}

.app-shell-mobile-actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-width: 0;
}

.appearance-menu {
  position: relative;
  flex: 0 0 auto;
}

.app-shell-mobile-actions .appearance-menu--mobile {
  display: none;
}

.appearance-menu-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.appearance-menu-summary::-webkit-details-marker,
.appearance-menu-summary::marker {
  display: none;
  content: "";
}

.appearance-menu-icon {
  width: 1.12rem;
  height: 1.12rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.appearance-menu-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  z-index: 75;
  display: grid;
  gap: 0.78rem;
  width: min(20rem, calc(100vw - 2rem));
  padding: 0.7rem;
  border: 1px solid var(--ss-app-border);
  background: var(--ss-app-surface-raised);
  color: var(--ss-app-text);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.app-shell-topbar-actions .app-shell-account {
  min-height: 2.75rem;
  height: 2.75rem;
  padding-block: 0.34rem;
}

.appearance-menu:not([open]) .appearance-menu-panel {
  display: none;
}

.appearance-menu-label {
  margin: 0 0 0.48rem;
  color: var(--ss-lime);
  font-family: var(--mono-font);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.appearance-segment {
  display: grid;
  margin: 0;
  padding: 0;
  border: 0;
}

.appearance-segment-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.appearance-segment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.appearance-segment {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

.appearance-segment .appearance-menu-label {
  grid-column: 1 / -1;
}

.appearance-segment-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.45rem;
  padding: 0.62rem 0.48rem;
  border: 1px solid var(--ss-app-border);
  background: var(--ss-app-surface-soft);
  color: var(--ss-app-text);
  font-family: var(--mono-font);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.appearance-segment-option input:checked + span {
  border-color: var(--ss-lime);
  background: var(--ss-lime);
  color: var(--ss-lime-text);
}

.appearance-segment-option input:focus-visible + span {
  outline: 2px solid var(--ss-app-focus);
  outline-offset: 2px;
}

html[data-theme] .app-shell-topbar {
  border-bottom-color: var(--ss-app-border);
  background: var(--ss-app-nav-bg);
  color: var(--ss-app-nav-text);
}

html[data-theme] .brand-logo {
  filter: none;
}

html[data-theme] .brand-logo--theme-dark,
html[data-theme="dark"] .brand-logo--theme-light,
html[data-theme="light"] .brand-logo--theme-dark {
  display: none;
}

html[data-theme="dark"] .brand-logo--theme-dark.brand-logo--standard,
html[data-theme="light"] .brand-logo--theme-light.brand-logo--standard {
  display: block;
}

html[data-theme="dark"] .brand-logo--theme-dark.brand-logo--compact,
html[data-theme="light"] .brand-logo--theme-light.brand-logo--compact {
  display: none;
}

@media (max-width: 380px) {
  html[data-theme="dark"] .brand-logo--theme-dark.brand-logo--standard,
  html[data-theme="light"] .brand-logo--theme-light.brand-logo--standard {
    display: none;
  }

  html[data-theme="dark"] .brand-logo--theme-dark.brand-logo--compact,
  html[data-theme="light"] .brand-logo--theme-light.brand-logo--compact {
    display: block;
  }
}

html[data-theme] .app-usage-card,
html[data-theme] .app-shell-account,
html[data-theme] .app-account-menu-panel,
html[data-theme] .app-mobile-menu-panel,
html[data-theme] .app-join-popover {
  border-color: var(--ss-app-border);
  background: var(--ss-app-surface-raised);
  color: var(--ss-app-text);
}

html[data-theme] .app-usage-title,
html[data-theme] .app-shell-account-name,
html[data-theme] .app-account-menu-item,
html[data-theme] .app-account-menu-item strong,
html[data-theme] .app-mobile-menu-panel,
html[data-theme] .app-join-title {
  color: var(--ss-app-text);
}

html[data-theme] .app-usage-note,
html[data-theme] .app-account-menu-item small,
html[data-theme] .app-join-text {
  color: var(--ss-app-text-muted);
}

html[data-theme] .app-account-menu-item .app-nav-icon {
  color: var(--ss-app-text-muted);
}

html[data-theme] .app-account-menu-item:hover {
  background: var(--ss-app-surface-soft);
  color: var(--ss-app-text);
}

html[data-theme] .app-account-menu-item:hover .app-nav-icon {
  color: var(--ss-lime);
}

html[data-theme] .app-account-menu-section,
html[data-theme] .app-account-sign-out-form {
  border-top-color: var(--ss-app-border-strong);
}

html[data-theme] .app-account-appearance-heading {
  color: var(--ss-app-text);
}

html[data-theme] .app-account-appearance-heading .app-nav-icon {
  color: var(--ss-app-text-muted);
}

html[data-theme] .app-account-menu-item--danger,
html[data-theme] .app-account-menu-item--danger .app-nav-icon {
  color: var(--ss-blood);
}

html[data-theme] .app-account-menu-item--danger:hover {
  background: rgba(255, 91, 58, 0.1);
  color: var(--ss-blood);
}

html[data-theme] .app-nav-button--secondary,
html[data-theme] .app-shell-topbar .ghost-button,
html[data-theme] .app-mobile-menu .app-mobile-menu-summary {
  border-color: var(--ss-app-border);
  background: transparent;
  color: var(--ss-app-nav-text);
}

html[data-theme] .app-nav-button--secondary:hover,
html[data-theme] .app-shell-topbar .ghost-button:hover,
html[data-theme] .app-mobile-menu .app-mobile-menu-summary:hover {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.08);
  color: var(--ss-app-nav-text);
}

html[data-theme="light"] .panel-label,
html[data-theme="light"] .picker-label,
html[data-theme="light"] .scene-kicker,
html[data-theme="light"] .detail-label,
html[data-theme="light"] .focus-label,
html[data-theme="light"] .shot-step,
html[data-theme="light"] .practice-session-date,
html[data-theme="light"] .membership-price,
html[data-theme="light"] .membership-founders-meter,
html[data-theme="light"] .global-active-round-card__kicker,
html[data-theme="light"] .app-usage-kicker {
  color: #5b6900;
}

html[data-theme] .landing-shell .landing-hero-title,
html[data-theme] .landing-section-heading .practice-guide-title,
html[data-theme] .landing-final-card h2,
html[data-theme] .membership-hero-title,
html[data-theme] .practice-history-hero h1,
html[data-theme] .practice-session-type-card h3,
html[data-theme] .account-hero h1,
html[data-theme] .site-page-hero h1,
html[data-theme] .new-round-title,
html[data-theme] .users-index-page h1 {
  color: var(--ss-app-text);
}

html[data-theme] .landing-hero .hero-copy,
html[data-theme] .landing-section-heading .practice-guide-copy,
html[data-theme] .landing-feature-card p,
html[data-theme] .landing-habit-card p,
html[data-theme] .landing-check-list li,
html[data-theme] .landing-final-card p,
html[data-theme] .practice-history-empty p,
html[data-theme] .practice-history-hero p,
html[data-theme] .practice-session-card p,
html[data-theme] .practice-session-type-card p,
html[data-theme] .practice-club-commentary p,
html[data-theme] .site-page-section p,
html[data-theme] .site-page-list,
html[data-theme] .site-page-lede,
html[data-theme] .site-page-meta,
html[data-theme] .account-section-heading p:not(.panel-label),
html[data-theme] .account-hero p,
html[data-theme] .membership-plan-copy p,
html[data-theme] .membership-benefit-list li,
html[data-theme] .membership-signup-note {
  color: var(--ss-app-text-muted);
}

html[data-theme] .landing-setup-panel,
html[data-theme] .hero-setup-panel,
html[data-theme] .email-unlock-card,
html[data-theme] .profile-gate-panel,
html[data-theme] .access-gate-panel,
html[data-theme] .round-auth-gate-panel,
html[data-theme] .auth-panel,
html[data-theme] .auth-card-panel,
html[data-theme] .auth-sign-in-panel,
html[data-theme] .membership-payment-card,
html[data-theme] .new-round-setup-panel,
html[data-theme] .new-round-panel-only > .landing-setup-panel {
  border-color: var(--ss-app-border);
  border-top-color: var(--ss-lime);
  background: var(--ss-app-panel-light);
}

html[data-theme] .shot-count-input,
html[data-theme] .voice-select,
html[data-theme] .setup-game-select,
html[data-theme] .club-select,
html[data-theme] .handedness-option-copy,
html[data-theme] .setup-toggle-option,
html[data-theme] .advanced-settings,
html[data-theme] .saved-bag-summary,
html[data-theme] .setup-game-summary,
html[data-theme] .club-bag-chip,
html[data-theme] .saved-bag-chip,
html[data-theme] .account-file-input,
html[data-theme] .practice-coach-note,
html[data-theme] .email-signup-input,
html[data-theme] .membership-email-input,
html[data-theme] .profile-field input,
html[data-theme] .profile-field select,
html[data-theme] .profile-field textarea,
html[data-theme] .auth-field input,
html[data-theme] .input-shell-badge,
html[data-theme] .shot-tries-input {
  border-color: rgba(4, 21, 13, 0.18);
  background-color: var(--ss-app-control-bg);
  color: var(--ss-app-control-text);
}

html[data-theme] .landing-setup-panel .hero-setup-title,
html[data-theme] .hero-setup-panel .hero-setup-title,
html[data-theme] .email-unlock-title,
html[data-theme] .auth-card-heading .hero-setup-title,
html[data-theme] .auth-sign-in-heading .hero-setup-title,
html[data-theme] .landing-setup-panel .setup-helper,
html[data-theme] .hero-setup-panel .setup-helper,
html[data-theme] .email-unlock-text,
html[data-theme] .email-unlock-status,
html[data-theme] .email-unlock-benefits li,
html[data-theme] .auth-card-note,
html[data-theme] .auth-sign-in-panel .auth-secondary-link,
html[data-theme] .email-unlock-sign-in-copy,
html[data-theme] .email-unlock-sign-in-copy a,
html[data-theme] .advanced-settings-summary,
html[data-theme] .setup-toggle-title,
html[data-theme] .setup-toggle-description,
html[data-theme] .setup-game-description,
html[data-theme] .shot-count-entry-copy,
html[data-theme] .shot-count-note,
html[data-theme] .free-usage-meter-note,
html[data-theme] .free-usage-meter-heading p:last-child,
html[data-theme] .saved-bag-link,
html[data-theme] .setup-game-summary strong {
  color: #04150d;
}

html[data-theme] .landing-comparison-grid,
html[data-theme] .landing-feature-card,
html[data-theme] .landing-habit-card,
html[data-theme] .landing-final-card,
html[data-theme] .landing-compare-card,
html[data-theme] .landing-score-preview,
html[data-theme] .practice-history-empty,
html[data-theme] .practice-history-coach-read,
html[data-theme] .practice-history-summary-card,
html[data-theme] .practice-session-card,
html[data-theme] .practice-session-type-card,
html[data-theme] .practice-activity-card,
html[data-theme] .practice-club-table-wrap,
html[data-theme] .practice-club-commentary,
html[data-theme] .site-page-panel,
html[data-theme] .account-panel,
html[data-theme] .onboarding-steps,
html[data-theme] .membership-plan-card,
html[data-theme] .users-index-table-wrap {
  border-color: var(--ss-app-border);
  background: var(--ss-app-surface);
  color: var(--ss-app-text);
}

html[data-theme] .practice-history-hero,
html[data-theme] .account-hero,
html[data-theme] .site-page-hero,
html[data-theme] .membership-plan-card--founders,
html[data-theme] .membership-payment-card {
  border-color: var(--ss-app-border);
  background: var(--ss-dark-wash);
  color: var(--ss-app-text);
}

html[data-theme="light"] .practice-history-hero,
html[data-theme="light"] .account-hero,
html[data-theme="light"] .site-page-hero {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(244, 239, 227, 0.94));
}

html[data-theme="light"] .landing-hero-scrim {
  background:
    linear-gradient(90deg, rgba(4, 21, 13, 0.98) 0%, rgba(4, 21, 13, 0.88) 48%, rgba(4, 21, 13, 0.36) 100%),
    linear-gradient(180deg, rgba(4, 21, 13, 0.42), rgba(4, 21, 13, 0.86)),
    radial-gradient(120% 80% at 80% -20%, rgba(211, 240, 0, 0.16), transparent 60%),
    radial-gradient(80% 60% at 20% 100%, rgba(47, 104, 69, 0.48), transparent 60%);
}

html[data-theme="light"] .landing-hero-image,
html[data-theme="light"] .new-round-hero-media .landing-hero-image {
  opacity: 0.64;
  filter: grayscale(0.06) saturate(0.82) contrast(1.08);
}

html[data-theme="light"] .landing-shell .landing-hero-title {
  color: #ffffff;
}

html[data-theme="light"] .landing-hero .hero-copy {
  color: #d7eadc;
}

html[data-theme="light"] .landing-hero .hero-support-line,
html[data-theme="light"] .landing-hero .hero-ritual-line {
  color: rgba(211, 240, 0, 0.9);
}

html[data-theme] .landing-hero .landing-hero-start-note,
html[data-theme="light"] .landing-hero .landing-hero-start-note {
  color: #d7eadc;
  text-align: left;
}

html[data-theme="light"] .landing-section-heading .practice-guide-title,
html[data-theme="light"] .landing-compare-card h3,
html[data-theme="light"] .landing-feature-card h3,
html[data-theme="light"] .landing-habit-card h3,
html[data-theme="light"] .landing-final-card h2 {
  color: var(--ss-app-text);
}

html[data-theme="light"] .landing-hero-title-accent,
html[data-theme="light"] .landing-final-card h2 span:last-child,
html[data-theme="light"] .landing-final-card h2 .landing-hero-title-accent,
html[data-theme="light"] .landing-section-heading .panel-label {
  color: #5b6900;
}

html[data-theme="light"] .landing-hero .landing-hero-title-accent,
html[data-theme="light"] .landing-hero .landing-eyebrow,
html[data-theme="light"] .landing-hero .panel-label {
  color: var(--ss-lime);
}

html[data-theme="light"] .landing-compare-card--dark,
html[data-theme="light"] .landing-feature-card--large,
html[data-theme="light"] .landing-feature-card--voice,
html[data-theme="light"] .landing-final-card,
html[data-theme="light"] .membership-plan-card--founders,
html[data-theme="light"] .membership-payment-card {
  border-color: rgba(91, 105, 0, 0.24);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.16), transparent 70%),
    var(--ss-app-surface);
}

/* Membership page refresh */
html[data-theme] .app-shell--membership .app-shell-main,
html[data-theme] .membership-page {
  --membership-mint: #c3ecd1;
  --membership-line: rgba(195, 236, 209, 0.22);
  --membership-line-strong: rgba(195, 236, 209, 0.38);

  background:
    radial-gradient(90% 70% at 88% 12%, rgba(211, 240, 0, 0.08), transparent 54%),
    #04150d;
  color: #ffffff;
}

html[data-theme] .app-shell--membership {
  min-height: 100svh;
  background: #04150d;
}

html[data-theme] .membership-hero,
html[data-theme] .membership-hero--plans {
  min-height: auto;
}

html[data-theme] .membership-hero--payment {
  min-height: calc(100svh - 5rem);
}

html[data-theme] .membership-hero-media .landing-hero-image {
  opacity: 0.5;
  filter: grayscale(0.08) saturate(0.84) contrast(1.08);
}

html[data-theme] .membership-hero-scrim {
  background:
    linear-gradient(90deg, rgba(4, 21, 13, 0.98) 0%, rgba(4, 21, 13, 0.9) 52%, rgba(4, 21, 13, 0.58) 100%),
    linear-gradient(180deg, rgba(4, 21, 13, 0.42), rgba(4, 21, 13, 0.95)),
    radial-gradient(90% 70% at 88% 2%, rgba(211, 240, 0, 0.14), transparent 58%);
}

html[data-theme] .membership-hero-inner {
  align-items: start;
  gap: 1.35rem;
  padding: 2.6rem 1rem 3.5rem;
}

html[data-theme] .membership-hero--plans .membership-hero-inner {
  align-content: start;
  gap: 1.35rem;
  padding-top: 2.6rem;
  padding-bottom: 3.5rem;
}

html[data-theme] .membership-hero-copy {
  gap: 0.9rem;
  max-width: 46rem;
  color: #ffffff;
}

html[data-theme] .membership-hero-subhead {
  color: var(--membership-mint);
}

html[data-theme] .membership-hero .landing-eyebrow {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.04);
  color: var(--ss-lime);
}

html[data-theme] .membership-hero-title,
html[data-theme="light"] .membership-hero-title {
  max-width: 12ch;
  color: #ffffff;
  font-size: 2.55rem;
  line-height: 0.96;
}

html[data-theme] .membership-current-plan {
  border-color: var(--membership-line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--membership-mint);
}

html[data-theme] .membership-current-plan strong {
  color: #ffffff;
}

html[data-theme] .membership-plan-grid--hero {
  width: 100%;
  max-width: none;
  gap: 0.85rem;
  align-items: stretch;
}

html[data-theme] .membership-plan-card,
html[data-theme] .membership-plan-card--casual,
html[data-theme] .membership-plan-card--monthly,
html[data-theme] .membership-plan-card--founders,
html[data-theme="light"] .membership-plan-card--founders {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  padding: 1.1rem;
  border: 1px solid var(--membership-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 58%),
    #000000;
  color: #ffffff;
}

html[data-theme] .membership-plan-card--monthly {
  border-color: rgba(211, 240, 0, 0.54);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.075), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 58%),
    #000000;
}

html[data-theme] .membership-plan-card--featured-free {
  border-color: var(--ss-lime);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.12), transparent 62%),
    #071f15;
}

html[data-theme] .membership-plan-card--coming-soon {
  border-color: var(--membership-line);
}

html[data-theme] .membership-plan-card--founders,
html[data-theme="light"] .membership-plan-card--founders {
  border-color: var(--membership-line-strong);
}

html[data-theme] .membership-plan-copy {
  gap: 0.58rem;
}

html[data-theme] .membership-plan-copy h3 {
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.05;
}

html[data-theme] .membership-payment-card .membership-plan-copy h1 {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.05;
}

html[data-theme] .membership-plan-copy p,
html[data-theme] .membership-benefit-list li,
html[data-theme] .membership-signup-note,
html[data-theme] .membership-payment-card .membership-plan-copy p,
html[data-theme] .membership-payment-card .membership-benefit-list li {
  color: var(--membership-mint);
}

html[data-theme] .membership-plan-copy .membership-plan-tag {
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0.34rem 0.48rem;
  border: 1px solid var(--ss-lime);
  color: var(--ss-lime);
  font-family: var(--mono-font);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

html[data-theme] .membership-price,
html[data-theme="light"] .membership-price,
html[data-theme] .membership-founders-meter,
html[data-theme="light"] .membership-founders-meter {
  border-color: rgba(211, 240, 0, 0.38);
  background: rgba(211, 240, 0, 0.1);
  color: var(--ss-lime);
}

html[data-theme] .membership-plan-card .membership-founders-meter {
  width: 100%;
  text-align: center;
}

html[data-theme] .membership-benefit-list {
  gap: 0.55rem;
}

html[data-theme] .membership-benefit-list li {
  font-size: 0.92rem;
  line-height: 1.38;
}

html[data-theme] .membership-benefit-list li::before {
  top: 0.52em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 0;
  background: var(--ss-lime);
}

html[data-theme] .membership-plan-cta {
  min-height: 2.85rem;
  padding: 0.78rem 0.9rem;
  border-radius: 0;
}

html[data-theme] .membership-plan-card--casual .membership-plan-cta {
  border-color: var(--membership-line);
  background: transparent;
  color: #ffffff;
}

html[data-theme] .membership-plan-card--casual .membership-plan-cta:hover,
html[data-theme] .membership-plan-card--casual .membership-plan-cta:focus-visible {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.08);
  color: #ffffff;
}

html[data-theme] .membership-payment-card,
html[data-theme="light"] .membership-payment-card {
  border-color: var(--ss-lime);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.09), transparent 62%),
    #000000;
  color: #ffffff;
}

html[data-theme] .membership-signup-success {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.1);
}

html[data-theme] .membership-signup-success p,
html[data-theme] .membership-account-note,
html[data-theme] .membership-plan-note {
  color: #ffffff;
}

@media (min-width: 760px) {
  html[data-theme] .membership-hero-inner,
  html[data-theme] .membership-hero--plans .membership-hero-inner {
    padding: 3.2rem 2rem 4rem;
  }

  html[data-theme] .membership-hero-title,
  html[data-theme="light"] .membership-hero-title {
    font-size: 4rem;
  }

  html[data-theme] .membership-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html[data-theme] .membership-plan-grid--hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-theme] .membership-plan-grid--free-first {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-theme] .membership-plan-grid--free-first .membership-plan-card--featured-free {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 0.72fr);
    column-gap: 2rem;
    align-items: start;
  }

  html[data-theme] .membership-plan-card--featured-free .membership-free-signup {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  html[data-theme] .membership-plan-card {
    padding: 1.2rem;
  }

  html[data-theme] .membership-payment-card .membership-plan-copy h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 980px) {
  html[data-theme] .membership-hero-inner,
  html[data-theme] .membership-hero--plans .membership-hero-inner {
    width: min(1440px, 100%);
    grid-template-columns: minmax(21rem, 0.68fr) minmax(35rem, 1fr);
    align-items: center;
    column-gap: clamp(2.5rem, 5vw, 5.5rem);
    row-gap: 1.1rem;
    padding: clamp(3.4rem, 5vw, 4.8rem) 2.5rem clamp(3rem, 4vw, 4.2rem);
  }

  html[data-theme] .membership-hero-copy {
    grid-column: 1;
    max-width: 34rem;
    align-self: center;
  }

  html[data-theme] .membership-hero-title,
  html[data-theme="light"] .membership-hero-title {
    max-width: 10ch;
    font-size: clamp(4rem, 5.1vw, 5.15rem);
  }

  html[data-theme] .membership-hero-subhead {
    max-width: 31rem;
  }

  html[data-theme] .membership-signup-success {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  html[data-theme] .membership-plan-grid--hero {
    grid-column: 2;
    gap: 1rem;
  }

  html[data-theme] .membership-plan-card {
    padding: clamp(1.2rem, 1.35vw, 1.55rem);
  }

  html[data-theme] .membership-faq {
    grid-column: 1 / -1;
    grid-template-columns: minmax(12rem, 0.58fr) repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 1rem;
    margin-top: 0.35rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.42);
  }

  html[data-theme] .membership-faq-title {
    margin: 0;
  }

  html[data-theme] .membership-faq-item,
  html[data-theme] .membership-faq-item:first-of-type {
    min-height: 100%;
    padding: 0 0 0 1rem;
    border-top: 0;
    border-left: 1px solid rgba(195, 236, 209, 0.18);
  }

  html[data-theme] .membership-faq-item summary {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  html[data-theme] .membership-hero-inner,
  html[data-theme] .membership-hero--plans .membership-hero-inner {
    padding: 2rem 1rem 2.8rem;
  }

  html[data-theme] .membership-plan-grid,
  html[data-theme] .membership-plan-grid--hero {
    grid-template-columns: 1fr;
  }

  html[data-theme] .membership-hero-title,
  html[data-theme="light"] .membership-hero-title {
    font-size: 2.35rem;
  }
}

html[data-theme] .range-shell.is-live .coach-panel,
html[data-theme] .range-shell.is-complete .coach-panel,
html[data-theme] .current-shot-panel,
html[data-theme] .summary-panel,
html[data-theme] .session-scorecard-panel,
html[data-theme] .range-shell.is-live .transport-panel,
html[data-theme] .range-shell.is-live .club-decision-panel,
html[data-theme] .range-shell.is-live .shot-log-panel,
html[data-theme] .range-shell.is-live .next-shot-cue,
html[data-theme] .range-shell.is-complete .summary-panel,
html[data-theme] .summary-round-card,
html[data-theme] .shot-visual,
html[data-theme] .wind-visual,
html[data-theme] .elevation-visual {
  border-color: var(--ss-app-border);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.04), transparent 56%),
    var(--ss-app-surface);
  color: var(--ss-app-text);
}

html[data-theme] .current-shot-panel .scene-copy,
html[data-theme] .summary-score-main,
html[data-theme] .summary-score-notes,
html[data-theme] .summary-stat-grid div,
html[data-theme] .session-metrics div,
html[data-theme] .club-breakdown-item,
html[data-theme] .round-menu-panel,
html[data-theme] .round-menu-action,
html[data-theme] .round-settings-input,
html[data-theme] .round-settings-segment-option span,
html[data-theme] .round-settings-toggle span,
html[data-theme] .session-scorecard-label,
html[data-theme] .session-scorecard-cell,
html[data-theme] .assessment-button,
html[data-theme] .shot-result-selector__option,
html[data-theme] .target-result-selector__option,
html[data-theme] .shot-shape-selector__option,
html[data-theme] .strike-pattern-selector__option {
  border-color: var(--ss-app-border);
  background: var(--ss-app-surface-soft);
  color: var(--ss-app-text);
}

html[data-theme] .round-menu-summary,
html[data-theme] .round-menu-cog {
  border-color: var(--ss-app-border);
  background: var(--ss-app-surface-soft);
  color: var(--ss-app-text);
}

html[data-theme] .shot-readout,
html[data-theme] .summary-title,
html[data-theme] .summary-score,
html[data-theme] .summary-verdict,
html[data-theme] .summary-stat-grid dd,
html[data-theme] .session-metrics dd,
html[data-theme] .practice-club-table,
html[data-theme] .practice-club-table tbody th,
html[data-theme] .practice-club-table td,
html[data-theme] .users-index-page th,
html[data-theme] .users-index-page td {
  color: var(--ss-app-text);
}

html[data-theme] .round-settings-title,
html[data-theme] .round-settings-field span,
html[data-theme] .round-settings-fieldset legend {
  color: var(--ss-lime);
}

html[data-theme] .shot-stakes-line,
html[data-theme] .scene-copy,
html[data-theme] .shot-readout-detail,
html[data-theme] .panel-note,
html[data-theme] .summary-copy,
html[data-theme] .summary-next-cue,
html[data-theme] .summary-coach-copy,
html[data-theme] .summary-coach-reason,
html[data-theme] .club-note,
html[data-theme] .voice-note {
  color: var(--ss-app-text-muted);
}

html[data-theme] .round-settings-note {
  color: var(--ss-app-text-muted);
}

html[data-theme] .setup-info-popover summary {
  border-color: var(--ss-app-border);
  background: var(--ss-app-control-bg);
  color: var(--ss-app-control-text);
}

html[data-theme] .setup-info-popover p {
  border-color: var(--ss-app-border-strong);
  background: var(--ss-app-panel-light);
  color: var(--ss-app-control-text);
}

html[data-theme] .shot-yardage-line {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border-color: var(--ss-lime);
  color: var(--ss-lime);
}

html[data-theme="light"] .range-shell.is-live .coach-panel,
html[data-theme="light"] .range-shell.is-complete .coach-panel,
html[data-theme="light"] .current-shot-panel,
html[data-theme="light"] .summary-panel,
html[data-theme="light"] .session-scorecard-panel,
html[data-theme="light"] .range-shell.is-live .transport-panel,
html[data-theme="light"] .range-shell.is-live .club-decision-panel,
html[data-theme="light"] .range-shell.is-live .shot-log-panel,
html[data-theme="light"] .range-shell.is-live .next-shot-cue,
html[data-theme="light"] .range-shell.is-complete .summary-panel,
html[data-theme="light"] .summary-round-card,
html[data-theme="light"] .shot-visual,
html[data-theme="light"] .wind-visual,
html[data-theme="light"] .elevation-visual {
  background: var(--ss-app-surface);
}

html[data-theme="light"] .shot-yardage-line,
html[data-theme="light"] .round-settings-title,
html[data-theme="light"] .round-settings-field span,
html[data-theme="light"] .round-settings-fieldset legend,
html[data-theme="light"] .summary-score,
html[data-theme="light"] .summary-score-label,
html[data-theme="light"] .summary-stat-grid dt,
html[data-theme="light"] .session-metrics dt,
html[data-theme="light"] .club-picker .picker-label,
html[data-theme="light"] .shot-log-group-label,
html[data-theme="light"] .session-scorecard-label {
  color: #5b6900;
}

html[data-theme="light"] .range-shell.is-live .shot-log-group-label {
  color: #04150d;
}

html[data-theme="light"] .shot-yardage-line {
  background: rgba(211, 240, 0, 0.24);
}

html[data-theme="light"] .round-menu-action,
html[data-theme="light"] .round-settings-input,
html[data-theme="light"] .round-settings-segment-option span,
html[data-theme="light"] .round-settings-toggle span {
  border-color: rgba(18, 61, 43, 0.18);
  background: rgba(255, 253, 248, 0.82);
  color: #04150d;
}

html[data-theme="light"] .round-menu-action:hover,
html[data-theme="light"] .round-settings-segment-option input:checked + span,
html[data-theme="light"] .round-settings-toggle input:checked + span {
  border-color: #5b6900;
  background: rgba(211, 240, 0, 0.24);
  color: #04150d;
}

html[data-theme="light"] .round-menu-action-danger {
  color: #8a2f1a;
}

html[data-theme="light"] .round-settings-toggle input:checked + span::after {
  box-shadow: inset 0 0 0 3px rgba(211, 240, 0, 0.24);
}

html[data-theme="light"] .range-shell.is-live .club-select,
html[data-theme="light"] .range-shell.is-live .club-decision-panel .club-select,
html[data-theme="light"] .shot-tries-input {
  border-color: rgba(18, 61, 43, 0.22);
  background-color: #ffffff;
  color: #04150d;
}

html[data-theme="light"] .shot-tries-button,
html[data-theme="light"] .range-shell.is-live .shot-tries-button {
  border-color: rgba(18, 61, 43, 0.28);
  background: #ffffff;
  color: #04150d;
  font-weight: 820;
}

html[data-theme="light"] .shot-tries-button:hover,
html[data-theme="light"] .range-shell.is-live .shot-tries-button:hover {
  border-color: #5b6900;
  background: rgba(211, 240, 0, 0.16);
  color: #04150d;
}

html[data-theme="light"] .assessment-button.is-selected,
html[data-theme="light"] .shot-result-selector__option.is-selected,
html[data-theme="light"] .target-result-selector__option.is-selected,
html[data-theme="light"] .shot-shape-selector__option.is-selected,
html[data-theme="light"] .strike-pattern-selector__option.is-selected {
  border-color: #5b6900;
  background: rgba(211, 240, 0, 0.24);
  color: #04150d;
  box-shadow: inset 0 0 0 1px #5b6900;
}

html[data-theme="light"] .range-shell.is-live .wind-visual,
html[data-theme="light"] .range-shell.is-live .elevation-visual {
  border-color: rgba(18, 61, 43, 0.22);
  background: rgba(255, 253, 248, 0.92);
  color: #04150d;
}

html[data-theme="light"] .range-shell.is-live .wind-arrow::before,
html[data-theme="light"] .range-shell.is-live .elevation-mark::before {
  background: #04150d;
}

html[data-theme="light"] .range-shell.is-live .wind-speed,
html[data-theme="light"] .range-shell.is-live .elevation-label {
  color: #04150d;
}

html[data-theme="light"] .range-shell.is-live .shot-log-panel .assessment-button,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-result-selector__option,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .target-result-selector__option,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-shape-selector__option,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .strike-pattern-selector__option {
  border-color: rgba(18, 61, 43, 0.18);
  background: rgba(255, 253, 248, 0.82);
  color: #04150d;
}

html[data-theme="light"] .range-shell.is-live .shot-log-panel .assessment-button:hover,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-result-selector__option:hover,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .target-result-selector__option:hover,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-shape-selector__option:hover,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .strike-pattern-selector__option:hover {
  border-color: rgba(18, 61, 43, 0.32);
  background: #ffffff;
}

html[data-theme="light"] .range-shell.is-live .shot-log-panel .assessment-button.is-selected,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-result-selector__option.is-selected,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .target-result-selector__option.is-selected,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-shape-selector__option.is-selected,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .strike-pattern-selector__option.is-selected {
  border-color: #5b6900;
  background: rgba(211, 240, 0, 0.24);
  color: #04150d;
  box-shadow: inset 0 0 0 1px #5b6900;
}

html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-result-selector__icon,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .target-result-selector__icon {
  background: currentColor;
  color: currentColor;
}

html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-shape-selector__icon,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .strike-pattern-selector__icon img,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-shape-selector__option.is-selected .shot-shape-selector__icon,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .strike-pattern-selector__option.is-selected .strike-pattern-selector__icon img {
  filter: none;
  opacity: 1;
}

@media (max-width: 820px) {
  .app-shell-mobile-actions {
    display: flex;
  }

  .app-shell-mobile-actions .app-mobile-menu-panel {
    position: fixed;
    top: calc(4.25rem + env(safe-area-inset-top));
    right: 0;
    left: 0;
    width: auto;
    max-width: none;
    padding: 0.9rem max(1rem, env(safe-area-inset-right)) 1rem max(1rem, env(safe-area-inset-left));
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .app-shell-mobile-actions .app-mobile-menu-panel .app-usage-card--mobile {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .app-shell-mobile-actions .appearance-menu--mobile {
    display: block;
  }

  .app-shell-topbar-actions .appearance-menu--desktop {
    display: none;
  }

  .app-shell-mobile-actions .appearance-menu--mobile .appearance-menu-summary {
    width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
  }

  .app-shell-mobile-actions .appearance-menu--mobile .appearance-menu-panel {
    position: fixed;
    top: calc(4.25rem + env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    left: max(0.75rem, env(safe-area-inset-left));
    width: auto;
    max-width: none;
  }

  .app-shell-mobile-actions .app-account-menu--mobile .app-account-menu-summary {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border-color: var(--ss-app-border);
    background: transparent;
  }

  .app-shell-mobile-actions .app-account-menu--mobile .app-account-menu-summary:hover,
  .app-shell-mobile-actions .app-account-menu--mobile[open] .app-account-menu-summary {
    border-color: var(--ss-lime);
    background: rgba(211, 240, 0, 0.08);
    transform: none;
  }

  .app-shell-mobile-actions .app-account-menu--mobile .app-account-menu-panel {
    position: fixed;
    top: calc(4.25rem + env(safe-area-inset-top));
    right: 0;
    left: 0;
    width: auto;
    max-width: none;
    padding: 0.85rem max(1rem, env(safe-area-inset-right)) 1rem max(1rem, env(safe-area-inset-left));
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .app-shell-mobile-actions .app-account-menu--mobile .app-shell-account-avatar {
    --avatar-size: 2.12rem;

    width: 2.12rem;
    height: 2.12rem;
    border: 1px solid var(--ss-app-border-strong);
    background: var(--ss-app-surface);
    color: var(--ss-app-text);
  }

  .app-shell-mobile-actions .app-account-menu--mobile .app-shell-account-avatar--image {
    border: 0;
  }

  .app-shell-mobile-actions .app-mobile-menu-panel .appearance-menu--mobile {
    width: 100%;
  }

  .app-shell-mobile-actions .app-mobile-menu-panel .appearance-menu--mobile .appearance-menu-summary {
    width: 100%;
  }

  .app-shell-mobile-actions .app-mobile-menu-panel .appearance-menu--mobile .appearance-menu-panel {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: none;
    margin-top: 0.65rem;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .app-shell--session .app-shell-topbar {
    min-height: 4rem;
  }

  .range-shell.is-live .coach-panel {
    padding-top: 0.42rem;
    padding-bottom: 1.25rem;
  }

  .range-shell.is-live .round-topbar {
    gap: 0.25rem;
    padding-bottom: 0.24rem;
  }

  .range-shell.is-live .live-round-stack {
    gap: 0.36rem;
    margin-top: 0.22rem;
  }

  .range-shell.is-live .shot-visual {
    height: clamp(12.25rem, 56vw, 13.75rem);
    margin-bottom: 0.04rem;
  }

  .range-shell.is-live .shot-visual-image {
    height: 100%;
    object-fit: cover;
  }

  .range-shell.is-live .shot-visual.is-pending-image {
    min-height: auto;
  }

  .range-shell.is-live .shot-hud-copy {
    gap: 0.22rem;
  }

  .range-shell.is-live .shot-readout {
    font-size: 1rem;
    line-height: 1.05;
  }

  .range-shell.is-live .shot-stakes-line {
    font-size: 0.76rem;
    line-height: 1.22;
  }

  .range-shell.is-live .transport-panel {
    padding-top: 0.52rem;
    padding-bottom: 0.52rem;
  }

  .range-shell.is-live .transport-primary-button {
    min-height: 2.85rem;
    padding-top: 0.46rem;
    padding-bottom: 0.46rem;
    padding-left: 2.8rem;
    font-size: 0.8rem;
  }

  .range-shell.is-live .transport-primary-button::before {
    left: 0.52rem;
    width: 1.75rem;
    height: 1.75rem;
    margin-top: -0.875rem;
  }

  .range-shell.is-live .transport-primary-button::after {
    margin-top: 0.12rem;
    font-size: 0.56rem;
  }

  .range-shell.is-live .club-decision-panel,
  .range-shell.is-live .shot-log-panel {
    padding: 0.56rem 0.7rem;
  }

  .range-shell.is-live .club-picker {
    gap: 0.3rem;
  }

  .range-shell.is-live .club-select {
    min-height: 2.58rem;
    padding-top: 0.48rem;
    padding-bottom: 0.48rem;
    font-size: 0.94rem;
  }

  .range-shell.is-live .shot-log-groups {
    gap: 0.65rem;
    margin-top: 0;
  }

  .range-shell.is-live .shot-log-group {
    gap: 0.18rem;
  }

  .range-shell.is-live .shot-log-group-label {
    font-size: 0.7rem;
  }

  .range-shell.is-live .shot-log-panel .result-controls {
    margin-top: 0.48rem;
  }

  .range-shell.is-live .shot-log-panel .result-controls-result {
    gap: 0.22rem;
  }

  .range-shell.is-live .shot-log-panel .result-controls-result.is-result-mode-no-penalty {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .range-shell.is-live .shot-log-panel .shot-result-selector__option {
    min-height: 3.65rem;
    padding: 0.34rem 0.08rem 0.3rem;
  }

  .range-shell.is-live .shot-log-panel .shot-result-selector__icon {
    width: 1.7rem;
    height: 1.7rem;
  }

  .range-shell.is-live .shot-log-panel .shot-result-selector__label {
    font-size: 0.52rem;
  }

  .range-shell.is-live .shot-log-panel .shot-result-selector__label,
  .range-shell.is-live .shot-log-panel .target-result-selector__label,
  .range-shell.is-live .shot-log-panel .shot-shape-selector__label,
  .range-shell.is-live .shot-log-panel .strike-pattern-selector__label {
    letter-spacing: 0.025em;
  }

  .range-shell.is-live .shot-log-panel .shot-shape-selector__label {
    font-size: 0.56rem;
  }

  .range-shell.is-live .shot-log-panel .strike-pattern-selector__label {
    font-size: 0.66rem;
  }

  .range-shell.is-live .shot-log-panel .strike-pattern-selector__option {
    gap: 0.22rem;
  }

  .range-shell.is-live .shot-log-panel .strike-pattern-selector__icon {
    width: clamp(2.28rem, 10vw, 2.55rem);
    height: clamp(2.28rem, 10vw, 2.55rem);
  }
}

@media (min-width: 641px) {
  .range-shell.is-live .coach-panel {
    padding-top: 0.42rem;
    padding-bottom: 1.25rem;
  }

  .range-shell.is-live .round-topbar {
    gap: 0.25rem;
    padding-bottom: 0.24rem;
  }

  .range-shell.is-live .live-round-stack {
    gap: 0.36rem;
    margin-top: 0.22rem;
  }

  .range-shell.is-live .shot-visual {
    height: clamp(12.25rem, 56vw, 13.75rem);
    margin-bottom: 0.04rem;
  }

  .range-shell.is-live .shot-visual-image {
    height: 100%;
    object-fit: cover;
  }

  .range-shell.is-live .shot-visual.is-pending-image {
    min-height: auto;
  }

  .range-shell.is-live .shot-hud-copy {
    gap: 0.22rem;
  }

  .range-shell.is-live .shot-readout {
    font-size: 1rem;
    line-height: 1.05;
  }

  .range-shell.is-live .shot-stakes-line {
    font-size: 0.76rem;
    line-height: 1.22;
  }

  .range-shell.is-live .transport-panel {
    padding-top: 0.52rem;
    padding-bottom: 0.52rem;
  }

  .range-shell.is-live .transport-primary-button {
    min-height: 2.85rem;
    padding-top: 0.46rem;
    padding-bottom: 0.46rem;
    padding-left: 2.8rem;
    font-size: 0.8rem;
  }

  .range-shell.is-live .transport-primary-button::before {
    left: 0.52rem;
    width: 1.75rem;
    height: 1.75rem;
    margin-top: -0.875rem;
  }

  .range-shell.is-live .transport-primary-button::after {
    margin-top: 0.12rem;
    font-size: 0.56rem;
  }

  .range-shell.is-live .club-decision-panel,
  .range-shell.is-live .shot-log-panel {
    padding: 0.56rem 0.7rem;
  }

  .range-shell.is-live .club-picker {
    gap: 0.3rem;
  }

  .range-shell.is-live .club-select {
    min-height: 2.58rem;
    padding-top: 0.48rem;
    padding-bottom: 0.48rem;
    font-size: 0.94rem;
  }

  .range-shell.is-live .shot-log-groups {
    gap: 0.65rem;
    margin-top: 0;
  }

  .range-shell.is-live .shot-log-group {
    gap: 0.18rem;
  }

  .range-shell.is-live .shot-log-group-label {
    font-size: 0.7rem;
  }

  .range-shell.is-live .shot-log-panel .result-controls {
    margin-top: 0.48rem;
  }

  .range-shell.is-live .shot-log-panel .result-controls-result {
    gap: 0.22rem;
  }

  .range-shell.is-live .shot-log-panel .result-controls-result.is-result-mode-no-penalty {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .range-shell.is-live .shot-log-panel .shot-result-selector__option {
    min-height: 3.65rem;
    padding: 0.34rem 0.08rem 0.3rem;
  }

  .range-shell.is-live .shot-log-panel .shot-result-selector__icon {
    width: 1.7rem;
    height: 1.7rem;
  }

  .range-shell.is-live .shot-log-panel .shot-result-selector__label {
    font-size: 0.52rem;
  }
}

/* Landing story refresh */
.landing-story-sections,
.landing-story-sections .landing-section {
  background: var(--ss-app-bg);
}

.landing-problem-section,
.landing-round-section,
.landing-beta-section {
  border-top: 1px solid var(--ss-app-border);
}

.landing-problem-intro,
.landing-round-intro,
.landing-beta-inner,
.landing-raking-board,
.landing-round-steps,
.landing-section-cta-row {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.landing-problem-intro,
.landing-round-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.landing-section-heading--problem {
  width: 100%;
  margin: 0;
}

.landing-story-title {
  display: grid;
  gap: 0.1rem;
  max-width: 11ch;
  color: var(--ss-app-text);
  font-size: clamp(2.8rem, 6.8vw, 5.4rem);
}

.landing-story-title span,
.landing-story-title em {
  display: block;
}

.landing-story-title em {
  color: var(--ss-lime);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  line-height: 0.9;
  text-transform: none;
}

.landing-problem-copy {
  max-width: 27rem;
  margin: 0;
  justify-self: start;
  color: var(--ss-app-text-muted);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.55;
}

.landing-raking-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--ss-app-border);
  background: var(--ss-app-border);
}

.landing-section-cta-row {
  display: flex;
  margin-top: 1.15rem;
}

.landing-section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.15rem;
  border-radius: 0;
  font-family: var(--mono-font);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.landing-raking-card {
  display: grid;
  align-content: start;
  gap: 1.25rem;
  min-height: 24rem;
  padding: clamp(2rem, 5vw, 3rem);
}

.landing-raking-card--routine {
  background: var(--ss-app-panel-light);
  color: #04150d;
}

.landing-raking-card--stripe {
  border-left: 1px solid var(--ss-lime);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.08), transparent 66%),
    #001d0f;
  color: var(--ss-mint);
}

.landing-card-kicker {
  margin: 0;
  color: #66786d;
  font-family: var(--mono-font);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.landing-raking-card--stripe .landing-card-kicker {
  color: var(--ss-lime);
}

.landing-raking-card h3,
.landing-round-card h3 {
  margin: 0;
  color: inherit;
  font-family: var(--ui-font);
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.landing-raking-card--routine h3 {
  color: #04150d;
}

.landing-raking-card--stripe h3 {
  color: #ffffff;
}

.landing-raking-card h3 em {
  color: var(--ss-lime);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.landing-evidence-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-evidence-list li {
  display: flex;
  gap: 0.78rem;
  align-items: flex-start;
  color: inherit;
  font-size: 1rem;
  line-height: 1.45;
}

.landing-evidence-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.17rem;
  border-radius: 999px;
  font-family: var(--ui-font);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.landing-evidence-list--miss .landing-evidence-icon {
  background: rgba(4, 21, 13, 0.08);
  color: #657469;
}

.landing-evidence-list--make .landing-evidence-icon {
  background: var(--ss-lime);
  color: var(--ss-lime-text);
}

.landing-round-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.landing-round-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 28rem;
  padding: clamp(1.65rem, 3vw, 2rem);
  border: 1px solid var(--ss-app-border);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.05), transparent 58%),
    var(--ss-app-surface);
  color: var(--ss-app-text);
}

.landing-round-card-number {
  color: var(--ss-lime);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(3.3rem, 6vw, 4.35rem);
  font-style: italic;
  font-weight: 600;
  line-height: 0.82;
}

.landing-round-card p {
  margin: 0;
  color: var(--ss-app-text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.landing-receipt {
  display: grid;
  gap: 0.42rem;
  margin-top: auto;
  padding: 1rem;
  border: 1px dashed var(--ss-app-border-strong);
  color: var(--ss-app-text);
  font-family: var(--mono-font);
  font-size: 0.86rem;
  line-height: 1.45;
}

.landing-receipt p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  justify-content: space-between;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.landing-receipt span {
  color: var(--ss-app-text-muted);
  text-transform: uppercase;
}

.landing-receipt strong {
  color: var(--ss-lime);
  font-family: var(--ui-font);
  font-weight: 900;
}

.landing-receipt--quote p,
.landing-receipt--read p {
  display: block;
}

.landing-receipt--quote strong,
.landing-receipt--read strong {
  display: inline;
}

.landing-beta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: center;
}

.landing-beta-copy {
  display: grid;
  gap: 1.2rem;
  justify-items: start;
}

.landing-beta-copy p {
  max-width: 31rem;
  margin: 0;
  color: var(--ss-app-text-muted);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.55;
}

html[data-theme="light"] .landing-raking-card--stripe {
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.1), transparent 66%),
    #001d0f;
}

html[data-theme="light"] .landing-raking-card--stripe h3,
html[data-theme="light"] .landing-raking-card--stripe .landing-evidence-list li {
  color: #ffffff;
}

html[data-theme="light"] .landing-raking-card--stripe .landing-evidence-list li {
  color: #d7eadc;
}

html[data-theme="light"] .landing-round-card {
  background: var(--ss-app-surface);
}

html[data-theme="light"] .landing-receipt strong,
html[data-theme="light"] .landing-story-title em,
html[data-theme="light"] .landing-raking-card h3 em,
html[data-theme="light"] .landing-round-card-number {
  color: #5b6900;
}

@media (max-width: 980px) {
  .landing-problem-intro,
  .landing-round-intro,
  .landing-beta-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .landing-problem-copy,
  .landing-beta-copy p {
    max-width: 34rem;
  }

  .landing-round-steps {
    grid-template-columns: 1fr;
  }

  .landing-round-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .landing-story-title {
    max-width: 10ch;
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .landing-raking-board {
    grid-template-columns: 1fr;
  }

  .landing-raking-card {
    min-height: auto;
  }

  .landing-raking-card--stripe {
    border-top: 1px solid var(--ss-lime);
    border-left: 0;
  }
}

@media (max-width: 420px) {
  .landing-raking-card,
  .landing-round-card {
    padding: 1.25rem;
  }

  .landing-receipt {
    padding: 0.9rem;
    font-size: 0.78rem;
  }
}

/* Pre-round membership prompt */
.email-unlock-card--pre-round,
html[data-theme] .email-unlock-card--pre-round {
  --pre-round-card-bg: #fffdf8;
  --pre-round-card-border: rgba(18, 61, 43, 0.16);
  --pre-round-card-text: #04150d;
  --pre-round-card-muted: #3f5147;
  --pre-round-card-soft: #657469;
  --pre-round-card-label: #5b6900;
  --pre-round-control-bg: #ffffff;
  --pre-round-control-text: #04150d;
  --pre-round-control-border: rgba(4, 21, 13, 0.18);
  --pre-round-placeholder: rgba(4, 21, 13, 0.38);

  gap: 0.92rem;
  width: min(31rem, 100%);
  border-color: var(--pre-round-card-border);
  border-top-color: var(--ss-lime);
  border-radius: 8px;
  background: var(--pre-round-card-bg);
  color: var(--pre-round-card-text);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .email-unlock-card--pre-round {
  --pre-round-card-bg:
    linear-gradient(180deg, rgba(211, 240, 0, 0.08), transparent 58%),
    #06110b;
  --pre-round-card-border: rgba(195, 236, 209, 0.28);
  --pre-round-card-text: #ffffff;
  --pre-round-card-muted: #c3ecd1;
  --pre-round-card-soft: #8fbea3;
  --pre-round-card-label: var(--ss-lime);
  --pre-round-control-bg: rgba(255, 255, 255, 0.08);
  --pre-round-control-text: #ffffff;
  --pre-round-control-border: rgba(195, 236, 209, 0.24);
  --pre-round-placeholder: rgba(195, 236, 209, 0.54);
}

html[data-theme="light"] .email-unlock-card--pre-round {
  --pre-round-card-bg: #ffffff;
  box-shadow: 0 24px 58px rgba(18, 61, 43, 0.18);
}

.email-unlock-card--pre-round .email-unlock-copy,
html[data-theme] .email-unlock-card--pre-round .email-unlock-copy {
  gap: 0.52rem;
}

.email-unlock-card--pre-round .panel-label,
html[data-theme] .email-unlock-card--pre-round .panel-label {
  color: var(--pre-round-card-label);
}

.email-unlock-card--pre-round .email-unlock-title,
html[data-theme] .email-unlock-card--pre-round .email-unlock-title {
  color: var(--pre-round-card-text);
  font-size: clamp(1.34rem, 2vw, 1.72rem);
}

.email-unlock-card--pre-round .email-unlock-text,
html[data-theme] .email-unlock-card--pre-round .email-unlock-text {
  color: var(--pre-round-card-muted);
}

.email-unlock-pass-status,
html[data-theme] .email-unlock-card--pre-round .email-unlock-pass-status {
  margin: 0.05rem 0 0;
  color: var(--pre-round-card-soft);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.email-unlock-card--pre-round .email-unlock-top-skip,
html[data-theme] .email-unlock-card--pre-round .email-unlock-top-skip,
.email-unlock-card--pre-round .email-unlock-sign-in-copy,
html[data-theme] .email-unlock-card--pre-round .email-unlock-sign-in-copy {
  color: var(--pre-round-card-soft);
}

.email-unlock-card--pre-round .email-unlock-top-skip:hover,
html[data-theme] .email-unlock-card--pre-round .email-unlock-top-skip:hover,
.email-unlock-card--pre-round .email-unlock-sign-in-copy a,
html[data-theme] .email-unlock-card--pre-round .email-unlock-sign-in-copy a {
  color: var(--pre-round-card-text);
}

.email-unlock-card--pre-round .email-signup-input,
html[data-theme] .email-unlock-card--pre-round .email-signup-input {
  border-color: var(--pre-round-control-border);
  background: var(--pre-round-control-bg);
  color: var(--pre-round-control-text);
}

.email-unlock-card--pre-round .auth-form-error,
html[data-theme] .email-unlock-card--pre-round .auth-form-error {
  border-color: rgba(255, 91, 58, 0.48);
  background: rgba(255, 91, 58, 0.12);
  color: var(--pre-round-card-text);
}

.email-unlock-card--pre-round .auth-form-error-title,
html[data-theme] .email-unlock-card--pre-round .auth-form-error-title {
  color: #ffb4a4;
}

.email-unlock-card--pre-round .auth-form-error-copy,
html[data-theme] .email-unlock-card--pre-round .auth-form-error-copy {
  color: var(--pre-round-card-text);
}

.email-unlock-card--pre-round .email-signup-input::placeholder,
html[data-theme] .email-unlock-card--pre-round .email-signup-input::placeholder {
  color: var(--pre-round-placeholder);
}

@media (max-width: 560px) {
  .email-unlock-card--pre-round .email-unlock-heading-row {
    display: grid;
    gap: 0.72rem;
  }

  .email-unlock-card--pre-round .email-unlock-top-skip {
    justify-self: start;
    margin-top: 0;
  }
}

/* Home setup modal */
html.has-pre-round-modal-open,
html.has-pre-round-modal-open body {
  overflow: hidden;
}

.range-session-setup-modal {
  display: grid;
}

.range-session-setup-modal .pre-round-offer-backdrop {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(4, 21, 13, 0.68)),
    rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.range-session-setup-card {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(22rem, 1fr);
  gap: 0;
  width: min(50rem, 100%);
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(195, 236, 209, 0.22);
  border-top: 1px solid rgba(211, 240, 0, 0.82);
  background: #06110b;
  color: var(--ss-app-text);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.44);
}

.range-session-setup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(195, 236, 209, 0.22);
  border-radius: 6px;
  background: rgba(3, 8, 5, 0.68);
  color: var(--ss-app-text);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.range-session-setup-close::before,
.range-session-setup-close::after {
  content: "";
  position: absolute;
  width: 0.85rem;
  height: 2px;
  background: currentColor;
}

.range-session-setup-close::before {
  transform: rotate(45deg);
}

.range-session-setup-close::after {
  transform: rotate(-45deg);
}

.range-session-setup-close:hover,
.range-session-setup-close:focus-visible {
  border-color: var(--ss-lime);
  background: rgba(211, 240, 0, 0.1);
  outline: none;
}

.range-session-setup-story,
.range-session-setup-form-panel {
  min-width: 0;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.range-session-setup-story {
  display: grid;
  align-content: start;
  gap: 0.95rem;
  background:
    radial-gradient(circle at 18% 4%, rgba(211, 240, 0, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(211, 240, 0, 0.08), transparent 58%),
    #020604;
  border-right: 1px solid rgba(195, 236, 209, 0.16);
  color: var(--ss-mint);
}

.range-session-setup-story .panel-label {
  color: var(--ss-lime);
}

.range-session-setup-story h2 {
  max-width: 11ch;
  margin: 0;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: clamp(2.05rem, 3vw, 3.05rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: uppercase;
}

.range-session-setup-story p {
  max-width: 24rem;
  margin: 0;
  color: var(--ss-mint);
  font-size: 1rem;
  line-height: 1.55;
}

.range-session-setup-receipt {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ss-line-mint);
}

.range-session-setup-receipt div {
  display: grid;
  gap: 0.32rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--ss-line-mint);
}

.range-session-setup-receipt dt {
  color: var(--ss-lime);
  font-family: var(--mono-font);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.range-session-setup-receipt dd {
  margin: 0;
  color: #ffffff;
  font-family: var(--ui-font);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
}

.range-session-setup-form-panel {
  display: grid;
  align-content: start;
  max-height: calc(100dvh - 2rem);
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(1.25rem, 3vw, 1.7rem);
  background: #08120d;
  scrollbar-width: thin;
  scrollbar-color: rgba(195, 236, 209, 0.3) transparent;
}

.range-session-setup-form-panel .hero-setup-heading {
  padding-right: 2.55rem;
}

.range-session-setup-form-panel .hero-setup-title {
  color: #04150d;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.range-session-setup-form-panel .setup-helper {
  color: #414843;
  font-size: 0.92rem;
}

.range-session-setup-form-panel .picker-label,
.range-session-setup-form-panel .panel-label {
  color: #5b6900;
}

.range-session-setup-form-panel .shot-count-input,
.range-session-setup-form-panel .voice-select,
.range-session-setup-form-panel .setup-game-select,
.range-session-setup-form-panel .handedness-option-copy,
.range-session-setup-form-panel .setup-toggle-option,
.range-session-setup-form-panel .advanced-settings,
.range-session-setup-form-panel .club-bag-chip,
.range-session-setup-form-panel .saved-bag-summary,
.range-session-setup-form-panel .saved-bag-chip {
  border-radius: 6px;
}

.range-session-setup-form-panel .hero-start-button {
  min-height: 3.15rem;
  border-radius: 6px;
  background: var(--ss-lime);
  color: var(--ss-lime-text);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.range-session-setup-form-panel .hero-start-button:hover,
.range-session-setup-form-panel .hero-start-button:focus-visible {
  background: var(--ss-lime-hover);
  color: var(--ss-lime-text);
}

.range-session-setup-form-panel .preview-voice-button {
  border-radius: 6px;
  background: rgba(211, 240, 0, 0.14);
  color: var(--ss-app-text);
}

@media (max-width: 860px) {
  .range-session-setup-card {
    grid-template-columns: 1fr;
    gap: 0;
    width: min(34rem, 100%);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .range-session-setup-story {
    padding-right: 4rem;
    border-right: 0;
    border-bottom: 1px solid rgba(195, 236, 209, 0.16);
  }

  .range-session-setup-form-panel {
    max-height: none;
    overflow: visible;
  }

  .range-session-setup-story h2 {
    max-width: 12ch;
  }
}

@media (max-width: 520px) {
  .range-session-setup-modal {
    align-items: stretch;
    padding: 0;
  }

  .range-session-setup-card {
    width: 100%;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .range-session-setup-story,
  .range-session-setup-form-panel {
    padding: 1rem;
  }

  .range-session-setup-story {
    gap: 0.58rem;
    padding-right: 3.5rem;
  }

  .range-session-setup-story h2 {
    max-width: 11ch;
    font-size: 1.72rem;
  }

  .range-session-setup-story p {
    font-size: 0.86rem;
    line-height: 1.38;
  }

  .range-session-setup-receipt {
    display: none;
  }

  .range-session-setup-form-panel .hero-setup-heading {
    padding-right: 0;
  }
}

/* Range session setup form */
html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) {
  --setup-panel-background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.08), transparent 54%),
    var(--ss-app-surface);
  --setup-text: var(--ss-app-text);
  --setup-muted: var(--ss-app-text-muted);
  --setup-subtle: var(--ss-app-text-soft);
  --setup-label: var(--ss-lime);
  --setup-border: var(--ss-app-border);
  --setup-border-strong: var(--ss-app-border-strong);
  --setup-control-background: var(--ss-app-surface-soft);
  --setup-control-hover-background: rgba(211, 240, 0, 0.08);
  --setup-placeholder: rgba(195, 236, 209, 0.48);
  --setup-select-arrow: rgba(195, 236, 209, 0.78);
  --setup-toggle-background: rgba(195, 236, 209, 0.18);
  --setup-selected-background: var(--ss-lime);
  --setup-selected-border: var(--ss-lime);
  --setup-selected-text: var(--ss-lime-text);
  --setup-error-background: rgba(255, 91, 58, 0.1);
  --setup-error-text: var(--ss-app-text);

  border-color: var(--setup-border);
  border-top-color: var(--ss-lime);
  background: var(--setup-panel-background);
  color: var(--setup-text);
  box-shadow: none;
}

html[data-theme="light"] :is(.new-round-setup-panel, .range-session-setup-form-panel) {
  --setup-panel-background: #ffffff;
  --setup-text: #04150d;
  --setup-muted: #3f5147;
  --setup-subtle: #657469;
  --setup-label: #5b6900;
  --setup-border: rgba(18, 61, 43, 0.16);
  --setup-border-strong: rgba(18, 61, 43, 0.32);
  --setup-control-background: #ffffff;
  --setup-control-hover-background: #f6f8f2;
  --setup-placeholder: rgba(4, 21, 13, 0.36);
  --setup-select-arrow: rgba(4, 21, 13, 0.68);
  --setup-toggle-background: rgba(4, 21, 13, 0.12);
  --setup-selected-background: #eef7d4;
  --setup-selected-border: #04150d;
  --setup-selected-text: #04150d;
  --setup-error-text: #5a2118;

  box-shadow: 0 18px 42px rgba(18, 61, 43, 0.08);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .hero-setup-title,
html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-game-summary strong,
html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-game-menu-selected strong,
html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-game-menu-option strong,
html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .advanced-settings-summary,
html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-toggle-title,
html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .saved-bag-link {
  color: var(--setup-text);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) :is(.setup-helper, .setup-game-summary p, .setup-game-menu-selected span, .setup-game-menu-option span, .setup-game-description, .setup-toggle-description, .shot-count-entry-copy, .shot-count-note) {
  color: var(--setup-muted);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) :is(.picker-label, .setup-game-summary span, .panel-label) {
  color: var(--setup-label);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-round-form :is(.setup-game-summary, .setup-game-menu-summary, .setup-game-menu-option, .shot-count-input, .voice-select, .setup-game-select, .handedness-option-copy, .advanced-settings, .setup-toggle-option, .club-bag-chip, .saved-bag-summary, .saved-bag-chip, .input-shell-badge) {
  border-radius: 0;
  border-color: var(--setup-border);
  background-color: var(--setup-control-background);
  color: var(--setup-text);
  box-shadow: none;
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-round-form :is(.setup-game-summary, .setup-game-menu-summary, .setup-game-menu-option, .advanced-settings, .setup-toggle-option, .club-bag-chip, .saved-bag-summary, .saved-bag-chip) {
  background: var(--setup-control-background);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-round-form :is(.shot-count-input:hover, .voice-select:hover, .setup-game-select:hover, .setup-game-menu-summary:hover, .setup-game-menu[open] .setup-game-menu-summary, .setup-game-menu-option:hover, .handedness-option:hover .handedness-option-copy, .setup-toggle-option:hover, .club-bag-option:hover .club-bag-chip) {
  background-color: var(--setup-control-hover-background);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .shot-count-input::placeholder {
  color: var(--setup-placeholder);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .voice-select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--setup-select-arrow) 50%),
    linear-gradient(135deg, var(--setup-select-arrow) 50%, transparent 50%);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-game-menu-summary {
  color: var(--setup-select-arrow);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-game-menu-options {
  border-color: var(--setup-border-strong);
  background: var(--setup-panel-background);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-round-form :is(.handedness-option input:checked + .handedness-option-copy, .club-bag-input:checked + .club-bag-chip, .setup-game-menu-option.is-selected) {
  border-color: var(--setup-selected-border);
  background: var(--setup-selected-background);
  color: var(--setup-selected-text);
  box-shadow: none;
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-game-menu-option.is-selected :is(strong, span) {
  color: var(--setup-selected-text);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-toggle-control {
  background: var(--setup-toggle-background);
  box-shadow: inset 0 0 0 1px var(--setup-border);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-toggle-control::before {
  background: #ffffff;
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-toggle-input:checked + .setup-toggle-control {
  background: var(--ss-lime);
  box-shadow: inset 0 0 0 1px rgba(25, 30, 0, 0.18);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-toggle-input:checked ~ .setup-toggle-copy .setup-toggle-title {
  color: var(--setup-text);
  background: transparent;
  box-shadow: none;
  justify-self: start;
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) :is(.advanced-settings-cog, .setup-info-popover summary, .preview-voice-button) {
  border-color: var(--setup-border);
  background: var(--setup-control-background);
  color: var(--setup-text);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) :is(.advanced-settings-summary:hover, .advanced-settings[open] .advanced-settings-summary, .advanced-settings-summary:hover .advanced-settings-cog, .advanced-settings[open] .advanced-settings-cog, .setup-info-popover summary:hover, .preview-voice-button:hover) {
  border-color: var(--setup-border-strong);
  background: var(--setup-control-hover-background);
  color: var(--setup-text);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-info-popover p {
  border-color: var(--setup-border-strong);
  background: var(--setup-panel-background);
  color: var(--setup-text);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-round-form :is(.shot-count-input:focus, .voice-select:focus, .setup-game-select:focus, .setup-game-menu-summary:focus-visible, .setup-game-menu-option:focus-visible, .advanced-settings-summary:focus-visible, .setup-toggle-input:focus-visible + .setup-toggle-control, .handedness-option input:focus-visible + .handedness-option-copy, .club-bag-input:focus-visible + .club-bag-chip) {
  outline: none;
  border-color: var(--ss-lime);
  box-shadow: 0 0 0 3px rgba(211, 240, 0, 0.2);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-round-form :is(.shot-count-input[aria-invalid="true"], .auth-field.is-invalid .shot-count-input) {
  border-color: var(--ss-blood);
  box-shadow: 0 0 0 3px rgba(255, 91, 58, 0.16);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-round-form .setup-error {
  border-radius: 0;
  border-color: rgba(255, 91, 58, 0.46);
  background: var(--setup-error-background);
  color: var(--setup-error-text);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .setup-round-form .auth-form-error-copy {
  color: var(--setup-error-text);
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .hero-start-button {
  border-radius: 0;
  background: var(--ss-lime);
  color: var(--ss-lime-text);
  box-shadow: none;
}

html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .hero-start-button:hover,
html[data-theme] :is(.new-round-setup-panel, .range-session-setup-form-panel) .hero-start-button:focus-visible {
  background: var(--ss-lime-hover);
  color: var(--ss-lime-text);
}

html[data-theme] .range-session-setup-card {
  background: #06110b;
  border-color: rgba(195, 236, 209, 0.22);
  border-top-color: rgba(211, 240, 0, 0.82);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.44);
}

html[data-theme] .range-session-setup-form-panel {
  --setup-panel-background: #08120d;
  --setup-text: var(--ss-app-text);
  --setup-muted: var(--ss-app-text-muted);
  --setup-label: var(--ss-lime);
  --setup-border: rgba(195, 236, 209, 0.18);
  --setup-border-strong: rgba(195, 236, 209, 0.32);
  --setup-control-background: rgba(255, 255, 255, 0.035);
  --setup-control-hover-background: rgba(211, 240, 0, 0.08);
  --setup-selected-background: var(--ss-lime);
  --setup-selected-border: var(--ss-lime);
  --setup-selected-text: var(--ss-lime-text);

  border: 0;
  background: var(--setup-panel-background);
  box-shadow: none;
}

html[data-theme] .range-session-setup-form-panel .setup-round-form {
  gap: 0.72rem;
}

html[data-theme] .range-session-setup-form-panel .setup-round-form :is(.setup-game-summary, .setup-game-menu-summary, .setup-game-menu-option, .shot-count-input, .voice-select, .setup-game-select, .handedness-option-copy, .advanced-settings, .setup-toggle-option, .club-bag-chip, .saved-bag-summary, .saved-bag-chip, .input-shell-badge),
html[data-theme] .range-session-setup-form-panel .hero-start-button,
html[data-theme] .range-session-setup-form-panel .preview-voice-button {
  border-radius: 6px;
}

html[data-theme] .range-session-setup-form-panel .setup-game-summary {
  padding: 0.75rem 0.88rem;
}

html[data-theme] .range-session-setup-form-panel :is(.shot-count-input, .voice-select, .setup-game-select, .setup-game-menu-summary, .handedness-option-copy, .advanced-settings-summary, .preview-voice-button) {
  min-height: 2.9rem;
}

html[data-theme] .range-session-setup-form-panel .hero-start-button {
  min-height: 3.12rem;
}

/* Static page refresh */
.site-page--static {
  min-height: calc(100vh - 5rem);
  background: var(--ss-app-bg);
  color: var(--ss-app-text);
}

.site-page--static::before {
  background: var(--ss-grid);
  opacity: 0.28;
}

.site-page--static .site-page-shell {
  width: min(1040px, 100%);
  gap: 0.85rem;
  padding: clamp(1rem, 3.4vw, 2.4rem) 1.25rem clamp(2.25rem, 5vw, 4rem);
}

.site-page--static .site-page-hero,
.site-page--static .site-page-panel {
  border-radius: 0;
  box-shadow: none;
}

.site-page--static .site-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(16rem, 0.75fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: end;
  padding: clamp(1rem, 2.6vw, 1.55rem);
  border: 1px solid var(--ss-app-border);
  border-top: 2px solid var(--ss-lime);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.08), transparent 72%),
    var(--ss-app-surface);
  color: var(--ss-app-text);
}

.site-page--static .site-page-hero::before {
  background: var(--ss-grid);
  opacity: 0.36;
}

.site-page--static .site-page-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.site-page--static .site-page-hero h1 {
  max-width: min(100%, 16ch);
  color: var(--ss-app-text);
  font-size: clamp(1.95rem, 4.2vw, 3.05rem);
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}

.site-page--static .site-page-lede {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  color: var(--ss-app-text-muted);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.5;
}

.site-page--static .site-page-panel {
  border-color: var(--ss-app-border);
  background: var(--ss-app-surface);
  color: var(--ss-app-text);
}

.site-page--static .site-page-section {
  gap: 0.72rem;
  padding: clamp(1rem, 2.4vw, 1.55rem);
}

.site-page--static .site-page-section--lead {
  border-top: 1px solid var(--ss-lime);
}

.site-page--static .site-page-section + .site-page-section {
  border-top-color: var(--ss-app-border);
}

.site-page--static .site-page-section h2 {
  color: var(--ss-app-text);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.site-page--static .site-page-section p,
.site-page--static .site-page-list,
.site-page--static .site-page-list li {
  color: var(--ss-app-text-muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.site-page--static .site-page-list {
  gap: 0.55rem;
  padding-left: 1.15rem;
}

.site-page--static .site-page-list--steps {
  counter-reset: static-page-step;
  list-style: none;
  padding-left: 0;
}

.site-page--static .site-page-list--steps li {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.site-page--static .site-page-list--steps li::before {
  counter-increment: static-page-step;
  content: counter(static-page-step, decimal-leading-zero);
  color: var(--ss-lime);
  font-family: var(--mono-font);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.55;
}

.site-page--static .site-page-meta,
.site-page--static .site-page-kicker {
  color: var(--ss-lime);
  letter-spacing: 0;
}

.site-page--static .site-page-meta {
  color: var(--ss-lime) !important;
}

.site-page--static .site-page-link {
  color: var(--ss-lime);
  text-decoration-color: rgba(211, 240, 0, 0.5);
}

.site-page--static .site-page-link:hover,
.site-page--static .site-page-link:focus-visible {
  color: var(--ss-lime-hover);
  text-decoration-color: var(--ss-lime-hover);
}

html[data-theme="light"] .site-page--static::before {
  background:
    repeating-linear-gradient(0deg, rgba(18, 61, 43, 0.045) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(18, 61, 43, 0.045) 0 1px, transparent 1px 32px);
  opacity: 0.7;
}

html[data-theme="light"] .site-page--static .site-page-hero {
  border-color: var(--ss-app-border);
  border-top-color: #5b6900;
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.16), transparent 74%),
    var(--ss-app-surface);
  color: #04150d;
}

html[data-theme="light"] .site-page--static .site-page-hero::before {
  background:
    repeating-linear-gradient(0deg, rgba(18, 61, 43, 0.04) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(18, 61, 43, 0.04) 0 1px, transparent 1px 32px);
  opacity: 0.9;
}

html[data-theme="light"] .site-page--static .site-page-hero h1,
html[data-theme="light"] .site-page--static .site-page-section h2 {
  color: #04150d;
}

html[data-theme="light"] .site-page--static .site-page-lede,
html[data-theme="light"] .site-page--static .site-page-section p,
html[data-theme="light"] .site-page--static .site-page-list,
html[data-theme="light"] .site-page--static .site-page-list li {
  color: #3f5147;
}

html[data-theme="light"] .site-page--static .site-page-meta,
html[data-theme="light"] .site-page--static .site-page-kicker,
html[data-theme="light"] .site-page--static .site-page-link,
html[data-theme="light"] .site-page--static .site-page-list--steps li::before {
  color: #5b6900;
}

html[data-theme="light"] .site-page--static .site-page-meta {
  color: #5b6900 !important;
}

html[data-theme="light"] .site-page--static .site-page-link {
  text-decoration-color: rgba(91, 105, 0, 0.4);
}

@media (max-width: 760px) {
  .site-page--static .site-page-shell {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .site-page--static .site-page-hero {
    grid-template-columns: 1fr;
    gap: 0.72rem;
    align-items: start;
    padding: 0.95rem;
  }

  .site-page--static .site-page-hero h1 {
    max-width: min(100%, 16ch);
    font-size: clamp(1.85rem, 8.4vw, 2.45rem);
  }
}

/* Practice home polish */
.app-shell--history .app-shell-live-card-wrap {
  width: 100%;
  padding: 0;
  background: var(--ss-app-bg, #faf7ef);
}

.app-shell--history .global-active-round-card {
  --active-round-pulse-shadow: rgba(166, 64, 45, 0.2);
  --active-round-pulse-ring: rgba(166, 64, 45, 0.26);
  --active-round-pulse-fade: rgba(166, 64, 45, 0);

  min-height: 3.15rem;
  padding: 0.55rem 0.58rem 0.55rem 0.72rem;
  border-color: var(--ss-app-border, rgba(18, 61, 43, 0.16));
  border-radius: 8px;
  background: var(--ss-app-surface-raised, #ffffff);
  color: var(--ss-app-text, #04150d);
  box-shadow: 0 10px 24px rgba(4, 21, 13, 0.08);
}

.app-shell--history .global-active-round-card__signal {
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid rgba(166, 64, 45, 0.16);
  background: rgba(166, 64, 45, 0.08);
}

.app-shell--history .global-active-round-card__pulse {
  width: 0.46rem;
  height: 0.46rem;
  background: var(--ss-blood);
  box-shadow: 0 0 0 0 var(--active-round-pulse-shadow);
  animation: recording-pulse 1.8s ease-out infinite;
}

.app-shell--history .global-active-round-card__pulse::after {
  display: block;
  inset: -0.34rem;
  border-color: var(--active-round-pulse-ring);
  animation: recording-ring 1.8s ease-out infinite;
}

.app-shell--history .global-active-round-card__copy {
  gap: 0.42rem;
}

.app-shell--history .global-active-round-card__kicker {
  color: #5b6900;
  font-family: var(--label-font);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.app-shell--history .global-active-round-card__meta {
  color: var(--ss-app-text-muted, #3f5147);
  font-size: 0.9rem;
  font-weight: 650;
}

.app-shell--history .global-active-round-card__button {
  min-height: 2.1rem;
  padding: 0.5rem 0.72rem;
  border-radius: 8px;
  font-family: var(--label-font);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  box-shadow: none;
}

.practice-home-page {
  overflow: visible;
}

.practice-home-page::before {
  background:
    linear-gradient(180deg, rgba(18, 61, 43, 0.055), transparent 15rem),
    repeating-linear-gradient(90deg, rgba(18, 61, 43, 0.035) 0 1px, transparent 1px 96px);
  opacity: 0.82;
}

.practice-home-page .practice-history-shell {
  width: min(1040px, 100%);
  padding-top: clamp(1.35rem, 4vw, 2.6rem);
}

.practice-home-page .practice-session-picker {
  margin-top: 0;
}

.practice-home-page .practice-session-picker .practice-history-section-heading {
  max-width: 36rem;
  margin-bottom: clamp(0.95rem, 3vw, 1.35rem);
}

.practice-home-page .practice-session-picker .practice-history-section-heading h1 {
  color: var(--ss-app-text, #04150d);
  font-size: clamp(2rem, 9vw, 3.15rem);
  font-weight: 850;
  line-height: 1;
  text-transform: none;
}

.practice-home-page .practice-game-picker {
  gap: clamp(0.9rem, 2.4vw, 1.2rem);
}

.practice-home-page .practice-game-recommendation {
  gap: 0.9rem;
  padding: clamp(0.95rem, 3vw, 1.2rem);
  border-color: rgba(18, 61, 43, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.08), transparent 72%),
    #123d2b;
  box-shadow: 0 16px 36px rgba(4, 21, 13, 0.16);
}

.practice-home-page .practice-game-recommendation span {
  padding: 0.26rem 0.52rem;
  border-color: rgba(211, 240, 0, 0.38);
  border-radius: 999px;
  background: rgba(211, 240, 0, 0.1);
  color: #d3f000;
  font-family: var(--label-font);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.practice-home-page .practice-game-recommendation h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 7vw, 2.35rem);
  font-weight: 850;
  line-height: 1;
  text-transform: none;
}

.practice-home-page .practice-game-recommendation p {
  max-width: 44rem;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(0.98rem, 3.8vw, 1.12rem);
  line-height: 1.42;
}

.practice-home-page .practice-game-recommendation-action {
  min-height: 3rem;
  border-radius: 8px;
  font-family: var(--label-font);
  letter-spacing: 0.08em;
}

.practice-home-page .practice-game-options-heading {
  gap: 0.32rem;
}

.practice-home-page .practice-game-options-heading span {
  color: #5b6900;
  font-family: var(--label-font);
  letter-spacing: 0.08em;
}

.practice-home-page .practice-game-options-heading p {
  max-width: 38rem;
  color: var(--ss-app-text-muted, #3f5147);
  font-size: 0.98rem;
}

.practice-home-page .practice-session-card-grid {
  gap: 0.75rem;
}

.practice-home-page .practice-session-type-card {
  min-height: auto;
  padding: 0.95rem;
  border-color: var(--ss-app-border, rgba(18, 61, 43, 0.16));
  border-radius: 8px;
  background: var(--ss-app-surface-raised, #ffffff);
  box-shadow: none;
}

.practice-home-page .practice-session-type-card.is-selected {
  border-color: rgba(91, 105, 0, 0.44);
  box-shadow: inset 0 0 0 1px rgba(211, 240, 0, 0.7);
  transform: none;
}

.practice-home-page .practice-session-type-card h3 {
  color: var(--ss-app-text, #04150d);
  font-size: clamp(1.15rem, 5vw, 1.45rem);
  font-weight: 820;
  line-height: 1.08;
}

.practice-home-page .practice-session-type-card p {
  color: var(--ss-app-text-muted, #3f5147);
  font-size: clamp(0.95rem, 4vw, 1.02rem);
  line-height: 1.38;
}

html[data-theme="dark"] .app-shell--history .global-active-round-card {
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.04), transparent 70%),
    rgba(4, 21, 13, 0.98);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .app-shell--history .global-active-round-card__kicker,
html[data-theme="dark"] .practice-home-page .practice-game-options-heading span {
  color: var(--ss-lime);
}

html[data-theme="dark"] .practice-home-page .practice-session-picker .practice-history-section-heading h1 {
  color: #ffffff;
}

html[data-theme="dark"] .practice-home-page .practice-game-options-heading p,
html[data-theme="dark"] .app-shell--history .global-active-round-card__meta {
  color: var(--ss-mint);
}

html[data-theme="dark"] .practice-home-page .practice-session-type-card {
  background: rgba(255, 255, 255, 0.035);
}

html[data-theme="dark"] .practice-home-page .practice-session-type-card h3 {
  color: #ffffff;
}

html[data-theme="dark"] .practice-home-page .practice-session-type-card p {
  color: var(--ss-mint);
}

@media (min-width: 720px) {
  .practice-home-page .practice-game-recommendation {
    grid-template-columns: minmax(0, 1fr) minmax(8.5rem, 11rem);
    align-items: center;
  }
}

@media (max-width: 820px) {
  .app-shell--history .app-shell-live-card-wrap {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .app-shell--history .app-shell-live-card-wrap {
    padding-right: 0;
    padding-left: 0;
  }

  .app-shell--history .global-active-round-card {
    gap: 0.44rem;
    min-height: 3rem;
    padding: 0.5rem;
  }

  .app-shell--history .global-active-round-card__signal {
    width: 1.42rem;
    height: 1.42rem;
  }

  .app-shell--history .global-active-round-card__copy {
    display: grid;
    gap: 0.1rem;
  }

  .app-shell--history .global-active-round-card__meta {
    font-size: 0.78rem;
  }

  .practice-home-page .practice-history-shell {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .practice-home-page .practice-game-recommendation {
    padding: 1rem;
  }

  .practice-home-page .practice-game-recommendation-action {
    min-height: 2.85rem;
  }
}

/* Keep the practice home backdrop continuous across the active-round strip. */
.app-shell--history {
  --practice-home-bg: var(--ss-app-bg, #faf7ef);
  --practice-home-grid: rgba(18, 61, 43, 0.035);
  --practice-home-wash: rgba(18, 61, 43, 0.055);

  background:
    linear-gradient(180deg, var(--practice-home-wash), transparent 15rem),
    repeating-linear-gradient(90deg, var(--practice-home-grid) 0 1px, transparent 1px 96px),
    var(--practice-home-bg);
}

html[data-theme] .app-shell.app-shell--history {
  background:
    linear-gradient(180deg, var(--practice-home-wash), transparent 15rem),
    repeating-linear-gradient(90deg, var(--practice-home-grid) 0 1px, transparent 1px 96px),
    var(--practice-home-bg);
}

html[data-theme="dark"] .app-shell--history {
  --practice-home-grid: rgba(195, 236, 209, 0.045);
  --practice-home-wash: rgba(211, 240, 0, 0.035);
}

html[data-theme] .app-shell--history .app-shell-main,
.app-shell--history .app-shell-live-card-wrap,
html[data-theme] .practice-home-page,
.practice-home-page {
  background: transparent;
}

.practice-home-page::before {
  display: none;
}

/* Active session marquee */
.global-active-round-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.global-active-round-card-link:focus-visible {
  outline: none;
}

.global-active-round-card-link:focus-visible .global-active-round-card--marquee {
  box-shadow:
    inset 0 2px 0 rgba(211, 240, 0, 0.86),
    inset 0 -2px 0 rgba(211, 240, 0, 0.86),
    0 18px 38px -18px rgba(211, 240, 0, 0.42);
}

.global-active-round-card-link:hover .global-active-round-card--marquee {
  border-color: #eeff52;
  box-shadow:
    0 -10px 28px -13px rgba(211, 240, 0, 0.48),
    0 16px 38px -16px rgba(211, 240, 0, 0.46);
}

.global-active-round-card.global-active-round-card--marquee,
.app-shell--landing .global-active-round-card.global-active-round-card--marquee,
.app-shell--history .global-active-round-card.global-active-round-card--marquee,
html[data-theme] .global-active-round-card.global-active-round-card--marquee,
html[data-theme] .app-shell--history .global-active-round-card.global-active-round-card--marquee {
  --active-round-pulse-color: var(--ss-blood, #ff5b3a);
  --active-round-pulse-shadow: rgba(255, 91, 58, 0.42);
  --active-round-pulse-ring: rgba(255, 91, 58, 0.28);
  --active-round-pulse-fade: rgba(255, 91, 58, 0);
  --active-session-marquee-bg: #000000;
  --active-session-marquee-lime: var(--ss-lime, #d3f000);
  --active-session-marquee-text: rgba(195, 236, 209, 0.74);
  --active-session-marquee-soft: rgba(211, 240, 0, 0.16);

  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
  min-height: 3.85rem;
  padding: 0.58rem 0.72rem;
  border-color: var(--active-session-marquee-lime);
  border-right-width: 0;
  border-left-width: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.06), transparent 70%),
    var(--active-session-marquee-bg);
  color: #ffffff;
  box-shadow:
    0 -10px 28px -14px rgba(211, 240, 0, 0.34),
    0 14px 34px -16px rgba(211, 240, 0, 0.32);
  overflow: hidden;
}

.global-active-round-card--marquee .global-active-round-card__signal {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  width: auto;
  height: auto;
  min-width: max-content;
  background: transparent;
}

.global-active-round-card--marquee .global-active-round-card__pulse {
  width: 0.52rem;
  height: 0.52rem;
  background: var(--active-round-pulse-color);
}

.active-session-marquee-status {
  color: var(--active-session-marquee-lime);
  font-family: var(--mono-font);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-shadow:
    0 0 14px rgba(255, 91, 58, 0.32),
    0 0 10px rgba(211, 240, 0, 0.28);
  text-transform: uppercase;
  white-space: nowrap;
}

.active-session-marquee {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.active-session-marquee::before,
.active-session-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(5.25rem, 16vw);
  pointer-events: none;
}

.active-session-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--active-session-marquee-bg) 0%, rgba(0, 0, 0, 0) 100%);
}

.active-session-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--active-session-marquee-bg) 0%, rgba(0, 0, 0, 0) 100%);
}

.active-session-marquee-track {
  --active-session-marquee-translate: -50%;

  display: flex;
  flex: 0 0 auto;
  width: max-content;
  animation: active-session-marquee-scroll 42s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.active-session-marquee-item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1.35rem;
  border-right: 1px solid var(--active-session-marquee-soft);
  color: var(--active-session-marquee-text);
  font-family: var(--mono-font);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1;
  text-shadow: 0 0 12px rgba(211, 240, 0, 0.28);
  text-transform: uppercase;
  white-space: nowrap;
}

.active-session-marquee-item.is-live {
  color: var(--active-session-marquee-lime);
  text-shadow:
    0 0 14px rgba(211, 240, 0, 0.56),
    0 0 2px rgba(211, 240, 0, 0.9);
}

@keyframes active-session-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translate3d(var(--active-session-marquee-translate), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .active-session-marquee-track {
    animation: none;
    transform: translateX(0);
  }

  .global-active-round-card--marquee .global-active-round-card__pulse,
  .global-active-round-card--marquee .global-active-round-card__pulse::after {
    animation: none;
  }
}

@media (max-width: 640px) {
  .global-active-round-card.global-active-round-card--marquee,
  .app-shell--history .global-active-round-card.global-active-round-card--marquee,
  html[data-theme] .global-active-round-card.global-active-round-card--marquee,
  html[data-theme] .app-shell--history .global-active-round-card.global-active-round-card--marquee {
    gap: 0.48rem;
    min-height: 3.45rem;
    padding: 0.46rem 0.5rem;
    border-right-width: 0;
    border-left-width: 0;
    box-shadow:
      0 -10px 28px -14px rgba(211, 240, 0, 0.34),
      0 14px 34px -16px rgba(211, 240, 0, 0.32);
  }

  .global-active-round-card--marquee .global-active-round-card__signal {
    gap: 0.34rem;
  }

  .active-session-marquee-status {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .active-session-marquee-item {
    padding: 0 0.95rem;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

}

/* Live result location layout */
@media (min-width: 641px) {
  .range-shell.is-live {
    width: min(28rem, calc(100% - 1rem));
  }
}

.range-shell.is-live .shot-log-panel .result-controls-target {
  width: 100%;
}

.range-shell.is-live .shot-log-panel .target-result-selector {
  --target-grid-gap: clamp(0.22rem, 0.72vw, 0.32rem);
  --target-side-rail-size: clamp(1.8rem, 4.8vw, 2.15rem);
  --target-rail-height: clamp(1.12rem, 2.8vw, 1.38rem);
  --target-playable-row-size: clamp(4.5rem, 13vw, 5.8rem);
  --target-miss-empty-row-size: clamp(1.45rem, 3.8vw, 2rem);
  --target-icon-size: clamp(2.2rem, calc(var(--target-playable-row-size) * 0.54), 3.65rem);

  align-content: start;
  justify-content: stretch;
  width: 100%;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-playable {
  --target-grid-gap: clamp(0.16rem, 0.72vw, 0.26rem);
  --target-playable-rail-size: clamp(1.85rem, 8vw, 2.05rem);
  --target-icon-size: clamp(2.75rem, 16vw, 3.8rem);

  aspect-ratio: 1;
  grid-template-columns: var(--target-playable-rail-size) repeat(3, minmax(0, 1fr)) var(--target-playable-rail-size);
  grid-template-rows: var(--target-playable-rail-size) repeat(3, minmax(0, 1fr)) var(--target-playable-rail-size);
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-playable .target-result-selector__option--far-long {
  grid-column: 2 / 5;
  grid-row: 1;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-playable .target-result-selector__option--far-short {
  grid-column: 2 / 5;
  grid-row: 5;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-playable .target-result-selector__option--far-left {
  grid-column: 1;
  grid-row: 1 / 6;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-playable .target-result-selector__option--far-right {
  grid-column: 5;
  grid-row: 1 / 6;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-stripe {
  --target-icon-size: clamp(2.15rem, 11vw, 3.25rem);

  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  justify-content: stretch;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty {
  --target-icon-size: clamp(1.9rem, 8vw, 2.85rem);

  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(2.4rem, auto) minmax(4.4rem, auto) minmax(2.4rem, auto);
  justify-content: stretch;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-playable :is(
  .target-result-selector__option--long-left,
  .target-result-selector__option--long,
  .target-result-selector__option--long-right,
  .target-result-selector__option--left,
  .target-result-selector__option--on-target,
  .target-result-selector__option--right,
  .target-result-selector__option--short-left,
  .target-result-selector__option--short,
  .target-result-selector__option--short-right
) {
  aspect-ratio: auto;
  height: 100%;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-stripe .target-result-selector__option {
  aspect-ratio: 1;
  height: auto;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss .target-result-selector__option,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty .target-result-selector__option {
  min-height: 100%;
  padding: 0.42rem 0.28rem;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss .target-result-selector__option--far-long,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty .target-result-selector__option--far-long {
  grid-column: 1 / -1;
  grid-row: 1;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss .target-result-selector__option--far-left,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty .target-result-selector__option--far-left {
  grid-column: 1;
  grid-row: 2;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss .target-result-selector__option--on-target,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty .target-result-selector__option--on-target {
  grid-column: 2;
  grid-row: 2;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss .target-result-selector__option--far-right,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty .target-result-selector__option--far-right {
  grid-column: 3;
  grid-row: 2;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss .target-result-selector__option--far-short,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty .target-result-selector__option--far-short {
  grid-column: 1 / -1;
  grid-row: 3;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss .target-result-selector__option--on-target .target-result-selector__icon,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty .target-result-selector__option--on-target .target-result-selector__icon {
  display: none;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss .target-result-selector__option--far-left .target-result-selector__label,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss .target-result-selector__option--far-right .target-result-selector__label,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty .target-result-selector__option--far-left .target-result-selector__label,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty .target-result-selector__option--far-right .target-result-selector__label {
  width: auto;
  max-width: 100%;
  transform: none;
  white-space: normal;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss .target-result-selector__label,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty .target-result-selector__label {
  font-size: clamp(0.58rem, 2.6vw, 0.74rem);
}

.range-shell.is-live .shot-log-panel .target-result-selector__icon {
  width: var(--target-icon-size);
  min-width: 1.95rem;
  max-width: 3.85rem;
  height: var(--target-icon-size);
  min-height: 1.95rem;
  max-height: 3.85rem;
}

.range-shell.is-live .shot-log-panel .target-result-selector__option--far-long .target-result-selector__label,
.range-shell.is-live .shot-log-panel .target-result-selector__option--far-short .target-result-selector__label {
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.range-shell.is-live .shot-log-panel .target-result-selector__option--far-left .target-result-selector__label,
.range-shell.is-live .shot-log-panel .target-result-selector__option--far-right .target-result-selector__label {
  width: max-content;
  max-width: none;
  overflow-wrap: normal;
  transform: rotate(-90deg);
  transform-origin: center;
  white-space: nowrap;
  word-break: normal;
}

.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss .target-result-selector__option--far-left .target-result-selector__label,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss .target-result-selector__option--far-right .target-result-selector__label,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty .target-result-selector__option--far-left .target-result-selector__label,
.range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty .target-result-selector__option--far-right .target-result-selector__label {
  width: auto;
  max-width: 100%;
  overflow-wrap: anywhere;
  transform: none;
  white-space: normal;
}

@media (max-width: 640px) {
  .range-shell.is-live .shot-log-panel .target-result-selector {
    --target-grid-gap: clamp(0.22rem, 0.95vw, 0.3rem);
    --target-side-rail-size: clamp(1.75rem, 5.8vw, 2.1rem);
    --target-rail-height: clamp(1.08rem, 3.6vw, 1.32rem);
    --target-playable-row-size: clamp(4.28rem, 18vw, 4.95rem);
    --target-miss-empty-row-size: clamp(1.38rem, 6vw, 1.88rem);
    --target-icon-size: clamp(2.18rem, calc(var(--target-playable-row-size) * 0.55), 2.9rem);
  }

  .range-shell.is-live .shot-log-panel .result-controls-target {
    width: calc(100% + 1.4rem);
    margin-right: -0.7rem;
    margin-left: -0.7rem;
  }

  .range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-playable {
    grid-template-columns: var(--target-playable-rail-size) repeat(3, minmax(0, 1fr)) var(--target-playable-rail-size);
    grid-template-rows: var(--target-playable-rail-size) repeat(3, minmax(0, 1fr)) var(--target-playable-rail-size);
  }

  .range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-stripe {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    justify-content: stretch;
  }

  .range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss,
  .range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty {
    grid-template-rows: minmax(2.5rem, auto) minmax(4.55rem, auto) minmax(2.5rem, auto);
  }

}

@media (min-width: 641px) {
  .range-shell.is-live .shot-log-panel .target-result-selector {
    --target-grid-gap: clamp(0.22rem, 0.95vw, 0.3rem);
    --target-side-rail-size: clamp(1.75rem, 5.8vw, 2.1rem);
    --target-rail-height: clamp(1.08rem, 3.6vw, 1.32rem);
    --target-playable-row-size: clamp(4.28rem, 18vw, 4.95rem);
    --target-miss-empty-row-size: clamp(1.38rem, 6vw, 1.88rem);
    --target-icon-size: clamp(2.18rem, calc(var(--target-playable-row-size) * 0.55), 2.9rem);
  }

  .range-shell.is-live .shot-log-panel .result-controls-target {
    width: calc(100% + 1.4rem);
    margin-right: -0.7rem;
    margin-left: -0.7rem;
  }

  .range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-playable {
    grid-template-columns: var(--target-playable-rail-size) repeat(3, minmax(0, 1fr)) var(--target-playable-rail-size);
    grid-template-rows: var(--target-playable-rail-size) repeat(3, minmax(0, 1fr)) var(--target-playable-rail-size);
  }

  .range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-stripe {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    justify-content: stretch;
  }

  .range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-miss,
  .range-shell.is-live .shot-log-panel .target-result-selector.is-target-mode-penalty {
    grid-template-rows: minmax(2.5rem, auto) minmax(4.55rem, auto) minmax(2.5rem, auto);
  }
}

html[data-theme="light"] .range-shell.is-live .shot-log-panel .assessment-button,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-result-selector__option,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .target-result-selector__option,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-shape-selector__option,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .strike-pattern-selector__option {
  border-color: rgba(18, 61, 43, 0.2) !important;
  background: rgba(255, 253, 248, 0.9) !important;
  color: #04150d !important;
}

html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-result-selector__label,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .target-result-selector__label,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-shape-selector__label,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .strike-pattern-selector__label {
  color: #04150d !important;
}

html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-result-selector__icon,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .target-result-selector__icon {
  background: #04150d !important;
  color: #04150d !important;
}

html[data-theme="light"] .range-shell.is-live .shot-log-panel .assessment-button.is-selected,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-result-selector__option.is-selected,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .target-result-selector__option.is-selected,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .shot-shape-selector__option.is-selected,
html[data-theme="light"] .range-shell.is-live .shot-log-panel .strike-pattern-selector__option.is-selected {
  border-color: #5b6900 !important;
  background: rgba(211, 240, 0, 0.24) !important;
  color: #04150d !important;
}

.range-shell.is-live .shot-log-panel .strike-pattern-selector__option.is-selected .strike-pattern-selector__svg {
  color: var(--ss-blood);
}

.range-shell.is-live .shot-log-panel .strike-pattern-selector__option.is-selected .strike-pattern-selector__ball {
  fill: var(--ss-lime);
}

.range-shell.is-live .shot-log-panel .strike-pattern-selector__option--center.is-selected .strike-pattern-selector__svg {
  color: var(--ss-lime);
}

html[data-theme="light"] .range-shell.is-live .round-menu-summary,
html[data-theme="light"] .range-shell.is-live .round-menu-cog {
  border-color: rgba(18, 61, 43, 0.22) !important;
  background: rgba(255, 253, 248, 0.92) !important;
  color: #04150d !important;
}

.range-shell.is-live .round-menu-panel {
  position: absolute;
  top: calc(100% + 0.58rem);
  right: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  max-height: calc(100vh - 5.5rem);
  overflow-y: auto;
  border-color: var(--ss-line-mint-strong) !important;
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48) !important;
}

.range-shell.is-live .round-topbar {
  position: relative;
}

.range-shell.is-live .round-menu {
  position: static;
}

@media (max-width: 640px) {
  .range-shell.is-live .round-menu-panel {
    position: fixed;
    top: calc(4.25rem + env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    left: max(0.75rem, env(safe-area-inset-left));
    width: auto;
  }
}

.range-shell.is-live .round-menu-action,
.range-shell.is-live .round-end-cancel,
.range-shell.is-live .round-settings-input,
.range-shell.is-live .round-settings-segment-option span,
.range-shell.is-live .round-settings-toggle span {
  border-color: var(--ss-line-mint-strong) !important;
  background: #07110c !important;
  color: #ffffff !important;
}

.range-shell.is-live .round-settings-actions {
  position: sticky;
  bottom: -0.66rem;
  padding: 0.48rem 0 0.2rem;
  background: #000000;
}

.range-shell.is-live .round-settings-cancel {
  border-color: var(--ss-line-mint-strong) !important;
  background: #07110c !important;
  color: #ffffff !important;
}

.range-shell.is-live .round-end-confirm {
  border-color: rgba(255, 91, 58, 0.82) !important;
  background: rgba(255, 91, 58, 0.14) !important;
  color: var(--ss-blood) !important;
}

.range-shell.is-live .round-end-confirm:hover,
.range-shell.is-live .round-end-confirm:focus-visible {
  border-color: var(--ss-blood) !important;
  background: rgba(255, 91, 58, 0.22) !important;
}

.range-shell.is-live .round-settings-segment-option input:checked + span,
.range-shell.is-live .round-settings-toggle input:checked + span {
  border-color: var(--ss-lime) !important;
  background: rgba(211, 240, 0, 0.14) !important;
  color: var(--ss-lime) !important;
}

.range-shell.is-live .round-settings-toggle input:checked + span::after {
  background: var(--ss-lime) !important;
  box-shadow: inset 0 0 0 3px #000000 !important;
}

.range-shell.is-live .round-settings-title,
.range-shell.is-live .round-settings-field span,
.range-shell.is-live .round-settings-fieldset legend {
  color: var(--ss-lime) !important;
}

.range-shell.is-live .round-settings-note {
  color: var(--ss-mint) !important;
}

html[data-theme="light"] .range-shell.is-live .round-menu-panel {
  border-color: rgba(18, 61, 43, 0.22) !important;
  background: #fffdf8 !important;
  color: #04150d !important;
  box-shadow: 0 24px 64px rgba(4, 21, 13, 0.18) !important;
}

html[data-theme="light"] .range-shell.is-live .round-menu-action,
html[data-theme="light"] .range-shell.is-live .round-end-cancel,
html[data-theme="light"] .range-shell.is-live .round-settings-input,
html[data-theme="light"] .range-shell.is-live .round-settings-segment-option span,
html[data-theme="light"] .range-shell.is-live .round-settings-toggle span {
  border-color: rgba(18, 61, 43, 0.2) !important;
  background: #ffffff !important;
  color: #04150d !important;
}

html[data-theme="light"] .range-shell.is-live .round-end-confirm {
  border-color: rgba(138, 47, 26, 0.38) !important;
  background: rgba(138, 47, 26, 0.08) !important;
  color: #8a2f1a !important;
}

html[data-theme="light"] .range-shell.is-live .round-end-confirm:hover,
html[data-theme="light"] .range-shell.is-live .round-end-confirm:focus-visible {
  border-color: rgba(138, 47, 26, 0.62) !important;
  background: rgba(138, 47, 26, 0.13) !important;
}

html[data-theme="light"] .range-shell.is-live .round-settings-actions {
  background: #fffdf8;
}

html[data-theme="light"] .range-shell.is-live .round-settings-cancel {
  border-color: rgba(18, 61, 43, 0.2) !important;
  background: #ffffff !important;
  color: #04150d !important;
}

html[data-theme="light"] .range-shell.is-live .round-settings-segment-option input:checked + span,
html[data-theme="light"] .range-shell.is-live .round-settings-toggle input:checked + span {
  border-color: #5b6900 !important;
  background: rgba(211, 240, 0, 0.24) !important;
  color: #04150d !important;
}

html[data-theme="light"] .range-shell.is-live .round-settings-toggle input:checked + span::after {
  background: #04150d !important;
  box-shadow: inset 0 0 0 3px rgba(211, 240, 0, 0.24) !important;
}

html[data-theme="light"] .range-shell.is-live .round-settings-title,
html[data-theme="light"] .range-shell.is-live .round-settings-field span,
html[data-theme="light"] .range-shell.is-live .round-settings-fieldset legend {
  color: #5b6900 !important;
}

html[data-theme="light"] .range-shell.is-live .round-settings-note {
  color: #414843 !important;
}

/* Completed scorecard cleanup */
.range-shell.is-complete .summary-panel {
  --post-session-divider: var(--ss-line-mint);
  --post-session-tooltip-bg: #000000;
  --post-session-tooltip-text: #ffffff;
  gap: clamp(0.95rem, 2vw, 1.3rem);
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

html[data-theme] .range-shell.is-complete .summary-panel,
html[data-theme="light"] .range-shell.is-complete .summary-panel {
  --post-session-divider: var(--ss-app-border);
  --post-session-tooltip-bg: var(--ss-app-surface);
  --post-session-tooltip-text: var(--ss-app-text);
  gap: clamp(0.95rem, 2vw, 1.3rem);
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

html[data-theme="light"] .range-shell.is-complete .summary-panel {
  --post-session-divider: rgba(18, 61, 43, 0.2);
  --post-session-tooltip-bg: #fffdf8;
  --post-session-tooltip-text: #04150d;
}

.range-shell.is-complete .summary-round-card,
html[data-theme] .range-shell.is-complete .summary-round-card,
html[data-theme="light"] .range-shell.is-complete .summary-round-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.range-shell.is-complete .summary-scoreboard {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0.35rem 0;
  border-top: 1px solid var(--post-session-divider);
  border-bottom: 1px solid var(--post-session-divider);
}

.range-shell.is-complete .summary-score-main,
.range-shell.is-complete .summary-score-notes,
.range-shell.is-complete .summary-stat-grid div,
.range-shell.is-complete .session-metrics div {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.range-shell.is-complete .summary-score-main {
  padding: 0.75rem 1rem 0.75rem 0;
  border-right: 1px solid var(--post-session-divider);
}

.range-shell.is-complete .summary-score-notes {
  padding: 0.75rem 0;
}

.range-shell.is-complete .summary-stat-grid,
.range-shell.is-complete .session-metrics {
  gap: 0.75rem 1.1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--post-session-divider);
  border-bottom: 1px solid var(--post-session-divider);
}

.range-shell.is-complete .summary-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.range-shell.is-complete .session-result-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.range-shell.is-complete .session-result-metrics .session-result-metric {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: center;
  justify-items: center;
  gap: 0.42rem;
  min-height: 7.1rem;
  padding: 0.65rem 0.42rem 0.48rem;
  border: 1px solid var(--post-session-divider);
  background:
    linear-gradient(180deg, rgba(211, 240, 0, 0.04), transparent 58%),
    rgba(255, 255, 255, 0.035);
}

.range-shell.is-complete .session-result-metric dt {
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  margin: 0;
  color: #ffffff;
  font-size: clamp(0.56rem, 1.55vw, 0.72rem);
  letter-spacing: 0.07em;
  text-align: center;
}

.range-shell.is-complete .session-result-metric-icon {
  width: clamp(2rem, 5vw, 3.2rem);
  height: clamp(2rem, 5vw, 3.2rem);
  margin: 0;
  background: currentColor;
  color: currentColor;
}

.range-shell.is-complete .session-result-metric dd {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 0.2rem;
  width: 100%;
  min-height: 2.6rem;
  color: #ffffff;
  font-family: var(--label-font);
  font-weight: 850;
  line-height: 1;
  text-align: center;
}

.range-shell.is-complete .session-result-metric-percent {
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: clamp(1.35rem, 4.9vw, 2.45rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.92;
}

.range-shell.is-complete .session-result-metric-count {
  align-self: end;
  color: var(--ss-mint);
  font-family: var(--mono-font);
  font-size: clamp(0.48rem, 1.45vw, 0.62rem);
  font-weight: 780;
  letter-spacing: 0.02em;
}

html[data-theme="light"] .range-shell.is-complete .session-result-metrics .session-result-metric {
  background:
    linear-gradient(180deg, rgba(91, 105, 0, 0.07), transparent 58%),
    rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .range-shell.is-complete .session-result-metric dt,
html[data-theme="light"] .range-shell.is-complete .session-result-metric dd {
  color: #04150d;
}

html[data-theme="light"] .range-shell.is-complete .session-result-metric-count {
  color: #31533f;
}

.range-shell.is-complete .session-scorecard-panel,
html[data-theme] .range-shell.is-complete .session-scorecard-panel,
html[data-theme="light"] .range-shell.is-complete .session-scorecard-panel {
  padding: clamp(0.95rem, 2vw, 1.15rem) 0 0;
  border: 0;
  border-top: 1px solid var(--post-session-divider);
  background: transparent;
  box-shadow: none;
}

.range-shell.is-complete .session-scorecard-scroll {
  margin-top: 0.85rem;
}

.range-shell.is-complete .session-scorecard-grid {
  gap: 0.35rem;
}

.range-shell.is-complete .session-scorecard-row {
  gap: 0.25rem;
}

.range-shell.is-complete .session-scorecard-cell.is-result,
.range-shell.is-complete .session-scorecard-cell.is-shape,
.range-shell.is-complete .session-scorecard-cell.is-strike {
  position: relative;
  min-height: 4.35rem;
  outline: none;
  overflow: visible;
}

.session-scorecard-icon-badge,
.session-scorecard-result-badge {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 2.35rem;
  min-height: 3.1rem;
  color: currentColor;
}

.session-scorecard-result-icon,
.session-scorecard-shape-icon,
.session-scorecard-strike-icon {
  width: 2rem;
  height: 2rem;
  margin-top: 1rem;
  background: currentColor;
  color: currentColor;
}

.range-shell.is-complete .session-scorecard-result-badge,
.range-shell.is-complete .session-scorecard-shape-badge {
  color: #ffffff;
}

.session-scorecard-shape-icon {
  display: block;
  width: 2.55rem;
  height: 2.55rem;
  filter: drop-shadow(0 0 0.16rem rgba(255, 255, 255, 0.22));
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

html[data-theme="light"] .range-shell.is-complete .session-scorecard-shape-icon {
  filter: none;
}

.session-scorecard-shape-icon--straight {
  mask-image: url("/assets/shot_shape_straight-4465c193.svg");
  -webkit-mask-image: url("/assets/shot_shape_straight-4465c193.svg");
}

.session-scorecard-shape-icon--draw {
  mask-image: url("/assets/shot_shape_draw-90b30c5a.svg");
  -webkit-mask-image: url("/assets/shot_shape_draw-90b30c5a.svg");
}

.session-scorecard-shape-icon--hook {
  mask-image: url("/assets/shot_shape_hook-bc066e1a.svg");
  -webkit-mask-image: url("/assets/shot_shape_hook-bc066e1a.svg");
}

.session-scorecard-shape-icon--fade {
  mask-image: url("/assets/shot_shape_fade-a65f12a3.svg");
  -webkit-mask-image: url("/assets/shot_shape_fade-a65f12a3.svg");
}

.session-scorecard-shape-icon--slice {
  mask-image: url("/assets/shot_shape_slice-0ec0fa09.svg");
  -webkit-mask-image: url("/assets/shot_shape_slice-0ec0fa09.svg");
}

.range-shell.is-left-handed .session-scorecard-shape-icon {
  transform: scaleX(-1);
}

.session-scorecard-strike-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  background: transparent;
  color: var(--ss-blood);
}

.session-scorecard-strike-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.range-shell.is-complete .session-scorecard-strike-icon .strike-pattern-selector__ball {
  fill: var(--ss-lime);
}

.range-shell.is-complete .session-scorecard-strike-icon--center {
  color: var(--ss-lime);
}

.session-scorecard-icon-tooltip,
.session-scorecard-result-tooltip {
  position: absolute;
  top: 0.1rem;
  left: 50%;
  z-index: 3;
  max-width: calc(100% + 1.6rem);
  padding: 0.16rem 0.34rem;
  border: 1px solid var(--post-session-divider);
  background: var(--post-session-tooltip-bg);
  color: var(--post-session-tooltip-text);
  font-family: var(--mono-font);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  text-overflow: ellipsis;
  text-transform: uppercase;
  transform: translate(-50%, -0.12rem);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.session-scorecard-cell.is-result:hover .session-scorecard-icon-tooltip,
.session-scorecard-cell.is-result:focus .session-scorecard-icon-tooltip,
.session-scorecard-cell.is-result:focus-within .session-scorecard-icon-tooltip,
.session-scorecard-cell.is-shape:hover .session-scorecard-icon-tooltip,
.session-scorecard-cell.is-shape:focus .session-scorecard-icon-tooltip,
.session-scorecard-cell.is-shape:focus-within .session-scorecard-icon-tooltip,
.session-scorecard-cell.is-strike:hover .session-scorecard-icon-tooltip,
.session-scorecard-cell.is-strike:focus .session-scorecard-icon-tooltip,
.session-scorecard-cell.is-strike:focus-within .session-scorecard-icon-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.session-scorecard-cell.is-result:focus-visible,
.session-scorecard-cell.is-shape:focus-visible,
.session-scorecard-cell.is-strike:focus-visible {
  outline: 2px solid var(--ss-lime);
  outline-offset: 2px;
}

html[data-theme="light"] .range-shell.is-complete .session-scorecard-result-badge,
html[data-theme="light"] .range-shell.is-complete .session-scorecard-shape-badge {
  color: #04150d;
}

html[data-theme="light"] .range-shell.is-complete .session-scorecard-strike-icon {
  color: #8a2f1a;
}

html[data-theme="light"] .range-shell.is-complete .session-scorecard-strike-icon .strike-pattern-selector__ball {
  fill: #5b6900;
}

html[data-theme="light"] .range-shell.is-complete .session-scorecard-strike-icon--center {
  color: #5b6900;
}

@media (max-width: 820px) {
  .range-shell.is-complete .summary-scoreboard {
    grid-template-columns: 1fr;
  }

  .range-shell.is-complete .session-result-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .range-shell.is-complete .summary-score-main {
    padding: 0.7rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--post-session-divider);
  }

  .range-shell.is-complete .summary-score-notes {
    padding: 0.8rem 0;
  }

  .range-shell.is-complete .summary-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .range-shell.is-complete .summary-panel {
    padding: 0.9rem;
  }

  .range-shell.is-complete .session-scorecard-cell.is-result,
  .range-shell.is-complete .session-scorecard-cell.is-strike {
    min-height: 4rem;
  }

  .range-shell.is-complete .session-scorecard-cell.is-shape {
    min-height: 4.55rem;
  }

  .session-scorecard-result-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .session-scorecard-shape-icon {
    width: 2.9rem;
    height: 2.9rem;
  }

  .session-scorecard-strike-icon {
    width: 2.05rem;
    height: 2.05rem;
  }
}

html[data-theme] .app-shell.app-shell--journal,
html[data-theme] .app-shell.app-shell--journal .app-shell-main {
  background:
    linear-gradient(180deg, rgba(0, 29, 15, 0.94), #000000 34rem),
    #000000;
  color: #ffffff;
}

html[data-theme] .app-shell.app-shell--journal .app-shell-main {
  padding: 0;
}

html[data-theme] .app-shell.app-shell--journal .app-shell-topbar {
  background: rgba(0, 29, 15, 0.94);
  border-bottom: 1px solid var(--ss-line-mint);
}
